Re: NSThread and UI

2008-07-20 Thread Bruce Johnson
thObject: [NSNumber numberWithInt: i > waitUntilDone: NO]] >... >} > >[progressIndicator stopAnimation:self]; > } - (void) updateProgressBarWithValue: (NSNumber *) aNumber { [progressIndicator setDoubleValue: [aNumber dou

Escaping white space in an NSString

2009-05-20 Thread Bruce Johnson
) Is there a standard Cocoa way of escaping the white spaces like is done in the Terminal Application (I'm not looking for percent escapes) that has eluded my searches today? I also would like it to work in both Leopard and iPhone. Thanks -- Bruce Johnson bdjohnso...@gmai

Re: Escaping white space in an NSString

2009-05-20 Thread Bruce Johnson
e at a time, (fgets(inbuff,MAXREAD,stream)) make some calculations and then go onto the next line. So as you can see, a non-escaped, white space laden "pathToFile" will return a bogus FILE *stream. -- Bruce Johnson bdjohnso...@gmail.com ___