Latest 1.0.1
Homepage https://github.com/bpisano/Alison
License MIT
Platforms ios 11.0
Authors

CI Status
Version
License
Platform

Alison gif

Get Started

Alison is a cool and easy to use animation for your bot. You can use an ALView to create an animation in your app :

let animationView = ALView(frame: CGRect(x: 0, y: 0, width: 100, height: 100))

Alison have two animation states. The normal state is by default slow and green. The thinking state represent a bot activity to show to your users that something is happening. The normal state is the state by default when loading the view.

To change states, you can use :

animationView.setNormalState()
animationView.setThinkingState()

Customization

Alison is fully customizable. You can change various parameters to adapt it to your app. Here is an example of full customization :

let animationView = ALView(frame: CGRect(x: 0, y: 0, width: 100, height: 100))

animationView.rayCount = 5
animationView.rayLength = 6
animationView.rayRadius = 5
animationView.raySpeed = 6

animationView.normalPrimaryColor = UIColor.red
animationView.normalSecondaryColor = UIColor.cyan

animationView.thinkingPrimaryColor = UIColor.blue
animationView.thinkingSecondaryColor = UIColor.green

Installation

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

pod 'Alison'

Then run pod install.

Requirements

Alison require iOS 11.0 and Swift 5.

Author

Alison is made by me, Benjamin Pisano. If you want to talk with me, you can contact me on Twitter @benjamin_pisano.

License

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

Latest podspec

{
    "name": "Alison",
    "version": "1.0.1",
    "summary": "Alison the bot. A bot animation in SpriteKit.",
    "description": "Alison is a cool bot animation written with SpriteKit. It can be used for a chatbot icon for example.",
    "homepage": "https://github.com/bpisano/Alison",
    "license": {
        "type": "MIT",
        "file": "LICENSE"
    },
    "authors": {
        "bpisano": "[email protected]"
    },
    "source": {
        "git": "https://github.com/bpisano/Alison.git",
        "tag": "1.0.1"
    },
    "social_media_url": "https://twitter.com/benjamin_pisano",
    "platforms": {
        "ios": "11.0"
    },
    "swift_version": "5.0",
    "source_files": "Alison/Classes/**/*",
    "resources": "Alison/Assets/**/*"
}

Pin It on Pinterest

Share This