Re: Set String methods for Flattened Relationship Attributes
Re: Set String methods for Flattened Relationship Attributes
- Subject: Re: Set String methods for Flattened Relationship Attributes
- From: Chuck Hill <email@hidden>
- Date: Wed, 19 Oct 2005 19:38:29 -0700
On Oct 19, 2005, at 7:34 PM, Lachlan Deck wrote:
public String stringFromArray(NSArray array){
NSSet aSet = new NSSet(array);
return aSet.allObjects().componentsJoinedWithString(",");
}
That'd be componentsJoinedByString...
Darn! I typed that again. One of the down sides of being too used
to code completion. Thanks for the catch!
Chuck
--
Coming in 2006 - an introduction to web applications using WebObjects
and Xcode http://www.global-village.net/wointro
Practical WebObjects - for developers who want to increase their
overall knowledge of WebObjects or who are trying to solve specific
problems. http://www.global-village.net/products/practical_webobjects
_______________________________________________
Do not post admin requests to the list. They will be ignored.
Webobjects-dev mailing list (email@hidden)
Help/Unsubscribe/Update your Subscription:
This email sent to email@hidden