Closed tamir-maoz closed 5 years ago
Hey,
I've just pushed an update, can you please pod update
and try again?
Hi, Thanks for the quick response. two things:
Thanks again.
This was a hotfix so I just moved tags forward. You might need to downgrade to 1.5.2 pod update
and then re-upgrade to 1.5.4 followed by a final pod update
Hi, i have followed you suggestion but still same issues. i think the problem is with set(colors: UIColor...) func. it is the public version for set colors but UIColor... syntax is not supported by ObjC so the setter fails to get exposed to ObjC. Does it make sense?
regarding the rest of the unexposed functions / properties - not sure :/
Thanks.
You can directly set to progressColors
property. Like:
self.p.progressColors = @[[UIColor greenColor], [UIColor blueColor]];
This is exactly how i use it, see image attached:
Interesting, I just started a new Objective-C project and everything works for me. I had to uninstall - reinstall as stated above after pushing the fix. Are you sure you did that step?
Thanks for your support! Well, i just looked at your last commit (488603e40685007b5fdbec6ea15c452512a3a2db) on github that added: @objcMembers to KDCircularProgress class. however, i do not see that addition when i pull the repo via pods. i tried: force downgrade to 1.5.2 -> upgrade back to 1.5.4 remove KDCircularProgress from pod file -> re-adding KDCircularProgress to pod file
both resulted the same - no @objcMembers :(
Okay, one more idea: please do pod cache clean 'KDCircularProgress' --all
before doing the downgrade-upgrade dance
Hi @kaandedeoglu , I'm happy to say, clearing the pod cache did the trick! Your help is much appreciated, Thanks for the support.
Hi, upgraded version from 1.5.2 to 1.5.4. i have a mix ObjC/Swift project and i'm unable to set the progress colors from my ObjC classes. getting the following error: "Property 'progressColors' not found on object of type 'KDCircularProgress *'" also unable to use set(colors:) or any other function i found to set the progress colors. am i missing anything ? how should i set the progress colors from my objC classes ? Thanks.