Ecosyste.ms: Awesome
An open API service indexing awesome lists of open source software.
https://github.com/redbooth/SimplePagedView
A UIPageViewController replacement built to be as simple as possible
https://github.com/redbooth/SimplePagedView
ios swift swift4 uikit uipageviewcontroller
Last synced: about 2 months ago
JSON representation
A UIPageViewController replacement built to be as simple as possible
- Host: GitHub
- URL: https://github.com/redbooth/SimplePagedView
- Owner: redbooth
- License: mit
- Created: 2018-12-12T20:22:13.000Z (almost 6 years ago)
- Default Branch: master
- Last Pushed: 2019-02-13T07:40:41.000Z (over 5 years ago)
- Last Synced: 2024-07-20T06:03:08.580Z (2 months ago)
- Topics: ios, swift, swift4, uikit, uipageviewcontroller
- Language: Swift
- Homepage:
- Size: 80.1 KB
- Stars: 75
- Watchers: 15
- Forks: 9
- Open Issues: 3
-
Metadata Files:
- Readme: README.md
- License: LICENSE
Awesome Lists containing this project
README
# SimplePagedView
SimplePagedView is an iOS component that makes it as easy as possible to set up a page view for things like onboarding or presenting information.
## Installation
```ruby
pod 'SimplePagedView'
```## Usage
### Programmatic setup
```swift
// Create a PagedViewController by providing it with a view for each page you'd like it to contain
let simplePagedView = SimplePagedView(with:
LogoView(presenter: welcomePresenter),
CardPageView(image: ThemeManager.Images.welcomeTourSlide1,
subtitle: "Complete and resolve tasks on the go"),
CardPageView(image: ThemeManager.Images.welcomeTourSlide2,
subtitle: "Comment on tasks and conversations"),
CardPageView(image: ThemeManager.Images.welcomeTourSlide3,
subtitle: "Add files and pictures in seconds")
)// Add as subview and setup constraints/frame
```