Questions tagged [swift]

For challenges related to the Swift language. Note that language specific challenges are generally discouraged.

Filter by
Sorted by
Tagged with
26
votes
11answers
1k views

Tips for golfing in Swift

What are some tips for code-golfing in Swift? Its focus on safety seems to make it difficult to golf in, but that makes little tips and even more useful. Are there any features in Swift that may help ...
7
votes
1answer
574 views

The Swift Make-It-Compile Challenge #4 [closed]

This is a challenge for the people using Swift 2.0 beta 6, it's not code golf, but it's a programming puzzle so I'm pretty sure this belongs here. The basic idea is: Make it compile. There are more ...