> On Feb 9, 2017, at 1:26 PM, Rick Mann via swift-users <[email protected]> > wrote: > > Is there any concise way to write the following? > > if let collection = someOptionalCollection > { > for item in collection > { > } > }
someOptionalCollection?.map {
/* do something with $0 /*
}
_______________________________________________
swift-users mailing list
[email protected]
https://lists.swift.org/mailman/listinfo/swift-users
