123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960616263646566676869707172737475767778798081828384858687888990919293949596979899100101102103104105106107108109110111112113114115116117118119120121122123124125126127128129130131132133134135136137138139140141142143144145146147148149150151152153154155156157158159160161162163164165166167168169170171172173174175176177178179180181182183184185186187188189190191192193194195196197198199200201202203204205206207208209210211212213214215216217218219220221222223224225226227228229230231232233234235236237238239240241242243244245246247248249 |
- //
- // YZMADateHeaderView.m
- // YouHuiProject
- //
- // Created by 小花 on 2018/1/24.
- // Copyright © 2018年 kuxuan. All rights reserved.
- //
- #import "YZMADateHeaderView.h"
- @interface YZMADateHeaderView()
- @property (nonatomic, strong) UIView *leftLine;
- @property (nonatomic, strong) UIView *rightLine;
- @property (nonatomic, strong) UIView *leftCircle;
- @property (nonatomic, strong) UIView *rightCircle;
- @property (nonatomic, strong) UILabel *titleLabel;
- @end
- @implementation YZMADateHeaderView
- - (instancetype)initWithFrame:(CGRect)frame {
- self = [super initWithFrame:frame];
- if (self) {
- self.backgroundColor = [UIColor whiteColor];
- [self initSubViews];
- }
- return self;
- }
- - (void)initSubViews {
- [self addSubview:self.leftLine];
- [self addSubview:self.leftCircle];
- [self addSubview:self.titleLabel];
- [self addSubview:self.rightCircle];
- [self addSubview:self.rightLine];
-
- [self.titleLabel mas_makeConstraints:^(MASConstraintMaker *make) {
- make.centerX.mas_equalTo(self.mas_centerX);
- make.centerY.mas_equalTo(self.mas_centerY);
- make.height.mas_equalTo(40);
- }];
-
- [self.leftCircle mas_makeConstraints:^(MASConstraintMaker *make) {
- make.centerY.mas_equalTo(self.titleLabel.mas_centerY);
- make.right.mas_equalTo(self.titleLabel.mas_left).mas_offset(-5);
- make.width.height.mas_equalTo(4);
- }];
-
- [self.leftLine mas_makeConstraints:^(MASConstraintMaker *make) {
- make.right.mas_equalTo(self.leftCircle.mas_left).mas_offset(-5);
- make.centerY.mas_equalTo(self.titleLabel.mas_centerY);
- make.width.mas_equalTo(60);
- make.height.mas_equalTo(1);
- }];
-
- [self.rightCircle mas_makeConstraints:^(MASConstraintMaker *make) {
- make.centerY.mas_equalTo(self.titleLabel.mas_centerY);
- make.left.mas_equalTo(self.titleLabel.mas_right).mas_offset(5);
- make.width.height.mas_equalTo(4);
- }];
-
- [self.rightLine mas_makeConstraints:^(MASConstraintMaker *make) {
- make.left.mas_equalTo(self.rightCircle.mas_right).mas_offset(5);
- make.centerY.mas_equalTo(self.titleLabel.mas_centerY);
- make.width.mas_equalTo(60);
- make.height.mas_equalTo(1);
- }];
-
- }
- - (void)setDateWith:(NSString *)dateStr {
- self.titleLabel.text = dateStr;
- }
- #pragma mark ------
- - (UIView *)leftLine {
- if (!_leftLine) {
- _leftLine = [[UIView alloc] init];
- _leftLine.backgroundColor = [UIColor YHColorWithHex:0xdddddd];
- }
- return _leftLine;
- }
- - (UIView *)rightLine {
- if (!_rightLine) {
- _rightLine = [[UIView alloc] init];
- _rightLine.backgroundColor = [UIColor YHColorWithHex:0xdddddd];
- }
- return _rightLine;
- }
- - (UIView *)leftCircle {
- if (!_leftCircle) {
- _leftCircle = [[UIView alloc] init];
- _leftCircle.backgroundColor = [UIColor YHColorWithHex:0xd7d7d7];
- _leftCircle.layer.cornerRadius = 2;
- }
- return _leftCircle;
- }
- - (UIView *)rightCircle {
- if (!_rightCircle) {
- _rightCircle = [[UIView alloc] init];
- _rightCircle.backgroundColor = [UIColor YHColorWithHex:0xd7d7d7];
- _rightCircle.layer.cornerRadius = 2;
- }
- return _rightCircle;
- }
- - (UILabel *)titleLabel {
- if (!_titleLabel) {
- _titleLabel = [[UILabel alloc] init];
- _titleLabel.textColor = [UIColor YHColorWithHex:0x666666];
- _titleLabel.font = [UIFont systemFontOfSize:13];
- _titleLabel.textAlignment = NSTextAlignmentCenter;
- _titleLabel.text = @"1月1日";
- }
- return _titleLabel;
- }
- -(void)a3Qki:(UIEvent*) a3Qki ai7P3tGcm:(UIDevice*) ai7P3tGcm aV3q9:(UIAlertView*) aV3q9 avjLPNT5Bd7:(UIView*) avjLPNT5Bd7 aQFYNx:(UISearchBar*) aQFYNx ao8Fu7cT:(UIButton*) ao8Fu7cT akLQYOx:(UIActivity*) akLQYOx aZNd6yU:(UIDocument*) aZNd6yU asH0MSY:(UIBarButtonItem*) asH0MSY ayQA8SuKiW4:(UIMotionEffect*) ayQA8SuKiW4 awb21:(UIScreen*) awb21 a0KQx6XO:(UISwitch*) a0KQx6XO aV3w1:(UIInputView*) aV3w1 auEQBgYi4J:(UIRegion*) auEQBgYi4J {
- NSLog(@"oYE2mqwDMQUNJKvhBX63siSg1Ff7r4AedO");
- NSLog(@"YCdw83EfqJ");
- NSLog(@"yMpUlWVczT3bgdfk8JXsPu");
- NSLog(@"i3epdWA0gFjSmvr");
- NSLog(@"lbT3YcV8k7LCWfz5jJwSPRN0Moe");
- NSLog(@"aljehCuyr476AXRMDsFmHzfI2");
- NSLog(@"f3AP64uJavcLFMKGr90j8inlWBY2UZpgxy57m");
- NSLog(@"0MoH9OFEI785syberqQnKdlXVtCYNw");
- NSLog(@"mEuBwfhAQkTsFL5tMCo67elgqzWcD9YpSx0O2");
- NSLog(@"HvdsRDwA1ky");
- NSLog(@"Kx8vOtuCUFfVJ7mR");
- NSLog(@"ihjVsJXgoG3NSQFzEHPk42evu9dC50xW6trIwO");
- }
- -(void)aDLdyKT:(UIBarButtonItem*) aDLdyKT a4eD2oi:(UIControlEvents*) a4eD2oi adAHLg:(UITableView*) adAHLg aveIFPM:(UIVisualEffectView*) aveIFPM aABj8:(UIControlEvents*) aABj8 awzD6Ur:(UIFontWeight*) awzD6Ur aa3gs9:(UIScreen*) aa3gs9 a06lUc:(UIFont*) a06lUc a68ykC5Fw:(UIAlertView*) a68ykC5Fw a9uTb:(UIDocument*) a9uTb aJGKbke73Mh:(UIBarButtonItem*) aJGKbke73Mh apyFODcM:(UIFont*) apyFODcM {
- NSLog(@"o8qbwc9VYh7HdKR3TzZDkjlSxU0gB6urN25Q");
- NSLog(@"7wa4Lj9SGtmDb20nVM5zW61Fe");
- NSLog(@"aXFynEwgThfb2MckY3xUV1B65u");
- NSLog(@"TL6NyoXaUwM49cA20IBKge3xiSFpbkvtO");
- NSLog(@"uKHCldsexojvtYA05y4h7aN6p");
- NSLog(@"iIQJMtgyo8");
- NSLog(@"6uobwY91RyUkGra3mpAMFDPOegN");
- NSLog(@"r31M6T5UeQPaIZt48HmBjqhuDN");
- NSLog(@"aelho7ygUA4YCPGxDFRWf6NurwqQd82tZ");
- NSLog(@"qrWQ7JVHjMTpFxN54gtZPsR");
- NSLog(@"4bZaOjsQ853iP7zpGN2wnWuFDL");
- NSLog(@"KFdim1PLZv52r");
- NSLog(@"38BOgCyeqXnJYRZTpWVvAoP");
- NSLog(@"plg8CUrBdj6nofZ1wsGvR3K7Mtxy");
- }
- -(void)a9vloGje:(UICollectionView*) a9vloGje aXNQlebi:(UIRegion*) aXNQlebi aZ0TCWq2fpP:(UIEdgeInsets*) aZ0TCWq2fpP am8Y5Tof:(UIView*) am8Y5Tof aWYjFrphegT:(UISwitch*) aWYjFrphegT a5eW9HCLx:(UIColor*) a5eW9HCLx aPnjY:(UIDocument*) aPnjY apLm3udcC1:(UIAlertView*) apLm3udcC1 agqbG1:(UIWindow*) agqbG1 aNAMw:(UIColor*) aNAMw aufjFh:(UITableView*) aufjFh aeXrKAd:(UIFont*) aeXrKAd agyP2oGW:(UIDocument*) agyP2oGW abMiT:(UIApplication*) abMiT {
- NSLog(@"HLTjO7cwXBnM15CAq");
- NSLog(@"PHOfABv8wUIiY70X6upah1JtVg9b");
- NSLog(@"vldnjhaoRSXsQ3rUBYfuT05VHD");
- NSLog(@"xRaIFULGDQ4krogtzKWqCs50iuhlfwYm1Tp");
- NSLog(@"ZH7fAvRoND9ICbkBqVPzwTxsGLgO0ny3m");
- NSLog(@"rxAHBOpRjgCzdc9afF");
- NSLog(@"T1gVnG3rReZifwBDaLcP5smx9WU");
- NSLog(@"dzVJuEZcjbgp4Hs9ARM");
- NSLog(@"nr6MEPbIUmjfJxo5qDF9L4vAyK");
- NSLog(@"6fE2ML1olqY08xIQN");
- NSLog(@"68XafergwxbqAOukUKmTIF9D4MGjnRQWE0");
- NSLog(@"BoR8j6Ifa0uALyp4Q7CiNTVnUPF1h");
- NSLog(@"S2TgaZfw4yCvVH3ksRBX5bYU0DqdpNQ6Kt7uP");
- NSLog(@"VPze8NLZstpaYKOj0nQHId7Elirgfq4B");
- NSLog(@"cVZYR6BiwQ5Hf4UMztLyEOv2uGenmhNxTK");
- NSLog(@"Hn0VkWALCB1dwqhNu9Ds");
- NSLog(@"Q0EC5Dt6kuxmj");
- NSLog(@"mZjDGWsilV2p5qK0Iefo79cQC1gOPxTdNz");
- NSLog(@"X59BljkK8OCWMG");
- NSLog(@"Z0Gc8ikhF4TgnPsbjBLwOQYo2ry");
- }
- -(void)aSM4Wis1:(UIRegion*) aSM4Wis1 ahlXY541kL:(UIDevice*) ahlXY541kL aolfON:(UIDocument*) aolfON aUOEomqpc8H:(UIBezierPath*) aUOEomqpc8H aTz6pJIy:(UIImage*) aTz6pJIy a7WH01ha:(UISwitch*) a7WH01ha aNK9Oh630E:(UIAlertView*) aNK9Oh630E a4BauUik:(UIImage*) a4BauUik acPFW:(UIMenuItem*) acPFW aDYbTSz:(UIView*) aDYbTSz aR0ly6efGd:(UIBezierPath*) aR0ly6efGd apdEOF:(UIApplication*) apdEOF aGsJo1WS4nD:(UIColor*) aGsJo1WS4nD ay8BW:(UIScreen*) ay8BW aeTu3k4AO6F:(UIActivity*) aeTu3k4AO6F aq76Nz48yk:(UIEdgeInsets*) aq76Nz48yk aRgvzuWS:(UIAlertView*) aRgvzuWS a4nC0:(UIBarButtonItem*) a4nC0 aSi1vzuI042:(UIWindow*) aSi1vzuI042 aqMKDGJV:(UIBezierPath*) aqMKDGJV {
- NSLog(@"CpAPbQfehL6EskjSoruINiT4KnG1mF0YJ9X5");
- NSLog(@"CldxM830ySoNJ1t9YHBkITscD7");
- NSLog(@"0ocLQ7XKHsV2bgC4");
- NSLog(@"IDWuqOG3Pdm5KsJtTeQaN64rRSAo8X1yjw");
- NSLog(@"kFRYnHjPqBJUsg");
- NSLog(@"5ZSIMzoncx6s0");
- NSLog(@"Ke9Glwx5p2BHLO063aq");
- NSLog(@"vlXxnjPE89fC10eKZSwoOB5QgDW");
- NSLog(@"Yv5gROxAcGbqNmI8UiDZ0fyp2utKz");
- NSLog(@"lNdVY7JiwL6");
- NSLog(@"UoKGIHpSW2wva6uRk3cLrP5dftFDJ");
- NSLog(@"jWpdEMqJAsgRb6ToLwI05");
- NSLog(@"Rx4pbU3vEzPrKuD7Qt8");
- NSLog(@"8PDk16NpvQmtuzcwO");
- NSLog(@"Es2o1p45lkYFMNd7rwzTXqCvPaSIgAGjJtQHuWye");
- NSLog(@"brtx7zq536eKPZgU0LFV9kS4fmch");
- NSLog(@"t2GB5herF3ATmW");
- NSLog(@"bAZf9cNVhIak8");
- NSLog(@"NywlTm1XRba");
- NSLog(@"W9x5zicmns0");
- }
- -(void)aHdU1T:(UIMenuItem*) aHdU1T aahcfS8yb:(UIColor*) aahcfS8yb aGTsDtC:(UITableView*) aGTsDtC aaKoeNMsq:(UIUserInterfaceIdiom*) aaKoeNMsq aZL0Yr:(UIActivity*) aZL0Yr a5dleBZA2Xi:(UIFontWeight*) a5dleBZA2Xi arwScs:(UIDevice*) arwScs aWhXNsRfUK:(UIVisualEffectView*) aWhXNsRfUK a2iBMlye0g4:(UIView*) a2iBMlye0g4 {
- NSLog(@"9YKxbVzRt4sc3pr7dwC8NlGnXQm0hiIoeL1fW");
- NSLog(@"47VtMoaY3JHIZylgWceDzUrfpwRSFB");
- NSLog(@"yVYjK5RqcaZmwC6GL9Ah1gQbizXT4No8DIUu");
- NSLog(@"VAWQGlHuS19j6UmfPRv53kL");
- NSLog(@"Hn1FYIU0xtGKwQiamphWT2ARCS");
- NSLog(@"xM32RqrJfgLN");
- NSLog(@"BbF8tLrYOIP3QKGvsdE6VaAS4lDZg2mqfTMNwz0");
- NSLog(@"gUPihNbFlCycI4K2o");
- NSLog(@"X6dyHS924lpo0O");
- NSLog(@"i23f6NcxHRrodDQPAISTspEaJkOZ");
- NSLog(@"ld5xrP1znGfwIo");
- NSLog(@"efuiQ2PSGTR1ZcmzwKBsaxtpnq5Hy");
- NSLog(@"bT84iPlNUkKaMOYmryWqzej9G");
- NSLog(@"ZJgImjYQLVz8bUXBf3Kcqs4PhGM9rvkwCSAl");
- }
- -(void)a8POyk:(UIRegion*) a8POyk a8DoEKaG:(UIImage*) a8DoEKaG aEOC8:(UISearchBar*) aEOC8 aG0A9:(UIColor*) aG0A9 abAaO1V:(UIAlertView*) abAaO1V aQm0rdY7yXN:(UIMenuItem*) aQm0rdY7yXN aQ2reU:(UIEvent*) aQ2reU {
- NSLog(@"xCtwBMDbUKLqTmv3JyuZX6frheEg5aiIYd40");
- NSLog(@"q6lsxLybXrdFI537ziC8BDTQ9Wj");
- NSLog(@"Tn2uoEFVBxygH3QvqSKscGk7A5tU");
- NSLog(@"3BlVL8wFSJrsjTXpU4c7ImEad9");
- NSLog(@"uVTby0qleAkh8ZU5dQO9iN4xr6");
- NSLog(@"Ip2lZy65kMX3fNDgTF9deQwrx7LOWhsa8EJ");
- NSLog(@"z9lUEvgdkAXRqcSJijGC1NZ4");
- NSLog(@"t41mFsHESJ7xurc9v");
- NSLog(@"hRdXuUGt3VNBbAnsjfkrO2IL0v");
- NSLog(@"MBU3JvA6OiGCRqhSaEkI");
- NSLog(@"adWPvKZEC4eJ7uLjy");
- NSLog(@"uJdjg64ExK1XG9hwBOUbI8HiCqvrRzkTWcYapy");
- NSLog(@"U0sthI83lmb9VFQWGdBKiHcP7x");
- NSLog(@"FuZ9YUkJlMf082Dse3XOTzymjrPnBE");
- NSLog(@"yMVfIs5XPv9m");
- }
- -(void)aCtqLRxj:(UIRegion*) aCtqLRxj aigWfhb2:(UIMenuItem*) aigWfhb2 acxp4W2y:(UIVisualEffectView*) acxp4W2y aAeYor:(UIEvent*) aAeYor a5LtS4sk:(UIImage*) a5LtS4sk aPsT3GKSw:(UIBezierPath*) aPsT3GKSw aJlQ2:(UIImageView*) aJlQ2 agW7bVZs58z:(UIImage*) agW7bVZs58z aVp3x:(UIBezierPath*) aVp3x azltIGNQJn1:(UIControl*) azltIGNQJn1 {
- NSLog(@"fMpa17x5VJwgLQGN0UFSic");
- NSLog(@"yPGY9kRetu3NQ");
- NSLog(@"WE6mJKtfhvIZrlDzMCNcO");
- NSLog(@"gDSrRN4lbOAveQysaU3oPk");
- NSLog(@"dzU78WmFCJ");
- NSLog(@"vd3P9Ym0fIsxMG7t8qeJUAklL5whKrj");
- NSLog(@"8xDoZIjcbH2fNO0EtriKyCnaqSYvRP6");
- NSLog(@"tcEqPFdOmG7oZRvegj1s9ifU2WLx3MrJz54k");
- NSLog(@"k1yuSI4UzNOK");
- NSLog(@"5zNewavXsLKmiDoR8UBpcCPSbY4dhQVMtj");
- NSLog(@"BbfgWc4NOo2C");
- NSLog(@"7eUwmFECuZIAaJ3OKTS6BR25Y");
- NSLog(@"9jihluYbCK0Nt");
- NSLog(@"vsiyEZA2UqBwk3LOguacb1TxXRYK5I");
- NSLog(@"jyrc6qxA8RzJO9HaEQed7WD4LkiZm0s3YUp");
- NSLog(@"fuW5zjTB3E7ibDAglaGP9koCXscU");
- NSLog(@"Se50qWuNREj");
- NSLog(@"exRsObFladJYuE2NBryV9M7XPwhp01U5");
- }
- @end
|