Re: Minimal document-based app
Re: Minimal document-based app
- Subject: Re: Minimal document-based app
- From: Graham Cox <email@hidden>
- Date: Tue, 01 May 2012 16:08:17 +1000
I see no merit in trying to make a "minimal" document based app, whatever that is. It's usually misguided to try and build UI in code, it saves you nothing and makes it much harder to get anywhere.
Just start a new Cocoa app and use the project template for a document based app. It gives you the necessary starting points, which though it adds a nib, it's extremely small. There is nothing to be gained by going some other route.
--Graham
On 30/04/2012, at 7:47 AM, ecir hana wrote:
> Dear list,
>
> I'm trying to understand how the things in Cocoa works but I'm
> struggling with one thing. I saw
> http://cocoawithlove.com/2010/09/minimalist-cocoa-programming.html and
> http://casperbhansen.wordpress.com/2010/08/15/dev-tip-nibless-development/
> and I think I somewhat understood.
>
> Now, I would like to do the same but for a "Document-based
> application". Please, does anyone know of a tutorial or example akin
> to the ones above? Alternatively, what do I need to do to make it
> work? I think I need to create NSDocumentController - but how does it
> relate to NSApplication? And I create NSDocument from there? Frankly,
> I'm bit lost...
>
> Thank you very much in advance!
_______________________________________________
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