PrettyKit icon indicating copy to clipboard operation
PrettyKit copied to clipboard

Cannot remove an observer <DetailCellOne 0xa473470> for the key path "frame" from <UITableViewCellContentView 0xa473710> because it is not registered as an observer.

Open blurboy1985 opened this issue 13 years ago • 4 comments

Hi, I got this error when implementing PrettyTableViewCell to both MainViewController and DetailViewController in a navigation stack.

blurboy1985 avatar Oct 25 '12 00:10 blurboy1985

I got the same problem! What is suppose to be wrong to get this error?

va2ron1 avatar Oct 25 '12 22:10 va2ron1

Hi guys, if you 're using storyboards to assign PrettyTableViewCell to a cell you need to add the

  • (id) initWithCoder:(NSCoder *)aDecoder

method implementation to PrettyTableViewCell.m . Just add what initWithStyle:reuseIdentifier: contains and you 're good to go.

mresvanis avatar Nov 08 '12 11:11 mresvanis

Thanks, It's working now!!

va2ron1 avatar Nov 08 '12 22:11 va2ron1

Just updated to 0.2.0 and couldn't figure out what was going wrong here. Thanks for the help.

sethgho avatar Feb 10 '13 17:02 sethgho