Quote:
Originally Posted by JavaWizKid
I'm not expecting you to :P If the instance is created in one class, how can I control it from another?
|
By getting a reference (pointer) to that object. In this case, the musicPlayer object would normally be an instance variable of the AppDelegate class. So you use a property of the AppDelegate to get that reference and send the message directly. There's about a dozen threads a day in this forum about how to message one class object from another.
joe