0

I'm currently making an iOS application, using mapViews.

However, I just deleted a file that I realized I don't need (nothing important). But since I did that, I get the error

Class 'ViewController' has no initializers

And XCode offers me the answer Fix-it: Stored property 'field' without initial value prevents synthesized initializers . When I click on it, XCode crashes.

Also, the file i deleted only contained that :

extension Array {
    func contains(object:AnyObject!) -> Bool {
        if(self.isEmpty) {
            return false
        }
        let array: NSArray = self.bridgeToObjectiveC();
        return array.containsObject(object)
    }
}

So I don't think it's because of it.

Does anyone has an idea ?

1 Answers1

0

Ok Nevermind, I left work, then came back today morning: the error wasn't there anymore. Thank's XCode :p