Re: Bindings to display an NSArray of NSStrings as a single NSString?
Re: Bindings to display an NSArray of NSStrings as a single NSString?
- Subject: Re: Bindings to display an NSArray of NSStrings as a single NSString?
- From: Negm-Awad Amin <email@hidden>
- Date: Tue, 5 Aug 2008 09:55:34 +0200
Bindings are made fpr entities (not only core data entiities, but
entities). It is a *Key-Value*-Technologie. Strings have no
properties, no keys, are not entities.
Maybe you can fake it, if you add a category to the strings:
@implementation NString( MirrorAddition )
- (NSString*)reflection { return self; }
@end
using reflection as the model key path. But propably it is a design
problem.
Amin
Am Mo,04.08.2008 um 19:32 schrieb Dustin Robert Kick:
This seems like it would be common enough, to me, that it would have
bindings for it. I can't find anything, and am thinking I will
write an NSValueTransformer to do this (also thought there might be
a value transformer for this, but no). Am I missing something? I
thought that there should be either a values.@arraystring operator,
or a patternValue binding, or an NSValueTransformer to do this, but
I haven't found anything. I thought I might be able to get
something by using email@hidden, or something
similar, but that wouldn't work either.
Dustin
KC9MEL
_______________________________________________
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
Amin Negm-Awad
email@hidden
_______________________________________________
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