Comments (15)
from hxphpicker.
是pod方式导入的吗
from hxphpicker.
是的
from hxphpicker.
我刚刚试了一下,pod导入的是不影响的。
from hxphpicker.
直接使用BaseViewController
应该是你项目里的
HXPHPicker.BaseViewController
这样才能使用选择器里的
from hxphpicker.
好,我再试一下,还不行我发demo给你
from hxphpicker.
另外我的BaseViewConyroller 是objc的类 不是swift的类
from hxphpicker.
我试了还是有问题,重现的步骤
1、创建一个OBJC 的BaseViewController
2、在Bridging-Header.h 文件中引入#import "BaseViewController.h" ,方便swift调用
3、创建一个swift的类比如BaseTableViewController 继承BaseViewController 就报错了
from hxphpicker.
最好的解决办法是将OC的BaseViewController
类名加一个前缀
from hxphpicker.
from hxphpicker.
改动太大,我今天尝试了改我自己的,1000 多个地方要改,
from hxphpicker.
而且我看了你的代码,那个Extension的部分比如你给Color写的Extension 很大的可能性 和别的库,包括我们自己的业务代码冲突
from hxphpicker.
swift 有命名空间 不会出现问题的
from hxphpicker.
分类有些地方是需要优化一下,后面会改一下
from hxphpicker.
好吧我把我的类改成了CommonViewControler,编译成功,希望不要再来一个大神的库也有一个CommonViewController,其实我还是希望作者能改成有自己的前缀,这样的我们轻松点
from hxphpicker.
Related Issues (20)
- 使用前置摄像头录制时,保存的视频会上下翻转。但是后置摄像头不会。
- 能让预览控制器单独支持横竖屏吗?
- 尊敬的作者您好,请问有全选和默认选原图的功能么? HOT 1
- 作者您好,提一个bug,有关livephoto的 HOT 1
- App Crash
- No such file or directory - HXPHPicker/Editor. HOT 2
- PhotoPickerViewCell 请问如果是网络图片如何设置photoView的placeholder 图片 HOT 3
- iOS 14.0 和iOS14.1 Limit状态显示所有图片,有的是空白 HOT 2
- 最新版本选择图片后闪退 HOT 2
- Video "处理失败", "Processing failed" HOT 2
- Video Editor issue HOT 8
- image is set on a background thread - PhotoEditorContentView HOT 4
- localized in PhotoEditorViewController HOT 6
- 关于editor HOT 1
- 视频录制偶尔启动时间较长 HOT 5
- pod Lite版本报错
- 选择照片 程序ANR 被系统杀死 HOT 5
- 拍照获取到的图片永远都是480X852 将sessionPreset 设置为hd4K3840x2160 也是不行,在拍照完成回调中获取图片的方式好像有点问题 HOT 1
- 关于topview的布局问题 HOT 1
- 请问有没有HXPHPicker的微信交流群 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 hxphpicker.