• 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: description and proxy objects
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

Re: description and proxy objects


  • Subject: Re: description and proxy objects
  • From: Omar Qazi <email@hidden>
  • Date: Thu, 26 Jun 2008 17:24:06 -0700


On Jun 26, 2008, at 4:36 PM, Torsten Curdt wrote:

I am getting the selected object from a controller (that is using bindings)

NSDictionary *accountSettings = [accountsController selection];

The returned object is a proxy object. But why isn't the [accountSettings description] passed on?
Instead of the print out of the contents of the dictionary I am now getting the description of the proxy object.


<_NSControllerObjectProxy: 0x196110>


Do this:

NSDictionary *accountSettings = [[accountsController selectedObjects]objectAtIndex:0];

Omar Qazi
Hello, Galaxy!
1.310.294.1593

Attachment: smime.p7s
Description: S/MIME cryptographic signature

_______________________________________________

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

References: 
 >description and proxy objects (From: Torsten Curdt <email@hidden>)

  • Prev by Date: Re: NSTrackingArea message lag
  • Next by Date: Re: NSArchiver question?
  • Previous by thread: description and proxy objects
  • Next by thread: Re: description and proxy objects
  • Index(es):
    • Date
    • Thread