Tech Fun 技術Blog
2010年12月17日金曜日
dose not implement the Delegate protocol が発生する場合の対処
xx.delegate = self;
のようなコーディングをすると以下のようなエラーが発生することがある。
XXController dose not implement the XXDelegate protocol
これは、デリゲートの処理を実装するためのプロトコルが存在しないというwarningです。
interface 定義に <xxDelegate>のプロトコルを追加することで消えます。
0 件のコメント:
コメントを投稿
次の投稿
前の投稿
ホーム
登録:
コメントの投稿 (Atom)
0 件のコメント:
コメントを投稿