
Explore how a computer executes a program as a sequence of instructions, use Xcode playgrounds to learn and test code with templates, and manage data in memory using variables.
Master Swift control transfer statements - continue, break, and guard - and see how they interrupt loops and switch statements, while guard lets you read variables outside their blocks.
Learn about overloading and generic functions in Swift by using the same function name for different parameter types, with generic data types converted to the received type at call.
Explore Swift's standard library functions, from print and error handling with fatalError and precondition to creating sequences with repeatElement, stride, and zip, using for in loops.
Master primitive type structures in Swift, wrapping data and functionality with initializers and casting. Learn about properties, methods, min and max, rounding, and string-to-number conversions.
Explore enumerations in Swift by defining enum types with cases, initializing and assigning values using dot notation, and controlling flow with switch statements.
Learn how reference types differ from value types: structures and enums copy on assignment due to the Copyable protocol, creating instances, while objects are passed by reference and share memory.
Explore how self references objects in Swift, clarifying property versus parameter names. Learn how meta types use self to reference the type itself and create instances.
Explore swift access control and modifiers, including lazy properties, private and public access, and singletons with a shared instance and main actor to prevent data races.
Explore generic protocols by defining an associated type and implementing it in a struct that conforms to a protocol, such as a printer protocol and employees struct.
Learn error handling by throwing with throw and throws, using an error enum that conforms to the error protocol, applying it to a stock example signaling out of stock.
Learn the Swift result enum with success and failure cases and generic associated values. Use switch or the get method to process outcomes and print remaining stock.
Explore Swift macros that auto-generate code before compilation, freeing developers from repetitive tasks. Identify that freestanding macros use the pound prefix, while attached macros use the at prefix.
Explore core graphics, Apple’s legacy 2D drawing framework, now integrated with modern UI tools. Learn Swift data types cgsize, cgpoint, and cgrect, with their inits, properties, and zero values.
Discover how SwiftUI files initialize an app via a struct conforming to the app protocol, whose body returns a scene inside a window group and defines the initial content view.
Explore SwiftUI grids to arrange content in multiple rows and columns, using grid and grid row structures, grid cell columns, and alignment to build nested layouts.
Learn to build custom layouts in SwiftUI by conforming to the layout protocol, implementing size that fits and place subviews to position views, and switch between custom and VStack layouts.
Explore SwiftUI’s button view, including initializers, label options, actions, and state toggling. Learn to show or hide views, disable buttons, render templates, and apply standard or custom button styles.
Learn to use SwiftUI's progress view to show task progress with a 0.0–10.0 range, an initial value of 5, and a slider demo, plus switching to a circular activity indicator.
Explore SwiftUI date picker and multi date picker to bind single or multiple dates, with options for date or time values, styles, ranges, and reflect selections in a text view.
Embed the content in a navigation stack to enable multiple views and right-to-left transitions, with a top navigation bar and a navigation title modifier.
Learn how SwiftUI alert views present messages and collect input using the alert modifier and a state property, with text fields and buttons for actions like cancel, delete, and save.
Explore search in a tab view by adding a predefined search tab with a magnifying glass icon, using the role argument, and implementing a search bar for iPad designs.
Design a real-life tab view application that shows a books list, a settings-driven configuration, and a search feature, with a model-driven toggle-controlled display of covers and publication year.
This course is built using the latest Apple release, iOS 18
Welcome to "SwiftUI Mastery - The iOS 18 Reference Library of Code, the definitive guide to to learning everything SwiftUI.
This is a SwiftUI Reference Course / Cookbook / and Set of Documentation, for everything SwiftUI. There are hundreds of downloadable examples / video instruction / and projects here so you can get the code you need and add it directly into your projects / create your own SwiftUI docs, or add this to your own existing SwiftUI docs.
My name is Steve DeStefano, i am a SwiftUI developer, and working together with the brilliant programmer J.D. Gauchat, I have turned his best selling book "SwiftUI for Masterminds, the iOS 18 edition" into this complete developers mastery course.
This course is different than other courses, in that we don’t just scratch the surface, or build a few simple apps… in here, I give you the SwiftUI framework, explained.
All the instruction, all the downloadable examples, and all the tools that you need to build your own insanely cool apps, without any wasted time or chatter. I am strictly on point reading from the book, typing the code, and explaining how it all works. I use labels, graphics, animations, and other callouts to help draw your attention to the flow of the code.
You get the step by step instruction for each technology in the SwiftUI framework, and see how to use the different views, initializers, methods, and modifiers that are available for each of those technologies.
Also included in the course is the code file for every lecture, so you can download it and use in your apps right away, all built with the latest release, and tested to run perfectly. This is a huge library of code, hundreds of examples highlighting the SwiftUI Framework, neatly categorized for easy look up and reference, so you have everything you need to create your own stunning apps to submit to the App Store.
If you’re new to Swift, no problem, there is a language section in the beginning of the course that will walk you through the Swift Language and get you up to speed, fast.
If you’re an experienced programmer, this course will be your go to resource, because it is a huge repository of instruction and downloadable code thats perfect to add to your own set SwiftUI docs.
Here are some of the topics covered:
App Development • Swift Language (complete language) • Protocols • Frameworks • User Interface • View Protocol • Opaque Types • Text • Modifiers • Color View • Image View • Event Modifiers • Custom Modifiers • Layout • Safe Area • Priorities • Alignment Guides • Groups • Custom Views • Previews • Regex Framework • Grids • Preview Modifiers • Environment • Property Wrappers • @State • @Binding • @Environment • @AppStorage • Model • Observable • @EnvironmentObject • View Model • Combine Framework • Publishers • Subscribers • Transforming values • Operators • Subjects • Controls Button View • TextField View • SecureField View • Toggle View • Slider View • Stepper View • Navigation View • NavigationLink View • TabView View • Sheets • Popovers • Alert Views • Action Sheets • Split Views • Custom Navigation • Size Classes • Orientation • GeometryReader View• Preferences • Mac Catalyst • Conditional Code • Menu • Multiple Windows Support • Lists • ForEach View • ScrollView • List View • Sections Edition Mode • Custom Buttons • Search • Picker View • DatePicker View • Forms • Shapes • Charts • Gradients • Images • Paths • Custom Shapes Transformations • Animations • Hit Testing • Transitions • Gesture • Notification Center • System Notifications • User Notifications • Provisional Notifications • User Defaults • File Manager • URLS and Paths • Files and Directories • Bundle • Archiving • Encoding and Decoding • JSON • Core Data • Core Data Model • Core Data Stack • Sort Descriptors • iCloud • Testing Devices • Key Value Storage • @AppStorage • UIKit Integration • Web • Safari View Controller • MapKit • Camera • Photo Library • Custom Camera • AviKit FrameWork • Custom Video Player • Collection View • Apple Developer Program • Publishing to the App Store • Certificates, Provisioning Profiles, Identifiers • App Store Connect • Swift Language .• And much more.
So come code along with JD and myself, working with an incredibly cool and insane set of design tools, and learn everything you need to know about the SwiftUI Framework, and how to implement and leverage all of its great new technologies.