Reputation: 1201
I have some trouble here with this...
How I convert this piece of code to Swift:
imageView.layer.shadowPath = [UIBezierPath bezierPathWithRect:yourImageView.bounds].CGPath;
Upvotes: 0
Views: 2206
Reputation: 16855
Here you go:
imageView.layer.shadowPath = UIBezierPath(rect:yourImageView.bounds).CGPath
Upvotes: 7