An open API service indexing awesome lists of open source software.

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.

Awesome Lists containing this project

README

          

# Debounce
/Users/christiangossain/Dev/Open Source/Debounce/Example/Debounce/ViewController.swift
[![CI Status](https://img.shields.io/travis/cgossain/Debounce.svg?style=flat)](https://travis-ci.org/cgossain/Debounce)
[![Version](https://img.shields.io/cocoapods/v/Debounce.svg?style=flat)](https://cocoapods.org/pods/Debounce)
[![License](https://img.shields.io/cocoapods/l/Debounce.svg?style=flat)](https://cocoapods.org/pods/Debounce)
[![Platform](https://img.shields.io/cocoapods/p/Debounce.svg?style=flat)](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.