1
0
Fork 0
mirror of https://github.com/transmission/transmission synced 2024-12-25 09:13:06 +00:00
transmission/macosx/StringAdditions.h
Eric Petit 390b3e0466 Imports instead of include
Category for NSString instead of using Utils
 Speed string in NSString additions
2006-01-20 01:13:21 +00:00

18 lines
423 B
Objective-C

//
// StringAdditions.h
// Transmission
//
// Created by Mitchell Livingston on 1/16/06.
// Copyright 2006 __MyCompanyName__. All rights reserved.
//
#import <Cocoa/Cocoa.h>
@interface NSString (StringAdditions)
+ (NSString *) stringForFileSize: (uint64_t) size;
+ (NSString *) stringForSpeed: (float) speed;
- (NSString *) stringFittingInWidth: (float) width
withAttributes: (NSDictionary *) attributes;
@end