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
Apr 24 2026 · 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
Apr 24 2026 · 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
Apr 24 2026 · 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
Apr 24 2026 · 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
Apr 24 2026 · Chapter
Start building a full app using SwiftUI. Design and implement the layout using SwiftUI components.
iOS & Swift
Chapter in macOS Apprentice
Adding Toolbars & Menus
Apr 24 2026 · Chapter
…added yourself. Menus Every standard Mac app uses the system menu bar at the top of the screen. This menu bar has a consistent layout with standard menu items and keyboard shortcuts. You’ll often find app controls duplicated in the menus as a way of providing keyboard-based operations…