• 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
Newbie: OOP Question: messaging Objects
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

Newbie: OOP Question: messaging Objects


  • Subject: Newbie: OOP Question: messaging Objects
  • From: Bernd Homuth <email@hidden>
  • Date: Wed, 16 Apr 2003 20:50:43 +0200

Hello,
this is making me serious trouble not to know for sure the right concept in Objective C.
First of all I do know what messaging is and what objects are :-)
Here we go: I4m creating a bunch of objects like a tree. The root is my main NSDocument subclass. In the roof I4m creating some little leaf Object which needs to go all the way down to the root.
My question: Once the Object is created am I supposed to send a notification and the NSDocument subclass gets the Object or is there another way?
I mean in some cases objects create objects and those objects don4t know who asked for their creation (or do they) so I can4t send them back the way they are coming from.
That4s kind of confusing.
Any FM suggestions I could read?
Thanks in advance for the help
_______________________________________________
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: Newbie: OOP Question: messaging Objects
      • From: Sherm Pendley <email@hidden>
  • Prev by Date: RE: breaking whenever an Obj-C class is accessed
  • Next by Date: Re[2]: Jaguar and pre-Jaguar applications
  • Previous by thread: Re: [OT] Apple Design Awards
  • Next by thread: Re: Newbie: OOP Question: messaging Objects
  • Index(es):
    • Date
    • Thread