Permalink
Browse files

Minor cleanups

  • Loading branch information...
1 parent 13c3093 commit 037ca692894424034119fb00ded70d5c9e441f31 @dennisreimann committed Jun 17, 2013
Showing with 5 additions and 8 deletions.
  1. +1 −2 Classes/IOCCommitCell.h
  2. +1 −0 Classes/IOCCommitCell.m
  3. +0 −3 Classes/IOCTagsController.m
  4. +3 −3 Classes/IOCUsersController.m
View
@@ -1,5 +1,4 @@
-#import "GHCommit.h"
-
+@class GHCommit;
@interface IOCCommitCell : UITableViewCell
@property(nonatomic,strong)GHCommit *commit;
View
@@ -1,5 +1,6 @@
#import "IOCCommitCell.h"
#import "GHUser.h"
+#import "GHCommit.h"
#import "NSDate+Nibware.h"
#import "NSString+Extensions.h"
@@ -2,9 +2,6 @@
#import "GHTags.h"
#import "GHTag.h"
#import "IOCTreeController.h"
-#import "iOctocat.h"
-#import "SVProgressHUD.h"
-#import "IOCResourceStatusCell.h"
@implementation IOCTagsController
@@ -16,15 +16,15 @@ - (NSString *)collectionName {
}
- (NSString *)collectionCellIdentifier {
- return kRepositoryCellIdentifier;
+ return kUserObjectCellIdentifier;
}
#pragma mark TableView
- (UITableViewCell *)tableView:(UITableView *)tableView cellForRowAtIndexPath:(NSIndexPath *)indexPath {
if (self.collection.isEmpty) return [super tableView:tableView cellForRowAtIndexPath:indexPath];
- IOCUserObjectCell *cell = (IOCUserObjectCell *)[tableView dequeueReusableCellWithIdentifier:kUserObjectCellIdentifier];
- if (!cell) cell = [IOCUserObjectCell cellWithReuseIdentifier:kUserObjectCellIdentifier];
+ IOCUserObjectCell *cell = (IOCUserObjectCell *)[tableView dequeueReusableCellWithIdentifier:self.collectionCellIdentifier];
+ if (!cell) cell = [IOCUserObjectCell cellWithReuseIdentifier:self.collectionCellIdentifier];
cell.userObject = self.collection[indexPath.row];
return cell;
}

0 comments on commit 037ca69

Please sign in to comment.