Skip to content

HTTPS clone URL

Subversion checkout URL

You can clone with HTTPS or Subversion.

Download ZIP
Browse files

updated README

  • Loading branch information...
commit c11bcc5afedfcca8d2242404d5b12d79a3792146 1 parent d5de130
@evsukov89 authored
Showing with 15 additions and 0 deletions.
  1. +15 −0 README.md
View
15 README.md
@@ -0,0 +1,15 @@
+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](http://igor-on-software.posterous.com/whats-wrong-with-mvc-in-cocoa-or-why-defaults)
Please sign in to comment.
Something went wrong with that request. Please try again.