https://github.com/mattvb91/swiftwindview
WindView built in swift
https://github.com/mattvb91/swiftwindview
Last synced: 7 months ago
JSON representation
WindView built in swift
- Host: GitHub
- URL: https://github.com/mattvb91/swiftwindview
- Owner: mattvb91
- License: mit
- Created: 2017-11-09T22:24:43.000Z (over 8 years ago)
- Default Branch: master
- Last Pushed: 2017-11-12T13:02:09.000Z (over 8 years ago)
- Last Synced: 2025-02-01T16:01:48.429Z (over 1 year ago)
- Language: Swift
- Size: 422 KB
- Stars: 2
- Watchers: 3
- Forks: 1
- Open Issues: 1
-
Metadata Files:
- Readme: README.md
- License: LICENSE
Awesome Lists containing this project
README
# SwiftWindView
WindView built in swift

### Installing
```
pod "SwiftWindView"
```
### Usage
```swift
override func viewDidLoad() {
super.viewDidLoad()
let windview = SwiftWindView(windSpeed: 8, pressure: 2, unit: "km/h")
let frame = CGRect(x: 0, y: 0, width: self.view.frame.width, height: 220)
windview.frame = frame
self.view.addSubview(windview)
}
```