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

Value of type 'UILabel' has no member 'pin' #11

Open
arunabhdas opened this issue Jan 13, 2019 · 3 comments
Open

Value of type 'UILabel' has no member 'pin' #11

arunabhdas opened this issue Jan 13, 2019 · 3 comments

Comments

@arunabhdas
Copy link

For the following line

indexLabel = Label.font(17).color("darkGray").align(.center).pin(.w(44))

Xcode throws the following error

Value of type 'UILabel' has no member 'pin'

@nerdycat
Copy link
Owner

It would be helpful if you provide more information about the error. Like what version of Xcode/Swift you are using, and did you get the error from Demo project or from your own project?

@arunabhdas
Copy link
Author

Version : Xcode 10.1

Error is from the demo project

@nerdycat
Copy link
Owner

Everything is fine in my case, weird.

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

2 participants