Latest 1.0.2
Homepage https://github.com/vkozlovskyi/JellyView
License MIT
Platforms ios 10.0
Authors

Version
License
Platform

Overview

JellyView represents a simple, colorful pull-to-refresh pattern for updating content in a fun animated way. You can set an array of colors that will be changing along with the content. Several options available for customizing animation.

Requirements

iOS 10

Installation

JellyView is available through CocoaPods. To install it, simply add the following line to your Podfile:

 pod 'JellyView'

Manual installation

Just add JellyView folder into your project.

Usage

import JellyView

// Choose the side of the screen: .left, .right, .top or .bottom
// Provide an array of colors for the background
let jellyView = JellyView(side: .left, colors: colors)
view.addSubview(jellyView)

// Add custom view inside:
jellyView.infoView = createInfoView()

// Change various settings for customizing animation and the shape, like this:
jellyView.settings.jellyMass = 1.1
jellyView.settings.innerViewOffset = -20

// Use closures for tracking events:
jellyView.didStartDragging { … }
jellyView.actionDidFire { … }
jellyView.actionDidCancel { … }
jellyView.didEndDragging { … }

Demo

Check out the Example project.

Author

Vladimir Kozlovskyi, [email protected]

Licence

JellyView is available under the MIT license. See the LICENSE file for more info.

Latest podspec

{
    "name": "JellyView",
    "version": "1.0.2",
    "summary": "Simple pull-to-refresh pattern with spring animation",
    "homepage": "https://github.com/vkozlovskyi/JellyView",
    "license": "MIT",
    "authors": {
        "Vladimir Kozlovskyi": "[email protected]"
    },
    "platforms": {
        "ios": "10.0"
    },
    "source": {
        "git": "https://github.com/vkozlovskyi/JellyView.git",
        "tag": "1.0.2"
    },
    "source_files": "JellyView-Example/JellyView/**/*",
    "swift_version": "4.0"
}

Pin It on Pinterest

Share This