Re: I need a milder application badge (solution)
Re: I need a milder application badge (solution)
- Subject: Re: I need a milder application badge (solution)
- From: Rob Keniger <email@hidden>
- Date: Sat, 25 Jul 2009 17:30:53 +1000
On 25/07/2009, at 4:34 PM, Kyle Sluder wrote:
I ended up finding a basically sane way to do this -- just
one method, and I did not have to subclass NSView -- but
with a large hack for one feature:
Subclassing NSView is not a big deal. Just override -drawRect, draw
the image you want, and draw the badge on top of it.
You've basically tried to reimplement the Quartz compositor. :)
Yep. As usual with Cocoa, if something seems really hard and
complicated to do, you're probably doing it wrong. This is especially
true if you are relatively new to Cocoa development.
Don't fight the framework!
--
Rob Keniger
_______________________________________________
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