over 4 years ago
In iOS we can use Predicates in order to get fast response. Mostly iOS developers use Predicates in search functionality to filter it as user types in search bar textfield.
Let suppose you have an array named as youDataArray which contains string data and you want to apply filter using Predicate then take another array named as filteredArray
I'm taking searchText as a search bar textfield here.
NSPredicate *predicate = [NSPredicate predicateWithFormat:@"self CONTAINS[cd] %@",searchText];
filteredArray = [youDataArray filteredArrayUsingPredicate:predicate] ;
There are several predicate formats. Hope this will help.
Starting with Chrome version 45, NPAPI is no longer supported for Google Chrome. For more information, see Chrome and NPAPI (blog.chromium.org).
Firefox and Microsoft Internet Explorer are recommended browsers for websites using java applets.
Chrome Version Support
Are you sure, you want to delete this comment?
© copyright 2017 FindNerd.com. All rights reserved.
Sign up using