Skip to content


Subversion checkout URL

You can clone with
Download ZIP
Tree: c11bcc5afe
Fetching contributors…

Cannot retrieve contributors at this time

16 lines (12 sloc) 537 Bytes

Illustration how to correctly use MVC in cocoa

Each time this kind of code get called in controller

[UIView animateWithDuration:0.3 animations:^{ 
    self.tableView.alpha = 0.0f;
    self.activityView.alpha = 0.0f;            
} completion:^(BOOL finished){
    self.tableView.hidden = YES;
    [self.tableView reloadData];
    self.activityView.hidden = YES;

God kills a kitteh. Read more in my blog post

Jump to Line
Something went wrong with that request. Please try again.