Latest 0.0.1
Homepage https://github.com/cemolcay/MarchingLayer
License MIT
Platforms ios 8.0, tvos 9.0, requires ARC
Authors

Randomly fills layer with sprites and move them in any direction and speed you want.

Demo

alt tag

Requirements

  • Swift 4.0+
  • iOS 8.0+
  • tvOS 9.0+

Install

pod 'MarchingLayer'

Usage

Create and add a MarchingLayer into your view.
Set sprites property with images you want to show in layer.
Set animationDirection to up, down, left or right.
Set animationSpeed to change animation speed.
Call startAnimation() to start, stopAnimation() to stop marching animation.

Latest podspec

{
    "name": "MarchingLayer",
    "version": "0.0.1",
    "summary": "Randomly fills layer with sprites and move them in any direction and speed you want.",
    "description": "MarchingLayern====nnRandomly fills layer with sprites and move them in any direction and speed you want.nnDemon----nn![alt tag](https://github.com/cemolcay/MarchingLayer/raw/master/demo.gif)nnRequirementsn----nn* Swift 4.0+n* iOS 8.0+n* tvOS 9.0+nnInstalln----nn```npod 'MarchingLayer'n```nnUsagen----nnCreate and add a `MarchingLayer` into your view.nSet `sprites` property with images you want to show in layer.nSet `animationDirection` to `up`, `down`, `left` or `right`.nSet `animationSpeed` to change animation speed.nCall `startAnimation()` to start, `stopAnimation()` to stop marching animation.",
    "homepage": "https://github.com/cemolcay/MarchingLayer",
    "license": "MIT",
    "authors": {
        "cemolcay": "[email protected]"
    },
    "social_media_url": "http://twitter.com/cemolcay",
    "platforms": {
        "ios": "8.0",
        "tvos": "9.0"
    },
    "source": {
        "git": "https://github.com/cemolcay/MarchingLayer.git",
        "tag": "0.0.1"
    },
    "source_files": "MarchingLayer/MarchingLayer.swift",
    "requires_arc": true,
    "pushed_with_swift_version": "3.0"
}

Pin It on Pinterest

Share This