TestsTested | ✗ |
LangLanguage | SwiftSwift |
License | MIT |
ReleasedLast Release | Sep 2017 |
SwiftSwift Version | 4.0 |
SPMSupports SPM | ✓ |
Maintained by Suyeol Jeon.
Total | 22,423 |
Week | 0 |
Month | 0 |
Apps | 381 |
Pod Tries | 1 |
Test Targets | 70 |
Stars | 22 |
Watchers | 0 |
Forks | 1 |
Issues | 0 |
Contributors | 1 |
Pull Requests | 0 |
Files | 1 |
LOCLines of Code | 11 |
Simple CGFloat initializer.
let imageViewTop = 15.f
imageViewTop
is now a CGFloat
.
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"),
]
)
CGFloatLiteral is under MIT license. See the LICENSE file for more info.