UIButton的详细介绍:一、按钮具有的属性:@property(nonatomic,readonly)UIButtonType buttonType; //按钮形状类型@property(nonatomic,readonly,retain)NSString*currentTitle; //按钮当...
分类:
移动开发 时间:
2015-10-28 01:23:04
阅读次数:
453
一、UIView常见属性(1)@property(nonatomic,readonly)UIView *superview; //获取自己的父控件对象(2)@property(nonatomic,readonly,copy)UIView *subviews;//获取自己的所有子控件对象(3)@pro...
分类:
移动开发 时间:
2015-10-28 00:02:28
阅读次数:
269
1、TableView 样式@property (nonatomic, readonly) UITableViewStylestyle;平铺模式:sectionHeader和sectionFooter会悬停,有sectionIndex,分隔线分组模式:heightForHeaderInSection...
分类:
其他好文 时间:
2015-10-24 16:59:09
阅读次数:
120
常见属性: @property(nonatomic,readonly) UIView *superview; 获得自己的父控件对象 @property(nonatomic,readonly,copy) NSArray *subviews; 获得自己的所有子控件对象 @property(no...
分类:
其他好文 时间:
2015-10-18 01:11:17
阅读次数:
292
public static class SqlHelper { private static readonly string conStr = ConfigurationManager.ConnectionStrings["mssqlserver"].ConnectionStri...
分类:
数据库 时间:
2015-10-17 10:38:17
阅读次数:
268
在设计网页时,有时需要将输入框设置为只读状态,即其中的内容不可编辑,实现这种设计的方法有两种:使用input的disable和readonly两个属性。 先来看下二者的区别: 可以看到,虽然两种都是让input的内容不能被用户编辑,但是对于后期的美工处理就有问题了! 例如:? 只有read...
分类:
其他好文 时间:
2015-10-15 18:41:26
阅读次数:
158
public static readonly DependencyProperty RichTextBoxWidthProperty;RichTextBoxWidthProperty = DependencyProperty.Register("RichTextBoxWidth", typeof(d...
分类:
其他好文 时间:
2015-10-14 12:17:26
阅读次数:
868
分布式缓存有它自己的好处 。 下面的 ConstValue.sessionId 是一个常量 public static readonly string sessionId = "sessionId"; 过期时间。小于0 的情况下自动为0 public static readonly int sess...
分类:
系统相关 时间:
2015-10-08 16:19:03
阅读次数:
214
NSThread具体使用:直接继承NSObjectNSThread:.优点:NSThread 是轻量级的,使用简单缺点:需要自己管理线程的生命周期、线程同步。线程同步对数据的加锁会有一定的系统开销1、属性 @property (readonly, retain) NSMutableDicti...
分类:
移动开发 时间:
2015-10-06 20:49:53
阅读次数:
386
Properties are either atomic or nonatomic, The difference has to do with multithreading. atomic is the default value. Properties are either readonly ....
分类:
其他好文 时间:
2015-10-05 23:25:03
阅读次数:
250