IKImageBrowserView Title & Subtitle Woes
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