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

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

android - ConstraintLayout: Realign baseline constraint in case if dependent view visibility was set to GONE -

c# - Populating Gridview inside Listview ItemTemplate On Web User Control from Code Behind -