// // NSString+Additions.h // Perforce // // Created by Adam Czubernat on 16.05.2013. // Copyright (c) 2013 Perforce Software, Inc. All rights reserved. // #import <Foundation/Foundation.h> @interface NSString (Additions) - (NSString *)stringByRemovingPrefix:(NSString *)prefix; - (NSString *)stringByRemovingSuffix:(NSString *)suffix; - (NSArray *)arrayOfArguments; - (CGSize)sizeWithFont:(NSFont *)font; - (NSString *)stringByDeletingPath; // Removes last component without altering whole path - (NSString *)stringByAppendingPath:(NSString *)path; // Append path components without altering whole path - (NSString *)directoryPath; // Append trailing slash if needed - (BOOL)hasParentDirectory:(NSString *)parentPath; - (BOOL)isEmptyString; @end
# | Change | User | Description | Committed | |
---|---|---|---|---|---|
#1 | 16507 | perforce_software | Move to main branch. | ||
//guest/perforce_software/piper/mac/R1.0/Perforce/Classes/Helpers/NSString+Additions.h | |||||
#1 | 11254 | alan_petersen |
Populate //guest/perforce_software/piper/mac/R1.0/... from //guest/perforce_software/piper/mac/main/.... |
||
//guest/perforce_software/piper/mac/main/Perforce/Classes/Helpers/NSString+Additions.h | |||||
#1 | 11252 | alan_petersen | Rename/move file(s) | ||
//guest/perforce_software/piper/mac/Perforce/Classes/Helpers/NSString+Additions.h | |||||
#1 | 10744 | alan_petersen | Rename/move file(s) | ||
//guest/perforce_software/piper/Perforce/Classes/Helpers/NSString+Additions.h | |||||
#1 | 8919 | Matt Attaway | Initial add of Piper, a lightweight Perforce client for artists and designers. |