• 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: question about informal protocols
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

Re: question about informal protocols


  • Subject: Re: question about informal protocols
  • From: "Henry McGilton (Boulevardier)" <email@hidden>
  • Date: Sun, 22 Nov 2009 21:13:14 -0800

On Nov 20, 2009, at 12:22 PM, Jens Alfke wrote:

>
> On Nov 20, 2009, at 12:09 PM, Michael de Haan wrote:
>
>> Does the, in your opinion, "optional" addition pretty much replace categories as a whole, or is there still a role for them?
>
> It replaces informal protocols. There are many other uses for categories, like
>
> * Breaking a class implementation across several source files
> * Declaring private/internal class methods that a few other classes are allowed to call
> * Declaring some of a class's methods in other headers (ones that only make sense in the context of that other header)
> * Adding methods to a pre-existing framework class

Not to overlook the all-important AppKit and UIKit 'Additions' to their respective Foundation Frameworks . . .

    Cheers,
        . . . . . . . .    Henry


_______________________________________________

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: 
 >question about informal protocols (From: Michael de Haan <email@hidden>)
 >Re: question about informal protocols (From: Jean-Daniel Dupas <email@hidden>)
 >Re: question about informal protocols (From: Michael de Haan <email@hidden>)
 >Re: question about informal protocols (From: Jens Alfke <email@hidden>)

  • Prev by Date: Problem With Setting Badge via Interface Builder
  • Next by Date: mySQL client lib linking problem...
  • Previous by thread: Re: question about informal protocols
  • Next by thread: CoreData/NSPersistentDocument initialization
  • Index(es):
    • Date
    • Thread