Subscribe ( )

iPhone Programming Tutorials


 

Forum

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

Search 

About the iCodeBlog forum

Most Users Ever Online:

44


Currently Online:

6 Guests

Forum Stats:

Groups: 2

Forums: 6

Topics: 419

Posts: 893

Membership:

There are 934 Members

There has been 1 Guest

There are 2 Admins

There is 1 Moderator

Top Posters:

bobcubsfan – 54

crazyiez – 30

Uhu – 17

AdeC – 17

Nick – 15

jitesh61 – 12

Administrators: Brandon (88 Posts), Collin (0 Posts)

Moderators: VertigoSol (26 Posts)



©   

  • Posted by on 6 Aug 2008 in Uncategorized
  •   |  
  •   |  
  •   |  
  • Comments Off

Comments are closed.