P
P
Pavel Shvedov2014-06-17 00:56:59
Objective-C
Pavel Shvedov, 2014-06-17 00:56:59

How to build a GUI in IOS?

I'm starting to understand development for iOS, I faced the following problem:
In all possible guides and tutorials, the graphical interface is constructed using the visual interface builder in XCode, dragging buttons and labels on UIView, and so on. On the other hand, I crossed paths with one developer for iOS, and so he beat himself in the chest, arguing that you need to build the interface directly in the code, so there are more opportunities, more stable, universal, plus it's easier to build custom controls. I still have little idea how convenient it is to do it right in the code, it seems to me that this will add a bunch of lines of unnecessary positioning settings, sizes and other parameters of controls. Tell me, how is it customary to approach the development of application interfaces at the present time?

Answer the question

In order to leave comments, you need to log in

1 answer(s)
G
gleb_kudr, 2014-06-17
@mmmaaak

I do in code. I don’t know how it’s customary, but it’s more convenient for me, especially with dynamic trinkets. In the constructor, it is good to do something very simple and with unambiguous logic.

Didn't find what you were looking for?

Ask your question

Ask a Question

731 491 924 answers to any question