Skip to content


Subversion checkout URL

You can clone with HTTPS or Subversion.

Download ZIP
Fetching contributors…

Cannot retrieve contributors at this time

37 lines (29 sloc) 0.965 kb
// SUStandardVersionComparator.h
// Sparkle
// Created by Andy Matuschak on 12/21/07.
// Copyright 2007 Andy Matuschak. All rights reserved.
#import "SUVersionComparisonProtocol.h"
@abstract Sparkle's default version comparator.
@discussion This comparator is adapted from MacPAD, by Kevin Ballard. It's "dumb" in that it does essentially string comparison, in components split by character type.
@interface SUStandardVersionComparator : NSObject <SUVersionComparison> { }
@abstract Returns a singleton instance of the comparator.
+ (SUStandardVersionComparator *)defaultComparator;
@abstract Compares version strings through textual analysis.
@discussion See the implementation for more details.
- (NSComparisonResult)compareVersion:(NSString *)versionA toVersion:(NSString *)versionB;
Jump to Line
Something went wrong with that request. Please try again.