https://github.com/younatics/appupdater
❗️Check your update and show alert with one line of code
https://github.com/younatics/appupdater
Last synced: 5 months ago
JSON representation
❗️Check your update and show alert with one line of code
- Host: GitHub
- URL: https://github.com/younatics/appupdater
- Owner: younatics
- License: mit
- Created: 2017-12-17T05:04:44.000Z (almost 8 years ago)
- Default Branch: master
- Last Pushed: 2019-04-03T08:04:29.000Z (over 6 years ago)
- Last Synced: 2025-04-21T06:08:42.559Z (6 months ago)
- Language: Swift
- Homepage:
- Size: 1.96 MB
- Stars: 50
- Watchers: 7
- Forks: 5
- Open Issues: 1
-
Metadata Files:
- Readme: README.md
- License: LICENSE
Awesome Lists containing this project
README
# AppUpdater
[](http://cocoapods.org/pods/AppUpdater)
[](https://github.com/Carthage/Carthage)
[](https://github.com/younatics/AppUpdater/blob/master/LICENSE)
[](http://cocoapods.org/pods/AppUpdater)
[](https://travis-ci.org/younatics/AppUpdater)
[](https://developer.apple.com/swift/)
#### ❗️Check your update with one line of code
| Update available | Update unavailable |
| :--------------: | :----------: |
|  |  |## Requirements
`AppUpdater` is written in Swift 4.2 Compatible with iOS 9.0+## Usage
```Swift
AppUpdater.showUpdateAlert()// force update.
AppUpdater.showUpdateAlert(isForce: true)
```
You can also use some methods listed below#### Methods
| Function | Parameter | Return |
| -------- | --------- | ------ |
| `showUpdateAlert` | `isForce` | - |
| `isUpdateAvailable` | - | `Bool` |
| `versionAndDownloadUrl` | - | `(version: String, downloadUrl: String)?` |## Installation
### Cocoapods
```ruby
pod 'AppUpdater'
```
### Carthage
```
github "younatics/AppUpdater"
```## References
#### Please tell me or make pull request if you use this library in your application :)
#### [MotionBook](https://appsto.re/kr/8yv1hb.i)## Author
[younatics](https://twitter.com/younatics)## License
**AppUpdater** is available under the MIT license. See the LICENSE file for more info.