Advertisement · 728 × 90

Posts by Karan Shah

let config = ConfigReader(providers: [
    EnvironmentVariablesProvider(),
    try await JSONProvider(filePath: "/etc/config.json")
])
let httpTimeout = config.int(forKey: "http.timeout", default: 60)
print(httpTimeout) // prints 15

let config = ConfigReader(providers: [ EnvironmentVariablesProvider(), try await JSONProvider(filePath: "/etc/config.json") ]) let httpTimeout = config.int(forKey: "http.timeout", default: 60) print(httpTimeout) // prints 15

Introducing Swift Configuration, a new way to share and manage configuration for Swift. It's a smarter way to keep secrets safe and separate develop/test/prod environments. More here: forums.swift.org/t/introducin...

6 months ago 70 19 0 2
Post image

It takes only these few lines of code to immediately unlock CloudKit synchronization to our local-only reminders app. It just works™, and it's only the tip of the iceberg.

Check it out for yourself!
👉 github.com/pointfreeco/...

8 months ago 3 2 0 1

Also X in Xcode is Roman number ten, so it is pronounced Ten-code ;)

9 months ago 1 0 0 0
Preview
Watch Haptic Trailer - Apple TV+

It’s cool how Apple made this F1 trailer with haptic feedback! Watch it on your iPhone if you haven’t seen it yet:

tv.apple.com/pl/clip/hapt...

10 months ago 2 1 0 0

You can use “#if compiler(>=6.2)” as an alternative. That checks if the Xcode has Swift 6.2 which works with any Xcode version. So:

#if compiler(>=6.2)
some new iOS 26 api
#else
Fallback if needed
#endif

10 months ago 2 0 0 0

SwiftUI group lab:
1. Lean into @Observable. Architecture should remain testable and modular.
2. Fine-grained invalidation from @Observable is great. Don’t hold one big struct—prefer small pieces of data.

10 months ago 5 3 3 0

AppIntents are now compatible with Swift Package Manager! 🎉
#wwdc #wwdc25 #xcode26

10 months ago 5 0 0 0

Oh cool! All the #wwdc session videos are live. No need to wait for the daily drop this year. 👨‍💻

10 months ago 0 1 0 1
Advertisement
Preview
Adopting Liquid Glass | Apple Developer Documentation Find out how to bring the new material to your app.

Adopting Liquid Glass design developer.apple.com/documentatio...
#wwdc

10 months ago 1 0 0 0

Lots of great Swift content coming soon, starting with What's New in Swift with @hborla.bsky.social and @tshortli.bsky.social

developer.apple.com/videos/play/...

#swift #swiftlang #wwdc

10 months ago 26 12 1 0
Preview
Explore concurrency in SwiftUI - WWDC25 - Videos - Apple Developer Discover how SwiftUI leverages Swift concurrency to build safe and responsive apps. Explore how SwiftUI uses the main actor by default...

👀 developer.apple.com/videos/play/...

10 months ago 5 1 0 0
Post image

New UI Test Recording experience in Xcode 26 #wwdc

10 months ago 3 0 0 0
Post image

New Compilation caching for Swift and C family languages #wwdc

10 months ago 5 0 0 0

Wow, everything from iPhone 11 up still supported, + both newer SE's 😳 only XR & XS are dropped

iPad -> only 7th gen plain iPad dropped

Mac -> drops a few Macs, but I think a few Intel ones stay

watchOS -> all previous still supported

This is actually pretty impressive too 👀 #wwdc25

10 months ago 8 3 2 0
Post image

iPadOS 26 updates #wwdc

10 months ago 0 0 0 0
Post image

visionOS 26 updates #wwdc

10 months ago 1 0 0 0

Widgets just replaced half of the visionOS App Store 🙃

10 months ago 8 3 1 0
Advertisement
Post image

macOS 26 Tahoe updates #wwdc

10 months ago 0 0 0 0
Post image

iOS 26 updates #wwdc

10 months ago 1 1 0 0
Post image Post image Post image

Live translation via Call Translation API looks helpful

10 months ago 0 0 0 0
Post image

Digging the new context menu design #wwdc

10 months ago 1 0 0 0
Post image

Unified version numbers #wwdc

10 months ago 1 0 0 0
Preview
WWDC25 Join the worldwide developer community online for a week of technology and creativity.

developer.apple.com/wwdc25/

11 months ago 7 2 1 0
Screenshot of the Accessibility Nutrition Label. It shows accessibility features that the app supports, like VoiceOver, Sufficient Contrast, Captions and Reduce Motion

Screenshot of the Accessibility Nutrition Label. It shows accessibility features that the app supports, like VoiceOver, Sufficient Contrast, Captions and Reduce Motion

Accessibility Nutrition Labels come to the App Store! 😱

#a11y

www.apple.com/newsroom/202...

11 months ago 40 9 2 5
Post image

🔍 Apple recently released a full tutorial on how to Profile Apps using Instruments, and it is an invaluable resource for those of you who are interested and don't know where to start!

developer.apple.com/tutorials/in...

1 year ago 9 5 0 0
Preview
WWDC25 Join the worldwide developer community online for a week of technology and creativity.

WWDC 2025 will be June 9-13, 2025 developer.apple.com/wwdc25/

1 year ago 1 1 0 0

As part of the @vapor.codes Vapor 5 work I've just finished migrating all the tests (all 517) to Swift Testing. So much nicer to write, easier to reason about and as an added bonus the test suite takes 13s instead of the minute before because they're parallel by default 🎉

1 year ago 34 6 1 0
Advertisement

👋 from the Swift team, now on Bluesky!

1 year ago 565 110 32 20
Video

OpenAI has launched the beta version of a new feature—Tasks. This feature allows users to schedule future actions and reminders, whether they are one-time reminders or recurring actions. Just tell ChatGPT what you need and when you need it, and it will automatically take care of it.

1 year ago 8 3 1 0

Lately I’ve been using ChatGPT and Claude to bounce ideas and help figure it out. Sometimes it works and sometimes it leaves me more confused but it’s a decent rubber duck to help out in these situations.

1 year ago 3 0 1 0