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

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 白开水易拉罐 阅读(265) 评论(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 白开水易拉罐 阅读(406) 评论(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 白开水易拉罐 阅读(183) 评论(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 白开水易拉罐 阅读(341) 评论(0) 推荐(0) 编辑

C#中Lambda Expressions和 Anonymous Methods

摘要: 有时间了回来写。 阅读全文
posted @ 2011-10-06 09:45 白开水易拉罐 阅读(125) 评论(0) 推荐(0) 编辑
上一页 1 2 3 4 5 6 7 8 9 ··· 20 下一页