11 2011 档案

The iPhone Developer's Cookbook(5)
摘要:总是这样记笔记会严重影响读书效率,有没有什么更好的办法的。读到现在,有点懒惰不想记了。哎,还是不能放弃呀,这次一定要坚持到底。UIViewControllersNavigation controllers let users move soothly between views (or, more accurately, view controllers) using built-in animation. They provide history control for free without any programming effort. Navigation controllers a 阅读全文

posted @ 2011-11-27 00:39 白开水易拉罐 阅读(483) 评论(0) 推荐(0)

The iPhone Developer's Cookbook(4)
摘要:UIView and UIWindowThe iPhone rule goes like this: one window, many views.Metaphorically speaking, UIWindow is the TV set, and UIViews are the actors on your favorite show.UIViews are user interface building blocks. Every iPhone user interface is built from UIViews displayed within one UIWindow, whi 阅读全文

posted @ 2011-11-21 22:26 白开水易拉罐 阅读(376) 评论(0) 推荐(0)

The iPhone Developer's Cookbook(3)
摘要:概括性地介绍了OC的基础类等CategoryOC's built-in capability to expand already-existing classes is one of its most powerful features. This behavioral expansion is called a category. Categories extend class functionality without subclassing.Categories add methods to existing classes even if you did not define 阅读全文

posted @ 2011-11-17 01:03 白开水易拉罐 阅读(421) 评论(0) 推荐(0)

The iPhone Developer's Cookbook(2)
摘要:The iPhone Developer's Cookbook读书笔记,我会慢慢翻译的。PropertyOC automatically builds methods when you @synthesize properties.Notice the capitalization of the second word in the set method. By convention, OC expects setters to use a method named setInstance: where the first letter of the instance variable 阅读全文

posted @ 2011-11-15 23:58 白开水易拉罐 阅读(274) 评论(0) 推荐(0)

The iPhone Developer's Cookbook(1)
摘要:Object-CIn Object-C, the @ symbol is used to indicate certain keywords. @interface and @end delineate(勾画,描述) the start and end of the class interface definition.Object-C uses this object-based class for the most part rather than the byte-based C strings defined with char *.Places parameters inside t 阅读全文

posted @ 2011-11-15 01:04 白开水易拉罐 阅读(412) 评论(0) 推荐(0)

Timer可以这样使用
摘要:static void timer_Tick ( object sender, EventArgs e ){ Timer timer = sender as Timer; timer.Enabled = false; try { // TODO: } finally { timer.Enabled = true; }}... 阅读全文

posted @ 2011-11-04 10:44 白开水易拉罐 阅读(186) 评论(0) 推荐(0)

C#中调试C++代码(C++的DLL是通过Import引入的)
摘要:The procedure that you have mentioned for debugging unmanaged C++ dll from C# application, works in the DESKTOP(Windows, .NET framework) but if we are doing it in WinCE 5.0 (.NET compact framework 2.0), the breakpoint in the unmanaged dll is not getting enabledMoreover, if you are developing C# appl 阅读全文

posted @ 2011-11-03 10:27 白开水易拉罐 阅读(354) 评论(0) 推荐(0)