Dew Drop - November 12, 2026 (#4791)
https://alvinashcraft.com/2026/11/12/dew-drop-november-12-2026-4791/
Live and recent posts from across the Fediverse tagged #swift, aggregated by home.social.
Dew Drop - November 12, 2026 (#4791)
https://alvinashcraft.com/2026/11/12/dew-drop-november-12-2026-4791/
Исследование производительности механизмов синхронизации в Swift
За время работы iOS-разработчиком я не раз встречал те или иные рекомендации по выбору быстрого механизма синхронизации. Если нужна высокая производительность, то используйте os_unfair_lock . Если чтений гораздо больше, чем записей, то присмотритесь к read-write lock или concurrent queue с barrier-записью. А когда речь заходит о Swift Concurrency, нередко можно услышать, что actors работают медленно и проигрывают обычным блокировкам. Мне захотелось проверить, насколько эти рекомендации подтверждаются на практике. Поэтому я решил сравнить механизмы синхронизации в задачах, похожих на те, которые встречаются в реальных приложениях. И заодно выяснить, есть ли механизм, который можно выбирать по умолчанию для большинства таких задач.
https://habr.com/ru/articles/1106672/
#производительность #синхронизация #swift #многопоточность #ios #mutex #блокировки #бенчмарки #actor #swift_concurrency
Started adding some specialized alerts for busy accounts on the web. Tomorrow night, let’s do the same during sync issues. See you then!
🔜 Tomorrow’s stream: https://youtube.com/live/dapggJa1Oyg
⏮️ Playlist so far: https://www.youtube.com/playlist?list=PLRxjf93xotuofCtaxtGOcWeuxVZYJyY-m
📲 Download Jiiiii: https://apps.apple.com/app/apple-store/id6472801548?pt=14724&ct=MastodonCCStreams&mt=8
#Jiiiii #DevStream #tvOS #visionOS #macOS #iOS #iPadOS #Anime #Swift #SwiftUI #Vapor #WebAuthn #BuildInPublic #TestFlight #PWA #WebPush
Dew Drop - November 11, 2026 (#4790)
https://alvinashcraft.com/2026/11/11/dew-drop-november-11-2026-4790/
363,562 pages became 391,056, and no page was lost.
I diffed Cupertino's Apple documentation database, June against November. 126,695 pages were re-read from Apple's structured data, 27,494 are new, and the docs now describe a foldable iPhone, iPhone Duo, with new SwiftUI and UIKit APIs for hinges and reserved regions.
It also found two defects. I list them in the post.
https://aleahim.com/blog/cupertino-v1-5-0-five-months-diffed/
AppTraction launches today! This could be a game changer for anyone with apps on the App Store.
What it is: a privacy-focused Mac app that helps you understand and improve how your apps do on the App Store.
About me: I spent 10 years as an engineer at Apple working on macOS and iOS, and I’ve been indie for the last 8, shipping 20+ apps for myself and clients. AppTraction is the tool I wish I’d had when I started building my own apps.
Pricing and discount code below 👇
📍: Lock 14, Peak Forest Canal
🗺️: https://www.osm.org/go/eu3VgK_Ee-?m
📸: Photo by dullhunk on Flickr https://flic.kr/p/2owUhVf
#canal #narrowboat #england #uk #swift #swiftstreet #swifts #streets #lockside #superswiftstreetssavestockportsscreamingsquadrons
Finished auditing the app for account-busy statuses. Tomorrow night, let’s audit the web frontend for the same thing. See you then!
🔜 Tomorrow’s stream: https://youtube.com/live/SbI8DYBjYlE
⏮️ Playlist so far: https://www.youtube.com/playlist?list=PLRxjf93xotuofCtaxtGOcWeuxVZYJyY-m
📲 Download Jiiiii: https://apps.apple.com/app/apple-store/id6472801548?pt=14724&ct=MastodonCCStreams&mt=8
#Jiiiii #DevStream #tvOS #visionOS #macOS #iOS #iPadOS #Anime #Swift #SwiftUI #Vapor #WebAuthn #BuildInPublic #TestFlight #PWA #WebPush
Found what looks like a StoreKit regression in iOS 27 and filed it as FB25514964 🙏
If a user's subscription gets refunded and they later want to subscribe again, iOS 27 hands back the old refunded transaction instead of creating a new one. The purchase reports success, but the user never gets their subscription back. On iOS 26 the same steps work as expected.
I tested both versions side by side with a minimal sample project and (1/2)