What are the biggest new APIs not available for objective c

Generated on 8/4/2024

1 search

The biggest new APIs not available for Objective-C, as presented at WWDC, include:

  1. Enterprise APIs for visionOS:

    • These APIs provide enhanced sensor access and improved visual capabilities for vision Pro, including access to the main camera, improved capture and streaming, and enhanced functionality through the camera.
    • They also offer advanced machine learning capabilities via the Apple Neural Engine, enhanced object tracking, and the ability to tune app performance for intensive workloads.
    • These APIs are intended for enterprise use and require managed entitlements and a license file tied to the developer account. They are only available for proprietary in-house apps or custom-made apps for other businesses (Introducing enterprise APIs for visionOS).
  2. Swift API for Vision Framework:

    • The Vision framework now includes a new Swift API with Swift 6 support, providing capabilities for visual intelligence such as text extraction, face detection, body pose recognition, and more. This API streamlines integration and introduces new features like hand pose detection and body pose requests (Explore machine learning on Apple platforms).
  3. StoreKit 2:

    • StoreKit 2 offers many improvements over the original StoreKit API, such as customer transaction history, subscription renewal info, and automatic cryptographic validation. It uses modern language features like the Swift async/await pattern for tasks like fetching product metadata and purchasing (What’s new in StoreKit and In-App Purchase).
  4. RealityKit 4:

    • RealityKit 4 includes APIs for rich materials, virtual lighting, blend shapes, inverse kinematics, and animation timelines. It also provides low-level mesh and texture APIs that work with Metal compute shaders for improved control over app appearance (Platforms State of the Union).

These APIs leverage modern Swift features and are not available for Objective-C, emphasizing the shift towards Swift for new development on Apple platforms.