0

I was trying to implement XLPagerTabStrip in my app and when I did, xcode asked me to convert the code. I changed the same to swift 3 but then I started getting the following errors. I am not able to fix them. Please have a look at it and guide me on how to fix the same.

Thanks.

enter image description here

enter image description here

Vyshakh
  • 632
  • 1
  • 11
  • 29

2 Answers2

1

Instead of .black() and .white() just write .black and .white I hope this works recently I started swift so in swift 3 it work like this.

Harshit Goel
  • 679
  • 1
  • 6
  • 20
0

Swift 3 has syntax UIColor.red or .red

Albi
  • 1,705
  • 1
  • 17
  • 28