• 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
Re: What is the best way to deprecate a protocol method?
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

Re: What is the best way to deprecate a protocol method?


  • Subject: Re: What is the best way to deprecate a protocol method?
  • From: Jens Alfke <email@hidden>
  • Date: Thu, 23 Mar 2017 14:55:53 -0700


On Mar 23, 2017, at 2:08 PM, Jim Adams <email@hidden> wrote:

Heck we have to check which one to call do that anyway but we want a compiler warning and not a compiler error.

I think you’re SOL then. The compiler doesn’t seem to support deprecation warnings on _implementing_ a method, only _calling_ it.

—Jens
 _______________________________________________
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

  • Follow-Ups:
    • Re: What is the best way to deprecate a protocol method?
      • From: Bernie Maier <email@hidden>
References: 
 >What is the best way to deprecate a protocol method? (From: Jim Adams <email@hidden>)
 >Re: What is the best way to deprecate a protocol method? (From: Jens Alfke <email@hidden>)
 >Re: What is the best way to deprecate a protocol method? (From: Jim Adams <email@hidden>)

  • Prev by Date: Linker warning "linking module flags 'Dwarf Version': IDs have conflicting values" ?
  • Next by Date: Re: How do I adjust a NSSplitView(Controller) pane proportions in Interface Builder?
  • Previous by thread: Re: What is the best way to deprecate a protocol method?
  • Next by thread: Re: What is the best way to deprecate a protocol method?
  • Index(es):
    • Date
    • Thread