Re: NSPathControl w/ popups and icons
Re: NSPathControl w/ popups and icons
- Subject: Re: NSPathControl w/ popups and icons
- From: Graham Cox <email@hidden>
- Date: Thu, 29 Jul 2010 13:29:36 +1000
On 29/07/2010, at 12:54 PM, Shane wrote:
> So my question is, is this control an NSPathControl? I like icons in
> the beginning of it, then the path part. Though I'm not sure how this
> is done yet, I hope I'm at the right starting place with this control.
Dunno about Xcode, but you can use NSPathControl to represent any path-like trail in your app. I just did so in mine. If you assemble the path in the form of a slash-separated string, you can use -setStringValue: to set up the control, but for the icons I found I had to iterate over the individual cell (-pathComponentCells) and call -setImage: on each one.
--Graham
_______________________________________________
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