Lecture 14: Document Architecture
Lecture 14 of Stanford’s Spring 2021 iteration of its CS193p course begins with an overview of the App and Scene protocols. We then discuss WindowGroup, @SceneStorage and @ScaledMetric in more depth, before moving on to a demo in which we use these these APIs to restructure our EmojiArt application, preserve the state of our app and documents, and scale our emoji sizes appropriately. We also engage in an in-depth discussion on DocumentGroup and ReferenceFileDocuments before using this SwiftUI document architecture to implement a much more concise version of our EmojiArtDocument code. Finally, using UTTypes and Undo, we create a new document type that can be accessed through the native iPhone Files app and can support undo and redo capabilities.
Видео Lecture 14: Document Architecture канала Stanford
Видео Lecture 14: Document Architecture канала Stanford
Показать
Комментарии отсутствуют
Информация о видео
Другие видео канала
Lecture 12: Core DataLecture 15: UIKit IntegrationLecture 1: Getting started with SwiftUILecture 7: Multithreading EmojiArtLecture 8: Gestures JSONLecture 13: Publisher More PersistenceLecture 10: Multithreading Demo GesturesLecture 11: PickerLecture 10: Navigation + TextFieldLecture 16: Multiplatform (macOS + iOS)Lecture 5: ViewBuilder + Shape + ViewModifierWhy great architecture should tell a story | Ole ScheerenLecture 9: Data FlowSelf Taught Programmers... Listen Up.Lecture 6: AnimationGeneral Relativity Lecture 1Lecture 9: EmojiArt Drag and Drop MultithreadingLecture 5: Properties Layout @ViewBuilder