上一页 1 ··· 7 8 9 10 11 12 13 14 15 下一页
摘要: -(void) motionBegan:(UIEventSubtype)motion withEvent:(UIEvent *)event{ if (motion==UIEventSubtypeMotionShake) NSLog(@"Shake begin");}-(void) motio... 阅读全文
posted @ 2015-04-24 17:44 朋克 阅读(138) 评论(0) 推荐(0) 编辑
摘要: 1.声明:void (^TestBlock) (int,int) = ^(int x,int y){ NSLog(@"%d",x*y);};调用:TestBlock(3,5);2.直接使用^(int x,int y){ NSLog(@"%d",x + y); }(3,7);3.返回... 阅读全文
posted @ 2015-04-23 12:36 朋克 阅读(185) 评论(0) 推荐(0) 编辑
摘要: 1.xcodebuild clean -project $projectname.xcodeproj -configuration Release -alltargets2.xcodebuild archive -project $projectname.xcodeproj -scheme $sch... 阅读全文
posted @ 2015-04-16 12:56 朋克 阅读(127) 评论(0) 推荐(0) 编辑
摘要: 1.访问网络获取Json //Get方法 NSString *str = @"http://api.xxx.cc/product/found.jhtml";NSDictionary *params = [[NSDictionary alloc] initWithObjectsAndKeys:@"1... 阅读全文
posted @ 2015-04-09 13:43 朋克 阅读(141) 评论(0) 推荐(0) 编辑
摘要: 1.清了C:\Windows\Microsoft.NET\Framework64\v4.0.30319\Temporary ASP.NET Files 2.给上述文件夹EveryOne和IIS_User完全控制权限 3.给C:\Windows\Temp文件夹IIS_User完全控制权限 阅读全文
posted @ 2015-04-07 22:31 朋克 阅读(343) 评论(0) 推荐(0) 编辑
摘要: 1.拖一个dynamic panel到窗体,将State1改名为State_首页;2.拖2个dynamic panel到State_首页中,分别命名为侧边菜单及首页内容,首页内容盖住侧边菜单;3.在首页内容和侧边菜单随便放点东西,比如图片之类的,再在首页内容中放置一个按钮,然后设置按钮的点击事件为M... 阅读全文
posted @ 2015-04-02 14:14 朋克 阅读(1094) 评论(0) 推荐(0) 编辑
摘要: 1.Margin顺序:左上右下 阅读全文
posted @ 2015-03-08 21:49 朋克 阅读(103) 评论(0) 推荐(0) 编辑
摘要: 1.THEOS的makefile文件中的THEOS_DEVICE_IP要写在第一行2.如果make package install报错dpkg status database is locked by another process则在iphone终端输入sudo rm /var/lib/dpkg/... 阅读全文
posted @ 2015-01-29 02:37 朋克 阅读(242) 评论(0) 推荐(0) 编辑
摘要: 1.网站建起来2.发布一款游戏(cocos2dx或u3d)3.稳定一年工作4.学习C或C++,能够使用其中一种进行windows编程5.继续学习汇编6.PS入门2015.1.14PS捣鼓了2天,基本算是入门了,画了几个页面,客户看了感觉还行,PS就到这了 阅读全文
posted @ 2015-01-09 23:46 朋克 阅读(166) 评论(0) 推荐(0) 编辑
摘要: 1.设置navigationbar背景颜色[[UINavigationBar appearance] setBarTintColor:[UIColor blackColor]];PS:如果颜色不对,可能是因为默认的半透明玻璃效果导致的,要关闭使用self.navigationController.n... 阅读全文
posted @ 2014-12-05 23:16 朋克 阅读(286) 评论(0) 推荐(0) 编辑
上一页 1 ··· 7 8 9 10 11 12 13 14 15 下一页