From ea36a0ccd9897c7e88fd192c018f71c7665de065 Mon Sep 17 00:00:00 2001 From: Eric <812048774@qq.com> Date: Thu, 14 Nov 2013 15:23:16 +0800 Subject: [PATCH] Fixed problems with README.md [tableView: cellForRowAtIndexPath] should return UITableViewCell instance --- README.md | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/README.md b/README.md index 258e4dd..ac3cf09 100755 --- a/README.md +++ b/README.md @@ -411,8 +411,8 @@ This is very handy for stuff like table cells: ```ruby # In your controller that is a delegate for a UITableView def tableView(table_view, cellForRowAtIndexPath: index_path) - cell = tableView.dequeueReusableCellWithIdentifier(CELL_IDENTIFIER) || begin - rmq.create(StoreCell, :store_cell, cell_identifier: CELL_IDENTIFIER) + cell = table_view.dequeueReusableCellWithIdentifier(CELL_IDENTIFIER) || begin + rmq.create(StoreCell, :store_cell, cell_identifier: CELL_IDENTIFIER).get end end