Ecosyste.ms: Awesome
An open API service indexing awesome lists of open source software.
https://github.com/amir-ardalanuk/aacountdowner
AACountDowner - Simple Count Downer
https://github.com/amir-ardalanuk/aacountdowner
aacountdowner amir-ardalan count-down count-downer countdowner github ios second-minute-hour swift
Last synced: 16 days ago
JSON representation
AACountDowner - Simple Count Downer
- Host: GitHub
- URL: https://github.com/amir-ardalanuk/aacountdowner
- Owner: amir-ardalanuk
- License: mit
- Created: 2018-08-06T11:45:57.000Z (over 6 years ago)
- Default Branch: master
- Last Pushed: 2018-08-12T06:50:22.000Z (over 6 years ago)
- Last Synced: 2024-12-06T23:17:42.017Z (about 1 month ago)
- Topics: aacountdowner, amir-ardalan, count-down, count-downer, countdowner, github, ios, second-minute-hour, swift
- Language: Swift
- Homepage:
- Size: 965 KB
- Stars: 3
- Watchers: 1
- Forks: 0
- Open Issues: 0
-
Metadata Files:
- Readme: README.md
- License: LICENSE
Awesome Lists containing this project
README
# AACountDowner
Cool CountDowner !
### Requirements- iOS 10.0+
- Xcode 8.1+
- Swift 3.0+## Install
you can use in cocoapods
```swift
pod 'AACountDowner'
```![](https://github.com/amir-ardalanuk/AACountDowner/blob/master/CountDowner.gif)
![](https://github.com/amir-ardalanuk/AACountDowner/blob/master/IMG_1291.jpg)## init
first :
```swift
@IBOutlet weak var vwCountDowner: AACountDowner!
```
next :
```swift
vwCountDowner.config(days: 1, hour: 1, minute: 1, second: 5)
```
or you can User ``Date`` but sure date is bigger than now
```swift
let date = Date()
vwCountDowner.config(withDate: date)
```
## Style#### Visibility :
```swift
vwCountDowner.Visiblity(forDay: true, hour: true, minute: true, seconds: true)
```#### Ui option :
```swift
vwCountDowner.uiOption(haveShadow: true, background: UIColor.lightGray, radius: 5)
```
##### header title inVisible / visible
```swift
vwCountDowner.isTitleVisible = false
```
##### font :
```swift
vwCountDowner.font = UIFont(name: "Verdana", size: 16)
```
#### element space :
```swift
vwCountDowner.elementSpacing = 0
```
#### Dot Divider ``:`` :
```swift
vwCountDowner.hasDotDivider = false
```
_please! if you need more options , tell to me_## License
AACountDowner is available under the MIT license. See the LICENSE file for more information.