12 2016 档案
摘要:class func clearCache(finshed : (() -> Void)){ let cachePath = NSSearchPathForDirectoriesInDomains(NSSearchPathDirectory.CachesDirectory, NSSearchPath
阅读全文
摘要:func screenShot(targetView : UIView) -> UIImage{ UIGraphicsBeginImageContextWithOptions(targetView.bounds.size, false, 0) targetView.drawViewHierarchy
阅读全文
摘要:/* 设置虚线 */ let borderLabayer = CAShapeLayer() borderLabayer.bounds = CGRect(x: 0, y: 0, width: addField.width(), height: addField.height()) borderLaba
阅读全文

浙公网安备 33010602011771号