Re: Editing NSOutlineView Group Item

2014-11-02 Thread Quincey Morris
On Nov 2, 2014, at 20:18 , Luther Baker wrote: > > So, before we get to the 'group' question - I seem to be having some > difficulty with the item specific API. If I change the call from reloadData > to reloadItem ... and if we consider reloading the selected row ... then: > >[outlineView re

Re: Editing NSOutlineView Group Item

2014-11-02 Thread Luther Baker
So, before we get to the 'group' question - I seem to be having some difficulty with the item specific API. If I change the call from reloadData to reloadItem ... and if we consider reloading the selected row ... then: [outlineView reloadItem:selectedObject reloadChildren:YES or NO]; invokes

Re: Tracking Focus Between NSOutlineViews

2014-11-02 Thread Luther Baker
Again - thanks for the extended notes here. I really appreciate the extra context I get form this group. Thanks, -Luther On Sun, Nov 2, 2014 at 6:56 PM, Graham Cox wrote: > > On 3 Nov 2014, at 11:13 am, Luther Baker wrote: > > > You start the app and if you select a milestone I show a "milest

Re: Tracking Focus Between NSOutlineViews

2014-11-02 Thread Graham Cox
On 3 Nov 2014, at 11:13 am, Luther Baker wrote: > You start the app and if you select a milestone I show a "milestones detail > editor view" in the right "details" area. Also, after selecting that > milestone, a hierarchical view of milestone tasks shows up in the middle > view. Now you selec

Re: Tracking Focus Between NSOutlineViews

2014-11-02 Thread Quincey Morris
On Nov 2, 2014, at 16:23 , Luther Baker wrote: > > Is Xcode worth considering here? Tap a class file and you get details about > that class in the right pane. Open a XIB ... Tap something in the XIB and the > details pane changes to reflect the XIB selection, not the file anymore. Same > goes

Re: Tracking Focus Between NSOutlineViews

2014-11-02 Thread Luther Baker
Good question. I struggled with that. For now, the 2 outline views give me the option of hierarchy should I need it ... Releases / milestones / iterations Features / tasks But to your point, browser semantics are an option if my design is going to confuse the user. Is Xcode worth considering

Re: Tracking Focus Between NSOutlineViews

2014-11-02 Thread Luther Baker
My current project idea is for a 3 way split view app with milestones on the left (in a source view), hierarchical tasks in the middle (a standard outline view) and a swappable details area in the right pane (this is sort of what omnifocus does). You start the app and if you select a milestone

Re: Text drop into other text apps

2014-11-02 Thread Alexander Reichstadt
Hi > On 02 Nov 2014, at 19:11, Ken Thomases wrote: > > On Nov 2, 2014, at 12:43 PM, Alexander Reichstadt wrote: > > As to why your drop is not being accepted, have you called > -setDraggingSourceOperationMask:forLocal: on the table view to set an > operation mask for the non-local case (passi

Re: Tracking Focus Between NSOutlineViews

2014-11-02 Thread Graham Cox
On 3 Nov 2014, at 9:50 am, Luther Baker wrote: > I have multiple NSOutlineView objects on the screen at one time. > > As you select items in secondary outline views, the existing selections in > the other outline views stay selected, and generally turn from a selected > BLUE to an alternate sel

Re: Tracking Focus Between NSOutlineViews

2014-11-02 Thread Graham Cox
On 3 Nov 2014, at 9:50 am, Luther Baker wrote: > Now, off to the right side of the window, I have a context DETAIL view that > displays a few editable fields - depending on the the active selection > (just like Xcode does with the contextual right hand view). > > The outline view delegates fire

Re: Tracking Focus Between NSOutlineViews

2014-11-02 Thread Ken Thomases
On Nov 2, 2014, at 4:50 PM, Luther Baker wrote: > The outline view delegates fire when a selection changes ... or should > change -- but they don't say anything if you simply "reselect" an existing > selection (turning it from GRAY to BLUE). This is not a selection event. It's a change of the w

Tracking Focus Between NSOutlineViews

2014-11-02 Thread Luther Baker
I have multiple NSOutlineView objects on the screen at one time. As you select items in secondary outline views, the existing selections in the other outline views stay selected, and generally turn from a selected BLUE to an alternate selected GRAY. That is fine and expected. Now, off to the righ

Re: Editing NSOutlineView Group Item

2014-11-02 Thread Luther Baker
Indeed ... I was incorrectly using reloadDataForRowIndexes:columnIndexes: ... and not reloadItem:reloadChildren. Thank you, -Luther On Sun, Nov 2, 2014 at 4:35 PM, Graham Cox wrote: > > On 3 Nov 2014, at 9:18 am, Ken Thomases wrote: > > > This is not correct. Group items are items for which

Re: Editing NSOutlineView Group Item

2014-11-02 Thread Graham Cox
On 3 Nov 2014, at 9:18 am, Ken Thomases wrote: > This is not correct. Group items are items for which the delegate returns > YES from -outlineView:isGroupItem:. They can have children or not. Yes, my misunderstanding - I've only used group rows for section labelling (no children). > All o

Re: Editing NSOutlineView Group Item

2014-11-02 Thread Ken Thomases
On Nov 2, 2014, at 3:44 PM, Graham Cox wrote: > On 1 Nov 2014, at 8:38 pm, Luther Baker wrote: > >> How do I get an NSOutlineView row, designated as a "group" row, to reload >> itself? > > You might be mistaking a group row for a "parent" row (these don't have a > special name, but they're th

Re: Editing NSOutlineView Group Item

2014-11-02 Thread Graham Cox
On 1 Nov 2014, at 8:38 pm, Luther Baker wrote: > How do I get an NSOutlineView row, designated as a "group" row, to reload > itself? You might be mistaking a group row for a "parent" row (these don't have a special name, but they're the ones that have turndown triangles that can open to show

Re: Text drop into other text apps

2014-11-02 Thread Ken Thomases
On Nov 2, 2014, at 12:43 PM, Alexander Reichstadt wrote: > I'd like to write @"test" to the pasteboard in response to a tableview drag > to end up in another app's textfield. > > I see that all my methods are called accordingly, but when I release the > mouse button, nothing is inserted nor do

Re: Text drop into other text apps

2014-11-02 Thread Mike Abdullah
> On 2 Nov 2014, at 18:43, Alexander Reichstadt wrote: > > Hi, > > I'd like to write @"test" to the pasteboard in response to a tableview drag > to end up in another app's textfield. > > I see that all my methods are called accordingly, but when I release the > mouse button, nothing is inser

Text drop into other text apps

2014-11-02 Thread Alexander Reichstadt
Hi, I'd like to write @"test" to the pasteboard in response to a tableview drag to end up in another app's textfield. I see that all my methods are called accordingly, but when I release the mouse button, nothing is inserted nor does the cursor react by reflecting the insertion point if the m

Re: Auto layout without ambiguity

2014-11-02 Thread Ulf Dunkel
> By the way: there was in Xcode a way to test a nib without running the app. > Can't find this anymore in 6.1. > Where is this hiding? I guess this has gone (I also can no longer find it) in favor of using both Auto-Layout and Base Internationalization, where you can view the NIB layouts as if th