KGFloatingDrawer
KGFloatingDrawer copied to clipboard
Xcode 8.1: swift 2.3 issue with
Hi.
This is a simple one to fix for this version of Xcode.
fatal error: init(coder:) has not been implemented: file ./Pods/KGFloatingDrawer/Pod/Classes/KGDrawerViewController.swift, line 29
required public init?(coder aDecoder: NSCoder) {
fatalError("init(coder:) has not been implemented")
}
This goes away if I simply add a call to super.init prior to the fatalError:
super.init(coder: aDecoder)
pod 'KGFloatingDrawer', '~> 0.2.0'
And as soon as I had entered this issue, I rebuilt and ended up crashing at the fatalError, again. So I removed it and all proceeded. I don't know if the init chain is still okay, but UIView surely owns the KGFloatingDrawerViewController from UIWindow instance in the @UIApplicationMain. Agree?