Implementing NSOutlineView datasource methods when using an asynchronous source?
Implementing NSOutlineView datasource methods when using an asynchronous source?
- Subject: Implementing NSOutlineView datasource methods when using an asynchronous source?
- From: Laurent Daudelin <email@hidden>
- Date: Thu, 4 Feb 2010 17:12:14 -0800
Just wondering, what kind of design someone acting as a datarsource for an NSOutlineView choose when the source of the data to be displayed is provided by some asynchronous means? What do you return in methods like 'outlineView:numberOfChildrenOfItem:' when the data hasn't been fetched yet?
-Laurent.
--
Laurent Daudelin
AIM/iChat/Skype:LaurentDaudelin http://nemesys.dyndns.org
Logiciels Nemesys Software email@hidden
Photo Gallery Store: http://laurentdaudelin.shutterbugstorefront.com/g/galleries
_______________________________________________
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