Skip to content

nsflores1/wso-mobile

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

194 Commits
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

New WSO Mobile

Rewrite of the WSO Mobile iOS app in Swift.

This project will, at some point, completely replace the existing WSO Mobile app, so we need to re-create everything. Pull requests are very welcome!

Not sure what to do next? Check the To-Do List or the Issues!

Introduction

Swift is a programming language made by Apple that you should learn; it's pretty good. This project has a special layout that you should respect.

  • The App folder is for Views, which are the GUI screens of the app, and ViewModels, which are the underlying data structure that represent the stateful data which will be rendered by Views.
  • The CLI folder is for the CLI client to WSO Mobile. It's there so that you can quickly and efficiently test some parts of the app without needing to launch a whole iPhone simulator. Feel free to use it if this fits the needs of what you're working on; otherwise ignore it.
  • The Shared folder contains all core logic code. It is where basically all non-GUI code should go, such as helper functions, anything iterative, and all functions that actually do any data parsing. If it modifies a data structure in a non-declarative way, it must live here.

Throughout the project are various Markdown files describing how to use a certain directory or how to extend something, along with many helpful comments. You should read them!

Also: swiftlint is turned on. To turn it off, add the following to your .swiftlint.yml:

lenient: true

That will make it ignore all your errors. You should probably read what swiftlint says at some point, although most of its warnings are more aesthetic than anything, and you should go back and fix them. This is only for when you're in a hurry, or simply want to get something out and fix it later.

To-Do List

Ordered from most to least important:

  • Add views for all core WSO services
  • (Maybe) Decent watchOS support
  • (Maybe) Decent iPadOS support

Users are also regularly submitting feedback. You should listen to them, too!

The Anti-To-Do List

This is a list of things that should never be done. They seem like a good idea, but they are actually bad.

  • Storing the user's token in AppSettings (NEVER do this)
  • Implementing Android support (not our problem)
  • Releasing to tvOS, visionOS, or macOS (why?)
  • Shipping the same code for iOS and iPadOS (don't do this)

About

Rewrite of the WSO Mobile iOS app in Swift

Topics

Resources

License

Stars

Watchers

Forks

Packages

 
 
 

Contributors

Languages