Posts

Post not yet marked as solved
3 Replies
0 Views
Yeah..figured this out just before....using this now (works but maybe not the correct way ;o): let address = order.firstName + " " + order.lastName + "\n" + order.address + "\n" + orderZIP + " " + order.city Text(address) But a computed var might be even better...
Post not yet marked as solved
3 Replies
0 Views
Yepp this works: var Adresszeile: String { return firstName + " " + lastName + "\n" + address + "\n" + ZIP + " " + city } Hmm...can I concatenate a String conditionally? Like add it only when it is not empty? Some orders might have a company name filled out which should go into the address lines after the name...
Post not yet marked as solved
3 Replies
0 Views
Ah bugger...totally overlooked your line here with: Populate sortedOrdersPerDay upfront with fetch. Have to learn some more Swift than on how to achieve that (o;
Post not yet marked as solved
3 Replies
0 Views
Good morning (o; Hmm...gives me: Generic struct 'ForEach' requires that 'ordersOfADay' conform to 'RandomAccessCollection' Whatever that means (o;