title: call swift class (derived from NSObject class) init from objective c
body: <p>I have a Swift class that inherits from a NSObject-derived class written in Objective-C.</p>
  
  <pre><code>@objc class DisplayMessage : JSQMessage, BaseModel
  {
   init(var userId:String, var userName:String, var message:String, var group:Group)
      {
  //...
       }
  }
  </code></pre>
  
  <p>How can i call this init from Objective-C?</p>
  
  <p>I only see the JSQMessage (the NSObject-derived class written in obj-c) inits.. + a default init method with no parameters</p>
  
  <p><strong>UPDATE</strong></p>
  
  <p>i inserted an @objc in front of the init in swift and i get the error</p>
  
  <blockquote>
    <p>Method cannot be marked @objc because the type of the parameter 1,2,3,4 cannot be represented in objective-c</p>
  </blockquote>
  
  <p>After i saw this, i changed the String type to NSString and the Group class is already @objc; I still receive the same error</p>
  
  <p><strong>UPDATE 2</strong></p>
  
  <p>i've tried the same thing with Int initializer and i get the same error</p>
  
  <pre><code>  @objc init(var numberLol:Int)
  {
      super.init(senderId: "", senderDisplayName: "", date:nil,  text: nil)
  }
  </code></pre>