Lecture 12: Bindings Sheet Navigation EditMode

Stanford published this video item, entitled “Lecture 12: Bindings Sheet Navigation EditMode” – below is their description.

Lecture 12 of Stanford’s Spring 2021 course CS193p covers property wrappers in SwiftUI, reviewing wrappers like @ObservedObject and @State and covering new ones like @Binding, @Environment, @EnvironmentObject, and @StateObject. After that, we dive into an immersive demo that illustrates a myriad of SwiftUI features, including TextFields, Forms, NavigationViews, Lists, sheets, popovers, Alerts, EditMode, and more. In particular, we start by adding a context menu that allows us to create new palettes, delete palettes, and switch between palettes. We then add a popover and a Form to our EmojiArt document that allows editing an emoji palette via a @Binding. We’ll further enhance the UI to manage all of our emoji palettes. This UI will use a number of SwiftUI mechanisms including context menus, EditMode, and navigating between Views using NavigationViews and NavigationLinks.

Stanford YouTube Channel

Got a comment? Leave your thoughts in the comments section, below. Please note comments are moderated before publication.

Leave a Comment

We don't require your email address now, just your name. BUT, if you do add it, you may be notified if there are replies to your comment. Please make respectful comments, which add value, and avoid personal attacks on others. Comments failing to adhere to these guidelines will not be published.