• Open Menu Close Menu
  • Apple
  • Shopping Bag
  • Apple
  • Mac
  • iPad
  • iPhone
  • Watch
  • TV
  • Music
  • Support
  • Search apple.com
  • Shopping Bag

Lists

Open Menu Close Menu
  • Terms and Conditions
  • Lists hosted on this site
  • Email the Postmaster
  • Tips for posting to public mailing lists
Re: NSControllerObjectProxy
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

Re: NSControllerObjectProxy


  • Subject: Re: NSControllerObjectProxy
  • From: Bob Ippolito <email@hidden>
  • Date: Wed, 18 May 2005 22:57:54 -0400


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


  • Follow-Ups:
    • Re: NSControllerObjectProxy
      • From: Jiva DeVoe <email@hidden>
References: 
 >NSControllerObjectProxy (From: Jiva DeVoe <email@hidden>)

  • Prev by Date: Calendar dates and core data
  • Next by Date: Re: NSControllerObjectProxy
  • Previous by thread: NSControllerObjectProxy
  • Next by thread: Re: NSControllerObjectProxy
  • Index(es):
    • Date
    • Thread