• 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: stringByTrimmingCharactersInSet
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

Re: stringByTrimmingCharactersInSet


  • Subject: Re: stringByTrimmingCharactersInSet
  • From: Matt Gemmell <email@hidden>
  • Date: Thu, 19 Sep 2002 13:23:49 +0100

On Thursday, September 19, 2002, at 01:10 pm, Claudius Sailer wrote:

[Text stringByTrimmingCharactersInSet:whitespaceCharacterSet]

and the debugger says "WhitespaceCharacterSet undeclared (first use in this function)" Why?

I think you'd need to do it like this:

[Text stringByTrimmingCharactersInSet:[NSCharacterSet whitespaceCharacterSet]];

(And I'll leave it for Ondra to talk about variable-names beginning with uppercase characters. :)

Best,
-Matt

--
Matt Gemmell
Scotland Software
http://www.scotlandsoftware.com/
_______________________________________________
cocoa-dev mailing list | email@hidden
Help/Unsubscribe/Archives: http://www.lists.apple.com/mailman/listinfo/cocoa-dev
Do not post admin requests to the list. They will be ignored.

References: 
 >stringByTrimmingCharactersInSet (From: Claudius Sailer <email@hidden>)

  • Prev by Date: stringByTrimmingCharactersInSet
  • Next by Date: Re: stringByTrimmingCharactersInSet
  • Previous by thread: stringByTrimmingCharactersInSet
  • Next by thread: Re: stringByTrimmingCharactersInSet
  • Index(es):
    • Date
    • Thread