-
-
| | |
|------------------|-----------------|
|Previous ID | SR-15115 |
|Radar | rdar://problem/82404190 |
|Original R…
-
## Desired Functionality
Rather than working with the protocol `Money`, or any of the concrete implementations directly, I would like the ability to progressively work with the `Currency` module by…
-
-
https://www.avanderlee.com/swift/property-wrappers/
Here is an example for UserDefaults:
```
@propertyWrapper
struct UserDefault {
let key: String
let defaultValue: T
init(_ key: …
-
透過觀察來理解這要怎麼用,並列舉一些跟一般property 的異同,看看有什麼有趣的實作。
Google Meet »
https://meet.google.com/hjy-jmmk-wzi
-
### Motivation
This isn't an area I understand very well. But it seems like nonisolated property wrappers should be possible if the underlying wrapper type is `Sendable`.
```swift
@propertyWrappe…
-
-
| | |
|------------------|-----------------|
|Previous ID | SR-12341 |
|Radar | rdar://problem/60832285 |
|Original Repo…
-
### Description
A Declaration Macro introducing a variable-declaration with a PropertyWrapper-attribute crashes if placed in a struct which isn't in a the scope of a function.
### Reproduction
[Mac…