-
Notifications
You must be signed in to change notification settings - Fork 0
Expand file tree
/
Copy pathMyAuthorizationTableVC.swift
More file actions
37 lines (33 loc) · 1.28 KB
/
MyAuthorizationTableVC.swift
File metadata and controls
37 lines (33 loc) · 1.28 KB
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
//
// MyAuthorizationTableViewController.swift
// AddrManager
//
// Created by Martini Wang on 14/11/6.
// Copyright (c) 2014年 Martini Wang. All rights reserved.
//
import UIKit
class MyAuthorizationTableViewController: UITableViewController {
override func viewDidLoad() {
super.viewDidLoad()
self.tableView.delegate = self
self.tableView.dataSource = self
}
override func didReceiveMemoryWarning() {
super.didReceiveMemoryWarning()
}
/*
override func tableView(tableView: UITableView, numberOfRowsInSection section: Int) -> Int {
return myAddressAuthorizationList.count
}
override func tableView(tableView: UITableView, cellForRowAtIndexPath indexPath: NSIndexPath) -> UITableViewCell {
var cell:UITableViewCell = UITableViewCell(style: UITableViewCellStyle.Value1, reuseIdentifier: "authorizationListCell")
cell.textLabel.text = myAddressAuthorizationList[indexPath.row].user.name
cell.detailTextLabel?.text = "\(myAddressAuthorizationList[indexPath.row].limitPeriod)"
return cell
}
// 单元格选中响应事件
override func tableView(tableView: UITableView, didSelectRowAtIndexPath indexPath: NSIndexPath) {
println("Change this authorization")
}
*/
}