4 ms·
Right but you'd have to document what each constant represents. Interface builder gives us a universal language. You know what the UI will look like or how it w
by allsystemsgo 11y ago
Right but you'd have to document what each constant represents. Interface builder gives us a universal language. You know what the UI will look like or how it will resize etc. because it's right there. There's no confusing constant names with magic numbers. You know the why behind the constraint values because you can see it.
- deleted 11y ago[deleted]
- rimantas 11y agoConstants are not magic numbers. And with proper naming they document themselves. For more cusotm UI's you won't know how UI will look like. It got better with @IBDesignable but still not enough.