tapasya/airsugar-iphone — comment on commit 487a6aaf7d587cd4499d6fabdfcb8a429daebc70
File: iSugarCRM/iSugarCRM/SyncSettingsViewController.m line 237
By Dayananda87:

it will be better if we put this"(UI_USER_INTERFACE_IDIOM() == UIUserInterfaceIdiomPad)" in prefix.pch file and define a constant which can be used across the application without calling idiom repeatedly

ex:

#define ipad (UI_USER_INTERFACE_IDIOM() != UIUserInterfaceIdiomPad) which sets ipad value to true, which can be used across the application.