Multiple methods named 'compare:' found
Multiple methods named 'compare:' found
- Subject: Multiple methods named 'compare:' found
- From: "Gerriet M. Denkmann" <email@hidden>
- Date: Fri, 28 Mar 2014 12:40:33 +0700
I have:
id a,b;
if (something)
{
a = @(43);
b = some other NSNumber;
}
else
{
a = [ NSDate date];
b = some other NSDate;
}
if ( [ a compare: b] == NSOrderedDescending ) then ...
Xcode Version 5.1 (5B130a) warns me that "Multiple methods named 'compare:' found".
How do I switch off this warning (in this line only)?
I do not want to switch off the warning for the whole file, just for this special line.
Gerriet.
_______________________________________________
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