InspectorFloretFormatterType
public protocol InspectorFloretFormatterType
The InspectorFloretFormatterType is used to define how a Record is formatted when
shown in the InspectorFloret.
-
Returns the
RecordListFormattedDatafor aRecord.Declaration
Swift
func listFormattedData(for record: Record) -> InspectorFloret.RecordListFormattedDataParameters
recordthe Record
Return Value
The RecordListFormattedData
-
This function is called when deciding if a
Recordshould be shown with a given query, for example when typing in a search field.Declaration
Swift
func recordMatchesQuery(record: Record, query: String) -> BoolParameters
recordThe Record
queryThe Search Query
Return Value
Return true, if the Record matches the Query.
View on GitHub
InspectorFloretFormatterType Protocol Reference