You signed in with another tab or window. Reload to refresh your session. You signed out in another tab or window. Reload to refresh your session. You switched accounts on another tab or window. Reload to refresh your session. Dismiss alert
最近 ReactiveCocoa を使いまくってます。そのなかで調べた Signal の使い方イディオムのメモです。 RACCommand で検索処理とかしてるときに、ローディング画面やインジケータを表示したいということがあると思います。そういうときに使える Signal のイディオムです。コードは Swift で書いています。 MVVM で viewModel が searchCommand を実装しているとします。また、ローディングインジケータの表示には MBProgressHUD を使っているとします。 MyViewController#viewDidLoad 1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 16 searchButton.rac_command = viewModel.searchCommand searchButton.rac_comman
リリース、障害情報などのサービスのお知らせ
最新の人気エントリーの配信
j次のブックマーク
k前のブックマーク
lあとで読む
eコメント一覧を開く
oページを開く