[Solved] Creating properties in iOS [closed]

All properties are created manually using the @property declaration. In the latest objective-C you don’t need to add the @synthesize declaration any more. As for IBOutlets, they don’t do anything. In fact, IBOutlets are expanded to nothing. They are just passive tags so that Interface Builder can locate the properties that it can associate objects … Read more

[Solved] IBOutlet Array declaration [closed]

You probably need more practice with Xcode/Objective-C basics and idioms. Your approach is not valid (for instance, on iOS, we don’t loop (while(1)) to listen for events). Find some books, and you will be able to make your own soundboard soon. If you want to persist, here is some hints : Assuming you place manually … Read more

[Solved] Identify different iOS devices in coding? [closed]

The way I determine what iOS device I am running on so we can change layout based on the iDevices size such as iPad and iPhone is like. // iPhone 5 (iPhone 4″) #define IS_PHONEPOD5() ([UIScreen mainScreen].bounds.size.height == 568.0f && [UIScreen mainScreen].scale == 2.f && UI_USER_INTERFACE_IDIOM() == UIUserInterfaceIdiomPhone) To get iPhone 5 you could also … Read more