All Projects → fermoya → Swiftuipager

fermoya / Swiftuipager

Licence: mit
Native Pager in SwiftUI

Programming Languages

swift
15916 projects

Projects that are alternatives of or similar to Swiftuipager

Web3.swift
A pure swift Ethereum Web3 library
Stars: ✭ 295 (-31.4%)
Mutual labels:  tvos, watchos, cocoapods
Cdmarkdownkit
An extensive Swift framework providing simple and customizable markdown parsing.
Stars: ✭ 158 (-63.26%)
Mutual labels:  tvos, watchos, cocoapods
Contentful.swift
A delightful Swift interface to Contentful's content delivery API.
Stars: ✭ 132 (-69.3%)
Mutual labels:  tvos, watchos, cocoapods
Attributedstring
基于Swift插值方式优雅的构建富文本, 支持点击长按事件, 支持不同类型过滤, 支持自定义视图等.
Stars: ✭ 294 (-31.63%)
Mutual labels:  tvos, watchos, cocoapods
Iso8601
ISO8601 date parser and writer
Stars: ✭ 213 (-50.47%)
Mutual labels:  tvos, watchos, cocoapods
Cloudkitgdpr
Framework for allowing users to manage data stored in iCloud
Stars: ✭ 126 (-70.7%)
Mutual labels:  tvos, watchos, cocoapods
Color
Color utilities for macOS, iOS, tvOS, and watchOS
Stars: ✭ 145 (-66.28%)
Mutual labels:  tvos, watchos, cocoapods
Sdwebimagewebpcoder
A WebP coder plugin for SDWebImage, use libwebp
Stars: ✭ 101 (-76.51%)
Mutual labels:  tvos, watchos, cocoapods
L10n Swift
Localization of the application with ability to change language "on the fly" and support for plural form in any language.
Stars: ✭ 177 (-58.84%)
Mutual labels:  tvos, watchos, cocoapods
Cocoalumberjack
A fast & simple, yet powerful & flexible logging framework for Mac and iOS
Stars: ✭ 12,584 (+2826.51%)
Mutual labels:  tvos, watchos, cocoapods
Skeletonui
☠️ Elegant skeleton loading animation in SwiftUI and Combine
Stars: ✭ 275 (-36.05%)
Mutual labels:  tvos, watchos, cocoapods
Datez
📆 Breeze through Date, DateComponents, and TimeInterval with Swift!
Stars: ✭ 254 (-40.93%)
Mutual labels:  tvos, watchos, cocoapods
Sqift
Powerful Swift wrapper for SQLite
Stars: ✭ 119 (-72.33%)
Mutual labels:  tvos, watchos, cocoapods
Functionkit
A framework for functional types and operations designed to fit naturally into Swift.
Stars: ✭ 302 (-29.77%)
Mutual labels:  tvos, watchos, cocoapods
Swifterswift
A handy collection of more than 500 native Swift extensions to boost your productivity.
Stars: ✭ 10,706 (+2389.77%)
Mutual labels:  tvos, watchos, cocoapods
Ducttape
📦 KeyPath dynamicMemberLookup based syntax sugar for Swift.
Stars: ✭ 138 (-67.91%)
Mutual labels:  tvos, watchos, cocoapods
Swiftyattributes
A Swifty API for attributed strings
Stars: ✭ 1,303 (+203.02%)
Mutual labels:  tvos, watchos, cocoapods
Predicateflow
Write amazing, strong-typed and easy-to-read NSPredicate.
Stars: ✭ 98 (-77.21%)
Mutual labels:  tvos, watchos, cocoapods
Version
Represent and compare versions via semantic versioning (SemVer) in Swift
Stars: ✭ 160 (-62.79%)
Mutual labels:  tvos, watchos, cocoapods
Fire
🔥A delightful HTTP/HTTPS networking framework for iOS/macOS/watchOS/tvOS platforms written in Swift.
Stars: ✭ 243 (-43.49%)
Mutual labels:  tvos, watchos, cocoapods

SwiftUIPager

CI codecov Swift Package Manager compatible Cocoapods Carthage compatible CocoaPods platforms License: MIT

SwiftUIPager provides a Pager component built with SwiftUI native components. Pager is a view that renders a scrollable container to display a handful of pages. These pages are recycled on scroll, so you don't have to worry about memory issues. Pager will load just a handful of items, enough to beatifully scroll along.

Create vertical or horizontal pagers, align the cards, change the direction of the scroll, animate the pagination... Pager lets you do anything you want.

Example of usage

Requirements

  • iOS 13.0+
  • macOS 10.15+
  • watchOS 6.0+
  • tvOS 13.0+
  • Swift 5.1+

Installation

CocoaPods

pod 'SwiftUIPager'

Swift Package Manager

In Xcode:

Carthage

github "fermoya/SwiftUIPager"

Manually

  • Download SwiftUIPager.xcframework
  • Create a group Frameworks inside your project and drag and drop SwiftUIPager.xcframework
Manual Installation Step 1
  • Make sure in your target's build phases that the option Embed & Sign is selected:
Manual Installation Step 2

Known Issues

  • NavigationLink and Button might work oddly with Pager if pagingPriority(.simultaneous) is used in SwiftUI 1.0 and iOS 13. This issue isn't reproducible in iOS 14 beta. For more information, follow this link.
  • Depending on the Xcode version, you might run into a precondition failure affecting SwiftUI 1.0 and iOS 13. This issue doesn't occur on Xcode 12 beta. For more information about workarounds, see Precondition failure: invalid value type for attribute #60.

Feedback

If you happen to encounter any problem or you have any suggestion, please, don't hesitate to open an issue or reach out to me at [email protected].
This is an open source code project, so feel free to collaborate by raising a pull-request or sharing your feedback.

Support Open Source

If you love this library, understand all the effort it takes to maintain it and would like to support me, you can buy me a coffee by following this link:

Buy Me A Coffee

You can also sponsor me by hitting the GitHub Sponsor button. All help is very much appreciated.

License

SwiftUIPager is available under the MIT license. See the LICENSE file for more info.

Note that the project description data, including the texts, logos, images, and/or trademarks, for each open source project belongs to its rightful owner. If you wish to add or remove any projects, please contact us at [email protected].