Skip to content

Latest commit

Β 

History

History
36 lines (23 loc) Β· 1.95 KB

README.md

File metadata and controls

36 lines (23 loc) Β· 1.95 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. 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. swiflint lint --fix automatically runs whenever you build or run in Xcode, which will fix most issues or throw warnings related to code formatting.

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

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