The idiom for dealing with optionals in Swift seems excessively verbose, if all you want to do is provide a default value in the case where it\'s nil:
if let
As of Aug 2014 Swift has coalescing operator (??) that allows that. For example, for an optional String myOptional you could write:
result = myOptional ?? "n/a"