AppVersionMonitor
- 授权协议: MIT
- 开发语言: SHELL Swift
- 操作系统: iOS
- 软件首页: https://github.com/muukii/AppVersionMonitor
软件介绍
AppVersionMonitor 是一款为方便监控 iOS 应用程序版本的软件。
通过它你可以获得以往的版本和安装历史。
使用:
运行工程实例,克隆 repo,并且先从实例项目运行 pod install。
要求:
iOS8.0 +
安装:
AppVersionMonitor 可在 CocoaPods 上使用。要安装 AppVersionMonitor 你只需要在 Podfile
中按照下面的操作即可:
pod "AppVersionMonitor"
使用:
安装:
// AppDelegatefunc applicationDidFinishLaunching(application: UIApplication) {
AppVersionMonitor.sharedMonitor.startup()
}获得 MarketingVersion(CFBundleShortVersionString):
let currentVersion: AppVersion = AppVersion.marketingVersion let versionString: String = AppVersion.marketingVersion.versionString // "1.2.3"
获得安装过的版本:
let installedVersions: [AppVersion] = AppVersionMonitor.sharedMonitor.installedVersions
对比版本:
AppVersion.marketingVersion > AppVersion("1.2.3")
AppVersion("1.2.3") < AppVersion("3.2.1")
AppVersion("1.2.3") < "3.2.1"更方便地检测自己当前的版本状况:
switch AppVersionMonitor.sharedMonitor.state {
case .Installed:
// Do something when app installed.
// Happy!
// ex. Start tutorial.
case .NotChanged:
// Do something when version not changed.
// Peace
// Nothing to do?
case .Upgraded(let previousVersion: AppVersion):
// Do something when version upgraded.
// Yeah!
// ex. Migrate App Data.
case .Downgraded(let previousVersion: AppVersion):
// Do something when version downgraded. (Impossible normally)
// What happened?
// ex. Purge App Data.
}
数据压缩导论(第4版)
[美] Khalid Sayood / 贾洪峰 / 人民邮电出版社 / 2014-1 / 129.00
数据压缩已经成为信息革命的一门支撑技术,这场革命已经改变了我们的生活,而在此过程中,数据压缩也变得几乎无处不在。从MP3播放器到智能手机,再到数字电视和数字电影,数据压缩几乎成了所有信息技术的必备要素。 近年来,以大数据为标志的互联网技术高歌猛进。数据规模大、产生速度快、来源多样等特性,导致数据存储和处理都前所未有地复杂。《数据压缩导论(第4版)》作为迄今为止数据压缩领域最全面而深入的著作,......一起来看看 《数据压缩导论(第4版)》 这本书的介绍吧!
