top | item 2174011

Convert NIB Files to Objective-C Code

34 points| oscardelben | 15 years ago |github.com | reply

18 comments

order
[+] panic|15 years ago|reply
Why would you want to do that?
[+] terhechte|15 years ago|reply
This makes sense if you want to design UIView based list cells (i.e. UITableView Cells) that have to be high performant because you can do some - (id) init magic that is slower in awakeFromNib and you save some allocation calls. I had to do something similar for a Mac app where i effectively rewrote a finished NSView completely in code and gained at least a 30% speed gain afterwards.
[+] edge17|15 years ago|reply
because some people don't like having boxes in the middle that they can't look inside of. I started hacking iphone stuff before there was an sdk, and as a result every time I start a new ios project I rip out all the interface builder stuff... the whole thing just doesn't make sense to me.

I'm sure it's a great tool though, clearly with so many apps out there, people are using it.

[+] headhuntermdk|15 years ago|reply
Using this tool, how would a developer properly support localization?

if (english) { // 100 LOC } else if (german ) { // 100 LOC } else if (french) { // 100 LOC }

seriously? Might as well use the tools that Apple supports/uses instead of spending time and energy reinventing the wheel

[+] Hagelin|15 years ago|reply
NSLocalizedString ?