【文件属性】:
文件名称:ios-一行代码实现新特性功能.zip
文件大小:16KB
文件格式:ZIP
更新时间:2022-07-31 13:46:02
滚动视图
XLJNewFeature新特性
★★★"iOS App新特性"★★★
[demo下载地址](https://github.com/marlonxlj/newFeaturesx.git)
支持pod导入
pod 'XLJNewFeature', '~> 1.0.0'
如果发现pod search XLJNewFeature 搜索出来的不是最新版本,需要在终端执行cd转换文件路径命令退回到desktop,然后执行pod setup命令更新本地spec缓存(可能需要几分钟),然后再搜索就可以了。
如果喜欢请star,谢谢你的支持.
API接口:
/**
*初始化
*
*@param array 传入一个数组
*@param buttonSize 按钮的宽度和高度
*@param buttonTitle 按钮显示的文字
*@param imageName 按钮的图片
*@param titleColor 按钮文字的颜色
*@param startHeight 按钮的Y的比率
*@param controller 按钮点击跳转的界面
*
*@return
*/
-(instancetype)initWithNSArray:(NSMutableArray *)array withButtonSize:(CGSize)buttonSize withButtonTitle:(NSString *)buttonTitle withButtonImage:(NSString *)imageName withButtonTitleColor:(UIColor *)titleColor withButtonHeight:(CGFloat)startHeight withViewController:(UIViewController *)controller;
【文件预览】:
newFeatures
----XLJCollectionViewCell.m(2KB)
----XLJCollectionViewCell.h(756B)
----XLJExButton.m(2KB)
----XLJNewFetureController.m(6KB)
----UIView+XLJExternFrame.h(570B)
----XLJNewFetureController.h(937B)
----UIView+XLJExternFrame.m(2KB)
----.DS_Store(6KB)
----XLJExButton.h(762B)