I.

Thanks for the link, I will then see the example and try to understand these bindings better, I thought they were something similar as in WO- EOF, but its seems lot of things changed here.

I dunno what will be more difficult, if make an IB plugin or set the bindings by code, ( I guess the first one ).. so I will see hoe it goes doing it manually. :S

Cheers


Gustavo

On Oct 11, 2009, at 3:10 PM, I. Savant wrote:

On Oct 11, 2009, at 6:00 AM, Gustavo Pizano wrote:

but I can't set the Key Model and key path to something to work..

Let's forget about the drag and drop part for now and simplify the problem.

 You said earlier:

I have a window with 2 custom views, each view with their corresponding controller.

Your problem is with Bindings, not Core Data. This is, I believe, your problem. There are several things you need with a custom view (depending on level of developer convenience desired):

1 - You need to have all the proper "bindings guts" in your custom view. See the "Graphics Bindings" example (specifically, the custom view's bindings-related code) here: http://homepage.mac.com/mmalc/CocoaExamples/controllers.html

2 - You'll probably need to establish the bindings manually (in code) unless you've done #3. See - bind:toObject:withKeyPath:options: ...

3 - If you want to establish bindings conveniently in Interface Builder (ie, for an easily-reusable view), you'll need to expose the binding and make an IB plugin for your view.

As you can see, your problem is one of Bindings, not Core Data. The two technologies work well together but are quite independent. Good luck.

--
I.S.





_______________________________________________

Cocoa-dev mailing list (Cocoa-dev@lists.apple.com)

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:
http://lists.apple.com/mailman/options/cocoa-dev/archive%40mail-archive.com

This email sent to arch...@mail-archive.com

Reply via email to