sed查找替换字符串

直接上伪代码 sed -i "s/查找字段/替换字段/g" 示例: //Readme.tx文件内容 appname="我的天气" g …

获取UIImage的尺寸

int contentWid = self.view.width ; unsigned long width = CGImageGetWidth(image.CGImage) ; unsigned long height …

给UIView切左上右上圆角

直接上代码 self.headView = [[UIView alloc]init] ; //切左右上两个圆角 UIBezierPath *maskPath = [UIBezierPath bez …

微信扫一扫,分享到朋友圈

sed查找替换字符串