0
다음 비교를 시도하고 있지만 작동하지 않습니다.내 NSPredicate에 문제가 있습니다.
동일한 컨텍스트에서 or 연산자와 or 연산자를 모두 사용하는 데 적합한 구문은 무엇입니까?
NSPredicate* predicate = [NSPredicate predicateWithFormat:@"((day || day2 ==%@) && CourseTitle==%@)",day,courseSelected];
rows = [[courseArray filteredArrayUsingPredicate:predicate]retain];