tracks/objective-c/exercises/leap/README.md in trackler-2.2.1.103 vs tracks/objective-c/exercises/leap/README.md in trackler-2.2.1.104
- old
+ new
@@ -2,11 +2,11 @@
Given a year, report if it is a leap year.
The tricky thing here is that a leap year in the Gregorian calendar occurs:
-```plain
+```text
on every year that is evenly divisible by 4
except every year that is evenly divisible by 100
unless the year is also evenly divisible by 400
```
@@ -33,15 +33,21 @@
- Create an Xcode project with a test target which will run the tests.
- Use the ruby gem `objc` as a test runner utility.
Both are described in more detail here: http://exercism.io/languages/objective-c
-
### Submitting Exercises
When submitting an exercise, make sure your solution file is in the same directory as the test code.
-For example, if you're submitting `Bob.m` for the Bob exercise, the submit command would be something like `exercism submit <path_to_exercism_dir>/objective-c/bob/Bob.m`.
+The submit command will look something like:
+
+```shell
+exercism submit <path-to-exercism-workspace>/objective-c/leap/Leap.m
+```
+
+You can find the Exercism workspace by running `exercism debug` and looking for the line beginning
+with Workspace.
## Source
JavaRanch Cattle Drive, exercise 3 [http://www.javaranch.com/leap.jsp](http://www.javaranch.com/leap.jsp)