Cupcake
Cupcake copied to clipboard
Value of type 'UILabel' has no member 'pin'
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'
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?
Version : Xcode 10.1
Error is from the demo project
Everything is fine in my case, weird.