Latest 1.1.1
Homepage https://github.com/amir-ardalanuk/AACountDowner
License MIT
Platforms ios 10.0

Cool CountDowner !

Requirements

  • iOS 10.0+
  • Xcode 8.1+
  • Swift 3.0+

Install

you can use in cocoapods

pod 'AACountDowner'

AACountDowner
AACountDowner

init

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)

Style

Visibility :

vwCountDowner.Visiblity(forDay: true, hour: true, minute: true, seconds: true)

Ui option :

vwCountDowner.uiOption(haveShadow: true, background: UIColor.lightGray, radius: 5)
header title inVisible / visible
vwCountDowner.isTitleVisible = false 
font :
vwCountDowner.font = UIFont(name: "Verdana", size: 16)

element space :

vwCountDowner.elementSpacing = 0

Dot Divider : :

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.

Latest podspec

{
    "name": "AACountDowner",
    "version": "1.1.1",
    "summary": "i hope can help you",
    "homepage": "https://github.com/amir-ardalanuk/AACountDowner",
    "license": "MIT",
    "authors": "Amir Ardalan",
    "platforms": {
        "ios": "10.0"
    },
    "source": {
        "git": "https://github.com/amir-ardalanuk/AACountDowner.git",
        "tag": "1.1.1"
    },
    "source_files": "AACountDowner/*"
}

Pin It on Pinterest

Share This