Git Product home page Git Product logo

baby-monitor-client-ios's Introduction

Baby Monitor iOS

Welcome to the Baby Monitor project. It's an application made for monitoring babies, which can help parents take care of their children. Application works similar to this product: https://www.philips.ie/c-p/SCD620_05/avent-baby-monitor-digital-video-baby-monitor

Team

Tools & Services

Configuration

Prerequisites

Instalation

  1. Clone repository:

    # over https:
    git clone https://github.com/netguru/baby-monitor-client-ios.git
    # or over SSH:
    git clone [email protected]:netguru/baby-monitor-client-ios.git
  2. Install required Gems:

    bundle install
  3. Run Carthage:

    carthage bootstrap --platform iOS --cache-builds
  4. IMPORTANT: Open terminal and prevent saving changes being made to GoogleService-Info.plist: Enter plists folder

cd "Baby Monitor/Supporting Files/Firebase"

and start ignoring changes made to the files in there

git update-index --assume-unchanged $(git ls-files | tr '\n' ' ') 
  1. For Developers from Netguru:

Download from project's vault:

  • .env file into the project's root directory
  • GoogleService-Info-Development, GoogleService-Info-Staging, GoogleService-Info-Production.plist files to the location: Baby Monitor/Supporting Files/Firebase/

In case of the lack of an access:

For a full integration please configure your own application in Firebase, download and paste plists from there as well as a key to .env.

  1. Install pods through Bundler:

    bundle exec pod install
  2. Open Baby Monitor.xcworkspace file and build the project.

Coding guidelines

  • Respect Swift API Design Guidelines

  • The code must be readable and self-explanatory - full variable names, meaningful methods, etc.

  • Don't leave any commented-out code.

  • Write documentation for every method and property accessible outside the class. For example well documented method looks as follows:

    for Swift:

     /// Tells the magician to perform a given trick.
     ///
     /// - Parameter trick: The magic trick to perform.
     /// - Returns: Whether the magician succeeded in performing the magic trick.
     func perform(magicTrick trick: MagicTrick) -> Bool {
     	// body
     }

Related repositories

Tips

Layout

  • Use helper methods from UIView+AutoLayout.swift
  • Examples:
addSubview(view)
view.addConstraints {[
    $0.equalConstant(.height, 36), // sets height to 36
    $0.equalConstant(.width, 285), // sets width to 285
    $0.equal(.centerX), // attaches centerXAnchor to superView centerXAnchor
    $0.equalTo(topView, .top, .bottom, constant: 80) // attaches views topAnchor to topView bottom anchor with offset 80
]}

baby-monitor-client-ios's People

Contributors

bkucharskidev avatar bartosy-ymija avatar akashivskyy avatar piotr-sekara avatar vol24pl avatar timorohner avatar pkozielecki avatar anyashka avatar przemyslawcholewadev avatar karolpiateknet avatar pgryka 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.