swift - Program that will run continuously without any condition -
i want write code in swift in xcode, should has button function , others, code should has function, run continuously without condition. there chance this?
if want code run continuously might want loop (as in while-loop) runs in background thread don't block ui. everytime ui should update, have dispatch changing activities ui-thread.
for general tutorial swift-multithreading refer https://www.raywenderlich.com/148513/grand-central-dispatch-tutorial-swift-3-part-1
Comments
Post a Comment