This is my LoginData Model Class:
class LoginData
{
var sessionToken : String!
init(fromJson json: JSON!)
{
if json == nil
{
return
}
sessionToken = json["Session_Token"].stringValue
}
}
I want to create instance for the class in the below class:
class Confirm
{
var modelobj = model()
// If I used to create instance I got error like this( **Missing argument for parameter 'fromJson' in call**) and how to create instance for this class
}