• Open Menu Close Menu
  • Apple
  • Shopping Bag
  • Apple
  • Mac
  • iPad
  • iPhone
  • Watch
  • TV
  • Music
  • Support
  • Search apple.com
  • Shopping Bag

Lists

Open Menu Close Menu
  • Terms and Conditions
  • Lists hosted on this site
  • Email the Postmaster
  • Tips for posting to public mailing lists
Issue with NSthread
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

Issue with NSthread


  • Subject: Issue with NSthread
  • From: "Aman (neshu) Agarwal" <email@hidden>
  • Date: Wed, 02 Mar 2011 13:42:20 +0530

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 (email@hidden)

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:

This email sent to email@hidden

  • Prev by Date: table view and custom cell optimization problem
  • Next by Date: Unit testing on a bundle
  • Previous by thread: Re: table view and custom cell optimization problem
  • Next by thread: Unit testing on a bundle
  • Index(es):
    • Date
    • Thread