mirror of
https://github.com/transmission/transmission.git
synced 2026-04-17 23:54:19 +01:00
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:
@@ -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
|
||||
|
||||
Reference in New Issue
Block a user