Cool CountDowner !
- iOS 10.0+
- Xcode 8.1+
- Swift 3.0+
you can use in cocoapods
pod 'AACountDowner'
first :
@IBOutlet weak var vwCountDowner: AACountDowner!
next :
vwCountDowner.config(days: 1, hour: 1, minute: 1, second: 5)
or you can User Date
but sure date is bigger than now
let date = Date()
vwCountDowner.config(withDate: date)
vwCountDowner.Visiblity(forDay: true, hour: true, minute: true, seconds: true)
vwCountDowner.uiOption(haveShadow: true, background: UIColor.lightGray, radius: 5)
vwCountDowner.isTitleVisible = false
vwCountDowner.font = UIFont(name: "Verdana", size: 16)
vwCountDowner.elementSpacing = 0
vwCountDowner.hasDotDivider = false
please! if you need more options , tell to me
AACountDowner is available under the MIT license. See the LICENSE file for more information.