issues
search
norinoringo
/
ios-reference-repository
0
stars
1
forks
source link
GitHub検索画面(UIKit×Swift×MVVM) ViewModel
#46
Closed
norinoringo
closed
10 months ago
norinoringo
commented
1 year ago
概要
タスク
UISearchBarの制御
[x] 入力した文字列をリアルタイムで検索候補セルのテキストにセットする
チュートリアルセル
[x] 検索履歴がない場合に表示するためのモック処理を追加
検索履歴セル
[x] 検索時にUserDefaultsに検索文字列を保存するためのモック処理を追加
UserDefaultsに保存する検索文字列は上限数を20個までにしておくためのモック処理を追加
最新の検索履歴は上、古い検索歴ほど下に表示するためのモック処理を追加
同じ検索文字列は重複して保存しないためのモック処理を追加
[x] クリアボタンタップ時にUserDefaultsに保存した検索文字列を削除するためのモック処理を追加
検索候補セル
[x] セルタップ時にUserDefaultsに検索文字列を保存するためのモック処理を追加
[x] 各セルタップ時に検索結果画面に遷移させるためのモック処理を追加
関連Issue
備考
norinoringo
commented
10 months ago
devにマージしたのでcloseします。
概要
タスク
UISearchBarの制御
チュートリアルセル
検索履歴セル
UserDefaultsに保存する検索文字列は上限数を20個までにしておくためのモック処理を追加最新の検索履歴は上、古い検索歴ほど下に表示するためのモック処理を追加同じ検索文字列は重複して保存しないためのモック処理を追加検索候補セル
関連Issue
備考