随笔分类 -  mac

摘要:# Need @rpath support introduced in 2.8.12 CMAKE_MINIMUM_REQUIRED(VERSION 2.8.12) PROJECT(SwiftCMake) enable_language(Swift) # Add your C/C++/Obj-C fi 阅读全文
posted @ 2020-08-09 20:32 20118281131 阅读(102) 评论(0) 推荐(0)
摘要:<?xml version="1.0" encoding="UTF-8"?> <!DOCTYPE plist PUBLIC "-//Apple//DTD PLIST 1.0//EN" "http://www.apple.com/DTDs/PropertyList-1.0.dtd"> <plist v 阅读全文
posted @ 2020-08-09 20:30 20118281131 阅读(123) 评论(0) 推荐(0)
摘要:#import <Cocoa/Cocoa.h> #import <OpenGL/OpenGL.h> #import <OpenGL/gl3.h> @interface OpenGLView : NSOpenGLView @end @implementation OpenGLView -(id)ini 阅读全文
posted @ 2020-08-09 14:23 20118281131 阅读(172) 评论(0) 推荐(0)
摘要:#import <Foundation/Foundation.h> #import <Cocoa/Cocoa.h> @interface AppDel : NSObject<NSApplicationDelegate> @end @implementation AppDel -(void) appl 阅读全文
posted @ 2020-08-08 16:28 20118281131 阅读(293) 评论(0) 推荐(0)