• 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
Sharing a class' data
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

Sharing a class' data


  • Subject: Sharing a class' data
  • From: Jesus De Meyer <email@hidden>
  • Date: Fri, 7 Jun 2002 14:14:44 +0200

Hello,

I wanna make a Cocoa class that is shared in several other classes. But I don't want to have different instances of the class, but rather would like to have its data shared. Basically it comes to having class A shared over other classes but letting class B, C and D reach the data of class A.

Is this possible in Cocoa? Or would it be just easier to make a header file and make a struct?

Thanks,

Jesus
______________________________
Jesus De Meyer
CEO @ E dot software
http://www.edot-software.com
_______________________________________________
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.

  • Follow-Ups:
    • Re: Sharing a class' data
      • From: Charles Bennett <email@hidden>
    • Re: Sharing a class' data
      • From: Anthony Arthur <email@hidden>
  • Prev by Date: Re: NSUserDefaults question
  • Next by Date: HTML special characters
  • Previous by thread: Changing the height of NSTableHeaderView
  • Next by thread: Re: Sharing a class' data
  • Index(es):
    • Date
    • Thread