Re: Building an MVC based App for Mac OS X - NOT for iOS
Re: Building an MVC based App for Mac OS X - NOT for iOS
- Subject: Re: Building an MVC based App for Mac OS X - NOT for iOS
- From: Jens Alfke <email@hidden>
- Date: Mon, 27 May 2013 19:56:48 -0700
On May 27, 2013, at 6:46 PM, Keary Suska <email@hidden> wrote:
> Mac OS X development os much more complicated than iOS development. It is not likely somehting you can just dive into without a learning curve.
Well, it’s different. Coming from OS X, I’ve found iOS UI development the more difficult of the two, because the UI is so much more limited, there is no document model or user-accessible filesystem, there’s very little you can do when in the background, etc.
I don’t think either is diveable-into, even if you’re comfortable with the other.
Anyway, to answer YT’s original question: To create new controllers you can use the New File… command and create a new OS X NSWindowController or NSViewController subclass. Xcode will put boilerplate code in the new files and even create .xibs. If you’re creating a document-based app you may want to create an NSDocument subclass, which is higher-level and abstracts the file I/O for you.
—Jens
_______________________________________________
Cocoa-dev mailing list (email@hidden)
Please do not post admin requests or moderator comments to the list.
Contact the moderators at cocoa-dev-admins(at)lists.apple.com
Help/Unsubscribe/Update your Subscription:
This email sent to email@hidden