« * K @twostraws.bsky.social

Paul Hudson @twostraws.bsky.social

2026-11-02 14:15 UTC

if #available checks whether something exists. #unavailable is the clean inverse - no more empty if blocks with all your real code hidden in the else. www.hackingwithswift.com/swift/5.6/un...

Link: Unavailability condition – available from Swift 5.6 (www.hackingwithswift.com/swift/5.6/unavailable)

6 likes, 0 reposts, 0 replies

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