-
Notifications
You must be signed in to change notification settings - Fork 1.3k
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
Several methods in NavigationDrawerController not visible in Objective-C #1247
Comments
Hey! It has been 5 years that swift is available. I think we don't support objective c anymore in favor of new features of swift which are not available in obj c |
@OrkhanAlikhanov yes that is correct, Swift has been out for a while, but that said, there are still projects out there that need Obj-C support by design.... not necessarily by desire. If it is as simple as adding |
That's the point. I just added @objc and it solved my problem. |
@OrkhanAlikhanov I would say that going forward, our protocol will be to make what can be available easily in Obj-C ~ available.... otherwise, let's move forward with Swift. @emauro a PR that would help solve this issue so easily is greatly appreciated, rather than us chasing these methods down. |
Thanks! I already checked and posted a comment. |
Please find your fix in this release Material 3.1.5 |
Most methods in NavigationDrawerController are not visible from Objective-C. Example:
setLeftViewWidth, toogleLeftView, openLeftView, closeLeftView. Same for right counterparts. An @objc is necessary in front of all methods.
The text was updated successfully, but these errors were encountered: