Re: NSControllerObjectProxy
Re: NSControllerObjectProxy
- Subject: Re: NSControllerObjectProxy
- From: Jiva DeVoe <email@hidden>
- Date: Wed, 18 May 2005 20:22:42 -0700
Yes, that doesn't work...
I've asked on here before about this - this has been driving me crazy for months! This seems like a fundamental flaw in using bindings (or in my understanding of using them). On May 18, 2005, at 7:57 PM, Bob Ippolito wrote:
On May 18, 2005, at 9:58 PM, Jiva DeVoe wrote:
When I bind a custom view to an NSArrayController's "selection" property, the thing I get in my "observeValueForKeyPath:ofObject:change:context" method winds up being an NSControllerObjectProxy and *not* an instance of the objects that are actually in my array - therefore, I have to access all my properties on that object using valueForKey.
What I want to be able to do is access the actual methods on my object. How can I do this? Is there some way to get at the actual object from an NSControllerObjectProxy?
Have you tried:
id realObject = [foo self];
-bob
|
_______________________________________________
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