cgpathref displays error inside switch case objective C

 Problem:

When i try to add switch case in cgpath function displays below error code.

cgpathref expression expected objective c for switch case.


Solution:


In some cases objective C does not allow some set of codes inside the switch case.So better avoid those codes inside switch and add outside of the switch case.

Comments

Popular posts from this blog

Invalid bundle error while upload the app to the app Store

Convert NsNumber, NSDate to String in iOS Swift

Global LocationManager Singleton class iOS Swift