Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Xcode 8.1: swift 2.3 issue with #30

Open
kennebecstars opened this issue Nov 2, 2016 · 2 comments
Open

Xcode 8.1: swift 2.3 issue with #30

kennebecstars opened this issue Nov 2, 2016 · 2 comments

Comments

@kennebecstars
Copy link

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)
@kennebecstars
Copy link
Author

pod 'KGFloatingDrawer', '~> 0.2.0'

@kennebecstars
Copy link
Author

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?

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
None yet
Development

No branches or pull requests

2 participants