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 (Cocoa-dev@lists.apple.com)

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:
http://lists.apple.com/mailman/options/cocoa-dev/archive%40mail-archive.com

This email sent to arch...@mail-archive.com

Reply via email to