• 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 methods with other objects
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

Sharing methods with other objects


  • Subject: Sharing methods with other objects
  • From: Aidas Dailide <email@hidden>
  • Date: Mon, 16 Dec 2002 19:39:10 -0800

Hi there,

I have a simple question here. I want to share some variables between NSObjects. After "sharing" shared variables are nil's. What is the correct way to share variables between NSObjects(and others ofcourse)?

I used methods like -(int)returnNumber{ return my_number; }

Thanks,

Aidas
_______________________________________________
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 methods with other objects
      • From: Andrew <email@hidden>
    • Re: Sharing methods with other objects
      • From: Sherm Pendley <email@hidden>
  • Prev by Date: Re: NSTableView - Alternating blue and white background
  • Next by Date: Re: Printing examples in Cocoa
  • Previous by thread: Subject: Re: "First Run" installation of Application support stuff?
  • Next by thread: Re: Sharing methods with other objects
  • Index(es):
    • Date
    • Thread