• 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
Arraycontroller and CoreData
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

Arraycontroller and CoreData


  • Subject: Arraycontroller and CoreData
  • From: Benjamin Rindt <email@hidden>
  • Date: Thu, 12 Sep 2013 17:11:08 +0200

Hey guys,

I'm really confused with the array controller and core data. I don't know what I have to use to get what I want.
My program has for now a CollectionView which is populated by a core data fetch request.

If I use an arrayController, I don't have to make this fetch do I? I can tell the array controller to fetch: ?

Next thing is, when new Items are added to the collection view, it should automatically change.
A binding of the collection view is enough? Something like [collectionview bind: toObject:….]

And, for now I add data to my core data database with insertNewObjectForEntityForName. Is that okay or should I add it with the array controller's add oder insertObject methods? The new entries have to keep their relationships and I don't know how I can define them with the array controller methods.


Thanks in advance!
Benjamin
_______________________________________________

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: Arraycontroller and CoreData
      • From: Keary Suska <email@hidden>
  • Prev by Date: Re: Analyser reports memory leak… where?
  • Next by Date: Re: Analyser reports memory leak… where?
  • Previous by thread: Re: NSTabView
  • Next by thread: Re: Arraycontroller and CoreData
  • Index(es):
    • Date
    • Thread