MyWeight is a body mass tracker focused on make easy to input new data and check your weight history

Overview

Build Status

MyWeight

MyWeight is a body mass tracker focused on make easy to input new data and check your weight history.

Getting Started

Environment prerequisites

Ruby

If yon don't have experience with Ruby we recommend rbenv:

brew install rbenv
rbenv init
echo 'eval "$(rbenv init -)"' >> ~/.bash_profile

Install the Ruby version used on the project:

rbenv install `cat .ruby-version`

Bundler

gem install bundler

Optional: Rakefile auto complete

Nobody likes to type 😉

Brew has a repository only for auto completions:

brew tap homebrew/completions
brew install bash-completion
brew install rake-completion

Don't forget to add to your .bash_profile:

if [ -f $(brew --prefix)/etc/bash_completion ]; then
    . $(brew --prefix)/etc/bash_completion
fi

Install submodules

git submodule update --init --recursive

Configuring the environment and dependencies

rake setup

Running the tests

rake xcode:tests

Authors

License

This project is licensed under the MIT License - see the LICENSE file for details.

Acknowledgments

Comments
  • Apple Watch complication

    Apple Watch complication

    According to the WatchKit Programming Guide, Apple recommends that all Watch apps include a complication, even if that complication only acts as a button to launch the app.

    Besides that, I think a good action for the complication (at least for me 😅) would be to open the app directly in the input screen.

    feature request 
    opened by brunokoga 9
  • Adding code coverage validation to Danger

    Adding code coverage validation to Danger

    I builded a Danger plugin to validate xcode code coverage on a PR using Slather. Adding it, Danger will start notify as warning files that have less than 50% code coverage and are changed and warning builds with less than 80%.

    When we achieve this coverage we can change for fail the build in a PR.

    It's marked as WIP because I'm still working on the plugin. If you wanna take a look on it, please be welcome. Plugin Danger-Slather

    opened by BrunoMazzo 7
  • Adding tests to ListViewController

    Adding tests to ListViewController

    • Created protocol MassRepository
    • Fixing layout bug reported on #73
    • Adding layout tests

    I did not know the exact height of the add button shadow, so used 32.

    opened by BrunoMazzo 6
  • Update project to Xcode 13, iOS 15 and watchOS 8

    Update project to Xcode 13, iOS 15 and watchOS 8

    • Update project dependencies
    • Update project to run in Xcode 13
    • Update deployment target to iOS 14 and watchOS 7
    • Fix issues caused by updates
    • Update SwiftGen config
    chore 
    opened by diogot 4
  • Include the possibility to edit value for entry

    Include the possibility to edit value for entry

    I don't know if it is possible, but, it would be great to have the possibility to edit an entry. So, if happens that the user added the wrong value, or re measured a saw divergence, it can fix it.

    feature request 
    opened by igorcferreira 4
  • Git submodule update failed

    Git submodule update failed

    After I have finished brew install.... I meet an error while running git submodule update --init --recursive
    Here is the ERROR output.How can I resolve it?

    Submodule 'rakelib' ([email protected]:diogot/xcode-rakelib.git) registered for path 'rakelib'
    Cloning into '/Users/weslie/Desktop/XCode/ProjectForReference/watchOS/MyWeight/rakelib'...
    Permission denied (publickey).
    fatal: Could not read from remote repository.
    
    Please make sure you have the correct access rights
    and the repository exists.
    fatal: clone of '[email protected]:diogot/xcode-rakelib.git' into submodule path '/Users/weslie/Desktop/XCode/ProjectForReference/watchOS/MyWeight/rakelib' failed
    Failed to clone 'rakelib'. Retry scheduled
    Cloning into '/Users/weslie/Desktop/XCode/ProjectForReference/watchOS/MyWeight/rakelib'...
    Permission denied (publickey).
    fatal: Could not read from remote repository.
    
    Please make sure you have the correct access rights
    and the repository exists.
    fatal: clone of '[email protected]:diogot/xcode-rakelib.git' into submodule path '/Users/weslie/Desktop/XCode/ProjectForReference/watchOS/MyWeight/rakelib' failed
    Failed to clone 'rakelib' a second time, aborting
    
    opened by iWeslie 3
  • Layout glitches

    Layout glitches

    Problem

    On some states, especially after rotation of device, the layout present glitches like button size, top spacing and missing texts.
    

    System

    - Device: iPhone 7+ (MN4M2B/A)
    - iOS: 10.2 (14C5062e)
    - App version: 1.0 (3)
    

    Detailed cases

    • New Entry View
    • [x] Weird top space on the screen to add new entry (portrait)
    • [x] New entry view title missing on landscape
    • [x] After rotation, the save button on new entry changes its side (portrait)
    • [x] After rotation, the save button disappears from the layout (landscape)
    • Entries list view
    • [x] Entry list appearing behind Add button (portrait)
    bug discussion 
    opened by igorcferreira 3
  • Adding some snapshots tests

    Adding some snapshots tests

    On this PR:

    • Fixing ruby version
    • Adding layout tests on AccessDeniedViewController and AuthorizationRequestViewController

    If these tests are OK, I can add to the other viewControllers, but then I'll need to refactor some things.

    I'm waiting for feedback to continue.

    opened by BrunoMazzo 3
  • Make Watch be an independent app

    Make Watch be an independent app

    • Update dependencies
    • Make the watch app be a proper independent app instead of an iOS extention
    • Delete dev targets (I'll add a rake to change between profiles in a next PR)
    • Update signing to be automatic for development
    • Stop using Quick in tests
    feature 
    opened by diogot 2
  • SwiftUI? Maybe?

    SwiftUI? Maybe?

    Hey! Long time no see!

    I saw that you were updating the project and decided to play a little.

    I converted AddView to SwiftUI. It's just an experiment and I don't know if you like SwiftUI, so no worries about merging. I'm doing more to practice and learn more about it. Let me know what do you think.

    opened by BrunoMazzo 2
  • Graphical timeline

    Graphical timeline

    I know MyWeight aims to have the cleanest interface possible. But after adding some entries to the app, I would like to see my progress (or my lack of progress) in a nice graphical view. Currently it's hard to have a big view of your improvement, specially when you have a lot of entries.

    feature request 
    opened by brunokoga 5
  • [Feture Request] Force touch action

    [Feture Request] Force touch action

    Description Include a force touch action where the user can trigger a new entry inclusion

    Motivation The user would be able to open directly in the new entry view and perform the most common use of the app that is a daily input of data. This can also be used, on a late point, for actions from watch and/or extension

    feature request 
    opened by igorcferreira 2
Releases(1.4-25)
Owner
Diogo Tridapalli
Diogo Tridapalli
A drink tracker for iOS with Untappd and HealthKit integration.

Good Spirits is a drink tracking iOS app that helps you stay under the government limits for "low-risk" drinking. Includes charts and stats, the abili

Alexei Baboulevitch 171 Nov 22, 2022
Coronavirus tracker app for iOS & macOS with maps & charts

Features Live data: Shows the most recent data, and updates automatically. Distribution map with two levels of details: Countries: When the user zooms

Mhd Hejazi 1.5k Dec 28, 2022
Corona Virus Tracker & Advices iOS App with SwiftUI

Corona Virus Stats & Advices App with SwiftUI Features Current statistics of global total confirmed, deaths, recovered cases. Statistics of countries

Alfian Losari 358 Dec 27, 2022
Corona Virus Tracker & Advices App with Flutter

Corona Virus Tracker & Advices App with Flutter Try the web app dev preview https://alfian-flutter-coronatracker.firebaseapp.com/ Features Current sta

Alfian Losari 88 Dec 19, 2022
:globe_with_meridians: Small iOS app to show some COVID-19 health, data, news and tweets

covid19.swift Small iOS app to show some COVID-19 health, data, news and tweets ⚡ Requirements Xcode 12, iOS 14 Credits API: COVID-19 API: News Tweets

null 26 Nov 30, 2022
Covid Update Feed: An app that fetches data from the UK government's API for coronavirus announcements

Covid Update Feed Covid Update Feed is a single screen app that fetches data fro

Duncan Kent 0 Feb 16, 2022
Open source iOS app to track COVID-19 cases in a beautiful, easy-to-use interface

Covidcheck Covidcheck is an app that allows people to track COVID-19 cases in an easy-to-use interface to increase awareness and preparation. Unfortun

Julian Schiavo 255 Aug 11, 2022
An iOS application for remembering to take your medications. (Pronounced like the letters R-X.)

Arex An iOS application for remembering to take your medications. Downloading The following commands will set up an Arex checkout. You'll need Xcode o

Alexsander Akers 99 Jun 29, 2022
iOS14 widget to display/launch your COVID-19 vaccines

Vaccinated Widget to display/launch your recent COVID-19 vaccines. WIP.

Ellen Li 1 Jan 8, 2022
A simple App to Track the status of Covid-19 around the World. Using SwiftUI and GraphQL

CovidUI CovidUI is a simple App to Track the status of Covid-19 around the World. This is a simple App I made to track the spread of Covid-19 for me a

Mathias Quintero 77 Dec 14, 2022
iOS and WatchOS Client for the Nightscout CGM System

Nightguard This is an iPhone and Apple Watch application to display blood glucose values stored at your nightscout server. Description Disclaimer! Don

null 170 Dec 28, 2022
Help Victorians (from Australia) find exposure sites around them, and other features too

Exposure VIC app Find exposure sites near you and keep everyone safe Information This is a concept app that pulls data from the Victorian Government d

Mark Battistella 5 Apr 6, 2022
This app is a sample app that recognizes specific voice commands such as "make it red", "make it blue", "make it green", and "make it black" and change the background color of the view in the frame.

VoiceOperationSample This app is a sample app that recognizes specific voice commands such as "make it red", "make it blue", "make it green", and "mak

Takuya Aso 3 Dec 3, 2021
Deal with query items, HTTP headers, request body and more in an easy, declarative way

Reusable system for complex URL requests with Swift. Deal with query items, HTTP headers, request body and more in an easy, declarative way. Check out our engineering blog to learn more!

Parable Health 19 Sep 5, 2022
AZSafariCollectionViewLayout is replica of safari browser history page layout. very easy to use, IBInspectable are given for easy integration

AZSafariCollectionViewLayout Features iOS Safari history view layout IBDesignAble for properties Few minutes integration Installation CocoaPods CocoaP

Afroz Zaheer 211 Dec 6, 2022
An interactive body tracking installation

SharingElements An interactive body tracking installation Requirements Hardware requirements: MacOS computer (preferably (M1 chip)[https://en.wikipedi

Joel Gethin Lewis 15 Jun 7, 2022
**`withCheckedContinuation`'s body will run on background thread in case of starting from main-actor.**

ConcurrencyContinuationReproduce Differences of Concurrency behaviors between Xcode 14.0 and 14.1 Xcode 14.0 iOS 13+: Runs on main (inherited same con

Hiroshi Kimura 4 Dec 20, 2022
Helps you easily handle Core Data's Persistent History Tracking

Persistent History Tracking Kit Helps you easily handle Core Data's Persistent History Tracking 中文版说明 What's This? Use persistent history tracking to

东坡肘子 27 Dec 27, 2022
Input Mask is an Android & iOS native library allowing to format user input on the fly.

Migration Guide: v.6 This update brings breaking changes. Namely, the autocomplete flag is now a part of the CaretGravity enum, thus the Mask::apply c

red_mad_robot 548 Dec 20, 2022
Input Validation Done Right. A Swift DSL for Validating User Input using Allow/Deny Rules

Valid Input Validation Done Right. Have you ever struggled with a website with strange password requirements. Especially those crazy weird ones where

Mathias Quintero 37 Nov 3, 2022