Coder Social home page Coder Social logo

isvvc / ios-sprint-challenge-calorie-tracker Goto Github PK

View Code? Open in Web Editor NEW

This project forked from bloominstituteoftechnology/ios-sprint-challenge-calorie-tracker

0.0 1.0 0.0 142 KB

Sprint challenge for Sprint 9 of Lambda's iOS course

Swift 98.83% Ruby 1.17%

ios-sprint-challenge-calorie-tracker's Introduction

Calorie Tracker

Instructions

Please read this entire README to make sure you understand what is expected of you before you begin.

This sprint challenge is designed to ensure that you are competent with the concepts taught throughout Sprint 9, Modularity.

Begin by forking this repository. Clone your forked repository to your machine. There is no starter project. Create a project for this challenge in this repository and commit as appropriate while you work. Push your final project to GitHub, then create a pull request back to this original repository.

You will have 3 hours to complete this sprint challenge

If you have any questions about the project requirements or expectations, ask your PM or instructor. Good luck!

Screen Recording

Please view the screen recordings so you will know what your finished project should look like:

(The gif is fairly large in size. It may take a few seconds for it to appear)

Requirements

The goal of this sprint challenge is to create a calorie tracking app. The app will allow you to enter in the calories that the user takes in every day and will create a chart to show them their calorie intake trends.

The requirements for this project are as follows:

  1. A table view that will display a list of calorie intakes.

  2. Persist the user's calorie intakes using Core Data.

  3. Use the SwiftChart library, chart the user's calorie intake per day.

    1. If there are issues with your dependency building because of Swift code changes, investigate the Issues for the open source project for a solution.
    2. IMPORTANT: You shouldn't make local source changes to a Cocoapod (don't unlock files), otherwise someone else who tries to pod install won't be able to build your project.
  4. Enforce code style with the SwiftLint tool as a "Run Script Phase" (Install with Homebrew)

  5. Fix any errors and warnings in your code based on the rules defined in the ".swiftLint.yml" file.

  6. If you have a lot of whitespace errors you can try using the autocorrect feature (IMPORTANT: commit any code changes before running autocorrect)

    swiftlint autocorrect
  7. Use the Notification Pattern, update the chart and the table view when there are new calorie intakes.

Go Further

  1. Implement calorie tracking of multiple people and show a single chart that compares their calorie intake.
  2. Add another third-party library to the application. (Refer to this repo for a good list of libraries to use)
  3. Synchronize your data to a Firebase Database.

ios-sprint-challenge-calorie-tracker's People

Contributors

skjiisa avatar paulsolt avatar armadsen avatar spencercurtis avatar

Watchers

James Cloos avatar

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    ๐Ÿ–– Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. ๐Ÿ“Š๐Ÿ“ˆ๐ŸŽ‰

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google โค๏ธ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.