21GramConsulting / Beton

An enhancement built on top of Foundation Framework and XCTest. Performance test assertions and the magic ?! operator among many. We primarily use it for server-side engineering.

Geek Repo:Geek Repo

Github PK Tool:Github PK Tool

Add new Optional Operators

adam-rocska opened this issue · comments

New optional operators like +? -? and so on.

These operators are to save the bunch of boilerplate when for example concatenating a string with an optional string or adding a number with an optional number.

This is an opportunity for a more complex but useful use case: https://developer.apple.com/documentation/swift/operator-declarations