declare it as an implicitly unwrapped optional
class MyClass : NSObject {
var myProperty: String!
init() {
super.init()
self.setupMyProperty()
}
func setupMyProperty() {
self.myProperty = "x"
}
}
page 499 of “The Swift Programming Language” manual