デリゲートパターンと -respondsToSelector:
を使ったコードのビルド時に No known instance method for selector 'respondsToSelector:'
警告が出る場合、プロトコルの定義に問題がある可能性あり。
今回は <NSObject>
の記述を忘れていた。
@protocol MYSugoiDelegate <NSObject>
…
@end
Go to list of users who liked
More than 5 years have passed since last update.
デリゲートパターンと -respondsToSelector:
を使ったコードのビルド時に No known instance method for selector 'respondsToSelector:'
警告が出る場合、プロトコルの定義に問題がある可能性あり。
今回は <NSObject>
の記述を忘れていた。
@protocol MYSugoiDelegate <NSObject>
…
@end
Register as a new user and use Qiita more conveniently
Go to list of users who liked