Upgrade to Pro — share decks privately, control downloads, hide ads and more …

ReactiveCocoaで作る快適な登録フォーム

shoby
July 11, 2016

 ReactiveCocoaで作る快適な登録フォーム

Melon.swiftの発表資料です。
http://fablic.connpass.com/event/35407/

shoby

July 11, 2016
Tweet

More Decks by shoby

Other Decks in Technology

Transcript

  1. 3FBDUJWF$PDPBʹΑΔ5FYUมԽͷݕ஌ var disposables: [Disposable] = [] textFields.forEach { textField in

    let disposable = textField.rac_textSignal().toSignalProducer().skip(1).startWithNext { text in do { try self.validate(text: text, textField: textField) } catch let error { // ΤϥʔϋϯυϦϯά } } disposables.append(disposable) } 
  2. 3FBDUJWF$PDPBʹΑΔ5FYUมԽͷݕ஌ var disposables: [Disposable] = [] textFields.forEach { textField in

    let disposable = textField.rac_textSignal().toSignalProducer().skip(1).startWithNext { text in do { try self.validate(text: text, textField: textField) } catch let error { // ΤϥʔϋϯυϦϯά } } disposables.append(disposable) }  ॳճͷTJHOBMΛແࢹ͢Δ͜ͱͰ ະೖྗͱೖྗதΛ۠ผ
  3.