瀏覽代碼

control center page

Marino Faggiana 8 年之前
父節點
當前提交
d42daeaa79
共有 1 個文件被更改,包括 33 次插入0 次删除
  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