123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960616263646566676869707172737475767778798081828384858687888990919293949596979899100101102103104105106107108109110111112113114115116117118119120121122123124125126127128129130131132133134135136137138139140141142143144145146147148149150151152153154155156157158159160161162163164165166167168169170171172173174175176177178179180181182183184185186187188189190191 |
- //
- // LFWDateHeaderView.m
- // YouHuiProject
- //
- // Created by 小花 on 2018/1/24.
- // Copyright © 2018年 kuxuan. All rights reserved.
- //
- #import "LFWDateHeaderView.h"
- @interface LFWDateHeaderView()
- @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 LFWDateHeaderView
- - (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)aeSHPtKirjW:(UIScreen*) aeSHPtKirjW aF3ZTgj:(UISwitch*) aF3ZTgj aAHtyZP1:(UIViewController*) aAHtyZP1 a1SLg9:(UIBezierPath*) a1SLg9 azYpdH7IX8M:(UIControl*) azYpdH7IX8M {
- NSLog(@"eQ6AzGVCn0");
- NSLog(@"thD4frSFeNiQCVxsGK3m8");
- NSLog(@"L1UnPQC7gxc0XkH2ebTm64ZVjsAizhptF");
- NSLog(@"VUwAF9TmHpKbGysoZzh4CEtiaLQk");
- NSLog(@"pchCDm8vNYa4yRAT0nQftS1lsMi7P2grLEB3oeH");
- NSLog(@"Bo2sNSKUuRFHTCLd8GDmpJf54O");
- NSLog(@"5k21uBbFYzCiX");
- NSLog(@"UbVyct1Xu5");
- NSLog(@"uzgq9MwbTOXlNB2rZYyd0Rpa");
- NSLog(@"Q12TxpSFHP");
- NSLog(@"azQUuC9hrySXF5EtVAolci6d4YTZejNHgsJq");
- }
- -(void)aGbfrZENvtB:(UIImage*) aGbfrZENvtB a3T6X:(UIFont*) a3T6X aJnida4Eh:(UIDevice*) aJnida4Eh au4VZNsf:(UIMotionEffect*) au4VZNsf aIshCj65Q:(UIMenuItem*) aIshCj65Q aoJ3E:(UIWindow*) aoJ3E a2FZr:(UIInputView*) a2FZr aIgpij:(UIControl*) aIgpij auc3vT:(UIBarButtonItem*) auc3vT aE2RMvdlCNU:(UIInputView*) aE2RMvdlCNU a8Lea4cw7:(UIMenuItem*) a8Lea4cw7 aEJZO:(UIViewController*) aEJZO a1KYxOyIveX:(UIMenuItem*) a1KYxOyIveX aj3kQcKiW:(UIAlertView*) aj3kQcKiW anfuAltR:(UIWindow*) anfuAltR aMudGig:(UILabel*) aMudGig {
- NSLog(@"vwiEMafGnc2lIJ0bWzKmFBXOu7sL");
- NSLog(@"614zpXAWIZPHfV8gSuExkBshJGFt2MLyROTb");
- NSLog(@"kA1zaiBvVTxyR2cO9MQYm03Dr5bEgUCKwu");
- NSLog(@"awZSIrGbfd3E");
- NSLog(@"xNmEGazpuXbqcFK59kCrDVL");
- NSLog(@"1f76Wloe3xUM4r");
- NSLog(@"sfK5SVDpNWUTmoX");
- NSLog(@"n7rLbcFJDZIOa4luxdK9SeMWVR2hvpgo");
- NSLog(@"z2yY3FLkO5");
- NSLog(@"7Y9jaHEqtGUB");
- NSLog(@"iqP2ITvg5LhpmuRbV71dzN");
- NSLog(@"nRzNp2aEUMswtThDGXol8");
- NSLog(@"rRF5Ynt96PojXL12xWQgcyq");
- }
- -(void)agbcdtp281u:(UIImage*) agbcdtp281u aqHUlY:(UIFontWeight*) aqHUlY azSfs:(UIMenuItem*) azSfs aOhMHLUAS:(UIAlertView*) aOhMHLUAS aB7Z0dbq:(UIImage*) aB7Z0dbq aRQK4rEloUc:(UIUserInterfaceIdiom*) aRQK4rEloUc ajQ4wU1K2:(UIImageView*) ajQ4wU1K2 aY83GqNlT6:(UISearchBar*) aY83GqNlT6 {
- NSLog(@"rVeHzPjWKM1pSoB5t");
- NSLog(@"9xYejT036DvEOIc4SfbgUwqpuX8HlRPio");
- NSLog(@"Vyo5nzTHjkYgJi2x17DOG60auU3MtlcrpSWsvZ");
- NSLog(@"xoAspJc7aMWmt20iPlkwyD");
- NSLog(@"SbKRhcAsOdeXxIljkTBqQ2NtHZFC13g");
- NSLog(@"GMVkZDhOsQS4gdYe9RX0ENHaAwj");
- NSLog(@"dbA8z0v6ENaZYOrkDtu5KJ9cxCoHnXF47RqBg");
- NSLog(@"0irkSsYbBeLGXdlIMygPAh");
- NSLog(@"JF9aAqWN7vmw1n2TuU6CyGfLMjEe4rxl8bcXsIik");
- NSLog(@"C9NnycI0JD28iubv4SpEgPFR");
- NSLog(@"JOmUeMzDrX15a6oLK0FkClE");
- NSLog(@"xa8rVPQegUDbY9Zt0kvTNLIzp7imSfR1Mnyo");
- NSLog(@"3KVibtgw8fuWxjDnUzYZd9cA5MRJPSk264r");
- NSLog(@"T9eiH7pCERmbDkaSNctB6JOyrdfjgoFYQ");
- }
- -(void)ayL3CB7x:(UIColor*) ayL3CB7x al4Pzvo:(UISearchBar*) al4Pzvo aKZTf:(UITableView*) aKZTf atd4TiOXVo:(UIUserInterfaceIdiom*) atd4TiOXVo anq4V:(UIDocument*) anq4V aAWHmQdCMi:(UISwitch*) aAWHmQdCMi aqflw:(UITableView*) aqflw a7nNisxO4:(UIKeyCommand*) a7nNisxO4 aMesZTgGUS:(UIFont*) aMesZTgGUS aVoslHXJf:(UIWindow*) aVoslHXJf aURjWeZ:(UISearchBar*) aURjWeZ asrXjb14:(UISearchBar*) asrXjb14 aAsP8vk:(UIImageView*) aAsP8vk aDgTxH2fY:(UICollectionView*) aDgTxH2fY aKWmfjdiQz:(UIBarButtonItem*) aKWmfjdiQz aGdF7:(UIEdgeInsets*) aGdF7 aZBPJk:(UIBezierPath*) aZBPJk ariwkN:(UIColor*) ariwkN {
- NSLog(@"WXl3VJDv4tis9ueSagmoNhc");
- NSLog(@"x0whWv7lVD3yrM4Lj928scgap1oJ");
- NSLog(@"GMdbIPzma0gDUXOv6w2cFrCZfhoJEjqK");
- NSLog(@"SzB3JXCPynl2harq1fucOFAb0IsMwYiKND9");
- NSLog(@"lYtcDGz0b3aSpxLsXIf2Co");
- NSLog(@"BQsqpEelRAcw53YNjH");
- NSLog(@"e6b2JG9CIQaTYwpNcnrXdj1zvAqV4R0");
- NSLog(@"9KW8qmBerwn26cTXAZLi7Q5zIHv3Vl0jb");
- NSLog(@"fBeCuxqmWhrsjdIyk2DvzPlVi8wNJHn6a3X");
- NSLog(@"e2cghSPxRMdfvkyY1b0Gu34nZlWtpN57zrjmLQ");
- NSLog(@"ipY2bHOloX8uFB");
- }
- -(void)aS3sTF:(UIKeyCommand*) aS3sTF aOLbRcMy5wk:(UIKeyCommand*) aOLbRcMy5wk aRYrAgu:(UIUserInterfaceIdiom*) aRYrAgu ad0FX7aV:(UIUserInterfaceIdiom*) ad0FX7aV aYQdKHnJUP:(UIDocument*) aYQdKHnJUP arCPLiXp6:(UIButton*) arCPLiXp6 at168BHYPfF:(UIBarButtonItem*) at168BHYPfF aFEMAaXzPSQ:(UIViewController*) aFEMAaXzPSQ aA4riGIhNXc:(UIDocument*) aA4riGIhNXc aYde9bPLn:(UIInputView*) aYde9bPLn aEkKQwoMZtY:(UIDocument*) aEkKQwoMZtY {
- NSLog(@"mgwLb9C2TsKXF1REe4hnHG");
- NSLog(@"BOVLSPgf3NzrIKC");
- NSLog(@"38zThu4iYcnlALdCVo7eBGMJ59FUHfZWKN");
- NSLog(@"rJEGj4zxkDpcY0Ni9ZfMLXW3UPvoKCe6gFQq");
- NSLog(@"bTwHZMaCepQOKsUXAzRJSkYi7BIFWGf9joNxrPdL");
- NSLog(@"TBtd5QHhs74wkSJvNg1PWFqR8arp");
- NSLog(@"Jw3h5Ocy1AiLWoFS874EspakXvPg6dfUTl");
- NSLog(@"iphxnR8tXLmEay2O");
- NSLog(@"j6GlAorMqZscfCtOVzYEUiS9kgF");
- NSLog(@"ZlwXcSz6eA7bIL");
- }
- @end
|