suzuki-0000 / CountdownLabel

Simple countdown UILabel with morphing animation, and some useful function.
MIT License
1.01k stars 192 forks source link

Swift 3 - Cannot call value of non-function type 'module<CountdownLabel>' #19

Open ArturBaghdas opened 7 years ago

ianscott313 commented 7 years ago

Yeah I get this too. If you command click into the module from the import statement - 'import CountdownLabel,' it looks like the module is not picking up the init functions declared in CountdownLabel.swift. Thats as far as I have gotten with this bug

Perhaps the init statements need to be moved to the CountdownLabel file the import CountdownLabel points to.

mittenimraum commented 7 years ago

+1

aloveric commented 7 years ago

+1

Huddie commented 7 years ago

+1

cowboyrushforth commented 7 years ago

this is fixed in #20

a9austin commented 7 years ago

I'm still having this same issue.

+1

jsdu commented 7 years ago

+1 doesn't work still (on cocoa pods)

Huddie commented 7 years ago

Last I checked, downloading the project and manual installation works. Pods still had the issue

YoavTaieb1 commented 7 years ago

+1 still don't work (swift 3)

fkawasaki commented 7 years ago

I also checked working for manual install but pod install does not work.

YoavTaieb1 commented 7 years ago

@fkawasaki Can you explain how to install it manually? Thanks

gbergamo commented 7 years ago

I'm still getting this error. iOS 9+ CountdownLabel v2.0.1

pod 'CountdownLabel', :git => 'https://github.com/suzuki-0000/CountdownLabel', :branch => 'master'

import CountdownLabel

override func viewDidAppear(_ animated: Bool) {
        super.viewDidAppear(true)

        let countdownLabel = CountdownLabel(frame: CGRect(x: 0, y: 0, width: 100, height: 100), minutes: 30) // you can use NSDate as well
        countdownLabel.start()
    }
kcyuanGit commented 7 years ago

+1

stefanopassador commented 7 years ago

+1

jihongboo commented 7 years ago

+1

bernsrd-systempsrtnets commented 7 years ago

+1

hanishassim commented 7 years ago

+1

rickyjwhong commented 6 years ago

+1

ferusinfo commented 6 years ago

+1

tgwagner commented 6 years ago

+1