RoomPlan iOS 16.0 20A5303f to 20A5312e API Differences

CapturedRoom
Modified CapturedRoom
Replacement
Fromnone
To@available(iOS 16.0, *)

Modified CapturedRoom.init(from:)
Replacement
Frompublic init(from: Swift.Decoder) throws
Topublic init(from: some Swift.Decoder) throws

Modified CapturedRoom.encode(to:)
Replacement
Frompublic func encode(to: Swift.Encoder) throws
Topublic func encode(to: some Swift.Encoder) throws

Modified CapturedRoom.Confidence.init(from:)
Replacement
Frompublic init(from: Swift.Decoder) throws
Topublic init(from: some Swift.Decoder) throws

Modified CapturedRoom.Confidence.encode(to:)
Replacement
Frompublic func encode(to: Swift.Encoder) throws
Topublic func encode(to: some Swift.Encoder) throws

Modified CapturedRoom.Object.init(from:)
Replacement
Frompublic init(from: Swift.Decoder) throws
Topublic init(from: some Swift.Decoder) throws

Modified CapturedRoom.Object.encode(to:)
Replacement
Frompublic func encode(to: Swift.Encoder) throws
Topublic func encode(to: some Swift.Encoder) throws

Modified CapturedRoom.Object.Category.init(from:)
Replacement
Frompublic init(from: Swift.Decoder) throws
Topublic init(from: some Swift.Decoder) throws

Modified CapturedRoom.Object.Category.encode(to:)
Replacement
Frompublic func encode(to: Swift.Encoder) throws
Topublic func encode(to: some Swift.Encoder) throws

Modified CapturedRoom.Surface.init(from:)
Replacement
Frompublic init(from: Swift.Decoder) throws
Topublic init(from: some Swift.Decoder) throws

Modified CapturedRoom.Surface.encode(to:)
Replacement
Frompublic func encode(to: Swift.Encoder) throws
Topublic func encode(to: some Swift.Encoder) throws

Modified CapturedRoom.Surface.Category.init(from:)
Replacement
Frompublic init(from: Swift.Decoder) throws
Topublic init(from: some Swift.Decoder) throws

Modified CapturedRoom.Surface.Category.encode(to:)
Replacement
Frompublic func encode(to: Swift.Encoder) throws
Topublic func encode(to: some Swift.Encoder) throws

Modified CapturedRoom.Surface.Curve.init(from:)
Replacement
Frompublic init(from: Swift.Decoder) throws
Topublic init(from: some Swift.Decoder) throws

Modified CapturedRoom.Surface.Curve.encode(to:)
Replacement
Frompublic func encode(to: Swift.Encoder) throws
Topublic func encode(to: some Swift.Encoder) throws

Modified CapturedRoom.Surface.Edge.init(from:)
Replacement
Frompublic init(from: Swift.Decoder) throws
Topublic init(from: some Swift.Decoder) throws

Modified CapturedRoom.Surface.Edge.encode(to:)
Replacement
Frompublic func encode(to: Swift.Encoder) throws
Topublic func encode(to: some Swift.Encoder) throws

CapturedRoomData
Modified CapturedRoomData
Replacement
Fromnone
To@available(iOS 16.0, *)

Modified CapturedRoomData.init(from:)
Replacement
Frompublic init(from: Swift.Decoder) throws
Topublic init(from: some Swift.Decoder) throws

Modified CapturedRoomData.encode(to:)
Replacement
Frompublic func encode(to: Swift.Encoder) throws
Topublic func encode(to: some Swift.Encoder) throws

RoomCaptureSession
Modified RoomCaptureSession.delegate
Replacement
Frompublic weak var delegate: RoomPlan.RoomCaptureSessionDelegate?
Topublic weak var delegate: (_: some RoomPlan.RoomCaptureSessionDelegate)?

RoomCaptureView
Modified RoomCaptureView.delegate
Replacement
From@_Concurrency.MainActor(unsafe) public weak var delegate: RoomPlan.RoomCaptureViewDelegate?
To@_Concurrency.MainActor(unsafe) public weak var delegate: (_: some RoomPlan.RoomCaptureViewDelegate)?