Skip to content
This repository

HTTPS clone URL

Subversion checkout URL

You can clone with HTTPS or Subversion.

Download ZIP
Browse code

updated README

  • Loading branch information...
commit c11bcc5afedfcca8d2242404d5b12d79a3792146 1 parent d5de130
Igor Evsukov authored

Showing 1 changed file with 15 additions and 0 deletions. Show diff stats Hide diff stats

  1. +15 0 README.md
15 README.md
Source Rendered
... ... @@ -0,0 +1,15 @@
  1 +Illustration how to correctly use MVC in cocoa
  2 +===
  3 +
  4 +Each time this kind of code get called in controller
  5 +
  6 + [UIView animateWithDuration:0.3 animations:^{
  7 + self.tableView.alpha = 0.0f;
  8 + self.activityView.alpha = 0.0f;
  9 + } completion:^(BOOL finished){
  10 + self.tableView.hidden = YES;
  11 + [self.tableView reloadData];
  12 + self.activityView.hidden = YES;
  13 + }];
  14 +
  15 +God kills a kitteh. Read more in my [blog post](http://igor-on-software.posterous.com/whats-wrong-with-mvc-in-cocoa-or-why-defaults)

0 comments on commit c11bcc5

Please sign in to comment.
Something went wrong with that request. Please try again.