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

iOS Framework missing some headers #2

Open
wants to merge 1 commit into
base: master
Choose a base branch
from
Open

iOS Framework missing some headers #2

wants to merge 1 commit into from

Conversation

jasarien
Copy link

Currently the iOS version of Wordnik.framework is missing some headers: WNAdditions.h and WNCompositeWordDataSource.h

I was able to copy WNCompositeWordDataSource.h from the Mac OS version of the framework and into the iOS version, however, the Mac OS version does not seem to have WNAdditions.h either. Luckily, though, WNAdditions.h was located in the Classes directory of the iOS example project. Moving it from there into the framework was sufficient.

Finally, WNAdditions.h did not contain the interface for the NSArray (WNAdditions) category. I was able to judge from the code that the only method implemented in this category was -wn_map:. Adding the following code to the file was sufficient:

@interface NSArray (WNAdditions)

- (NSArray *)wn_map:(id (^)(id obj))block;

@end

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

Successfully merging this pull request may close these issues.

1 participant