Karan Shah

Karan Shah

@karanshah.bsky.social

iOS & visionOS Tech Lead at Webex | Previously Nike | Art of Programming | Coffee | Beer | Travel 📍Portland, OR 🌲

509 Followers 284 Following 18 Posts Joined Jul 2023
5 months ago
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...

70 19 0 2
7 months ago
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/...

3 2 0 1
8 months ago

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

1 0 0 0
8 months ago
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...

2 1 0 0
8 months ago

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

2 0 0 0
9 months ago

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.

5 3 3 0
9 months ago

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

5 0 0 0
9 months ago

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

0 1 0 1
9 months ago
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

1 0 0 0
9 months ago

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

26 12 1 0
9 months ago
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/...

5 1 0 0
9 months ago
Post image

New UI Test Recording experience in Xcode 26 #wwdc

3 0 0 0
9 months ago
Post image

New Compilation caching for Swift and C family languages #wwdc

5 0 0 0
9 months ago

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

8 3 2 0
9 months ago
Post image

iPadOS 26 updates #wwdc

0 0 0 0
9 months ago
Post image

visionOS 26 updates #wwdc

1 0 0 0
9 months ago

Widgets just replaced half of the visionOS App Store 🙃

8 3 1 0
9 months ago
Post image

macOS 26 Tahoe updates #wwdc

0 0 0 0
9 months ago
Post image

iOS 26 updates #wwdc

1 1 0 0
9 months ago
Post image Post image Post image

Live translation via Call Translation API looks helpful

0 0 0 0
9 months ago
Post image

Digging the new context menu design #wwdc

1 0 0 0
9 months ago
Post image

Unified version numbers #wwdc

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

developer.apple.com/wwdc25/

7 2 1 0
10 months ago
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...

40 9 2 5
11 months ago
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...

9 5 0 0
11 months ago
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 1 0 0
1 year ago

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 🎉

34 6 1 0
1 year ago

👋 from the Swift team, now on Bluesky!

566 110 32 20
1 year ago
Video thumbnail

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.

8 3 1 0
1 year ago

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.

3 0 1 0