Charles Srstka wrote:

It’s a little disturbing that private instance variables can be altered so easily, but then I suppose the same thing could just as easily be done by a third-party monkeying with the ivar in a category.


No programming language with direct memory access is ever entirely safe. And one that's defined as a strict superset of C can't ever be more safe than C itself is. Since C lets you typecast pointers indiscriminately, that's a pretty big barn door to close after the horses have bolted.

  -- GG

_______________________________________________

Cocoa-dev mailing list (Cocoa-dev@lists.apple.com)

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 arch...@mail-archive.com

Reply via email to