• 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: I need a milder application badge (solution)
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

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


  • Follow-Ups:
    • Re: I need a milder application badge (solution)
      • From: Jay Reynolds Freeman <email@hidden>
References: 
 >I need a milder application badge (From: Jay Reynolds Freeman <email@hidden>)
 >Re: I need a milder application badge (solution) (From: Jay Reynolds Freeman <email@hidden>)
 >Re: I need a milder application badge (solution) (From: Kyle Sluder <email@hidden>)

  • Prev by Date: Re: I need a milder application badge (solution)
  • Next by Date: Re: I need a milder application badge (solution)
  • Previous by thread: Re: I need a milder application badge (solution)
  • Next by thread: Re: I need a milder application badge (solution)
  • Index(es):
    • Date
    • Thread