• 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: Exposing Methods in a Framework
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

Re: Exposing Methods in a Framework


  • Subject: Re: Exposing Methods in a Framework
  • From: Andrew Farmer <email@hidden>
  • Date: Wed, 31 May 2006 03:08:57 -0700

On 31 May 06, at 02:21, Håkan Waara wrote:
I would find it slightly cleaner by "hiding" your private ivars inside a category of the class, that you define elsewhere. For example:

This is what you have in your public header:

@interface ClassForEveryone : NSObject
{
}
...
@end

Then in a private header, you do:

@interface ClassForEveryone (Private)
{
  id secretVar;
}
...
@end

Except that I don't think you can define variables in a category.

Attachment: PGP.sig
Description: This is a digitally signed message part

 _______________________________________________
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: 
 >Exposing Methods in a Framework (From: David Alter <email@hidden>)
 >Re: Exposing Methods in a Framework (From: Håkan Waara <email@hidden>)

  • Prev by Date: Re: Exposing Methods in a Framework
  • Next by Date: Client ssh
  • Previous by thread: Re: Exposing Methods in a Framework
  • Next by thread: RE: Exposing Methods in a Framework
  • Index(es):
    • Date
    • Thread