Making UIToolbar and UINavigationBar’s background totally transparent

源自: have an upcoming iPhone application, Cartograph...

2011-06-25 10:47:00

阅读数 824

评论数 0


drawRect:Draws the receiver’s image within the passed-in rectangle.- (void)drawRect:(CGRect)rectParametersrectThe portion of the view’s bounds that n...

2011-06-25 09:55:00

阅读数 2004

评论数 0

iphone游戏开发-Collisions and Collectables: How To Make a Tile Based Game with Cocos2D Part 2

源自:, that was tasty!This is the sec...

2011-06-22 18:27:00

阅读数 581

评论数 0

iphone游戏编程-How To Make a Tile Based Game with Cocos2D

源自: In this 2-part tutorial, we’re going to cover how to make a tile base...

2011-06-22 18:25:00

阅读数 1183

评论数 0

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 tur...

2011-06-22 06:31:00

阅读数 570

评论数 0

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 a...

2011-06-21 18:51:00

阅读数 841

评论数 0

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 y...

2011-06-21 14:35:00

阅读数 707

评论数 0

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 ef...

2011-06-21 13:44:00

阅读数 1114

评论数 0

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 c...

2011-06-21 12:15:00

阅读数 738

评论数 0

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 intere...

2011-06-21 10:53:00

阅读数 571

评论数 0


IMPORTANT: Reachability must use DNS to resolve the host name before itcan determine the Reachability of that host, and this may take time oncertain ...

2011-06-20 15:22:00

阅读数 768

评论数 0


  groupTableViewBackgroundColor    viewFlipsideBackgroundColor    scrollViewTexturedBackgroundColor  

2011-06-20 15:18:00

阅读数 594

评论数 0


 php之foreach语句 php中的foreach语句主要用来操作数组(在php5中还可以用来操作对象),它有两种格式,分别如下:一:foreach (array_expression as $val) {     print($val.";");     ......}二...

2011-06-18 19:49:00

阅读数 594

评论数 0

Introducing JSON

 源自: JSON (JavaScript Object Notation) is a lightweight data-interchange format. It is easy for humans to read and write. It is e...

2011-06-18 11:35:00

阅读数 398

评论数 0

vim 命令(全)

本章提供足够的信息使你用够使用 Vim 来做基本的编辑。这里提供的方法不一定是高效 快捷的。但起码是有效的。花些时间去练习这些命令,这是后面的知识的基础。|02.1|  第一次运行 Vim |02.2|  插入文本 |02.3|  移动光标 |02.4|  删除字符 |02.5|  撤销与重做 |...

2011-06-17 19:26:00

阅读数 641

评论数 0

How to change the text color on UINavigationBar button items

Heres one way:[[theNavigationBar.subviews objectAtIndex:1] setTitleColor:[UIColor redColor] forState:UIControlStateNormal];[[theNavigationBar.subview...

2011-06-16 12:01:00

阅读数 674

评论数 0

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 n...

2011-06-14 13:12:00

阅读数 646

评论数 0

Carbon 與 Cocoa 介紹

源自: Carbon 與 Cocoa 介紹 這一陣子在 IRC 上,因為開發 OV 的緣故,經常有機會提到 OS X 程式設計相關的問題。我們經常提及像 Carbon, Co...

2011-06-10 13:49:00

阅读数 892

评论数 0


 源自: 轻击:需要在你的ViewController里重写几个方法:- (void)touchesBegan:(NSSet *)touches withEvent:(UIEvent *)event { messageLabel.text = @...

2011-06-07 18:27:00

阅读数 730

评论数 0


源自: 用UIGestureRecognizer侦测使用者输入操作 在3.2以前,我们要拿到UITouch跟使用者互动,大部分都是透过UIResponder的四种methods -...

2011-06-07 17:37:00

阅读数 928

评论数 0

取消 删除