<?xml version="1.0"?>
<feed xmlns="http://www.w3.org/2005/Atom" xml:lang="ja">
	<id>https://wiki.nonip.net/index.php?action=history&amp;feed=atom&amp;title=Ios%2Fswift%2FTableView%2F%E8%A1%A8%E7%A4%BA</id>
	<title>Ios/swift/TableView/表示 - 版の履歴</title>
	<link rel="self" type="application/atom+xml" href="https://wiki.nonip.net/index.php?action=history&amp;feed=atom&amp;title=Ios%2Fswift%2FTableView%2F%E8%A1%A8%E7%A4%BA"/>
	<link rel="alternate" type="text/html" href="https://wiki.nonip.net/index.php?title=Ios/swift/TableView/%E8%A1%A8%E7%A4%BA&amp;action=history"/>
	<updated>2026-05-02T01:49:20Z</updated>
	<subtitle>このウィキのこのページに関する変更履歴</subtitle>
	<generator>MediaWiki 1.45.3</generator>
	<entry>
		<id>https://wiki.nonip.net/index.php?title=Ios/swift/TableView/%E8%A1%A8%E7%A4%BA&amp;diff=2459&amp;oldid=prev</id>
		<title>Admin: ページの作成:「==storyboardを使ってTableViewを追加== #sotryboardにTableViewを貼り付ける #TableViewオブジェクトをViewControllerに紐付ける #以下をViewControll...」</title>
		<link rel="alternate" type="text/html" href="https://wiki.nonip.net/index.php?title=Ios/swift/TableView/%E8%A1%A8%E7%A4%BA&amp;diff=2459&amp;oldid=prev"/>
		<updated>2016-06-24T22:35:13Z</updated>

		<summary type="html">&lt;p&gt;ページの作成:「==storyboardを使ってTableViewを追加== #sotryboardにTableViewを貼り付ける #TableViewオブジェクトをViewControllerに紐付ける #以下をViewControll...」&lt;/p&gt;
&lt;p&gt;&lt;b&gt;新規ページ&lt;/b&gt;&lt;/p&gt;&lt;div&gt;==storyboardを使ってTableViewを追加==&lt;br /&gt;
#sotryboardにTableViewを貼り付ける&lt;br /&gt;
#TableViewオブジェクトをViewControllerに紐付ける&lt;br /&gt;
#以下をViewController.swiftに追加&lt;br /&gt;
    @IBOutlet weak var testTableView: UITableView!&lt;br /&gt;
    override func viewDidLoad() {&lt;br /&gt;
        super.viewDidLoad()&lt;br /&gt;
        testTableView.registerClass(UITableViewCell.self, forCellReuseIdentifier: &amp;quot;Cell&amp;quot;)&lt;br /&gt;
        testTableView.delegate = self&lt;br /&gt;
        testTableView.dataSource = self&lt;br /&gt;
    }&lt;br /&gt;
    func tableView(tableView: UITableView, numberOfRowsInSection section: Int) -&amp;gt; Int {&lt;br /&gt;
        return 10&lt;br /&gt;
    }&lt;br /&gt;
    func tableView(tableView: UITableView, cellForRowAtIndexPath indexPath: NSIndexPath) -&amp;gt; UITableViewCell {&lt;br /&gt;
        let cell = tableView.dequeueReusableCellWithIdentifier(&amp;quot;Cell&amp;quot;, forIndexPath: indexPath) as! UITableViewCell&lt;br /&gt;
        cell.textLabel?.text = String(indexPath.row + 1) + &amp;quot;データ&amp;quot;&lt;br /&gt;
        return cell&lt;br /&gt;
    }&lt;br /&gt;
#tableViewのメソッドを使えるようにインターフェイスを実装する&lt;br /&gt;
 -class ViewController: UIViewController&lt;br /&gt;
 +class ViewController: UIViewController, UITableViewDataSource,UITableViewDelegate {&lt;br /&gt;
&lt;br /&gt;
参考：http://www.dcom-web.co.jp/technology/swift3/&lt;/div&gt;</summary>
		<author><name>Admin</name></author>
	</entry>
</feed>