Latest 0.1.0
Homepage https://github.com/daisukenagata/DddColorChange
License MIT
Platforms ios 8.0
Authors

CI Status
Version
License
Platform

ExampleファルダにあるViewController内のこちらのメソッドで
UIViewサイズの指定をしています。
let testView = DddLayerView(frame:CGRectMake(0, 0, 412, 200))
var anim = CABasicAnimation(keyPath: "changeColor")

ExampleファルダにあるViewController内のこちらのメソッドで
色を指定しています。

@IBAction func dddd(sender: UISwitch) {
    if sender.on {
        self.aaaa.addSubview(testView)
      anim.toValue = UIColor.whiteColor().CGColor

    }else{

          testView.removeFromSuperview()

    }

Example

To run the example project, clone the repo, and run pod install from the Example directory first.

Requirements

Installation

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

pod "DddColorChange"

Author

daisukenagata, [email protected]

License

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

Latest podspec

{
    "name": "DddColorChange",
    "version": "0.1.0",
    "summary": "Ios of DddColorChange.",
    "description": "TODO: Add long description of the pod here.",
    "homepage": "https://github.com/daisukenagata/DddColorChange",
    "license": {
        "type": "MIT",
        "file": "LICENSE"
    },
    "authors": {
        "daisukenagata": "[email protected]"
    },
    "source": {
        "git": "https://github.com/daisukenagata/DddColorChange.git",
        "tag": "0.1.0"
    },
    "platforms": {
        "ios": "8.0"
    },
    "source_files": "DddColorChange/Classes/**/*"
}

Pin It on Pinterest

Share This