02 2017 档案

摘要:一、Unicode的一个小特性首先,Unicode规定了许多code point,每一个code point表示一个字符。如\u0033表示字符“3”,\u864e表示字符“你”。反过来,不是每一个字符都对应一个code point,每一个字符也不止有一个code point的表示方法。比如说,“🐯”这个emoji表情对应的code point是“\ud83d\udc2f\u000d\u000a... 阅读全文

posted @ 2017-02-10 21:26 花老🐯 阅读(427) 评论(0) 推荐(0)

摘要:一、引言在iOS开发中使用动画时,可以通过设置动画的duration、speed、begintime、offset属性,来设置动画的时长、速度、起始时间及起始偏移。用一个简单的例子来说明各个参数的的作用。动画很简单,一个红色的方块从左移到右边。动画的持续时间是1s,没有重复,效果如下。 CFTimeInterval currentTime = CACurrentMediaTime()... 阅读全文

posted @ 2017-02-08 21:05 花老🐯 阅读(505) 评论(0) 推荐(0)

导航