Bläddra i källkod

control center page

Marino Faggiana 8 år sedan
förälder
incheckning
d42daeaa79
1 ändrade filer med 33 tillägg och 0 borttagningar
  1. 33 0
      iOSClient/MenuAccount+ControlCenter/CCControlCenterActivity.m

+ 33 - 0
iOSClient/MenuAccount+ControlCenter/CCControlCenterActivity.m

@@ -8,6 +8,8 @@
 
 #import "CCControlCenterActivity.h"
 
+#import "CCControlCenterTransferCell.h"
+
 @implementation CCControlCenterActivity
 
 - (void)viewDidLoad {
@@ -23,4 +25,35 @@
     _tableView.backgroundColor = [UIColor greenColor];
 }
 
+#pragma --------------------------------------------------------------------------------------------
+#pragma mark - ==== Table ====
+#pragma --------------------------------------------------------------------------------------------
+
+- (CGFloat)tableView:(UITableView *)tableView heightForRowAtIndexPath:(NSIndexPath *)indexPath
+{
+    return 50;
+}
+
+- (NSInteger)numberOfSectionsInTableView:(UITableView *)tableView
+{
+    return 0;
+}
+
+- (NSInteger)tableView:(UITableView *)tableView numberOfRowsInSection:(NSInteger)section
+{
+    return 0;
+}
+
+- (CGFloat)tableView:(UITableView *)tableView heightForHeaderInSection:(NSInteger)section
+{
+    return 13.0f;
+}
+
+- (UITableViewCell *)tableView:(UITableView *)tableView cellForRowAtIndexPath:(NSIndexPath *)indexPath
+{
+    CCControlCenterTransferCell *cell = (CCControlCenterTransferCell *)[tableView dequeueReusableCellWithIdentifier:@"ControlCenterTransferCell" forIndexPath:indexPath];
+    
+    return cell;
+}
+
 @end