New in SwiftUI 3: TimelineView in SwiftUI 3 and iOS 15

TimelineView is another addition to iOS 15 and gives us a view that update its content periodically with the schedule provided by you.

Timeline view itself doesn’t have any appearance but it acts like a container (just like Group). Its main responsibility is to redraw its content at scheduled points in time.

Let’s start with init for TimeLineView: