Re: NSArrayController bound to an array of strings
Re: NSArrayController bound to an array of strings
- Subject: Re: NSArrayController bound to an array of strings
- From: Andy Lee <email@hidden>
- Date: Sun, 16 Nov 2008 15:15:29 -0500
On Nov 16, 2008, at 1:45 PM, Chris Suter wrote:
The only trick I can think of is to use "string" as the model key and
then, because NSString doesn't have a "string" method, you need to add
a category method to NSString:
- (NSString *)string
{
return self;
}
I don't know bindings, but it might help to know there is aleady a -
self method that returns self.
--Andy
_______________________________________________
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