• 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: Jack Carbaugh <email@hidden>
  • Date: Thu, 22 Apr 2010 18:52:30 -0400

Before you go any further, i highly recommend purchasing a book as suggested previously. I recommend the book by Hillegass

Work through a few samples from the book and you will better understand apples documentation.

I'm working the other side ... writing windows code with a mac background. Documentation and examples have been an amazing help for me.

jack

On Apr 22, 2010, at 6:45 PM, Bill Appleton wrote:

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

_______________________________________________

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


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>)
 >Re: NSApplicationMain question (From: Bill Appleton <email@hidden>)

  • Prev by Date: Re: NSApplicationMain question
  • Next by Date: Re: Strange "autoreleased with no pool in place" message
  • Previous by thread: Re: NSApplicationMain question
  • Next by thread: Re: NSApplicationMain question
  • Index(es):
    • Date
    • Thread