enum UIActionSheetStyle : Int { case Automatic // take appearance from toolbar style otherwise uses 'default' case Default //默认风格:灰色背景上显示白色文...
分类:
其他好文 时间:
2015-02-05 10:45:09
阅读次数:
129
//初始化 init(image: UIImage!) @availability(iOS, introduced=3.0)//初始化,highlightedImage 高亮图片init(image: UIImage!, highlightedImage: UIImage?) var imag...
分类:
其他好文 时间:
2015-02-05 09:29:33
阅读次数:
186
一、列表List的常用方法list.append(x)Addanitemtotheendofthelist;equivalenttoa[len(a):]=[x].list.extend(L)Extendthelistbyappendingalltheitemsinthegivenlist;equivalenttoa[len(a):]=L.list.insert(i,x)Insertanitematagivenposition.Thefirstargumentistheindexoftheel..
分类:
编程语言 时间:
2015-02-05 07:15:53
阅读次数:
214
参考注释即可. 1 /*H4ckSo1di3r 2015年2月4日 下午11:55:07*/ 2 package Demo; 3 4 public class TestStringClass_测试String类 { 5 6 7 public static void mai...
分类:
编程语言 时间:
2015-02-05 07:04:01
阅读次数:
232
用CUPS作为网络打印服务器,其他计算机作为客户端可以通过CUPS实现对打印机的管理。
客户端常用方法是通过IPP协议安装打印机驱动。。安装步骤如下:
1)在弹出的对话框中选择“添加打印机”
2)选择添加的打印机类型为“网络打印机”
3)在URL下输入地址:http://10.2.2.3:631/printers/ll,其中10.2.2.3为cups打印服务器的IP地址,631为cups...
分类:
其他好文 时间:
2015-02-04 11:07:28
阅读次数:
284
UIView : UIResponder + (Class)layerClass;- (instancetype)initWithFrame:(CGRect)frame;//是否可点击@property(nonatomic,getter=isUserInteractionEnabled) BOOL ...
分类:
其他好文 时间:
2015-02-03 14:42:04
阅读次数:
134
JavaScript中数组操作常用方法1.检测数组1)检测对象是否为数组,使用instanceof 操作符if(value instanceof Array){//对数组执行某些操作}2)获取对象的类型,比较是否为object类型(此方法只能检测是否为Obje...
分类:
编程语言 时间:
2015-02-02 15:38:17
阅读次数:
286
Jquery这篇文章中本来有一些图片的,但是复制粘贴不上来,附件内容中有此篇文章全部内容1.Jquery:是一种js框架。除了Jquery以外还有prototype.js插件、Extjs框架后期我们还要学习jquery的一种UI插件,有JqueryUI和Jquery-EasyUI(常用重点)两种;2.Jquery能够做哪些事情?实现..
分类:
Web程序 时间:
2015-01-30 17:51:28
阅读次数:
151
1.字符串替换 replace#if($!{name} != '')#set($tempName = $!{name})#set($tempName = $tempName.Replace('abc','def'))$tempName#end2.decimal数据类型转换成一定的字符串格式 tost...
分类:
其他好文 时间:
2015-01-30 14:59:08
阅读次数:
478
一.解密方法摘录总结
1.软件攻击
二.加密常用方法...
分类:
其他好文 时间:
2015-01-30 09:03:18
阅读次数:
136