Select movies in the table to show their details. Design a more complete user interface using the storyboard and Auto Layout. Mark your favorite movies…
iOS & Swift
Chapter in macOS Apprentice
Creating the Edit Interface
Mar 5 2025 · Chapter
…window to edit a movie. Set up the user interface for the new window. Pass data to and from it. Configure the view using Auto Layout…
iOS & Swift
Chapter in macOS Apprentice
Beginning AppKit
Mar 5 2025 · Chapter
…what size to be. But your users can resize the window and the views need to adjust accordingly. To allow for this, you use Auto Layout. With Auto Layout, you provide constraints to set spacing between objects and provide size limits. This can get tricky when you have multiple views…
iOS & Swift
Chapter in macOS Apprentice
Using Cocoa Bindings
Mar 5 2025 · Chapter
…last chapter, you designed the movie edit window. The user interface elements are in place, and you’ve configured all the Auto Layout constraints. Now, you have to display the data and allow the users to edit it. You’ve already created the main table and populated it using…
iOS & Swift
Chapter in macOS Apprentice
Using SwiftUI in AppKit
Mar 5 2025 · Chapter
Creating a window in SwiftUI is quicker and easier than doing it in AppKit, mostly because you don’t have to struggle with Auto Layout. And handling user settings takes a lot less code in SwiftUI. Now on to something a bit different. Jazzing Up the Table…
iOS & Swift
Chapter in macOS Apprentice
Beginning SwiftUI
Mar 5 2025 · Chapter
Start building a full app using SwiftUI. Design and implement the layout using SwiftUI components.