• Open Menu Close Menu
  • Apple
  • Shopping Bag
  • Apple
  • Mac
  • iPad
  • iPhone
  • Watch
  • TV
  • Music
  • Support
  • Search apple.com
  • Shopping Bag

Lists

Open Menu Close Menu
  • Terms and Conditions
  • Lists hosted on this site
  • Email the Postmaster
  • Tips for posting to public mailing lists
Re: NSApplicationMain question
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

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

  • Follow-Ups:
    • Re: NSApplicationMain question
      • From: Michael Ash <email@hidden>
    • Re: NSApplicationMain question
      • From: Graham Cox <email@hidden>
    • Re: NSApplicationMain question
      • From: Jens Alfke <email@hidden>
    • Re: NSApplicationMain question
      • From: Jack Carbaugh <email@hidden>
References: 
 >NSApplicationMain question (From: Bill Appleton <email@hidden>)
 >Re: NSApplicationMain question (From: Abhinay Kartik Reddyreddy <email@hidden>)
 >Re: NSApplicationMain question (From: Bill Appleton <email@hidden>)
 >Re: NSApplicationMain question (From: Shawn Erickson <email@hidden>)

  • Prev by Date: Re: Forcing plist preferences file to be saved as text?
  • Next by Date: Re: NSApplicationMain question
  • Previous by thread: Re: NSApplicationMain question
  • Next by thread: Re: NSApplicationMain question
  • Index(es):
    • Date
    • Thread