1. Objective C / Говнокод #7563

    −116

    1. 01
    2. 02
    3. 03
    4. 04
    5. 05
    6. 06
    7. 07
    8. 08
    9. 09
    10. 10
    11. 11
    12. 12
    13. 13
    14. 14
    BOOL levelClosed = YES;
    if (indexPath.row == 0)
    {
    	levelClosed = NO;
    }
    else
    {
    	iPadLevelDescriptor *prevLvlDescription = [levels objectAtIndex:(indexPath.row-1)];
    	scoresObject *prevLevelScoresObject = [ScoresTableUIViewController loadScoresForLevel:[[prevLvlDescription properties] objectForKey:kiPadLevelName]];
    	if (prevLevelScoresObject != nil)
    		levelClosed = ![prevLevelScoresObject completed];
    }
    levelClosed = NO;
    [cell setClosed:lvlClosed];

    Закрыт ли уровень?..

    Запостил: 1101_debian, 17 Августа 2011

    Комментарии (6) RSS

    Добавить комментарий