Scenario: A cocoaPod (or any shared code/framework) has a deprecated function (in my case MD5 hash) from which I want to display a warning & solution: SHA256().
I only have access to a shared POD. I want future users to be notified that their current API (MD5) has been deprecated and hence, should use a newer API (SHA256).
How do I notify user that the following 'doOldStuff(x: Sting)' is Deprecated, an to use 'doNewStuff(x:String) instead?
I would like to display a compiler WARNING.