I'm using NSPointerArray to hold a list of weak references. In one case, I need to enumerate these in a mutation-safe way, so I make a copy of the pointer array before iterating it. That works fine on 10.7 and later, but on 10.6.x, I get a runtime exception that [NSConcretePointerArray copyWithZone:] is abstract*. NSPointerArray documentation says that it supports NSCopying and is available from 10.5 and later. Was -copy not properly implemented until 10.7? How can I workaround this?
*the error I get literally says: HIToolbox: ignoring exception 'abstract method copyWithZone: called directly on class NSConcretePointerArray' that raised inside Carbon event dispatch. --Graham _______________________________________________ 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: https://lists.apple.com/mailman/options/cocoa-dev/archive%40mail-archive.com This email sent to arch...@mail-archive.com