Some examples of Swift code