• 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: NSString componentsJoinedByString--strange output
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

Re: NSString componentsJoinedByString--strange output


  • Subject: Re: NSString componentsJoinedByString--strange output
  • From: Joar Wingfors <email@hidden>
  • Date: Sun, 22 Nov 2009 23:20:42 -0800

On 22 nov 2009, at 19.28, Kevin Walzer wrote:

> NSString *filestring = [files componentsJoinedByString:@"\t"];
> NSLog(@"%s", filestring);


You're not using the correct formatting character for objects. Change it to:

	NSLog(@"%@", filestring);

j o a r


_______________________________________________

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: 
 >NSString componentsJoinedByString--strange output (From: Kevin Walzer <email@hidden>)

  • Prev by Date: Re: NSString componentsJoinedByString--strange output
  • Next by Date: Problem with NSTableView in NSSplitView
  • Previous by thread: Re: NSString componentsJoinedByString--strange output
  • Next by thread: Problem with NSTableView in NSSplitView
  • Index(es):
    • Date
    • Thread