-
Notifications
You must be signed in to change notification settings - Fork 1
Fixing docs #1
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
base: master
Are you sure you want to change the base?
Fixing docs #1
Conversation
Some syntax changes (highlighting/capatilisation), code fixes and additional info added
| pod install | ||
| ``` | ||
| 6. Open the FoodTracker Application in Xcode | ||
| ``` |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Could you make this Application lower case too?
| This Xcode workspace contains the food tracker mobile app, which can be run by clicking the play button. | ||
| This Xcode workspace contains the FoodTracker mobile app, which can be run by clicking the play button. | ||
|
|
||
| ## Connecting A PostgreSQL Database |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Can you make the A lower case to match the title below?
README.md
Outdated
| 6. Type `\q` and then press ENTER to quit `psql`. | ||
|
|
||
| ### Adding Swift-Kuery dependencies to your server | ||
| [Swift-Kuery](https://github.com/IBM-Swift/Swift-Kuery) is a database abstraction layer, it works alongside a specific database library, such as [Swift-Kuery-PostgreSQL](https://github.com/IBM-Swift/Swift-Kuery-PostgreSQL), to allow a user to easily query a SQL database in Swift. These two libraries are added to our Package.swift file, so the Server can access them. |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Package.swift here should have back-ticks around it.
README.md
Outdated
| To work with the meals table in the database, Swift-Kuery requires a matching class. We will now create a `Meals` class to match the meals table we created earlier in PostgreSQL. | ||
|
|
||
| 1. Open your `Sources > Application > Meal.swift` file | ||
| 1. In Xocde, open your `Sources > Application > Meal.swift` file. |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Xocde!
| import SwiftKueryPostgreSQL | ||
| ``` | ||
| 6. Inside the `App` class create a `Meals` table object by inserting the line: | ||
| 6. Inside the `App` class create an instance of the `Meals` table object by inserting the following line: |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Line 150 needs changing (sorry it isn't this line)... it is "We will now connect to our server to the PostgreSQL database. " there are too many to's!
|
@tunniclm I believe that you're going to do a technical review on this code for Andy. Please can you answer Alex's question about whether we need to add a license as this tutorial actually contains code? |
Some syntax changes (highlighting/capatilisation), code fixes and additional info added. Have also added screenshot to help with Xcode scheme changes.
Do we need to add a license (and the respective badge to the header)? Also, haven't added the "Mac OS" badge to the header, but might also want to put that in as tutorial is only for Mac?