Subscribe ( )

iPhone Programming Tutorials

 

Forum

If you're new here, you may want to subscribe to my RSS feed. Thanks for visiting!

You must be logged in to post Login Register

Search 

Sending messages to other object’s instances?

User Post

2:52 pm
March 2, 2009


wasNot

Noob

posts 2

1

*let me preface this question with “noob”.

Say we have 3 objects: controller , box1, and box2.

“box1″ and “box2″ are instances created in “controller” and both have a method called “crunch”.

Calling “crunch” from “controller” is no problem, but how do I call “box2″s crunch method from “box1″?

Thanks


About the iCodeBlog forum

Currently Online:

3 Guests

Maximum Online: 44

Forums:

Groups: 2

Forums: 6

Topics: 331

Posts: 777

Members:

There are 743 members

There are 1 guests


Brandon has made 87 posts

Top Posters:

bobcubsfan - 54

crazyiez - 30

VertigoSol - 26

AdeC - 17

Uhu - 17

Administrator: Brandon | Moderators: VertigoSol


© - Version 3.1.4 (Build 357)