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
Crash error in Xcode8 swift3 #47
Comments
Seems like I have the same issue. Could you please tell more about "assigning dropDown as a property". I don't quite get that. |
yes, exactly the same |
by the way, if you have codes in extension via objc_setAssociatedObject, you will not be able to dropdown list ,but no crash happens |
I finally make it work. Instead of use |
Hello @leizard and @wangbourne, this is not new to Xcode 8 and Swift 3, every DropDown instance has no direct |
@leizard I tried your solution however it didn't work. I keep getting the same error. Here is my code
Can anyone help? Ty. |
Bump, same problem UPD: Tried to change 484L in DropDown.swift to Looks like it works for now |
Same issue |
I've been coding for 20 years and I just spent 4 hours struggling with your code. Either your documentation or your code sucks. |
make your dropdown instance global.It works. |
you mean public static? |
just make it global to your class. |
Make it optional then in viewDidLoad function
|
Hello, @kevin-hirsch I'm having the very same problem while flipping TableViewControllers using following method. public lazy var orderedViewControllers: [UIViewController] = { |
…c closure - fixes AssistoLab#45, fixes AssistoLab#47, fixes AssistoLab#48
Make it optional, this will work. |
Hello everyone! |
it crashes if you directly use a local variable "let dropDown = DropDown()", rather than assigning dropDown as a property. However it works in Xcode7.3.
The text was updated successfully, but these errors were encountered: