• 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: PDFKit guidance
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

Re: PDFKit guidance


  • Subject: Re: PDFKit guidance
  • From: Douglas Davidson <email@hidden>
  • Date: Thu, 26 Jun 2008 12:02:33 -0700


On Jun 26, 2008, at 11:54 AM, Torsten Curdt wrote:

The subclassing of PDFDocument and PDFPage was quite straight forward. (Although unexpected as usually everyone tells you "usually you don't subclass in Cocoa land")

I think what we usually say is: don't make subclassing your first resort. Try configuration, composition, delegation, or notification before subclassing; but if those don't cover your particular situation, as often happens, most Cocoa classes are designed with subclassing in mind. Subclassing is more powerful and more dangerous than those other mechanisms, and often more work, so it should be reserved for those cases where it is necessary, but it should be available to you when you need it.


Douglas Davidson
_______________________________________________

Cocoa-dev mailing list (email@hidden)

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:
This email sent to email@hidden


References: 
 >Re: PDFKit guidance (From: Joel Norvell <email@hidden>)
 >Re: PDFKit guidance (From: Torsten Curdt <email@hidden>)
 >Re: PDFKit guidance (From: Antonio Nunes <email@hidden>)
 >Re: PDFKit guidance (From: Torsten Curdt <email@hidden>)
 >Re: PDFKit guidance (From: "Adam R. Maxwell" <email@hidden>)
 >Re: PDFKit guidance (From: John Calhoun <email@hidden>)
 >Re: PDFKit guidance (From: "Adam R. Maxwell" <email@hidden>)
 >Re: PDFKit guidance (From: John Calhoun <email@hidden>)
 >Re: PDFKit guidance (From: "Adam R. Maxwell" <email@hidden>)
 >Re: PDFKit guidance (From: John Calhoun <email@hidden>)
 >Re: PDFKit guidance (From: Torsten Curdt <email@hidden>)

  • Prev by Date: Re: Good mouse tracking design for dynamic view?
  • Next by Date: Outline View and Bindings
  • Previous by thread: Re: PDFKit guidance
  • Next by thread: Re: PDFKit guidance
  • Index(es):
    • Date
    • Thread