That's very annoying, because we aren't using it on something that can be represented as an URL - it's the currently selected NSTreeController item. ________________________________________ From: [email protected] [[email protected]] on behalf of Jack Brindle [[email protected]] Sent: Sunday, May 31, 2015 12:16 PM To: Cocoa Dev Subject: Re: NSPathControl
Oops, not any more. clickedPathComponentCell was deprecated in Yosemite. Instead, look at the URL property. Valid back to 10.5. > On May 27, 2015, at 3:43 PM, Lee Ann Rucker <[email protected]> wrote: > > > On May 27, 2015, at 2:55 PM, Jens Alfke <[email protected]> wrote: > >> >>> On May 27, 2015, at 2:46 PM, Raglan T. Tiger <[email protected]> >>> wrote: >>> >>> I can setObjectValue: for the path; now I want to know what path component >>> the users selects. I am using Pop Up style. >> >> It’s an NSControl. Wire up the target/action to your IBAction method, either >> in IB or programmatically. >> > > And then look at clickedPathComponentCell > > > _______________________________________________ > > Cocoa-dev mailing list ([email protected]) > > 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: > https://lists.apple.com/mailman/options/cocoa-dev/jackbrindle%40me.com > > This email sent to [email protected] _______________________________________________ Cocoa-dev mailing list ([email protected]) 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: https://lists.apple.com/mailman/options/cocoa-dev/lrucker%40vmware.com This email sent to [email protected] _______________________________________________ Cocoa-dev mailing list ([email protected]) 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: https://lists.apple.com/mailman/options/cocoa-dev/archive%40mail-archive.com This email sent to [email protected]
