iOS apps now have a second user: AI agents like Siri. Using App Intents and App Entities, developers can expose their app's capabilities beyond the UI so Siri can trigger actions, resolve domain objects, and chain multi-step conversations. The post walks through a personal finance app example, showing how to define an AppIntent for logging expenses, create AppEntity projections of internal models with query bridges, and adopt App Schema Domains to plug into Siri's existing world model. WWDC26 changes are highlighted: App Intents replaces SiriKit, Spotlight semantic indexing, View Annotations, multi-turn conversations, per-intent privacy manifests, and a new App Intents Testing framework. The core argument is that apps should be designed as sets of capabilities with the UI as one client and the AI agent as another.
Nguồn: https://yashvardhanarora.medium.com/your-app-has-a-second-user-now-and-it-doesnt-have-hands-siri-ai-app-intents-app-entities-632ecfe72c85. 8sync News chỉ tóm tắt và dẫn link; bản quyền nội dung thuộc tác giả và nguồn gốc.
Apple mua lại Swift Package Index (SPI), công cụ tìm kiếm các gói Swift nguồn mở, và người sáng tạo Dave Verwer sẽ gia nhập Apple để tiếp tục phát triển. SPI vẫn duy trì mã nguồn mở theo giấy phép Apache 2.0, nhưng Apple cam kết đẩy nhanh phát triển, bao gồm ký gói, tính năng nhận dạng, và đặc biệt là loại bỏ sự phụ thuộc lâu nay vào GitHub. SPI hiện lưu trữ hơn 11.000 gói và sẽ chuyển dần sang mô hình registry độc lập với nền tảng lưu trữ nguồn. Một số nhà phát triển lo ngại về việc tài nguyên cộng đồng độc lập rơi vào sự kiểm soát hoàn toàn của doanh nghiệp.
Lập trình viên nên đọc bài này để hiểu cách Apple có thể cải thiện tính độc lập và hiệu quả của hệ sinh thái phát triển Swift bằng cách loại bỏ sự phụ thuộc vào GitHub và xây dựng một nền tảng mở, an toàn hơn cho cộng đồng.
iPhone và iPad tích hợp sẵn trình đọc màn hình VoiceOver, giúp đọc to các yếu tố giao diện như văn bản, nút bấm, menu. Bài viết hướng dẫn ba cách kích hoạt VoiceOver (Settings, Siri, Accessibility Shortcut), năm cử chỉ điều hướng quan trọng cho nhà phát triển, cùng cách điều chỉnh tốc độ và giọng đọc.
Lập trình viên nên đọc bài này để hiểu cách kiểm tra tính khả dụng (accessibility) trên thiết bị iOS thực tế thông qua VoiceOver, giúp phát hiện và cải thiện trải nghiệm người dùng tàn tật trên ứng dụng của họ.
Developer Yeo Kheng Meng built a Swift development environment that targets the Apple II platform, covering the original 1977 model through the IIe. Since the Apple II runs a 1 MHz 6502 CPU, the approach compiles Swift to bytecode executed by a virtual machine running on the 6502. The setup requires a 48 KB RAM upgrade but otherwise targets stock hardware. Claude Code and GPT 4.5 Codex assisted in piecing the project together.
Swift Package Index (SPI) has joined Apple, signaling a major step toward a trustworthy, official Swift package registry with improved discovery, signing, and distribution. Separately, the Swift compiler is moving toward self-hosting by dropping the requirement to build using only a C++ toolchain — core components like the Parser, AST, and Type Checker can now be written in Swift. The newsletter also highlights: a Swift-like environment running on an Apple II with a 1 MHz 6502 CPU, a WebAssembly-based OTA update system for native Swift iOS apps using WasmKit, deep dives into SwiftUI's attribute graph internals, SwiftUI toolbar API improvements from WWDC 26, a private UIKit _UIPortalView component for live mirroring effects, and an iOS Simulator camera extension tool for testing camera-dependent features.
Swift tự động sinh ra memberwise initializer cho struct, giúp giảm thiểu code lặp. Từ Swift 6.4 (SE-0502), các thuộc tính private có giá trị mặc định sẽ bị loại khỏi initializer sinh tự động, tránh trường hợp toàn bộ initializer trở thành private. Những thuộc tính private không có giá trị mặc định vẫn xuất hiện trong initializer. Struct public vẫn cần explicit public initializer.
Lập trình viên nên đọc bài này để hiểu cách optimize và quản lý tính riêng tư trong Swift khi thiết kế structs, tránh phải viết lại initializers thủ công và tối ưu hóa hiệu suất cho các trường hợp sử dụng thuộc tính riêng tư có giá trị mặc định.
Point-Free is adopting SwiftPM traits across their Swift libraries to let users opt out of transitive dependencies they don't need. Using SwiftNavigation as a test bed, developers can now specify traits like CasePaths and Perception in Package.swift to avoid pulling in libraries like CustomDump, IssueReporting, and Sharing. The Dependencies library also supports traits to omit clock/Combine scheduler registrations and even Foundation/FoundationNetworking for Wasm and Android targets. Xcode provides a new UI for managing these traits. More libraries, including ComposableArchitecture 2.0, are getting the same treatment.

Số 756 của iOS Dev Weekly đưa tin Swift Package Index chính thức gia nhập Apple, với người sáng lập Dave Verwer cũng tham gia công ty. Bản tin cũng đề cập đến những cải tiến trong iOS 27 như chế độ Recovery giống Mac và nâng cấp AsyncImage trong SwiftUI (hỗ trợ URLRequest, chia sẻ URLSession tùy chỉnh), cùng với các chủ đề khác như cải tiến concurrency trong Swift 6.4, nghiên cứu sâu về mô hình đồ thị của SwiftUI, tiện ích CrashReportExtension mới của Apple cho báo cáo lỗi ngoài tiến trình, và khám phá _UIPortalView riêng tư của UIKit để phản chiếu live view.
Để cập nhật những thay đổi mới nhất trong Swift, iOS và UIKit—và hiểu cách áp dụng các tính năng như AsyncImage và CrashReportExtension để nâng cao hiệu suất và quản lý lỗi trong ứng dụng của mình.
SwiftNavigation 2.9.0 introduces two new Swift macros. The first, @CaseBindable, lets you derive bindings to individual enum-case payloads, enabling exhaustive switch statements over SwiftUI Binding<Enum> values to extract typed bindings for each case. The second, @UITransactionEntry, reduces boilerplate when defining custom UITransaction keys — mirroring SwiftUI's @Entry macro but for the library's platform-independent UITransaction type. Both macros are back-deployed to iOS 13.