diff --git a/.github/workflows/build.yml b/.github/workflows/build.yml
index 5dfcc7bd..dd629e5f 100644
--- a/.github/workflows/build.yml
+++ b/.github/workflows/build.yml
@@ -2,13 +2,16 @@ name: Build
on:
push:
branches-ignore:
- - 'gh-pages'
+ - "gh-pages"
jobs:
Test:
runs-on: macOS-latest
steps:
- uses: actions/checkout@v2
+ - uses: maxim-lobanov/setup-xcode@v1
+ with:
+ xcode-version: latest-stable
- name: Prepare
run: |
bundle update --bundler
diff --git a/.github/workflows/publish.yml b/.github/workflows/publish.yml
index 5c5cd6b8..1672e849 100644
--- a/.github/workflows/publish.yml
+++ b/.github/workflows/publish.yml
@@ -2,13 +2,16 @@ name: Publish
on:
push:
tags:
- - '*'
+ - "*"
jobs:
publish_release:
runs-on: macOS-latest
steps:
- uses: actions/checkout@v2
+ - uses: maxim-lobanov/setup-xcode@v1
+ with:
+ xcode-version: latest-stable
- name: Prepare
run: |
bundle update --bundler
diff --git a/CHANGELOG.md b/CHANGELOG.md
index f5bdde68..e2e533f3 100644
--- a/CHANGELOG.md
+++ b/CHANGELOG.md
@@ -1,13 +1,20 @@
# Change Log
+
All notable changes to this project will be documented in this file.
`Pageboy` adheres to [Semantic Versioning](https://semver.org/).
+#### 5.x Releases
+
+- `5.0.x` Releases - [5.0.0](#500)
+
#### 4.x Releases
+
- `4.2.x` Releases - [4.2.0](#420)
- `4.1.x` Releases - [4.1.0](#410)
- `4.0.x` Releases - [4.0.0](#400) | [4.0.1](#401) | [4.0.2](#402)
#### 3.x Releases
+
- `3.7.x` Releases - [3.7.0](#370)
- `3.6.x` Releases - [3.6.0](#360) | [3.6.1](#361) | [3.6.2](#362)
- `3.5.x` Releases - [3.5.0](#350) | [3.5.1](#351)
@@ -18,6 +25,7 @@ All notable changes to this project will be documented in this file.
- `3.0.x` Releases - [3.0.0](#300) | [3.0.1](#301) | [3.0.2](#302) | [3.0.3](#303) | [3.0.4](#304) | [3.0.5](#305) | [3.0.6](#306) | [3.0.7](#307)
#### 2.x Releases
+
- `2.6.x` Releases - [2.6.0](#260) | [2.6.1](#261)
- `2.5.x` Releases - [2.5.0](#250) | [2.5.1](#251) | [2.5.2](#252) | [2.5.3](#253) | [2.5.4](#254)
- `2.4.x` Releases - [2.4.0](#240)
@@ -27,6 +35,7 @@ All notable changes to this project will be documented in this file.
- `2.0.x` Releases - [2.0.0](#200) | [2.0.1](#201) | [2.0.2](#202) | [2.0.3](#203) | [2.0.4](#204)
#### 1.x Releases
+
- `1.4.x` Releases - [1.4.0](#140) | [1.4.1](#141)
- `1.3.x` Releases - [1.3.0](#130) | [1.3.1](#131) | [1.3.2](#132) | [1.3.3](#133)
- `1.2.x` Releases - [1.2.0](#120) | [1.2.1](#121)
@@ -34,686 +43,889 @@ All notable changes to this project will be documented in this file.
- `1.0.x` Releases - [1.0.0](#100) | [1.0.1](#101) | [1.0.2](#102) | [1.0.3](#103) | [1.0.4](#104) | [1.0.5](#105) | [1.0.6](#106) | [1.0.7](#107) | [1.0.8](#108) | [1.0.9](#109)
#### 0.x Releases
+
- `0.4.x` Releases - [0.4.0](#040) | [0.4.1](#041) | [0.4.2](#042) | [0.4.3](#043) | [0.4.4](#044) | [0.4.5](#045) | [0.4.6](#046) | [0.4.7](#047) | [0.4.8](#048) | [0.4.9](#049) | [0.4.10](#0410) | [0.4.11](#0411) | [0.4.12](#0412)
---
+
+## [5.0.0](https://github.com/uias/Pageboy/releases/tag/5.0.0)
+
+Released on 2024-09-XX
+
+#### Added
+
+- Support for Strict Concurrency with Swift 6.
+- Pageboy now requires iOS 14 / tvOS 14 or greater.
+
+#### Updated
+
+- Removed `UIViewController.parentPageboy`.
+
+---
+
## [4.2.0](https://github.com/uias/Pageboy/releases/tag/4.2.0)
+
Released on 2024-04-14
#### Updated
+
- Downgraded SPM Swift requirement to Swift 5.7 (Xcode 14).
---
## [4.1.0](https://github.com/uias/Pageboy/releases/tag/4.1.0)
+
Released on 2024-04-06
#### Added
+
- Support for `isDirectionalLockEnabled` to `PageboyViewController`.
- - by [jiro33](https://github.com/jiro33)
+ - by [jiro33](https://github.com/jiro33)
- Support for Xcode 15.
- Support for Privacy Manifests.
#### Updated
+
- Pageboy now requires iOS 12 or tvOS 12.
---
+
## [4.0.2](https://github.com/uias/Pageboy/releases/tag/4.0.2)
+
Released on 2022-11-08
#### Updated
+
- Improved locking logic for ignoring duplicate `setViewController()` attempts.
#### Fixed
+
- Issue where setting view controllers could fail to report `completion`.
## [4.0.1](https://github.com/uias/Pageboy/releases/tag/4.0.1)
+
Released on 2022-11-03
#### Fixed
+
- Issue where `UIPageViewController` could crash during fast sequential transitions.
- - by [BasBuijsen](https://github.com/BasBuijsen)
+ - by [BasBuijsen](https://github.com/BasBuijsen)
## [4.0.0](https://github.com/uias/Pageboy/releases/tag/4.0.0)
+
Released on 2022-11-02
#### Added
+
- Support for Xcode 14
#### Updated
+
- Pageboy now requires iOS 11 or tvOS 11.
---
+
## [3.7.0](https://github.com/uias/Pageboy/releases/tag/3.7.0)
+
Released on 2022-08-20
#### Updated
+
- Protocols now conform to `AnyObject` instead of `class`.
- - by [irskep](https://github.com/irskep)
+ - by [irskep](https://github.com/irskep)
---
+
## [3.6.2](https://github.com/uias/Pageboy/releases/tag/3.6.2)
+
Released on 2020-10-11
#### Fixed
+
- Issue where page positional detection would fail on tvOS.
## [3.6.1](https://github.com/uias/Pageboy/releases/tag/3.6.1)
+
Released on 2020-05-22
#### Fixed
+
- Scroll issue with a single view controller data source when `isInfiniteScrollEnabled = true`.
- - by [dev-yong](https://github.com/dev-yong)
+ - by [dev-yong](https://github.com/dev-yong)
## [3.6.0](https://github.com/uias/Pageboy/releases/tag/3.6.0)
+
Released on 2020-05-04
#### Updated
+
- Dropped support for legacy Swift (4.x) versions.
#### Fixed
+
- [#211](https://github.com/uias/Pageboy/issues/211) Issue where inserting a page at the current index could display the incorrect page.
- Issue where deleting a page on an upper index could cause index corruption.
- Issue where scroll interaction during updates could cause index corruption.
---
+
## [3.5.1](https://github.com/uias/Pageboy/releases/tag/3.5.1)
+
Released on 2020-03-15
#### Fixed
+
- Mixed language errors caused by `Pageboy.h` header in Swift PM.
- - by [ricobeck](https://github.com/ricobeck)
+ - by [ricobeck](https://github.com/ricobeck)
## [3.5.0](https://github.com/uias/Pageboy/releases/tag/3.5.0)
+
Released on 2019-10-06
#### Added
+
- [#230](https://github.com/uias/Pageboy/pull/230) `didCancelScrollToPage` function to `PageboyViewControllerDelegate` for detecting page transitions that were cancelled.
- - by [ChristianSteffens](https://github.com/ChristianSteffens)
+ - by [ChristianSteffens](https://github.com/ChristianSteffens)
#### Fixed
+
- [#227](https://github.com/uias/Pageboy/pull/227) `UIPageViewController` bug that causes the page view controller to display the wrong page ([see here](https://stackoverflow.com/questions/12939280/uipageviewcontroller-navigates-to-wrong-page-with-scroll-transition-style)).
- - by [ahmedk92](https://github.com/ahmedk92)
+ - by [ahmedk92](https://github.com/ahmedk92)
---
+
## [3.4.0](https://github.com/uias/Pageboy/releases/tag/3.4.0)
+
Released on 2019-08-25
#### Updated
+
- Add support for Swift Package Manager in Xcode 11.
---
+
## [3.3.0](https://github.com/uias/Pageboy/releases/tag/3.3.0)
+
Released on 2019-08-05
#### Added
+
- [#223](https://github.com/uias/Pageboy/pull/223) `minimumNumberOfTouches` to `PageboyViewController`.
- - by [ChristianSteffens](https://github.com/ChristianSteffens)
+ - by [ChristianSteffens](https://github.com/ChristianSteffens)
- [#223](https://github.com/uias/Pageboy/pull/223) `maximumNumberOfTouches` to `PageboyViewController`.
- - by [ChristianSteffens](https://github.com/ChristianSteffens)
+ - by [ChristianSteffens](https://github.com/ChristianSteffens)
#### Fixed
+
- Issues with building on tvOS.
- Broken imports when building with Carthage.
---
+
## [3.2.3](https://github.com/uias/Pageboy/releases/tag/3.2.3)
+
Released on 2019-06-10
#### Updated
+
- Added support for multiple Swift versions to podspec.
## [3.2.2](https://github.com/uias/Pageboy/releases/tag/3.2.2)
+
Released on 2019-05-04
#### Fixed
+
- [#209](https://github.com/uias/Pageboy/issues/209) Issue where pages could not be added when no pages exist.
- [#208](https://github.com/uias/Pageboy/issues/208) Issue where the last page could not be deleted.
## [3.2.1](https://github.com/uias/Pageboy/releases/tag/3.2.1)
+
Released on 2019-04-24
#### Fixed
+
- Warnings related to Objective-C enums.
- - by [Coeur](https://github.com/Coeur)
+ - by [Coeur](https://github.com/Coeur)
- SwiftLint warnings.
- - by [Coeur](https://github.com/Coeur)
+ - by [Coeur](https://github.com/Coeur)
- Incorrect Swift version in Podspec, now `4.0`.
## [3.2.0](https://github.com/uias/Pageboy/releases/tag/3.2.0)
+
Released on 2019-03-26
#### Added
+
- Swift 5 support.
- Xcode 10.2 support.
---
+
## [3.1.0](https://github.com/uias/Pageboy/releases/tag/3.1.0)
+
Released on 2019-03-08
#### Added
+
- `pageboyParent` to `UIViewController` to get the parent `PageboyViewController` if it exists.
- `pageboyPageIndex` to `UIViewController` to get the current index of a view controller if embedded within a `PageboyViewController`.
#### Updated
+
- Deprecated `parentPageboy` on `UIViewController`.
---
+
## [3.0.7](https://github.com/uias/Pageboy/releases/tag/3.0.7)
+
Released on 2019-03-03
#### Fixed
+
- [#202](https://github.com/uias/Pageboy/issues/202) Issue where page index map could crash with invalid keys (Relates to [#198](https://github.com/uias/Pageboy/issues/198)).
## [3.0.6](https://github.com/uias/Pageboy/releases/tag/3.0.6)
+
Released on 2019-03-03
#### Fixed
+
- [#198](https://github.com/uias/Pageboy/issues/198) Memory issue where view controllers would always be retained.
## [3.0.5](https://github.com/uias/Pageboy/releases/tag/3.0.5)
+
Released on 2019-02-22
#### Updated
+
- [#196](https://github.com/uias/Pageboy/pull/196) Improved extension access controls.
- - by [Coeur](https://github.com/Coeur)
+ - by [Coeur](https://github.com/Coeur)
## [3.0.4](https://github.com/uias/Pageboy/releases/tag/3.0.4)
+
Released on 2019-02-17
#### Fixed
+
- [#195](https://github.com/uias/Pageboy/pull/195) Ensure view controller update work is performed synchronously on the main thread.
- - by [remirobert](https://github.com/remirobert)
+ - by [remirobert](https://github.com/remirobert)
## [3.0.3](https://github.com/uias/Pageboy/releases/tag/3.0.3)
+
Released on 2019-02-13
#### Updated
+
- [#194](https://github.com/uias/Pageboy/pull/194) Improve threading logic.
- - by [remirobert](https://github.com/remirobert)
+ - by [remirobert](https://github.com/remirobert)
## [3.0.2](https://github.com/uias/Pageboy/releases/tag/3.0.2)
+
Released on 2019-02-10
#### Fixed
+
- [#192](https://github.com/uias/Pageboy/pull/192) Thread safety improvements to resolve `UIPageViewController` crashes.
- - by [RamblinWreck77](https://github.com/RamblinWreck77).
+ - by [RamblinWreck77](https://github.com/RamblinWreck77).
## [3.0.1](https://github.com/uias/Pageboy/releases/tag/3.0.1)
+
Released on 2018-12-01
#### Fixed
+
- [#187](https://github.com/uias/Pageboy/issues/187) Issue where using `unowned self` could cause memory crashes.
- [#176](https://github.com/uias/Pageboy/issues/176) Issue where checking UI layout direction could cause threading issues.
## [3.0.0](https://github.com/uias/Pageboy/releases/tag/3.0.0)
+
Released on 2018-11-13
#### Added
+
- Support for dynamically inserting a new page via `insertPage(at: PageIndex)`.
- Support for dynamically deleting an existing page via `deletePage(at: PageIndex)`.
- Improved support for Swift 4 and 4.2.
#### Updated
+
- Status bar style update animation when changing pages now lasts 0.25 seconds.
- Improved Example app with support for in-app Settings.
- Auto-Scrolling will now automatically resume/pause with `viewDidAppear`/`viewWillDisappear` lifecycle events.
#### Fixed
+
- Numerous memory leaks and performance problems.
---
## [2.6.1](https://github.com/uias/Pageboy/releases/tag/2.6.1)
+
Released on 2018-10-01
#### Fixed
+
- [#175](https://github.com/uias/Pageboy/pull/175) Issue where `expectedTransitionIndex` could be incorrect when cancelling scroll events.
- - by [mlarandeau](https://github.com/mlarandeau).
+ - by [mlarandeau](https://github.com/mlarandeau).
## [2.6.0](https://github.com/uias/Pageboy/releases/tag/2.6.0)
+
Released on 2018-09-16
#### Updated
+
- Migrated to use Swift 4.2.
---
## [2.5.4](https://github.com/uias/Pageboy/releases/tag/2.5.4)
+
Released on 2018-07-19
#### Fixed
+
- [#166](https://github.com/uias/Pageboy/issues/166) Issue where view controllers would fail to update correctly when transitions were interrupted.
- - by [msaps](https://github.com/msaps).
+ - by [msaps](https://github.com/msaps).
## [2.5.3](https://github.com/uias/Pageboy/releases/tag/2.5.3)
+
Released on 2018-07-18
#### Fixed
+
- [#166](https://github.com/uias/Pageboy/issues/166) Interaction and state issues when transitions were interrupted.
- - by [msaps](https://github.com/msaps).
+ - by [msaps](https://github.com/msaps).
## [2.5.2](https://github.com/uias/Pageboy/releases/tag/2.5.2)
+
Released on 2018-06-28
#### Fixed
+
- [#165](https://github.com/uias/Pageboy/pull/165) Animated transition issues when using a Right-to-left language.
- - by [msaps](https://github.com/msaps).
+ - by [msaps](https://github.com/msaps).
## [2.5.1](https://github.com/uias/Pageboy/releases/tag/2.5.1)
+
Released on 2018-04-23
#### Fixed
+
- [#159](https://github.com/uias/Pageboy/issues/159) Current Index is negative when infinite scroll is enabled and scrolling between ranges.
- - by [msaps](https://github.com/msaps).
-
+ - by [msaps](https://github.com/msaps).
+
## [2.5.0](https://github.com/uias/Pageboy/releases/tag/2.5.0)
+
Released on 2018-04-05
#### Updated
+
- `parentPageboyViewController` has been renamed to `parentPageboy`.
- - by [msaps](https://github.com/msaps).
+ - by [msaps](https://github.com/msaps).
#### Fixed
+
- [#157](https://github.com/uias/Pageboy/issues/157) Fix scroll detection edge case when decelerating on page index.
- - by [msaps](https://github.com/msaps).
+ - by [msaps](https://github.com/msaps).
---
## [2.4.0](https://github.com/uias/Pageboy/releases/tag/2.4.0)
+
Released on 2018-02-23
#### Updated
+
- [#136](https://github.com/uias/Pageboy/issues/136) Add support for default `UIPageViewController` animated transition.
- - by [msaps](https://github.com/msaps).
+ - by [msaps](https://github.com/msaps).
- [#136](https://github.com/uias/Pageboy/issues/136) Obseleted `default` `Transition`.
- - by [msaps](https://github.com/msaps).
+ - by [msaps](https://github.com/msaps).
- Mark `showsPageControl` as unavailable rather than deprecated.
- - by [msaps](https://github.com/msaps).
+ - by [msaps](https://github.com/msaps).
----
+---
## [2.3.4](https://github.com/uias/Pageboy/releases/tag/2.3.4)
+
Released on 2018-02-12
#### Fixed
+
- [#140](https://github.com/uias/Pageboy/issues/140) Potential crash when scrolling through pages with high velocity.
- - by [msaps](https://github.com/msaps).
+ - by [msaps](https://github.com/msaps).
## [2.3.3](https://github.com/uias/Pageboy/releases/tag/2.3.3)
+
Released on 2018-01-30
#### Fixed
+
- Build issues when trying to integrate with Carthage.
- - by [msaps](https://github.com/msaps).
+ - by [msaps](https://github.com/msaps).
## [2.3.2](https://github.com/uias/Pageboy/releases/tag/2.3.2)
+
Released on 2018-01-23
#### Updated
+
- Refactored and cleaned up internally for some much needed housekeeping.
- - by [msaps](https://github.com/msaps).
+ - by [msaps](https://github.com/msaps).
## [2.3.1](https://github.com/uias/Pageboy/releases/tag/2.3.1)
+
Released on 2018-01-06
#### Fixed
--[#133](https://github.com/uias/Pageboy/pull/133) Potential memory issues with UIApplication extension.
- - by [msaps](https://github.com/msaps).
+
+-[#133](https://github.com/uias/Pageboy/pull/133) Potential memory issues with UIApplication extension. - by [msaps](https://github.com/msaps).
## [2.3.0](https://github.com/uias/Pageboy/releases/tag/2.3.0)
+
Released on 2018-01-05
#### Updated
+
- [#131](https://github.com/uias/Pageboy/issues/131) Make Pageboy safe to use in extensions.
- - by [msaps](https://github.com/msaps).
+ - by [msaps](https://github.com/msaps).
---
## [2.2.0](https://github.com/uias/Pageboy/releases/tag/2.2.0)
+
Released on 2017-12-20
#### Updated
+
- [#121](https://github.com/uias/Pageboy/issues/121) Update minimum deployment target to iOS 9.
- - by [msaps](https://github.com/msaps).
+ - by [msaps](https://github.com/msaps).
- [#129](https://github.com/uias/Pageboy/issues/129) Disable `showsPageControl` temporarily (Due to iOS 11.2 issue).
- - by [msaps](https://github.com/msaps).
+ - by [msaps](https://github.com/msaps).
---
## [2.1.0](https://github.com/uias/Pageboy/releases/tag/2.1.0)
+
Released on 2017-11-24
#### Added
+
- [#116](https://github.com/uias/Pageboy/issues/116) Support for built-in `UIPageViewController` page control.
- - by [msaps](https://github.com/msaps).
+ - by [msaps](https://github.com/msaps).
- [#116](https://github.com/uias/Pageboy/issues/116) `showsPageControl` to `PageboyViewController`.
- - by [msaps](https://github.com/msaps).
+ - by [msaps](https://github.com/msaps).
---
## [2.0.4](https://github.com/uias/Pageboy/releases/tag/2.0.4)
+
Released on 2017-11-11
#### Fixed
+
- [#118](https://github.com/uias/Pageboy/issues/118) Setting data source in initializer breaks `updateViewControllers`.
- - by [msaps](https://github.com/msaps).
+ - by [msaps](https://github.com/msaps).
## [2.0.3](https://github.com/uias/Pageboy/releases/tag/2.0.3)
+
Released on 2017-11-09
#### Fixed
+
- [#113](https://github.com/uias/Pageboy/issues/113) When swiping too fast PageboyViewController crashes app.
- - by [msaps](https://github.com/msaps).
+ - by [msaps](https://github.com/msaps).
- [#114](https://github.com/uias/Pageboy/issues/114) Custom preferredStatusBarStyle does not work.
- - by [msaps](https://github.com/msaps).
+ - by [msaps](https://github.com/msaps).
## [2.0.2](https://github.com/uias/Pageboy/releases/tag/2.0.2)
+
Released on 2017-10-23
#### Fixed
+
- [#109](https://github.com/uias/Pageboy/issues/109) Improved blocking logic for animated scroll transitions during other operations.
- - by [msaps](https://github.com/msaps).
+ - by [msaps](https://github.com/msaps).
## [2.0.1](https://github.com/uias/Pageboy/releases/tag/2.0.1)
+
Released on 2017-10-22
#### Fixed
+
- [#109](https://github.com/uias/Pageboy/issues/109) UIPageViewController crash with intense scrolling input.
- - by [msaps](https://github.com/msaps).
+ - by [msaps](https://github.com/msaps).
## [2.0.0](https://github.com/uias/Pageboy/releases/tag/2.0.0)
+
Released on 2017-09-13
#### Added
+
- [#80](https://github.com/uias/Pageboy/issues/80) Swift 4 support.
- - by [msaps](https://github.com/msaps).
+ - by [msaps](https://github.com/msaps).
- [#81](https://github.com/uias/Pageboy/issues/81) Support for Xcode 9 and iOS 11.
- - by [msaps](https://github.com/msaps).
+ - by [msaps](https://github.com/msaps).
- [#92](https://github.com/uias/Pageboy/issues/92) tvOS support.
- - by [msaps](https://github.com/msaps).
+ - by [msaps](https://github.com/msaps).
#### Updated
+
- [#88](https://github.com/uias/Pageboy/issues/88) Completely redesign `PageboyViewControllerDataSource` to support improved view controller reuse.
- - by [msaps](https://github.com/msaps).
+ - by [msaps](https://github.com/msaps).
- [#78](https://github.com/uias/Pageboy/issues/78) Update `PageboyViewControllerDataSource` to support the latest recommended code syntax style.
- - by [msaps](https://github.com/msaps).
+ - by [msaps](https://github.com/msaps).
- Update `PageboyViewControllerDelegate` to support the latest changes to `PageboyViewControllerDataSource `.
- - by [msaps](https://github.com/msaps).
+ - by [msaps](https://github.com/msaps).
---
## [1.4.1](https://github.com/uias/Pageboy/releases/tag/1.4.1)
+
Released on 2017-08-14
#### Fixed
-- [#99](https://github.com/uias/Pageboy/issues/99) Issues with guarding publicly visible delegates.
- - Added guard statements to `UIScrollViewDelegate` and `UIPageViewControllerDelegate` functions to prevent external injection.
- - Fixed by [msaps](https://github.com/msaps).
+- [#99](https://github.com/uias/Pageboy/issues/99) Issues with guarding publicly visible delegates.
+ - Added guard statements to `UIScrollViewDelegate` and `UIPageViewControllerDelegate` functions to prevent external injection.
+ - Fixed by [msaps](https://github.com/msaps).
## [1.4.0](https://github.com/uias/Pageboy/releases/tag/1.4.0)
+
Released on 2017-07-25
#### Added
+
- [#90](https://github.com/uias/Pageboy/issues/90) Support for `UIPageViewController` initialization options.
- - Added `interPageSpacing` property to `PageboyViewController`.
- - Added by [msaps](https://github.com/msaps).
+ - Added `interPageSpacing` property to `PageboyViewController`.
+ - Added by [msaps](https://github.com/msaps).
---
## [1.3.3](https://github.com/uias/Pageboy/releases/tag/1.3.3)
+
Released on 2017-06-29
#### Fixed
-- [#86](https://github.com/uias/Pageboy/pull/86) Fix issue where constraints were inadvertantly not added to the internal page view controller.
- - Fixed by [muukii](https://github.com/muukii).
+
+- [#86](https://github.com/uias/Pageboy/pull/86) Fix issue where constraints were inadvertantly not added to the internal page view controller.
+ - Fixed by [muukii](https://github.com/muukii).
## [1.3.2](https://github.com/uias/Pageboy/releases/tag/1.3.2)
+
Released on 2017-06-25
#### Updated
+
- Renamed utility extensions.
#### Fixed
+
- [#83](https://github.com/uias/Pageboy/issues/83) Fixed memory issue with custom transitioning support.
- - Fixed by [farshadmb](https://github.com/farshadmb).
+ - Fixed by [farshadmb](https://github.com/farshadmb).
- [#85](https://github.com/uias/Pageboy/pull/85) Fixed issue with animated transition positional updates.
- - Transitions with index ranges greater than 1 will now provide positions through the entire range.
+ - Transitions with index ranges greater than 1 will now provide positions through the entire range.
## [1.3.1](https://github.com/uias/Pageboy/releases/tag/1.3.1)
+
Released on 2017-06-24.
#### Fixed
+
- [#79](https://github.com/uias/Pageboy/issues/79) Add support for Right-to-Left language localisation to iOS 8.
## [1.3.0](https://github.com/uias/Pageboy/releases/tag/1.3.0)
+
Released on 2017-06-23.
#### Added
+
- [#75](https://github.com/uias/Pageboy/issues/75) Support for iOS 8.
- - Project deployment target is now `8.0`.
- - Added by [farshadmb](https://github.com/farshadmb) & [msaps](https://github.com/msaps).
+ - Project deployment target is now `8.0`.
+ - Added by [farshadmb](https://github.com/farshadmb) & [msaps](https://github.com/msaps).
---
## [1.2.1](https://github.com/uias/Pageboy/releases/tag/1.2.1)
+
Released on 2017-06-19.
#### Updated
+
- The internal `UIPageViewController` is now inserted at the back of all subviews in the `UIViewController`.
- - The Z-Index will persist when changing `navigationOrientation` and other destructive updates.
+ - The Z-Index will persist when changing `navigationOrientation` and other destructive updates.
## [1.2.0](https://github.com/uias/Pageboy/releases/tag/1.2.0)
+
Released on 2017-06-18.
#### Added
+
- [#67](https://github.com/uias/Pageboy/issues/67) Improved support for Right-To-Left languages to `PageboyViewController`.
- `parentPageboyViewController` property to `UIViewController` to provide access to parent `PageboyViewController` from child view controllers within the page view controller.
- [#70](https://github.com/uias/Pageboy/issues/70) Success result to `scrollToPage()` function in `PageboyViewController`.
- - Returns whether the scroll was able to be successfully executed.
+ - Returns whether the scroll was able to be successfully executed.
#### Fixed
+
- [#71](https://github.com/uias/Pageboy/pull/71) A potential error during layout with scroll positional updates.
- - By AlexZd.
+ - By AlexZd.
---
## [1.1.2](https://github.com/uias/Pageboy/releases/tag/1.1.2)
+
Released on 2017-06-18.
#### Fixed
+
- Fixed issue with animated transitions when using `.vertical` `navigationOrientation`.
- Add support for `.vertical` `navigationOrientation` to example app.
- - By Charles Molyneux.
+ - By Charles Molyneux.
## [1.1.1](https://github.com/uias/Pageboy/releases/tag/1.1.1)
+
Released on 2017-06-12.
#### Updated
+
- Updated project to use Swift 3.2 and compatibility with Xcode 9
#### Fixed
+
- Fixed issue where it would be possible to cause an error by setting properties on `PageboyViewController` before the internal `UIPageViewController` was initialised.
- Fixed issue where changing `navigationOrientation` would cause properties on `PageboyViewController` to not persist.
## [1.1.0](https://github.com/uias/Pageboy/releases/tag/1.1.0)
+
Released on 2017-06-07.
-#### Added
+#### Added
+
- [#57](https://github.com/uias/Pageboy/issues/57) Added support for custom scroll transitions to `PageboyViewController`.
- - Available via the `.transition` (`PageboyViewController.Transition`) property.
+ - Available via the `.transition` (`PageboyViewController.Transition`) property.
#### Fixed
+
- [#61](https://github.com/uias/Pageboy/issues/61) Fixed AutoLayout issue with internal `UIPageViewController` when in-call status bar is visible.
---
## [1.0.9](https://github.com/uias/Pageboy/releases/tag/1.0.9)
+
Released on 2017-05-29.
-#### Added
+#### Added
+
- Added `delaysContentTouches` property to `PageboyViewController`.
#### Updated
+
- Minor improvements to example project.
- Minor refactoring to `PageboyViewController` extensions.
## [1.0.8](https://github.com/uias/Pageboy/releases/tag/1.0.8)
+
Released on 2017-05-17.
#### Updated
+
- Refactored and restructured internal extensions of `PageboyViewController`.
- A fresh coat of paint.
#### Fixed
+
- Fixed a few UI issues with example project.
## [1.0.7](https://github.com/uias/Pageboy/releases/tag/1.0.7)
+
Released on 2017-05-07.
#### Added
+
- `isTracking` property to `PageboyViewController`.
- Default stub protocol implementations for `PageboyViewControllerDelegate`.
#### Updated
+
- Updated scroll management to use `isTracking` for interaction detection.
## [1.0.6](https://github.com/uias/Pageboy/releases/tag/1.0.6)
+
Released on 2017-04-26.
#### Updated
+
- Moved internal `UIPageViewController` initialisation to `viewDidLoad` from `loadView`.
## [1.0.5](https://github.com/uias/Pageboy/releases/tag/1.0.5)
+
Released on 2017-04-22.
#### Fixed
+
- [#44](https://github.com/uias/Pageboy/issues/44) Fix incorrect `scrollToPage` function behaviour when at the end of page ranges with infinite scrolling enabled.
- - `.next` used an incorrect animation when scrolling from the upper range to the lower range.
- - `.previous` failed to scroll to a page when scrolling from the lower range to the upper range.
+ - `.next` used an incorrect animation when scrolling from the upper range to the lower range.
+ - `.previous` failed to scroll to a page when scrolling from the lower range to the upper range.
## [1.0.4](https://github.com/uias/Pageboy/releases/tag/1.0.4)
+
Released on 2017-04-19.
#### Added
+
- Added `didReload` function to `PageboyViewControllerDelegate` for updating when the `PageboyViewController` successfully reloads its child view controllers.
## [1.0.3](https://github.com/uias/Pageboy/releases/tag/1.0.3)
+
Released on 2017-04-16.
#### Updated
+
- [#42](https://github.com/uias/Pageboy/issues/42) Rename `atIndex(index: Int)` to `at(index: Int)` in `PageboyViewController.PageIndex`.
- - Deprecated `atIndex(index: Int)`.
+ - Deprecated `atIndex(index: Int)`.
## [1.0.2](https://github.com/uias/Pageboy/releases/tag/1.0.2)
+
Released on 2017-04-11.
#### Fixed
+
- Added support for `preferredStatusBarStyle` in child view controllers.
- Added support for `prefersStatusBarHidden` in child view controllers.
- Added animation for transition of status bar appearance on page change.
- Added missing `addChildViewController` call for internal `UIPageViewController`.
## [1.0.1](https://github.com/uias/Pageboy/releases/tag/1.0.1)
+
Released on 2017-04-05.
#### Fixed
+
- [#34](https://github.com/uias/Pageboy/issues/34) Fixed issue in `PageboyAutoScroller` where `.handler` would not be released correctly.
## [1.0.0](https://github.com/uias/Pageboy/releases/tag/1.0.0)
+
Released on 2017-03-28.
#### Updated
+
- Just a quick version bump to 1.0.0.
---
## [0.4.12](https://github.com/uias/Pageboy/releases/tag/0.4.12)
+
Released on 2017-03-22.
#### Added
+
- Improved test coverage for all components of `Pageboy`.
#### Updated
+
- `isEnabled` is now a public property of `PageboyAutoScroller`.
## [0.4.11](https://github.com/uias/Pageboy/releases/tag/0.4.11)
+
Released on 2017-03-13.
#### Added
+
- Added `bounces` property to enable/disable whether the page view controller should bounce at the end of page ranges. [#20](https://github.com/uias/Pageboy/issues/20)
## [0.4.10](https://github.com/uias/Pageboy/releases/tag/0.4.10)
-Released on 2017-03-11.
+
+Released on 2017-03-11.
#### Fixed
+
- Fixed issue where scrolling aggressively, causing post-boundary deceleration would cause an incorrect `currentIndex` temporarily.
## [0.4.9](https://github.com/uias/Pageboy/releases/tag/0.4.9)
-Released on 2017-03-08.
+
+Released on 2017-03-08.
#### Added
+
- `PageboyAutoScroller` which provides time-based auto scrolling behaviour to `PageboyViewController`. Available via the `autoScroller` property.
## [0.4.8](https://github.com/uias/Pageboy/releases/tag/0.4.8)
+
Released on 2017-03-01.
#### Fixed
+
- Fixed issue where infinite scroll would not provide scroll updates correctly.
-- Fixed issue with setting `isInfiniteScrollEnabled` not updating page view controller state correctly.
+- Fixed issue with setting `isInfiniteScrollEnabled` not updating page view controller state correctly.
## [0.4.7](https://github.com/uias/Pageboy/releases/tag/0.4.7)
+
Released on 2017-02-28.
#### Fixed
+
- Fixed issue where updates for scrolling outside of the page view controller `contentSize` would not be correctly reported.
## [0.4.6](https://github.com/uias/Pageboy/releases/tag/0.4.6)
+
Released on 2017-02-27.
#### Updated
+
- Ensured that `dataSource` for `PageboyViewController` is weakly referenced.
- Ensured that `delegate` for `PageboyViewController` is weakly referenced.
## [0.4.5](https://github.com/uias/Pageboy/releases/tag/0.4.5)
+
Released on 2017-02-27.
#### Fixed
+
- Issue where `animated` parameter on `willScrollToPageAtIndex` would sometimes be incorrect.
- Issue where duplicate positional updates would call `didScrollToPosition` multiple times.
## [0.4.4](https://github.com/uias/Pageboy/releases/tag/0.4.4)
+
Released on 2017-02-24.
#### Updated
+
- Improved positional reporting when traversing over multiple pages during a scroll operation.
## [0.4.3](https://github.com/uias/Pageboy/releases/tag/0.4.3)
+
Released on 2017-02-23.
#### Updated
+
- Added `animated` parameter to `willScrollToPageAtIndex`.
- Added `animated` parameter to `didScrollToPosition`.
- Added `animated` parameter to `didScrollToPageAtIndex`.
#### Fixed
-- Fixed issues with `currentIndex` sync.
+
+- Fixed issues with `currentIndex` sync.
## [0.4.2](https://github.com/uias/Pageboy/releases/tag/0.4.2)
+
Released on 2017-02-22.
#### Fixed
+
- Issue where `currentPosition` would not stay in sync with `currentIndex` in certain situations.
- Issue where example app would not support custom default indexes correctly.
## [0.4.1](https://github.com/uias/Pageboy/releases/tag/0.4.1)
+
Released on 2017-02-17.
#### Added
+
- Swift Package Manager compatibility.
## [0.4.0](https://github.com/uias/Pageboy/releases/tag/0.4.0)
+
Released on 2017-02-17.
**Pageboy** initial release - A simple, highly informative page view controller.
diff --git a/Gemfile.lock b/Gemfile.lock
index bb76baca..a5ef9730 100644
--- a/Gemfile.lock
+++ b/Gemfile.lock
@@ -1,12 +1,11 @@
GEM
remote: https://rubygems.org/
specs:
- CFPropertyList (3.0.7)
- base64
- nkf
- rexml
- activesupport (7.2.1)
+ CFPropertyList (3.0.8)
+ abbrev (0.1.2)
+ activesupport (7.2.3)
base64
+ benchmark (>= 0.3)
bigdecimal
concurrent-ruby (~> 1.0, >= 1.3.1)
connection_pool (>= 2.2.5)
@@ -16,41 +15,45 @@ GEM
minitest (>= 5.1)
securerandom (>= 0.3)
tzinfo (~> 2.0, >= 2.0.5)
- addressable (2.8.7)
- public_suffix (>= 2.0.2, < 7.0)
+ addressable (2.8.8)
+ public_suffix (>= 2.0.2, < 8.0)
algoliasearch (1.27.5)
httpclient (~> 2.8, >= 2.8.3)
json (>= 1.5.1)
artifactory (3.0.17)
atomos (0.1.3)
- aws-eventstream (1.3.0)
- aws-partitions (1.972.0)
- aws-sdk-core (3.203.0)
+ aws-eventstream (1.4.0)
+ aws-partitions (1.1198.0)
+ aws-sdk-core (3.240.0)
aws-eventstream (~> 1, >= 1.3.0)
- aws-partitions (~> 1, >= 1.651.0)
+ aws-partitions (~> 1, >= 1.992.0)
aws-sigv4 (~> 1.9)
+ base64
+ bigdecimal
jmespath (~> 1, >= 1.6.1)
- aws-sdk-kms (1.89.0)
- aws-sdk-core (~> 3, >= 3.203.0)
+ logger
+ aws-sdk-kms (1.118.0)
+ aws-sdk-core (~> 3, >= 3.239.1)
aws-sigv4 (~> 1.5)
- aws-sdk-s3 (1.160.0)
- aws-sdk-core (~> 3, >= 3.203.0)
+ aws-sdk-s3 (1.209.0)
+ aws-sdk-core (~> 3, >= 3.234.0)
aws-sdk-kms (~> 1)
aws-sigv4 (~> 1.5)
- aws-sigv4 (1.9.1)
+ aws-sigv4 (1.12.1)
aws-eventstream (~> 1, >= 1.0.2)
babosa (1.0.4)
base64 (0.2.0)
- bigdecimal (3.1.8)
+ benchmark (0.5.0)
+ bigdecimal (4.0.1)
claide (1.1.0)
claide-plugins (0.9.2)
cork
nap
open4 (~> 1.3)
- cocoapods (1.15.2)
+ cocoapods (1.16.2)
addressable (~> 2.8)
claide (>= 1.0.2, < 2.0)
- cocoapods-core (= 1.15.2)
+ cocoapods-core (= 1.16.2)
cocoapods-deintegrate (>= 1.0.3, < 2.0)
cocoapods-downloader (>= 2.1, < 3.0)
cocoapods-plugins (>= 1.0.0, < 2.0)
@@ -64,8 +67,8 @@ GEM
molinillo (~> 0.8.0)
nap (~> 1.0)
ruby-macho (>= 2.3.0, < 3.0)
- xcodeproj (>= 1.23.0, < 2.0)
- cocoapods-core (1.15.2)
+ xcodeproj (>= 1.27.0, < 2.0)
+ cocoapods-core (1.16.2)
activesupport (>= 5.0, < 8)
addressable (~> 2.8)
algoliasearch (~> 1.0)
@@ -88,38 +91,42 @@ GEM
colored2 (3.1.2)
commander (4.6.0)
highline (~> 2.0.0)
- concurrent-ruby (1.3.4)
- connection_pool (2.4.1)
+ concurrent-ruby (1.3.6)
+ connection_pool (3.0.2)
cork (0.3.0)
colored2 (~> 3.1)
- danger (9.5.0)
+ csv (3.3.5)
+ danger (9.5.3)
+ base64 (~> 0.2)
claide (~> 1.0)
claide-plugins (>= 0.9.2)
- colored2 (~> 3.1)
+ colored2 (>= 3.1, < 5)
cork (~> 0.1)
faraday (>= 0.9.0, < 3.0)
faraday-http-cache (~> 2.0)
- git (~> 1.13)
- kramdown (~> 2.3)
+ git (>= 1.13, < 3.0)
+ kramdown (>= 2.5.1, < 3.0)
kramdown-parser-gfm (~> 1.0)
octokit (>= 4.0)
- terminal-table (>= 1, < 4)
- danger-swiftlint (0.36.1)
+ pstore (~> 0.1)
+ terminal-table (>= 1, < 5)
+ danger-swiftlint (0.37.4)
danger
rake (> 10)
- thor (~> 1.0.0)
+ thor (~> 1.4)
declarative (0.0.20)
- digest-crc (0.6.5)
+ digest-crc (0.7.0)
rake (>= 12.0.0, < 14.0.0)
domain_name (0.6.20240107)
dotenv (2.8.1)
- drb (2.2.1)
+ drb (2.2.3)
emoji_regex (3.2.3)
escape (0.0.4)
- ethon (0.16.0)
+ ethon (0.18.0)
ffi (>= 1.15.0)
- excon (0.111.0)
- faraday (1.10.3)
+ logger
+ excon (0.112.0)
+ faraday (1.10.4)
faraday-em_http (~> 1.0)
faraday-em_synchrony (~> 1.0)
faraday-excon (~> 1.1)
@@ -131,34 +138,37 @@ GEM
faraday-rack (~> 1.0)
faraday-retry (~> 1.0)
ruby2_keywords (>= 0.0.4)
- faraday-cookie_jar (0.0.7)
+ faraday-cookie_jar (0.0.8)
faraday (>= 0.8.0)
- http-cookie (~> 1.0.0)
+ http-cookie (>= 1.0.0)
faraday-em_http (1.0.0)
- faraday-em_synchrony (1.0.0)
+ faraday-em_synchrony (1.0.1)
faraday-excon (1.1.0)
faraday-http-cache (2.5.1)
faraday (>= 0.8)
faraday-httpclient (1.0.1)
- faraday-multipart (1.0.4)
- multipart-post (~> 2)
+ faraday-multipart (1.2.0)
+ multipart-post (~> 2.0)
faraday-net_http (1.0.2)
faraday-net_http_persistent (1.2.0)
faraday-patron (1.0.0)
faraday-rack (1.0.0)
faraday-retry (1.0.3)
- faraday_middleware (1.2.0)
+ faraday_middleware (1.2.1)
faraday (~> 1.0)
- fastimage (2.3.1)
- fastlane (2.222.0)
+ fastimage (2.4.0)
+ fastlane (2.230.0)
CFPropertyList (>= 2.3, < 4.0.0)
+ abbrev (~> 0.1.2)
addressable (>= 2.8, < 3.0.0)
artifactory (~> 3.0)
aws-sdk-s3 (~> 1.0)
babosa (>= 1.0.3, < 2.0.0)
+ base64 (~> 0.2.0)
bundler (>= 1.12.0, < 3.0.0)
colored (~> 1.2)
commander (~> 4.6)
+ csv (~> 3.3)
dotenv (>= 2.1.1, < 3.0.0)
emoji_regex (>= 0.1, < 4.0)
excon (>= 0.71.0, < 1.0.0)
@@ -166,6 +176,7 @@ GEM
faraday-cookie_jar (~> 0.0.6)
faraday_middleware (~> 1.0)
fastimage (>= 2.1.0, < 3.0.0)
+ fastlane-sirp (>= 1.0.0)
gh_inspector (>= 1.1.2, < 2.0.0)
google-apis-androidpublisher_v3 (~> 0.3)
google-apis-playcustomapp_v1 (~> 0.1)
@@ -175,9 +186,12 @@ GEM
http-cookie (~> 1.0.5)
json (< 3.0.0)
jwt (>= 2.1.0, < 3)
+ logger (>= 1.6, < 2.0)
mini_magick (>= 4.9.4, < 5.0.0)
multipart-post (>= 2.0.0, < 3.0.0)
+ mutex_m (~> 0.3.0)
naturally (~> 2.2)
+ nkf (~> 0.2.0)
optparse (>= 0.1.1, < 1.0.0)
plist (>= 3.1.0, < 4.0.0)
rubyzip (>= 2.0.0, < 3.0.0)
@@ -189,15 +203,19 @@ GEM
tty-spinner (>= 0.8.0, < 1.0.0)
word_wrap (~> 1.0.0)
xcodeproj (>= 1.13.0, < 2.0.0)
- xcpretty (~> 0.3.0)
+ xcpretty (~> 0.4.1)
xcpretty-travis-formatter (>= 0.0.3, < 2.0.0)
- ffi (1.17.0-arm64-darwin)
- ffi (1.17.0-x86_64-darwin)
+ fastlane-sirp (1.0.0)
+ sysrandom (~> 1.0)
+ ffi (1.17.2-arm64-darwin)
+ ffi (1.17.2-x86_64-darwin)
fourflusher (2.3.1)
fuzzy_match (2.0.4)
gh_inspector (1.1.3)
- git (1.19.1)
+ git (2.3.3)
+ activesupport (>= 5.0)
addressable (~> 2.8)
+ process_executer (~> 1.1)
rchardet (~> 1.8)
google-apis-androidpublisher_v3 (0.54.0)
google-apis-core (>= 0.11.0, < 2.a)
@@ -215,12 +233,12 @@ GEM
google-apis-core (>= 0.11.0, < 2.a)
google-apis-storage_v1 (0.31.0)
google-apis-core (>= 0.11.0, < 2.a)
- google-cloud-core (1.7.1)
+ google-cloud-core (1.8.0)
google-cloud-env (>= 1.0, < 3.a)
google-cloud-errors (~> 1.0)
google-cloud-env (1.6.0)
faraday (>= 0.17.3, < 3.0)
- google-cloud-errors (1.4.0)
+ google-cloud-errors (1.5.0)
google-cloud-storage (1.47.0)
addressable (~> 2.8)
digest-crc (~> 0.4)
@@ -236,68 +254,75 @@ GEM
os (>= 0.9, < 2.0)
signet (>= 0.16, < 2.a)
highline (2.0.3)
- http-cookie (1.0.7)
+ http-cookie (1.0.8)
domain_name (~> 0.5)
- httpclient (2.8.3)
- i18n (1.14.5)
+ httpclient (2.9.0)
+ mutex_m
+ i18n (1.14.8)
concurrent-ruby (~> 1.0)
jmespath (1.6.2)
- json (2.7.2)
- jwt (2.8.2)
+ json (2.18.0)
+ jwt (2.10.2)
base64
- kramdown (2.4.0)
- rexml
+ kramdown (2.5.1)
+ rexml (>= 3.3.9)
kramdown-parser-gfm (1.1.0)
kramdown (~> 2.0)
- logger (1.6.1)
+ logger (1.7.0)
mini_magick (4.13.2)
mini_mime (1.1.5)
- minitest (5.25.1)
+ minitest (6.0.0)
+ prism (~> 1.5)
molinillo (0.8.0)
- multi_json (1.15.0)
+ multi_json (1.19.0)
multipart-post (2.4.1)
- nanaimo (0.3.0)
+ mutex_m (0.3.0)
+ nanaimo (0.4.0)
nap (1.1.0)
- naturally (2.2.1)
+ naturally (2.3.0)
netrc (0.11.0)
nkf (0.2.0)
- octokit (9.1.0)
+ octokit (10.0.0)
faraday (>= 1, < 3)
sawyer (~> 0.9)
open4 (1.3.4)
- optparse (0.5.0)
+ optparse (0.8.1)
os (1.1.4)
- plist (3.7.1)
+ plist (3.7.2)
+ prism (1.7.0)
+ process_executer (1.3.0)
+ pstore (0.2.0)
public_suffix (4.0.7)
- rake (13.2.1)
- rchardet (1.8.0)
+ rake (13.3.1)
+ rchardet (1.10.0)
representable (3.2.0)
declarative (< 0.1.0)
trailblazer-option (>= 0.1.1, < 0.2.0)
uber (< 0.2.0)
retriable (3.1.2)
- rexml (3.3.7)
- rouge (2.0.7)
+ rexml (3.4.4)
+ rouge (3.28.0)
ruby-macho (2.5.1)
ruby2_keywords (0.0.5)
- rubyzip (2.3.2)
- sawyer (0.9.2)
+ rubyzip (2.4.1)
+ sawyer (0.9.3)
addressable (>= 2.3.5)
faraday (>= 0.17.3, < 3)
- securerandom (0.3.1)
+ securerandom (0.4.1)
security (0.1.5)
- signet (0.19.0)
+ signet (0.21.0)
addressable (~> 2.8)
faraday (>= 0.17.5, < 3.a)
- jwt (>= 1.5, < 3.0)
+ jwt (>= 1.5, < 4.0)
multi_json (~> 1.10)
simctl (1.6.10)
CFPropertyList
naturally
+ sysrandom (1.0.5)
terminal-notifier (2.0.0)
terminal-table (3.0.2)
unicode-display_width (>= 1.1.1, < 3)
- thor (1.0.1)
+ thor (1.4.0)
trailblazer-option (0.1.2)
tty-cursor (0.7.1)
tty-screen (0.8.2)
@@ -308,22 +333,23 @@ GEM
tzinfo (2.0.6)
concurrent-ruby (~> 1.0)
uber (0.1.0)
- unicode-display_width (2.5.0)
+ unicode-display_width (2.6.0)
word_wrap (1.0.0)
- xcodeproj (1.25.0)
+ xcodeproj (1.27.0)
CFPropertyList (>= 2.3.3, < 4.0)
atomos (~> 0.1.3)
claide (>= 1.0.2, < 2.0)
colored2 (~> 3.1)
- nanaimo (~> 0.3.0)
- rexml (>= 3.3.2, < 4.0)
- xcpretty (0.3.0)
- rouge (~> 2.0.7)
+ nanaimo (~> 0.4.0)
+ rexml (>= 3.3.6, < 4.0)
+ xcpretty (0.4.1)
+ rouge (~> 3.28.0)
xcpretty-travis-formatter (1.0.1)
xcpretty (~> 0.2, >= 0.0.7)
PLATFORMS
arm64-darwin-22
+ arm64-darwin-24
x86_64-darwin-21
DEPENDENCIES
@@ -333,4 +359,4 @@ DEPENDENCIES
fastlane
BUNDLED WITH
- 2.4.19
+ 2.7.2
diff --git a/Package.swift b/Package.swift
index ed7bcf81..5f8556c3 100644
--- a/Package.swift
+++ b/Package.swift
@@ -1,4 +1,4 @@
-// swift-tools-version:5.7
+// swift-tools-version:6.0
// The swift-tools-version declares the minimum version of Swift required to build this package.
import PackageDescription
@@ -6,8 +6,8 @@ import PackageDescription
let package = Package(
name: "Pageboy",
platforms: [
- .iOS(.v12),
- .tvOS(.v12)
+ .iOS(.v14),
+ .tvOS(.v14)
],
products: [
.library(
diff --git a/Pageboy.podspec b/Pageboy.podspec
deleted file mode 100644
index 431694e2..00000000
--- a/Pageboy.podspec
+++ /dev/null
@@ -1,28 +0,0 @@
-Pod::Spec.new do |s|
-
- s.name = "Pageboy"
-
- s.ios.deployment_target = '12.0'
- s.tvos.deployment_target = '12.0'
-
- s.swift_versions = ['5.0']
-
- s.requires_arc = true
-
- s.version = "4.2.0"
- s.summary = "A simple, highly informative page view controller."
- s.description = <<-DESC
- A page view controller that provides simplified data source management, enhanced delegation and other useful features.
- DESC
-
- s.homepage = "https://github.com/uias/Pageboy"
- s.license = "MIT"
- s.author = { "Merrick Sapsford" => "merrick@sapsford.tech" }
- s.social_media_url = "https://twitter.com/MerrickSapsford"
-
- s.source = { :git => "https://github.com/uias/Pageboy.git", :tag => s.version.to_s }
- s.source_files = "Sources/Pageboy/**/*.{h,m,swift}"
-
- s.resource_bundles = {'Pageboy' => ['Sources/Pageboy/PrivacyInfo.xcprivacy']}
-
-end
diff --git a/Pageboy.xcconfig b/Pageboy.xcconfig
index 364363e8..24e0b9ff 100644
--- a/Pageboy.xcconfig
+++ b/Pageboy.xcconfig
@@ -1,4 +1,4 @@
-PB_VERSION=4.2.0
+PB_VERSION=5.0.0
-PB_IOS_DEPLOYMENT_TARGET=12.0
-PB_TVOS_DEPLOYMENT_TARGET=12.0
+PB_IOS_DEPLOYMENT_TARGET=14.0
+PB_TVOS_DEPLOYMENT_TARGET=14.0
diff --git a/README.md b/README.md
index 2df5b809..1bd7c5c0 100644
--- a/README.md
+++ b/README.md
@@ -6,7 +6,7 @@
-
+
@@ -15,9 +15,10 @@