/weatherblah-react-native-demo

Simple weather/map demo built in React Native, making use of MapView and openweathermap.

Primary LanguageObjective-C

WeatherBlah

Simple weather demo built in React Native, making use of MapView and openweathermap.

https://gyazo.com/79829221e12a828d18aa5c39b2baec17

TODO

  • Organize components into individual files.
  • Use more ES6/ES7 features (intentionally neglected ES6 class).
  • Consider ways to improve functionality.

Installation

Basic React Native setup requirements here and for Android here.

Summary:

  1. Install Xcode

  2. Install Node.js 4.0 or newer. $ brew install node a. NVM is also useful to manage your node version.

  3. Install watchman, which like gulp watch detects file changes and rebuilds assets $ brew install watchman.

  4. Install RN binary$ npm install -g react-native-cli

  5. Run with $ react-native start

iOS Simulator

  1. $ open ios/stopwatch.xcodeproj/ - Opens the iOS sub-project in Xcode.

  2. Click the "Play" button in Xcode