filterEntriesOfCollection:forSearchText: method
Filters cached entries with searchable properties according to the search term.
Syntax
-
(
NSArray *
)
filterEntriesOfCollection
:
(
NSString *
)
collectionName_in
forSearchText
:
(
NSString *
)
searchText_in
Parameters
-
collectionName_in –
- the ID of the collection is needed to lookup metadata description
-
searchText_in –
- the search text
Returns
filtered array with the SDMODataEntry objects, or empty array if the searchText is nil or empty