|
| 1 | +// |
| 2 | +// EditUserProfileViewController.swift |
| 3 | +// PHPHub |
| 4 | +// |
| 5 | +// Created by 2014-104 on 16/2/4. |
| 6 | +// Copyright © 2016年 ninerec. All rights reserved. |
| 7 | +// |
| 8 | + |
| 9 | +import UIKit |
| 10 | + |
| 11 | +class EditUserProfileViewController: UITableViewController { |
| 12 | + |
| 13 | + override func viewDidLoad() { |
| 14 | + super.viewDidLoad() |
| 15 | + |
| 16 | + // Uncomment the following line to preserve selection between presentations |
| 17 | + // self.clearsSelectionOnViewWillAppear = false |
| 18 | + |
| 19 | + // Uncomment the following line to display an Edit button in the navigation bar for this view controller. |
| 20 | + // self.navigationItem.rightBarButtonItem = self.editButtonItem() |
| 21 | + } |
| 22 | + |
| 23 | + override func didReceiveMemoryWarning() { |
| 24 | + super.didReceiveMemoryWarning() |
| 25 | + // Dispose of any resources that can be recreated. |
| 26 | + } |
| 27 | + |
| 28 | + // MARK: - Table view data source |
| 29 | + |
| 30 | + override func numberOfSectionsInTableView(tableView: UITableView) -> Int { |
| 31 | + // #warning Incomplete implementation, return the number of sections |
| 32 | + return 0 |
| 33 | + } |
| 34 | + |
| 35 | + override func tableView(tableView: UITableView, numberOfRowsInSection section: Int) -> Int { |
| 36 | + // #warning Incomplete implementation, return the number of rows |
| 37 | + return 0 |
| 38 | + } |
| 39 | + |
| 40 | + /* |
| 41 | + override func tableView(tableView: UITableView, cellForRowAtIndexPath indexPath: NSIndexPath) -> UITableViewCell { |
| 42 | + let cell = tableView.dequeueReusableCellWithIdentifier("reuseIdentifier", forIndexPath: indexPath) |
| 43 | + |
| 44 | + // Configure the cell... |
| 45 | + |
| 46 | + return cell |
| 47 | + } |
| 48 | + */ |
| 49 | + |
| 50 | + /* |
| 51 | + // Override to support conditional editing of the table view. |
| 52 | + override func tableView(tableView: UITableView, canEditRowAtIndexPath indexPath: NSIndexPath) -> Bool { |
| 53 | + // Return false if you do not want the specified item to be editable. |
| 54 | + return true |
| 55 | + } |
| 56 | + */ |
| 57 | + |
| 58 | + /* |
| 59 | + // Override to support editing the table view. |
| 60 | + override func tableView(tableView: UITableView, commitEditingStyle editingStyle: UITableViewCellEditingStyle, forRowAtIndexPath indexPath: NSIndexPath) { |
| 61 | + if editingStyle == .Delete { |
| 62 | + // Delete the row from the data source |
| 63 | + tableView.deleteRowsAtIndexPaths([indexPath], withRowAnimation: .Fade) |
| 64 | + } else if editingStyle == .Insert { |
| 65 | + // Create a new instance of the appropriate class, insert it into the array, and add a new row to the table view |
| 66 | + } |
| 67 | + } |
| 68 | + */ |
| 69 | + |
| 70 | + /* |
| 71 | + // Override to support rearranging the table view. |
| 72 | + override func tableView(tableView: UITableView, moveRowAtIndexPath fromIndexPath: NSIndexPath, toIndexPath: NSIndexPath) { |
| 73 | + |
| 74 | + } |
| 75 | + */ |
| 76 | + |
| 77 | + /* |
| 78 | + // Override to support conditional rearranging of the table view. |
| 79 | + override func tableView(tableView: UITableView, canMoveRowAtIndexPath indexPath: NSIndexPath) -> Bool { |
| 80 | + // Return false if you do not want the item to be re-orderable. |
| 81 | + return true |
| 82 | + } |
| 83 | + */ |
| 84 | + |
| 85 | + /* |
| 86 | + // MARK: - Navigation |
| 87 | + |
| 88 | + // In a storyboard-based application, you will often want to do a little preparation before navigation |
| 89 | + override func prepareForSegue(segue: UIStoryboardSegue, sender: AnyObject?) { |
| 90 | + // Get the new view controller using segue.destinationViewController. |
| 91 | + // Pass the selected object to the new view controller. |
| 92 | + } |
| 93 | + */ |
| 94 | + |
| 95 | +} |
0 commit comments