• 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
NSXXXTemplate images and NSSegmentedView
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

NSXXXTemplate images and NSSegmentedView


  • Subject: NSXXXTemplate images and NSSegmentedView
  • From: "Dion Crannitch" <email@hidden>
  • Date: Wed, 14 Nov 2007 16:15:57 +0000

Hi all,

How do I create an image that behaves like one of the NSXXXTemplate
images when used on an NSSegmentedView segment?

We noticed that on Leopard NSSegmentedViews that have text labels no
longer display any selection state if the mode is set to "Select Any"
and the style is "Textured". However if you set one of the
NXXXXTemplate images from the Library in IB on a segment the image
highlights in blue when the segment is selected. If you create a
normal grayscale image yourself you don't get this behaviour. The
template images seem to contain an NSCoreUIImageRep rather than an
NSBitmapImageRep.

Does anyone know how to create an image that behaves like the template images?

Thanks!

Dion
_______________________________________________

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: NSXXXTemplate images and NSSegmentedView
      • From: "I. Savant" <email@hidden>
  • Prev by Date: Re: Memory limits under Garbage Collection, NSMutableData vs. malloc()
  • Next by Date: Re: NSXXXTemplate images and NSSegmentedView
  • Previous by thread: Re: [SOLVED] Resetting of property values after completion of a CABasicAnimation
  • Next by thread: Re: NSXXXTemplate images and NSSegmentedView
  • Index(es):
    • Date
    • Thread