Загрузка...

Ch. 2.2 A Beginner's Guide to Working with Optionals in Swift - Prof G's SwiftUI Course (2025)

In this Beginner's Guide to Optionals in Swift, you'll learn about nil in Swift, how to safely force unwrap an optional by checking for nil, and how to use if let, guard let, and nil coalescing (the ?? operator). As a bonus, we'll also cover the trimmingCharacters method to strip out unwanted characters from a String.
Part of a university course by Prof. John Gallaugher designed for the absolute beginner, where students will learn to program using Swift + SwiftUI. The course will move from no assumed prior programming experience while students learn fundamental, then intermediate and advanced concepts, culminating in a full stack app. Full free course playlist at:
https://bit.ly/prof-g-swiftui

Видео Ch. 2.2 A Beginner's Guide to Working with Optionals in Swift - Prof G's SwiftUI Course (2025) канала Prof. John Gallaugher
Яндекс.Метрика
Все заметки Новая заметка Страницу в заметки
Страницу в закладки Мои закладки
На информационно-развлекательном портале SALDA.WS применяются cookie-файлы. Нажимая кнопку Принять, вы подтверждаете свое согласие на их использование.
О CookiesНапомнить позжеПринять