蘋果在github的SwiftProtobuf地址:https://github.com/apple/swift-protobuf[https://github.com/ap...
蘋果在github的SwiftProtobuf地址:https://github.com/apple/swift-protobuf[https://github.com/ap...
描述: 給tableView設置 headerView , headerView是通過xib懶加載的 , 高度為240 , viewDidLoad中設置 self.tabl...
最近遇到了個問題,在導入pod時,有的要求pod版本,但我的pod版本低 最后在終端執(zhí)行了下面的指令,更新了pod sudo gem install cocoapods 成功...
解決辦法:在class聲明上方,增加@objcMembers,又可以愉快的使用YYModel啦~YYModel是一個在OC里面很多人在用的工具,在swift下有HandyJs...
更新一下: IOS14系統(tǒng) cell不能直接設置圓角,只能設置cell.contentView的圓角?。?! 通常用下面的代碼為cell設置圓角,但是可能依然沒有效果 換為下面...
話不多說直接進入正題 一、 iOS真機運行加載網(wǎng)絡圖片報錯 Failed host lookup: 'gimg2.baidu.com' (OS Error: nodename...
錯誤現(xiàn)象 真機運行正常,打包報錯如下:rsync error: some files could not be transferred (code 23) at /Apple...
Mac 更新系統(tǒng)(10.15.4)以后 cocopod 不好用了 ,連累 Flutter 項目也遇到問題。 運行 flutter docter,提示需要重新安裝 cocopo...
總所周知,iOS 退出強制退出 APP 的方法有四種。網(wǎng)上都有大量的文章對此進行描述,再次就不一一列舉了 exit(); abort(); assert(); 主動制造一個崩...