https://github.com/shakurocom/infinityscrollview
https://github.com/shakurocom/infinityscrollview
infinite-scroll infinity ios scroll scrolling scrollview swift
Last synced: 6 months ago
JSON representation
- Host: GitHub
- URL: https://github.com/shakurocom/infinityscrollview
- Owner: shakurocom
- License: mit
- Created: 2022-02-04T04:07:46.000Z (about 4 years ago)
- Default Branch: main
- Last Pushed: 2025-04-24T12:01:56.000Z (11 months ago)
- Last Synced: 2025-10-11T08:48:24.498Z (6 months ago)
- Topics: infinite-scroll, infinity, ios, scroll, scrolling, scrollview, swift
- Language: Swift
- Homepage:
- Size: 13.9 MB
- Stars: 25
- Watchers: 1
- Forks: 2
- Open Issues: 0
-
Metadata Files:
- Readme: README.md
- License: LICENSE.md
Awesome Lists containing this project
README

# InfinityScrollView



- [Requirements](#requirements)
- [Installation](#installation)
- [Usage](#usage)
- [License](#license)
`InfinityScrollView` is a Swift library that allows you to add endless horizontal scroll to different items. `InfinityScrollView` has various configuration options:
- fast deceleration rate
- snap to center item
- configurable snap deceleration animations
Infinity scroll example:

Infinity scroll example with different items sizes:

Infinity scroll example with snap to center item:

Single item behaviour:

## Requirements
- iOS 11.0+
- Xcode 11.0+
- Swift 5.0+
## Installation
### CocoaPods
To integrate Infinity Scroll View into your Xcode project with CocoaPods, specify it in your `Podfile`:
```ruby
pod 'Shakuro.InfinityScrollView'
```
Then, run the following command:
```bash
$ pod install
```
### Manually
If you prefer not to use CocoaPods, you can integrate Shakuro.InfinityScrollView simply by copying it to your project.
## Usage
Just create `InfinityScrollView` programmatically or in the storyboard. Take into account that `InfinityScrollView` must have the data source and the delegate objects. The data source needs to adopt the `InfinityScrollViewDataSource` protocol and the delegate has to adopt the `InfinityScrollViewDelegate` protocol. The data source provides the views that `InfinityScrollView` will display. The delegate allows you to respond to scrolling events.
Take a look at the [InfinityScrollView_Example](https://github.com/shakurocom/InfinityScrollView/tree/main/InfinityScrollView_Example) (you need to perform `pod install` before before using it).
## License
Shakuro.InfinityScrollView is released under the MIT license. [See LICENSE](https://github.com/shakurocom/InfinityScrollView/blob/main/LICENSE.md) for details.
## Give it a try and reach us
Explore our expertise in Native Mobile Development and iOS Development.
If you need professional assistance with your mobile or web project, feel free to contact our team