1.基于swift
2.用糗事百科的API简单做了一个糗百客户端,可以浏览各种段子,浏览搞笑图片,查看精彩评论等.
3.本项目仅供学习交流使用,不能用作任何形式的商业用途!内容接口来源于网络上公开的API,如侵犯到相关机构的权益,本人不承担任何后果
4.修复一些编译错误
5.我的新浪微博http://weibo.com/yangreal
1.基于swift
2.用糗事百科的API简单做了一个糗百客户端,可以浏览各种段子,浏览搞笑图片,查看精彩评论等.
3.本项目仅供学习交流使用,不能用作任何形式的商业用途!内容接口来源于网络上公开的API,如侵犯到相关机构的权益,本人不承担任何后果
4.修复一些编译错误
5.我的新浪微博http://weibo.com/yangreal
自动联想功能没有了,你怎么解决的。
YRHttpRequest.swift
var req = NSURLRequest(URL: URL)
"Value of optional the 'NSURL?' not unwrapped; did you mean to use '!' or '?' ?"
望解答,谢谢。
UIImageView
var cachePath = FileUtility.cachePath(cacheFilename)
error
iphone 4s 手机上,ios 7.1
2015-11-02 12:13:06.595 JokeClient-Swift[3477:246190] Unknown class av in Interface Builder file.
fatal error: unexpectedly found nil while unwrapping an Optional value
The network connection was lost.
class YRCommnentsCell{
var userId = userDict["id"] as! NSString
}
在beta6中好多错误,不知道作者有没有注意到
Hi,这个教程我相信很多swift新手到是学习的利器,代码很值得参考和学习,无奈,在bata5中,编译报一堆错误,这个错误我再stackoverflow上有查到,但是没看懂,能否update下你的代码?
摘取其中一个错误:
Class 'YRAboutViewController' does not implement its superclass's required members
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.