Closed ckruse closed 9 years ago
Hi,
a ternary operator is a common thing in return statements, and often they contain line breaks. A ternary operator should therefore be indented:
instead of this (current behaviour):
return order!.deliver ? OrderViewTableDeliveryCells.lastCellIndex.rawValue : OrderViewTableTakeAwayCells.LastCellIndex.rawValue
I'd like to get this:
Hi,
a ternary operator is a common thing in return statements, and often they contain line breaks. A ternary operator should therefore be indented:
instead of this (current behaviour):
I'd like to get this: