Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

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

Open
ArturBaghdas opened this issue Mar 16, 2017 · 20 comments

Comments

@ArturBaghdas
Copy link

No description provided.

@ianscott313
Copy link

ianscott313 commented Mar 21, 2017

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
Copy link

+1

2 similar comments
@aloveric
Copy link

aloveric commented Apr 8, 2017

+1

@Huddie
Copy link

Huddie commented Apr 9, 2017

+1

@cowboyrushforth
Copy link
Contributor

this is fixed in #20

@a9austin
Copy link

I'm still having this same issue.

+1

@jsdu
Copy link

jsdu commented Jun 19, 2017

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

@Huddie
Copy link

Huddie commented Jun 20, 2017

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

@YoavTaieb1
Copy link

+1 still don't work (swift 3)

@fkawasaki
Copy link

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

@YoavTaieb1
Copy link

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

@gbergamo
Copy link

gbergamo commented Aug 1, 2017

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
Copy link

+1

7 similar comments
@stefanopassador
Copy link

+1

@jihongboo
Copy link

+1

@bernsrd-systempsrtnets
Copy link

+1

@hanishassim
Copy link

+1

@rickyjwhong
Copy link

+1

@ferusinfo
Copy link

+1

@tgwagner
Copy link

+1

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests