摘要:
1、关系 On iOS, every UIView is backed by a Core Animation CALayer. Simply speaking,UIView inherit from NSResponder,handle events from users, contains CA 阅读全文
摘要:
在国外的一篇博客文章上有下面一些题目,刚开始做的时候错了4个,虽然涉及的知识点不算非常多,但的确有很多细节方面平时需要多加注意的,现在记录下每个题目背后所需要的知识。Quiz mainly focuses on knowledge of scoping, function expressions (and how they differ from function declarations), references, process of variable and function declaration, order of evaluation, and a couple more thin 阅读全文
摘要:
错误示例: for (var i = 0; i < 6; i++) { // var unique = seqer.gensym(); var unique = i + '123'; document.writeln(unique[i] + ","); };输出结果为:0, 1, 2, 3, undefined, undefined,正确示例: for (var i = 0; i < 6; i++) { // var unique = seqer.gensym(); var unique = i + '12... 阅读全文