• 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: Unique Category Names?
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

Re: Unique Category Names?


  • Subject: Re: Unique Category Names?
  • From: Ondra Cada <email@hidden>
  • Date: Wed, 20 Apr 2005 01:03:35 +0200

Jonathon,

On 20.4.2005, at 0:22, Jonathon Mah wrote:

Quick question: I get the feeling from doing some 'Net searches that category names should be unique,

For one class, yes. You can use the same category name for different classes.


but haven't found a definitive source.

The brochure, ObjC.pdf, p.69:

===
There’s no limit to the number of categories that you can add to a class, but each category name must be different...
===


Is this true?

Definitely.

If so, why?

Since Objective C has no namespaces :) --- Ondra Čada OCSoftware: email@hidden http://www.ocs.cz private email@hidden http://www.ocs.cz/oc

_______________________________________________
Do not post admin requests to the list. They will be ignored.
Cocoa-dev mailing list      (email@hidden)
Help/Unsubscribe/Update your Subscription:
This email sent to email@hidden


References: 
 >Unique Category Names? (From: Jonathon Mah <email@hidden>)

  • Prev by Date: Using NSCell in a custom view?
  • Next by Date: Re: ABPeoplePickerView: setting focus on the search field
  • Previous by thread: Re: Unique Category Names?
  • Next by thread: available printer page sizes
  • Index(es):
    • Date
    • Thread