Thanks Mike seem You are right, and I write like this
[self performSelector:@selector(doTheThing) withObject:nil afterDelay:0.5];
it can work correctly.
And thanks for your suggestion
2013/2/3 Mike Abdullah
>
> On 3 Feb 2013, at 07:41, 尹佳冀 wrote:
>
> > Hi All
> >
>
Hi All
Does anyone can know what the difference between [NSOperationQueue
currentQueue] and
performSelectorOnMainThread, If I do some work use operation
on [NSOperationQueue mainQueue], the UI will not hang up, but if i
use performSelectorOnMainThread the UI will hang up
- (void) doTheThing
{
/
Hi, BareFeetWare
NSURLProtocol is also can be used in iOS cocoatouch, you can check
this example
http://code.google.com/p/tkawebview/downloads/detail?name=tkaurlprotocol.zip&can=2&q=
this is a open source url protocol, but still have some bug,
1. however I think you can use + requestIsCache