Coder Social home page Coder Social logo

gran-canaria-beaches's Introduction

#Instructions to run the project

  1. Install libraries: pod install
  2. add this file GoogleService-Info.plist to playas folder
  3. run the project and enjoy

Last changes

In detail we show just today's predicton. The backend is updated just once per day. When we show detailview, if the date of the last prediction is not today, we update coredata with the latest prediction from the backend. If after this update, is today we show it. But if the backend hasn't the today's prediction, then we show an alert view.

Now we don't need to show an error in listview, because we actually don't download all the beaches every time, we just update the current beach and it's predictions in Detailview.

UIControl

There are three uicontrols:

  1. Activity in pull and refresh in the list view.
  2. Switch control in settings page. It allow you hide or show the description in detail view.
  3. UIButton in login page.

Activities

Always I make a network request (even in uiwebview), I show my custom activity. It disappear when the request has finished. At the same time we show the activity in the status bar

Alerts

I show my custom alert always that the network request fails

Gran Canaria Beaches

If we don't have a Photo for one beach, we show Google Street Maps Photo. The images are saved in coredata field, with checkbox for saving to disk.

API Integrated

  • Google Street Maps: To get missing maps
  • Firebase: As database webservice
  • Aemet: to get weather and temperatures

Discover

Discover the most secret beaches in Gran Canaria

Discover

List

You can watch the list of the all the beaches. Pull You can pull the list to refresh it.

List

Detail

Check the current weather, water temperature and Ultraviolet index (electromagnetic radiation) You set your preference about show or hide the description in settings tab

Detail

Settings

Check out more about me (the developer) and the origin of the data. Here

Settings

Login Facebook

From settings, tap in suscribe and You will be able to login with facebook to receive news in you email. If you want, you can use this credentials

Login

gran-canaria-beaches's People

Contributors

sejas 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.