Latest 0.0.1
Homepage https://github.com/dabing1022/DBMetaballLoading
License MIT
Platforms ios 8.0
Authors

[GitHub license]()
Support
Blog

Synopsis

A metaball loading written in Swift.

Special thanks to dodola‘s MetaballLoading, which is an android project. The animation is awesome! So I implement it in Swift, DBMetaballLoading’s core algorithm is referenced by it’s core algorithm.

Preview

DBMetaballLoading

Usage Example

let loadingView = DBMetaballLoadingView(frame: CGRect(x: 0, y: 100, width: 404, height: 50))
self.view.addSubview(loadingView)

Customizations

  • fillColor: UIColor
  • strokeColor: UIColor
  • ballRadius: CGFloat
  • maxDistance: CGFloat
  • mv: CGFloat
  • handleLenRate: CGFloat
  • spacing: spacing

Installation

CocoaPods

You can use CocoaPods to install DBMetaballLoading by adding it to your Podfile:

platform :ios, '8.0'
use_frameworks!
pod 'DBMetaballLoading'

Manually

  1. Download and drop DBMetaballLoading/Sourcefolder in your project.
  2. Congratulations!

Requirements

  • iOS8+
  • Swift2.0+

Contribution

Please let me know if you like the library, or have any suggestions:]. I plan to maintain this library regularly. Any pull requests are welcome!

License

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

Latest podspec

{
    "name": "DBMetaballLoading",
    "version": "0.0.1",
    "summary": "A metaball loading written in Swift.",
    "description": "A metaball loading written in Swift. Let's rock!",
    "homepage": "https://github.com/dabing1022/DBMetaballLoading",
    "license": "MIT",
    "authors": {
        "ChildhoodAndy": "[email protected]"
    },
    "platforms": {
        "ios": "8.0"
    },
    "source": {
        "git": "https://github.com/dabing1022/DBMetaballLoading.git",
        "tag": "0.0.1"
    },
    "source_files": "Source/*.{swift}",
    "exclude_files": "Classes/Exclude"
}

Pin It on Pinterest

Share This