On 05/04/2010 at 03:23 PM, Randall Reetz <[email protected]> wrote:
> Thomas McGrath sent the following to me.  Anyone know what it means or is
supposed to do?
>
> Randall
>
> On May 2, 2010, at 7:47 PM, Thomas McGrath III wrote:
>
>> [...]
>> NSString *documentsDirectory = [paths objectAtIndex:0];
>>
>> while(!madeNewPath) {
>> imgPath = [documentsDirectory stringByAppendingPathComponent:[NSString
stringWithFormat:@"WhatThe%i.jpg",x]];
>> if([[NSFileManager defaultManager] fileExistsAtPath:imgPath]) x++; else
madeNewPath = TRUE;
>> }
>> [...]
>>
>> restoredImg = [UIImage imageWithData:[NSData
dataWithContentsOfFile:imgPath]];
>>
>>

It is message sent back from the future. Once you execute it, it will learn
what you want and will just do it. ;)

_______________________________________________
use-revolution mailing list
[email protected]
Please visit this url to subscribe, unsubscribe and manage your subscription 
preferences:
http://lists.runrev.com/mailman/listinfo/use-revolution

Reply via email to