Post

Replies

Boosts

Views

Activity

Comment on Xcode 15 beta 6 a new NSView visibleRect are not {0,0,0,0}, but {{-8.9884656743115785e+307, -8.9884656743115785e+307}, {1.7976931348623157e+308, 1.7976931348623157e+308}}
I got a similar issue after upgrading the SDK to 14.2. I placed a view inside a scroll view, with the view's size fixed and always at the center of the scroll view. I overridden clipsToBounds of the view to return YES, but this only corrected the view's bounds. The visibleRect still matches the scroll view's content rect regardless of any changes.
Aug ’24