• 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: Invoking add: operation to an ArrayController manually (CoreData)
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

Re: Invoking add: operation to an ArrayController manually (CoreData)


  • Subject: Re: Invoking add: operation to an ArrayController manually (CoreData)
  • From: "I. Savant" <email@hidden>
  • Date: Tue, 19 Sep 2006 09:58:16 -0400


Are you **sure** your outlet is connected? There's no reason that shouldn't work otherwise.


Regarding inserting *instances* of entities manually, of course. See the Core Data Programming Guide in Apple's developer documentation. It's explained in great detail, complete with code examples.

--
I.S.


On Sep 19, 2006, at 9:07 AM, Konni Scheller wrote:

Hi.

I'm working on a way to insert manually entities into a managed object context which were
usally controlled by array controllers.


How is it possible to invoke the IBActions add: / remove: eg. to an array controller manually?

I tried to create an outlet for my program ("IBOutlet NSArrayController *contacts;"), had connected
it with the array controller, but it seems not to respond to the actions add:/remove: etc. when I
call it in the main program, so [contacts add:...] does not work.


Other Question, how is it possible to insert a entity manually?

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


This email sent to email@hidden

_______________________________________________ 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
  • Follow-Ups:
    • Re: Invoking add: operation to an ArrayController manually (CoreData)
      • From: Konni Scheller <email@hidden>
References: 
 >Invoking add: operation to an ArrayController manually (CoreData) (From: Konni Scheller <email@hidden>)

  • Prev by Date: NSBrowser drawing
  • Next by Date: Re: not getting colorlist
  • Previous by thread: Invoking add: operation to an ArrayController manually (CoreData)
  • Next by thread: Re: Invoking add: operation to an ArrayController manually (CoreData)
  • Index(es):
    • Date
    • Thread