Find centralized, trusted content and collaborate around the technologies you use most.
Teams
Q&A for work
Connect and share knowledge within a single location that is structured and easy to search.
Swift 3 を使用して、一種のチャット メッセンジャーを作成しています。記録されたユーザーを保存するために、AnyObject 型の onject を使用しようとしました。
var loggedInUser = AnyObject?()
ViewController.swift:29:24: Cannot invoke initializer for type 'AnyObject?' というエラーが表示されます。引数なし