-
Notifications
You must be signed in to change notification settings - Fork 44
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
DrawerKit 0.4.1 release #52
Conversation
…rred from the existence or not of a handle configuration instance.
…w-bug-fixes # Conflicts: # DrawerKit/DrawerKit/Internal API/PresentationController+Properties.swift
@@ -343,7 +343,7 @@ | |||
GCC_WARN_UNINITIALIZED_AUTOS = YES_AGGRESSIVE; | |||
GCC_WARN_UNUSED_FUNCTION = YES; | |||
GCC_WARN_UNUSED_VARIABLE = YES; | |||
IPHONEOS_DEPLOYMENT_TARGET = 10.3; | |||
IPHONEOS_DEPLOYMENT_TARGET = 10.2; |
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 this change intentional?
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.
Yes. It makes it easier to test DrawerKit
in the simulator.
let controller = presentedVC.presentationController as! PresentationController | ||
controller.intermediate.view.addSubview(presentedVC.view) | ||
} | ||
if isPresentation { transitionContext.containerView.addSubview(presentedVC.view) } |
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.
Our normal coding style is
if condition {
do something
}
also for simple one-liners.
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.
Fixed in b5e3bd7.
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.
Happy for this to be merged once minor formatting comment has been addressed.
Reverses the fix for the issue about safe areas. The fix broke other things (even caused crashes in certain scenarios) and the issue will need to be re-opened.
Changes the minimum deployment target to 10.2.