NSSplitView and autolayout

后端 未结 9 2019
暗喜
暗喜 2021-02-02 10:55

How should I use auto layout constrains inside NSSplitView subview?

My NSSplitView subview has 3 subview: topPane, tableCont

9条回答
  •  旧巷少年郎
    2021-02-02 11:47

    For anyone who stumbles onto this in the future and is looking for a jump-start into constraint-based NSSplitView replacements, I wrote a small project here that attempts to recreate a portion of NSSplitView's features using Auto Layout:

    https://github.com/jwilling/JWSplitView

    It's somewhat buggy, but it could be a useful reference to anyone wanting to go this route.

提交回复
热议问题