the item width must be less than the width of the UICollectionView minus...

the item width must be less than the width of the UICollectionView minus...
1.将Main拖入Main的文件夹中 2.选择Main 删掉默认的View Controller 3.拖入一个 Tab Bar Controll...
1.选择 Product -->Scheme-->Edit Scheme 2.选择 Arguments 3.在Environment Varia...
新建View文件 继承UICollectionView 0.为类新建相应测View文件 关联控制器和View size设置为Freeform 可...
1.实现左右无限滚动 设置图片滚动的个数从原来的固定6个改为10000,一般用户会划完一万次 这样设置后,可以一直右边滚动了 设置向左滚动:做法...
6.请求轮播数据 6.1网络请求继续封装在ViewModel中 懒加载一个轮播模型数据 发送网络请求 6.2 回到ViewModel对应的Con...
1.先对项目的文件夹进行划分,ViewModel ,Model,View,Controller 2.将全部的页面划分成不同的Controller...
注册登录LeanCloud,新建一个APP,名字自己取 在Xcode项目的podfile文件中添加 LeanCloud的组件,这里我用的是存储,...
打开终端:cd 进入项目文件夹 运行: pod init 新建podfile文件 用xcode打开 podfile platform :ios,...
要实现的效果: 因为这个Cell会出现在系统很多地方,所以这个Cell新建在Main的View中 继承自UICollectionViewCell...
专题公告
swift 学习,做一个自己的app