Re: inheriting from NSMutableData
Re: inheriting from NSMutableData
- Subject: Re: inheriting from NSMutableData
- From: Chris Hanson <email@hidden>
- Date: Sun, 14 Sep 2003 03:06:45 -0500
NSMutableData is part of a class cluster. If you really want to
subclass it, you need to look at the NSData and NSMutableData to see
the special requirements that are placed upon subclasses.
More importantly, you need to reconsider whether you should be
subclassing NSMutableData. I think a containment relationship might be
better; AudioStream should contain an instance of NSMutableData, not
descend from NSMutableData.
-- Chris
--
Chris Hanson, bDistributed.com, Inc. | Email: email@hidden
Custom Mac OS X Development | Phone: +1-847-372-3955
http://bdistributed.com/ | Fax: +1-847-589-3738
http://bdistributed.com/Articles/ | Personal Email: email@hidden
_______________________________________________
cocoa-dev mailing list | email@hidden
Help/Unsubscribe/Archives:
http://www.lists.apple.com/mailman/listinfo/cocoa-dev
Do not post admin requests to the list. They will be ignored.