应用更新框架 Squirrel.Mac

码农软件 · 软件分类 · 其他开发相关 · 2019-10-21 23:13:38

软件介绍

Squirrel 是 OS X 框架,专注于制作应用更新,安全透明的更新到网站中。

你的请求可以包括认证信息,自定义头部或者请求主体。

配置:

#import <Squirrel/Squirrel.h>- (void)applicationDidFinishLaunching:(NSNotification *)notification {
    NSURLComponents *components = [[NSURLComponents alloc] init];

    components.scheme = @"http";
    components.host = @"mycompany.com";
    components.path = @"/myapp/latest";

    NSString *bundleVersion = NSBundle.mainBundle.sqrl_bundleVersion;
    components.query = [[NSString stringWithFormat:@"version=%@", bundleVersion] stringByAddingPercentEncodingWithAllowedCharacters:NSCharacterSet.URLQueryAllowedCharacterSet]

    self.updater = [[SQRLUpdater alloc] initWithUpdateRequest:[NSURLRequest requestWithURL:components.URL]];

    // Check for updates every 4 hours.
    [self.updater startAutomaticChecksWithInterval:60 * 60 * 4];}


本文地址:https://www.codercto.com/soft/d/17281.html

Web Data Mining

Web Data Mining

Bing Liu / Springer / 2006-12-28 / USD 59.95

Web mining aims to discover useful information and knowledge from the Web hyperlink structure, page contents, and usage data. Although Web mining uses many conventional data mining techniques, it is n......一起来看看 《Web Data Mining》 这本书的介绍吧!

JSON 在线解析
JSON 在线解析

在线 JSON 格式化工具

在线进制转换器
在线进制转换器

各进制数互转换器

HEX HSV 转换工具
HEX HSV 转换工具

HEX HSV 互换工具