Become a MacRumors Supporter for $50/year with no ads, ability to filter front page stories, and private forums.

testgame

macrumors newbie
Original poster
Hello,

I am new to iPhone Development.

There r two ways to add controls in your application.

1) By Interface Builder
2) By Coding (UIButton *btnObject = [[UIButton alloc] init.....])

I want to know which is better way.

Thanks in advance.
 
Neither. You can do exactly the same one way or the other. It is up to the developer to decide which they prefer. Many developers will use both, switching between them when one is more convenient than the other.
 
Register on MacRumors! This sidebar will go away, and you'll see fewer ads.