Commit Graph

24 Commits

Author SHA1 Message Date
Manuel Lorenze 44a50e5f76 add TabView solution into PagerTabStripView 2023-03-10 09:21:49 -03:00
Martin Barreto 6d0ad224e7 added ability to customize swipe gesture transition animation 2023-01-30 23:21:18 -03:00
Martin Barreto e0eb172433
New library version (#106)
Version 4.0.0
2023-01-27 15:10:29 -03:00
coffmark e1009123cb
fix swiftlint warnings (#100) 2023-01-26 09:00:40 -03:00
Martin Barreto 3fe4ab2e0b
Refactor code (#90)
* Remove travis.yml file
* Clean up code
* Upgrade library version
* Now PagerStyle is a protocol and styles conform to it. Add background and indicator view closures to be able to set up any view.
* Update readme
2022-10-28 09:08:46 -03:00
coffmark 08abf94b62
Add: Custom pager animation (#88) 2022-10-10 11:26:28 -03:00
cecipirotto a5ea4aa55b
Fix swipe to back animation bug (#73)
Linter suggestion fixes.
2021-12-20 17:02:44 -03:00
An Tran d455293ee6
Add an option to enable/disable Swipe gesture (#68) 2021-12-08 18:49:55 -03:00
cecipirotto 674e0a33e0
add linter (#66)
* add linter

* update swiftlint

* update line lenght
2021-12-08 16:10:37 -03:00
Mathias Claassen 56abc2d045
Fix crash with settings.width not set (#56) 2021-10-13 13:54:04 -03:00
Martin Barreto 3fb8d2acac
added lazy h stack to optimize performance. (#42)
* added lazy h stack to optimize performance.

* Rename normal to  bar button style. So we use same naming as XLPagerTabStrip

* clean up code

* refactor code.
2021-09-08 18:09:09 -03:00
cecipirotto dd8862f4c1
adding segmented and bar style (#41)
* adding segmented and bar style

* add examples for bar and segmented style

* update deprecated message

* update style. Toolbar is still missing (no tab bar in nav bar yet).

* provide the ability to use the navbar toolbar as UIKit versions allows

* show example as list

* fix navigation style

* added missing coordinateSpace

* clean up code

* accept only positives values in selection

Co-authored-by: Martin Barreto <martin@xmartlabs.com>
2021-08-17 16:57:35 -03:00
Milena Zabaleta 85dcf09c4f rename files 2021-08-05 19:16:14 -03:00
Martin Barreto 7bacbfd820
Refactor NavBarModifier (#28)
delete .onReceive(self.dataStore.$items.throttle(for: 0.05, scheduler: DispatchQueue.main, latest: true))
2021-07-28 16:19:19 -03:00
Martin Barreto 9c68b7a67b remove unnecessary items count Biding. 2021-07-28 14:35:07 -03:00
Martin Barreto 62bf00b1d2 update translation animation values 2021-07-28 12:59:08 -03:00
Martin Barreto d7de844793 PagerTabViewStyle file added 2021-07-28 12:43:42 -03:00
Martin Barreto 7f1df180bb refactor DataStore 2021-07-28 12:12:51 -03:00
Martin Barreto 4b7b1f84fd changes according to code review 2021-07-28 10:36:06 -03:00
Martin Barreto a137f84ad0 clean up code 2021-07-27 22:44:08 -03:00
Martin Barreto d3e9e367de move custom environment key and values to PagerTabStripView.swift 2021-07-27 22:36:23 -03:00
Martin Barreto 5a047642fc Split Up settings and style.
Implement default style and modifier to customize it.
Show customization in example code.
2021-07-27 22:10:20 -03:00
Martin Barreto c0fc8e1264 accept optional Biding as Pager Parameter 2021-07-27 18:16:05 -03:00
Martin Barreto 769afe6c72 Rename Example app to Library Name
Add Biding parameter to PagerTabStripView, not Int parameter
Rename XLPageView to PagerTabStripView
Update examples to show second and third tab instead of initial tab.
Delete unused iOS.swift file
Use selection everywhere (no more selectedIndex)
rename internal setting variable to settings
2021-07-27 15:42:55 -03:00