FROM : mmalc crawford
DATE : Tue Jan 01 18:36:47 2008
On Jan 1, 2008, at 6:15 AM, Eric PETIT wrote:
> Inside an object (OBJSource), I want to recover the value of the
> field of another object (OBJTarget) by one assessor of this object
> (OBJTarget).
> How can I reach an instance of OBJTarget inside OBJSource ?
>
You need an instance variable in OBJSource that points to the instance
of OBJTarget.
If this doesn't make sense, you should review <http://developer.apple.com/documentation/Cocoa/Conceptual/CocoaFundamentals/CocoaObjects/chapter_3_section_1.html
> and
<http://developer.apple.com/documentation/Cocoa/Conceptual/ObjectiveC/Articles/chapter_2_section_3.html
>
mmalc
DATE : Tue Jan 01 18:36:47 2008
On Jan 1, 2008, at 6:15 AM, Eric PETIT wrote:
> Inside an object (OBJSource), I want to recover the value of the
> field of another object (OBJTarget) by one assessor of this object
> (OBJTarget).
> How can I reach an instance of OBJTarget inside OBJSource ?
>
You need an instance variable in OBJSource that points to the instance
of OBJTarget.
If this doesn't make sense, you should review <http://developer.apple.com/documentation/Cocoa/Conceptual/CocoaFundamentals/CocoaObjects/chapter_3_section_1.html
> and
<http://developer.apple.com/documentation/Cocoa/Conceptual/ObjectiveC/Articles/chapter_2_section_3.html
>
mmalc
| Related mails | Author | Date |
|---|---|---|
| Eric PETIT | Jan 1, 15:15 | |
| mmalc crawford | Jan 1, 18:36 |






Cocoa mail archive

