ChiliLabs / CHIPageControl

A set of cool animated page controls written in Swift to replace boring UIPageControl. Mady by @ChiliLabs - https://chililabs.io
MIT License
3.36k stars 256 forks source link

Problem to set current page #63

Open Hemant-7 opened 4 years ago

Hemant-7 commented 4 years ago

pageControl.currentPage = 0 currentPage is not set as 0, it show Error: Cannot assign to property: 'currentPage' is a get-only property

varunDM commented 4 years ago

pageControl.set(progress: 0, animated: true) is the proper way