240 发简信
IP属地:山东
  • 2018-01-03

    - (UIImage*) imageWithFrame:(CGRect)frame alphe:(CGFloat)alphe { frame...

  • 程序通过什么方式启动

    - (BOOL)application:(UIApplication *)application didFinishLaunchingWithO...

  • Label两边或者上下设置间距

    overridefunctextRect(forBounds bounds:CGRect, limitedToNumberOfLines num...

  • IOS多边形 画法

    //let sx = sRadius * cos(Double.pi/2.0 + (Double(i) - 1.0) * (2.0 * Doub...

  • 给一个长度,分割数组,成为一个二维数组,

    funcsegmentationArrWithCount(_count:Int,arr:[String]) -> [[String]] { le...

  • swift3.0 简单的九宫格

    foriin0..<10{ letbtn = UIButton() btn.backgroundColor = UIColor.red letm...

  • swift3.0 拼接两个字典

    func appendAnotherDic( left: inout Dictionary, right: Dictionary) { for ...

  • swift3.0一个简单的alert提示框

    letalertVC =UIAlertController(title:nil, message:"保存成功", preferredStyle:...

  • swift3.0中金额计算方法

    funcstringFormatToThreeBit(str:String) ->String{ ifstr.characters.count<...