Article:
  Networking in Cocoa
Subject:   completed project controller modularity?
Date:   2003-07-01 20:56:02
From:   psheldon
there are several paren'ed parts to the Controller:
eg.
@interface Controller (ChatFunctionality)
@interface Controller (NSNetServiceDelegation)


the details of the paren'd things wasn't stated in the article. I didn't have so many subsections and mine still worked.


What are these parens, some sort of protocol thing?

Full Threads Oldest First

Showing messages 1 through 1 of 1.

  • completed project controller modularity?
    2003-11-20 02:34:28  anonymous2 [View]

    Not a protocol. It's called a Category. It's basically a way of extending classes. It's usually used with classes you don't have the source to but want to extend, but in this case it's simply a way of compartmentalizing the methods.