Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

MVP #1

Merged
merged 15 commits into from Oct 24, 2018
Merged

MVP #1

merged 15 commits into from Oct 24, 2018

Conversation

pedrommcarrasco
Copy link
Owner

@pedrommcarrasco pedrommcarrasco commented Oct 24, 2018

Fluky (/ˈfluːki/), adjective

"obtained or achieved more by chance than skill"

Make every loading screen different with Fluky, your random loading screen inspired by PlayStation.

CocoaPods
Carthage compatible
apm

Instalation 📦

Cocoapods

Fluky is available through CocoaPods. To do so, add the following line to your PodFile:

pod 'Fluky'

And then run the following command in terminal:

pod install

Carthage

Add this to your Cartfile:

github "pedrommcarrasco/Fluky"

And then run the following command in terminal:

carthage update

Styles 💅

Single Linear Box
  • ☝️ This background is not part of Fluky

Usage Example ⌨️

After installing Fluky, you should start by importing the framework:

import Fluky

Once imported, you can start using Fluky to create randomized icon based loading sceens. Bellow, you'll be able to see a working example. First, we start by creating a FlukyView:

let flukyView = Fluky.view(as: .single, with: images) 
// size has a default parameter of 30.0

Once you apply your constraints, to start animating you just need to do:

flukyView.start()

In order to stop you just do:

flukyView.stop()

With the goal of being as customizable as possible, Fluky only creates a FlukyView responsible for managing the icons and its animations. With this in mind, it should be added to your view hierarchy where you can customize backgroundColor, add a UILabel & others.

Sample Project 📲

There's a sample project in this repository called Example with some examples.

Contributing 🙌

Feel free to contribute to this project by proving ideas or open a pull request.

License ⛔

Constrictor's available under the MIT license. See the LICENSE file for more information.

@pedrommcarrasco pedrommcarrasco self-assigned this Oct 24, 2018
@pedrommcarrasco pedrommcarrasco changed the title [WIP] MVP MVP Oct 24, 2018
@pedrommcarrasco pedrommcarrasco merged commit bcfca28 into master Oct 24, 2018
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

None yet

1 participant