摘要:
- (void)createBotList{ CGFloat width = self.frame.size.height * 0.095; CGFloat place = (self.frame.size.width - self.frame.size.height * 0.1 * 3) / 4; 阅读全文
摘要:
//NSMutableAttributedString func Add_lineoffset(rest:String,id :String, englishName :String, chineseName :String, isdelete :Bool) -> NSMutableAttribut 阅读全文
摘要:
//自定义一个TextView class Own_TextView: UITextView { override func caretRect(for position: UITextPosition) -> CGRect { return CGRect.zero } override func 阅读全文
摘要:
项目中的需求是前面图片,在图片最后面始终有按钮如图 图片 图片 let space:CGFloat = 10 for i in 0..model.count{ let itemWidth:CGFloat = 300 let itemHeight:CGFloat = 50 let x:CGFloat 阅读全文