I need to take to get items from the array that are not in the database.I'm trying to make this predicate
NSPredicate *predicate = [NSPredicate predicateWithFormat:@"!(id IN %@)", ids];
But it returns nil, but if you use a predicate without NOT, then everything works. This is work in coredata - Predicate returns the objects are not in the database. But doesn`t work in realm.