ios - EXC_BAD_ACCESS when creating NSPredicate with NSDates -
i creating nspredicate this:
nspredicate *predicate = [nspredicate predicatewithformat:@"(date >= %@) , (date <= %@)", startdate, enddate];
this solution has hundreds of upvotes here on stackoverflow, reason not working me.
after next line executed, exc_bad_access error:
rlmarray *finalcounts = [counts objectswithpredicate:predicate];
i have made sure both startdate , enddate log nsdates, , can't seem find other answers problem brought or answered.
appreciate help.
this turned out bug that's specific new persistence library i'm using.
ios objective-c nsdate nspredicate exc-bad-access
No comments:
Post a Comment