Comments (11)
有这种情况?你的意思是PhotoBrowser 和 SwiftyJSON不能共存是吗,即放一起,编译直接失败?
from photobrowser.
如果确实是,请发一个演示程序到[email protected]
from photobrowser.
已发送
from photobrowser.
确实不兼容。新建的测试项目,无其他代码,就只有这两个项目源码,编译报错
from photobrowser.
问题已找到,Haneke与SwiftJson确实冲突了。
Haneke中的Data.swift中也定义了一个Struct的JSON,
1.你可以查看两个定义是否一致,如果一致可手动删除删除定义即可
2.使用nameSpace解决
3.先在我的项目把Haneke的JSON修改名字,再引入即可
from photobrowser.
Haneke在使用上我遇到了若干bug,但目前在swift中没有比较好的图片下载框架,你也可以使用SDWebImage取代Haneke,不过需要oc混编
from photobrowser.
嗯,好的,我目前图片下载框架用的就是SDWebImage,谢谢!
from photobrowser.
什么时候能更新到Swift2.0
from photobrowser.
kingfish 不行嘛
from photobrowser.
@cherishloveyou 你说的这个最低要求是iOS 8.0
from photobrowser.
用Swifty.JSON可以解决编译错误
from photobrowser.
Related Issues (13)
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 photobrowser.