-
-
Notifications
You must be signed in to change notification settings - Fork 498
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
-[FloatingPanel.FloatingPanelController _setContentSizeNotificationToken:]: unrecognized selector sent to instance #206
Comments
|
It's so weird. I redid the whole thing. No changes to the FloatingPanel related code. Just added a new tableview controller and it worked fine in v1.4.0. Updated it to v1.5.1 and this crash happens.
|
I just upgraded and am encountering the same issue in the same way that @Isuru-Nanayakkara described. Definitely wasn't happening on version 1.4.1 of the FloatingPanel, but now is. I don't have much evidence for this but maybe it's based on a naming change that occurred when moving to Swift 5? |
Thanks, all. I would like to fix this issue ASAP. @mergesort
|
Hey @scenee, thanks a lot!
This is the error I see after doing nothing besides upgrading my library from 1.4.1 to 1.5.0 or 1.5.1. |
Thanks for your quick response! Which Swift version do you use in v1.5.x? The diff between 1.4.1 and 1.5.0 is here, but it doesn't seem there is something bad which causes this problem.. |
@scenee Weird thing happened. This issue was occurring in my work computer. Yesterday I cloned the same source and updated the pod from my home computer and ran the app and the crash didn't happen! I'm using the same Xcode version in both computers. I pulled the changes from my work computer today and tried running the app, and the crash is occurring again 😐 |
Thanks for your report more detail! This might be related to the Podspec update on v1.5.1. v1.4.1...v1.5.1@FloatingPanel.podspec But |
I'm experiencing similar behaviors as @Isuru-Nanayakkara. I just reinstalled FloatingPanelController to try what you suggested with Swift 5, and cannot get it to crash with either Swift 4 or Swift 5 anymore. |
Thanks, @mergesort! I glad to hear that. Hi, all |
Short description
I updated from v1.4.0 to 1.5.1 and did no changes to the existing code and I get the below runtime error.
Actual behavior
App crashes at the line where I set the
contentViewController
.Steps to reproduce
Environment
Library version
1.5.1
Installation method
iOS version(s)
12.2
Xcode version
10.2.1
The text was updated successfully, but these errors were encountered: