redribben icon

yep

redribben | PRO | 10/22/15 10:12:48 PM UTC | 0 ⭐ | 7615 👁️ | Never ⏰ | []
Objective C |

0 B

|

None

|

0 👍

/

0 👎

HOW I HAD IT BEFORE
if (status == 1) {
[self this];
return;}
if (status == 0) {
[self that];
return;}
 
 
WHAT I CHANGED IT TO
switch (status) {
    case 1: {
        [self this];
        break;
    }
    case 0: {
        [self that];
        break;
    }
}

Comments

  •  icon
    01/01/70 12:00:00 AM UTC
    Plain Text |

    0 B

    |

    👍

    /

    👎

    
        
  •  icon
    01/01/70 12:00:00 AM UTC
    Plain Text |

    0 B

    |

    👍

    /

    👎