-
Notifications
You must be signed in to change notification settings - Fork 80
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
Deprecate defaultUIKitMain() in order to remove it #1585
Deprecate defaultUIKitMain() in order to remove it #1585
Conversation
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Please follow template and fix release notes format.
As a follow-up item, it's required to change documentation/tutorials/examples
fun defaultUIKitMain(executableName: String, rootViewController: UIViewController) | ||
= defaultUIKitMain(executableName) { rootViewController } | ||
|
||
fun defaultUIKitMain(executableName: String, makeRootViewController: () -> UIViewController) { |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Is it a final look of this API? Name? Package? Parameters?
Also:
- No docs for public API
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
The method marked as deprecated.
I think it's an accidental public API during transition to Beta. AFAIK, nobody but us uses it. |
@elijah-semyonov , thank for the info. I think we should deprecate it and remove from the public API. |
Currently the app crashes on a swipe back gesture, if the root controller is a
UINavigationController
.The UIApplication should be initialized before the view controller is being created.
defaultUIKitMain
should be moved to the demo app and should not be part of the public API.Release Notes
Fixes - iOS