[已解决]Swift出错:Type does not conform to protocol xxxDelegate
crifan 9年前 (2015-12-11) 3648浏览 0评论
swift代码: protocol MessageDelegate { func newMessageSent(sentMessage:Message) func newMessageReceived(newMessage:Me...
crifan 9年前 (2015-12-11) 3648浏览 0评论
swift代码: protocol MessageDelegate { func newMessageSent(sentMessage:Message) func newMessageReceived(newMessage:Me...
crifan 9年前 (2015-12-10) 3316浏览 0评论
swift websocket swift websocket 监听 swift集成websocket库 – ___leng的专栏 – 博客频道 – CSDN.NET daltoniam/Starscream ·...
crifan 9年前 (2015-12-10) 6617浏览 0评论
已有: if extraParas is Dictionary<String, AnyObject> { 现在要去判断这个dict中是否已经存在某个 key,比如: httpVerb 但是对于: if let httpV...
crifan 9年前 (2015-12-10) 2199浏览 0评论
需要Swift中去计算,类似于如下js中的Base64.encode的值: function make_base_auth(user, password) { var tok = user + ‘:’ + pass...
crifan 9年前 (2015-12-06) 3645浏览 0评论
用了: self.dismissViewControllerAnimated(true, completion: nil) 结果出错: 2015-12-06 16:13:39.163 JianDao[6147...
crifan 9年前 (2015-12-05) 2301浏览 0评论
折腾: [未解决]swift中字符串的正则表达式处理:判断字符串是否符合某个类型 但没解决问题。 所以换用: 判断字符串是否以某种格式开始 swift string start with Common String Manipulations in ...
crifan 9年前 (2015-12-05) 3379浏览 0评论
想要把: let personIdExample = "user-ae96618f-3a5c-48a8-a799-9944a4e76ed9" let groupIdExample = "group-7f1ad5cd-8...
crifan 9年前 (2015-12-04) 2103浏览 0评论
代码: let decodedJsonDict:JSON = JSON(data: response.data) print("decodedJsonDict=\(decodedJsonDict)")...
crifan 9年前 (2015-12-03) 3804浏览 0评论
要去搞懂,XMPP群聊的话,是涉及到哪些知识 是如何发送和接收消息的。 据说是发送消息给: [email protected] 即可使得改该组内所有的人都能...
crifan 9年前 (2015-12-02) 3168浏览 0评论
用代码: let indexPathToDelList:[(Int, Int)] = [(Int, Int)]() for (sectionIdx, eachSection) in contactSectionI...