Индийское.

![Индийское. [info]](http://l-stat.livejournal.com/img/userinfo.gif?v=1)
Возможности именования методов в ObjC таковы, что не требует комментариев:
- (void)fadeInWithDuration:(NSTimeInterval)duration andWait:(NSTimeInterval)wait delegate:(id)aDelegate completeSelector:(SEL)aCompleteSelector { [UIView beginAnimations: @"Fade In With Complete Selector" context:nil]; [UIView setAnimationDelegate:aDelegate]; [UIView setAnimationDidStopSelector:aCompleteSelector]; [UIView setAnimationDelay:wait]; [UIView setAnimationDuration:duration]; self.alpha = 1; [UIView commitAnimations]; }Если комментарии есть, то получается либо "масло масляное", либо в коде явная лапша:
/* This function scrolls the grid view, such that 'About Us' cell comes at the center. */ - (void)scrollGridToMiddle { GridIndex firstIndex; firstIndex.row = 0; firstIndex.column = 26; [self scrollToCellAtGridIndex:firstIndex animated:NO]; }Капитан очевидности.
Если интерфейс класса не понятен за минуту, то он кандидат на утилизацию.
|
</> |