Cupcake icon indicating copy to clipboard operation
Cupcake copied to clipboard

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

Open arunabhdas opened this issue 5 years ago • 3 comments

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'

arunabhdas avatar Jan 13 '19 07:01 arunabhdas

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?

nerdycat avatar Jan 14 '19 02:01 nerdycat

Version : Xcode 10.1

Error is from the demo project

arunabhdas avatar Jan 14 '19 09:01 arunabhdas

Everything is fine in my case, weird.

nerdycat avatar Jan 15 '19 06:01 nerdycat