Questions tagged [cfrunloop]

49 questions
0
votes
0 answers

Can you "jump to run loop"?

I'm into the production phase of my first major OSX application using xCode. It is an eCommerce app accessing eBay with numerous buttons initiating various api calls, and then parsing and displaying the results. It's gotten pretty big and as you…
Rickrcomm
  • 11
  • 2
0
votes
1 answer

How to do socket operation when application entered background?

We are working on conference related application, Is it possible to send and receive packets through socket, after the application entered background? I have googled and found some way like below.... eg: UIApplication *uiApplication =…
Newbee
  • 3,231
  • 7
  • 42
  • 74
0
votes
1 answer

issue is running and stopping CFRunLoop

i have situation where i need to wait till one block is get completed and then only move forward with my code for that i use CFRunLooprun and stop this is how do it i will explain more things in comment in my code [self fatchAllEvent]; // BLOCK…
Prakash Desai
  • 511
  • 3
  • 14
0
votes
2 answers

CFRunLoopRunInMode() within AFHTTPClient success and failure blocks

I'm trying to use CFRunLoopRunInMode() to avoid returning in [AFHTTPClient getPath:...] completion blocks. My code looks like: NSLog(@"start"); __block BOOL someCondition = NO; AFHTTPClient *client = [[AFHTTPClient alloc] initWithBaseURL:[NSURL…
hectr
  • 481
  • 7
  • 15
1 2 3
4