Users Pricing

forum

Home Forums Executing performSelectorOnMainThread on multithreaded app in iOS? – MindStick

Executing performSelectorOnMainThread on multithreaded app in iOS?

Anonymous User 1915 09 Dec 2015

When I was creating a multithreaded app in iOS, I noticed that the following code will call the main thread:

[self performSelectorOnMainThread:@selector(rollBar:)
                       withObject:nil
                    waitUntilDone:false];

but, I am unable to create multithreaded app, so please anyone tell me the correct procedure to create multithreaded application and what code we use in other controllers to get functionality of multithread in our app.

Thanks.


1 Answers

Tarun Kumar 10 Dec 2015 Accepted Answer
Markdown for AI

A clean, structured version of this page for AI assistants and LLMs.

Open .md