Re: NSCharacterSet :+ (id)newlineCharacterSet
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