opfo / app

An iOS app for the EDA397 course made at Chalmers in the spring of 2013.
7 stars 1 forks source link

Searching for questions yields answers. #24

Closed rastersize closed 11 years ago

rastersize commented 11 years ago

When searching for a question using the +searchFor:inTags: class method the result set includes answers. This in turn causes the app to crash as answers do not implement for example acceptedAnswer.

I tried to fix it by chaining the query returned by +searchFor:inTags: with that returned by +[OPFQuestions query] but this resulted in zero results.

Not sure exactly how to write a spec for this unfortunately.

/cc @jesjos