Learn about the key technologies and exciting capabilities available in the latest SDKs for iOS 16, iPadOS 16, macOS 13, tvOS 16, and watchOS 9, the toolkits you use to build apps for Apple platforms.
Leverage the simplicity and power of Swift and SwiftUI with a new multiplatform app experience, code faster with enhanced editor features, and start testing and deploying from Xcode Cloud to TestFlight and the App Store.
SwiftUI is the modern way to build great-looking user interfaces across all Apple platforms. You can learn it once and apply it everywhere. This year, SwiftUI is more powerful, flexible, and easier to adopt. Take control of your app’s navigation with a new stateful navigation API, build the layout that works best for your app with all-new custom layouts, and use SwiftUI more seamlessly in UIKit apps with new UICollectionView custom cell support.
This powerful programming language now features built-in support for regular expressions, all-new regex builders, and package plugins to create and share custom tooling. The latest updates also include improvements to generics syntax and under-the-hood performance improvements when building and launching apps.
Now you can use WidgetKit to build complications for Apple Watch and widgets on the Lock Screen for iPhone, embracing SwiftUI and extending the glanceable experience. Write your code once for iOS 16 and watchOS 9, and share infrastructure with your existing Home Screen widgets.
In an update to iOS 16 later this year, you ll be able to create Live Activities with WidgetKit to help people stay on top of what’s happening in your app in real time, right from the Lock Screen. And with SwiftUI, you can animate your Live Activities from one state to the next.
Help users quickly accomplish tasks related to your app by voice or tap. App Intents is a new Swift-only framework designed to make it faster and easier to build great actions — and you can use it to build new App Shortcuts. With no user setup required, App Shortcuts are available as soon as your app is installed in iOS, iPadOS, or watchOS and can be run from the Shortcuts app, Spotlight, and Siri. With support for parameters and synonyms, App Shortcuts let people interact with your app through Siri more naturally.
Bring valuable weather information to your apps and services through a wide range of data that can help people stay up to date, safe, and prepared. It’s easy to use WeatherKit in your apps with a platform-specific Swift API, and on any other platform with a REST API.
Get the most out of the All-New Map, including the highly detailed 3D City Experience. Visualize data using overlays that seamlessly integrate with the 3D map. Create interactive, immersive experiences with the new Selectable Map Features and Look Around APIs. Use the new Maps Server API to increase performance, lower data usage, and improve battery life.
Metal powers hardware-accelerated graphics on Apple platforms by providing a low-overhead API, rich shading language, tight integration between graphics and compute, and an unparalleled suite of GPU profiling and debugging tools. Metal 3 introduces powerful features that help your games and pro apps tap into the full potential of Apple silicon. Now you can render high-resolution graphics in less time, load resources faster, train machine learning networks with the GPU, and more.
ARKit 6 introduces 4K video, so you can capture stunning, high-resolution videos of AR experiences — perfect for professional video editing, film production, social media apps, and more. Video and capture capabilities are expanded with support for HDR video and high-resolution background image capture. ARKit 6 also brings Location Anchors to new cities, such as Montreal, Sydney, Singapore, and Tokyo, and it features improvements to Motion Capture.
Powered by ARKit, RoomPlan is a new Swift API that utilizes the camera and LiDAR Scanner on iPhone and iPad to create a 3D floor plan of a room, including key characteristics such as dimensions and types of furniture.
Use Xcode 14 to analyze and optimize your Core-ML-powered features. Generate performance reports for Core ML models on your Mac or any connected iOS device without having to write any code. Review a summary of load and prediction times along with a breakdown of compute unit usage. Profile your app to view Core ML API calls and associated models using the Core ML template in Instruments. Combine information from the Core ML, Neural Engine, and GPU Instruments to track when and where models are executed on accelerated hardware. Aggregate timing data is summarized for each event, model, and submodel.
The Core ML framework now supports Float16 input and output feature types. This, combined with APIs for supplying your own output buffer backings for predictions, enables more control of how efficiently data flows in and out of your Core ML models. Support for sparse weight compression, restricting compute to the CPU and Neural Engine, and in-memory model instantiation are also now available.
Create ML app
Interactively learn about your model’s accuracy in the new evaluation UI in the Create ML app. Explore key metrics and their connections to specific examples to help identify challenging use cases and further investments in data collection to help improve model quality. Preview your model’s predictions on live video from your iPhone camera.
Create ML framework
Create ML is now available as a Swift framework on tvOS, along with iOS, iPadOS, and macOS. In addition to task-specific training APIs being available for many common model types, you can now define your own custom model and training pipelines by combining a rich set of ML building blocks with the new Create ML Components framework.
SharePlay lets people share experiences right inside FaceTime — and now via Messages. On iOS and iPadOS, apps that support SharePlay will even appear in FaceTime controls, making it easy for people to discover the shared experiences your app offers.
Shared with You
Use the new Shared with You framework and Collaboration API to bring your app’s collaboration experiences into Messages and FaceTime, and highlight content from your app that people shared in Messages in a new Shared with You section within your app.
Mobile App Development Best Practices – 03.10
iOS MetaCodable – Supercharge Swift’s Codable implementations with macros meta-programming How to build a Tuist plugin and publish it using...
How to make and use BOM (Bill of Materials) dependencies in Android projects
By using a BOM dependency, you can avoid specifying the versions of each individual library in your app, and let...
Telegram turns 10 years old and revenues stagnate
Telegram seems to want to grow not only through messaging but also through communities, which pretty much means it wants...
MetaCodable – Supercharge Swift’s Codable implementations with macros meta-programming
Supercharge Swift‘s Codable implementations with macros. Overview MetaCodable framework exposes custom macros which can be used to generate dynamic Codable implementations. The core of the framework...
How to get started with Swift Concurrency 🧵 (Beginner Tutorial)
Swift has built-in support for writing asynchronous and parallel code in a structured way. Asynchronous code can be suspended and resumed later,...
Mobile App Development Best Practices – 02.10
Data.ai has summarized the interim results of the year – and once again we have a record. Annual consumer spending...