• 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: From Carbon to Cocoa
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

Re: From Carbon to Cocoa


  • Subject: Re: From Carbon to Cocoa
  • From: Izidor Jerebic <email@hidden>
  • Date: Wed, 21 Jul 2004 14:35:54 +0200

On 20 Jul 2004, at 21:57, Tim Conkling wrote:


Specifically, I'm currently trying to figure out the relationship between NSWindows, NSViews, and CGContexts so that I can use Quartz APIs (also new to me; I'm used to QD) to draw things into a window.


First, you should use as high-level API as possible. This means that if there is no specific requirement that forces you to use Quartz or CoreFoundation or Unix system calls or any other low-level API directly, you should use Cocoa (NSBezierPath, NSAttributedString and friends). This will help your application because many things will just work when Apple adds new features into Mac OS X...

In similar vein, I agree with others that you should forget Carbon and start with Cocoa afresh, because in this way you will not fight the framework. Sadly, you will have to accept the role of a newbie. But it is worthwhile...

There is one book that I always recommend - Cocoa Programming for Mac OS X by Aaron Hillegass. It is the best book for learning Cocoa.

After that, there are Apple Developer Examples on your disk and after that there are mailing lists (<http://cocoa.mamasam.com/index.php> and <http://www.cocoabuilder.com/archive/bydate>)...


izidor
_______________________________________________
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.


References: 
 >From Carbon to Cocoa (From: Tim Conkling <email@hidden>)

  • Prev by Date: NSWindow Size
  • Next by Date: Re: How to disable Apple's Bug Report Dialog when application crash?
  • Previous by thread: Re: From Carbon to Cocoa
  • Next by thread: Re: From Carbon to Cocoa
  • Index(es):
    • Date
    • Thread