tracks/objective-c/exercises/transpose/README.md in trackler-2.2.1.103 vs tracks/objective-c/exercises/transpose/README.md in trackler-2.2.1.104
- old
+ new
@@ -2,18 +2,18 @@
Given an input text output it transposed.
Roughly explained, the transpose of a matrix:
-```
+```text
ABC
DEF
```
is given by:
-```
+```text
AD
BE
CF
```
@@ -24,40 +24,40 @@
- Pad to the left with spaces.
- Don't pad to the right.
Therefore, transposing this matrix:
-```
+```text
ABC
DE
```
results in:
-```
+```text
AD
BE
C
```
And transposing:
-```
+```text
AB
DEF
```
results in:
-```
+```text
AD
BE
F
```
In general, all characters from the input should also be present in the transposed output.
-That means that if a column in the input text contains only spaces on its bottom-most row(s),
+That means that if a column in the input text contains only spaces on its bottom-most row(s),
the corresponding output row should contain the spaces in its right-most column(s).
## Setup
There are two different methods of getting set up to run the tests with Objective-C:
@@ -65,15 +65,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/transpose/Transpose.m
+```
+
+You can find the Exercism workspace by running `exercism debug` and looking for the line beginning
+with Workspace.
## Source
Reddit r/dailyprogrammer challenge #270 [Easy]. [https://www.reddit.com/r/dailyprogrammer/comments/4msu2x/challenge_270_easy_transpose_the_input_text](https://www.reddit.com/r/dailyprogrammer/comments/4msu2x/challenge_270_easy_transpose_the_input_text)