回答編集履歴

2

修正

2017/01/20 00:25

投稿

_Kentarou
_Kentarou

スコア8490

test CHANGED
@@ -12,6 +12,12 @@
12
12
 
13
13
 
14
14
 
15
+
16
+
17
+ `dequeueReusableCellWithIdentifier:`は使いまわせるセルがない場合は`nil`を返却(自分で新しいセルを生成する)し、`dequeueReusableCellWithIdentifier:forIndexPath:`はなければ新しく生成したセルを返却します。
18
+
19
+
20
+
15
21
  > (Xcode8.1)でもdequeueReusableCellWithIdentifier:のメソッドがdeprecatedなわけではなく普通に使えるので、何かdequeueReusableCellWithIdentifier:を使った方がいい場合があるのでしょうか?
16
22
 
17
23
 

1

修正

2017/01/20 00:25

投稿

_Kentarou
_Kentarou

スコア8490

test CHANGED
@@ -5,6 +5,8 @@
5
5
 
6
6
 
7
7
  この2つの違いについては以下の説明が参考になります。
8
+
9
+ [iOS6 UITableViewのセルの再利用の方法が変わった](http://dev.classmethod.jp/smartphone/iphone/ios6-uitableview/)
8
10
 
9
11
  [UITableViewのセルの使いまわしについて](http://blog.morizotter.com/2013/12/24/uitableview-customcell-storyboard/)
10
12