https://github.com/cgossain/debounce
A tiny library used for your debouncing (throttling) needs, written in Swift.
https://github.com/cgossain/debounce
debounce debouncing ios search swift throttling
Last synced: 8 months ago
JSON representation
A tiny library used for your debouncing (throttling) needs, written in Swift.
- Host: GitHub
- URL: https://github.com/cgossain/debounce
- Owner: cgossain
- License: mit
- Created: 2020-01-10T00:58:36.000Z (over 5 years ago)
- Default Branch: master
- Last Pushed: 2022-03-18T21:12:16.000Z (over 3 years ago)
- Last Synced: 2025-02-07T23:17:27.071Z (8 months ago)
- Topics: debounce, debouncing, ios, search, swift, throttling
- Language: Swift
- Homepage:
- Size: 96.7 KB
- Stars: 1
- Watchers: 3
- Forks: 0
- Open Issues: 0
-
Metadata Files:
- Readme: README.md
- License: LICENSE
Awesome Lists containing this project
README
# Debounce
/Users/christiangossain/Dev/Open Source/Debounce/Example/Debounce/ViewController.swift
[](https://travis-ci.org/cgossain/Debounce)
[](https://cocoapods.org/pods/Debounce)
[](https://cocoapods.org/pods/Debounce)
[](https://cocoapods.org/pods/Debounce)## Example
To run the example project, clone the repo, and run `pod install` from the Example directory first.
## Requirements
## Installation
### CocoaPods
[CocoaPods](https://cocoapods.org) is a dependency manager for Cocoa projects. For usage and installation instructions, visit their website. To integrate Debounce into your Xcode project using CocoaPods, specify it in your `Podfile`:
```ruby
pod 'Debounce', '~> 1.5.1'
```### Swift Package Manager
The [Swift Package Manager](https://swift.org/package-manager/) is a tool for automating the distribution of Swift code and is integrated into the `swift` compiler.
Once you have your Swift package set up, adding Debounce as a dependency is as easy as adding it to the `dependencies` value of your `Package.swift`.
```swift
dependencies: [
.package(url: "https://github.com/cgossain/Debounce.git", .upToNextMajor(from: "1.5.1"))
]
```## Author
Christian Gossain, cgossain@gmail.com
## License
Debounce is available under the MIT license. See the LICENSE file for more info.