Objective-C Versions of iPhone and Screen Sizes

Objective-C Versions of iPhone and Screen Sizes

Hello, this article: that will tell code scripts of iPhone, which screen, which version, which model. First Delegate file our .h file @interface before we add the following lines; #define IS_IPAD (UI_USER_INTERFACE_IDIOM() == UIUserInterfaceIdiomPad) #define IS_IPHONE (UI_USER_INTERFACE_IDIOM() == UIUserInterfaceIdiomPhone) #define IS_IPHONE_4 (IS_IPHONE && [[UIScreen mainScreen] bounds].size.height == 480.0) #define IS_IPHONE_5 [...]

iPhone Screen Sizes

iPhone Screen Sizes

iPhone screen size is set as follows. iPhone 3, 3gs : 320 x 480 as is set, Scale 1.0 - 163ppi 3.5" iPhone 4, 4s : 320 x 480 - 640 x 960 @2x as is set, Scale 2.0 - 326ppi 3.5" iPhone 5, 5s : 320 x 568 - 640 [...]

Objective-C History

Objective-C History

History   Objective-C was created primarily by Brad Cox and Tom Love in the early 1980s at their company Stepstone. Both had been introduced to Smalltalk while at ITT Corporation's Programming Technology Center in 1981. The earliest work on Objective C traces back to around that time. Cox was intrigued [...]