Swift版知乎日报
参照了YANGReal的糗事百科和uitableview的例子,他的东西写的很棒,让我学到了很多东西,感谢~
我觉得学习一门语言光看是没用的,只有投入到实践项目中去,才能最快速的掌握它,有兴趣的同学可以和我一起来把这个项目完善,目前只做了列表页和内容页两个页面。
2014-08-27 更新了对Xcode beta 6的支持,没有做多余的修改 // by kimufly
ZhihuDaily with Swift language
Swift版知乎日报
参照了YANGReal的糗事百科和uitableview的例子,他的东西写的很棒,让我学到了很多东西,感谢~
我觉得学习一门语言光看是没用的,只有投入到实践项目中去,才能最快速的掌握它,有兴趣的同学可以和我一起来把这个项目完善,目前只做了列表页和内容页两个页面。
2014-08-27 更新了对Xcode beta 6的支持,没有做多余的修改 // by kimufly
UIImageViewWebExt.swift:
'URLWithString' is unavailable: use object construction 'NSURL(string:)'
SlideScrollView.swift:
'UIView has no member named tag'
异常信息是 EXC_BAD_ACCESS(code=2,address=0x0),我运行的xocde版本是6.0.4
In most of your code, I think the most thing you do is to translate Objective-C to Swift.
Such as: you may use Swift's Dictionary type instead of NSDictionary of FoundationFramework.
And for request part. Why not just using AFNetwoking or some professional frameworks to do that but not writing some hardcode yourself. All the things you need to do is to write some wrapper files. After that these wrapper files can be used by many other guys who wanna use AFNetworking too!
I prefer to see not just translation from one lang to another, it's quite meaningless.
No offence, just some advices.
/Users/patrick/Desktop/develop/Swift-ZhihuDaily/util/YRHttpRequest.swift:39:70: Extra argument 'error' in call?
怎么解决呢?
How do you find the api address of Zhihu daily, by some debug tools or something else?
你好!请问知乎日报接口怎么拿到的?
A declarative, efficient, and flexible JavaScript library for building user interfaces.
🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.
TypeScript is a superset of JavaScript that compiles to clean JavaScript output.
An Open Source Machine Learning Framework for Everyone
The Web framework for perfectionists with deadlines.
A PHP framework for web artisans
Bring data to life with SVG, Canvas and HTML. 📊📈🎉
JavaScript (JS) is a lightweight interpreted programming language with first-class functions.
Some thing interesting about web. New door for the world.
A server is a program made to process requests and deliver data to clients.
Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.
Some thing interesting about visualization, use data art
Some thing interesting about game, make everyone happy.
We are working to build community through open source technology. NB: members must have two-factor auth.
Open source projects and samples from Microsoft.
Google ❤️ Open Source for everyone.
Alibaba Open Source for everyone
Data-Driven Documents codes.
China tencent open source team.