On 29/10/2010, at 11:12 PM, Andy Lee wrote: >> Having put it back to not using the static array, it's now working fine! >> Gremlins.... > > Happens all the time. Someone should really do a study on why putting code > back the way it was fixes bugs, especially after one has posted to cocoa-dev. > :) > > --Andy
OK, found the problem - silly mistake. When testing I used alloc + init on the object that implements this, which is not its designated initialiser, so the look-up dictionary wasn't being initialised. D'oh!! (I've also corrected this so that -init does now call the designated initialiser as it should). Thanks anyway! --Graham_______________________________________________ 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]
