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

Swiftに慣れるまで行った3つのこと

 Swiftに慣れるまで行った3つのこと

nakajijapan

July 19, 2014
Tweet

More Decks by nakajijapan

Other Decks in Programming

Transcript

  1. 

  2. ̍

  3. 

  4. 6*"MFSU7JFXJTEFQSFDBUFE // UIAlertView is deprecated. Use UIAlertController with a preferredStyle

    of UIAlertControllerStyleAlert instead 6*"MFSU$POUSPMMFS var alert = UIAlertController(title: "Completion", message: "saved in Photo Album”, preferredStyle: UIAlertControllerStyle.Alert) let okAction = UIAlertAction(title: "OK", style: UIAlertActionStyle.Default, handler: {(alertAction) -> Void in let vc = ConfirmViewController(coder: nil) self.navigationController?.pushViewController(vc, animated: true) }) alert.addAction(okAction)
  5.