Rounded rect on NSView that clips all containing subviews

前端 未结 3 2169
傲寒
傲寒 2021-02-07 04:09

I am creating a NSView subclass that has rounded corners. This view is meant to be a container and other subviews will be added to it. I am trying to get the rounde

3条回答
  •  北荒
    北荒 (楼主)
    2021-02-07 04:53

    You can do it in the interface builder without subclassing adding User Defined Runtime Attributes"

提交回复
热议问题