Sportica   Sportica

08 2013 档案

摘要:.配置Git首先在本地创建ssh key;$ ssh-keygen -t rsa -C "your_email@youremail.com"后面的your_email@youremail.com改为你的邮箱,之后会要求确认路径和输入密码,我们这使用默认的一路回车就行。成功的话会在~/下生成.ssh文... 阅读全文
posted @ 2013-08-29 15:07 qingjoin 阅读(2580) 评论(0) 推荐(0) 编辑
摘要:A 跳到B NSURL *urlT = [NSURL URLWithString:@"TestB://XXXXXXX"]; //注意“://”后面可以任意传参数。这些参数传过去后当跳到B时会在-(BOOL)application:(UIApplication *)application handleOpenURL:(NSURL *)url 这个方法里实现。 if ([[UIApplication sharedApplication] canOpenURL:urlT]) { [[UIApplication sharedApplication] openU... 阅读全文
posted @ 2013-08-29 12:25 qingjoin 阅读(693) 评论(0) 推荐(0) 编辑
摘要://修改main.m 文件。typedef int (*PYStdWriter)(void *, const char *, int);static PYStdWriter _oldStdWrite;int __pyStderrWrite(void *inFD, const char *buffer, int size){ if ( strncmp(buffer, "AssertMacros:", 13) == 0 ) { return 0; } return _oldStdWrite(inFD, buffer, size);}int main(int argc... 阅读全文
posted @ 2013-08-16 13:29 qingjoin 阅读(916) 评论(0) 推荐(0) 编辑
摘要:iOS 7有一个新功能 Sprite Kit 这个有点类似cocos2d 感觉用法都差不多。下面简单来介绍下Sprite KitAbout Sprite KitSprite Kit provides a graphics rendering and animation infrastructure that you can use to animate arbitrary textured images, orsprites. Sprite Kit uses a traditional rendering loop that allows processing on the contents 阅读全文
posted @ 2013-08-13 16:18 qingjoin 阅读(4236) 评论(0) 推荐(1) 编辑
摘要:今天在做sprite Kit game时遇到一个问题。新建一个项目运行时发现就加了这几句代码无法运行。后来一查原来是storyboard uiview要改一下。改成SKviewIn your storyboard, did you set the 'custom class' of the VC's root view to SKView? SKView *spriteView = (SKView*)self.view; spriteView.showsFPS = YES; spriteView.showsDrawCount = YES; spriteView.sho. 阅读全文
posted @ 2013-08-13 14:20 qingjoin 阅读(3457) 评论(0) 推荐(0) 编辑

  Sportica
点击右上角即可分享
微信分享提示