I have several methods inside my view controller that are loaded for future actions, I call them all within the same method, that is:
- (void) updateSongInformation { artistName.text = @"Testing"; [self setupEmail]; [self checkStatus]; }
If I take out the last 2 lines, UILabel is updated instantly. Is there a way to run the last 2 methods in the background so that the user does not linger?
execute Selector: withObject: afterDelay: allows you to push calls to a later runloop loop.
, , , , , . , performSelector: withObject: afterDelay: .
Source: https://habr.com/ru/post/1707566/More articles:Texture2D iPhone SDK openGL - iphoneOvercoming the length of a bit algorithm search pattern - stringCreating dictionaries with predefined keys - pythonWCF Errors with SOAP - soapC55: more information? - pythonObjective-C 2.0; Property assignment; Memory leak? - memory-managementС++ как вызвать метод родительского класса из содержащегося класса? - c++CLR intervenes in C ++ STD? - c ++How to download images from user’s photo album to iPhone? - iphoneThe main issue of archeology games - designAll Articles