33
32

Delete article

Deleted articles cannot be recovered.

Draft of this article would be also deleted.

Are you sure you want to delete this article?

More than 5 years have passed since last update.

xcodeのいろいろなエラー

Last updated at Posted at 2014-10-29

Swiftで開発した際に出会った、いろいろなエラーについてのメモ。
(Xcode6.1を使用)

not conform to protocol

[http://note862.blogspot.jp/2014/08/swift-type-viewcontroller-does-not.html]

  • protocolを指定して、protocolで宣言したメソッドが定義されていない場合に発生。

has no initializers

[http://bribser.co.jp/blog/swift-optional-value/]

  • 変数を宣言したら、末尾に「?」か「!」を必ずつけること。

Could not insert new action connection

Interface BuilderでボタンをCtrl+ドラッグした際に発生。

  • Product > Clean でクリーンしたら解消。
33
32
2

Register as a new user and use Qiita more conveniently

  1. You get articles that match your needs
  2. You can efficiently read back useful information
  3. You can use dark theme
What you can do with signing up
33
32

Delete article

Deleted articles cannot be recovered.

Draft of this article would be also deleted.

Are you sure you want to delete this article?