Post

Replies

Boosts

Views

Created

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 just updated my Mac to Xcode 15 beta 6 and I find when I created a new view, The code is shown below: NSView * view = [[NSView alloc] init]; NSLog(@"%@",NSStringFromRect(view.visibleRect)); Console output {{-8.9884656743115785e+307, -8.9884656743115785e+307}, {1.7976931348623157e+308, 1.7976931348623157e+308}} But this has always been {0,0,0,0}
4
2
1.5k
Aug ’23
drawRect error
After I upgraded to xcode15 I noticed that a lot of our application was not displayed, and I found that the function was giving the wrong value (void)drawRect:(NSRect)dirtyRect
Replies
1
Boosts
0
Views
401
Activity
Feb ’24
Does this function - (void)addFloatingSubview:(NSView *)view forAxis:(NSEventGestureAxis)axis not function?
After I upgrade my Xcode to Xcode15, When I use this function, the underlying view is no longer drawn (void)addFloatingSubview:(NSView *)view forAxis:(NSEventGestureAxis)axis API_AVAILABLE(macos(10.9));
Replies
0
Boosts
0
Views
303
Activity
Jan ’24
Why does this function using xcode15 crash here and I don't see the definition being cancelled
(void)addSubview:(NSView *)view positioned:(NSWindowOrderingMode)place relativeTo:(nullable NSView *)otherView will crash when NSWindowOrderingMode == NSWindowOut
Replies
3
Boosts
0
Views
570
Activity
Aug ’23
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 just updated my Mac to Xcode 15 beta 6 and I find when I created a new view, The code is shown below: NSView * view = [[NSView alloc] init]; NSLog(@"%@",NSStringFromRect(view.visibleRect)); Console output {{-8.9884656743115785e+307, -8.9884656743115785e+307}, {1.7976931348623157e+308, 1.7976931348623157e+308}} But this has always been {0,0,0,0}
Replies
4
Boosts
2
Views
1.5k
Activity
Aug ’23