在iOS UILabel,UITextView,UIAlertView等控件中都可以使用
使用方法如下
NSString *s = [NSString stringWithFormat:@"This is a smiley \ue415 %C face",0xE05A];
NSLog(@"11----%@",s);
label.text=s;
以下是对应的表情编码,但是新版sdk...
分类:
移动开发 时间:
2015-03-03 11:40:50
阅读次数:
1802
Android TextView 改变字体主要有两种方法:
1、Html.fromHtml 获取一个用html格式表示的Spanned。
2、另一种方式是直接构造使用一个Spanned。
若要同时改变字符串中部分字体的颜色与大小,采用第一种方式 html.fromHtml,用font标签来实现时,不幸的是Android中对font的属性只支持color与face,但不支持size。那么完...
分类:
移动开发 时间:
2015-02-26 16:39:17
阅读次数:
127
近段读完并分享了Allan copper的 About face3 : The essentials of interaction design,推荐没看过的程序员朋友可以抽时间看看。感觉上这本书对交互设计讲得比较透彻,首先拿出了方法--目标导向的交互设计,再介绍了交互设计的过程框架,最后介绍交互设计的细节。比较易读,不仅有大量的细节规则,还会让读者对交互设计的方法和框架有一些认识。
...
分类:
其他好文 时间:
2015-02-19 01:25:09
阅读次数:
218
字符串分隔:var str_componets = "I would prefer a face-to-face talk with my friends"str_componets.componentsSeparatedByCharactersInSet(NSCharacterSet(charac...
分类:
编程语言 时间:
2015-02-15 12:03:12
阅读次数:
171
@font-face { font-family: "宋体"; }@font-face { font-family: "Cambria Math"; }@font-face { font-family: "@宋体"; }@font-face { font-family: "Calibri"; }p....
分类:
其他好文 时间:
2015-02-13 13:10:53
阅读次数:
237
题意:n头牛站成一列,每头牛或者向前或者向后,要求通过转向让所有的牛都面向前方,使K头连续的牛转向为一次操作,求最小的操作次数M和对应的K。开关问题...
分类:
其他好文 时间:
2015-02-12 09:21:44
阅读次数:
223
字库使用必备三步骤第一步:使用font-face声明字体@font-face {font-family: 'iconfont'; src: url('iconfont.eot'); /* IE9*/ src: url('iconfont.eot?#iefix') format('embe...
分类:
其他好文 时间:
2015-02-11 16:16:16
阅读次数:
228
openstack的dashboard使用了google字体,导致网站访问速度慢解决方案有几种:去掉google字体,直接删除google字体使用local字体替代使用360字体替代字体使用代码在css中,以ubuntu为例:/usr/share/openstack-dashboard/static/dashboard/css/7ac7b118466e.css@font-face{font-..
分类:
Web程序 时间:
2015-02-06 07:10:29
阅读次数:
244
英国拟将情人节定为“反自拍日”,呼吁面对面沟通交流。 A British organization is planning to set Valentine’s Day as “Anti-Selfie Day”, calling for face-to-face communication。 ...
分类:
其他好文 时间:
2015-02-04 14:16:02
阅读次数:
160
HHvmApache 2.4 Nginx建站环境搭建方法安装运行WordPress博客VPS主机 2014年06月02日 17:20 评论»文章目录Debian上安装CentOS上安装Ubuntu上安装装WordpressHHvm安装小结HHVM是一个强大的可以用于替代PHP的建站环境,出自Face...
分类:
Web程序 时间:
2015-02-04 07:05:17
阅读次数:
352