Skip to main content

Questions tagged [swift]

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

Filter by
Sorted by
Tagged with
10 votes
14 answers
930 views

Swifty Argument Labels

For the purpose of this challenge, arguments are things you pass to a function at the call site, while parameters are what the function uses in its implementation. Or, more succinctly: arguments = ...
macOSisthebestOS's user avatar
31 votes
15 answers
2k 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 ...
addison's user avatar
  • 1,093
7 votes
1 answer
628 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 ...
Kametrixom's user avatar