Re: description and proxy objects
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