- 博客(3)
- 收藏
- 关注
原创 关于Mac OS X 10.11 SDK 和 IOS SDK 访问网络出错的解决
问题log: App Transport Security has blocked a cleartext HTTP (http://) resource load since it is insecure. Temporary exceptions can be configured via your app's Info.plist file.描述:两个系统引入了新特性App
2015-08-20 17:23:50
1227
原创 几个cocoa类的透明
1.创建透明NSWindow:首先设置窗口可以透明显示:[self.window setOpaque:NO]; 然后设置透明的(或具有alpha通道的)背景色[self.window setBackgroundColor:[NSColor colorWithCalibratedWhite:1 alpha:0]];[self.window setBackgroundColor:[NSC
2014-11-09 20:33:57
1596
原创 非NSResponder类捕捉按键消息[How to capture ESC key in a Cocoa application]
You may want to capture(or intercept, detect) the ESC key press in a Cocoa application, capture the ESC key down in Application scope for the whole app, or just in Window scope for some certain window
2014-11-09 00:01:55
1458
空空如也
空空如也
TA创建的收藏夹 TA关注的收藏夹
TA关注的人