I am moving from objective-c to fast, and all I am trying to do is just instantiate the class so that I can access the property in the specified class.
var myClassInstance = MyClass()
print("length is \(myClassInstance.variableOne)")
something in this regard, but I get an error Cannot invoke initializer for type 'MyClass' with no arguments
source
share