*** Assertion failure in -[UITableView 
_dequeueReusableViewOfType:withIdentifier:], 
/SourceCache/UIKit_Sim/UIKit-2935.137/UITableView.m:5413

I want to put a custom view in for my storyboard static table views. So I 
provided the relevant delegate methods, created my views in a nib file, and 
called -registerNib:.

Then I go to dequeue the header footer view, and I get that assert.

If I subclass UITableViewHeaderFooterView for my header view subclass, it 
doesn't assert, but then it complains about two things: that I'm setting the 
backgroundColor (which is deprecated), and that my -layoutsubviews needs to 
call super. Thing is, I don't have a -layoutSubviews.

How can I get around this? Thanks.

-- 
Rick




_______________________________________________

Cocoa-dev mailing list ([email protected])

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 [email protected]

Reply via email to