Tagged with visionOS
- 21. Links for September 21, 2024
Links for September 21, 2024
- 21. As iOS devs, sometimes We have to write repeatable code. This tedious task is very boring, error-prone, and unsatisfying. Instead of falling into despair we can elevate our experience with Swift Macros! We will create a macro which will automate creating SwiftUI representation to a UIKit view! For the purpose
Power of Swift Macros
- 09. Navigation Patterns in SwiftUI
Navigation Patterns In Swiftui
- 09. Links for September 9, 2024
Links for September 9, 2024
- 09. Sometimes, we write code that needs set some state or perform some work at the start of a function and at the end of that same function we might have to reset that state, or perform some cleanup…
What is defer in Swift?
- 09. SwiftData adds predicate expressions in iOS 18.
SwiftData Expressions
- 08. Links for September 8, 2024
Links for September 8, 2024
- 08. When is AnyObject not AnyObject? When it's a protocol type.
AnyObject
- 04. At WWDC24, Apple introduced Swift Testing, which is a new way to write tests in Swift, practically replacing XCTest for unit tests. And it’s great. There are two sessions that give a great introduction to the new framework, and I recommend checking them out: Meet Swift Testing Go further with Swift Testing
Testing Swift Testing
- 04. Links for September 4, 2024
Links for September 4, 2024
- 11. Links for August 11, 2024
Links for August 11, 2024
- 11. “Learn how you can use the if case let syntax to perform complex pattern matching against enums with associated values”
if case let in Swift explained
- 04. “Macros in Swift allow you to extend the compiler with custom build errors and code generation to eliminate extraneous boilerplate code.”
Swift Macros: Extend Swift with New Kinds of Expressions
- 04. Links for August 4, 2024
Links for August 4, 2024
- 28. Unofficial index of WWDC sessions.
WWDC Index
- 28. Links for July 28, 2024
Links for July 28, 2024
- 20. Links for May 20, 2024
Links for May 20, 2024
- 20. I didn’t know about this Swift feature. nice.
Swift Parameter Packs · paul-samuels.com
- 10. Parsing JSON Data is a fundamental in modern SwiftUI apps. This comprehensive guide covers all the aspects of the Codable protocols in Swift.
Parsing JSON in Swift: The Complete Guide [With Examples]
- 10. Links for May 10, 2024
Links for May 10, 2024
- 22. Links for April 22, 2024
Links for April 22, 2024
- 22. When SwiftUI was first released, one of the great features that piqued my interest was the instant preview function. This feature empowers developers to
Using Xcode Previews in UIKit Development | AppCoda
- 22. This has come up several times on the forums, but I've never written it up in a standard place, so here it is: **There are only three ways to get run-time polymorphism in Swift.** Well, three and a half.
Run-time Polymorphism in Swift
- 05. Links for April 5, 2024
Links for April 5, 2024
- 05. The new Xcode bookmarks are FANCY
Xcode Bookmarks
- 19. Links for February 19, 2024
Links for February 19, 2024
- 19. The new Apple Vision Pro device is almost here, and SwiftUI is the best way to build a visionOS app quickly and natively. This week, we will continue the topic of the new SwiftUI APIs that we can use to adapt our apps to visionOS. We will learn about the new user interface component called ornaments.
visionOS ornaments in SwiftUI
- 08. Links for July 8, 2023
Links for July 8, 2023
- 08. Improving multiplatform SwiftUI code
Improving multiplatform SwiftUI code