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 - Knockout pushing observable and computed data to an observable array -

Trouble making a JSON string -

sitecore - Resolve ISitecoreService using SimpleInjector -