Xcode programming without using Interface Builder

I have a general question for programming Xcode and using Xcode tools. I am completely new (4 months) in iOS development, and I almost never used Interface Builder for my purposes. I always created instances programmatically. My question is mainly if you think that I should get used to working with IB or should / I can continue, as it is now?

+4
source share
2 answers

If you fully define your user interface programmatically, then I don't see any problems with that.

The Builder interface allows you to “graphically” define your interface, and it can be an invaluable tool for playing with your prototypes of the user interface, but in addition, you cannot do anything in IB that you cannot do programmatically.

In my case, I see that it depends on the type of user interface I am developing. When I need a fairly simple interface, IB is invincible for me. On the other hand, when my user interface tries to be a little normal, I prefer to do everything programmatically.

An interesting point is that you can use IB to develop your user interface, determine the sizes and positions of your elements and create it programmatically.

+3
source

Yes, you should use IB, mainly xcode with IB for ease of development, you do not need to set controls using coordinates and see their visibility each time you launch the application.

just drag and drop and you’ll see what your screen will look like when creating views.

Also, using IB is not a typical task, so start development using IB.

+1
source

All Articles