Advertise Mobile SDKs Books Events Forum News Social Networking Support Us
Follow @iphonedevsdk on Twitter

Interface 2, Advanced iOS
Mockup & Code Gen
($9.99)

Make your own iPhone apps
and run them live!
(free)

Pic Frame Dynamo: Photo Editing
($0.99)

Abiliator
($1.99)

Want your application or service advertised on iPhone Dev SDK?

Go Back   iPhone Dev SDK Forum

View Single Post
Old 09-01-2009, 11:16 AM   #6 (permalink)
FlyingDiver
Former NeXTStep Developer
 
Join Date: Mar 2009
Posts: 997
FlyingDiver will become famous soon enough
Default

Quote:
Originally Posted by JavaWizKid View Post
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
FlyingDiver is offline   Reply With Quote
 

» Advertisements
» Stats
Members: 175,180
Threads: 93,920
Posts: 402,151
Top Poster: BrianSlick (7,967)
Welcome to our newest member, mausumi
Powered by vBadvanced CMPS v3.1.0

All times are GMT -5. The time now is 12:54 PM.
Powered by vBulletin® Version 3.8.0
Copyright ©2000 - 2012, Jelsoft Enterprises Ltd.