Matthaus Woolard

11 Followers
93 Following
336 Posts
Data Scientist, #Python and #SwiftLang, macOS/iPadOS app developer 🇳🇿
Nil Coalescing bloghttps://nilcoalescing.com/blog/
Exsto drawing apphttps://exsto.app

Creating a seamless user experience in Swift involves managing and clearly communicating errors. User-friendly descriptions and recovery suggestions for custom errors help guide users in resolving issues, making applications more intuitive: https://nilcoalescing.com/blog/UserFriendlyDescriptionsAndRecoverySuggestionsForCustomErrorsInSwift/

#iOSDev #Swift

User-friendly descriptions and recovery suggestions for custom errors in Swift

Guide users through resolving issues and make your Swift applications more intuitive and supportive by defining user-friendly descriptions and recovery suggestions for custom errors.

Nil Coalescing

If you are using Swift Charts in your projects, check out my blog posts to explore some advanced techniques 📈:

Area chart with a dimming layer: https://nilcoalescing.com/blog/AreaChartWithADimmingLayer/

Using Foundation Measurements for values in Swift Charts: https://nilcoalescing.com/blog/UsingMeasurementsFromFoundationAsValuesInSwiftCharts/

Fill bar marks with gradient: https://nilcoalescing.com/blog/FillBarMarksWithGradient/

#SwiftUI #Swift #iOSDev

Area chart with a dimming layer up to the current point in time

Create a chart with the Swift Charts framework to show UV index throughout the day inspired by the iOS Weather app that dims the area up to the current time.

Nil Coalescing

The Swift language constructs `self`, `Self`, and `Self.self` can be confusing, even for experienced developers.

🔹 `self` refers to the instance of the type within its own instance methods.
🔹 `Self` refers to the type that conforms to a protocol, allowing for polymorphic behavior.
🔹 `Self.self` is used to refer to the metatype of the type, essentially the type of the type itself.

You can read more on these constructs in my blog post: https://nilcoalescing.com/blog/UseCasesForSelfInSwift/

#Swift #iOSDev

Use cases for self, Self and Self.self in Swift

Explore the practical applications and distinctions of self, Self, and Self.self in Swift, clarifying their roles in instance referencing, protocol conformance, and metatype access.

Nil Coalescing

Scenes in SwiftUI are essential for managing our app's UI and behavior. Defining custom scenes is a powerful feature that allows for modular, maintainable code, simplifying complex interfaces. Check out my new blog post to learn how: https://nilcoalescing.com/blog/CustomScenesInSwiftUI/

#SwiftUI #Swift #iOSDev

Defining custom scenes in SwiftUI

SwiftUI custom scenes enable the creation of modular, maintainable code, allowing for precise management of complex user interfaces and behavior across different platforms.

Nil Coalescing

Last chance to get my books 'Integrating SwiftUI into UIKit Apps' and 'Swift Gems' with #WWDC24 discount: https://books.nilcoalescing.com

The offer ends in a few hours! #iOSDev #Swift #SwiftUI
https://mastodon.cloud/@natpanferova/112585225641026722

Nil Coalescing Books

Swift and SwiftUI books from Nil Coalescing

Nil Coalescing Books
Do yourself a favor and pick up a copy of @natpanferova's #SwiftGems 📕 for a whirlwind tour of Swift goodness you might not have encountered yet. I can't put it down! 🤩

I like that in iOS 18, the replace symbol effect in SwiftUI uses the new magic replace option by default when possible. It's great for enabling smooth transitions for slashes and badges in SF Symbols.

You can find some more information about it in my post: https://nilcoalescing.com/blog/EnhancedReplaceTransitionForSFSymbolsInIOS18/

#WWDC24 #iOSDev #SwiftUI

Enhanced replace transition for SF Symbols in iOS 18

Leverage the new magic replace symbol effect in iOS 18 for smooth transitions of slashes and badges in SF Symbols.

Nil Coalescing
For a while, presenting a form sheet in SwiftUI, equivalent to the UIModalPresentationStyle.formSheet, was a challenge. On iPadOS 18, with the new presentationSizing() modifier, we can easily achieve this using the form sizing option! #WWDC24 #iOSDev #SwiftUI
https://nilcoalescing.com/blog/FormSheetInSwiftUI/
Present a form sheet in SwiftUI

Starting from iPadOS 18, SwiftUI now allows us to present a form sheet, similar to UIModalPresentationStyle.formSheet.

Nil Coalescing

I love the new APIs for responding to modifier keys in SwiftUI!

🥳 It's so much cleaner and easier to implement.

https://nilcoalescing.com/blog/RespondingToModifierKeys/

#iOSDev #WWDC24

Responding to keyboard modifiers on macOS in SwiftUI

Take advantage of the new macOS 15 API to update SwiftUI views when modified keys are pressed.

Nil Coalescing

WWDC Keynote 2024 🥳

#WWDC24 #sketchnote #AppleEvent