时间区间选择器样式1
<h1>样式展示</h1>
<p><img src="https://www.showdoc.cc/server/api/common/visitfile/sign/9af1487d4e3de998d0a2e373e971d571?showdoc=.jpg" alt="" /></p>
<h1>控件代码参数说明</h1>
<p>/*
beginTime 开始时间
endTime 结束时间
<strong>/
typedef void(^LLUIKIT_SelectYearResultBlock)(NSString <em>beginTime, NSString </em>endTime);
/*
选择结果回调
*<em>/
@property (nonatomic, copy) LLUIKIT_SelectYearResultBlock selectYearResultBlock;
/</em>
标题控件
</strong>/
@property (nonatomic, strong) UILabel *titleLabel;</p>
<p>/*
getData 传入开始日期,不得早于当前时间
count 日期天数
**/</p>
<ul>
<li>(instancetype)initWithFrame:(CGRect)frame date:(NSDate *)getData dateCount:(NSInteger )count;</li>
</ul>
<h1>代码引用</h1>
<p>import "XJTimePickView.h"
import "LLUikit_SelectBeginAndEndTimeCenterView.h"</p>
<h1>代码使用样例</h1>
<pre><code> LLUikit_SelectBeginAndEndTimeCenterView *searchHistoryTimeView = [[LLUikit_SelectBeginAndEndTimeCenterView alloc]initWithFrame:CGRectMake(0, 0, LLCommon_SCREEN_Width, LLCommon_SCREEN_Height) beginTime:@"2017.01.01"];
searchHistoryTimeView.titleLabel.text = @"时间选择控件";
searchHistoryTimeView.selectYearResultBlock = ^(NSString *beginTime, NSString *endTime) { };</code></pre>