- Updates for Swift 5.0
- Improved performance by replacing autolayout with frame-based layout
- Fixed title view jumping while scrolling content
- Updates for Swift 4.2
- Reset of
isScrollEnabled
property
- Sliding indicator animation when title jumps not animated.
shouldAnimateIndicatorOnSelection(index: Int) -> Bool
inTitleConfigurable
allows to manage animation of sliding indicator
- Do not allow multiple
shift
calls at the same time to prevent titleView freeze.
insertAction
now inserts a page before currently selected page for both vertical and horizontal samples.removeAction
now deletes current page for vertical sample as well as for horizontal.
- New example look 🎉 .
isCircular
renamed toisCarousel
.
- Select title item after
insert(object: SlideLifeCycleObjectProvidable, index: Int)
isScrollEnabled
exposed to public api as intended.currentIndex
calculation for not layouted views.
- Title item selection follow up. #35
- Title view sometimes not responding after app enters foreground.
isCircular
setting that enables infinite scroll between pages.TitleViewAlignment
enum extended withbottom
option.- Carousel sample added to example project.
- Views unloading on manual
shift(pageIndex:, animated:)
call
- Disabled animation on item selection.
- Sync LifeCycle calls with animation. #44
- Breaking Change
SlidePageModel
renamed toSlideLifeCycleObjectBuilder
. - Callback method
func indicator(position: CGFloat, size: CGFloat, animated: Bool)
in TitleScrollView to implement sliding indicator. - Sliding indicator HorizontalTitleScrollView sample.
- Transition between tabs performance.
isContentUnloadingEnabled
setting that allows disable pages unloading.
SlidePageLifeCycle
calls oninsert(object:, index:)
.SlidePageLifeCycle
calls onshift(pageIndex:, animated:)
.
- Unit tests
SlidePageLifeCycle
calls onremoveViewAtIndex(index:)
SlidePageLifeCycle
calls when appended pages to emptySlideController
- Duplicated
didStartSliding
calls
- Inappropriate lifecycle calls when
SlideController
appears. - View loading on
slideController.shift(pageIndex: Int, animated: Bool)
. - Lifecycle
didStartSliding
calls on page transition. - Layouting
SlideContentView
inchangeContentLayoutAction
when changing device orientation. - Crash calculating
currentIndex
whencontentSize
of a page is 0.
- Vertical
SlideController
implementation. - Smart transition - skipping intermediate pages.
SlideContentView
lazy loading.SlideContentView
unloading.FeatureManager
for feature toggling.ActionsView
for both vertical and horizontal example.- Device orientation support.
TitleItemObject
auto selection when it is out of the screen while sliding.- Lock
TitleView
for scrolling and selection whileSlideController's
is sliding.
- ScrollView automatically adjusted
contentInsets
.