iOS: What is a difference between dequeueReusableCell(withIdentifier:for:) and dequeueReusableCell(withIdentifier:)?

后端 未结 4 495
故里飘歌
故里飘歌 2021-01-13 18:23

According to the official documentation, there are two ways to get a reusable cell from a queue of a tableView. One is dequeueReusableCell(withIdentifier:for:)

4条回答
  •  长情又很酷
    2021-01-13 18:45

    After having a look at the official documentation

 I realised that your interpretation is somewhat correct.

    Could you please have a look at this answer, as this might bring up more clarity.


提交回复
热议问题