Skip to content

Releases: ivanvorobei/SPStorkController

Dismiss action also on `UIScrollView`

19 Feb 09:33
Compare
Choose a tag to compare

Added dismiss trigger when scrollView is scrolling down. Also added swipeToDismissEnabled checking to allow scrollView bounce when swipeToDismissEnabled is disabled. Thanks @ilia3546 for pull request.

Fix gun with Table View

08 Feb 16:04
Compare
Choose a tag to compare

Fix bug, when presenting controller with table view and use SPStorkController.scrollViewDidScroll(scrollView) grade and scale use invalid format.

Fix presenting and dismissing actions

07 Feb 08:48
Compare
Choose a tag to compare

Now if controller dismissing - keyboard will hide without delay. Also for func presentAsStork added property height. For SPStorkPresentingAnimationController fix start sizes (for test).

Add `translateForDismiss`

05 Feb 06:46
Compare
Choose a tag to compare

Add parameter translateForDismiss, which customise translation for dismiss controller. Default is 240. Rename some parametrs.

Close controller by tap in indicator

04 Feb 17:42
Compare
Choose a tag to compare

If tap on indicatorView, controller will be close as in app Apple Music by Apple.

Add extension to UIViewController

03 Feb 22:34
Compare
Choose a tag to compare

Add extension to UIViewController. Property isPresentedAsStork check if currenct controller present with this pod. For simple usage add func presentAsStork - need pass controller only.

New property `indicatorColor`

01 Feb 00:19
Compare
Choose a tag to compare

Add new parameter indicatorColor for change color of arrow. For change color need set new color for SPStorkTransitioningDelegate. Fix color managment for SPStorkIndicatorView

Auto change custom height if it more maximum height

18 Jan 10:53
Compare
Choose a tag to compare

Now if set custom height more default height, it change to default height. Update example.

Hide modal after tap around

17 Dec 18:48
Compare
Choose a tag to compare
  • After tap parrent controller auto dismiss
  • Update example

Add customHeight & fix bugs

12 Dec 13:06
Compare
Choose a tag to compare
  • Fix bugs with paramtrs
  • Add paramtr customHeight for modal controller
  • Add functions for update snapshot