• 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
IKImageBrowserView Title & Subtitle Woes
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

IKImageBrowserView Title & Subtitle Woes


  • Subject: IKImageBrowserView Title & Subtitle Woes
  • From: Thaddeus Cooper <email@hidden>
  • Date: Sun, 13 Apr 2008 13:01:51 -0700

Hello all.

I am trying to set the color of the title and subtitle in an IKImageBrowserView. From what I see in the documentation I need to set up a dictionary with key-value pairs that describe the attributes of what I want to set it to. I have the snippet of code that I'm trying to use below:

NSDictionary *titleTextInfo = [NSDictionary dictionaryWithObject: [CIColor colorWithRed:0.0 green:1.0 blue:0.0] forKey:@"titleColor"];
[myBrowserView setValue:titleTextInfo forKey:IKImageBrowserCellsTitleAttributesKey];


What I can't figure out is what is the magic key for setting the color of the title and subtitle. I've tried: foregroundColor, ForegroundColor, color, Color, titleColor, TitleColor and probably a few others. I've also tried using both CIColor (as shown above) and NSColor. As far as I can tell from a search of the documentation the actual keys are not documented.

Any help would be greatly appreciated.

Thanks very much.

Thaddeus O. Cooper
(email@hidden)



_______________________________________________

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: IKImageBrowserView Title & Subtitle Woes
      • From: thomas goossens <email@hidden>
  • Prev by Date: Re: Why should we set ivars to nil in dealloc?
  • Next by Date: Re: Cocoa-dev Digest, Vol 5, Issue 600
  • Previous by thread: Re: Stale Objective-C object pointer detection
  • Next by thread: Re: IKImageBrowserView Title & Subtitle Woes
  • Index(es):
    • Date
    • Thread