evanspa / gasjot-ios Goto Github PK
View Code? Open in Web Editor NEWGas Jot iOS application.
Gas Jot iOS application.
To allow users to easily let their friends know about Gas Jot.
That when clicked, display alert pop-up provide help / info on the meaning of the form fields.
For example, gallon-price on fuel purchase log is required on the server, but not required on the client.
I.e., leverage preferredFontForTextStyle: on UIFont
Gas Jot currently assumes all vehicles are gasoline-based. Need to add support for diesel-based vehicles. When creating a vehicle, an option will appear to mark the vehicle as being diesel-based. Similarly when creating gas logs, an option will exist to mark it as a diesel purchase (and thus, "Octane" will not be a relevant field).
Add support for the concept of logging a "Trip." Some examples of why this feature would be useful:
Add support for electric vehicles. There should be a way to log a "charging event." I need to research what electric vehicles provide in terms of reported data points. I also need to research if there's a way to know how much money a charging-event costs.
On the home screen, add a “I Need Gas” button, that when pressed, gives list of gas stations within 5 km radius ordered by distance and avg price per gallon for the octane relevant to vehicleInCtx. Put a “Get Directions” button in each row that when pressed launches map app on device. (do-able?)
Not all vehicles' dashboards display the same amount of information. E.g., some might not display a range/DTE; some may not display an AVG MPG or MPH; in those cases, when creating gas and odometer logs, it doesn't make sense to even display those fields. It should be possible to indicate which fields are relevant to a vehicle, and then have input screens render accordingly.
When the Home screen's viewDidAppear is invoked, all data-loading operations occur on a background thread via GCD. When done, the charts are re-drawn on the main thread. The various data sets that back the charts are held in NSMutableArray objects. In viewDidAppear, functions are kicked-off in background threads to clear the arrays, pull data from the local SQLite instance, and re-populate the arrays. The problem arises when the user quickly and repeatedly toggles back-and-forth to the Home screen. These 3 steps are occurring in multiple-executing threads and the data in those arrays are sometimes not consistent.
A declarative, efficient, and flexible JavaScript library for building user interfaces.
🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.
TypeScript is a superset of JavaScript that compiles to clean JavaScript output.
An Open Source Machine Learning Framework for Everyone
The Web framework for perfectionists with deadlines.
A PHP framework for web artisans
Bring data to life with SVG, Canvas and HTML. 📊📈🎉
JavaScript (JS) is a lightweight interpreted programming language with first-class functions.
Some thing interesting about web. New door for the world.
A server is a program made to process requests and deliver data to clients.
Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.
Some thing interesting about visualization, use data art
Some thing interesting about game, make everyone happy.
We are working to build community through open source technology. NB: members must have two-factor auth.
Open source projects and samples from Microsoft.
Google ❤️ Open Source for everyone.
Alibaba Open Source for everyone
Data-Driven Documents codes.
China tencent open source team.