@@ -25,7 +25,7 @@ extension NSRange: _ObjectiveCBridgeable {
25
25
_getObjCTypeEncoding ( NSRange . self) ) == 0 ,
26
26
" NSValue does not contain the right type to bridge to NSRange " )
27
27
result = NSRange ( )
28
- if #available( OSX 10 . 13 , iOS 11 . 0 , tvOS 11 . 0 , watchOS 4 . 0 , * ) {
28
+ if #available( macOS 10 . 13 , iOS 11 . 0 , tvOS 11 . 0 , watchOS 4 . 0 , * ) {
29
29
source. getValue ( & result!, size: MemoryLayout< NSRange> . size)
30
30
} else {
31
31
source. getValue ( & result!)
@@ -40,7 +40,7 @@ extension NSRange: _ObjectiveCBridgeable {
40
40
return false
41
41
}
42
42
result = NSRange ( )
43
- if #available( OSX 10 . 13 , iOS 11 . 0 , tvOS 11 . 0 , watchOS 4 . 0 , * ) {
43
+ if #available( macOS 10 . 13 , iOS 11 . 0 , tvOS 11 . 0 , watchOS 4 . 0 , * ) {
44
44
source. getValue ( & result!, size: MemoryLayout< NSRange> . size)
45
45
} else {
46
46
source. getValue ( & result!)
@@ -55,7 +55,7 @@ extension NSRange: _ObjectiveCBridgeable {
55
55
_getObjCTypeEncoding ( NSRange . self) ) == 0 ,
56
56
" NSValue does not contain the right type to bridge to NSRange " )
57
57
var result = NSRange ( )
58
- if #available( OSX 10 . 13 , iOS 11 . 0 , tvOS 11 . 0 , watchOS 4 . 0 , * ) {
58
+ if #available( macOS 10 . 13 , iOS 11 . 0 , tvOS 11 . 0 , watchOS 4 . 0 , * ) {
59
59
unwrappedSource. getValue ( & result, size: MemoryLayout< NSRange> . size)
60
60
} else {
61
61
unwrappedSource. getValue ( & result)
@@ -77,7 +77,7 @@ extension CGRect: _ObjectiveCBridgeable {
77
77
_getObjCTypeEncoding ( CGRect . self) ) == 0 ,
78
78
" NSValue does not contain the right type to bridge to CGRect " )
79
79
result = CGRect ( )
80
- if #available( OSX 10 . 13 , iOS 11 . 0 , tvOS 11 . 0 , watchOS 4 . 0 , * ) {
80
+ if #available( macOS 10 . 13 , iOS 11 . 0 , tvOS 11 . 0 , watchOS 4 . 0 , * ) {
81
81
source. getValue ( & result!, size: MemoryLayout< CGRect> . size)
82
82
} else {
83
83
source. getValue ( & result!)
@@ -92,7 +92,7 @@ extension CGRect: _ObjectiveCBridgeable {
92
92
return false
93
93
}
94
94
result = CGRect ( )
95
- if #available( OSX 10 . 13 , iOS 11 . 0 , tvOS 11 . 0 , watchOS 4 . 0 , * ) {
95
+ if #available( macOS 10 . 13 , iOS 11 . 0 , tvOS 11 . 0 , watchOS 4 . 0 , * ) {
96
96
source. getValue ( & result!, size: MemoryLayout< CGRect> . size)
97
97
} else {
98
98
source. getValue ( & result!)
@@ -107,7 +107,7 @@ extension CGRect: _ObjectiveCBridgeable {
107
107
_getObjCTypeEncoding ( CGRect . self) ) == 0 ,
108
108
" NSValue does not contain the right type to bridge to CGRect " )
109
109
var result = CGRect ( )
110
- if #available( OSX 10 . 13 , iOS 11 . 0 , tvOS 11 . 0 , watchOS 4 . 0 , * ) {
110
+ if #available( macOS 10 . 13 , iOS 11 . 0 , tvOS 11 . 0 , watchOS 4 . 0 , * ) {
111
111
unwrappedSource. getValue ( & result, size: MemoryLayout< CGRect> . size)
112
112
} else {
113
113
unwrappedSource. getValue ( & result)
@@ -129,7 +129,7 @@ extension CGPoint: _ObjectiveCBridgeable {
129
129
_getObjCTypeEncoding ( CGPoint . self) ) == 0 ,
130
130
" NSValue does not contain the right type to bridge to CGPoint " )
131
131
result = CGPoint ( )
132
- if #available( OSX 10 . 13 , iOS 11 . 0 , tvOS 11 . 0 , watchOS 4 . 0 , * ) {
132
+ if #available( macOS 10 . 13 , iOS 11 . 0 , tvOS 11 . 0 , watchOS 4 . 0 , * ) {
133
133
source. getValue ( & result!, size: MemoryLayout< CGPoint> . size)
134
134
} else {
135
135
source. getValue ( & result!)
@@ -144,7 +144,7 @@ extension CGPoint: _ObjectiveCBridgeable {
144
144
return false
145
145
}
146
146
result = CGPoint ( )
147
- if #available( OSX 10 . 13 , iOS 11 . 0 , tvOS 11 . 0 , watchOS 4 . 0 , * ) {
147
+ if #available( macOS 10 . 13 , iOS 11 . 0 , tvOS 11 . 0 , watchOS 4 . 0 , * ) {
148
148
source. getValue ( & result!, size: MemoryLayout< CGPoint> . size)
149
149
} else {
150
150
source. getValue ( & result!)
@@ -159,7 +159,7 @@ extension CGPoint: _ObjectiveCBridgeable {
159
159
_getObjCTypeEncoding ( CGPoint . self) ) == 0 ,
160
160
" NSValue does not contain the right type to bridge to CGPoint " )
161
161
var result = CGPoint ( )
162
- if #available( OSX 10 . 13 , iOS 11 . 0 , tvOS 11 . 0 , watchOS 4 . 0 , * ) {
162
+ if #available( macOS 10 . 13 , iOS 11 . 0 , tvOS 11 . 0 , watchOS 4 . 0 , * ) {
163
163
unwrappedSource. getValue ( & result, size: MemoryLayout< CGPoint> . size)
164
164
} else {
165
165
unwrappedSource. getValue ( & result)
@@ -181,7 +181,7 @@ extension CGVector: _ObjectiveCBridgeable {
181
181
_getObjCTypeEncoding ( CGVector . self) ) == 0 ,
182
182
" NSValue does not contain the right type to bridge to CGVector " )
183
183
result = CGVector ( )
184
- if #available( OSX 10 . 13 , iOS 11 . 0 , tvOS 11 . 0 , watchOS 4 . 0 , * ) {
184
+ if #available( macOS 10 . 13 , iOS 11 . 0 , tvOS 11 . 0 , watchOS 4 . 0 , * ) {
185
185
source. getValue ( & result!, size: MemoryLayout< CGVector> . size)
186
186
} else {
187
187
source. getValue ( & result!)
@@ -196,7 +196,7 @@ extension CGVector: _ObjectiveCBridgeable {
196
196
return false
197
197
}
198
198
result = CGVector ( )
199
- if #available( OSX 10 . 13 , iOS 11 . 0 , tvOS 11 . 0 , watchOS 4 . 0 , * ) {
199
+ if #available( macOS 10 . 13 , iOS 11 . 0 , tvOS 11 . 0 , watchOS 4 . 0 , * ) {
200
200
source. getValue ( & result!, size: MemoryLayout< CGVector> . size)
201
201
} else {
202
202
source. getValue ( & result!)
@@ -211,7 +211,7 @@ extension CGVector: _ObjectiveCBridgeable {
211
211
_getObjCTypeEncoding ( CGVector . self) ) == 0 ,
212
212
" NSValue does not contain the right type to bridge to CGVector " )
213
213
var result = CGVector ( )
214
- if #available( OSX 10 . 13 , iOS 11 . 0 , tvOS 11 . 0 , watchOS 4 . 0 , * ) {
214
+ if #available( macOS 10 . 13 , iOS 11 . 0 , tvOS 11 . 0 , watchOS 4 . 0 , * ) {
215
215
unwrappedSource. getValue ( & result, size: MemoryLayout< CGVector> . size)
216
216
} else {
217
217
unwrappedSource. getValue ( & result)
@@ -233,7 +233,7 @@ extension CGSize: _ObjectiveCBridgeable {
233
233
_getObjCTypeEncoding ( CGSize . self) ) == 0 ,
234
234
" NSValue does not contain the right type to bridge to CGSize " )
235
235
result = CGSize ( )
236
- if #available( OSX 10 . 13 , iOS 11 . 0 , tvOS 11 . 0 , watchOS 4 . 0 , * ) {
236
+ if #available( macOS 10 . 13 , iOS 11 . 0 , tvOS 11 . 0 , watchOS 4 . 0 , * ) {
237
237
source. getValue ( & result!, size: MemoryLayout< CGSize> . size)
238
238
} else {
239
239
source. getValue ( & result!)
@@ -248,7 +248,7 @@ extension CGSize: _ObjectiveCBridgeable {
248
248
return false
249
249
}
250
250
result = CGSize ( )
251
- if #available( OSX 10 . 13 , iOS 11 . 0 , tvOS 11 . 0 , watchOS 4 . 0 , * ) {
251
+ if #available( macOS 10 . 13 , iOS 11 . 0 , tvOS 11 . 0 , watchOS 4 . 0 , * ) {
252
252
source. getValue ( & result!, size: MemoryLayout< CGSize> . size)
253
253
} else {
254
254
source. getValue ( & result!)
@@ -263,7 +263,7 @@ extension CGSize: _ObjectiveCBridgeable {
263
263
_getObjCTypeEncoding ( CGSize . self) ) == 0 ,
264
264
" NSValue does not contain the right type to bridge to CGSize " )
265
265
var result = CGSize ( )
266
- if #available( OSX 10 . 13 , iOS 11 . 0 , tvOS 11 . 0 , watchOS 4 . 0 , * ) {
266
+ if #available( macOS 10 . 13 , iOS 11 . 0 , tvOS 11 . 0 , watchOS 4 . 0 , * ) {
267
267
unwrappedSource. getValue ( & result, size: MemoryLayout< CGSize> . size)
268
268
} else {
269
269
unwrappedSource. getValue ( & result)
@@ -285,7 +285,7 @@ extension CGAffineTransform: _ObjectiveCBridgeable {
285
285
_getObjCTypeEncoding ( CGAffineTransform . self) ) == 0 ,
286
286
" NSValue does not contain the right type to bridge to CGAffineTransform " )
287
287
result = CGAffineTransform ( )
288
- if #available( OSX 10 . 13 , iOS 11 . 0 , tvOS 11 . 0 , watchOS 4 . 0 , * ) {
288
+ if #available( macOS 10 . 13 , iOS 11 . 0 , tvOS 11 . 0 , watchOS 4 . 0 , * ) {
289
289
source. getValue ( & result!, size: MemoryLayout< CGAffineTransform> . size)
290
290
} else {
291
291
source. getValue ( & result!)
@@ -300,7 +300,7 @@ extension CGAffineTransform: _ObjectiveCBridgeable {
300
300
return false
301
301
}
302
302
result = CGAffineTransform ( )
303
- if #available( OSX 10 . 13 , iOS 11 . 0 , tvOS 11 . 0 , watchOS 4 . 0 , * ) {
303
+ if #available( macOS 10 . 13 , iOS 11 . 0 , tvOS 11 . 0 , watchOS 4 . 0 , * ) {
304
304
source. getValue ( & result!, size: MemoryLayout< CGAffineTransform> . size)
305
305
} else {
306
306
source. getValue ( & result!)
@@ -315,7 +315,7 @@ extension CGAffineTransform: _ObjectiveCBridgeable {
315
315
_getObjCTypeEncoding ( CGAffineTransform . self) ) == 0 ,
316
316
" NSValue does not contain the right type to bridge to CGAffineTransform " )
317
317
var result = CGAffineTransform ( )
318
- if #available( OSX 10 . 13 , iOS 11 . 0 , tvOS 11 . 0 , watchOS 4 . 0 , * ) {
318
+ if #available( macOS 10 . 13 , iOS 11 . 0 , tvOS 11 . 0 , watchOS 4 . 0 , * ) {
319
319
unwrappedSource. getValue ( & result, size: MemoryLayout< CGAffineTransform> . size)
320
320
} else {
321
321
unwrappedSource. getValue ( & result)
0 commit comments