CGFloatLiteral 0.3.0

CGFloatLiteral 0.3.0

TestsTested
LangLanguage SwiftSwift
License MIT
ReleasedLast Release Feb 2017
SwiftSwift Version 3.0
SPMSupports SPM

Maintained by Suyeol Jeon.


Downloads

Total12,302
Week234
Month1,141

Installs

Apps215
Apps WeekApps This Week 21
Test Targets43
Test WeekTests This week 5
powered by Segment

GitHub

Stars21
Watchers0
Forks1
Issues0
Contributors1
Pull Requests0

Code

Files1
LOCLines of Code 11


  • By
  • Suyeol Jeon

CGFloatLiteral

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.