performselector Questions

3

Solved

I would like to perform a selector on the main thread from another thread, but the selector has multiple arguments, similar to this: -(void) doSomethingWith:(int) a b:(float)b c:(float)c d:(float)...
Telepathy asked 30/11, 2011 at 13:9

2

Solved

i am doing function call with scheduledTimerWithTimeInterval. i am just checking that xml parsing is completed or not for particular web services and invalidating timer in didEndElement method afte...
Hartle asked 14/11, 2011 at 9:30

3

Solved

How can I run an arbitrary selector on an object, the return of which is a double? For example, I have obj A, which has method -(double)blah; How can I do double res = [obj performSelector:@select...
Joplin asked 11/11, 2011 at 0:10

1

Solved

In my iPhone app I got several places where I can do a [object performSelector: withObject: afterDelay:] call. All lead to the same method. Now, in that method I want to execute some code only o...
Sillimanite asked 5/10, 2011 at 9:59

4

Solved

I'm writing a client-server app to iPhone. And I have a question about threading. When I access my online database from the device, I need to do this on a separate thread to not freeze the UI/main ...
Catiline asked 29/8, 2011 at 16:30

1

Solved

Grand Central Dispatch is great and reduces the amount of code but why I cannot run something on a background thread? I have made a sample application to show what I mean (none of the commented wor...

© 2022 - 2024 — McMap. All rights reserved.