• 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: Using a document bundle file type with core data
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

Re: Using a document bundle file type with core data


  • Subject: Re: Using a document bundle file type with core data
  • From: Mike Abdullah <email@hidden>
  • Date: Thu, 17 Jan 2013 10:42:54 +0000

On 17 Jan 2013, at 03:38, David Brittain <email@hidden> wrote:

> The code in this blog article enables saving core data files to a package:
>
> http://cutecoder.org/featured/asynchronous-core-data-document/
>
> Take a look at the writeSafelyToURL implementation in the gist at the
> bottom. I haven't tried saving to a bundle myself, but found the
> article helped me solve some problems with core data and documents.

The code in that article is a bit buggy. I did a rewrite, based off our internal code here:

https://github.com/karelia/BSManagedDocument

Read through the header for full details, and make sure you work with the ksmanageddocument branch for now. There are a lot of tricky edge cases involved in this. About 4 years of discovering them has gone into this!


_______________________________________________

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: Using a document bundle file type with core data
      • From: Eric Gorr <email@hidden>
References: 
 >Using a document bundle file type with core data (From: Eric Gorr <email@hidden>)
 >Re: Using a document bundle file type with core data (From: David Brittain <email@hidden>)

  • Prev by Date: Re: Thread synchronization via queue
  • Next by Date: Re: Thread synchronization via queue
  • Previous by thread: Re: Using a document bundle file type with core data
  • Next by thread: Re: Using a document bundle file type with core data
  • Index(es):
    • Date
    • Thread