&tag(UIKit/テーブル/セルを共有する);
override func viewDidLoad() {
super.viewDidLoad()
let nib = UINib(nibName: "ShareCell", bundle: nil)
tableView.registerNib(nib, forCellReuseIdentifier: "shareCell")
}
func tableView(tableView: UITableView, cellForRowAtIndexPath indexPath: NSIndexPath) -> UITableViewCell {
let cell = tableView.dequeueReusableCellWithIdentifier("shareCell", forIndexPath: indexPath) as! ShareCell
cell.label.text = rows[indexPath.row]
return cell
}