Latest 1.0.0
Homepage https://github.com/suzuki-0000/SummerWars
License MIT
Platforms ios 8.0, requires ARC
Frameworks UIKit
Authors

Carthage Compatible
Cocoapods Compatible
Swift 2.0

Summerwars is the view inspired by Summerwars.

sample

features

  • Display like Summerwars!!

What is Summerwars??

  • Summer Wars is a 2009 Japanese animated science fiction film. see wikipedia.
  • Also See this official video

Installation

CocoaPods

available on CocoaPods. Just add the following to your project Podfile:

pod 'SummerWars'
use_frameworks!

Carthage

To integrate into your Xcode project using Carthage, specify it in your Cartfile:

github "suzuki-0000/SummerWars"

Usage

example project would be easy to understand.

// add some contents
let content1 = WarsContent(image:UIImage(), caption: "Hello some caption1.")
let content2 = WarsContent(image:UIImage(), caption: "Hello some caption2.")
let content3 = WarsContent(image:UIImage(), caption: "Hello some caption3.")

let summerWarsView = SummerWarsViewController(contents: [content1, content2, content3])
addChildViewController(summerWarsView, toContainerView: view)

Options

you can customize with some options

one’s max radius

SummerwarsOptions.warsMaxRadius = 200

one’s min radius

SummerwarsOptions.warsMinRadius = 100

central space

SummerwarsOptions.warsCentralRadius = 50

License

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

Latest podspec

{
    "name": "SummerWars",
    "version": "1.0.0",
    "summary": "Displaying like SummerWars.",
    "homepage": "https://github.com/suzuki-0000/SummerWars",
    "license": {
        "type": "MIT",
        "file": "LICENSE"
    },
    "authors": {
        "suzuki_keishi": "[email protected]"
    },
    "source": {
        "git": "https://github.com/suzuki-0000/SummerWars.git",
        "tag": "1.0.0"
    },
    "platforms": {
        "ios": "8.0"
    },
    "source_files": "SummerWars/**/*.{h,swift}",
    "resources": "SummerWars/SummerWars.bundle",
    "requires_arc": true,
    "frameworks": "UIKit"
}

Pin It on Pinterest

Share This