comparing with the numeric option works for sorting IP address properly, so let it do the heavy lifting for us

This commit is contained in:
Mitchell Livingston
2008-06-27 05:40:22 +00:00
parent 313885df00
commit f051a2a789
4 changed files with 11 additions and 24 deletions

View File

@@ -39,6 +39,6 @@
+ (NSString *) timeString: (NSUInteger) seconds showSeconds: (BOOL) showSeconds maxFields: (NSUInteger) max;
- (NSComparisonResult) compareFinder: (NSString *) string; //how the Finder compares strings
- (NSComparisonResult) compareIP: (NSString *) string;
- (NSComparisonResult) compareNumeric: (NSString *) string; //simple compare method for strings with numbers (works for IP addresses)
@end