Ecosyste.ms: Awesome

An open API service indexing awesome lists of open source software.

Awesome Lists | Featured Topics | Projects

https://github.com/sejas/gran-canaria-beaches

Simple and dull app to locate all the beaches in las palmas
https://github.com/sejas/gran-canaria-beaches

Last synced: about 3 hours ago
JSON representation

Simple and dull app to locate all the beaches in las palmas

Awesome Lists containing this project

README

        

#Instructions to run the project
1. Install libraries:
`pod install`
2. add this file [GoogleService-Info.plist](https://grancanariabeaches.baulen.com/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](https://grancanariabeaches.baulen.com/repository/gran-canaria-beaches-map.jpg "Discover")

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

![List](https://grancanariabeaches.baulen.com/repository/gran-canaria-beaches-list.jpg "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](https://grancanariabeaches.baulen.com/repository/gran-canaria-beaches-detail.jpg "Detail")

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

![Settings](https://grancanariabeaches.baulen.com/repository/gran-canaria-beaches-settings.jpg "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
- user: [email protected]
- password: udacity

![Login](https://grancanariabeaches.baulen.com/repository/gran-canaria-beaches-login.jpg "Login")