by Mobiledev | Sep 4, 2011 | iOS, XCode
The artwork for an iOS app can become a lot of work. Icons and images for different resolutions are needed, and there are some naming conventions. If you stick to the naming conventions the correct icons/images will automatically be selected when those icons/images...
by Mobiledev | Aug 30, 2011 | iOS, iPad, iPhone, XCode
Ever noticed that on iOS devices there are icons with “gloss” and icons without? The Twitter icon below does have a gloss, the Dropbox icon does not. The default setting in an XCode project is to apply gloss to your icons. If your icon already has a gloss...
by Mobiledev | Aug 29, 2011 | iOS, XCode
Logging has a lot of possible format specifiers. The general syntax of NSLog is: NSLog(@”Text %@”, object); NSLog(@”I want to log: %@”, myString); int i = 1234; NSLog(@”The number is: %d”, i); The possible format specifiers are: %@...
by Mobiledev | Aug 27, 2011 | iOS, iPad, iPhone, XCode
In iOS 5 “ARC” has been introduced. ARC stands for Automatic Reference Counting. The posting below is still valid for iOS < 5. In iOS 5 the there still is reference counting, but it is automatic. Therefore ARC is no garbage collection. -----------...
by Mobiledev | Aug 26, 2011 | iOS, XCode
If you just want to show a popup message without responding to the buttons pressed look at the snippet : “Popup message in iOS” If you want to respond to a popup message the popup message probable has more than 1 button. To figure out what button got...
by Mobiledev | Aug 26, 2011 | iOS, XCode
Showing a popup message to a user in iOS is not very difficult. The code below shows a popup message with 1 button. If the user presses the button the popup message disappears. No code is executed when the uses pushes the button. (For an example with delegates look at...
Recent Comments