runloop Questions

5

Solved

I'd like to have a method be executed after the current method has passed and the UI has been updated. For that purpose, I'm using [object performSelector:@selector(someSelector) withObject:someObj...
Mccallister asked 14/11, 2009 at 16:14

5

Solved

Before beginning note that this has nothing to do with background processing. There is no "calculation" involved that one would background. Only UIKit. view.addItemsA() view.addItemsB() v...
Preserve asked 23/2, 2017 at 15:41

3

Solved

I'm learning socket communication on iPhone, and its guide said something about CFRunloop(it is a guide for CFNetwork, can this be used on iOS?) Where can I learn about runloop on iOS?API referenc...
Zebedee asked 2/6, 2011 at 15:27

4

Solved

I have a need to delay for a certain amount of time and yet allow other things on the same runloop to keep running. I have been using the following code to do this: [[NSRunLoop currentRunLoop] run...
Aphasic asked 12/10, 2012 at 19:13

3

Solved

I've just read the following post and have tried to implement the approach described there: Writing iOS acceptance tests using Kiwi - Being Agile All the stuff described there does work perfectly...
Heirship asked 6/6, 2013 at 23:15

2

Solved

I'm trying to get a simple example working with GCDAsyncSocket, and am discovering that I'm missing certain bits of understanding and hope you fine people can help explain this. I've setup the GCD...
Highchair asked 3/11, 2011 at 15:7

2

Solved

I don't understand it at all but NSTimer in my app definitely is running in background. I have a NSLog in method run by the timer and it is logging while it's in background. It's on iPhone 4 with i...
Kragh asked 3/3, 2011 at 23:4

1

First, my question: How do you manage your iOS Run-Loop? Next my reason: I've been researching this with a variety of prototypes (v. early stage development) and have found a number of perplexing ...
Hanforrd asked 27/1, 2011 at 15:3

10

Solved

If you are an advanced user of drawRect, you will know that of course drawRect will not actually run until "all processing is finished." setNeedsDisplay flags a view as invalidated and th...
Fibroid asked 19/1, 2011 at 19:32
1

© 2022 - 2024 — McMap. All rights reserved.