objective c - How do I query an NSArray when I know the attribute name and value? -


i having hard time getting correct query type in nsarray search, tried following failed because not searching correct value

bool iscashtender = [_tenderrows containsobject: @"cash"]; 

i want search inside nsarray there type attribute contains value cash

i don't care how many rows/objects inside array need know if there @ least 1 type attribute containing value cash in there


Comments

Popular posts from this blog

'hasOwnProperty' in javascript -

How to put a lock and transaction on table using spring 4 or above using jdbcTemplate and annotations like @Transactional? -

How to understand 2 main() functions after using uftrace to profile the C++ program? -