• 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: Load File Faster.
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

Re: Load File Faster.


  • Subject: Re: Load File Faster.
  • From: mmalc Crawford <email@hidden>
  • Date: Mon, 29 Jun 2009 21:30:47 -0700


On Jun 29, 2009, at 8:55 PM, Dave Keck wrote:

Don't abuse property lists; if you need a database, use a database.

Indeed. And if you can/aren't already, use a binary plist. And load the data in a background thread, to keep the UI snappy.

Without any additional information, I would suggest instead using Core Data and a SQLite store. This will allow you to load your data on- demand. (There may be reasons why using it may not be appropriate here, but in general if you're dealing with any reasonable size dataset in a pure Cocoa application, you should typically be using Core Data.)


mmalc

_______________________________________________

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: 
 >Load File Faster. (From: Philip Juel Borges <email@hidden>)
 >Re: Load File Faster. (From: Scott Ribe <email@hidden>)
 >Re: Load File Faster. (From: Dave Keck <email@hidden>)

  • Prev by Date: Re: Load File Faster.
  • Next by Date: Input for CIFilter
  • Previous by thread: Re: Load File Faster.
  • Next by thread: Question on generating mouse events with modifier keys
  • Index(es):
    • Date
    • Thread