• 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: Cocoa Technologies Back-Story?
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

Re: Cocoa Technologies Back-Story?


  • Subject: Re: Cocoa Technologies Back-Story?
  • From: Scott Stevenson <email@hidden>
  • Date: Mon, 2 May 2005 12:50:20 -0700


On May 2, 2005, at 8:57 AM, Bill Bumgarner wrote:

Also, Core Data is not well suited to storing free form documents -- word processing documents, for example -- as they are generally stored today.   Now, that isn't a limitation of Core Data so much as a result of how said documents are represented.   The Text subsystem has a very particular fashion of storing all of the rather complex data necessary to save away document formatting.   Unless you dive into the intricacies of the text subsystem, most of the storage and retrieval of said formatting can be treated as a black box. It would certainly be possible to represent free form documents in Core Data.   It is just a problem of developing an effective model.


It seems like you'd still benefit from change tracking and persistence, even if a text document doesn't have much sense of relationships.

In other words, wouldn't there be code reduction in a TextEdit-like app if you just use NSData attributes? Free undo and NSPersistentDocument seem pretty compelling. It seems like this would become even more useful if you organize things by page.

Do feel you lose anything (other than code) going from a Cocoa Bindings / NSKeyedArchiver app to a Core Data / NSBinaryStoreType app?


    - Scott



--

http://treehouseideas.com/

http://theocacao.com/ [blog]



 _______________________________________________
Do not post admin requests to the list. They will be ignored.
Cocoa-dev mailing list      (email@hidden)
Help/Unsubscribe/Update your Subscription:

This email sent to email@hidden

References: 
 >Re: Cocoa Technologies Back-Story? (From: Scott Stevenson <email@hidden>)
 >Re: Cocoa Technologies Back-Story? (From: Bill Bumgarner <email@hidden>)

  • Prev by Date: Re: Overlay windows
  • Next by Date: use class objet instead of an instance object
  • Previous by thread: Re: Cocoa Technologies Back-Story?
  • Next by thread: Re: Cocoa Technologies Back-Story?
  • Index(es):
    • Date
    • Thread