luispadron / UICircularProgressRing

A circular progress bar for iOS written in Swift
MIT License
1.73k stars 290 forks source link

Use of unresolved identifier UICircularProgressRing #225

Closed Kushal-TwentyBN closed 4 years ago

Kushal-TwentyBN commented 4 years ago

Version

Details

When I try to connect the UICircularProgressRing as an IBOutlet to my View Controller, I get the following error. Property cannot be marked @IBOutlet because its type cannot be represented in Objective-C

When I try to initialize an instance of UICircularProgressRing in code, I get Use of unresolved identifier UICircularProgressRing. I am using ObjC in some areas of the project, does this mean I need to revert back to a previous version to use this pod?

Thanks, any help is appreciated.

luispadron commented 4 years ago

Hey! Yes objective c support was dropped in v5. You will need to use v4 or below, sorry!

luispadron commented 4 years ago

Alternatively, you can use v5+ from within Swift.