title: When @objc and @nonobjc write before method and variable in swift?
body: <p>When I declare <code>static</code> parameter in extension of class then I have to write <code>@nonobjc</code> before variable like:</p>
  <pre><code>@nonobjc static let test = &quot;test&quot;
  </code></pre>
  <p>and sometimes I have to write <code>@objc</code> before method, so what is use of <code>@objc</code> and <code>@nonobjc</code> in Swift.</p>
  <p>Can anyone help me for this problem?</p>