'method' is partial: introduced in macOS 10.8
'method' is partial: introduced in macOS 10.8
- Subject: 'method' is partial: introduced in macOS 10.8
- From: Rick Mann <email@hidden>
- Date: Tue, 01 Nov 2016 14:53:35 -0700
I'm trying to build some I wrote last year (actually this is code in a library I used last year), and under Xcode 8 I'm getting warnings like these:
'objectForKeyedSubscript:' is partial: introduced in macOS 10.8
'objectForKeyedSubscript:' has been explicitly marked partial here
Explicitly redeclare 'objectForKeyedSubscript:' to silence this warning
The error occurs with the subscript on names[] below:
NSMutableDictionary *names = self.categoryNames;
NSMutableOrderedSet *categories = names[cacheKey];
I'm building on 10.12 and targeting 10.11. I don't see how to explicitly redeclare it, since it's on NSMutableDictionary. Do I have to do so in an extension? I don't understand. Why is this even a warning?
--
Rick Mann
email@hidden
_______________________________________________
Do not post admin requests to the list. They will be ignored.
Xcode-users mailing list (email@hidden)
Help/Unsubscribe/Update your Subscription:
This email sent to email@hidden