Fork me on GitHub

2012年2月6日

摘要: Note from Ray:Congratulations, you guys did it! By helping to spread the word about theiOS 5 Feast, you guys unlocked the first iOS 5 tutorial early! Enjoy!This is a blog post by iOS Tutorial Team memberSteve Baranski, the founder ofkomorka technology, a provider of iOS development and consulting se 阅读全文
posted @ 2012-02-06 09:09 pengyingh 阅读(629) 评论(0) 推荐(0)
摘要: 原文地址:http://www.raywenderlich.com/5191/beginning-storyboards-in-ios-5-part-2In this second and final part of the tutorial series, we’ll cover segues, static table view cells, the add player screen, and a game picker screen!Introducing SeguesIt’s time to add more view controllers to our storyboard. W 阅读全文
posted @ 2012-02-06 09:04 pengyingh 阅读(497) 评论(0) 推荐(0)
摘要: 原文地址:http://www.raywenderlich.com/5138/beginning-storyboards-in-ios-5-part-1Getting StartedFire up Xcode and create a new project. We’ll use the Single View Application template as our starting point and then build up the app from there.Fill in the template options as follows:Product Name: RatingsCo 阅读全文
posted @ 2012-02-06 09:02 pengyingh 阅读(660) 评论(0) 推荐(0)
摘要: 原文地址:http://www.raywenderlich.com/6031/beginning-icloud-in-ios-5-tutorial-part-2Setting Up the User InterfaceThe Xcode project template we chose already set up an empty view controller for us. We will extend it by adding the current document and a UITextView to display the content of our note.Start 阅读全文
posted @ 2012-02-06 08:52 pengyingh 阅读(250) 评论(0) 推荐(0)
摘要: 原文地址:http://www.raywenderlich.com/6015/beginning-icloud-in-ios-5-tutorial-part-1Note to get the most out of this tutorial, you will need two physical iOS devices running iOS 5 for testing, such as an iPhone and an iPad. The simulator does not currently have iCloud support.Under the HoodBefore we beg 阅读全文
posted @ 2012-02-06 08:50 pengyingh 阅读(535) 评论(0) 推荐(0)
摘要: ABAddressBookRef addressBook = ABAddressBookCreate();CFArrayRef results = ABAddressBookCopyArrayOfAllPeople(addressBook);for(int i = 0; i < CFArrayGetCount(results); i++){ABRecordRef person = CFArrayGetValueAtIndex(results, i);//读取firstnameNSString *personName = (NSString*)ABRecordCopyValue(perso 阅读全文
posted @ 2012-02-06 08:36 pengyingh 阅读(357) 评论(0) 推荐(0)
摘要: 这段时间N忙,没办法,创业公司,当然抽时间也仍然再自学ios~OK,基础的语言基础,我就不多说了,从今天开始直接写游戏开发部分了;声明一点:iOS游戏开发系列没有我写的Android游戏开发系列有权威性,因为我也是在学习中,只是拿出来给大家分享,希望大家不要较真,现在咱们都是一年级新生,咳咳,好啦,不多说了,下面开始进入正题; 绘制一个图形,首先我们肯定需要一个视图view,在iOS中是UIView,下面用两种方式介绍如何在iphone上显示视图; 首先创建一个项目:(Window-based Application) 然后新建一个自定义的GameView类,继承UIView类; Ok,除了继 阅读全文
posted @ 2012-02-06 01:15 pengyingh 阅读(365) 评论(0) 推荐(0)
摘要: 最近几天仔细了解了iOS游戏开发引擎,常用的cocos2d,Unity引擎,那么Unity是非免费的,而cocos2d则是免费开源的; 最后促使我选择cocos2d的原因有两点: 1.最重要的原因是它对应的开发工具,尤其是 “ParticleDesigner”,粒子系统编辑器,非常的喜欢(需付费$7.99美元),下载试用版操作了以下,没说的,狠给力;截图如下:(当时就掏出信用卡去购买,只是突然有点小意外,没买上,咳咳、以后再说)2.其cocos2d-x的跨平台挺看好,因为我也开发android系统,也清楚在android游戏引擎上cocos2d也有其对应的版本;这样一款引擎可以两平台都... 阅读全文
posted @ 2012-02-06 01:13 pengyingh 阅读(1014) 评论(0) 推荐(0)
摘要: 原文地址:http://www.raywenderlich.com/6063/uikit-particle-systems-in-ios-5-tutorial?utm_source=feedburner&utm_medium=feed&utm_campaign=Feed:+RayWenderlich+(Ray+Wenderlich+|+iPhone+Developer+and+Gamer)You’ve probably seen particle systems used in many different iOS apps and games for explosions, 阅读全文
posted @ 2012-02-06 01:01 pengyingh 阅读(507) 评论(0) 推荐(0)
摘要: 原文地址:http://www.cnblogs.com/ydhliphonedev/archive/2011/09/05/2167184.html在ViewController中重写touch的事件的方法体就可实现特定的touch功能(但这些touch事件会被加在之上的tableView或scrollView等屏蔽,希望知道解决方案的留下方法).下面代码实现清扫事件- (void)touchesBegan:(NSSet *)touches withEvent:(UIEvent *)event { messageLabel.text =@"Touches Began"; // 阅读全文
posted @ 2012-02-06 00:57 pengyingh 阅读(4842) 评论(0) 推荐(0)

导航