Hacker News new | ask | show | jobs
by lordmatty 5609 days ago
Totally agree. IB doesn't make any sense to me either. You end up with some presentation code in one place, and some in another.

Also, what happens if you set all your background colours to white in IB, and then the branding/design people come along and ask you to change to off-white?

2 comments

Also, what happens if you set all your background colours to white in IB

In that case, its easy for marketing to do it themselves. IB is a UI, after all. You click on a field and select the new color from the wheel a bunch of times.

The alternative is that you go through code and manually paste it in yourself. And you can't `sed` it because not all backgroundColor properties belong to views that need changing (labels might be clear, some other view opaque, etc)

the part that really threw me off was the IBOutlet syntax. Relating the gui tool to the code itself seems bizarre, but I understand I'm in the minority. I just happened to have learned objective C under somewhat less common circumstances.

The tool exists though, so that Apple can bring more developers on board. Providing usable tools is not something I intend to complain about with respect to Apple.

People whine and moan about Xcode, but some of us started out writing this code in cygwin with an arm cross-compiler and deployed binaries via ssh... debugging tools included printf or forcing crashes. Fun times trying to guess at data structures and naked pointers, but I'm quite content with Xcode and gdb and graphical debuggers and whatever else Apple wants to provide for me :)