Re: NSApplication Newbie
Re: NSApplication Newbie
- Subject: Re: NSApplication Newbie
- From: Nathan Day <email@hidden>
- Date: Fri, 05 Dec 2003 13:21:28 +1100
Subclassing is used a lot less in Objective-C than in c++, sub-classing of NSApplication is only done in very rare circumstances. Usually you can do what you want with a delegate object for NSApplication. There is a section in the NSApplication that tells you what you can do with delegation. The NSApplication delegate is the usual way to specialize your NSAppliaction for your particular project.
On Friday, December 05, 2003, at 12:46PM, OL&L Dev 2 <email@hidden> wrote:
>
Hi. I am new to Cocoa.
>
>
I was wondering about how to use NSApplication. I am an old
>
PowerPlant programmer from Mac OS 9, and I am assuming the correct
>
way to use NSApplication is to create one's own subclass application
>
class and .h and .m files and then use the subclassed application
>
class in one's app instead of NSApplication.
>
>
This is very similar to the way PowerPlant used to do it.
>
>
Is this the correct approach or is there something I am missing?
>
>
Thanks
>
>
James
>
_______________________________________________
>
cocoa-dev mailing list | email@hidden
>
Help/Unsubscribe/Archives: http://www.lists.apple.com/mailman/listinfo/cocoa-dev
>
Do not post admin requests to the list. They will be ignored.
_______________________________________________
cocoa-dev mailing list | email@hidden
Help/Unsubscribe/Archives:
http://www.lists.apple.com/mailman/listinfo/cocoa-dev
Do not post admin requests to the list. They will be ignored.