Post

Replies

Boosts

Views

Created

Why is UIContentSizeCategory not Comparable?
UIContentSizeCategory implements the usual comparison operators through an NS_REFINED_FOR_SWIFT macro, but does not declare Comparable conformance. Implementing it is as easy as extension UIContentSizeCategory: Comparable {} Is there a reason why Comparable is not implemented by default?
Topic: UI Frameworks SubTopic: UIKit Tags:
0
0
267
May ’22