- 博客(33)
- 资源 (16)
- 收藏
- 关注
转载 Making UIToolbar and UINavigationBar’s background totally transparent
源自:http://atastypixel.com/blog/making-uitoolbar-and-uinavigationbars-background-totally-transparent/I have an upcoming iPhone application, Cartographer, that is highly stylised and requires hi
2011-06-25 10:47:00 1006
转载 UIView的drawRect
drawRect:Draws the receiver’s image within the passed-in rectangle.- (void)drawRect:(CGRect)rectParametersrectThe portion of the view’s bounds that needs to be updated. The first time yo
2011-06-25 09:55:00 2144
转载 iphone游戏开发-Collisions and Collectables: How To Make a Tile Based Game with Cocos2D Part 2
源自:http://www.raywenderlich.com/1186/collisions-and-collectables-how-to-make-a-tile-based-game-with-cocos2d-part-2Mmm, that was tasty!This is the second part of a 2-part tutorial where we
2011-06-22 18:27:00 767
转载 iphone游戏编程-How To Make a Tile Based Game with Cocos2D
源自:http://www.raywenderlich.com/1163/how-to-make-a-tile-based-game-with-cocos2d In this 2-part tutorial, we’re going to cover how to make a tile based game with Cocos2D and the Tiled map editor.
2011-06-22 18:25:00 1470
转载 raywenderlich—Harder Monsters and More Levels: How To Make A Simple iPhone Game with Cocos2D Part 3
Watch out for the green guy!So far, the game we’ve been making in How To Make A Simple iPhone Game with Cocos2Dis pretty cool. We have a rotating turret, monsters to shoot, and uber sound ef
2011-06-22 06:31:00 755
转载 TMX Map Format
TMX Map FormatPage HistoryThe TMX (Tile Map XML) map format used by Tiled is a flexible way to describe a tile based map. It can describe maps with any tile size, any amount of l
2011-06-21 18:51:00 995
转载 raywenderlich-Rotating Turrets: How To Make A Simple iPhone Game with Cocos2D Part 2
Lets Rotate This Turret!There’s been a surprising amount of interest in the post on How To Make a Simple iPhone Game with Cocos2D – and several of you guys have asked for some more in this series!
2011-06-21 14:35:00 836
转载 raywenderlich-How To Make A Simple iPhone Game with Cocos2D Tutorial
ocos2D is a powerful library for the iPhone that can save you a lot of time while building your iPhone game. It has sprite support, cool graphical effects, animations, physics libraries, sound engin
2011-06-21 13:44:00 1337
转载 How To Debug Memory Leaks with XCode and Instruments Tutorial
No matter how well you understand memory management in Objective-C, from time to time you’re bound to make mistakes. But often there’s way too much code to search line-by-line for problems (unless y
2011-06-21 12:15:00 938
转载 iPad for iPhone Developers 101: UISplitView Tutorial
This is the first part of a three part series to help get iPhone Developers up-to-speed with iPad development by focusing on three of the most interesting new classes (at least to me): UISplitView,
2011-06-21 10:53:00 732
转载 使用Reachablity的注意事项-它同步的
IMPORTANT: Reachability must use DNS to resolve the host name before itcan determine the Reachability of that host, and this may take time oncertain network connections.
2011-06-20 15:22:00 1012
原创 UIColor中三种特殊的颜色
groupTableViewBackgroundColor viewFlipsideBackgroundColor scrollViewTexturedBackgroundColor
2011-06-20 15:18:00 808
转载 php之foreach语句
php之foreach语句 php中的foreach语句主要用来操作数组(在php5中还可以用来操作对象),它有两种格式,分别如下:一:foreach (array_expression as $val) { print($val.";"); ......}二:foreach (array_expression as $key=>$val) { print($
2011-06-18 19:49:00 780
转载 Introducing JSON
源自:http://www.json.org/ JSON (JavaScript Object Notation) is a lightweight data-interchange format. It is easy for humans to read and write. It is easy for machines to parse and generate. It is
2011-06-18 11:35:00 543
转载 vim 命令(全)
本章提供足够的信息使你用够使用 Vim 来做基本的编辑。这里提供的方法不一定是高效 快捷的。但起码是有效的。花些时间去练习这些命令,这是后面的知识的基础。|02.1| 第一次运行 Vim |02.2| 插入文本 |02.3| 移动光标 |02.4| 删除字符 |02.5| 撤销与重做 |02.6| 其它编辑命令 |02.7| 退出 |02.8| 寻求帮助 下一章:
2011-06-17 19:26:00 759
转载 How to change the text color on UINavigationBar button items
Heres one way:[[theNavigationBar.subviews objectAtIndex:1] setTitleColor:[UIColor redColor] forState:UIControlStateNormal];[[theNavigationBar.subviews objectAtIndex:2] setTitleColor:[UIColor redC
2011-06-16 12:01:00 788
转载 How can I set the background of UITableView (the tableview style is "Grouped") to use an image?
问题:How can I set the background of UITableView (the tableview style is "Grouped") to use an image? 答案:In newer versions of the SDK, youll need to set tableView.backgroundView if you want
2011-06-14 13:12:00 744
转载 Carbon 與 Cocoa 介紹
源自:http://blog.csdn.net/jiangpeng/archive/2010/03/02/5337848.aspx Carbon 與 Cocoa 介紹 這一陣子在 IRC 上,因為開發 OV 的緣故,經常有機會提到 OS X 程式設計相關的問題。我們經常提及像 Carbon, Cocoa, Objective-C 這類的關鍵詞,也開始有朋友問及,Carbon
2011-06-10 13:49:00 1082
转载 手势识别
源自:http://www.yao99.com/blog/ 轻击:需要在你的ViewController里重写几个方法:- (void)touchesBegan:(NSSet *)touches withEvent:(UIEvent *)event { messageLabel.text = @”Touches Began”; //开始触摸的方法 [self upda
2011-06-07 18:27:00 876
转载 用UIGestureRecognizer侦测使用者输入
源自:http://www.cocoachina.com/iphonedev/sdk/2010/1214/2471.html 用UIGestureRecognizer侦测使用者输入操作 在3.2以前,我们要拿到UITouch跟使用者互动,大部分都是透过UIResponder的四种methods - (void)touchesBegan:(NSSet *)touches with
2011-06-07 17:37:00 1040
转载 iphone上下左右手势判断代码
源自:http://www.feni.cn/ArticlesDetails.aspx?ArticlesId=86 //四个方向手势引发不同程序响应-(void)handleSwipeFrom:(UISwipeGestureRecognizer *)recognizer { NSLog(@"Swipe received."); self.uid = [[UIDev
2011-06-07 17:21:00 1208
转载 UINavigationController and viewWillAppear / viewDidAppear
源自:http://www.idev101.com/code/User_Interface/UINavigationController/viewWillAppear.html When you push or pop a view controller on/off a navigaction controllers stack, the usual viewWillAppear
2011-06-06 21:47:00 591
转载 iphone viewWillAppear not firing
iphone viewWillAppear not firingIve read numerous posts about people having problems with viewWillAppear when you do not create your view heirarchy JUST right. My problem is I cant figure out wh
2011-06-06 21:45:00 763
转载 CALayer的anchorPoint属性与transform属性
CALayer的anchorPoint属性与transform属性 When you apply a transform to a layer, the transform uses the anchor point to determine where to rotate, scale, and so on.With the examples so far, the sca
2011-06-06 11:59:00 1414
转载 CATransform3DMakeRotation的x,y,z参数
CATransform3DMakeRotation的x,y,z参数 The following example creates a transformation for the purpose of rotating a layer: CATransform3D myTransform; myTransform = CATransform3DMakeRotation(angle
2011-06-06 11:53:00 2397
转载 Key-Value Coding; Key-Value Observing
Chapter 7. Key-Value Coding; Key-Value Observing摘自:《Cocoa Programming for Mac OS X, 3rd》 作者:Aaron Hillegass Key-value coding (KVC) is a mechanism that allows you to set and get the val
2011-06-05 20:15:00 742
转载 CALayer Animatable Properties
源自:iOS SDK文档 CALayer Animatable PropertiesThe following CALayer class properties can be animated by Core Animation. See CALayer for more information.anchorPoint Uses the default impl
2011-06-05 17:24:00 743
转载 how to debug EXC_BAD_ACCESS on iPhone
源自:http://apps.hi.baidu.com/share/detail/24675911 how to debug EXC_BAD_ACCESS on iPhoneEXC_BAD_ACCESS. Debugging this one is on par with figuring out why the wife says “not tonight, honey.”
2011-06-03 10:55:00 692
原创 去除NSString字符串的前后空格和换行符
<br />NSString *trimText = [text stringByTrimmingCharactersInSet:[NSCharacterSet whitespaceAndNewlineCharacterSet]]
2011-06-01 16:46:00 2017
转载 在 App 里发送带附件 Email 的实现代码
<br />源自:http://www.cocoachina.com/iphonedev/sdk/2010/0528/1572.html在 App 里发送带附件 Email 的实现代码想在iPhone App里添加能发送附件的Email功能。可以加入messageUI.framework<br /><br />添加附件代码<br />NSArray *path = NSSearchPathForDirectoriesInDomains(NSDocumentDirectory,NSUserDomainMask
2011-06-01 15:52:00 677
转载 如何往ios模拟器中添加照片
<br />如何往ios模拟器中添加照片作者:yampaking<br /> <br /> 看到得最简单得方法是:直接把照片拖到ios模拟器上,ios模拟器会自动使用safari打开,用鼠标左/右键长按ios模拟器屏幕,出现窗口,点击“保存”即可自动保存到ios模拟器的照片库中。 <br /> 注意:鼠标左右键可能不同,论坛上有人只可用左键,右键无反应。而我的左键长按后能够弹出窗口,但是保存后没反应,右键反而可以。 <br /> <br /> 另外,还有一个专业的方法,采用程序的方法
2011-06-01 14:12:00 1587
转载 Asset Libraries and Blocks in iOS 4
<br /> <br />源自:http://www.icodeblog.com/2010/07/08/asset-libraries-and-blocks-in-ios-4/<br /> <br />iOS 4 presented a million billion new API’s by Apple’s count, but for this post I am going to show a quick demo of the new Assets Library API where you can
2011-06-01 11:26:00 975
转载 UIImagePickerController在iPhone和iPad中用法的一点不同
<br /><br />源自:http://huchenqiang90.blog.163.com/blog/static/1125008002011018416051/<br /><br /><br />我们知道,在iPhone中获取照片库常用的方法如下:<br />UIImagePickerController *m_imagePicker = [[UIImagePickerController alloc] init];<br /> if ([UIImagePickerController isS
2011-06-01 10:17:00 1043
TR069客户端 Android版本 源码 并含开发过程中收集的TR069协议开发资料集合
2021-08-17
2503 2593,MTK META工具最新版本
2018-11-13
OpenGL ES 2.0 Programming Guide[pdf和源代码]
2011-11-19
iPhone OpenGL ES 2D游戏范例-《Sir Lamorak’s Quest》
2011-09-24
learn iphone and ipad cocos2d game development
2011-08-06
空空如也
TA创建的收藏夹 TA关注的收藏夹
TA关注的人