Public Member Functions

<SUVersionComparison> Protocol Reference

#import <SUVersionComparisonProtocol copy.h>

List of all members.

Public Member Functions

(NSComparisonResult) - compareVersion:toVersion:
(NSComparisonResult) - compareVersion:toVersion:

Member Function Documentation

- (NSComparisonResult) compareVersion: (NSString *)  versionA
toVersion: (NSString *)  versionB 

An abstract method to compare two version strings. Should return NSOrderedAscending if b > a, NSOrderedDescending if b < a, and NSOrderedSame if they are equivalent.

- (NSComparisonResult) compareVersion: (NSString *)  versionA
toVersion: (NSString *)  versionB 

An abstract method to compare two version strings. Should return NSOrderedAscending if b > a, NSOrderedDescending if b < a, and NSOrderedSame if they are equivalent.


The documentation for this protocol was generated from the following files: