摘要: // // main.m // 13-KVC的使用 // /** KVC: Key Value Coding(键值编码):1.取值赋值。2.字典转模型。 */ #import #import "XMGPerson.h" #import "XMGDog.h" int main(int argc, const char * argv[]) { @autoreleasep... 阅读全文
posted @ 2017-09-03 23:43 无天666 阅读(245) 评论(0) 推荐(0)
摘要: 控制器: UIImage的扩展,分类: 阅读全文
posted @ 2017-09-03 18:01 无天666 阅读(309) 评论(0) 推荐(0)
摘要: // // ViewController.m // 09-UIButton内部子控件的调整 // // Created by xiaomage on 15/12/30. // Copyright © 2015年 小码哥. All rights reserved. // #import "ViewController.h" #import "XMGButton.h" @interfac... 阅读全文
posted @ 2017-09-03 17:14 无天666 阅读(491) 评论(0) 推荐(0)
摘要: if (self.shopCarView.subviews.count == 0) { /* [UIView animateWithDuration:2.0 animations:^{ // 执行动画 self.showHUB.text = @"当前购物车已空,赶紧买买买~"; self.showHUB.a... 阅读全文
posted @ 2017-09-03 15:14 无天666 阅读(1443) 评论(0) 推荐(0)
摘要: 控制器: 阅读全文
posted @ 2017-09-03 14:49 无天666 阅读(276) 评论(0) 推荐(0)
摘要: 故事板控制器: xib界面: xib界面对应的类: xib界面的数据bean类: 故事板: 阅读全文
posted @ 2017-09-03 14:32 无天666 阅读(243) 评论(0) 推荐(0)
摘要: 故事板控制器: xib对应的类: 阅读全文
posted @ 2017-09-03 14:11 无天666 阅读(294) 评论(0) 推荐(0)
摘要: // // ViewController.m #import "ViewController.h" @interface ViewController () @end @implementation ViewController - (void)viewDidLoad { [super viewDidLoad]; /* 拷贝一份代码先清理clean一下。 ... 阅读全文
posted @ 2017-09-03 09:16 无天666 阅读(273) 评论(0) 推荐(0)