会员
众包
新闻
博问
闪存
赞助商
HarmonyOS
Chat2DB
所有博客
当前博客
我的博客
我的园子
账号设置
会员中心
简洁模式
...
退出登录
注册
登录
落叶小树~~~Code
博客园
首页
新随笔
联系
订阅
管理
2017年9月23日
关于Xcode9的一些问题
摘要: 最近几天一直在做一项工作,为新项目在做搭建框架的前期准备,然后恰逢更新iOS11和Xcode9,笔者心急的尝了个先,发现了一些问题,记录一下,如果有相同问题的程序猿,也可以参考一下。 目前问题遇到两点 1.Xcode9将SVN功能隐藏了 曾经我们需要在设置 账户 然后点击那个“+”然后添加代码仓库,
阅读全文
posted @ 2017-09-23 22:24 zhangjing022
阅读(4507)
评论(2)
推荐(0)
2016年2月29日
[UIKit学习]00.关于前置知识(storyboard,UIViewController,类扩展,项目属性)
摘要: storyboard文件的认识 用来描述软件界面 默认情况下,程序一启动就会加载Main.storyboard 加载storyboard时,会首先创建和显示箭头所指的控制器界面 IBAction和IBOutlet IBAction: 本质就是void 能让方法具备连线的功能 IBOutlet 能让属
阅读全文
posted @ 2016-02-29 10:47 zhangjing022
阅读(298)
评论(0)
推荐(0)
[UIKit学习]08.关于自定义控件
摘要: 自定义控件 选用xib用自定义view代码与xib相关联 示例代码 + (instancetype)shopView { return [self shopViewWithShop:nil]; } + (instancetype)shopViewWithShop:(XMGShop *)shop {
阅读全文
posted @ 2016-02-29 10:35 zhangjing022
阅读(136)
评论(0)
推荐(0)
[UIKit学习]07.关于如何选择UIButton、UILable、UIImageView
摘要: 如何选择UIButton、UILable、UIImageView 在不添加手势的前提下,只要不涉及到点击和多状态表现就尽量不要选择UIButton
阅读全文
posted @ 2016-02-29 10:34 zhangjing022
阅读(116)
评论(0)
推荐(0)
[UIKit学习]06.懒加载,模型,自定义代码段,重写构造方法
摘要: 懒加载 在get中加载,且只加载一次 - (NSArray *)shops { if (_shops == nil) { NSString *file = [[NSBundle mainBundle] pathForResource:@"shops" ofType:@"plist"]; self.s
阅读全文
posted @ 2016-02-29 10:33 zhangjing022
阅读(170)
评论(0)
推荐(0)
[UIKit学习]05.关于plist
摘要: plist是一种iOS本地化轻量级存储方式 创建plist 选择New File-> Resource->plist 加载plist //获得Plist文件的全路径 NSBundle *bundle = [NSBundle mainBundle]; NSString *path = [bundle
阅读全文
posted @ 2016-02-29 10:32 zhangjing022
阅读(121)
评论(0)
推荐(0)
[UIKit学习]04.关于HUD提示框,定时任务、开发关于资源常见问题
摘要: 提示框的背景透明此时要设置background的Alpha值 定时任务 方法1:performSelector // 1.5s后自动调用self的hideHUD方法 [self performSelector:@selector(hideHUD) withObject:nil afterDelay:
阅读全文
posted @ 2016-02-29 10:31 zhangjing022
阅读(162)
评论(0)
推荐(0)
[UIKit学习]03.关于UILable
摘要: 代码创建UILabel UILabel *label = [[UILabel alloc] init]; label.text = @"单肩包"; label.frame = CGRectMake(0, 50, 50, 20); label.font = [UIFont systemFontOfSi
阅读全文
posted @ 2016-02-29 10:30 zhangjing022
阅读(109)
评论(0)
推荐(0)
[UIKit学习]02.关于UIButton
摘要: 按钮的功能比较多,既能显示文字,又能显示图片,还能随时调整内部图片和文字的位置 按钮也是一种容器,在这一点上跟UIView类似 按钮的三种状态 normal(普通状态) 默认情况(Default) 对应的枚举常量:UIControlStateNormal highlighted(高亮状态) 按钮被按
阅读全文
posted @ 2016-02-29 10:28 zhangjing022
阅读(140)
评论(0)
推荐(0)
[UIKit学习]01.关于UIView,frame,bounds,center
摘要: UIView是Cocoa大多控件的父类,本身不带事件。 UIView的常见用法 @property(nonatomic,readonly) UIView *superview; 获得自己的父控件对象 @property(nonatomic,readonly,copy) NSArray *subvie
阅读全文
posted @ 2016-02-29 10:27 zhangjing022
阅读(156)
评论(0)
推荐(0)
下一页
公告