ReviewBoard使用
逻辑图:
一、首页
1.UI
1)控制窗口是否能被放大缩小
- resize // StoryBoard设置
- [window setStyleMask:[window styleMask] | NSResizableWindowMask]; // 代码设置
- [window setStyleMask:[window styleMask] & ~NSResizableWindowMask]; // 代码设置
2)NSButton
- textColor:NSMutableAttributedString // 更改字体颜色
- mouseEntered/mouseExited:NSTrackingArea // 鼠标移入移出
- NSButtonCell:重绘NSButton
- target/action:作为属性,不支持addTarget:action
3)NSTextView
- NSLabel:关闭编辑功能,取消边框,禁止选中的NSTextView
- focusRingType:取消选中边框