#Luna

An iPhone app that displays current phase of the Moon, using the [Aeris Weather API](http://www.aerisweather.com/develop/). The app is written in Swift with an MVVM architecture.

Before using the app, you'll need to [register for an API key](http://www.aerisweather.com/signup/) and then replace the `clientId` and `clientSecret` defined inside [`AerisAPI.swift`](https://github.com/cocoascientist/Luna/blob/master/Luna/AerisAPI.swift#L51-L59) your own.

Read a full write up about the development of Luna at [cocoascientist.com](http://www.cocoascientist.com/luna-displaying-the-moon-phase.html).

## Requirements

* Xcode 7.3
* Swift 2.2

## Screenshot

![](http://i.imgur.com/gDtubrs.gif)

## Credits

Moon phase icons are provided by [Weather Icons](https://github.com/erikflowers/weather-icons).

App icon created by [MarkieAnn Packer from the Noun Project](https://thenounproject.com/MarkieAnn/collection/moon-phases/?oq=moon&cidx=0&i=139166).
#Luna

An iPhone app that displays current phase of the Moon, using the [Aeris Weather API](http://www.aerisweather.com/develop/). The app is written in Swift with an MVVM architecture.

Before using the app, you'll need to [register for an API key](http://www.aerisweather.com/signup/) and then replace the `clientId` and `clientSecret` defined inside [`AerisAPI.swift`](https://github.com/cocoascientist/Luna/blob/master/Luna/AerisAPI.swift#L51-L59) your own.

Read a full write up about the development of Luna at [cocoascientist.com](http://www.cocoascientist.com/luna-displaying-the-moon-phase.html).

## Requirements

* Xcode 7.3
* Swift 2.2

*For Swift 3 support, checkout the [`development`](https://github.com/cocoascientist/Luna/tree/development) branch.*


## Screenshot

![](http://i.imgur.com/gDtubrs.gif)

## Credits

Moon phase icons are provided by [Weather Icons](https://github.com/erikflowers/weather-icons).

App icon created by [MarkieAnn Packer from the Noun Project](https://thenounproject.com/MarkieAnn/collection/moon-phases/?oq=moon&cidx=0&i=139166).
Add note about Swift 3
Add note about Swift 3
