2019年4月23日

摘要: platform :ios, "9.0" target "APPName" dopod 'AFNetworking'pod 'SVProgressHUD'pod 'YYModel'pod 'IQKeyboardManager'pod 'ZFPlayer'pod 'MJRefresh'end pod 阅读全文
posted @ 2019-04-23 11:23 琴儿Aline 阅读(115) 评论(0) 推荐(0) 编辑

2019年4月9日

摘要: 卸载pod sudo rm -fr ~/Library/Caches/CocoaPods/ sudo rm -fr ~/.cocoapods/repos/master/ sudo rm -fr Pods/ 安装pod gem install -n /usr/local/bin cocoapods p 阅读全文
posted @ 2019-04-09 08:58 琴儿Aline 阅读(243) 评论(0) 推荐(0) 编辑

2019年4月2日

摘要: 搜索prefix 找到 APPle Clang Language > 将precompile Prefix Header 改为YES > 再输入$(SRCROOOT)/Other/项目名.pch (这里根据自己的文件地址来) 阅读全文
posted @ 2019-04-02 14:08 琴儿Aline 阅读(189) 评论(0) 推荐(0) 编辑

2019年4月1日

摘要: 打開pubspec.yaml > cupertino_icons 下添加插件 阅读全文
posted @ 2019-04-01 10:51 琴儿Aline 阅读(1521) 评论(0) 推荐(0) 编辑

2019年3月12日

摘要: 方法的定义 返回类型 方法名 (参数1 ,参数2 ,...){ 方法体 返回值 } => 的使用 阅读全文
posted @ 2019-03-12 11:23 琴儿Aline 阅读(667) 评论(0) 推荐(0) 编辑

2019年3月11日

摘要: dynamic 》》》直接翻译过来可以是动态的 void main() //dynamic } 阅读全文
posted @ 2019-03-11 10:21 琴儿Aline 阅读(4577) 评论(1) 推荐(1) 编辑
 
摘要: Map的常用操作 1. [] , length 获取值和长度 2. isEmpty (),isNoEmpty () 是否为空 3.Keys ,values 获取所有的键 和值 4. containsKey(), containsValue() 是否包含某个key 是否包含某个值 5.remove ( 阅读全文
posted @ 2019-03-11 10:13 琴儿Aline 阅读(1892) 评论(0) 推荐(0) 编辑
 
摘要: list的常用的操作 1. [] ,length 获取元素,和数组长度 2. add(), insert ()添加元素 3. remove(),clear() 删除元素 4.indexOf (), lastIndexOf () 获取元素中的位置 5.sort (), sublist () 排序和获取 阅读全文
posted @ 2019-03-11 09:54 琴儿Aline 阅读(2467) 评论(0) 推荐(0) 编辑

2019年3月7日

摘要: image .asset : 加载资源图片,会使打包时包体过大 image.network :网络资源图片,经常换的或者动态的图片 image file : 本地图片,比如相册 重用属性: fit scale color colorBlendMode repeat child: Container( 阅读全文
posted @ 2019-03-07 10:00 琴儿Aline 阅读(421) 评论(0) 推荐(0) 编辑
 
摘要: Container 组件 padding: const EdgeInsets.fromLTRB(10, 0, 30, 0),//内边距 margin: const EdgeInsets.all(10),// 外边距 decoration: new BoxDecoration( gradient: c 阅读全文
posted @ 2019-03-07 09:22 琴儿Aline 阅读(165) 评论(0) 推荐(0) 编辑