I would like to know from people with experience where the best place to declare, initialize and release objects is.
Should all objects including NSStrings always be declared in the header file?
Are variables like an int declared in the header file?
If I declare an object or use an object in a method, should it be released in that method or in the dealloc method?
If an object is only needed in the method, should it just be declared and released within the method?
This is simple, but the header and implementation file style is new to me.
Regards