How to hook up controllers to a hand generated OM?
How to hook up controllers to a hand generated OM?
- Subject: How to hook up controllers to a hand generated OM?
- From: Joseph Jones <email@hidden>
- Date: Mon, 20 Jun 2005 23:13:29 -0700
Hi all,
I am generating a Core Data model by hand and instantiating entities
in the OM based on information in a loaded file. I can't use IB to
create controllers/bindings since the OM is not known before hand. I
have the OM generated and the Graph filled out. What I need now is a
way to hook up controllers to the graph so that I can bind my UI to
the controllers and leverage all the great work there.
Here is a sample of what I am looking at:
Given this simple OM:
Foo<---->>Bar
I need to create a controller to manage the One-Many relationship. I
believe I Need an NSArrayController but I am unsure how to hook the
controller to the model so that it can managed the Foo-Bar
relationship (Adding Bars, Removing Bars, etc.).
Thanx,
joe
_______________________________________________
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