New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Scope errors with cocoapod #2
Comments
@bryanbartow Thanks so much for pointing this out! |
Nice. Thanks. Do you plan on updating the pod or should I point at master for now? |
@bryanbartow I just went ahead and pushed the updated pod spec. |
@Nirma Everything is working as expected. |
@bryanbartow Thanks so much! |
I'm using Cocoapods 1.2 and Xcode 8.2.1. I get the following error when trying to use the library:
'font' is inaccessible due to 'internal' protection level
I'm getting this error whether I attempt to set the values through in init closure or set them separately on an existing instance.
Based on my own experience creating libraries with Cocoapods, all properties and methods have to be explicitly marked public even if the parent class/struct is public. Although the
NSParagraphStyle
related methods in the extension seem to all be marked public, only the init methods in the base class are public.The text was updated successfully, but these errors were encountered: