[iOS] Timer, Run Loop 에 대해


[iOS] Timer, Run Loop 에 대해

Timer에 대해 알아보려면 일단 Runloop 라는 개념을 알아야 한다.Runloop 란 ? A run loop is an event processing loop that you use to schedule work and coordinate the receipt of incoming events. The purpose of a run loop is to keep your thread busy when there is work to do and put your thread to sleep when there is none.애플 공식 문서의 설명에 따르면 Run Loop 란 작업을 스케줄링하고 들어오는 이벤트를 조정하기 위해 사용되는 '이벤트 처리 루프' 이다. The main dispatch queue is a globally available serial queue that executes tasks on the application’s main thread. This queue works with ..........



원문링크 : [iOS] Timer, Run Loop 에 대해