Hi Bob, (I fear I may have availed myself of your generosity too much, I pray that is not the case)
I've got one last LARGE hurdle in converting your sample catalog app to my app.
the problem is I get a sigabrt when I type in the first letter of a search, in the search box.
It's bombing on the line:
Code:
self.filteredAnswercards = [flattenedArray
filteredArrayUsingPredicate:predicate];
Now the BIG DIFFERENCE between your code and mine is that when I display the contents of self.filteredAnswercards prior to the offending line it shows the value as (null), but when I display self.filteredProducts (in your version) prior to that line it shows an empty array as follows:
"the value of self.filteredProducts =(
)"
An empty array, with the right paren landing on the next line -- and it spills to the next line no matter how short I make the preceeding text, so it's either white space and a new line or just a newline???
I define it just like you do in the RootViewController.h:
Code:
NSArray *filteredAnswercards;
and
@property (retain, nonatomic) NSArray *filteredAnswercards;
I searched both versions for the string filteredAnswercards or filteredProducts (depending on which version, obviously) and they are mentioned in the exact same places with the same syntax.
I AM STYMIED and DESPERATE!!! PLEASE grace me with your generosity one more time. And please, let me treat you to some Starbucks or something.
Thank you in advance.
Pi