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 (Cocoa-dev@lists.apple.com)
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:
http://lists.apple.com/mailman/options/cocoa-dev/aki%40apple.com
This email sent to [EMAIL PROTECTED]
_______________________________________________
Cocoa-dev mailing list (Cocoa-dev@lists.apple.com)
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:
http://lists.apple.com/mailman/options/cocoa-dev/archive%40mail-archive.com
This email sent to [EMAIL PROTECTED]