In this lesson, you’ll learn about the app lifecycle which includes retrieving and processing data, rendering the UI and handling user interaction. More importantly, you’ll see how Swift code puts this cycle in motion and keeps it going.
You’ve already seen what Swift code for the user interface looks like. In this lesson, you’ll begin to learn how Swift code is used to keep track of the data in your app!

⏱ Time Stamps ⏱
00:00 Intro
01:03 The View Lifecycle of an App (Diagram)
03:00 What is an Xcode Playground?
04:43 What does data look like?
04:54 Swift String
05:05 A Comment
05:32 Swift Int
05:43 Swift Double
05:55 Swift Bool
06:26 How to keep track of data?
06:38 The var keyword (variable)
08:17 The print( ) function
12:29 The let keyword (constant)
13:59 Conclusion

#swift #mobile-apps

Swift Programming Basics: View Update Lifecycle, Variables and Constants
2.00 GEEK