Skip to content

Latest commit

Β 

History

History
36 lines (23 loc) Β· 1.91 KB

README.md

File metadata and controls

36 lines (23 loc) Β· 1.91 KB

Canvas Plus (iOS)

A multi-semester iOS Club initiative, working towards a better iOS client for students using Canvas.

Feature Database

This feature database contains a list and status of features and ideas for this project. To contribute to the list, reach out to an iOS Club exec member on our Discord server.

Resources

Debugging SwiftData

  • SQLite Viewer for viewing SQLite files that SwiftData writes to.
  • Print the following at app launch to get the directory storing these SQLite files.
print(URL.applicationSupportDirectory.path(percentEncoded: false))

Swiftlint

This project uses swiftlint, a Swift Package that ensures consistent code formatting across the codebase. Upon building the project, you will automatically see any swiftlint errors in Xcode. Please resolve these before merging new code into the codebase.

'swiftlint` can automatically fix these most of these errors for you:

  1. Install swiftlint via your Terminal: brew install swiftlint.
  2. Run swiftlint --fix within your project directory.

To make your life easier, you can have Xcode automatically reformat after a particular column length, and trim trailing whitespaces:

  1. Open Xcode preferences (Cmd+",")
  2. Go to Text Editing > Editing
  3. Turn on "Automatically reformat when completing code", "Automatically trim trailing whitespaces", and "Including whitespace-only lines"