• 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: Bindings to display an NSArray of NSStrings as a single NSString?
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

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


References: 
 >Bindings to display an NSArray of NSStrings as a single NSString? (From: Dustin Robert Kick <email@hidden>)

  • Prev by Date: Re: Colour of Symlink
  • Next by Date: Re: Irritating Problem with NSString Method and File Paths
  • Previous by thread: Bindings to display an NSArray of NSStrings as a single NSString?
  • Next by thread: Re: Bindings to display an NSArray of NSStrings as a single NSString?
  • Index(es):
    • Date
    • Thread