You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Like Dart records, Swift tuples can have positional and named elements. The main difference is that to access the first element of a Dart record you write foo.$1, whereas in Swift you write foo.0.
Tuples are easy enough to parse, but they're not supported in @objc annotated APIs. So we'll need to transform them into classes.
(Int, String, abc: MyClass)
// Would be transformed to something like:
publicclassTuple_Int_String_abc_MyClass{publiclet_0:Intpubliclet_1:Stringpublicletabc:MyClassWrapper}
The text was updated successfully, but these errors were encountered:
Like Dart records, Swift tuples can have positional and named elements. The main difference is that to access the first element of a Dart record you write
foo.$1
, whereas in Swift you writefoo.0
.Tuples are easy enough to parse, but they're not supported in
@objc
annotated APIs. So we'll need to transform them into classes.The text was updated successfully, but these errors were encountered: