You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
there is issue in scoreItem method of FAItemScoringMethod.m
when i build the project , i get the following message
No visible @interface for 'NSArray' declares the selector 'firstObject'
changed the following code
"NSRange range = [[rangesArray firstObject] rangeValue];"
to
"NSRange range = [[rangesArray objectAtIndex:0]rangeValue];"
then it work well
The text was updated successfully, but these errors were encountered:
slazyk
changed the title
No visible @interface for 'NSArray' declares the selector 'firstObject'
Compilation Issue on Mountain Lion
May 6, 2014
Thanks, I forgot that while according to the new headers and docs it is available since 10.6 it only appeared as public in the headers in 10.9. I will probably just add a category to silence this error in the next release. In the meantime you should also be able to compile by changing it as you described (even though it changes meaning for an empty array, rangesArray should not be empty here), or just use a precompiled binary available in Releases.
there is issue in scoreItem method of FAItemScoringMethod.m
when i build the project , i get the following message
No visible @interface for 'NSArray' declares the selector 'firstObject'
changed the following code
"NSRange range = [[rangesArray firstObject] rangeValue];"
to
"NSRange range = [[rangesArray objectAtIndex:0]rangeValue];"
then it work well
The text was updated successfully, but these errors were encountered: