Skip to content

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

7 Commits
 
 
 
 
 
 

Repository files navigation

RMUpdateDetection

Easy app version transition recognizer with delegate pattern.

Usage

  1. Import the RMUpdateDetection.h in your application.
  2. Download and import @danhanly's awesome VersionComparator library from, e.g. GitHub: https://github.com/danhanly/VersionComparator
  3. In your -(void) applicationDidFinishLoading;method, set the delegate and trigger the checking.
	[[RMUpdateDetection sharedInstance] setDelegate:self];
	[[RMUpdateDetection sharedInstance] check];

Implement the delegate protocol, e.g.:

		- (void) userDidUpdateFrom: (NSString *) oldVersion to: (NSString *) currentVersion {
			// Hurray, the user did update to our most recent version!
	}

That's it!

Contact

License

Copyright (c) 2013 Raffael Hannemann Under BSD License.

Want more?

Follow @raffael_me for similar releases.

About

Easy app version transition recognizer with delegate pattern.

Resources

Stars

Watchers

Forks

Releases

Packages

Contributors

Languages