Code Monkey home page Code Monkey logo

fluky's Introduction

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

Installation πŸ“¦

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

Swift Package Manager

In your app target click + in Frameworks, Libraries, and Embedded Content, then Add Other..., Add Package Dependency..., put repository url https://github.com/pedrommcarrasco/Fluky.git

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) // images -> array of icons you want to display
// 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.

Support Fluky ❀️

Hello there πŸ‘‹

I’m Pedro, a Portuguese iOS Engineer since February 2017. I’m an avid OSS enthusiast and contributor - help by sharing, learn by what’s shared.

I've built and open-sourced multiple frameworks and applications, including Brooklyn and CocoaHub.

I'm also a conference and meetup organizer, being part of SwiftAveiro and CocoaHeads Porto.

If you enjoy my work and would like to help me continue it, please consider:

Contributing πŸ™Œ

Feel free to contribute to this project by providing ideas or opening pull requests.

License β›”

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

fluky's People

Contributors

cipi1965 avatar pedrommcarrasco avatar

Stargazers

 avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar

Watchers

 avatar  avatar  avatar

fluky's Issues

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.