« * K @twostraws.bsky.social

Paul Hudson @twostraws.bsky.social

2026-11-11 16:53 UTC

For HWS+ subscribers: Two small attributes, big clarity gains: @warn_unqualified_access can save you from accidentally calling a method on self in SwiftUI, and @discardableResult lets you silence unused return value warnings when they're intentional. www.hackingwithswift.com/plus/inside-...

Link: Increasing clarity with function attributes – Hacking with Swift+ (www.hackingwithswift.com/plus/inside-swift/increasing-clari…)

1 likes, 0 reposts, 0 replies

3 Next post4 More from @twostraws.bsky.socialBackBluesky home
☆ Save to home · 0 Home · Find · Games · Chat · AI · Setup