Official Forum for Programming in Objective-C (the iPhone Programming Language) - Stephen Kochan
April 22, 2018, 07:20:55 AM *
Welcome, Guest. Please login or register.
Did you miss your activation email?

Login with username, password and session length
   Home   Help Search Login Register Chat  
Pages: [1]   Go Down
Author Topic: 16-5 with Append  (Read 1585 times)
Posts: 1

« on: September 28, 2010, 08:27:29 AM »

Code: (Objective-C)
@interface NSString (TempFiles)
+(NSString *) temporaryFileName;
-(NSString *) appendTemporaryFileName;

@implementation NSString (TempFiles)
+(NSString *) temporaryFileName {

return [[NSProcessInfo processInfo] globallyUniqueString];


-(NSString *) appendTemporaryFileName {

return [self stringByAppendingString:[NSString temporaryFileName]];


I thought it might be good to include a append, working some files my self, i find that a lot of the time you do get this and usually it would be a "Copy" or 1,2 ect... added on.
Pages: [1]   Go Up
Jump to:  

Powered by MySQL Powered by PHP Powered by SMF 1.1.11 | SMF © 2006-2009, Simple Machines LLC Valid XHTML 1.0! Valid CSS!
Entire forum contents ゥ 2009 All rights reserved.