Re: Editing NSOutlineView Group Item

2014-11-07 Thread Luther Baker
http://openradar.appspot.com/18906942 On Wed, Nov 5, 2014 at 7:23 AM, Luther Baker lutherba...@gmail.com wrote: Thanks and thanks. I'll follow up on both your suggestions. Again, many thanks for your time Quincey! Luther On Nov 5, 2014, at 2:03 AM, Quincey Morris

Re: Editing NSOutlineView Group Item

2014-11-05 Thread Quincey Morris
On Nov 4, 2014, at 14:39 , Luther Baker lutherba...@gmail.com wrote: I've created a project on github that essentially duplicates the problem I'm having. $ git clone https://github.com/EffectiveProgramming/LBOutlineViewDemo.git

Re: Editing NSOutlineView Group Item

2014-11-05 Thread Luther Baker
Thanks and thanks. I'll follow up on both your suggestions. Again, many thanks for your time Quincey! Luther On Nov 5, 2014, at 2:03 AM, Quincey Morris quinceymor...@rivergatesoftware.com wrote: On Nov 4, 2014, at 14:39 , Luther Baker lutherba...@gmail.com wrote: I've created a

Re: Editing NSOutlineView Group Item

2014-11-04 Thread Luther Baker
I was hoping these changes would do it ... but unfortunately, I'm still getting nothing You'll notice the logging below - I can confirm that the address of and object *selected* is the exact same address of and object I am *reloading*. Furthermore, the description logging from

Re: Editing NSOutlineView Group Item

2014-11-04 Thread Luther Baker
Here is the chain of calls -- although not ostensibly helpful. I have 2 items in my outline view - if I select, edit and then try to reload the item at index=1. /// outlineView:isItemExpandable: - item=selected item - returns NO outlineView:child:item - item=nil, index=1 - returns the

Re: Editing NSOutlineView Group Item

2014-11-04 Thread Quincey Morris
I have 2 items in my outline view - if I select, edit and then try to reload the item at index=1. Here is new information. What does “edit” mean? Are you talking about editing the text in the row in the outline view, or editing properties of the object represented by the row elsewhere in

Re: Editing NSOutlineView Group Item

2014-11-04 Thread Luther Baker
I've created a project on github that essentially duplicates the problem I'm having. $ git clone https://github.com/EffectiveProgramming/LBOutlineViewDemo.git If you have time, please feel free to check it out and let me know if you can see what I'm doing wrong. Thanks, -Luther On Tue,

Re: Editing NSOutlineView Group Item

2014-11-03 Thread Quincey Morris
On Nov 3, 2014, at 04:12 , Luther Baker lutherba...@gmail.com wrote: Or perhaps you are mis-tracking the selected item. I've double checked what I thought I knew -- but as you imply, who knows at this point. You are mis-tracking the selected item, I think. The delegate method

Re: Editing NSOutlineView Group Item

2014-11-02 Thread Graham Cox
On 1 Nov 2014, at 8:38 pm, Luther Baker lutherba...@gmail.com 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

Re: Editing NSOutlineView Group Item

2014-11-02 Thread Ken Thomases
On Nov 2, 2014, at 3:44 PM, Graham Cox graham@bigpond.com wrote: On 1 Nov 2014, at 8:38 pm, Luther Baker lutherba...@gmail.com 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

Re: Editing NSOutlineView Group Item

2014-11-02 Thread Graham Cox
On 3 Nov 2014, at 9:18 am, Ken Thomases k...@codeweavers.com 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

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 graham@bigpond.com wrote: On 3 Nov 2014, at 9:18 am, Ken Thomases k...@codeweavers.com wrote: This is not

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: Editing NSOutlineView Group Item

2014-11-02 Thread Quincey Morris
On Nov 2, 2014, at 20:18 , Luther Baker lutherba...@gmail.com 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:

Editing NSOutlineView Group Item

2014-11-01 Thread Luther Baker
I've got an NSOutlineView backed by a manually mapped core data based document model of which I can save edits to the persistence store just fine. I have created a detail view which can update the text of the selected item - and for the most part, telling the outline view to reload data for the