Skip to content

eliperkins/TableViewSeparatorFreeze

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

2 Commits
 
 
 
 
 
 
 
 

Repository files navigation

TableViewSeparatorFreeze

Filed as rdar://28800764.

This project reproduces an issue with setting a custom inset inside of layoutSubviews on the table view cell subclass.

Given a UITableViewCell subclass sets a custom separatorInset value in it's layoutSubviews method, in this example called CustomInsetCell, and a UITableView displaying the cell has cellLayoutMarginsFollowReadableWidth set to true, upon rotating the table view, an infinite set of calls to CustomInsetCell.layoutSubviews() occurs, due to the method setting the separatorInset.

Expected Behavior

The table view handles rotation, maintaining the custom separatorInset value.

Actual Behavior

The application freezes upon rotation due to infinite calls to CustomInsetCell.layoutSubviews()

About

No description, website, or topics provided.

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published

Languages