Skip to content
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

Change Usage section of the README.md #45

Open
vitonzhangtt opened this issue Jan 19, 2018 · 1 comment
Open

Change Usage section of the README.md #45

vitonzhangtt opened this issue Jan 19, 2018 · 1 comment

Comments

@vitonzhangtt
Copy link

My project is in Objective-C.

I got an error "'UITextView+Placeholder/UITextView+Placeholder.h' file not found" after importing this library by 'pod install'.

Then I found that the right way to import "<UITextView_Placeholder/UITextView+Placeholder.h>".
Expect to add another item in the Usage section; like the following:

Import Dynamic Framework:

e.g. If you're using CocoaPods with use_frameworks! flag.

@import UITextView_Placeholder;
Import Static Library:

#import <UITextView+Placeholder/UITextView+Placeholder.h>

Import by pod:
#import <UITextView_Placeholder/UITextView+Placeholder.h>
@devxoul
Copy link
Owner

devxoul commented Jan 19, 2018

@vitonzhangtt you can use @import UITextView_Placeholder; when using use_framework!. It is documented on README.md

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

2 participants