Hey guys, I've been going at Objective-C and iPhone programming for a few days now and I feel as though I've gotten a decent grasp on it so far. Where I'm absolutely blanking right now, is with classes.
Here's a quick example I made up to illustrate what I'm trying to do.
Let's say that I have a cloud, and I want to create a raindrop and have it fall to the ground when the user taps the screen. I understand that I will need to create a raindrop class to get raindrop.h and raindrop.m, and I know how to create a new object, and I'm pretty sure I can even handle the user click, but where I'm having the problems is how do I assign all raindrops created from the raindrop class to an image?
Really sorry if this has been asked a bunch or if it's painfully obvious and I'm overlooking it.
Thanks in advance!
Daelan
Here's a quick example I made up to illustrate what I'm trying to do.
Let's say that I have a cloud, and I want to create a raindrop and have it fall to the ground when the user taps the screen. I understand that I will need to create a raindrop class to get raindrop.h and raindrop.m, and I know how to create a new object, and I'm pretty sure I can even handle the user click, but where I'm having the problems is how do I assign all raindrops created from the raindrop class to an image?
Really sorry if this has been asked a bunch or if it's painfully obvious and I'm overlooking it.
Thanks in advance!
Daelan