If your App doesn't comply with the system version requirements, no worries: you can still use SwiftUIPager.
All you need to do is:
- Install the framework as specified in the following sections.
- Add
SwiftUI
to your target's Link Binary With Libraries phase and make it optional.
- Wrap any reference to
Pager
withif #available(iOS 13, *)
or any other platform and version you may require.
pod 'SwiftUIPager', :git => 'https://github.com/fermoya/SwiftUIPager.git', :branch => 'legacy-projects'
- File ⭢ Swift Packages ⭢ Add Package Dependency...
- Use the URL https://github.com/fermoya/SwiftUIPager.git
- IMPORTANT: Select branch legacy-projects
github "fermoya/SwiftUIPager" "legacy-projects"
Please, refer to manual installation.