• 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 question...
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

Re: Newbie question...


  • Subject: Re: Newbie question...
  • From: Ondra Cada <email@hidden>
  • Date: Mon, 18 Feb 2002 15:45:46 +0100

stef11,

>>>>>> email@hidden (s) wrote at Sun, 17 Feb 2002 19:22:15 -0500:
s> How should you pass information across two classes?

Start by learning to distinguish "class" and "instance" properly. I bet you
wanted to pass information between two instances.

s> Should there be a
s> friend function which is called by one class and gives the info to the
s> other? Or should some other approach be used? If a friend class should
s> be used here, what' would the syntax be in objective-c? (i'm new to the
s> language...)

Nope, forget those C++ uglies. Just use plain messages -- see documentation,
ObjC.pdf.
---
Ondra Cada
OCSoftware: email@hidden http://www.ocs.cz
2K Development: email@hidden http://www.2kdevelopment.cz
private email@hidden http://www.ocs.cz/oc
_______________________________________________
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:
    • 2 Newbie questions
      • From: Bob Stuller <email@hidden>
References: 
 >Newbie question... (From: email@hidden)

  • Prev by Date: Re: Idle Time in a loop
  • Next by Date: Re: Tiff with mask
  • Previous by thread: Re: Newbie question...
  • Next by thread: 2 Newbie questions
  • Index(es):
    • Date
    • Thread