title: Deprecation and other attributes of methods in Swift, how?
body: <p>In Objective-C I can do this</p>
  
  <pre><code>- (id)init __attribute__((unavailable("init is unavailable, use initWithFrame")));
  </code></pre>
  
  <p>to warn users that should not use that method for initialization of a class and I can add this other __attribute to deprecate a method</p>
  
  <pre><code>+(void)shareWithParams:(NSDictionary *)params
  __attribute((deprecated("use shareWithPars: instead"))); 
  </code></pre>
  
  <p>Is that possible to do something like that in Swift?</p>