no search display controller

This commit is contained in:
kspearrin 2018-09-24 15:24:43 -04:00
parent 340d4ce714
commit 07dd9df3ec
3 changed files with 1 additions and 20 deletions

View file

@ -171,8 +171,8 @@ namespace Bit.iOS.Autofill
public override void TextChanged(UISearchBar searchBar, string searchText)
{
System.Diagnostics.Debug.WriteLine("search text: " + searchText);
((TableSource)_controller.TableView.Source).FilterResults(searchText, new CancellationToken());
_controller.TableView.ReloadData();
}
}
}

View file

@ -26,10 +26,6 @@ namespace Bit.iOS.Autofill
[GeneratedCode ("iOS Designer", "1.0")]
UIKit.UISearchBar SearchBar { get; set; }
[Outlet]
[GeneratedCode ("iOS Designer", "1.0")]
UIKit.UISearchDisplayController searchDisplayController { get; set; }
[Action ("AddBarButton_Activated:")]
[GeneratedCode ("iOS Designer", "1.0")]
partial void AddBarButton_Activated (UIKit.UIBarButtonItem sender);
@ -54,11 +50,6 @@ namespace Bit.iOS.Autofill
SearchBar.Dispose ();
SearchBar = null;
}
if (searchDisplayController != null) {
searchDisplayController.Dispose ();
searchDisplayController = null;
}
}
}
}

View file

@ -661,20 +661,10 @@
<outlet property="CancelBarButton" destination="11950" id="name-outlet-11950"/>
<outlet property="NavItem" destination="11544" id="name-outlet-11544"/>
<segue id="12738" destination="1845" kind="show" identifier="loginAddFromSearchSegue"/>
<outlet property="searchDisplayController" destination="13087" id="13086"/>
<outlet property="SearchBar" destination="13084" id="name-outlet-13084"/>
</connections>
</tableViewController>
<placeholder placeholderIdentifier="IBFirstResponder" id="11550" userLabel="First Responder" sceneMemberID="firstResponder"/>
<searchDisplayController id="13087">
<connections>
<outlet property="delegate" destination="11543" id="13088"/>
<outlet property="searchBar" destination="13084" id="13089"/>
<outlet property="searchContentsController" destination="11543" id="13090"/>
<outlet property="searchResultsDataSource" destination="11543" id="13091"/>
<outlet property="searchResultsDelegate" destination="11543" id="13092"/>
</connections>
</searchDisplayController>
</objects>
<point key="canvasLocation" x="2513" y="907"/>
</scene>