Re: NSApplicationMain question
Re: NSApplicationMain question
- Subject: Re: NSApplicationMain question
- From: Bill Appleton <email@hidden>
- Date: Thu, 22 Apr 2010 15:45:20 -0700
hi all,
thanks for the great advice
for better or worse i am porting a large piece of enterprise software from
carbon/windows to cocoa/windows
most of the code is platform independent, but i can't make big changes to
the overall structure of the program
so like step one is to replace WindowRef with NSWindow and watch the carnage
ensue
thx,
bill
On Thu, Apr 22, 2010 at 3:18 PM, Shawn Erickson <email@hidden> wrote:
> On Thu, Apr 22, 2010 at 1:34 PM, Bill Appleton
> <email@hidden> wrote:
> > hi all,
> >
> > thanks for the feedback
> >
> > i wrote a subclass for NSWindow but now i am wondering how usefull that
> was
> >
> > do i have to subclass NSWindow to get events, or can I use delegates?
> >
> > i'm still a bit confused on the event model
>
> I suggest a full stop.... forget your current carbon application for a
> while and instead learn Cocoa application development.
>
> I highly recommend grabbing a copy of "Cocoa Programming for Mac OS X"
> [1] and working thru all of the examples, etc. in the book. (other
> excellent books exist as well but this is the one we use to onboard
> new developers)
>
> Don't waste your time thrashing around.
>
> -Shawn
>
> [1]
> http://www.amazon.com/Cocoa-Programming-Mac-OS-3rd/dp/0321503619/ref=bxgy_cc_b_text_a
>
_______________________________________________
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