摘要: 关闭/最小化/全屏居中处理(仿Mac QQ),效果如下 // FSWindowCtl.m @interface FSWindowCtl ()<NSWindowDelegate> @end @implementation FSWindowCtl - (void)windowDidLoad { [sup 阅读全文
posted @ 2020-11-06 14:56 ForgetSou 阅读(216) 评论(0) 推荐(0) 编辑
摘要: gRPC 官方文档中文版 1. 简述 A high-performance, open-source universal RPC framework gRPC 是一个高性能、开源和通用的 RPC 框架,面向移动和 HTTP/2 设计。目前提供 C、Java 和 Go 语言版本,分别是:grpc, g 阅读全文
posted @ 2020-11-04 18:22 ForgetSou 阅读(233) 评论(0) 推荐(0) 编辑
摘要: 一. 简述 拆分视图,在水平或垂直运行的线性堆栈中排列两个或多个视图的视图。 默认为水平方向 @interface NSSplitView : NSView 二. 官方属性方法 // 代理 @property (nullable, weak) id<NSSplitViewDelegate> dele 阅读全文
posted @ 2020-11-04 16:50 ForgetSou 阅读(170) 评论(0) 推荐(0) 编辑