I may be mistaken on this, but it sounds like there isn't a way to do what
you're trying to without making each array item immutable (such as NSString
instead of NSMutableString). The reason for this lies behind how pointers
work: once you have a reference, you can alter whatever is inside that
reference, and other objects that have references will see these changes.
Hope this helps.

On Sun, Oct 12, 2008 at 10:46 AM, DKJ <[EMAIL PROTECTED]> wrote:

> oops... of course that should have been:
>
>        @property(readonly) NSArray *myArray;
>
>
>
> _______________________________________________
>
> Cocoa-dev mailing list ([email protected])
>
> Please do not post admin requests or moderator comments to the list.
> Contact the moderators at cocoa-dev-admins(at)lists.apple.com
>
> Help/Unsubscribe/Update your Subscription:
> http://lists.apple.com/mailman/options/cocoa-dev/steven.degutis%40gmail.com
>
> This email sent to [EMAIL PROTECTED]
>



-- 
Steven Degutis
_______________________________________________

Cocoa-dev mailing list ([email protected])

Please do not post admin requests or moderator comments to the list.
Contact the moderators at cocoa-dev-admins(at)lists.apple.com

Help/Unsubscribe/Update your Subscription:
http://lists.apple.com/mailman/options/cocoa-dev/archive%40mail-archive.com

This email sent to [EMAIL PROTECTED]

Reply via email to