Ray's playground

 
上一页 1 2 3 4 5 6 7 8 9 ··· 56 下一页

2012年1月1日

2012计划

摘要: 1.精通iOS编程,看完视频教程和几本经典书籍,研究开源项目(Three20等),了解游戏编程。2.完成6-7个项目(10w)3.进一步学习C++4..net技术不能丢5.争取有Python做一个项目6.如果有时间的话,复习下JS,CSS 阅读全文

posted @ 2012-01-01 11:25 Ray Z 阅读(100) 评论(0) 推荐(0) 编辑

2011总结

摘要: 2011年对于我来说,最大的收获就是学会iOS了,C++有稍许进步。年初订的计划大部分没有实现,还是非常遗憾的。只有2012再继续努力吧。 1. 随笔达到600篇,这样算来,每月必须写25篇左右.一年下来,应该会看完至少20本书了. 由于忙着做项目,只完成了180篇左右,书大概看了5本左右。 2. C++, Python, Java应该都算入门了,希望在这一年里能更进一步 C++有些进步,还是远远不够的。 3. C++之前囫囵吞枣的看了好多书,但现在想想应该更深入地看一次. Thinking in C++(60%) Effective C++/More Effetive C++ T... 阅读全文

posted @ 2012-01-01 11:21 Ray Z 阅读(194) 评论(0) 推荐(0) 编辑

2011年12月19日

Blocks(Chapter 3 of Advanced Mac OS X Programming)

摘要: #import<Foundation/Foundation.h>intmain(intargc,constchar*argv[]){@autoreleasepool{//insertcodehere...NSLog(@"Hello,World!");NSArray*array=[NSArrayarrayWithObjects:@"Ray",@"Summer",nil];[arrayenumerateObjectsUsingBlock:^(idobj,NSUIntegeridx,BOOL*stop){NSLog(@" 阅读全文

posted @ 2011-12-19 17:40 Ray Z 阅读(269) 评论(0) 推荐(0) 编辑

2011年11月11日

View Controllers(Chapter 7 of iOS Programming: The Big Nerd Ranch Guide)

摘要: UIViewController has several methods that get called at certain times: viewWillAppear: when its view is about to be added to the window viewDidAppear: when its view has been added to the window viewWillDisappear: when its view is about to be dismissed, covered, or otherwisehidden from view viewDidDi 阅读全文

posted @ 2011-11-11 16:08 Ray Z 阅读(202) 评论(0) 推荐(0) 编辑

2011年11月4日

Subclassing UIView(Chapter 6 of iOS Programming: The Big Nerd Ranch Guide)

摘要: Every UIView subclass implements the method drawRect:, which contains the drawing code for theview. For example, a UIButton’s drawRect: method draws a rounded rectangle with a title string in thecenter. Each time an instance of UIView needs to be drawn (or redrawn), the system prepares a graphicsco. 阅读全文

posted @ 2011-11-04 16:19 Ray Z 阅读(245) 评论(0) 推荐(0) 编辑

MapKit and Text Input(Chapter 5 of iOS Programming: The Big Nerd Ranch Guide)

摘要: The Core Location framework tells us where we are in the world; the MapKit framework shows usthat world. Most of MapKit’s work is done by the class MKMapView. Instances of this type display amap, track touches, and display annotations. 阅读全文

posted @ 2011-11-04 15:52 Ray Z 阅读(140) 评论(0) 推荐(0) 编辑

2011年11月1日

Delegation and Core Location(Chapter 4 of iOS Programming: The Big Nerd Ranch Guide)

摘要: Delegation is an object-oriented approach to callbacks. A callback is a function that is supplied inadvance of an event and is called every time the event occurs. Some objects need to make a callbackfor more than one event. For instance, the location manager wants to “callback” when it finds a newl. 阅读全文

posted @ 2011-11-01 10:07 Ray Z 阅读(202) 评论(0) 推荐(0) 编辑

2011年10月31日

Memory Management(Chapter 3 of iOS Programming: The Big Nerd Ranch Guide)

摘要: If you create an object using a method whose name starts with alloc or new or contains copy, thenyou have taken ownership of it. (That is, assume that the new object has a retain count of 1 and isnot in the autorelease pool.) You have a responsibility to release the object when you no longer needit. 阅读全文

posted @ 2011-10-31 17:54 Ray Z 阅读(284) 评论(0) 推荐(0) 编辑

2011年9月30日

Item 16:Remember the 80-20 rule.(More Effective C++)

摘要: The 80-20 rule states that 80 percent of a program's resources are used by about 20 percent of the code: 80 percent of the runtime is spent in approximately 20 percent of the code; 80 percent of the memory is used by some 20 percent of the code; 80 percent of the disk accesses are performed for. 阅读全文

posted @ 2011-09-30 13:03 Ray Z 阅读(356) 评论(0) 推荐(0) 编辑

Item 15:Understand the costs of exception handling.(More Effective C++)

摘要: The prudent course of action is to be aware of the costs described in this item, but not to take the numbers very seriously. Whatever the cost of exception handling, you don't want to pay any more than you have to. To minimize your exception-related costs, compile without support for exceptions 阅读全文

posted @ 2011-09-30 11:57 Ray Z 阅读(193) 评论(0) 推荐(0) 编辑

上一页 1 2 3 4 5 6 7 8 9 ··· 56 下一页

导航