Re: Should I be trying to use bindings for this?
Re: Should I be trying to use bindings for this?
- Subject: Re: Should I be trying to use bindings for this?
- From: "I. Savant" <email@hidden>
- Date: Wed, 3 Oct 2007 11:27:52 -0400
On 10/3/07, Paul Bruneau <email@hidden> wrote:
> I'm about to give up on bindings for a part of my user interface.
> This is a non-document-based application.
It's not a perfect fit for everything.
> But now I have found that the objects in the operationTypes instance
> variable array are not the same objects that are in my "global"
> operationTypes array as I expected them to be. They are some kind of
> copy, or created objects that must be being created by my binding.
> This is a problem for me.
Why is this a problem? Are you aware that NSArrayController passes
you a *proxy* object that represents your actual object? What are you
trying to do that requires them to be the exact same object (maybe we
can suggest a better way of getting at it)?
> Is it advisable to use bindings for this? From my readings it seems
> so, but I have spent days and days and my stomach hurts :(
I don't see what you've described as being too difficult a problem
but the part you left out is what you're doing that you need the
objects to be exactly the same (why the proxy won't do and how you're
trying to access the objects).
--
I.S.
_______________________________________________
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