I’m looking into creating a simple iPhone app without using the interface builder, i.e. without creating the XIB files.
I’ve succeed so far in showing the main window and changing the background color, but i’m looking into adding UITextfield, UILabel, and a button. and then connect them to methods that i’ve created before.
is there any good tutorial or a reference that I can use?
Thank you very much
Read Apple’s documentation. For example, to create a
UILabelprogrammatically, read the UILabel Class Reference. First instantiate itThen set it up as you like, e.g.
Then add it to the view
Then move it around, etc. For more help, first google “create uilabel programmatically”, then, if you get stuck, post a specific question here.