public class FUISearchBar: UISearchBar
Developer can add a
FUIBarcodeScanner to this
FUISearchBar by setting the
isBarcodeScannerEnabled property of the
FUISearchBar to true. A barcode scanner
icon will be displayed at the bookmark icon location of the search bar.
A barcode scanner view will be displayed when the barcode scanner icon is tapped.
Please refer to
FUISearchController about how to use this
The delegate object with type
UISearchBarDelegate is declared as a weak reference. So on deallocation it will be automatically set to nil. To keep it alive as expected, developer should retain the delegate object during its whole execution scope.