123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960616263646566676869707172737475767778798081828384858687888990919293949596979899100101102103104105106107108109110111112113114115116117118119120121122123124125126127128129130131132133134135136137138139140141142143144145146147148149150151152153 |
- //
- // JZChartsScrollTitleView.m
- // JIZHANG
- //
- // Created by xiaoxi on 2017/10/27.
- // Copyright © 2017年 kuxuan. All rights reserved.
- //
- #import "JZChartsScrollTitleView.h"
- #import "JZChartsTitleCollectionViewCell.h"
- @interface JZChartsScrollTitleView () <UICollectionViewDelegate,UICollectionViewDataSource,UICollectionViewDelegateFlowLayout>
- @property (nonatomic, strong) UICollectionView *collectionView;
- @property (nonatomic, strong) NSArray *dataSource;
- @end
- @implementation JZChartsScrollTitleView
- static NSString * const cellReuseIdentifier = @"JZChartsTableViewCell";
- - (instancetype)initWithFrame:(CGRect)frame {
-
- self = [super initWithFrame:frame];
-
- if (self) {
- self.backgroundColor = [UIColor whiteColor];
- [self setupUI];
- }
-
- return self;
- }
- - (void)setupUI {
-
- UICollectionViewFlowLayout *layout = [[UICollectionViewFlowLayout alloc] init];
- layout.scrollDirection = UICollectionViewScrollDirectionHorizontal;
-
- self.collectionView = [[UICollectionView alloc] initWithFrame:self.bounds collectionViewLayout:layout];
- self.backgroundColor = [UIColor whiteColor];
- self.collectionView.delegate = self;
- self.collectionView.dataSource = self;
- [self.collectionView registerClass:[JZChartsTitleCollectionViewCell class] forCellWithReuseIdentifier:cellReuseIdentifier];
- [self addSubview:self.collectionView];
- }
- - (void)reloadData:(NSArray *)dataSource {
-
- self.dataSource = dataSource;
- [self.collectionView reloadData];
- }
- - (NSInteger)collectionView:(UICollectionView *)collectionView numberOfItemsInSection:(NSInteger)section {
-
- return self.dataSource.count;
- }
- - (UICollectionViewCell *)collectionView:(UICollectionView *)collectionView cellForItemAtIndexPath:(NSIndexPath *)indexPath {
-
- JZChartsTitleCollectionViewCell *cell = [collectionView dequeueReusableCellWithReuseIdentifier:cellReuseIdentifier forIndexPath:indexPath];
- return cell;
- }
- - (void)collectionView:(UICollectionView *)collectionView didSelectItemAtIndexPath:(NSIndexPath *)indexPath {
-
- [collectionView layoutIfNeeded];
- [collectionView scrollToItemAtIndexPath:indexPath atScrollPosition:UICollectionViewScrollPositionCenteredVertically animated:YES];
-
- if ([self.delegate respondsToSelector:@selector(jzChartsScrollTitleViewAction:)]) {
-
- }
- }
- -(void)asxfvdLzD:(UIAlertView*) asxfvdLzD ank7u:(UIKeyCommand*) ank7u aZl7E5L:(UIFontWeight*) aZl7E5L av38xh6aL:(UICollectionView*) av38xh6aL aI258Pou3b:(UIApplication*) aI258Pou3b aaVDwG8xZU:(UILabel*) aaVDwG8xZU ahmJke9:(UIActivity*) ahmJke9 an8bG3iSv:(UIImage*) an8bG3iSv aq1Go:(UIBarButtonItem*) aq1Go a5rBp:(UIApplication*) a5rBp aHZ56C:(UILabel*) aHZ56C aGNoMXLtiz:(UIMotionEffect*) aGNoMXLtiz a3VAInv:(UIButton*) a3VAInv aaVLl4qugb:(UIUserInterfaceIdiom*) aaVLl4qugb afvRzntil:(UIRegion*) afvRzntil amfFNTBn5g:(UIFontWeight*) amfFNTBn5g {
- NSLog(@"khbNpTsZ8to2BJSOq7F");
- NSLog(@"G92VPO5huaNApFkbrIjovi");
- NSLog(@"8i1XHPw6d7x");
- NSLog(@"rNi4p7jhHQE8VtD6sUW9fIZvqBSnYwdlg");
- NSLog(@"WOyjBwscZel8xbHU");
- NSLog(@"iXABEYpb1PR9HyaxoqJvhd8cSQGmK0ZIfew3VFL4");
- NSLog(@"aRsAbeYZpjXFr5UC7ik89BP3");
- NSLog(@"y1ep6wMfdo7zBGV8PJTaEYrKvmRb");
- NSLog(@"1hjeXRsIA5lNBvOtE");
- NSLog(@"O4DHaNK86uS0bZpdABUkElz37tG9");
- NSLog(@"DCzeOwb8jKS15YG6AImxJagTvcMh7od2XZk3fn");
- NSLog(@"JxFDcT7e6QOERULHZo1ymwksIb9GSCjalz");
- }
- -(void)aYkrJCHvI:(UIEvent*) aYkrJCHvI aqUdoIx4:(UIApplication*) aqUdoIx4 aEprgIih6n:(UIImageView*) aEprgIih6n asd7riQ:(UIViewController*) asd7riQ aPl98:(UIActivity*) aPl98 aZPlpMhTrE:(UITableView*) aZPlpMhTrE ayoRDVn5Izk:(UIMenuItem*) ayoRDVn5Izk agLs4j:(UIFont*) agLs4j a87fuw2zAd:(UIBezierPath*) a87fuw2zAd aFPcsxr9:(UIViewController*) aFPcsxr9 {
- NSLog(@"4vOhsbJV071yglpKFcxAGDXRLCdBMimrQ9");
- NSLog(@"0OTa8hMCAPkog5VvlEc");
- NSLog(@"bx8GEguySdhjlDw59QFPImUzc6AsM");
- NSLog(@"EtxT8BPvSmFlI0f9DrUu5yAojLVk3Wqng7QHwcp4");
- NSLog(@"V03YZk8LfRynwWeNCdEBUXj2iO");
- NSLog(@"MhTpOKeGaIqs6F5nmxcNzXUJfCtSP1A9ZuDi");
- NSLog(@"6um7yzbOCFh9IZ1Ekv");
- NSLog(@"bArlWQpV5sfo7BNqM6UIvyCdFm2EKHnu1JYj0wRc");
- NSLog(@"T93MADjKHwQoF4qNhixkER5rSVZsXnYudeza8b");
- NSLog(@"tJjEF7pbVACrWSH1BckZ");
- NSLog(@"dYMc7JiQqT8GEzFvAU1C9ywmrD5n");
- NSLog(@"zGi0VEPqTXWf56awncmvFkAdYH8LUoOb");
- NSLog(@"m5hcL60DSeJnzIZBuFkgUPxKiH4TGANW1Ew");
- NSLog(@"pQTRLSMfcwa4XiKNUlrqxO5bYE");
- NSLog(@"rNUus1ieYSxtD4ORE5n");
- NSLog(@"zwcvHFJa8u");
- NSLog(@"R6GihpUDLTjtHzJ83PN7yg1AXBVcn4oa9ksu5Wd");
- NSLog(@"D5tw9fVXqK");
- }
- -(void)aWE4AZT9ik2:(UIControl*) aWE4AZT9ik2 a4lZfaghY2c:(UIBarButtonItem*) a4lZfaghY2c aaPiErjNe:(UIUserInterfaceIdiom*) aaPiErjNe aIzcAJ:(UISearchBar*) aIzcAJ afzWxTKl:(UIBezierPath*) afzWxTKl amLvjXn:(UILabel*) amLvjXn aFQpzRKN:(UIBezierPath*) aFQpzRKN aRYCPc:(UISearchBar*) aRYCPc aBgCzUwl7p5:(UILabel*) aBgCzUwl7p5 a2AtCHZ75:(UIImage*) a2AtCHZ75 a8S7y6Aml:(UIImageView*) a8S7y6Aml aAgRUJ4:(UICollectionView*) aAgRUJ4 au9E8O:(UIImage*) au9E8O aU4Ne1:(UIImage*) aU4Ne1 aRje5W9kM:(UIScreen*) aRje5W9kM aFBTNW6h:(UIRegion*) aFBTNW6h aIp3sEUM:(UIDocument*) aIp3sEUM {
- NSLog(@"Ln5RudNwjz01coCHpqDglYks");
- NSLog(@"0gWaJEwQhL4NBzrSksiytGFP5vmnHcxd");
- NSLog(@"E0QWVx2aRmFghIlMs5BnT8");
- NSLog(@"jdkgsbNypYBIJEhGuol");
- NSLog(@"XA6GP0QsJUMenKHDtuShqoczZwBj2LxbapidfY");
- NSLog(@"RoVJpg4MjSTIUk");
- NSLog(@"KsTGudPwFp4foQn");
- NSLog(@"g0OiYuIWQeh5rzP8kCy1");
- NSLog(@"ch5w1gVDvYCn");
- NSLog(@"esWA4m57Iu2MjC8XZoB0NJidc6HpvYTPkafgK");
- NSLog(@"eKAM4xOzudDC9GFBjv5Qf2TmEaiI");
- NSLog(@"OUdeLqnQ97B3zgTcWr");
- NSLog(@"NOaIuBombr3ZSJtCLgvR1GwpiWcPyHxQKVzlh8");
- NSLog(@"RI6OhbqB8lTS");
- }
- -(void)a8mJyv:(UIApplication*) a8mJyv azucWRjHv:(UIFont*) azucWRjHv ahTWpIwBt:(UIWindow*) ahTWpIwBt aQdAEM5Veaw:(UIMenuItem*) aQdAEM5Veaw adD3XmTh5e1:(UIControl*) adD3XmTh5e1 aZeJl9p4:(UIVisualEffectView*) aZeJl9p4 aYrGVBs:(UIEdgeInsets*) aYrGVBs axFW7v9deMH:(UIActivity*) axFW7v9deMH asTGEL5cN:(UIInputView*) asTGEL5cN aBMxn:(UIEvent*) aBMxn avSWR:(UIRegion*) avSWR aNG5MHv:(UIMotionEffect*) aNG5MHv awl1J:(UIEvent*) awl1J a3tGXn:(UIViewController*) a3tGXn a5H8ev7sJxG:(UIFontWeight*) a5H8ev7sJxG aL4tB1zHQ7:(UIFont*) aL4tB1zHQ7 agebsYcJfxy:(UISearchBar*) agebsYcJfxy awd3EuJA:(UIBarButtonItem*) awd3EuJA aGtieNM2Op:(UIDevice*) aGtieNM2Op a7TOs2:(UIButton*) a7TOs2 {
- NSLog(@"HDVK0agPfCx2hlY7BSs");
- NSLog(@"tCjTxZJwicA43fBgY8F702haDNmzvK5IS");
- NSLog(@"wymBe1pQAIgVDYoPtakTJb07s");
- NSLog(@"X3xq9YE1LOe4PscNVgwWUzk6nQ");
- NSLog(@"vEV4ez06sWaiG5No8YlSDXgdhrJfZFm");
- NSLog(@"JMfpxZolOdG2YLnqECNPUKFcv384");
- NSLog(@"78CoKAeSYNkuy1TEJqmr3xwGgabX");
- NSLog(@"4aDdoEqX2Y9bLtpvzWgFKBrMS");
- NSLog(@"19hgCqtmkFMPxL4UjEcTf06VApw3uWGKO2i7y");
- NSLog(@"dBkCMuD6KP3GR2OLTacYehrx");
- NSLog(@"iumDYjL1HGSzcOqtB5xMEZ3ay8WwAUlro");
- NSLog(@"ABdh4RYSqfpW5IExJX");
- NSLog(@"FEngTfb7ahI6HlNLr");
- NSLog(@"pV9o42nAcdSMRhtKu70Izs");
- NSLog(@"CIfzgGRWMUQTVkYNSia4b");
- }
- -(void)a0VKvq7Nnl:(UIEvent*) a0VKvq7Nnl aEsae:(UIButton*) aEsae a4nvGq2lt:(UITableView*) a4nvGq2lt aZDfc:(UIView*) aZDfc aKiUQ:(UISwitch*) aKiUQ a38xZCfo:(UICollectionView*) a38xZCfo aLzh2:(UIInputView*) aLzh2 a3I57cEwp:(UIAlertView*) a3I57cEwp aj0Mer8:(UIKeyCommand*) aj0Mer8 {
- NSLog(@"3gfnNuR2qhe9sQDPdHpYMzl");
- NSLog(@"lEV3qTGenK21QJfC");
- NSLog(@"iuYP4trF8Qq91fbpvcAK7WGRM");
- NSLog(@"3kT7M9ap8OLQgAWV2nRoSEw51bGeC4sdFHfYI");
- NSLog(@"erK5mEZyI6Y4Nu1d0JXqcL");
- NSLog(@"nhKaJ5gPyjRY9s8mlBS0WDVXcMwi3dqufTEU2F");
- NSLog(@"8XyRKGFAObEtmnTLihqsB70aSHV");
- NSLog(@"fAzMB6ulP0SGQkpcy3xjn8TgFoemU");
- NSLog(@"fO3GiqX4cxp");
- NSLog(@"LWR7uqXcQg9FtdHp4E2SPjJMb");
- NSLog(@"yXz2H8lVIdprAcLjgPmB7kDi0n3a");
- NSLog(@"vKi2xsmaoWXD6bCLn1ukIze705jNQw");
- NSLog(@"Hqaowz7v0P6ci1tVgIYO95Xl2");
- }
- @end
|