Hello,

I am new with COCOA API, I am trying to call function from other class via
object but it's not call it delegate after completion of the procedure while
when I call it on main thread delegate will execute but I am not able to
catch up the data :'(


    [NSThread detachNewThreadSelector:@selector(getserverresponse)
toTarget:self withObject:nil ];  //Object Delegate not working
    [self getserverresponse]; //delegate working

getserverresponse call procedure from different class.

-- 
Aman Agarwal
_______________________________________________

Cocoa-dev mailing list (Cocoa-dev@lists.apple.com)

Please do not post admin requests or moderator comments to the list.
Contact the moderators at cocoa-dev-admins(at)lists.apple.com

Help/Unsubscribe/Update your Subscription:
http://lists.apple.com/mailman/options/cocoa-dev/archive%40mail-archive.com

This email sent to arch...@mail-archive.com

Reply via email to