Search code examples
iosswiftuiviewbounds

where in the apple API is the variable "bounds.minX", "bounds.maxX" defined?


I was just wondering where in the apple API is the variable "bounds.minX", "bounds.maxX" defined? I have looked at "UIView" and "CGRect" documentation but couldn't seem to find it?


Solution

  • It's covered in the "new" reference. Apple likes to break all documentation links and reduce the usefulness of their documentation every few years, and this is one of those years.

    https://developer.apple.com/reference/coregraphics/cgrect