Commit 0c04b36f by Daniel Dahan

Fixed regression where view lifecycle functions were not being called.

parent 6b95e482
## 1.3.3
* [issue-24](https://github.com/CosmicMind/Motion/issues/24): Fixed regression where view lifecycle functions were not being called.
## 1.3.2
* Fixed unbalanced calls in Motion transitions.
......
Pod::Spec.new do |s|
s.name = 'Motion'
s.version = '1.3.2'
s.version = '1.3.3'
s.license = 'MIT'
s.summary = 'A library used to create beautiful animations and transitions for Apple devices.'
s.homepage = 'http://cosmicmind.com'
......
......@@ -15,7 +15,7 @@
<key>CFBundlePackageType</key>
<string>FMWK</string>
<key>CFBundleShortVersionString</key>
<string>1.3.2</string>
<string>1.3.3</string>
<key>CFBundleVersion</key>
<string>$(CURRENT_PROJECT_VERSION)</string>
<key>NSPrincipalClass</key>
......
......@@ -546,6 +546,9 @@ internal extension MotionTransition {
return
}
fvc.beginAppearanceTransition(false, animated: true)
tvc.beginAppearanceTransition(true, animated: true)
processForMotionDelegate(viewController: fvc) { [weak self] in
guard let `self` = self else {
return
......@@ -580,6 +583,9 @@ internal extension MotionTransition {
return
}
tvc.endAppearanceTransition()
fvc.endAppearanceTransition()
processForMotionDelegate(viewController: fvc) { [weak self] in
guard let `self` = self else {
return
......@@ -616,6 +622,9 @@ internal extension MotionTransition {
return
}
tvc.endAppearanceTransition()
fvc.endAppearanceTransition()
processForMotionDelegate(viewController: fvc) { [weak self] in
guard let `self` = self else {
return
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment