Drop the function.
override init?(withDictionary dict: [NSObject : AnyObject])
In addition, I would get rid of implicitly deployed options. If init can fail, make it optional. If the dictionary parameter is optional, create another convenient initialization that does not accept any parameters, but creates a default dictionary and calls this init.
source
share