From cb5084aba88bf6f20b16cfd3f93bfe96c75086cb Mon Sep 17 00:00:00 2001 From: Brandon Williams Date: Wed, 28 Feb 2024 13:45:51 -0800 Subject: [PATCH] Update messaging --- Sources/Perception/Bindable.swift | 10 +++++----- 1 file changed, 5 insertions(+), 5 deletions(-) diff --git a/Sources/Perception/Bindable.swift b/Sources/Perception/Bindable.swift index 30210ef..40f76ed 100644 --- a/Sources/Perception/Bindable.swift +++ b/Sources/Perception/Bindable.swift @@ -5,11 +5,11 @@ /// perceptible objects. /// /// A backport of SwiftUI's `Bindable` property wrapper. - @available(iOS, introduced: 13, obsoleted: 17) - @available(macOS, introduced: 10.15, obsoleted: 14) - @available(tvOS, introduced: 13, obsoleted: 17) - @available(watchOS, introduced: 6, obsoleted: 10) - @available(visionOS, unavailable) + @available(iOS, introduced: 13, obsoleted: 17, message: "Use @Bindable without the 'Perception.' prefix.") + @available(macOS, introduced: 10.15, obsoleted: 14, message: "Use @Bindable without the 'Perception.' prefix.") + @available(tvOS, introduced: 13, obsoleted: 17, message: "Use @Bindable without the 'Perception.' prefix.") + @available(watchOS, introduced: 6, obsoleted: 10, message: "Use @Bindable without the 'Perception.' prefix.") + @available(visionOS, unavailable, message: "Use @Bindable without the 'Perception.' prefix.") @dynamicMemberLookup @propertyWrapper public struct Bindable {