• Open Menu Close Menu
  • Apple
  • Shopping Bag
  • Apple
  • Mac
  • iPad
  • iPhone
  • Watch
  • TV
  • Music
  • Support
  • Search apple.com
  • Shopping Bag

Lists

Open Menu Close Menu
  • Terms and Conditions
  • Lists hosted on this site
  • Email the Postmaster
  • Tips for posting to public mailing lists
Re: inheriting from NSMutableData
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

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.

  • Prev by Date: Re: Highlight
  • Next by Date: Help! Problems to make app scriptable
  • Previous by thread: Re: inheriting from NSMutableData
  • Next by thread: Highlight
  • Index(es):
    • Date
    • Thread