4 ms·
Can you tell me why the design of Cocoa is stupid? I'm not disagreeing with you - going through the hoops required to play more than 5s of sound on the iPhone
by comatose_kid 18y ago
Can you tell me why the design of Cocoa is stupid? I'm not disagreeing with you - going through the hoops required to play more than 5s of sound on the iPhone is a pretty crap way to spend an evening.
Interface Builder is flawed - but perhaps I haven't used it enough to appreciate its strengths.
- dissenter 18y agoSure. Here's the execution tree necessary to "Hello World" in Cocoa---at least as given in the Apple tutorial I followed. It's possible to cut it down, but only after you've digested all of the material Apple lays in front of you. main() | -> UIApplicationMain() | -> Info.plist (Never referenced by name!) | -> MainWindow.xib (Interface Builder. Contains no code!) | -> HelloWorldAppDelegate .h/.m (Not clearly indicated) | -> didFinishLaunching() | -> IBOutlet UIWindow *window | -> *myViewController | -> ControllerView (IB Nib, needs dragged connection) | -> Etc. | -> HelloWorld ?
- greyman 18y agoOk, that was easy. Now, why design patterns in general are stupid? Do you mean that all|some|few of them are stupid, or that the very idea of having design patterns is stupid?
- deleted 18y ago[deleted]