os
lwjok2007
这个作者很懒,什么都没留下…
展开
-
os 新建button并为button添加事件
NSButton *button=[[NSButton alloc]initWithFrame:CGRectMake(80, 200, 200, 80)]; [button setTitle:@"aa"]; NSRect window_frame=[self.window frame]; NSView *view=[[NSView alloc]initWithFram原创 2013-10-31 22:36:47 · 943 阅读 · 0 评论 -
Validating Receipts Locally
Validating Receipts LocallyPerform receipt validation immediately after your app is launched, before displaying any user interface or spawning any child processes. Implement this check in the ma翻译 2014-07-15 21:49:51 · 1465 阅读 · 0 评论 -
卷帘窗口 oc
NSWindow *window=[selfwindow]; NSString *theAction=@"asdf"; NSString *ok=@"oky"; NSString *message=@"mesage"; NSBeginAlertSheet(theAction, ok, nil, nil,window , self,原创 2015-02-27 15:57:37 · 659 阅读 · 0 评论 -
oc语言中 import 和 include 的区别
include和import 都是实现将.h文件定义的属性等拷贝到.m文件中来include :在一个.m文件中写两个 一样的include 类名.h会报错,提示对同一个类有两次重复的实现import :在一个.m文件中写两个 一样的include 类名.h不会报错,因为他做了优化,相比include 多了一次判断,在拷贝之前判断前面有没有同样的i原创 2015-03-03 09:46:26 · 2553 阅读 · 0 评论 -
mac os下 Ruby环境安装方法
如何快速正确的安装 Ruby, Rails 运行环境原文地址:https://ruby-china.org/wiki/install_ruby_guide对于新入门的开发者,如何安装 Ruby, Ruby Gems 和 Rails 的运行环境可能会是个问题,本页主要介绍如何用一条靠谱的路子快速安装 Ruby 开发环境。次安装方法同样适用于产品环境!系统需求转载 2015-06-08 17:43:40 · 4348 阅读 · 0 评论