Building a Simple Time Tracker With SwiftUI — Part 2

Taking in user input and saving to UserDefaults

Iiro Alhonen

--

Last week we made the minimum viable product (MVP) for our time tracker app. This week we’ll make the second iteration and allow the user of the app to add their own projects and save the time tracked to UserDefaults so that it will persist between sessions. Find part one here, and the source code here. The source code for this article can be found in the branch post/part-2.

--

--

Iiro Alhonen

iOS developer building cool products and nerding out about comics. Currently running my first big D&D campaign. Occasionally funny,