Skip to content
This repository has been archived by the owner on Nov 9, 2017. It is now read-only.

An iOS app that lets you browse Swift repositories on GitHub. Built with StateView.

License

Notifications You must be signed in to change notification settings

sahandnayebaziz/StateView-Samples-SwiftHub

Repository files navigation

import Genius

SwiftHub is an iOS app that displays Swift repositories from GitHub. SwiftHub was built with StateView.

Requirements

  • Swift 3+
  • StateView

Overview

SwiftHub was the second app made with StateView, an intuitive UIView subclass I made to help make managing views and rich, interactive states in an app easier and more approachable.

Most of the work that you would normally do adding and removing subviews, orchestrating initializing those views and creating patterns to communicate information back and forth is taken care of by StateView as the normal code I wrote (not complex, cryptically functional, declarative, or stream and sequence based) does things like present a UIAlertController, accept an array of repositories from the GitHub API, and update a value in a state dictionary with the current filter being used. SwiftHub is safe, fast, and the source is happily missing a lot of code that would normally be there to move views around.

SwiftHub is a simple app that can display the most popular repositories on GitHub written in Swift that were made in the last week, the last month, the last year, and anytime before that.

SwiftHub is a great example of what you can do with StateView.

Screenshots

Credits

SwiftHub was written by Sahand Nayebaziz and made with StateView.

License

SwiftHub is released under the MIT license. See LICENSE for details.

About

An iOS app that lets you browse Swift repositories on GitHub. Built with StateView.

Topics

Resources

License

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published