• 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: Newbie Objective-C question
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

RE: Newbie Objective-C question


  • Subject: RE: Newbie Objective-C question
  • From: "Jonathan E. Jackel" <email@hidden>
  • Date: Wed, 8 Jan 2003 16:44:25 -0500

> @interface alreadyExistingClass(What_is_this)
> @end
>
> @implementation alreadyExistingClass(What_is_this)
> @end
>
> ----------------------
>
> If I have understood things correctly (judging only from code I've
> seen), What_is_this, is just some sort of keyword to say what "part" of
> a class I am extending, and hasn't much to do with the finished app. I
> would be happy if somebody told me why to use these and what they do.
> Documentation links are appreciated.

Those are categories, which are a way of extending a class without making a
subclass.

http://developer.apple.com/techpubs/macosx/Cocoa/ObjectiveC/3objc_language_o
verview/Categories__ing_Classes.html



>
> Some links to documentation on "Delegates" and "Protocols" would also
> be very useful as I use these without knowing _exactly_ what they are...

There's a search box on the ADC pages. Follow the link above and try it.

Jonathan
_______________________________________________
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.

References: 
 >Newbie Objective-C question (From: Elias Freider <email@hidden>)

  • Prev by Date: Re: Notes about WebCore
  • Next by Date: Forcing NSUserDefaults being written to disk?
  • Previous by thread: Re: Newbie Objective-C question
  • Next by thread: Re: PG Suggestion Series: Carbon-Cocoa Distinction Dissolution
  • Index(es):
    • Date
    • Thread