| |||
| [Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index] |
the objects are both declared as pointers.
the first one (obj1 is allocated the memory and initialized.
the second one is NOT allocated any memory, but instead im implementing the declaration and implementation as you have outlined below.
when i call the method/function(im not sure what to call it at this point), i do the following...
obj2 = [outlet getObject:self]
so now, obj2 should be pointing to the same object, correct.
alright, now for another question....
lets say i have two separate front ends(views) for each of these objects.... and both views accept input that change the object..... so, the information displayed on both vies should be the same at all times regardless of where the information is being altered. correct ?
Thanks.
| References: | |
| >Re: passing pointers (From: Aaron Boothello <email@hidden>) |
| Home | Archives | FAQ | Terms/Conditions | Contact | RSS | Lists | About |
Visit the Apple Store online or at retail locations.
1-800-MY-APPLE
Contact Apple | Terms of Use | Privacy Policy
Copyright © 2007 Apple Inc. All rights reserved.