Hi guys,
I started learning programming using Xcode 3, because the book I was learning from used that. I decided however, that it would probably be beneficial to move over to Xcode 4. However, in Xcode 4, when it comes to releasing objects it doesn't let you use:
It comes up with the errors
'ARC forbids explicit message send of 'release'
'ARC forbids explicit message send of 'dealloc'
I'm now not sure how to realise objects.
Any help/advice would be great!
Cheers
I started learning programming using Xcode 3, because the book I was learning from used that. I decided however, that it would probably be beneficial to move over to Xcode 4. However, in Xcode 4, when it comes to releasing objects it doesn't let you use:
Code:
-(void)dealloc {
[<variable> release];
[super dealloc];
}
'ARC forbids explicit message send of 'release'
'ARC forbids explicit message send of 'dealloc'
I'm now not sure how to realise objects.
Any help/advice would be great!
Cheers