Re: NSPathControl

2015-06-02 Thread Lee Ann Rucker
as a tree node My point was that NSPathControl apparently constructs URLs out of the path components, regardless of what you’re really representing, and regardless of how you originally configured them. From NSPathControl.h: /* Gets and sets the path value displayed. When sett

Re: NSPathControl

2015-06-01 Thread Quincey Morris
On Jun 1, 2015, at 17:56 , Graham Cox wrote: > > 4. The control represents a “path” that isn’t anything like a URL, such as a > tree node My point was that NSPathControl apparently constructs URLs out of the path components, regardless of what you’re really representing, and rega

Re: NSPathControl

2015-06-01 Thread Graham Cox
trol’s URL is a file URL for a file that doesn’t exist. > 4. The control represents a “path” that isn’t anything like a URL, such as a tree node (e.g. a NSIndexPath or something equivalent). Like Lee Ann, I use a NSPathControl for this. Forcing the data it represents to be a URL is making

Re: NSPathControl

2015-06-01 Thread Lee Ann Rucker
On Jun 1, 2015, at 2:39 PM, Quincey Morris mailto:quinceymor...@rivergatesoftware.com>> wrote: On Jun 1, 2015, at 13:59 , Lee Ann Rucker mailto:lruc...@vmware.com>> wrote: Because I couldn’t possibly be the only person using that … What does that dangling “because” refer to? I can’t make it

Re: NSPathControl

2015-06-01 Thread Quincey Morris
On Jun 1, 2015, at 14:39 , Quincey Morris wrote: > > Doesn’t NSPathControl do some special things in case #3 Oops, I meant case #2. ___ Cocoa-dev mailing list (Cocoa-dev@lists.apple.com) Please do not post admin requests or moderator comme

Re: NSPathControl

2015-06-01 Thread Quincey Morris
think: 1. The control’s URL is not a file URL. 2. The control’s URL is a file URL for a file that exists. 3. The control’s URL is a file URL for a file that doesn’t exist. Doesn’t NSPathControl do some special things in case #3, for things like the user’s home folder etc? Does this mess you up

Re: NSPathControl

2015-06-01 Thread Lee Ann Rucker
-dev-bounces+lrucker=vmware@lists.apple.com<mailto:cocoa-dev-bounces+lrucker=vmware@lists.apple.com>] on behalf of Jack Brindle [jackbrin...@me.com<mailto:jackbrin...@me.com>] Sent: Sunday, May 31, 2015 12:16 PM To: Cocoa Dev Subject: Re: NSPathControl Oops, not any more. cli

RE: NSPathControl

2015-06-01 Thread Lee Ann Rucker
+lrucker=vmware@lists.apple.com] on behalf of Jack Brindle [jackbrin...@me.com] 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, 201

Re: NSPathControl

2015-05-31 Thread Jack Brindle
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 wrote: > > > On May 27, 2015, at 2:55 PM, Jens Alfke wrote: > >> >>> On May 27, 2015, at 2:46 PM, Raglan T. Tiger

Re: NSPathControl

2015-05-28 Thread Raglan T. Tiger
> On May 27, 2015, at 4:43 PM, Lee Ann Rucker wrote: > > > On May 27, 2015, at 2:55 PM, Jens Alfke wrote: > >> >>> On May 27, 2015, at 2:46 PM, Raglan T. Tiger >>> wrote: >>> >>> I can setObjectValue: for the path; now I want to know what path component >>> the users selects. I am usin

Re: NSPathControl

2015-05-27 Thread Lee Ann Rucker
On May 27, 2015, at 2:55 PM, Jens Alfke wrote: > >> On May 27, 2015, at 2:46 PM, Raglan T. Tiger 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

Re: NSPathControl

2015-05-27 Thread Jens Alfke
> On May 27, 2015, at 2:46 PM, Raglan T. Tiger 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. —Jens _

NSPathControl

2015-05-27 Thread Raglan T. Tiger
How do I get called by NSPathControl ? I can setObjectValue: for the path; now I want to know what path component the users selects. I am using Pop Up style. -rags ___ Cocoa-dev mailing list (Cocoa-dev@lists.apple.com) Please do not post

Re: NSPathControl (popup) - programatically show Choose dialog

2015-03-17 Thread dangerwillrobinsondanger
d that I can get my path control to performClick: >>>> >>>> // When adding a new sequence we immediately prompt the user to select a >>>> folder to use for image files >>>> simulatingPathControlClick = true; >>>> [folderSelectPopu

Re: NSPathControl (popup) - programatically show Choose dialog

2015-03-17 Thread Jonathan Taylor
new sequence we immediately prompt the user to select a >>> folder to use for image files >>> simulatingPathControlClick = true; >>> [folderSelectPopup performClick:self]; >>> simulatingPathControlClick = false; >>> >>> This is a good start,

Re: NSPathControl (popup) - programatically show Choose dialog

2015-03-17 Thread dangerwillrobinsondanger
gt; >>> I've realised that I can get my path control to performClick: >>> >>> // When adding a new sequence we immediately prompt the user to select a >>> folder to use for image files >>> simulatingPathControlClick = true; >>> [folderS

Re: NSPathControl (popup) - programatically show Choose dialog

2015-03-17 Thread dangerwillrobinsondanger
iately prompt the user to select a >> folder to use for image files >> simulatingPathControlClick = true; >> [folderSelectPopup performClick:self]; >> simulatingPathControlClick = false; >> >> This is a good start, because I see my delegate function

Re: NSPathControl (popup) - programatically show Choose dialog

2015-03-17 Thread Jonathan Taylor
[folderSelectPopup performClick:self]; >> simulatingPathControlClick = false; >> >> This is a good start, because I see my delegate function being called: >> >> -(void)pathControl:(NSPathControl*)pathControl willPopUpMenu:(NSMenu*)menu >> { >> i

Re: NSPathControl (popup) - programatically show Choose dialog

2015-03-17 Thread dangerwillrobinsondanger
atingPathControlClick = true; >[folderSelectPopup performClick:self]; >simulatingPathControlClick = false; > > This is a good start, because I see my delegate function being called: > > -(void)pathControl:(NSPathControl*)pathControl willPopUpMenu:(NSMenu*)menu > { >if (si

Re: NSPathControl (popup) - programatically show Choose dialog

2015-03-17 Thread Jonathan Taylor
o use for image files simulatingPathControlClick = true; [folderSelectPopup performClick:self]; simulatingPathControlClick = false; This is a good start, because I see my delegate function being called: -(void)pathControl:(NSPathControl*)pathControl willPopUpMenu:(NSMenu*)me

NSPathControl (popup) - programatically show Choose dialog

2015-03-15 Thread Jonathan Taylor
I have a dialog which allows the user to select a folder containing data to be processed, set various parameters that affect the processing, and displays the result of the analysis. There is an NSPathControl (popup) to select the folder. Inevitably the first thing the user does is choose a

Re: dropping alias file on NSPathControl with App Sandbox

2012-10-10 Thread Mike Abdullah
On 10 Oct 2012, at 17:57, Uli Kusterer wrote: > On Oct 10, 2012, at 6:39 PM, Mike Abdullah wrote: >> * NSPathControl is more aware of the sandbox, and doesn't try to fetch icons >> it doesn't have access to > > Not if NSPathControl runs out-of-process. The

Re: dropping alias file on NSPathControl with App Sandbox

2012-10-10 Thread Uli Kusterer
On Oct 10, 2012, at 6:39 PM, Mike Abdullah wrote: > * NSPathControl is more aware of the sandbox, and doesn't try to fetch icons > it doesn't have access to Not if NSPathControl runs out-of-process. The NSPathControl you create could just be an IOSurface drawn into your pro

Re: dropping alias file on NSPathControl with App Sandbox

2012-10-10 Thread Mike Abdullah
all *work*, but the first option sucks for developers making other >> similar things. > > I'm pretty sure it already is a 'privileged UI component like NSOpenPanel'. > In the early seeds of 10.7, there were all sorts of sandbox violations > related to NSPathCo

Re: dropping alias file on NSPathControl with App Sandbox

2012-10-10 Thread Sean McBride
vileged UI component like NSOpenPanel'. In the early seeds of 10.7, there were all sorts of sandbox violations related to NSPathControl trying to draw the icons of the file hierarchy, and failing to have access to those icons. Cheers, -- _

Re: dropping alias file on NSPathControl with App Sandbox

2012-10-10 Thread Mike Abdullah
On 10 Oct 2012, at 00:16, Sean McBride wrote: > On Sat, 6 Oct 2012 10:59:46 +0100, Mike Abdullah said: > >> Sandboxed apps can resolve aliases and follow symlinks, but unless the >> destination is within their sandbox already they do not gain access to >> it, sadly. I recommend filing a radar r

Re: dropping alias file on NSPathControl with App Sandbox

2012-10-09 Thread Sean McBride
On Sat, 6 Oct 2012 10:59:46 +0100, Mike Abdullah said: >Sandboxed apps can resolve aliases and follow symlinks, but unless the >destination is within their sandbox already they do not gain access to >it, sadly. I recommend filing a radar requesting this. I will. Do you agree with me that pathCon

Re: dropping alias file on NSPathControl with App Sandbox

2012-10-06 Thread Mike Abdullah
s care of resolving aliases/symlinks for you, which is > important with App Sandbox since you want access to the target not the alias > file itself. > > But NSPathControl, in its pathControl:acceptDrop: method, does not resolve > the alias for you, and try as I may, I can't f

dropping alias file on NSPathControl with App Sandbox

2012-10-05 Thread Sean McBride
Hi all, NSOpenPanal takes care of resolving aliases/symlinks for you, which is important with App Sandbox since you want access to the target not the alias file itself. But NSPathControl, in its pathControl:acceptDrop: method, does not resolve the alias for you, and try as I may, I can't

Re: how to set path on NSPathControl

2011-10-03 Thread Sandeep Mohan Bhandarkar
Tried doing the same with the value bindings and it seemed to work. On Oct 3, 2011, at 8:41 PM, Quincey Morris wrote: > On Oct 3, 2011, at 20:20 , Sandeep Mohan Bhandarkar wrote: > >> Can some one let me know if it is possible to set a NSPathControl using a >> NSString. I

Re: how to set path on NSPathControl

2011-10-03 Thread Charles Srstka
On Oct 3, 2011, at 10:20 PM, Sandeep Mohan Bhandarkar wrote: > Hi All, > > Can some one let me know if it is possible to set a NSPathControl using a > NSString. I tried the follwong. > > NSString *Node1 = @"Test1"; > NSString *Node2 = @"Test2&q

Re: how to set path on NSPathControl

2011-10-03 Thread Quincey Morris
On Oct 3, 2011, at 20:20 , Sandeep Mohan Bhandarkar wrote: > Can some one let me know if it is possible to set a NSPathControl using a > NSString. I tried the follwong. > > NSString *Node1 = @"Test1"; > NSString *Node2 = @"Test2"; > > [rootSubRootP

how to set path on NSPathControl

2011-10-03 Thread Sandeep Mohan Bhandarkar
Hi All, Can some one let me know if it is possible to set a NSPathControl using a NSString. I tried the follwong. NSString *Node1 = @"Test1"; NSString *Node2 = @"Test2"; [rootSubRootPath setURL:[NSURL URLWithString:[NSString stringWithFormat:@"/%@/%@"

Re: NSPathControl

2010-12-15 Thread Corbin Dunn
On Dec 15, 2010, at 10:21 AM, k...@highrolls.net wrote: > I would like to display a path control when the window title is cmd-clicked > or right-clicked. > > I am unsure how to receive this event. > > Can you point me to a doc that describes such? > In NSWindow.h /* setRepresentedURL: If ur

NSPathControl

2010-12-15 Thread koko
I would like to display a path control when the window title is cmd- clicked or right-clicked. I am unsure how to receive this event. Can you point me to a doc that describes such? Thanks. -koko ___ Cocoa-dev mailing list (Cocoa-dev@lists.apple.com

Re: NSPathControl w/ popups and icons

2010-08-09 Thread Kevin Perry
NSPathControl doesn't map submenus in its menu to the individual NSPathComponentCells, so that's not going to work. This will probably require some heavy subclassing of at least NSPathComponentCell, and perhaps NSPathCell (if the layout isn't quite how you need it). You'll

Re: NSPathControl w/ popups and icons

2010-08-06 Thread Shane
On Sat, Jul 31, 2010 at 7:44 PM, Shane wrote: > I'm trying to create an NSPathControl where there are several items > (components) within the row and each item (component) is a popup menu. > And then I would populate each of those popups w/ items. But I'm > having a probl

Re: NSPathControl w/ popups and icons

2010-07-31 Thread Shane
I'm trying to create an NSPathControl where there are several items (components) within the row and each item (component) is a popup menu. And then I would populate each of those popups w/ items. But I'm having a problem in understanding if that's how it really works. I'm p

Re: undefined symbols: NSPathControl

2010-07-31 Thread Shane
> You're missing -framework AppKit here. I believe there's something in the > Xcode 4 release notes about specifying linked frameworks that might explain > why this flag has gone missing. Thanks, I'll go looking for that. > > But the fact that you're trying

Re: undefined symbols: NSPathControl

2010-07-31 Thread Kyle Sluder
7;re missing -framework AppKit here. I believe there's something in the Xcode 4 release notes about specifying linked frameworks that might explain why this flag has gone missing. But the fact that you're trying to use NSPathControl in a Spotlight importer is quite troubling. ;-) --Ky

undefined symbols: NSPathControl

2010-07-31 Thread Shane
I'm having trouble getting my app to build again. For some reason, when I add a file subclassed from NSView, like say an NSPathControl, it doesn't seem to be able to find these classes. This problem started happening after I loaded my application in a certain "preview release&quo

Re: NSPathControl w/ popups and icons

2010-07-28 Thread Graham Cox
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 Xco

[Moderator] Re: NSPathControl w/ popups and icons

2010-07-28 Thread Scott Anguish
hat make up the branch of a hierarchy, very much like > a search tree for my application. And I'd like for each of these > "parts" of the path to be popup menus. > > Then I saw this control in XCode4. If you can open XCode4 w/o it > crashing, there is what looks to be

NSPathControl w/ popups and icons

2010-07-28 Thread Shane
these "parts" of the path to be popup menus. Then I saw this control in XCode4. If you can open XCode4 w/o it crashing, there is what looks to be an NSPathControl along the very top of the editor pane. Within that "NSPathControl" there is the "Recent Files/Unsaved Files&quo

Re: Problems with NSPathControl

2010-07-12 Thread Kyle Sluder
ood to know. Might we be able to get some mention of this in the >> NSPathControl documentation? rdar://problem/8182284 > > I don’t suppose a sample application was included with that bug? It's a bit difficult to write a sample application that shows how a feature hasn't been c

Re: Problems with NSPathControl

2010-07-12 Thread Scott Anguish
On Jul 12, 2010, at 6:13 PM, Kyle Sluder wrote: > On Mon, Jul 12, 2010 at 2:12 PM, Kevin Perry wrote: >> Yeah, this is an unfortunate bug that we didn't catch until Snow Leopard. > > Good to know. Might we be able to get some mention of this in the > NSPathControl docume

Re: Problems with NSPathControl

2010-07-12 Thread Kyle Sluder
On Mon, Jul 12, 2010 at 2:12 PM, Kevin Perry wrote: > Yeah, this is an unfortunate bug that we didn't catch until Snow Leopard. Good to know. Might we be able to get some mention of this in the NSPathControl documentation? rdar://problem/8182284 --Kyl

Re: Problems with NSPathControl

2010-07-12 Thread Dave DeLong
, at 2:45 PM, Dave DeLong wrote: >> >>> Fair enough; How can I retrieve which item was clicked? The sender of the >>> action is the actual NSPathControl, and -clickedPathComponentCell:, which >>> works on 10.6, returns nil on 10.5. >>> >>> Dave >

Re: Problems with NSPathControl

2010-07-12 Thread Kevin Perry
? > > Dave > > On Jul 12, 2010, at 2:45 PM, Dave DeLong wrote: > >> Fair enough; How can I retrieve which item was clicked? The sender of the >> action is the actual NSPathControl, and -clickedPathComponentCell:, which >> works on 10.6, returns nil on 10.5.

Re: Problems with NSPathControl

2010-07-12 Thread Dave DeLong
Or do I have to do something wonky like altering the target/action of menuitems before they show up? Dave On Jul 12, 2010, at 2:45 PM, Dave DeLong wrote: > Fair enough; How can I retrieve which item was clicked? The sender of the > action is the actual NSPathContro

Re: Problems with NSPathControl

2010-07-12 Thread Dave DeLong
Fair enough; How can I retrieve which item was clicked? The sender of the action is the actual NSPathControl, and -clickedPathComponentCell:, which works on 10.6, returns nil on 10.5. Dave On Jul 12, 2010, at 2:39 PM, Kevin Perry wrote: > Dave, > > I believe what you're

Re: Problems with NSPathControl

2010-07-12 Thread Kevin Perry
Dave, I believe what you're seeing is the intended behavior. There are cases where developers have not wanted the URL to change when an item in the pop-up menu is selected. Instead of doing this automatically and forcing developers to prevent or undo this behavior, NSPathControl in

Problems with NSPathControl

2010-07-12 Thread Dave DeLong
Hi everyone, I have an NSPathControl set to the Pop Up style, with an initial path of "/Users/dave". It's restricted to items of type "public.folder". When I run this project and interact with the path control, I see a menu like this: Choose --

[SOLVED] Re: Custom NSPathControl

2010-05-06 Thread Graham Cox
Thanks Uli, though I found NSPathControl quite easy to get to do what I wanted in the end - I guess I got too hung up on the 'URL' APIs and overlooked the usual -setStringValue: that it inherits. Elsewhere, I have a very heavily modded UKDistributedView we could talk about... ;-)

Re: Custom NSPathControl

2010-05-06 Thread Uli Kusterer
On 05.05.2010, at 13:20, Graham Cox wrote: > So is using NSPathControl even possible for this, or would I just be better > off writing a complete new control from scratch? NSPathControl does some neat > things like fading overlong text within a subcell that I could use, as well > a

Re: Custom NSPathControl

2010-05-05 Thread Graham Cox
wrote: > >> On May 5, 2010, at 04:20, Graham Cox wrote: >> >>> So is using NSPathControl even possible for this, or would I just be better >>> off writing a complete new control from scratch? NSPathControl does some >>> neat things like fading overlong tex

Re: Custom NSPathControl

2010-05-05 Thread Corbin Dunn
On May 5, 2010, at 10:20 AM, Quincey Morris wrote: > On May 5, 2010, at 04:20, Graham Cox wrote: > >> So is using NSPathControl even possible for this, or would I just be better >> off writing a complete new control from scratch? NSPathControl does some >> neat thi

Re: Custom NSPathControl

2010-05-05 Thread Quincey Morris
On May 5, 2010, at 04:20, Graham Cox wrote: > So is using NSPathControl even possible for this, or would I just be better > off writing a complete new control from scratch? NSPathControl does some neat > things like fading overlong text within a subcell that I could use, as w

Re: Custom NSPathControl

2010-05-05 Thread Corbin Dunn
gt; of its location on disk, which is irrelevant, but its place in the whole big > collection of objects which is vaguely analogous to a file path. > > I was looking at NSPathControl as a way to neatly show which item was > selected including its hierarchical information, but quickl

Custom NSPathControl

2010-05-05 Thread Graham Cox
the whole big collection of objects which is vaguely analogous to a file path. I was looking at NSPathControl as a way to neatly show which item was selected including its hierarchical information, but quickly realised that this control is very strongly tied to NSURLs as a specific form of path a

Re: How to get NSPathControl to resize programatically? (Solved..)

2010-03-10 Thread Robert Monaghan
I figured out how to get the NSPathControl to "resize" after changing an NSPathComponentCell URL. I realize that the description I gave is vague, so here is a better explanation.. I am changing the URL of a NSPathComponent in the middle of NSPathControl's overall URL. By makin

Re: How to get NSPathControl to resize programatically?

2010-03-09 Thread Robert Monaghan
Yeah, I did.. that didn't work either. Tried: [myPathControl sizeToFit]; bob. On Mar 9, 2010, at 12:33 PM, Sean McBride wrote: > On Tue, 9 Mar 2010 12:26:14 -0800, Robert Monaghan said: > >> I am changing the NSURL of a path, that drives NSPathControl. >> If I edit t

Re: How to get NSPathControl to resize programatically?

2010-03-09 Thread Sean McBride
On Tue, 9 Mar 2010 12:26:14 -0800, Robert Monaghan said: >I am changing the NSURL of a path, that drives NSPathControl. >If I edit the path so that the new text element of that path is longer >or shorter than the original path, >I would need to have NSPathControl redraw itself..

How to get NSPathControl to resize programatically?

2010-03-09 Thread Robert Monaghan
Hi Everyone, I am changing the NSURL of a path, that drives NSPathControl. If I edit the path so that the new text element of that path is longer or shorter than the original path, I would need to have NSPathControl redraw itself.. Here is an example of what I am doing: (myPathControl is a

Re: NSPathControl not displaying icons initially

2009-09-14 Thread Markus Spoettl
On Sep 15, 2009, at 12:32 AM, Quincey Morris wrote: Try: [myPathControl setURL:[NSURL fileURLWithPath:NSHomeDirectory()]]; IIRC, the path control needs to know that the URL is a file URL. Yes, exactly. I figured this out a few seconds too late. Sorry for the noise and thanks for he

Re: NSPathControl not displaying icons initially

2009-09-14 Thread Quincey Morris
On Sep 14, 2009, at 15:14, Markus Spoettl wrote: [myPathControl setURL:[NSURL URLWithString:NSHomeDirectory()]]; Try: [myPathControl setURL:[NSURL fileURLWithPath:NSHomeDirectory()]]; IIRC, the path control needs to know that the URL is a file URL.

NSPathControl not displaying icons initially

2009-09-14 Thread Markus Spoettl
I'm using an NSPathControl which is bound to the window controller's path property. The path control uses NSPathStylePopUp as style (statically set up in IB). The setup works correctly except that the path control does not display any directory icons initially. The icons are al

Re: NSPathControl + PopUp style - is it a bug or feature?

2009-08-04 Thread I. Savant
n its own in a new XIB? Does it be have the same? Are you able to upload your project / test case somewhere for others to see? -- I.S. On Aug 4, 2009, at 6:25 AM, Alexander Bokovikov wrote: Hi, All, I'm using NSPathControl with Popup style. The question is - why can't

NSPathControl + PopUp style - is it a bug or feature?

2009-08-04 Thread Alexander Bokovikov
Hi, All, I'm using NSPathControl with Popup style. The question is - why can't I change the path by selecting existing paths in the popup paths list panel? I click the control, panel appears with the target path and all its parent paths below. I click on any of parent paths a

NSPathControl - popup panel doesn't work

2009-08-03 Thread Alexander Bokovikov
hese changes will be saved. But none of other items in the popup panel work. Why? I don't see any options in the Inspector, which could help here. NSPathControl has style set to "PopUp". Please help. Thanks. ___ Cocoa-dev mailing list (Co

NSPathControl popup menu

2009-05-15 Thread Ryan Joseph
How can I be notified when a user selects an item from the menu in popup menu mode? All I can get is the double click action. The example I'm looking "ObjectPath" seems to not have this functionality either. Thanks. Regards, Josef ___ Co

Re: Design Advice - Bread Crumbs, NSPathControl

2009-01-06 Thread Mudi Dandan
Hi Rob, Yes, you can do it by subclassing NSPathControl and providing a custom NSPathComponentCell. I have done it that way too, see the result here: http://www.binarynights.com/blog/wp-content/uploads/picture-9.png . Though the height cannot be set from IB you can change it runtime

Design Advice - Bread Crumbs, NSPathControl

2009-01-06 Thread Rob Evans
Folks, I'd like to include a "Bread Crumbs" control in my application and wonder if extending NSPathControl would be appropriate. I'd like my control to look something like what you see in Apple's Instruments [1] or WebKits WebInspector [2]. Since these are path lik

Re: Problem with Bindings, Core Data, Data Model, NSPathControl

2008-12-14 Thread Quincey Morris
On Dec 14, 2008, at 09:59, Keith Lander wrote: I am fairly new to Cocoa (but not programming). I have a data model containing an entity with a String attribute representing a path to a folder. I am trying to use IB to bind an NSPathControl widget to the attribute in the window controller

Problem with Bindings, Core Data, Data Model, NSPathControl

2008-12-14 Thread Keith Lander
I am fairly new to Cocoa (but not programming). I have a data model containing an entity with a String attribute representing a path to a folder. I am trying to use IB to bind an NSPathControl widget to the attribute in the window controller. I assume I need a value transformer to convert

Re: No action msg after NSPathControl "Choose"

2008-09-10 Thread Sean McBride
work around given to me was to subclass and override NSPathCell: - (void)setURL:(NSURL*)url { [super setURL:url]; // Workround for on Mac OS X 10.5.x. NSPathControl* pathControl = (NSPathControl*)[self controlView]; (void)[pathControl sendAction

No action msg after NSPathControl "Choose"

2008-09-09 Thread David Hoerl
The NSPathControl.h file says that when in Popup mode, the control will send a action message. However, I cannot get it to work. I've tried using no types, and a type of "public.folder". Is this a known problem? I was able to create a hack work-around: use the NSPathControl

NSPathControl, Bindings and Shared User Defaults

2008-06-18 Thread Jeremy Matthews
Anyone out there binding multiple NSPathControls in IB? I can do it programatically, but when I attempt to use multiple NSPathControls the only item that ends up in the users' plist is the most recent one modified... I'm using a "newer" version of Xcode Tools, but the same thing happens u

Re: Interesting NSPathControl Behavior

2008-05-02 Thread Corbin Dunn
On May 1, 2008, at 6:47 PM, Mike Rossetti wrote: So I've discovered an interesting behavior in NSPathControl and am wondering if it warrants a Radar. I'm building up my own presentation of the file path to be shown in the NSPathControl. Specifically, if the file for which t

Re: Interesting NSPathControl Behavior

2008-05-02 Thread Kyle Sluder
On Thu, May 1, 2008 at 9:47 PM, Mike Rossetti <[EMAIL PROTECTED]> wrote: > So I've discovered an interesting behavior in NSPathControl and am wondering > if it warrants a Radar. Since you are overriding -setObjectValue: it's pretty much necessary for you to post your

Interesting NSPathControl Behavior

2008-05-01 Thread Mike Rossetti
So I've discovered an interesting behavior in NSPathControl and am wondering if it warrants a Radar. I'm building up my own presentation of the file path to be shown in the NSPathControl. Specifically, if the file for which the path is being presented is in some standard locatio