代码改变世界

阅读排行榜

SQLite之SQL语言

2010-08-11 20:30 by Tracy E, 536 阅读, 收藏,
摘要: --==========================---- 如果存在Classes表,则删除该表DROP TABLE IF EXISTS [Classes];-- 创建Classes表CREATE TABLE [Classes]( [ID] INTEGER PRIMARY KEY, -- 班级编号,主键 [Name] STRING NULL DEFAULT '' -- 班级名称);-- 添... 阅读全文

Integrating JavaScript into Native Applications

2013-06-23 19:17 by Tracy E, 521 阅读, 收藏,
摘要: JavaScriptCore 简介iOS7 中新加入的 JavaScriptCore.framework 可能被大多数开发人员所忽略,但是如果你之前就在项目中用过自己编译JavaScriptCore来处理 JavaScript,那么你需要重新关注一下 JavaScriptCore.framework。JavaScriptCore 是苹果 Safari 浏览器的 JavaScript 引擎,或许你之前听过 Google 的 V8 引擎,在 WWDC 上苹果演示了最新的 Safari,据说 JavaScript 处理速度已经大大超越了 Google 的 Chrome,这就意味着 JavaScrip 阅读全文

Singleton Pattern in Objective-C

2010-10-27 19:58 by Tracy E, 520 阅读, 收藏,
摘要: Creating a Singleton InstanceA singleton object acts as a kind of control center, directing or coordinating the services of the class. Your class should generate a singleton instance rather than multiple instances when there is conceptually only one instance (as with, for example, NSWorkspace). You 阅读全文

黑客与画家

2013-07-26 21:22 by Tracy E, 501 阅读, 收藏,
摘要: 保罗·格雷厄姆其人其事保罗·格雷厄姆有一套完整的创业哲学,他的创业公式是:搭建原型上线运营(别管 bug)收集反馈调整产品成长壮大译者序黑客伦理”(hacker ethic),直到今天这几条伦理都被视为这方面的最佳论述。使用计算机以及所有有助于了解这个世界本质的事物都不应受到任何限制。任何事情都应该亲手尝试。(Access to computers—and anything that might teach you something about the way the world works—should be unlimited and total. Always yi 阅读全文

iphone程序中实现截屏的一种方法

2010-10-11 11:15 by Tracy E, 499 阅读, 收藏,
摘要: 在iphone程序中实现截屏的一种方法://导入头文件#import <QuartzCore/QuartzCore.h> //将整个self.view大小的图层内容创建一张图片imageUIGraphicsBeginImageContext(self.view.bounds.size);[self.view.layerrenderInContext:UIGraphicsGetCurrentContext()];UIImage*image= UIGraphicsGetImageFromCurrentImageContext();UIGraphicsEndImageContext(); 阅读全文
上一页 1 ··· 7 8 9 10 11 12 13 下一页