Reputation: 553
I'm currently taking a class on programming the iPhone, and I am struggling with a couple of programs that involve drawing or placing things on the screen and moving them around. I don't want to use interface builder to help me with these, but would rather do that actual coding for it. Does anyone know of a good website that can show how to, say, create and place UIButtons and UITextViews on the screen without the use of interface builder? Any suggestions would be greatly appreciated!
Upvotes: 1
Views: 1170
Reputation: 39905
Being able to build the UI programatically, even if you never use it, is a good skill to have. It helps you understand what IB does and makes it easier to modify your UI at runtime. Apple's View Programming Guide contains everything you want to know about views, windows, drawing, and the view hierarchy. Also check out the UIView Class Reference.
Upvotes: 1
Reputation: 1604
Read through this tutorial. It talks about both IB and creating views programmatically. http://developer.apple.com/library/ios/#documentation/WindowsViews/Conceptual/ViewPG_iPhoneOS/Introduction/Introduction.html
Upvotes: 1