2016年11月25日

修改系统默认的NSButton的按下变灰

摘要: 修改系统默认的NSButton的按下变灰:[(NSButtonCell *)self.button.cell setHighlightsBy:NSNoCellMask]; 阅读全文

posted @ 2016-11-25 16:24 请叫我飞戈 阅读(200) 评论(0) 推荐(0) 编辑

NSParagraphStyleAttributeName

摘要: // NSParagraphStyleAttributeName 段落的风格(设置首行,行间距,对齐方式什么的)看自己需要什么属性,写什么 NSMutableParagraphStyle *paragraphStyle = [[NSMutableParagraphStyle alloc] init] 阅读全文

posted @ 2016-11-25 15:35 请叫我飞戈 阅读(343) 评论(0) 推荐(0) 编辑

导航