Top "Performselector" questions

performs a method on the (Objective C) receiver

iOS - How to implement a performSelector with multiple arguments and with afterDelay?

I am an iOS newbie. I have a selector method as follows - - (void) fooFirstInput:(NSString*) first secondInput:(NSString*) …

iphone ios selector performselector
How to Wait in Objective-C and Swift

I want to change my UILabel's text after 2 seconds. I tried setting my UILabel's text to "A text", and use …

ios objective-c swift wait performselector
Alternative to performSelector in Swift?

The performSelector family of methods are not available in Swift. So how can you call a method on an @objc …

swift performselector
iOS performSelectorOnMainThread with multiple arguments

I would like to perform a selector on the main thread from another thread, but the selector has multiple arguments, …

objective-c ios arguments performselector
perform selector after delay only called once

I have an app in which i need to call an instance method after every 1 or 2 seconds. Now if i …

ios objective-c xcode viewdidload performselector
Return value for performSelector:

What will the return value for performSelector: if I pass a selector that returns a primitive type (on object), such …

objective-c cocoa-touch cocoa performselector
Swift alternative to performSelectorOnMainThread

I want to reload my table data inside a block in this method: import UIKit import AssetsLibrary class AlbumsTableViewController: UITableViewController { …

swift performselector ios8
Best way to performselectoronmainthread in objective c?

I'm writing a client-server app to iPhone. And I have a question about threading. When I access my online database …

objective-c multithreading xcode performselector
How to call performSelectorInBackground with a function having arguments?

Sorry for the newbie question (maybe). I'm developing an app for ios and i'm trying to execute an external xml …

ios objective-c performselector
PerformSelector warning

I'm receiving a warning PerformSelector may cause a leak because its selector is unknown In the code: - (void) callDelegate: (…

ios objective-c compiler-warnings performselector