iOS Run Loop, What Why When

Prafulla Singh
4 min readFeb 18, 2020
Picked From Stack overflow in Credits

Run Loop is a mechanism that allows threads to process events at any time without exiting.

Run Loop is actually an object that manages the events and messages that it needs to process and provides an entry function to execute the logic of the Event.

After the thread executes this function, it will stay in the “accept message-> wait-> processing -> Sleep till next message -> accept message”

--

--