{"id":3015,"url":"https://github.com/tadija/AEAppVersion","last_synced_at":"2025-08-03T12:31:52.571Z","repository":{"id":44496987,"uuid":"50791925","full_name":"tadija/AEAppVersion","owner":"tadija","description":"Simple and Lightweight App Version Tracking for iOS written in Swift","archived":false,"fork":false,"pushed_at":"2022-07-14T18:50:44.000Z","size":70,"stargazers_count":12,"open_issues_count":0,"forks_count":2,"subscribers_count":4,"default_branch":"master","last_synced_at":"2024-11-17T17:39:45.456Z","etag":null,"topics":[],"latest_commit_sha":null,"homepage":"","language":"Swift","has_issues":true,"has_wiki":null,"has_pages":null,"mirror_url":null,"source_name":null,"license":"mit","status":null,"scm":"git","pull_requests_enabled":true,"icon_url":"https://github.com/tadija.png","metadata":{"files":{"readme":"README.md","changelog":"CHANGELOG.md","contributing":null,"funding":null,"license":"LICENSE","code_of_conduct":null,"threat_model":null,"audit":null,"citation":null,"codeowners":null,"security":null,"support":null}},"created_at":"2016-01-31T19:48:35.000Z","updated_at":"2022-11-11T23:35:58.000Z","dependencies_parsed_at":"2022-07-16T02:30:40.287Z","dependency_job_id":null,"html_url":"https://github.com/tadija/AEAppVersion","commit_stats":null,"previous_names":[],"tags_count":8,"template":false,"template_full_name":null,"repository_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/tadija%2FAEAppVersion","tags_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/tadija%2FAEAppVersion/tags","releases_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/tadija%2FAEAppVersion/releases","manifests_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/tadija%2FAEAppVersion/manifests","owner_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners/tadija","download_url":"https://codeload.github.com/tadija/AEAppVersion/tar.gz/refs/heads/master","host":{"name":"GitHub","url":"https://github.com","kind":"github","repositories_count":228543252,"owners_count":17934450,"icon_url":"https://github.com/github.png","version":null,"created_at":"2022-05-30T11:31:42.601Z","updated_at":"2022-07-04T15:15:14.044Z","host_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub","repositories_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories","repository_names_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repository_names","owners_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners"}},"keywords":[],"created_at":"2024-01-05T20:16:28.994Z","updated_at":"2024-12-07T00:31:11.865Z","avatar_url":"https://github.com/tadija.png","language":"Swift","funding_links":[],"categories":["Utility"],"sub_categories":["Web View","Other free courses"],"readme":"[![Swift 5.1](https://img.shields.io/badge/Swift-5.1-orange.svg?style=flat)](https://swift.org)\n[![Platforms iOS](https://img.shields.io/badge/Platforms-iOS-lightgray.svg?style=flat)](http://www.apple.com)\n[![CocoaPods](https://img.shields.io/cocoapods/v/AEAppVersion.svg?style=flat)](https://cocoapods.org/pods/AEAppVersion)\n[![Carthage](https://img.shields.io/badge/Carthage-compatible-brightgreen.svg?style=flat)](https://github.com/Carthage/Carthage)\n[![SPM](https://img.shields.io/badge/SPM-compatible-brightgreen.svg)](https://github.com/apple/swift-package-manager)\n[![License MIT](https://img.shields.io/badge/License-MIT-lightgrey.svg?style=flat)](LICENSE)\n\n# AEAppVersion\n\n**Simple and lightweight iOS App Version Tracking written in Swift**  \n\n\u003e I made this for personal use, but feel free to use it or contribute.\n\u003e For more examples check out [Sources](Sources) and [Tests](Tests).\n\n## Index\n- [Intro](#intro)\n- [Features](#features)\n- [Usage](#usage)\n- [Installation](#installation)\n- [License](#license)\n\n## Intro\n\nDead simple app version tracking. Add one line to your code and you're all set.\n\n## Features\n- Check **app version state** via enum property\n- Get **app version information** via static properties\n- Covered with **unit tests**\n- Covered with [docs](http://cocoadocs.org/docsets/AEAppVersion)\n\n## Usage\nYou should just initialize `AEAppVersion` from your AppDelegate's `didFinishLaunchingWithOptions:` like this:\n\n```swift\nAEAppVersion.launch()\n```\n\nAnytime later you can check version state like this:\n\n```swift\nswitch AEAppVersion.shared.state {\ncase .new:\n  return \"Clean Install\"\ncase .equal:\n  return \"Not Changed\"\ncase .update(let previousVersion):\n  return \"Update from: \\(previousVersion)\"\ncase .rollback(let previousVersion):\n  return \"Rollback from: \\(previousVersion)\"\n}\n```\n\n**Hint:** You may use helpers for app version and build number like this:\n\n```swift\nlet version = AEAppVersion.version\nlet build = AEAppVersion.build\n```\n\nYou can also check out the example project and unit tests for more information.\n\n## Installation\n\n- [Swift Package Manager](https://swift.org/package-manager/):\n\n    ```swift\n    .package(url: \"https://github.com/tadija/AEAppVersion.git\", from: \"0.5.0\")\n    ```\n\n- [Carthage](https://github.com/Carthage/Carthage):\n\n    ```ogdl\n    github \"tadija/AEAppVersion\"\n    ```\n\n- [CocoaPods](http://cocoapods.org/):\n\n    ```ruby\n    pod 'AEAppVersion'\n    ```\n\n## License\nAEAppVersion is released under the MIT license. See [LICENSE](LICENSE) for details.\n","project_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Ftadija%2FAEAppVersion","html_url":"https://awesome.ecosyste.ms/projects/github.com%2Ftadija%2FAEAppVersion","lists_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Ftadija%2FAEAppVersion/lists"}