오늘은 iOS에서 Timer 에 대해 다뤄보려고 합니다. 사실 얘는 굳이 SwiftUI 에서만 쓰이는것은 아니지만 굳이 SwiftUI로 분류한 이유는 밑의 목차에서 TimerPublisher 때문입니다.
Publisher를 온전하게 사용하기 위해선 Combine이 필요하고 Combine은 SwiftUI 에서 가장 좋은 퍼포먼스를 보이기 때문이죠. 애플 공식문서를 바탕으로 오늘의 목차를 짜봤습니다. 1.
공식문서 둘러보기 2. 스탑워치 예제 3.
실시간 뉴욕시계 예제 (feat. TimerPublisher) 1.
공식문서 둘러보기 애플공식문서 링크 : https://developer.apple.com/documentation/foundation/timer/ Apple Developer Documentation An unknown error occurred. Apple Developer Documentation Platforms iOS iPadOS macOS tvOS watchOS L...
원문 링크 : [SwiftUI] Timer