Combine Texts in SwiftUI
In some cases, you’ll need to combine Text into one. How do you achieve this? Using + operator There are several ways on how to achieve this. The most simple one is adding + between Text. Text overloads the + operator so you can combine them to make a new Text. Reduce Returns the result of combining the elements of the sequence using the given closure. —Apple Developer Documentation You can use reduce to combine all items in a collection to create a single new value. In this case, combine all Texts into a single new Text.