swift icon indicating copy to clipboard operation
swift copied to clipboard

Exercism exercises in Swift.

Results 85 swift issues
Sort by recently updated
recently updated
newest added

A student I was mentoring expressed frustration that it is not clear from the [instructions](https://exercism.org/tracks/swift/exercises/clock) that you need to use the CustomStringConvertible protocol to solve this problem. She hadn't encountered...

Code that works in Playground for some reason return fail on Exorcism. [Playground Screenshot.](https://www.icloud.com/iclouddrive/08eL2vMPT797Hzt0zJCrWD1Lg#Screenshot_2021-12-19_at_21.54) [Exercism Screenshot](https://www.icloud.com/iclouddrive/0cfsSdCGgliLavzcU7GKhFPtQ#Screenshot_2021-12-19_at_22.03)

Foundation is required for time and date functions; this had me a little confused for a long time. Due to the time at which this practice is made available, there...

The input: "WHAT THE HELL WERE YOU THINKING?" It's a question that is in all caps, so, it meets the criteria for yelling a question. Current expected value does not...

Added "and" part for test cases, which number is over 99, according to exercise instructions (step 4). These numbers must be in the format "... and ...", as in the...

I submitted a solution and got this on the editor: We received the following error when we ran your code: /mnt/exercism-iteration/Tests/RobotNameTests/RobotNameTests.swift:41:13: warning: variable 'robot' was never mutated; consider changing to...

This will help to avoid needing to inspect the tests in order to understand the expected names and structures. It should be edited by a maintainer to better fit if...

I am trying a to mentor a student on the BombDefuser exercise. It states: > For each bit in the ID number, starting with the leftmost bit, you will apply...