classfuncfromDateToString(date:Date) ->String{ letdformatter =DateFormat...
foriin0..<10{ letbtn = UIButton() btn.backgroundColor = UIColor.red letm...
overridefunctextRect(forBounds bounds:CGRect, limitedToNumberOfLines num...
init(dict:[String:AnyObject]) { super.init() setValuesForKeys(dict) } //...
//MARK:-相机 letimagePicker =UIImagePickerController() //检测相机是否可用 letisAva...
- (void)applicationWillResignActive:(UIApplication *)application 当应用将要进入...
funcsegmentationArrWithCount(_count:Int,arr:[String]) -> [[String]] { le...
//let sx = sRadius * cos(Double.pi/2.0 + (Double(i) - 1.0) * (2.0 * Doub...
letalertVC =UIAlertController(title:nil, message:"保存成功", preferredStyle:...