Not a member of Pastebin yet?
Sign Up,
it unlocks many cool features!
- - (void)dealloc {
- // Generic dealloc method for all subclasses
- for(RTProperty *property in [[self class] rt_properties]){
- if ([[property typeEncoding] hasPrefix:@"@"])
- [self setValue:nil forKey:[property ivarName]];
- }
- [super dealloc];
- }
Add Comment
Please, Sign In to add comment