• 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
Implementing NSOutlineView datasource methods when using an asynchronous source?
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

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

  • Follow-Ups:
    • Re: Implementing NSOutlineView datasource methods when using an asynchronous source?
      • From: Jens Alfke <email@hidden>
  • Prev by Date: Re: Debugging (apparently) random retain loop bug (NSArrayController)
  • Next by Date: Dumb question about Core Data
  • Previous by thread: Re: NSScrollView & its width
  • Next by thread: Re: Implementing NSOutlineView datasource methods when using an asynchronous source?
  • Index(es):
    • Date
    • Thread