|
|
Log In | Not a Member? |
Contact ADC |
| < 前ページ次ページ > |
実装内では、selfとsuperはどちらも受信側のオブジェクトを参照します。その実装によって継承されているメソッドだけをメッセージに対応して実行させることを示す場合、メッセージのレシーバとしてselfの代わりにsuperを使用します。
他に有効な戻り値のないメソッドは、通常はvoidを戻します。
| < 前ページ次ページ > |
Last updated: 2007-10-31
|
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 |