Skip to content

Minor internal changes

Compare
Choose a tag to compare
@lucdion lucdion released this 27 Sep 11:24
· 296 commits to master since this release

Remove sizeToFit() from SizeCalculable protocol.
This change ensure that PinLayout pin.sizeToFit() method behave correctly. As per the iOS documentation, we should not directly override sizeToFit() but rather always only implement sizeThatFits(_:) for auto-sizing needs. This update aim to remove the sizeToFit() requirement in the SizeCalculable protocol.