• 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
'method' is partial: introduced in macOS 10.8
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

'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


  • Prev by Date: Re: MPI with Xcode
  • Next by Date: Re: ViOP Background Mode
  • Previous by thread: Re: Setting Permissions from within Xcode?
  • Next by thread: FBSOpenApplicationServiceErrorDomain errors
  • Index(es):
    • Date
    • Thread