Hi,
I have a Class which I have created as an NSObject. This class has a number of properties of different types and methods etc.
When I instantiate this class in my App (say in the main View Controller) I immediately send it a release call when I am finished using it. ie:
MyObject *myObject = [[MyObject alloc] initWithParameters:parms];
[myObject doSomeMethodCall];
[myObject release];
So my question is: When I release myObject, does it automatically release all of the declared objects, variables, etc. that I declared in the MyObject .h file?
OR
Do I need to create a custom release method which releases all of these?
I ask because of memory management issues.
Thank you.