
简介
该用户还未填写简介
擅长的技术栈
未填写擅长的技术栈
可提供的服务
暂无可提供的服务
在 Swift 工程中通过 CocoaPods 集成 OC 库(如 SVProgressHUD)时出现No such module ‘SVProgressHUD‘
SVProgressHUD 是 OC 库,在 Swift 项目中需要正确配置 Podfile,确保库被正确编译为模块。文件,必须通过该文件打开项目,而不是原有的。(xxx 是你的项目名),双击打开。CocoaPods 集成后会生成。:关闭当前项目,找到工程目录下的。
iOS 开发failed to emit precompiled header 以及 “xxx-Swift.h“ file not found
3.把podfile里的库删掉 执行 podinstall。2.删除 podfile.lock。4.podfile填回所有的库名字。1.删除 pods 文件夹。5.重新podinstall。

ios Cell中的按钮实现单选
首先定义一个变量来记录按钮的状态@property (assign, nonatomic) NSIndexPath *selIndex;//单选,当前选中的行- (UITableViewCell *)tableView:(UITableView *)tableView cellForRowAtIndexPath:(NSIndexPath *)indexPath{NSInteger ...
到底了







