Comments (16)
更新时请使用 pod update
命令而不是 pod install
命令,并且不要带 --no-repo-update
后缀。
from lcactionsheet.
1.因为我的电脑一直pod update 没反应,所以每次我都习惯用pod install.而且podfile中添加LCActionSheet pod 一直卡着不动~
2.我尝试着直接下载LCActionSheet拖进工程,但是下载下来的文件LCActionSheet,我下载了两次
from lcactionsheet.
- 这个貌似没有好的办法,我是工作环境直接 ss,让 git 走 ss 就正常速度了:
git config --global http.proxy socks5://127.0.0.1:1080 && git config --global https.proxy socks5://127.0.0.1:1080
- 这个是咋回事呢…… 你是不是下载了部分或者咋回事?
from lcactionsheet.
刚我试着用 pod update --verbose --no-repo-update,也是搜索到3.2.1耶
而且我也用的ss
from lcactionsheet.
pod update
没反应是因为该命令会首先更新本地 pod spec,然后更新你的 Podfile 中的依赖库,而国内的网络因为你懂的原因,通常会在更新本地 pod spec 时很卡甚至几个小时。而 pod install
会直接根据你安装 CocoaPods 时的 pod spec 直接安装 Podfile 中的库,不执行更新本地 pod spec 的操作,所以一般不会卡。
另外如果你加上 --no-repo-update
命令则让 update 操作跳过了更新本地 pod spec,这其实是不合适的,因为你本地的 pod spec 肯定不是最新的 pod spec,如果某些库在你上次更新 pod spec 后更新了,你加上 --no-repo-update
后缀则可能不会更新这些库。
你有 ss 环境更好,开启 ss,执行下我上面贴的命令然后再执行 pod update
不加任何后缀即可:
// 设置让 git 走代理服务
git config --global http.proxy socks5://127.0.0.1:1080 && git config --global https.proxy socks5://127.0.0.1:1080
// 取消设置
git config --global --unset http.proxy && git config --global --unset http.proxy
from lcactionsheet.
好滴,楼主真是太有爱了,这么耐心解答菜鸟的疑问,因为公司的一个APP 用了你的这个库造物国,感觉挺不错的,所以新APP准备继续用,刚刚LCActionSheet已经pod下来了,虽然是3.2.1版本,但是并无大碍,我再仔细研究为什么只能pod 3.2.1,因为我的podfile 文件中是从来没有添加过该库的~
from lcactionsheet.
没事的,你也不必过于担心这个问题,V 3.2.2 修复的是一个小问题:ChangeLog,一般不影响使用。关于版本问题貌似 CocoaPods 那边出现了 Bug,我已经报给他们了等待他们处理:CocoaPods/CocoaPods#6713
另外你们的项目可以放到 小伙伴 中么?纯收集展示,不会有其他用途。
from lcactionsheet.
原来是CocoaPods的锅, 哈哈,广告随便打,我可是交不起广告费的哟 ( 渍渍)
from lcactionsheet.
完全免费哈哈,就当互相推广吧,再者我这也就是个展示,给你们打广告你们还嫌我这没流量~
不过说句题外话,国民还是版权意识不够啊,诸如 BAT 的项目很多都不带三方协议声明的……
from lcactionsheet.
Issue 先 open 着,等这个问题确认完毕我会 @ 你。
from lcactionsheet.
我们国民版权意识已经在慢慢提高了
哈哈,楼主这么用心必须粉一个。
from lcactionsheet.
@iTofu 我发现不能获取按钮的标题,就是比如我会检测当前手机APP中是否含有谷歌、高德、百度地图,有则加入到按钮中,所以还要获取到该按钮的标题才能做到此功能,我找了一下好像LCActionSheet对象只有整个视图的title和取消按钮的标题~
from lcactionsheet.
是这样,开发者初始化和设置 LCActionSheet 实例时是明确知道它的所有属性的,比如 titles 是开发者传入的,所以开发者应该是能明确知道某个 index 处的 title 的,代理和 Block 方法都会回调 index。
from lcactionsheet.
好的,明白了,之前没想明白,就用的系统的UIActionSheet。
from lcactionsheet.
确定是 CocoaPods 的问题然鹅也没告诉我原因,发了个新版本又好了...
from lcactionsheet.
@iTofu 辛苦辛苦
from lcactionsheet.
Related Issues (20)
- 请尽快新版本,十万火急 HOT 5
- 区分点击空白区域或cancelButton HOT 1
- without title HOT 3
- 并没有适配iphoneX HOT 3
- 最大高度问题? HOT 3
- 能自定义每一行按钮的颜色吗? HOT 1
- 挺好用的 HOT 1
- carthage install error HOT 1
- pod 报错 HOT 2
- iphonexs and iphonexMax screen adaptation HOT 3
- 为什么3.5.1版本没有呢?最新的是3.5.0 HOT 1
- 用clicked的block形式,会与SVProgressHUD冲突 HOT 2
- 释放不掉UIwindow
- 项目太依赖Masonry,有的用的SnpKit。导致还得导入两个库。不划算 HOT 1
- 希望可以自定义页面UI,比如可以设置圆角这些。方框太丑了
- lc_isX 方法建议改下 下次出个别的高度又要改
- 建议添加的需求-圆角。👇 HOT 4
- 怎样设圆角
- 设置取消按钮的背景色无效
- hey, why exec [actionSheet show]; not show HOT 1
Recommend Projects
-
React
A declarative, efficient, and flexible JavaScript library for building user interfaces.
-
Vue.js
🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.
-
Typescript
TypeScript is a superset of JavaScript that compiles to clean JavaScript output.
-
TensorFlow
An Open Source Machine Learning Framework for Everyone
-
Django
The Web framework for perfectionists with deadlines.
-
Laravel
A PHP framework for web artisans
-
D3
Bring data to life with SVG, Canvas and HTML. 📊📈🎉
-
Recommend Topics
-
javascript
JavaScript (JS) is a lightweight interpreted programming language with first-class functions.
-
web
Some thing interesting about web. New door for the world.
-
server
A server is a program made to process requests and deliver data to clients.
-
Machine learning
Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.
-
Visualization
Some thing interesting about visualization, use data art
-
Game
Some thing interesting about game, make everyone happy.
Recommend Org
-
Facebook
We are working to build community through open source technology. NB: members must have two-factor auth.
-
Microsoft
Open source projects and samples from Microsoft.
-
Google
Google ❤️ Open Source for everyone.
-
Alibaba
Alibaba Open Source for everyone
-
D3
Data-Driven Documents codes.
-
Tencent
China tencent open source team.
from lcactionsheet.