Build error when trying to override an initializer in Xcode 6.3 Beta 3
The following code shows build error in Xcode 6.3 Beta 3 . The code works in Xcode 6.2 and Xcode 6.3 Beta 2. class MyView: UIView { override init() { super.init() // Some init logic ... } override init(frame: CGRect) { super.init(frame: frame) } required init(coder aDecoder: NSCoder) { fatalError("init(coder:) has not been implemented") } } Error message initializer does not override a designated initializer from its superclass Workaround? There is a possible workaround of creating a protocol with init methods mentioned in Beta 3 release notes . I could not make it work both both init and init