摘要: 1.if(content == null || content == ""){ //commonMsgAlert("请填写内容!"); $("#content").css("display","none"); return;}2. {{? logDecorateContent.content!=nu 阅读全文
posted @ 2016-10-31 10:15 柳仙慧子 阅读(237) 评论(0) 推荐(0) 编辑
摘要: 如果这个property是 BOOL on, 那么Objc默认创建的 setter 为: - (void)on:(BOOL)setOn { } getter 为: - (BOOL)on { return on; } 但是你可以手动更改 setter 和 getter 方法,就像上面的: getter 阅读全文
posted @ 2016-10-31 09:27 柳仙慧子 阅读(162) 评论(0) 推荐(0) 编辑