• 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: NSCharacterSet :+ (id)newlineCharacterSet
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

Re: NSCharacterSet :+ (id)newlineCharacterSet


  • Subject: Re: NSCharacterSet :+ (id)newlineCharacterSet
  • From: Aki Inoue <email@hidden>
  • Date: Mon, 8 Sep 2008 14:12:20 -0700

The method was added to 10.5.

So, if your project is not targeting 10.5 and later, you get the warning.

Aki

On 2008/09/08, at 13:57, Filip van der Meeren wrote:

Hello,

I have the most puzzling question:

The documentation of XCode for NSCharacterSet includes the following:

newlineCharacterSet
Returns a character set containing the newline characters.

+ (id)newlineCharacterSet

Return Value
A character set containing the newline characters (U+000A–U+000D, U +0085).


Availability
Available in Mac OS X v10.5 and later.
See Also
+ whitespaceAndNewlineCharacterSet
+ whitespaceCharacterSet
Declared In
NSCharacterSet.h



But when I try to invoke this method I get the following:
warning: 'NSCharacterSet' may not respond to '+newlineCharacterSet'

And when I check the actual header file, the "+ (id) newlineCharacterSet" declaration isn't to be found...

Is this a mistake on my side or Apples?

Thanks,

Filip vdm



_______________________________________________

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

_______________________________________________

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: 
 >NSCharacterSet :+ (id)newlineCharacterSet (From: Filip van der Meeren <email@hidden>)

  • Prev by Date: NSCharacterSet :+ (id)newlineCharacterSet
  • Next by Date: Re: NSCharacterSet :+ (id)newlineCharacterSet
  • Previous by thread: NSCharacterSet :+ (id)newlineCharacterSet
  • Next by thread: Re: NSCharacterSet :+ (id)newlineCharacterSet
  • Index(es):
    • Date
    • Thread