Latest 0.4.0
Homepage https://github.com/devxoul/CGFloatLiteral
License MIT
Platforms ios 8.0, osx 10.9, tvos 9.0, watchos 2.0, requires ARC
Authors

Swift
Build Status
CocoaPods
Carthage compatible

Simple CGFloat initializer.

At a Glance

let imageViewTop = 15.f

imageViewTop is now a CGFloat.

Installation

  • For iOS 8+ projects with CocoaPods:

    pod 'CGFloatLiteral', '~> 0.2'
  • For iOS 8+ projects with Carthage:

    github "devxoul/CGFloatLiteral" ~> 0.2
  • For iOS 7 projects with CocoaSeeds:

    github 'devxoul/CGFloatLiteral', '0.2.0', :files => 'Sources/*.swift'
  • Using Swift Package Manager:

    import PackageDescription
    
    let package = Package(
        name: "MyAwesomeApp",
        dependencies: [
            .Package(url: "https://github.com/devxoul/CGFloatLiteral", "0.2.0"),
        ]
    )

License

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

Latest podspec

{
    "name": "CGFloatLiteral",
    "version": "0.4.0",
    "summary": "Simple CGFloat initializer.",
    "homepage": "https://github.com/devxoul/CGFloatLiteral",
    "license": {
        "type": "MIT",
        "file": "LICENSE"
    },
    "authors": {
        "Suyeol Jeon": "[email protected]"
    },
    "source": {
        "git": "https://github.com/devxoul/CGFloatLiteral.git",
        "tag": "0.4.0"
    },
    "source_files": "Sources/**/*.swift",
    "requires_arc": true,
    "platforms": {
        "ios": "8.0",
        "osx": "10.9",
        "tvos": "9.0",
        "watchos": "2.0"
    },
    "pushed_with_swift_version": "4.0"
}

Pin It on Pinterest

Share This