• Open Menu Close Menu
  • Apple
  • Shopping Bag
  • Apple
  • Mac
  • iPad
  • iPhone
  • Watch
  • TV
  • Music
  • Support
  • Search apple.com
  • Shopping Bag

Lists

Open Menu Close Menu
  • Terms and Conditions
  • Lists hosted on this site
  • Email the Postmaster
  • Tips for posting to public mailing lists
Re: Editing NSOutlineView Group Item
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

Re: Editing NSOutlineView Group Item


  • Subject: Re: Editing NSOutlineView Group Item
  • From: Luther Baker <email@hidden>
  • Date: Tue, 04 Nov 2014 16:39:18 -0600

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, Nov 4, 2014 at 1:21 PM, Quincey Morris <
email@hidden> wrote:

> >  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 the window, which imply a
> change in its item’s appearance in the outline view?
>
> One thing you could try, just before you invoke ‘reloadItem:’, is to log
> the items in the view. That is, loop over the view’s row by rowIndex,
> fetching the item for each row, and logging the item pointer and
> description. (This will not log rows in collapsed parents, of course, but
> that’s part of the point.) Then check to make sure the item you’re
> selecting is in this list.
>
> If, for some reason, editing causes the identity of the item to change,
> then I’d expect to see failures like you’re getting.
>
>
_______________________________________________

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


  • Follow-Ups:
    • Re: Editing NSOutlineView Group Item
      • From: Quincey Morris <email@hidden>
References: 
 >Editing NSOutlineView Group Item (From: Luther Baker <email@hidden>)
 >Re: Editing NSOutlineView Group Item (From: Graham Cox <email@hidden>)
 >Re: Editing NSOutlineView Group Item (From: Ken Thomases <email@hidden>)
 >Re: Editing NSOutlineView Group Item (From: Graham Cox <email@hidden>)
 >Re: Editing NSOutlineView Group Item (From: Luther Baker <email@hidden>)
 >Re: Editing NSOutlineView Group Item (From: Luther Baker <email@hidden>)
 >Re: Editing NSOutlineView Group Item (From: Quincey Morris <email@hidden>)
 >Re: Editing NSOutlineView Group Item (From: Quincey Morris <email@hidden>)
 >Re: Editing NSOutlineView Group Item (From: Luther Baker <email@hidden>)
 >Re: Editing NSOutlineView Group Item (From: Quincey Morris <email@hidden>)

  • Prev by Date: Re: NSImage glowing
  • Next by Date: Re: Background CIFilter processing?
  • Previous by thread: Re: Editing NSOutlineView Group Item
  • Next by thread: Re: Editing NSOutlineView Group Item
  • Index(es):
    • Date
    • Thread