The particular initializer in use is

    initWithCoder:

UITableView conforms to the NSCoding protocol. Hope this helps.

Damian

On Mar 12, 2013, at 11:09 AM, Koen van der Drift wrote:

> I'm playing around with a storyboard app on iOS. To test a TableView I 
> created a UITableViewController subclass, and set it as the custom class in 
> the storyboard. Then in the init method, I added a bunch of objects to act as 
> the datasource, however init never gets called, and my tableview remains 
> empty.
> 
> If I modify the datasource methods, by adding a cell title and return a 
> positive number for the numberOfRows, I do see the table being filled, so 
> everything must be hooked up ok.
> 
> But why is init never called? I also tried - 
> (id)initWithStyle:(UITableViewStyle)style, but that is not called either.
> 
> Any ideas?
> 
> - Koen.
> _______________________________________________
> 
> Cocoa-dev mailing list (Cocoa-dev@lists.apple.com)
> 
> Please do not post admin requests or moderator comments to the list.
> Contact the moderators at cocoa-dev-admins(at)lists.apple.com
> 
> Help/Unsubscribe/Update your Subscription:
> https://lists.apple.com/mailman/options/cocoa-dev/damiancarrillo%40me.com
> 
> This email sent to damiancarri...@me.com


_______________________________________________

Cocoa-dev mailing list (Cocoa-dev@lists.apple.com)

Please do not post admin requests or moderator comments to the list.
Contact the moderators at cocoa-dev-admins(at)lists.apple.com

Help/Unsubscribe/Update your Subscription:
https://lists.apple.com/mailman/options/cocoa-dev/archive%40mail-archive.com

This email sent to arch...@mail-archive.com

Reply via email to