Skip to content

Commit ca1f55e

Browse files
committed
Deprecate customization functions for 0.0.2 version
1 parent a7c6ef2 commit ca1f55e

File tree

1 file changed

+21
-21
lines changed

1 file changed

+21
-21
lines changed

Sources/PermissionsSwiftUI/Modifiers/JMPermission API/Customize/PermissionCustomModifiers.swift

Lines changed: 21 additions & 21 deletions
Original file line numberDiff line numberDiff line change
@@ -38,7 +38,7 @@ public extension View {
3838
- title: The title text
3939
- description: The description text
4040
*/
41-
41+
@available(*, deprecated, message: "Please update PermissionsSwiftUI to 1.0.0 above.")
4242
func customizeCameraPermissionWith(title: String, description: String) -> some View {
4343
PermissionModel.PermissionModelStore.cameraPermission.title = title
4444
PermissionModel.PermissionModelStore.cameraPermission.description = description
@@ -51,7 +51,7 @@ public extension View {
5151
- Parameters:
5252
- title: The title text
5353
*/
54-
54+
@available(*, deprecated, message: "Please update PermissionsSwiftUI to 1.0.0 above.")
5555
func customizeCameraPermissionWith(title: String) -> some View {
5656
PermissionModel.PermissionModelStore.cameraPermission.title = title
5757
return self.modifier(PlaceholderModifier())
@@ -63,7 +63,7 @@ public extension View {
6363
- Parameters:
6464
- description: The description text
6565
*/
66-
66+
@available(*, deprecated, message: "Please update PermissionsSwiftUI to 1.0.0 above.")
6767
func customizeCameraPermissionWith(description: String) -> some View {
6868
PermissionModel.PermissionModelStore.cameraPermission.description = description
6969
return self.modifier(PlaceholderModifier())
@@ -96,7 +96,7 @@ public extension View {
9696
- title: The title text
9797
- description: The description text
9898
*/
99-
99+
@available(*, deprecated, message: "Please update PermissionsSwiftUI to 1.0.0 above.")
100100
func customizeLocationPermissionWith(title: String, description: String) -> some View {
101101
PermissionModel.PermissionModelStore.locationPermission.title = title
102102
PermissionModel.PermissionModelStore.locationPermission.description = description
@@ -109,7 +109,7 @@ public extension View {
109109
- Parameters:
110110
- title: The title text
111111
*/
112-
112+
@available(*, deprecated, message: "Please update PermissionsSwiftUI to 1.0.0 above.")
113113
func customizeLocationPermissionWith(title: String) -> some View {
114114
PermissionModel.PermissionModelStore.locationPermission.title = title
115115
return self.modifier(PlaceholderModifier())
@@ -121,7 +121,7 @@ public extension View {
121121
- Parameters:
122122
- description: The description text
123123
*/
124-
124+
@available(*, deprecated, message: "Please update PermissionsSwiftUI to 1.0.0 above.")
125125
func customizeLocationPermissionWith(description: String) -> some View {
126126
PermissionModel.PermissionModelStore.locationPermission.description = description
127127
return self.modifier(PlaceholderModifier())
@@ -154,7 +154,7 @@ public extension View {
154154
- title: The title text
155155
- description: The description text
156156
*/
157-
157+
@available(*, deprecated, message: "Please update PermissionsSwiftUI to 1.0.0 above.")
158158
func customizeCalendarPermissionWith(title: String, description: String) -> some View {
159159
PermissionModel.PermissionModelStore.calendarPermisson.title = title
160160
PermissionModel.PermissionModelStore.calendarPermisson.description = description
@@ -167,7 +167,7 @@ public extension View {
167167
- Parameters:
168168
- title: The title text
169169
*/
170-
170+
@available(*, deprecated, message: "Please update PermissionsSwiftUI to 1.0.0 above.")
171171
func customizeCalendarPermissionWith(title: String) -> some View {
172172
PermissionModel.PermissionModelStore.calendarPermisson.title = title
173173
return self.modifier(PlaceholderModifier())
@@ -179,7 +179,7 @@ public extension View {
179179
- Parameters:
180180
- description: The description text
181181
*/
182-
182+
@available(*, deprecated, message: "Please update PermissionsSwiftUI to 1.0.0 above.")
183183
func customizeCalendarPermissionWith(description: String) -> some View {
184184
PermissionModel.PermissionModelStore.calendarPermisson.description = description
185185
return self.modifier(PlaceholderModifier())
@@ -196,7 +196,7 @@ public extension View {
196196
- title: The title text
197197
- description: The description text
198198
*/
199-
199+
@available(*, deprecated, message: "Please update PermissionsSwiftUI to 1.0.0 above.")
200200
func customizeBluetoothPermissionWith(title: String, description: String) -> some View {
201201
PermissionModel.PermissionModelStore.bluetoothPermission.title = title
202202
PermissionModel.PermissionModelStore.bluetoothPermission.description = description
@@ -209,7 +209,7 @@ public extension View {
209209
- Parameters:
210210
- title: The title text
211211
*/
212-
212+
@available(*, deprecated, message: "Please update PermissionsSwiftUI to 1.0.0 above.")
213213
func customizeBluetoothPermissionWith(title: String) -> some View {
214214
PermissionModel.PermissionModelStore.bluetoothPermission.title = title
215215
return self.modifier(PlaceholderModifier())
@@ -221,7 +221,7 @@ public extension View {
221221
- Parameters:
222222
- description: The description text
223223
*/
224-
224+
@available(*, deprecated, message: "Please update PermissionsSwiftUI to 1.0.0 above.")
225225
func customizeBluetoothPermissionWith(description: String) -> some View {
226226
PermissionModel.PermissionModelStore.bluetoothPermission.description = description
227227
return self.modifier(PlaceholderModifier())
@@ -238,7 +238,7 @@ public extension View {
238238
- title: The title text
239239
- description: The description text
240240
*/
241-
241+
@available(*, deprecated, message: "Please update PermissionsSwiftUI to 1.0.0 above.")
242242
func customizeMicPermissionWith(title: String, description: String) -> some View {
243243
PermissionModel.PermissionModelStore.microphonePermisson.title = title
244244
PermissionModel.PermissionModelStore.microphonePermisson.description = description
@@ -251,7 +251,7 @@ public extension View {
251251
- Parameters:
252252
- title: The title text
253253
*/
254-
254+
@available(*, deprecated, message: "Please update PermissionsSwiftUI to 1.0.0 above.")
255255
func customizeMicPermissionWith(title: String) -> some View {
256256
PermissionModel.PermissionModelStore.microphonePermisson.title = title
257257
return self.modifier(PlaceholderModifier())
@@ -263,7 +263,7 @@ public extension View {
263263
- Parameters:
264264
- description: The description text
265265
*/
266-
266+
@available(*, deprecated, message: "Please update PermissionsSwiftUI to 1.0.0 above.")
267267
func customizeMicPermissionWith(description: String) -> some View {
268268
PermissionModel.PermissionModelStore.microphonePermisson.description = description
269269
return self.modifier(PlaceholderModifier())
@@ -280,7 +280,7 @@ public extension View {
280280
- title: The title text
281281
- description: The description text
282282
*/
283-
283+
@available(*, deprecated, message: "Please update PermissionsSwiftUI to 1.0.0 above.")
284284
func customizeNotificationPermissionWith(title: String, description: String) -> some View {
285285
PermissionModel.PermissionModelStore.notificationPermission.title = title
286286
PermissionModel.PermissionModelStore.notificationPermission.description = description
@@ -293,7 +293,7 @@ public extension View {
293293
- Parameters:
294294
- title: The title text
295295
*/
296-
296+
@available(*, deprecated, message: "Please update PermissionsSwiftUI to 1.0.0 above.")
297297
func customizeNotificationPermissionWith(title: String) -> some View {
298298
PermissionModel.PermissionModelStore.notificationPermission.title = title
299299
return self.modifier(PlaceholderModifier())
@@ -305,7 +305,7 @@ public extension View {
305305
- Parameters:
306306
- description: The description text
307307
*/
308-
308+
@available(*, deprecated, message: "Please update PermissionsSwiftUI to 1.0.0 above.")
309309
func customizeNotificationPermissionWith(description: String) -> some View {
310310
PermissionModel.PermissionModelStore.notificationPermission.description = description
311311
return self.modifier(PlaceholderModifier())
@@ -322,7 +322,7 @@ public extension View {
322322
- title: The title text
323323
- description: The description text
324324
*/
325-
325+
@available(*, deprecated, message: "Please update PermissionsSwiftUI to 1.0.0 above.")
326326
func customizePhotoPermissionWith(title: String, description: String) -> some View {
327327
PermissionModel.PermissionModelStore.photoPermission.title = title
328328
PermissionModel.PermissionModelStore.photoPermission.description = description
@@ -335,7 +335,7 @@ public extension View {
335335
- Parameters:
336336
- title: The title text
337337
*/
338-
338+
@available(*, deprecated, message: "Please update PermissionsSwiftUI to 1.0.0 above.")
339339
func customizePhotoPermissionWith(title: String) -> some View {
340340
PermissionModel.PermissionModelStore.photoPermission.title = title
341341
return self.modifier(PlaceholderModifier())
@@ -347,7 +347,7 @@ public extension View {
347347
- Parameters:
348348
- description: The description text
349349
*/
350-
350+
@available(*, deprecated, message: "Please update PermissionsSwiftUI to 1.0.0 above.")
351351
func customizePhotoPermissionWith(description: String) -> some View {
352352
PermissionModel.PermissionModelStore.photoPermission.description = description
353353
return self.modifier(PlaceholderModifier())

0 commit comments

Comments
 (0)