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

javascript - Confirm a form & display message if form is valid with JQuery -

Retrieving ETA (estimated time of arrival) with Google Distance Matrix API and public transit as transport mode -

ionic framework - Meteor - Error: Failed to execute 'insertBefore' on 'Node' -