Thanks all. I figured out what I was doing wrong. I was expecting a higher 
level class (DBString) to call a DBWord method, when it bypasses DBWord 
altogether if it has shared data of it's own.

If I delete all shared data, initialize is called correctly.


On Jul 24, 2011, at 5:02 PM, Jens Alfke wrote:

> 
> On Jul 24, 2011, at 12:59 PM, Andy Lee wrote:
> 
>> Another thought -- is it possible you have a subclass of DBWord that 
>> implements +initialize and needs to call super?
> 
> +initialize methods shouldn’t call super. The runtime sends the message 
> separately to each class in the hierarchy.
> 
> As to the original question — I don’t know why +initialize wouldn’t be 
> called. The code looks OK to me.
> 
> —Jens

_______________________________________________

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