Apple Developer Connection
Advanced Search
Member Login Log In | Not a Member? Contact ADC

< 前ページ次ページ >

プロトコル

プロトコルによって、すべてのクラスが実装できるメソッドを宣言します。プロトコルは少なくとも次の3つの状況で役に立ちます。

目次:

他のクラスが実装できるインターフェイスの宣言
他のクラスが実装するメソッド
匿名オブジェクトのインターフェイスの宣言
階層以外の類似性
正式なプロトコル
非形式プロトコル
Protocolオブジェクト
プロトコルの採用
プロトコルへの準拠
型チェック
プロトコル内のプロトコル
他のプロトコルの参照




< 前ページ次ページ >


Last updated: 2007-10-31




Did this document help you?
Yes: Tell us what works for you.

It’s good, but: Report typos, inaccuracies, and so forth.

It wasn’t helpful: Tell us what would have helped.
Get information on Apple products.
Visit the Apple Store online or at retail locations.
1-800-MY-APPLE

Copyright © 2007 Apple Inc.
All rights reserved. | Terms of use | Privacy Notice