Platforms State of the Union 2023

In this presentation targeted at developers, Apple dives deeper into the details about how we’ll be able to implement all of the new features they announced at the keynote. This article is a recap of all that.

Continue Reading…

Written by

Pat Enriquez

Published on

06 Jun 2023

Swift

  • Swift Macros
    • Allows you to code faster by annotating your code for frequently used coding patterns
    • Add as an Attribute to your code or freestanding with a hashtag
    • Can step into expanded macro from a breakpoint
    • Can write your own macros to extend the language
    • Share macros using Swift packages
  • Swift/C++ interoperability
    • Can use both in a project without a bridging layer

SwiftUI

Charts

  • Pie Charts
  • Selector in Charts
  • Inspector API

Animations

  • Animated effects in sf symbols
  • Spring modifier
  • Animation phases
    • PhaseAnimator, animate between phases
  • Keyframing

Maps

  • SwiftUI has a Map component now!

DataFlow

  • State, Environment
  • @Observable macro for class

Swift Data

  • Data modeling and state management
  • Builds on top of Core Data but with new API
  • @Model macro
  • Automatically enabling persistence
  • @Query

WidgetKit

  • Background removed, resized to full screen
    • Lock screen
    • Standby
    • Desktop in Sonoma
  • Add Interactivity and transitions

App Intents

  • App Intents appear in search and spotlight
  • Implement AppShortcuts

TipKit

  • Intelligently inform and guide users

AirDrop

  • ShareLink

Hardware

Gaming

  • Game Porting Toolkit
  • Evaluate the effort of porting your existing game faster than before

Camera

  • AVCapture
  • Zero shutter lag
  • Overlapping captures
  • Deferred processing
  • Displaying photos

watchOS 10

  • Vertical Tab Views
  • containerBackground modifier
  • new toolBar item placements
  • NavigationSplitView

Accessibility

  • pause animations, check if user preference is to pause it, and you use a fallback
  • dim flashing lights API to identify content with flashing lights and dim it
  • AVFoundation has it automatically built-in

Privacy

  • Add Only permission for calendar
    • Let’s you only add calendars without reading
  • Photos
    • New Photo Picker – easily select photos from within your experience
  • App Privacy
    • Privacy manifest – outlines third-party privacy options
    • Xcode combines all manifests across all SDKs you use and gives you a summary manifest
    • So that you can create accurate privacy labels for your app
  • Signature for third-party SDKs
  • Xcode will validate that it was signed by the same developer

Xcode

  • 50% smaller in size
  • all simulators installable on the mac

Xcode Cloud

  • Integrated into Xcode
  • Built on iCloud
  • Connected to Apple services
  • Private and secure
  • 2x faster workflows
  • Share tester notes in testflight
  • macOS notarization
  • 5x faster linking
Table of contents
    0 Shares
    Share
    Tweet
    Pin
    Share
    Buffer