During the last two weeks I’ve been working sporadically on a real Cocoa application. To be honest I picked up Cocoa few times so far (first time back in early 2007) but it always felt overly complicated and I gave up. Meanwhile I’ve been developing for the iPhone for several years and I’m quite familiar with Cocoa Touch.
This time around putting to use all my Cocoa Touch knowledge I gave Cocoa another try and I must say it’s delightful.
When you start creating OSX UI you really discover the awesome power of Interface Builder. I recommend everyone with some iPhone developing experience to give it a try.
I’ll start with posting some quick code bits for doing common tasks as I go around the Cocoa APIs. There actually already few online from last week:
- How to show an “Open File …” dialogue (without crashing your app)
- An always in front NSWindow
- Non-resizeable NSWindow
- NSView, maximized within its window
·
Source : touch-code-magazine[dot]com
0 comments:
Post a Comment