Skip to content

Instantly share code, notes, and snippets.

@applelfq
Forked from slmcmahon/UpdateManager.h
Created January 22, 2019 02:28
Show Gist options
  • Star 0 You must be signed in to star a gist
  • Fork 0 You must be signed in to fork a gist
  • Save applelfq/339732bac97af5365eab8ecad266c2e3 to your computer and use it in GitHub Desktop.
Save applelfq/339732bac97af5365eab8ecad266c2e3 to your computer and use it in GitHub Desktop.
Header file for UpdateManager - a tool for automating updates for AdHoc iOS apps.
//
// UpdateManager.h
// ReactiveLearning
//
// Created by Stephen L. McMahon on 8/4/13.
//
// implmementation: https://gist.github.com/slmcmahon/6152160
#import <Foundation/Foundation.h>
@interface UpdateManager : NSObject
@property (nonatomic, copy) NSString *pListUrl;
@property (nonatomic, copy) NSString *versionUrl;
@property (nonatomic, copy) NSString *currentServerVersion;
+ (UpdateManager *)sharedManager;
- (void)checkForUpdates;
- (void)performUpdate;
@end
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment