
Xib
DeadRabbit2015
QQ:1010473913 技术交流
展开
-
xib中设置圆角,边框宽度,边框颜色等
Xcode 版本 7.0首先设置位置如图: 可以在Runtime Attributes 里设置,添加系统没有提供的但在Class中有提供的属性,但是type提供的类型有限,不是所有的参数类型都有:例如:CGColorRef 这样的话,就想办法将其转换为Type提供类型如 CALayer 重新添加一属性borderUIColor: @interface CALayer (XibConfig原创 2015-09-29 19:53:23 · 2780 阅读 · 0 评论 -
registerNib 和 loadNibNamed
// Beginning in iOS 6, clients can register a nib or class for each cell.// If all reuse identifiers are registered, use the newer -dequeueReusableCellWithIdentifier:forIndexPath: to guarantee that a原创 2016-03-02 16:40:03 · 1189 阅读 · 0 评论