Это правильный способ обработки памяти?
Метод 1: без сбоев
UIButton *button = [[UIButton alloc] initWithFrame:CGRectMake(220.0f, 7.0f, 57.0f, 35.0f)] ;
button = nil;
[button release];
Метод 2: с сбоем
UIButton *button = [[UIButton alloc] initWithFrame:CGRectMake(220.0f, 7.0f, 57.0f, 35.0f)] ;
[button release];
button = nil;