itshan retweeted
We can use push-to-start to trigger a live activity from our server.
First, send a push-to-start token from your app to the server, then use APNs to push an ActivityKit update to the app.
This wakes the app in the background, allowing it to download an image to the app group (and show it on the lock screen!)
blog.jacobstechtavern.com/p/…
itshan retweeted
DispatchSemaphore allows us to manage parallelism in GCD: we call wait() and signal() on the semaphore to block the thread (until a slot is available), then release the slot and allow another parallel job.
A semaphore simply keeps count of these parallel ‘slots’. You choose how many when you create it, e.g. DispatchSemaphore(value: 2). This is your ‘concurrency limit’.
Blocking with wait() in the for url in urls loop happens on the background thread, but be careful about using these on main. We use a DispatchGroup and notify(queue: .main) to signal on the main thread once all the work is complete.
Never wait() on the main thread, because it freezes your UI until someone calls signal(). If that signal() is itself waiting to run on the main thread, you’re deadlocked.
blog.jacobstechtavern.com/p/…
itshan retweeted
One Word : Insane
Hot reloading with Xcode shown by @kabiroberai his tools in beta
#swiftbharat @swiftbharat
itshan retweeted
Announcing Swift 6.4.3, a maintenance release with bug fixes across multiple areas including the compiler, Linux backtraces, Foundation on Windows, and Swift Testing. Read more: forums.swift.org/t/announcin…
itshan retweeted
⚡️ Your fast track from app idea to first users.
Build for iOS and Android with Kotlin Multiplatform, without the hassle.
Your AI agent uses the new Kotlin Toolchain to handle the workflow through one CLI, from project setup to TestFlight.
Watch it in action 👇
itshan retweeted
Will GlassDash run on your iPad or iPhone? 📱
Minimum:
- iPad on iPadOS 17+ (iPad 6, Air 3, mini 5, Pro 2017 or newer)
- iPhone on iOS 17+ (XS, XR, SE 2 or newer)
Best experience:
- iOS 18+ for live directions on the Lock Screen and Dynamic Island
- iPhone 12 or newer for Road Vision
Extras:
- Wi-Fi iPad? Your iPhone becomes its GPS
- LiDAR to scan your own car in 3D
- Bluetooth LE OBD-II adapter for live engine data
Free public beta on TestFlight, comment "GlassDash" for invite 👇
Andarium: the Android emulator for iOS, is now available on App Store!
apps.apple.com/us/app/andari…
It runs not only modern arm64 Android apps, but also many legacy arm32 apps. Thanks to a real Linux kernel running under the hood, advanced apps like Winlator and Termux can also run.
itshan retweeted
Amazing Work.
I'm also doing OpenSwiftUI on the Web via Wasm. Since UIKit is not available on this platform, I had to do a lot of dirty work.
Hope we can collaborate in the future and I can use your WebUIKit as my OpenSwiftUI on Wasm's default backend when your project is open sourced.
itshan retweeted
Check out Code Mode, a new, experimental way for Claude Code to work with tools. Claude writes scripts that chain your tools together in sophisticated ways, and it can answer you while long commands are still running.
Opt in with CLAUDE_CODE_EXPERIMENTAL_CODE_MODE=1 code.claude.com/docs/en/code…
itshan retweeted
A Wendi é minha heroína ela é uma tradutora incrível!
Ela faz traduções entre inglês, mandarim e coreano!!
我给 SwiftUI 写了个兼容层,把这个 SwiftUI 写的 UI 库成功跑到 Windows 和 Linux 上了。兼容层是用 nativeapi 来实现的。
github.com/dazzlabs/dazzui
#NativeAPI #DazzUI #SwiftUI



































