Permalink
Browse files

moved loadFromServerIfNeeded to CLCGVC. Now CLCGTVVC only deals with …

…table-view related stuff.
  • Loading branch information...
1 parent 3e8944d commit 08ed4d56d7bd32a3b6539771eed99e2290dd53f4 @ettore committed Dec 20, 2012
Showing with 11 additions and 12 deletions.
  1. +0 −6 CLCGTVVC.h
  2. +0 −5 CLCGTVVC.m
  3. +6 −1 CLCGVC.h
  4. +5 −0 CLCGVC.m
View
@@ -88,12 +88,6 @@
*/
-(void)loadBaseView;
-/*!
- @discussion Subclasses should override this method and initiate here any
- asynchronous server side call. The default implementation does nothing.
- */
--(void)loadFromServerIfNeeded;
-
/*! Deselects all currently selected rows. */
-(void)deselectAll:(BOOL)animated;
View
@@ -151,11 +151,6 @@ -(void)viewDidAppear:(BOOL)animated
}
--(void)loadFromServerIfNeeded
-{
-}
-
-
//-----------------------------------------------------------------------------
#pragma mark - UITableView behavior
View
@@ -81,8 +81,13 @@ enum CLCGLoadingState {
*/
-(void)showLoadingView:(BOOL)show;
+/*!
+ @discussion Subclasses should override this method and initiate here any
+ asynchronous server side call. The default implementation does nothing.
+ */
+-(void)loadFromServerIfNeeded;
-/**
+/**
* Releases all the retained subviews of this view controller. This is called
* by dealloc and viewDidUnload.
* Subclasses should override this method and release their subviews here.
View
@@ -114,6 +114,11 @@ -(void)viewWillAppear:(BOOL)animated
}
+-(void)loadFromServerIfNeeded
+{
+}
+
+
-(void)willAnimateRotationToInterfaceOrientation:(UIInterfaceOrientation)to_orient
duration:(NSTimeInterval)duration
{

0 comments on commit 08ed4d5

Please sign in to comment.