Slide 62
Slide 62 text
%BUB4PVSDFTXJGU
7$͔ΒϞσϧґଘͷॲཧΛग़͢
import UIKit
class DataSource: NSObject, UITableViewDataSource {
private var hand = Hand()
func addItemTo(tableView: UITableView) {}
func tableView(tableView: UITableView,
numberOfRowsInSection section: Int) -> Int {}
func tableView(tableView: UITableView,
cellForRowAtIndexPath indexPath: NSIndexPath) -> UITableViewCell {}
func tableView(tableView: UITableView,
commitEditingStyle editingStyle: UITableViewCellEditingStyle,
forRowAtIndexPath indexPath: NSIndexPath) {}
func tableView(tableView: UITableView,
moveRowAtIndexPath fromIndexPath: NSIndexPath,
toIndexPath: NSIndexPath) {}
func insertTopRowIn(tableView: UITableView) {}
func deleteRowAtIndexPath(indexPath: NSIndexPath, from tableView: UITableView) {}
}