Re: Invoking add: operation to an ArrayController manually (CoreData)
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