![](https://img-blog.csdnimg.cn/20201014180756927.png?x-oss-process=image/resize,m_fixed,h_224,w_224)
iOS-Xib
xib
西半球
好记性不如烂笔头
展开
-
使用xcode storyboard设置按钮圆角方法
转载自:http://blog.csdn.net/ssrrxx111/article/details/45367767 通过storyboard的 运行时属性runtime attribute,可以对Button设置圆角或者边框 1.很多人都知道,通常设置一个 Button后者其他的UIView子类的圆角,需要使用如下的语句 self.button.layer转载 2015-11-10 15:50:50 · 684 阅读 · 0 评论 -
iOS --自定义xib
cell.h #import @interface OtherCell : UITableViewCell @property (weak, nonatomic) IBOutlet UILabel *lable1; //左边的lable @property (weak, nonatomic) IBOutlet UILabel原创 2015-11-10 08:45:24 · 302 阅读 · 0 评论 -
iOS ---xib自定义cell
转载自 : http://www.th7.cn/Program/IOS/201407/251523.shtml 最终效果图: xib+自定义cell的封装标准步骤:(按此步骤者,事半功倍) xib+自定义cell的封装标准步骤:(按此步骤者,事半功倍) 1,新建GirlCell.xib,往里面拖一个tableViewCell,在c转载 2015-11-05 09:05:16 · 700 阅读 · 0 评论 -
iOS--xib自定义cell
最终效果图: xib+ xib+自定义cell的封装标准步骤:(按此步骤者,事半功倍) 1,新建GirlCell.xib,往里面拖一个tableViewCell,在cell中拖入各种控件 2,新建GirlCell类,继承自uitableViewCell 3,将GirlCell.xib界面中cell的类名更改成GirlCell,并且指定重用的identife转载 2015-10-23 13:35:04 · 1327 阅读 · 0 评论 -
iOS--xib界面与和代码相关联
一些错误: loaded the "XXXView" nib but the view outlet was not set.' 查书才知道,没有做nib文件到xxxViewControler程序的关联,特此记录下来: 1, 打开nib文件 2, 点击"File's Owner", 按command+4,设置Class为xxxViewControle转载 2015-10-13 15:24:30 · 598 阅读 · 0 评论