用pod 下载 PLPlayerKit库 github上有在这里不多说 链接https://github.com/pili-enginee...
如果你项目里面的归档用大量的属性,没次增加新的属性时 还需要在归档和解档的方法里写重复的代码,看着重复的代码就特别恶心!……怎么办呢? -- 如...
mport UIKit import CoreData class ViewController: UITableViewController,...
import UIKit class pieview: UIView { override func touchesBegan(tou...
import Foundation @objc protocol DictModelProtocol{ }///字典转模型工具class Swi...
废话不多说直接上代码 //具体操作 } //MRAK: NSURLSessionDownloadDelegate方法 }
class func Regexing(string:String) ->Bool{ // () 是要提取的匹配内容,不使用括号,就是要忽略的内...
关于NSURLSession的断点续传的特点:在运行的时候,能够暂停和继续,但是一旦退出,就没有办法在继续,需要重新下载! @interface...
归档 NSCoding,实现两个方法 AccessToken 是后续所有网络访问的重要依据 /// 构造函数,一旦写了,init 会被忽略 /...