News for hackers. Stuff that matters.
Re:The Muggle Coder by swannodette on Friday December 04, 2009 @06:26PM (#977427)
This example does not even begin to describe what Interface Builder is good for. Why should I write any imperative code at all to set the font, font-size, text layout, subtle drop shadow, font-weight, font-style, etc. ?

In anything but the most trivial applications you will simply be wasting time not leveraging Interface Builder as well as generating pointless code.

Interface builder is the CSS of Cocoa development.

EDIT: How about HTML+CSS ? ;)

Re:The Muggle Coder by blasdel on Friday December 04, 2009 @06:44PM (#977452)
No! Interface Builder produces the HTML of Cocoa development.

When Shaun Inman does some whizbang fancy rich web development, does he insist that the body of the HTTP Response contain nothing but code:

  <!doctype html><html><head><script> ... </script></head><body></body></html>
Of course he doesn't write a ton of shitty procedural client-side code to slowly build up the DOM programatically -- the browser gets a clean independent serialization, with bindings to code for events on elements. This is exactly how Cocoa works.

Interface Builder doesn't generate bolierplate code like nearly every other GUI designer ever to exist -- it instantiates objects and serializes them.