• 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: NSOutlineView: items can't be referenced with path?
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

Re: NSOutlineView: items can't be referenced with path?


  • Subject: Re: NSOutlineView: items can't be referenced with path?
  • From: Corbin Dunn <email@hidden>
  • Date: Thu, 04 Mar 2010 15:35:07 -0800

On Mar 4, 2010, at 1:20 PM, Laurent Daudelin wrote:

> I've been using NSOutlineView in the past and know the need to provide a unique identifier for "items" used by the outline view.
>
> I'm working on a WebDAV client and thought it would be a good idea to use the full url of an item to identify it. However, after I properly provide the path for items in outlineView:child:ofItem:, when my outlineView:isItemExpandable: is called, item is nil.
>
> Anybody knows what's up with that? I'm using a string formatted as a URL, e.g. "http://192.168.0.1/SomeContent/SomeDirectory/SomeFile";.
>

It returns whatever you gave it from child:ofItem: -- you must be passing nil to it.

corbin



_______________________________________________

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

References: 
 >NSOutlineView: items can't be referenced with path? (From: Laurent Daudelin <email@hidden>)

  • Prev by Date: Re: Interface Builder : moving a controller to File's Owner
  • Next by Date: Converting a Cocoa Application project to a document-based one
  • Previous by thread: NSOutlineView: items can't be referenced with path?
  • Next by thread: -[NSManagedObject objectID]: unrecognized selector sent to class
  • Index(es):
    • Date
    • Thread