From 927cc8f24e45ad690595763c5beb28ef2ed32ee9 Mon Sep 17 00:00:00 2001 From: Enis Necipoglu Date: Sun, 3 Mar 2019 23:50:25 -0800 Subject: [PATCH] iOS suggestions work (#83) --- InputKit/InputKit.csproj | 5 +- .../Droid/AutoCompleteViewRenderer.cs | 219 ++++++++++++++ .../Platforms/iOS/AutoCompleteViewRenderer.cs | 122 ++++++++ .../iOS/Controls/MbAutoCompleteTableView.cs | 28 ++ .../iOS/Controls/MbAutoCompleteTextField.cs | 183 ++++++++++++ InputKit/Platforms/iOS/Helpers/Extensions.cs | 275 ++++++++++++++++++ .../MbAutoCompleteDefaultDataSource.cs | 31 ++ .../iOS/Helpers/MbAutoCompleteViewSource.cs | 40 +++ InputKit/Shared/Controls/AdvancedEntry.cs | 26 +- InputKit/Shared/Controls/AutoCompleteEntry.cs | 45 +++ InputKit/Shared/Controls/AutoCompleteView.cs | 119 ++++++++ InputKit/Shared/Helpers/StringExtensions.cs | 12 + .../Sample.InputKit.Android.csproj | 2 + .../Sample.InputKit.iOS.csproj | 8 + Sample.InputKit/Sample.InputKit/MainPage.xaml | 2 + .../Sample.InputKit/MainPage.xaml.cs | 13 + .../Sample.InputKit/Sample.InputKit.csproj | 4 + .../Views/AutoCompleteEntriesPage.xaml | 17 ++ .../Views/AutoCompleteEntriesPage.xaml.cs | 39 +++ 19 files changed, 1180 insertions(+), 10 deletions(-) create mode 100644 InputKit/Platforms/Droid/AutoCompleteViewRenderer.cs create mode 100644 InputKit/Platforms/iOS/AutoCompleteViewRenderer.cs create mode 100644 InputKit/Platforms/iOS/Controls/MbAutoCompleteTableView.cs create mode 100644 InputKit/Platforms/iOS/Controls/MbAutoCompleteTextField.cs create mode 100644 InputKit/Platforms/iOS/Helpers/Extensions.cs create mode 100644 InputKit/Platforms/iOS/Helpers/MbAutoCompleteDefaultDataSource.cs create mode 100644 InputKit/Platforms/iOS/Helpers/MbAutoCompleteViewSource.cs create mode 100644 InputKit/Shared/Controls/AutoCompleteEntry.cs create mode 100644 InputKit/Shared/Controls/AutoCompleteView.cs create mode 100644 InputKit/Shared/Helpers/StringExtensions.cs create mode 100644 Sample.InputKit/Sample.InputKit/Views/AutoCompleteEntriesPage.xaml create mode 100644 Sample.InputKit/Sample.InputKit/Views/AutoCompleteEntriesPage.xaml.cs diff --git a/InputKit/InputKit.csproj b/InputKit/InputKit.csproj index 8d0a030..5fcdcdd 100644 --- a/InputKit/InputKit.csproj +++ b/InputKit/InputKit.csproj @@ -14,7 +14,7 @@ 1.0.0.0 true en - 7.1 + 7.3 $(DefineConstants); false true @@ -124,8 +124,7 @@ - - +