Replies: 2 comments
-
|
Swift has an |
Beta Was this translation helpful? Give feedback.
0 replies
-
|
Thanks Sent from my iPhoneOn Dec 30, 2022, at 2:08 PM, Stephen Celis ***@***.***> wrote:
Swift has an ExpressibleByArrayLiteral protocol that types can conform to in order for array literal syntax to work. Our conformance is here:
https://github.com/pointfreeco/swift-identified-collections/blob/a08887de589e3829d488e0b4b707b2ca804b1060/Sources/IdentifiedCollections/IdentifiedArray/IdentifiedArray%2BExpressibleByArrayLiteral.swift
—Reply to this email directly, view it on GitHub, or unsubscribe.You are receiving this because you were mentioned.Message ID: ***@***.***>
|
Beta Was this translation helpful? Give feedback.
0 replies
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Uh oh!
There was an error while loading. Please reload this page.
-
In the implementation of IdentifiedArray what makes it possible for it to be initialized as an array like the code shown below:
@published var tasks2: IdentifiedArray<CKRecord.ID, TaskItem> = []
Beta Was this translation helpful? Give feedback.
All reactions