-(void)addAssetObject:(Asset *)a;


#1

In the Employee class, the following instance method is introduced:

Trying to clear up exactly what is being passed here, and how.

My understanding: the method addAssetObject does not return anything. It is expecting to receive a pointer to an instance (a) of the Asset class.

Is this correct?

Thanks,

RL


#2

You’re absolutely correct.

If you want another example of deciphering a method declaration, I spent a little too much of my life on an example here: viewtopic.php?f=148&t=3357