I need to create a CGSize to compute text height of an arbitrary text with arbitrary length. UIKit has this nice method -sizeWithFont:constrainedToSize: and my text is only cons
I was looking for a Swift version of minimum CGFloat value and landed here, if you too ;) then here is the answer:
CGFloat.leastNormalMagnitude