1、s:textfield的label可以设置显示的文字,但是不能嵌套调用s:property,这样可以解决2、s:iterator 遍历的序号Done
分类:
其他好文 时间:
2014-08-18 02:48:13
阅读次数:
244
#import @interface Person : NSObject@property(nonatomic,copy) NSString *name;@property(nonatomic,retain) NSNumber *age;-(void) setNewName:(NSString *)...
分类:
移动开发 时间:
2014-08-18 01:30:33
阅读次数:
230
现在必须用appframework.js 做各种效果,语法是和jquery差不多的,没看到animate、slideUp这些,貌似是有用自定义标签的属性来做的,还没有试过。不过因为现在不用考虑浏览器兼容性,只要伺候chrome一位,这些东西用css3的transition就可以轻松搞定。任何属性,加...
分类:
其他好文 时间:
2014-08-17 22:40:12
阅读次数:
287
在做iOS开发时,经经常使用到到plist文件, 那plist文件是什么呢? 它全名是:Property List,属性列表文件,它是一种用来存储串行化后的对象的文件。属性列表文件的扩展名为.plist,因此通常被称为plist文件。文件是xml格式的。Plist文件通经常使用于储存用户设置,...
分类:
移动开发 时间:
2014-08-17 16:55:22
阅读次数:
241
今天发邮件, 发送失败,然后到服务器上看日志, 发现硬盘被垃圾邮件的缓存队列和日志塞满了, tail -f /var/log/maillog 发现疯狂刷屏,部分日志如下 :Aug 17 09:39:01 www postfix/error[1173]: 455F050663: to=, relay=none, delay=28778, delays=28631/146/0/0.51...
分类:
其他好文 时间:
2014-08-17 15:40:22
阅读次数:
290
A JavaScript object is composed of properties which may fall into two categories—data properties and accessor properties. A property is identified by a name and described by four attributes. The attri...
分类:
编程语言 时间:
2014-08-17 15:37:42
阅读次数:
344
1、在ViewController.h中#import #import "TGJSBridge.h"@interface BaseViewController : UIViewController@property(nonatomic,strong)TGJSBridge *jsBridge;@pro...
分类:
Web程序 时间:
2014-08-17 15:31:32
阅读次数:
1436
#import @interface Child : NSObject@property (nonatomic,assign) int age;-(id) initWithAge:(int) age;@end#import "Child.h"@implementation Child-(id) in...
分类:
移动开发 时间:
2014-08-17 12:58:22
阅读次数:
204
不理解Meta Property=og标签是什么意思,以及对SEO的影响,看一下下面的介绍。Meta Property=og标签是什么呢?og是一种新的HTTP头部标记,即Open Graph Protocol:The Open Graph Protocol enables any web page...
分类:
其他好文 时间:
2014-08-16 22:20:41
阅读次数:
236
第一步:导入头文件 #import?<CoreLocation/CoreLocation.h>
#import?<CoreLocation/CLLocationManagerDelegate.h> 第二步:设置代理 CLLocationManagerDelegate 第三步:创建一个属性 @property(nonatomic,?str...
分类:
移动开发 时间:
2014-08-16 21:13:21
阅读次数:
233