• 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: Core Data in a framework ?
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

Re: Core Data in a framework ?


  • Subject: Re: Core Data in a framework ?
  • From: Chris Hanson <email@hidden>
  • Date: Wed, 17 Sep 2008 18:10:01 -0700

On Sep 17, 2008, at 2:24 PM, dreamcat7 wrote:

If use Core Data, then can my class be part of a framework ?

Yes. You can use Core Data in pretty much any situation where you would use Foundation.


Core Data is not restricted to applications that the user interacts with. For one example, if you have a Core Data-based document format, you will need to use Core Data from both your Spotlight importer and Quick Look generator, not just from your application, to access its underlying structure.

In a situation like I've described, you could even choose to encapsulate the basic Core Data-based document format support in a framework. You could embed this framework in your application wrapper and link to it from your application, your Spotlight importer, and your Quick Look generator; doing so is easily possible on Leopard using the @rpath mechanism.

So don't let the fact that you may not be directly building an end- user app dissuade you from using Core Data. Anywhere you need to deal with a graph of model objects, Core Data will be useful.

  -- Chris

_______________________________________________

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: Core Data in a framework ?
      • From: dreamcat7 <email@hidden>
References: 
 >Binding to an NSArrayController however binding is 1-way only. (From: dreamcat7 <email@hidden>)
 >Re: Core Data in a framework ? (From: dreamcat7 <email@hidden>)

  • Prev by Date: Listening for changes in a table
  • Next by Date: [Moderator] Re: iPod Touch apps
  • Previous by thread: Re: Core Data in a framework ?
  • Next by thread: Re: Core Data in a framework ?
  • Index(es):
    • Date
    • Thread