Can anyone point me to a tutorial or starting point for Objective-C and xcode that doesn't use interface builder as the basis of learning. i want to learn how to add buttons, labels, text and all the rest to the interface simply through code so i can have full control.
Any help will be much appreciated dudes
This post has been edited by EmployeeOfTheWeek: 01 December 2010 - 10:50 AM
Not sure of any tutorials that can get you started but searching on google for adding buttons programatically always brings up good results on creating objects outside of interface builder.
I've started doing more and more stuff outside of interface builder especially for dynamic objects.
A couple of things to note when creating User Interfaces programatically:
All UI elements (such a buttons etc.) all extent the UIView class. This means you can add any element via the addSubview function.
You also have access to the view.frame property which allows you to set the size and position of any element (in most cases)
I will try to create a full tutorial and post it on here when I get a bit of time.
If you have any specific questions regarding adding objects programatically, feel free to ask.