Re: Cocoa Drawing vs. Quartz Drawing
Re: Cocoa Drawing vs. Quartz Drawing
- Subject: Re: Cocoa Drawing vs. Quartz Drawing
- From: Seth Willits <email@hidden>
- Date: Sat, 22 Jan 2011 17:05:56 -0800
On Jan 22, 2011, at 4:20 PM, Todd Heberlein wrote:
> In a Cocoa app is there a preference for using the Cocoa or the Quartz drawing routines?
Not really. You'll see both because it depends on what you want to do. Most of the NS stuff is implemented using CG anyway. NSImage is pretty different, but a lot simpler to use than CG. I use NS wherever I can, and use CG wherever it's needed. It ends up to be less code that way.
--
Seth Willits
_______________________________________________
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