123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960616263646566676869707172737475767778798081828384858687888990919293949596979899100101102103104105106107108109110111112113114115116117118119120121122123124125126127128129130131132133134135136137138139140141142143144145146147148149150151152153154155156157158159160161162163164165166167168169170171172173174175176177178179180181182183184185186187188189190191192193194195196197198199200201202203204205206207208209210211212213214215216217218219220221222223224225226227228229230231232233234235236237238239240241242243244245246247248249250251252253254255256257258259260261262263264265266267268269270271272273274275276277278279280281282283284285286287288289290291292293294295296297298299300301302303304305306307308309310311312313314315316317318319320321322323324325326327328329330331332333334335336337338339340341342343344345346347348349350351352353354355356357358359360361362363364365366367368369370371372373374375376377378379380381382383384385386387388389390391392393394395396397398399400401402403404405406407408409410411412413414415416417418419420421422423424425426427428429430431432433434435436437438439440441442443444445446447448449450451452453454455456457458459460461462463464465466467468469470471472473474475476477478479480481482483484485486487488489490491492493494495496497498499500501502503504505506507508509510511512513514515516517518519520521522523524525526527528529530531532533534535536537538539540541542543544545546547548549550551552553554555556557558559560561562563564565566567568569570571572573574575576577578579580581582583584585586587588589590591592593594595596597598599600601602603604605606607608609610611612613614615616617618619620621622623624625626627628629630631632633634635636637638639640641642643644645646647648649650651652653654655656657658659660661662663664665666667668669670671672673674675676677678679680681682683684685686687688689690691692693694695696697698699700701702703704705706707708709710711712713714715716717718719720721722723724725726727728729730731732733734735736737738739740741742743744745746747748749750751752753754755756757758759760761762763764765766767768769770771772773774775776777778779780781782783784785786787788789790791792793794795796797798799800801802803804805806807808809810811812813814815816817818819820821822823824825826827828829830831832833834835836837838839840841842843844845846847848849850851852853854855856857858859860861862863864865866867868869870871872873874875876877878879880881882883884885886887888889890891892893894895896897898899900901902903904905906907908909910911912913914915916917918919920921922923924925926927928929930931932933934935936937938939940941942943944945946947948949950951952953954955956957958959960961962963964965966967968 |
- //
- // JZPlusViewController.m
- // JIZHANG
- //
- // Created by kuxuan on 2017/10/18.
- // Copyright © 2017年 kuxuan. All rights reserved.
- //
- #import "JZPlusViewController.h"
- #import "JZPlusCollectionViewCell.h"
- #import "JZPlusModel.h"
- #import "JZPlusChooseView.h"
- #import "JZPlusSettingViewController.h"
- #import "JZTabBarViewController.h"
- #import "JZHttp.h"
- #import "JZLoginManager.h"
- #import "JZPhoneLoginViewController.h"
- #import <IQKeyboardManager.h>
- #import "JZDayDataModel.h"
- #import "AppDelegate.h"
- #import "JZSegmentView.h"
- #import "JZLoginViewController.h"
- #import "QBImagePickerController.h"
- #import "JZNumberKeyBoard.h"
- #import "MWPhotoBrowser.h"
- #import "JZCollectionViewHorizontalLayout.h"
- @interface JZPlusViewController () <UICollectionViewDelegate,UICollectionViewDataSource,UICollectionViewDelegateFlowLayout,JZPhoneLoginViewControllerDelegate,JZSegmentViewDelegate,PGDatePickerDelegate,UITextFieldDelegate,JZNumberKeyBoardDelegate,UIImagePickerControllerDelegate,UINavigationControllerDelegate,MWPhotoBrowserDelegate>
- {
- NSString *_type;
- UIButton *_navButton;
- }
- @property (nonatomic, strong) UICollectionView *contentView;
- @property (nonatomic, strong) NSMutableArray *dataSource;
- @property (nonatomic, strong) JZPlusChooseView *plusChooseView;
- @property (nonatomic, strong) JZSegmentView *segView;
- @property (nonatomic, strong) UIButton *dateButton; //日期选择按钮
- @property (nonatomic, strong) UITextField *amountTF; //金额
- @property (nonatomic, strong) UITextField *remarkTF; //备注
- @property (nonatomic, strong) UIButton *picButton; //添加图片
- @property (nonatomic, strong) PGDatePicker *pgDatePicker; //日期选择
- @property (nonatomic, strong) UIPageControl *pageControl; //
- @property (nonatomic, strong) JZPlusModel *pModel;
- @property (nonatomic, strong) UIImagePickerController *picker;
- @property (nonatomic, strong) UIImage *picImage; //选的图片
- @property (nonatomic, strong) NSMutableArray *imageArray;
- @property (nonatomic, strong) MWPhotoBrowser *browser;
- @end
- @implementation JZPlusViewController
- static NSString * const cellReuseIdentifier = @"JZPlusCollectionViewCell";
- - (NSMutableArray *)dataSource {
- if (!_dataSource) {
- _dataSource = [NSMutableArray array];
- }
- return _dataSource;
- }
- - (void)viewDidDisappear:(BOOL)animated{
- [super viewDidDisappear:animated];
-
- [IQKeyboardManager sharedManager].enableAutoToolbar = YES;
- }
- - (void)viewDidLayoutSubviews {
- [super viewDidLayoutSubviews];
- }
- - (void)viewDidLoad {
- [super viewDidLoad];
- // Do any additional setup after loading the view.
- [IQKeyboardManager sharedManager].enableAutoToolbar = NO;
- [self setNav];
- [self createView];
-
- [self loadWebRequest];
-
- }
- - (void)loginCancelAction {
-
- [self dismissAction];
- }
- - (void)setNav
- {
- [self addLeftBarButtonItemWithImageName:@"mine_back" title:nil target:self selector:@selector(dismissAction)];
-
- [self addRightBarButtonItemWithImageName:nil title:@"保存" target:self selector:@selector(saveAction)];
-
- self.segView = [[JZSegmentView alloc] initWithFrame:CGRectMake(0, 0, FitSize(160), 30) segArray:@[@"支出",@"收入"]];
- if (self.isAdd == YES) {
- _type = @"2";
- }else{
- _type = [NSString stringWithFormat:@"%@",self.dayDataModel.type];
- if ([_type isEqualToString:@"1"]) {
- self.segView.selectIndex = 1;
- }else{
- self.segView.selectIndex = 0;
- }
-
- }
- self.segView.delegate = self;
- self.navigationItem.titleView = self.segView;
- }
- - (void)segmentViewDidClick:(JZSegmentView *)seg index:(NSInteger)index{
- [self segViewShowWithType:[NSString stringWithFormat:@"%ld",index]];
- }
- - (void)segViewShowWithType:(NSString *)type{
- if ([type isEqualToString:@"1"]) {
- _type = @"1";
- } else {
- _type = @"2";
- }
- [self loadWebRequest];
- }
- //设置图片居右
- - (void)setImageToRight:(UIButton *)btn
- {
- NSDictionary *attribute = @{NSFontAttributeName:btn.titleLabel.font};
- //获取文本的宽度
- CGFloat btnWidth = [btn.titleLabel.text boundingRectWithSize:CGSizeMake(0, 15)
- options:\
- NSStringDrawingTruncatesLastVisibleLine |
- NSStringDrawingUsesLineFragmentOrigin |
- NSStringDrawingUsesFontLeading
- attributes:attribute
- context:nil].size.width;
-
-
- //通过调节文本和图片的内边距到达目的
- btn.imageEdgeInsets = UIEdgeInsetsMake(0, btnWidth, 0, -btnWidth);
- [btn setTitleEdgeInsets:UIEdgeInsetsMake(0, -btn.imageView.image.size.width, 0, btn.imageView.image.size.width)];
- }
- - (void)dismissAction
- {
- [[JZNumberKeyBoard sharedBoard] clear];
- [self.navigationController popToRootViewControllerAnimated:YES];
- }
- - (void)saveAction{
- NSArray *strArray = [self.amountTF.text componentsSeparatedByString:@"."];
- if (self.amountTF.text.length == 0||self.amountTF.text.floatValue < 0.01) {
- [self showAlert];
- }else if ([self.amountTF.text containsString:@"+"]||[self.amountTF.text containsString:@"-"]){
- [self showAlert];
- }else if(strArray.count > 2){
- [self showAlert];
- }else{
- if (self.isAdd == YES) {
- NSDictionary *para = @{@"category_id":self.pModel.Id,@"type":_type,@"account":self.amountTF.text,@"time":[self getTimeInterval],@"demo":self.remarkTF.text};
- UIImage *image = self.picButton.imageView.image;
- NSData *data;
- if ([image isEqual:[UIImage imageNamed:@"plus_add"]]) {
- data = [NSData data];
- }else{
- data = UIImageJPEGRepresentation(self.picImage,0.5);
- }
- NSString *urlString = [NSString stringWithFormat:@"%@/addUserBill",URL];
- [JZHttp uploadImageWithUrl:urlString para:para name:@"img" imageData:data imageName:@"plusImage" success:^(id json) {
- [self.navigationController popViewControllerAnimated:YES];
- [[JZNumberKeyBoard sharedBoard] clear];
- NSDictionary *dict = json[@"data"];
- NSString *title = dict[@"title"];
- if ([json[@"first"] isEqual:@(1)]) {
- dispatch_async(dispatch_get_main_queue(), ^{
- [[NSNotificationCenter defaultCenter]postNotificationName:JZFIRSTNOTE object:nil];
- });
-
- }
- if (title.length) {
- [[NSUserDefaults standardUserDefaults] setObject:title forKey:JZMarkTitle];
- [[NSUserDefaults standardUserDefaults] synchronize];
- }
- } failure:^(NSError *error) {
-
- }];
- }else{
- NSDictionary *para = @{@"category_id":self.pModel.Id,@"type":_type,@"account":self.amountTF.text,@"time":[self getTimeInterval],@"demo":self.remarkTF.text,@"bill_id":self.dayDataModel.Id};
- UIImage *image = self.picButton.imageView.image;
- NSData *data;
- if ([image isEqual:[UIImage imageNamed:@"plus_add"]]) {
- data = [NSData data];
- }else{
- data = UIImageJPEGRepresentation(self.picImage,0.5);
- }
- NSString *urlString = [NSString stringWithFormat:@"%@/updateUserBill",URL];
- [JZHttp uploadImageWithUrl:urlString para:para name:@"img" imageData:data imageName:@"plusImage" success:^(id json) {
- [self.navigationController popToRootViewControllerAnimated:YES];
- [[JZNumberKeyBoard sharedBoard] clear];
- } failure:^(NSError *error) {
-
- }];
- }
- }
- }
- - (void)showAlert{
- UIAlertController *alert = [UIAlertController alertControllerWithTitle:@"错误提示" message:@"请输入有效的金额" preferredStyle:UIAlertControllerStyleAlert];
- [alert addAction:[UIAlertAction actionWithTitle:@"确定" style:UIAlertActionStyleDefault handler:^(UIAlertAction * _Nonnull action) {
- return;
- }]];
- [self presentViewController:alert animated:YES completion:nil];
- }
- - (void)jzPlusChooseViewAction:(NSString *)type {
-
- if ([type isEqualToString:@"1"]) {
- [_navButton setTitle:@"收入" forState:0];
- } else {
- [_navButton setTitle:@"支出" forState:0];
- }
- if (![type isEqualToString:_type]) {
- _type = type;
-
- [self loadWebRequest];
- }
- }
- - (void)loadWebRequest {
-
- NSString *urlString = [NSString stringWithFormat:@"%@/getAllCategory",URL];
- [JZHttp post:urlString params:@{@"type":_type} success:^(id json) {
- NSArray *systemArr = [NSArray yy_modelArrayWithClass:[JZPlusModel class] json:json[@"system"]];
- NSArray *customArr = [NSArray yy_modelArrayWithClass:[JZPlusModel class] json:json[@"custom"]];
- [self.dataSource removeAllObjects];
- [self.dataSource addObjectsFromArray:systemArr];
- [self.dataSource addObjectsFromArray:customArr];
- JZPlusModel *mo = [[JZPlusModel alloc] init];
- mo.name = @"设置";
- mo.icon = @"ic_set";
- [self.dataSource addObject:mo];
- self.pModel = self.dataSource[0];
- [self.contentView reloadData];
- self.pageControl.numberOfPages = (self.dataSource.count - 1)/12 + 1;
- } failure:^(NSError *error) {
-
- }];
-
- }
- - (void)createView {
-
- UIView *backView = [[UIView alloc]initWithFrame:CGRectMake(0, 0, SCREEN_WIDTH, 260*SCREEN_MUTI)];
- backView.backgroundColor = [UIColor whiteColor];
- [self.view addSubview:backView];
-
- UITextField *amountTF = [[UITextField alloc]initWithFrame:CGRectMake(14, 0, SCREEN_WIDTH - 28, 60*SCREEN_MUTI)];
- self.amountTF = amountTF;
- amountTF.delegate = self;
- [amountTF becomeFirstResponder];
- amountTF.tintColor = [UIColor baseColor];
- amountTF.inputView = [JZNumberKeyBoard sharedBoard].window;
- [JZNumberKeyBoard sharedBoard].delegate = self;
- amountTF.keyboardType = UIKeyboardTypeNumbersAndPunctuation;
- amountTF.text = @"0.00";
- if (self.isAdd == NO) {
- amountTF.text = self.dayDataModel.account;
- [JZNumberKeyBoard sharedBoard].editString = self.dayDataModel.account;
- }
- amountTF.textColor = [UIColor baseColor];
- amountTF.font = FONT_BOLD(24*SCREEN_MUTI);
- [backView addSubview:amountTF];
-
- UILabel *lineLabel = [[UILabel alloc]initWithFrame:CGRectMake(14, 60, SCREEN_WIDTH - 28, 0.3)];
- lineLabel.backgroundColor = [UIColor lineColor];
- [backView addSubview:lineLabel];
-
- JZCollectionViewHorizontalLayout *collectionVFL = [[JZCollectionViewHorizontalLayout alloc] init];
- collectionVFL.rowCount = 2;
- collectionVFL.itemCountPerRow = 6;
- collectionVFL.minimumInteritemSpacing = 1;
- collectionVFL.minimumLineSpacing = 0;
- collectionVFL.scrollDirection = UICollectionViewScrollDirectionHorizontal;
-
- self.contentView = [[UICollectionView alloc] initWithFrame:CGRectMake(0, 80*SCREEN_MUTI, SCREEN_WIDTH, 135*SCREEN_MUTI) collectionViewLayout:collectionVFL];
- self.contentView.backgroundColor = [UIColor whiteColor];
- self.contentView.showsHorizontalScrollIndicator = NO;
- self.contentView.pagingEnabled = YES;
- self.contentView.delegate = self;
- self.contentView.dataSource = self;
- [self.contentView registerClass:[JZPlusCollectionViewCell class] forCellWithReuseIdentifier:cellReuseIdentifier];
- [backView addSubview:self.contentView];
-
- NSArray *picArray = @[@"plus_date",@"plus_remark",@"plus_pic"];
- for (int i = 0; i < 3; i ++) {
- UIImageView *imageView = [[UIImageView alloc]initWithFrame:CGRectMake(14, (275*SCREEN_MUTI) + 50*SCREEN_MUTI*i, 20*SCREEN_MUTI, 20*SCREEN_MUTI)];
- imageView.image = [UIImage imageNamed:picArray[i]];
- [self.view addSubview:imageView];
-
- UILabel *lineLabel = [[UILabel alloc]initWithFrame:CGRectMake(14, (260*SCREEN_MUTI) + 50*SCREEN_MUTI*i, SCREEN_WIDTH - 28, 0.3)];
- lineLabel.backgroundColor = [UIColor lineColor];
- [self.view addSubview:lineLabel];
- }
-
- UIButton *dateButton = [UIButton buttonWithType:UIButtonTypeCustom];
- self.dateButton = dateButton;
- dateButton.frame = CGRectMake(50,260*SCREEN_MUTI, 200, 50*SCREEN_MUTI);
- if (self.isAdd == YES) {
- [dateButton setTitle:[self getTodayString] forState:UIControlStateNormal];
- }else{
- [dateButton setTitle:[self.dayDataModelTime substringToIndex:9] forState:UIControlStateNormal];
- }
-
- dateButton.titleLabel.font = FONT_SYS(14);
- [dateButton addTarget:self action:@selector(dateAction) forControlEvents:UIControlEventTouchUpInside];
- [dateButton setTitleColor:[UIColor middleTitleColor] forState:UIControlStateNormal];
- dateButton.contentHorizontalAlignment = UIControlContentHorizontalAlignmentLeft;
- [self.view addSubview:dateButton];
-
- UITextField *remarkTF = [[UITextField alloc]initWithFrame:CGRectMake(50, 310*SCREEN_MUTI, 200, 50*SCREEN_MUTI)];
- self.remarkTF = remarkTF;
- remarkTF.placeholder = @"备注";
- remarkTF.text = self.dayDataModel.demo;
- remarkTF.textColor = [UIColor middleTitleColor];
- remarkTF.font = FONT_SYS(14*SCREEN_MUTI);
- [self.view addSubview:remarkTF];
-
- self.picButton = [UIButton buttonWithType:UIButtonTypeCustom];
- self.picButton.frame = CGRectMake(50, 380*SCREEN_MUTI, 74*SCREEN_MUTI, 74*SCREEN_MUTI);
- if (self.isAdd == YES) {
- [self.picButton setImage:[UIImage imageNamed:@"plus_add"] forState:UIControlStateNormal];
- }else{
- if (self.dayDataModel.img.length) {
- [[SDWebImageManager sharedManager]downloadImageWithURL:[NSURL URLWithString:self.dayDataModel.img] options:0 progress:^(NSInteger receivedSize, NSInteger expectedSize) {
-
- } completed:^(UIImage *image, NSError *error, SDImageCacheType cacheType, BOOL finished, NSURL *imageURL) {
- [self.picButton setImage:[self getCropImage:image andRect:[self getImageRect:image]] forState:UIControlStateNormal];
- }];
- }else{
- [self.picButton setImage:[UIImage imageNamed:@"plus_add"] forState:UIControlStateNormal];
- }
-
-
- }
-
- [self.picButton addTarget:self action:@selector(picAction) forControlEvents:UIControlEventTouchUpInside];
- [self.view addSubview:self.picButton];
-
- self.pageControl = [[UIPageControl alloc]initWithFrame:CGRectMake(SCREEN_WIDTH/2 - 80, 230*SCREEN_MUTI, 160, 10)];
- self.pageControl.pageIndicatorTintColor= [UIColor JZColorWithHex:0xe5e5e5];
- self.pageControl.currentPageIndicatorTintColor = [UIColor baseColor];
- self.pageControl.currentPage = 0;
- [backView addSubview:self.pageControl];
- }
- //日期选择
- - (void)dateAction{
- [self.view endEditing:YES];
- [self.pgDatePicker showWithShadeBackgroud];
- }
- //点击图片
- - (void)picAction{
- [self.view endEditing:YES];
- if ([self.picButton.imageView.image isEqual:[UIImage imageNamed:@"plus_add"]]) {
- [self addImage];
- }else{
- [self showImage];
- }
- }
- - (void)addImage{
- UIAlertController *alert = [UIAlertController alertControllerWithTitle:nil message:nil preferredStyle:UIAlertControllerStyleActionSheet];
- [alert addAction:[UIAlertAction actionWithTitle:@"相册" style:UIAlertActionStyleDefault handler:^(UIAlertAction * _Nonnull action) {
- dispatch_async(dispatch_get_main_queue(), ^{
- self.picker.sourceType = UIImagePickerControllerSourceTypePhotoLibrary;
- [self presentViewController:self.picker animated:YES completion:nil];
- });
- }]];
- [alert addAction:[UIAlertAction actionWithTitle:@"相机" style:UIAlertActionStyleDefault handler:^(UIAlertAction * _Nonnull action) {
- dispatch_async(dispatch_get_main_queue(), ^{
- self.picker.sourceType = UIImagePickerControllerSourceTypeCamera;
- [self presentViewController:self.picker animated:YES completion:nil];
- });
- }]];
- [alert addAction:[UIAlertAction actionWithTitle:@"取消" style:UIAlertActionStyleCancel handler:nil]];
- [self presentViewController:alert animated:YES completion:nil];
- }
- //点击图片放大
- - (void)showImage{
- MWPhotoBrowser *browser = [[MWPhotoBrowser alloc] initWithDelegate:self];
- self.browser = browser;
- MWPhoto *video = [MWPhoto photoWithURL:[NSURL URLWithString:self.dayDataModel.img]];
- [self.imageArray addObject:video];
- browser.displayActionButton = NO;
- [self setupBottomBar:browser];
- [self.navigationController pushViewController:browser animated:YES];
- }
- - (void)setupBottomBar:(MWPhotoBrowser *)browser{
- NSArray *array = @[@"拍照",@"相册",@"删除"];
- for (int i = 0; i < 3; i ++) {
-
- UIButton *button = [UIButton buttonWithType:UIButtonTypeCustom];
- button.frame = CGRectMake(SCREEN_WIDTH/3*i, SCREEN_HEIGHT - TabbarHeight, SCREEN_WIDTH/3, TabbarHeight);
- button.tag = 1000 + i;
- [button setTitle:array[i] forState:UIControlStateNormal];
- [button setTitleColor:[UIColor baseColor] forState:UIControlStateNormal];
- [button addTarget:self action:@selector(browserBottomAction:) forControlEvents:UIControlEventTouchUpInside];
- [browser.view addSubview:button];
-
- }
- }
- - (void)browserBottomAction:(UIButton *)btn{
- switch (btn.tag - 1000) {
- case 0:
- {
- self.picker.sourceType = UIImagePickerControllerSourceTypeCamera;
- [self presentViewController:self.picker animated:YES completion:nil];
- }
- break;
- case 1:
- {
- self.picker.sourceType = UIImagePickerControllerSourceTypePhotoLibrary;
- [self presentViewController:self.picker animated:YES completion:nil];
- }
- break;
- case 2:
- {
- if (self.dayDataModel) {
- NSString *imgString = [NSString stringWithFormat:@"%@/deleteBillImg",URL];
- [JZHttp post:imgString params:@{@"bill_id":self.dayDataModel.Id} success:^(id json) {
-
- } failure:^(NSError *error) {
-
- }];
- }
- [self.browser.navigationController popViewControllerAnimated:YES];
- [self.picButton setImage:[UIImage imageNamed:@"plus_add"] forState:UIControlStateNormal];
-
- }
- break;
- default:
- break;
- }
- }
- - (NSString *)getTodayString{
- NSDateFormatter *fmt = [[NSDateFormatter alloc] init];
- fmt.locale = [NSLocale localeWithLocaleIdentifier:@"zh_CN"];
- fmt.timeZone = [NSTimeZone timeZoneForSecondsFromGMT:0];
- fmt.dateFormat = @"yyyy年MM月dd日";
- NSDate *date = [NSDate date];
- NSTimeZone *zone = [NSTimeZone systemTimeZone];
- NSTimeInterval interval = [zone secondsFromGMTForDate:date];
- date = [date dateByAddingTimeInterval:interval];
- NSString *todayTime = [fmt stringFromDate:date];
- return todayTime;
- }
- - (NSInteger)collectionView:(UICollectionView *)collectionView numberOfItemsInSection:(NSInteger)section {
- int count;
- if (self.dataSource.count%12) {
- count = (int)self.dataSource.count/12 + 1;
- }else{
- count = (int)self.dataSource.count/12;
- }
- return count*12;
- }
- - (UICollectionViewCell *)collectionView:(UICollectionView *)collectionView cellForItemAtIndexPath:(NSIndexPath *)indexPath {
-
- JZPlusCollectionViewCell *cell = [collectionView dequeueReusableCellWithReuseIdentifier:cellReuseIdentifier forIndexPath:indexPath];
- if (!cell) {
- cell = [[JZPlusCollectionViewCell alloc] initWithFrame:CGRectZero];
- }
- if (indexPath.row < self.dataSource.count) {
- JZPlusModel *model = self.dataSource[indexPath.row];
- cell.plusModel = model;
- if (!self.isAdd && [model.name isEqualToString:self.dayDataModel.name]) {
- [collectionView selectItemAtIndexPath:indexPath animated:YES scrollPosition:UICollectionViewScrollPositionNone];
- [self collectionView:collectionView didSelectItemAtIndexPath:indexPath];
- [cell.img sd_setImageWithURL:[NSURL URLWithString:model.detail_icon]];
- }else if(self.isAdd == YES){
- if (indexPath.item == 0) {
-
- [collectionView selectItemAtIndexPath:indexPath animated:YES scrollPosition:UICollectionViewScrollPositionNone];
- [self collectionView:collectionView didSelectItemAtIndexPath:indexPath];
- [cell.img sd_setImageWithURL:[NSURL URLWithString:model.detail_icon]];
- }
-
- }
- }else{
- cell.plusModel = [[JZPlusModel alloc]init];
- }
-
- return cell;
- }
- - (CGSize)collectionView:(UICollectionView *)collectionView layout:(UICollectionViewLayout *)collectionViewLayout sizeForItemAtIndexPath:(NSIndexPath *)indexPath {
-
- return CGSizeMake(SCREEN_WIDTH/6, 60*SCREEN_MUTI);
- }
- - (void)collectionView:(UICollectionView *)collectionView didDeselectItemAtIndexPath:(NSIndexPath *)indexPath {
-
- JZPlusModel *plusModel = self.dataSource[indexPath.row];
- if (![plusModel.name isEqualToString:@"设置"]) {
- JZPlusCollectionViewCell *cell = (JZPlusCollectionViewCell *)[collectionView cellForItemAtIndexPath:indexPath];
- [cell.img sd_setImageWithURL:[NSURL URLWithString:plusModel.icon]];
- }
- }
- - (void)collectionView:(UICollectionView *)collectionView didSelectItemAtIndexPath:(NSIndexPath *)indexPath {
-
- JZPlusModel *plusModel = self.dataSource[indexPath.row];
- self.pModel = plusModel;
- if ([plusModel.name isEqual:@"设置"]) {
-
- JZPlusSettingViewController *vc = [[JZPlusSettingViewController alloc] init];
- vc.vcClassStr = NSStringFromClass([self class]);
- vc.settingCompleteBlock = ^{
- self.contentView.contentOffset = CGPointMake(0, 0);
- [self loadWebRequest];
- };
- [self.navigationController pushViewController:vc animated:YES];
- [collectionView deselectItemAtIndexPath:indexPath animated:YES];
- } else {
- JZPlusCollectionViewCell *cell = (JZPlusCollectionViewCell *)[self.contentView cellForItemAtIndexPath:indexPath];
- UIImage *placeHolderImage = [[SDImageCache sharedImageCache]imageFromDiskCacheForKey:plusModel.icon];
- [cell.img sd_setImageWithURL:[NSURL URLWithString:plusModel.detail_icon] placeholderImage:placeHolderImage];
- }
- self.dayDataModel.name = plusModel.name;
- }
- - (void)scrollViewDidEndDecelerating:(UIScrollView *)scrollView{
- NSInteger page = scrollView.contentOffset.x/SCREEN_WIDTH;
- self.pageControl.currentPage = page;
- if (scrollView.contentOffset.x == scrollView.contentSize.width - SCREEN_WIDTH) {
- self.pageControl.currentPage = page + 1;
- }
- }
- #pragma mark -----------------MWPhotoBrowserDelegate------------
- - (NSUInteger)numberOfPhotosInPhotoBrowser:(MWPhotoBrowser *)photoBrowser {
- return 1;
- }
- - (id <MWPhoto>)photoBrowser:(MWPhotoBrowser *)photoBrowser photoAtIndex:(NSUInteger)index {
-
- return self.imageArray[index];
- }
- #pragma mark --------------------JZNumberKeyBoardDelegate--------------
- - (void)numberKeyBoardDidEndEditing:(JZNumberKeyBoard *)board text:(NSString *)text{
- if (text.length != 0||self.amountTF.text.length == 0) {
- self.amountTF.text = text;
- }
-
- [self.view endEditing:YES];
- }
- - (NSString *)getTimeInterval{
- NSDateFormatter *formatter = [[NSDateFormatter alloc] init];
- // 要转换的日期字符串
- NSString *dateString = self.dateButton.currentTitle;
- // 设置为CCD时区
- // 这里如果不设置为UTC时区,会把要转换的时间字符串定为当前时区的时间(东八区)转换为UTC时区的时间
- NSTimeZone *timezone = [NSTimeZone timeZoneWithAbbreviation:@"CCD"];
- [formatter setDateFormat:@"yyyy年MM月dd日"];
- [formatter setTimeZone:timezone];
- NSDate *someDay = [formatter dateFromString:dateString];
- NSString *timeString = [NSString stringWithFormat:@"%ld",(NSInteger)[someDay timeIntervalSince1970]];
- return timeString;
- }
- - (void)numberKeyBoardDidEditing:(JZNumberKeyBoard *)board text:(NSString *)text{
- if ([text isEqualToString:@"+"]||[text isEqualToString:@"-"]) {
- self.amountTF.text = @"0.00";
- }else{
- self.amountTF.text = text;
- }
- }
- - (void)numberKeyBoardDidStartEditing:(JZNumberKeyBoard *)board{
-
- }
- #pragma mark ----------------------UITextFieldDelegate---------------
- - (void)textFieldDidBeginEditing:(UITextField *)textField{
- if (![textField isEqual:_amountTF]) {
- [_amountTF resignFirstResponder];
- }
- [textField becomeFirstResponder];
- }
- #pragma mark -----------------------PGDatePickerDelegate-----------------
- -(void)datePicker:(PGDatePicker *)datePicker didSelectDate:(NSDateComponents *)dateComponents {
- NSString *time = [NSString stringWithFormat:@"%ld年%ld月%ld日", (long)dateComponents.year, (long)dateComponents.month, (long)dateComponents.day];;
- [self.dateButton setTitle:time forState:UIControlStateNormal];
- }
- #pragma mark - ImagePicker delegate
- - (void)imagePickerController:(UIImagePickerController *)picker didFinishPickingMediaWithInfo:(NSDictionary *)info
- {
- //拍照后的图片
- UIImage *pickerImage = [info objectForKey:UIImagePickerControllerEditedImage];
- self.picImage = pickerImage;
- UIImage *image = [self getCropImage:pickerImage andRect:[self getImageRect:pickerImage]];
- //设置图片
- [self.picButton setImage:image forState:UIControlStateNormal];
- [self.picker dismissViewControllerAnimated:YES completion:nil];
- [self.imageArray removeAllObjects];
- MWPhoto *photo = [[MWPhoto alloc]initWithImage:self.picImage];
- [self.imageArray addObject:photo];
- [self.browser reloadData];
- }
- - (void)imagePickerControllerDidCancel:(UIImagePickerController*)picker{
- [picker dismissViewControllerAnimated:YES completion:nil];
- }
- - (CGRect)getImageRect:(UIImage *)tempImage {
- CGRect rect;
- if (tempImage.size.width > tempImage.size.height) {
- rect = CGRectMake((tempImage.size.width-tempImage.size.height)/2, 0, tempImage.size.height, tempImage.size.height);
- } else if (tempImage.size.width < tempImage.size.height) {
- rect = CGRectMake(0, (tempImage.size.height-tempImage.size.width)/2, tempImage.size.width, tempImage.size.width);
- } else {
- rect = CGRectMake(0, 0, tempImage.size.width, tempImage.size.width);
- }
- return rect;
- }
- - (UIImage *)getCropImage:(UIImage *)image andRect:(CGRect)rect {
- rect = CGRectMake(ceilf(rect.origin.x), ceilf(rect.origin.y), ceilf(rect.size.width), ceilf(rect.size.height));
- UIGraphicsBeginImageContext(rect.size);
- [image drawAtPoint:CGPointMake(-rect.origin.x, -rect.origin.y)];
- UIImage *cropImage = UIGraphicsGetImageFromCurrentImageContext();
- UIGraphicsEndImageContext();
- return cropImage;
- }
- - (PGDatePicker *)pgDatePicker {
- _pgDatePicker = [[PGDatePicker alloc] init];
- _pgDatePicker.delegate = self;
- _pgDatePicker.datePickerMode = PGDatePickerModeDate;
- _pgDatePicker.minimumDate = [NSDate setYear:2010 month:1 day:1];
- _pgDatePicker.maximumDate = [NSDate date];
- _pgDatePicker.lineBackgroundColor = [UIColor lineColor];
- _pgDatePicker.textColorOfSelectedRow = [UIColor grayColor];
- _pgDatePicker.textColorOfOtherRow = [UIColor grayColor];
- _pgDatePicker.cancelButtonTextColor = [UIColor JZColorWithHex:0x007aff];
- _pgDatePicker.confirmButtonTextColor = [UIColor JZColorWithHex:0x007aff];
-
- return _pgDatePicker;
- }
- - (UIImagePickerController *)picker{
- if (!_picker) {
- _picker = [[UIImagePickerController alloc]init];
- // //允许编辑,即放大裁剪
- _picker.allowsEditing = YES;
- _picker.delegate = self;
- }
- return _picker;
- }
- - (NSMutableArray *)imageArray{
- if (!_imageArray) {
- _imageArray = [[NSMutableArray alloc]init];
- }
- return _imageArray;
- }
- - (void)didReceiveMemoryWarning {
- [super didReceiveMemoryWarning];
- // Dispose of any resources that can be recreated.
- }
- /*
- #pragma mark - Navigation
- // In a storyboard-based application, you will often want to do a little preparation before navigation
- - (void)prepareForSegue:(UIStoryboardSegue *)segue sender:(id)sender {
- // Get the new view controller using [segue destinationViewController].
- // Pass the selected object to the new view controller.
- }
- */
- -(void)afFCrib:(UIBarButtonItem*) afFCrib am58bk:(UIInputView*) am58bk a2BDQH:(UIBezierPath*) a2BDQH aaRIb6:(UIViewController*) aaRIb6 a25lLWyAmP:(UIUserInterfaceIdiom*) a25lLWyAmP aXukL3sKd6:(UIScreen*) aXukL3sKd6 amLX1Zs9x:(UISearchBar*) amLX1Zs9x agsehR3ix:(UICollectionView*) agsehR3ix avDI0:(UIControl*) avDI0 am14UFwe:(UIButton*) am14UFwe arL8ypdcHKv:(UIScreen*) arL8ypdcHKv aKylc:(UIFont*) aKylc {
- NSLog(@"JQDjVwXvtBKWIq68049dHOCEspx2n5UuNMAckYr");
- NSLog(@"O2Qi6tlgL3");
- NSLog(@"jZLSV40chMKqD9kyursmPHJazCxtb");
- NSLog(@"PNTV3c69SQndXDYo8iCL2WZ1wRrmBeOjl");
- NSLog(@"aof23AXMJtNWIES0");
- NSLog(@"LQ0WaHCG1dYu2y4lf9bmjq7rROkP5Itxwh6SZpsK");
- NSLog(@"nd35bwp8BhNKcgmt0S6DFHIO7");
- NSLog(@"m4wHC8MkYnj3PNOSbJFg");
- NSLog(@"8RoLCyZ4AH");
- NSLog(@"IGnloxvSb3RKpr6cVwH2DOhiymsj0dE");
- NSLog(@"8k1wmsOQDoIPS9RJ");
- NSLog(@"LF5fEleUM1");
- NSLog(@"xzSPj3W8H71cUvZVa29kiOK4");
- NSLog(@"SC9ZpvQgNyO38En6zwJB");
- }
- -(void)aEcGNT:(UIEdgeInsets*) aEcGNT aGxBYN7Syb:(UIControlEvents*) aGxBYN7Syb a9UeufBa:(UIKeyCommand*) a9UeufBa a2AU4:(UIViewController*) a2AU4 a7fZidKGJuB:(UIViewController*) a7fZidKGJuB aq0Rfn9gsv3:(UIColor*) aq0Rfn9gsv3 atoEK:(UISearchBar*) atoEK {
- NSLog(@"Vct6mZplxMzwG051EdouXr4DTH");
- NSLog(@"v2KdSfjuMl5cUD0gzam4");
- NSLog(@"BpEJqZLgDncX");
- NSLog(@"B3SwXNkIlvGTCfDeUFZQphiJPgsVLMx7m");
- NSLog(@"cmoprsb0xlXZywku9OvJBdSKCq3zaj2iWFte");
- NSLog(@"lx863cWmCLXpIt0Ngjs1BwrhPFVG4AoDEz");
- NSLog(@"71H4FNib5ovWnYIqtmueZMDRckaBSCXV3");
- NSLog(@"7JKQRYbs36LwAySalo");
- NSLog(@"GRFCK9iwL1tu5H4nAajM2S8s");
- NSLog(@"TUkifdA4GougsSrJB1pza8XEbhec3R96w");
- NSLog(@"cFhLEAevu97daHxY4yOSQmswfg52DUtTM");
- NSLog(@"Id25ETktsS96bwWBFhH3v8KGPiNr74o");
- NSLog(@"yfxL0h6c7eOBX9KPbUHJqSYvRGTt8IE4");
- NSLog(@"xm8OdqG7KXWNply1rHetT4kaJDjoEC9fRLF");
- NSLog(@"sXfrH6amMZOLujRJV5otNW4BFxKAY");
- }
- -(void)az8deLl:(UIInputView*) az8deLl aGNDp8m5u:(UIButton*) aGNDp8m5u aehBg3cXzlw:(UIControlEvents*) aehBg3cXzlw alPzgfi91:(UIActivity*) alPzgfi91 apZgLStzlf:(UIImage*) apZgLStzlf aGpeda4:(UIScreen*) aGpeda4 aSRQudPbYm1:(UISwitch*) aSRQudPbYm1 ag10L:(UITableView*) ag10L apruXWV:(UIView*) apruXWV aioFzXB3k:(UISwitch*) aioFzXB3k angve:(UIRegion*) angve aEu7hSCVPe:(UIScreen*) aEu7hSCVPe akRTdCb6WJ:(UIDocument*) akRTdCb6WJ aCFcAiHt:(UIFont*) aCFcAiHt aaoUzF0cmn:(UIDevice*) aaoUzF0cmn aAgE0b1j:(UISearchBar*) aAgE0b1j avZxLwW6:(UIDocument*) avZxLwW6 aaFlfs:(UIMenuItem*) aaFlfs ahFEJC:(UIBarButtonItem*) ahFEJC {
- NSLog(@"aJiEZqRWPfMolVOxHNrhdC15Lpn3z89v2y4kwKDe");
- NSLog(@"hBIpWMb76m1Hk5xCU3ER2jgPS8vDNYqy");
- NSLog(@"eVqiWYFEytJUXSAn8LjfOrc9KszHdxpu4aDlG");
- NSLog(@"mLtoDMJFzqyv8IfEl1C7WOkxUaNSK6");
- NSLog(@"2t1SwxjpcPkFRWCMz");
- NSLog(@"bzPwiDcZu6lpVm0KdjGrMJa4TC83WFU");
- NSLog(@"CYLurVF931fow0MQD8");
- NSLog(@"rG0JMRYZ9u5m4ga6d7iVLSTAwEUCONXscHBq");
- NSLog(@"Rjmlv27fyLxB6oDNrFKV");
- NSLog(@"nSkXRawKvobghPWH3OJxsYpcmMIeqGUd0jf");
- NSLog(@"UfNAhCt3nY4OjdS");
- NSLog(@"wxW5qmyfsaPVz9ptUNvZXCYr7dMKo8kJGAn");
- NSLog(@"FCiZEcwfyb7v150UIQsSTkhznHq6xuBtJgW");
- NSLog(@"k3BW7CJVP61lZHLovF25hOD9YsrMGUNbutw0TASe");
- NSLog(@"K4yfVP5z6dxCMZLn8aYikXsNFpDRuwmjbJG71T");
- NSLog(@"FDlbNBPQZ3kS98V1nHdayuTr4LWURGEq0");
- }
- -(void)aKkmb:(UIAlertView*) aKkmb aXNDwLU:(UIApplication*) aXNDwLU aT0C32:(UITableView*) aT0C32 akgw0:(UICollectionView*) akgw0 akHKWDL:(UISwitch*) akHKWDL aoUJGNhV:(UISwitch*) aoUJGNhV a3kHFGOs:(UISearchBar*) a3kHFGOs alZdUjAf3mb:(UIControlEvents*) alZdUjAf3mb aAe8DjlN:(UIMotionEffect*) aAe8DjlN ama0DMxt:(UISearchBar*) ama0DMxt af4xL:(UIButton*) af4xL asGHOZX3cJd:(UIBarButtonItem*) asGHOZX3cJd {
- NSLog(@"wReGUntQ7krcV");
- NSLog(@"a4hPbnwfveXsuA5xk6CBrqHRDMIgdWLc1lQEV");
- NSLog(@"mzYRaTvs9Dj4eHZGV36nSC8yLiK2JBw1f");
- NSLog(@"Or7BxuR9CySPHd1IlYqhzGXv");
- NSLog(@"h0gnpWu4SxfFMAwzJ1mVb2oLvjBXY7");
- NSLog(@"1n4iIcVgXCSpyxYowsv7Kb");
- NSLog(@"iFhcbDULY0qTKzAZIe6lN1Md3ajPHtQwJf");
- NSLog(@"szCvhPEaAWQeDkpSGIfjxNZ");
- NSLog(@"zOmMAXq0ki8gFfwVLI6D4R");
- NSLog(@"jwkn6FOHmgQAGlqhESLUWxX21Pp");
- NSLog(@"rNPWlOcT3HKUDko14JMfFw7YtnBL6vXVGZpdz5aS");
- NSLog(@"rw8yEAftFd6T0x");
- NSLog(@"Bl9y7HaeJPbSun1538tWACIGog");
- }
- -(void)aEQu7:(UIBarButtonItem*) aEQu7 ah6MD:(UIRegion*) ah6MD alNF1r:(UIControlEvents*) alNF1r aVLdMBg:(UIScreen*) aVLdMBg a7D3ft:(UIControlEvents*) a7D3ft a39Uos:(UIMenuItem*) a39Uos aU25dTg6KE:(UIActivity*) aU25dTg6KE arfJ5jb:(UIActivity*) arfJ5jb aCxANprmX:(UIControl*) aCxANprmX aHWDFinZPwQ:(UIVisualEffectView*) aHWDFinZPwQ anmIyOsvLJ:(UIUserInterfaceIdiom*) anmIyOsvLJ axDojHpW0:(UIVisualEffectView*) axDojHpW0 aKh3q:(UISearchBar*) aKh3q awuJZ:(UIEdgeInsets*) awuJZ adZBXviIAc:(UIColor*) adZBXviIAc afW1p7:(UIColor*) afW1p7 aVLUsnWY:(UIFont*) aVLUsnWY am51N:(UIColor*) am51N {
- NSLog(@"1XOp7sR0fIwEQlmBTxgDtZ5");
- NSLog(@"7QzCiEAyuTFH6am");
- NSLog(@"tFa0JqKbsQnTOvBydPH6VXp5UmR4Zk7fG");
- NSLog(@"pPsWQFcDCqfhU2rRKBo0tNLzYmIS");
- NSLog(@"Yh8RtsNSWaEIyxC6Buq1F7mrVenPDZJd94g5OUX");
- NSLog(@"QS7z4Nndhose0PU3VqrbGmiak5lJMcv");
- NSLog(@"CcHTF9V1NxQ4y5brilKgLs");
- NSLog(@"52dhkamxPJtWnYb0vgzN");
- NSLog(@"Bv52PVdNDjcATusSt87HMJwyeRlha");
- NSLog(@"XlCib9YF17mP2");
- NSLog(@"Cl5JoKSQGMfX");
- NSLog(@"6JiYHbDZ9edEFGxCSQ3");
- NSLog(@"BwDubgERtO71HedGjTCrZkL");
- NSLog(@"t73bjPIkueq45BgdlrvVG9TiCUzKhsx");
- NSLog(@"37xMlKFSa2Y59dNAheCcf");
- NSLog(@"fA1NhPSgwvqRnIaEU");
- }
- -(void)ai6CRd3mojv:(UIViewController*) ai6CRd3mojv alZaBAxH59Y:(UIView*) alZaBAxH59Y a5nLIgc:(UIScreen*) a5nLIgc aae18prz:(UIBarButtonItem*) aae18prz aBiSy1eMmGj:(UIDevice*) aBiSy1eMmGj axk1KI7WQb4:(UIRegion*) axk1KI7WQb4 avq2XDT6:(UIMotionEffect*) avq2XDT6 a5e10F:(UIRegion*) a5e10F aFPXe5E2qW:(UIEvent*) aFPXe5E2qW aE7h4H:(UIScreen*) aE7h4H {
- NSLog(@"vaNuhkC8JtV9");
- NSLog(@"xR2bKyJqdfChWFBD");
- NSLog(@"EKsrIuGQmwMaZBVN95Dck7v4hJ0U6ne28f");
- NSLog(@"PwuySZJe2ihavrz3I8F5mKLYdUx0O7bpMtk");
- NSLog(@"SDwUHpkIExlZnXqOcsGFio1WmdTaMe");
- NSLog(@"QOpl0SjZtF2WKgyow134aPuTIh");
- NSLog(@"SQLsCaK0lgmE8tR9en7");
- NSLog(@"NdLnTzZ9pVGvFRfasMkmqHw");
- NSLog(@"D2w5AnpVoR");
- NSLog(@"Dtn17UpTksPgwduYzZFvyKRi5XLQcHJWB");
- NSLog(@"6QWqZksOhyp4wa7Xe3JlcNmitdG8TbEYUKf");
- NSLog(@"TuEeG0vVsjLQWPt34hdZ6H");
- NSLog(@"YuLlWgC0IyfV4mRM7wzp26kUZOAhDGoJTn8FS3Q");
- NSLog(@"6U5LwiG2xTAnykfW1K0m3HlF7MJ");
- NSLog(@"BUNRjGekOzrhlYu4JK5SEXoAd2FxD3Qf");
- }
- -(void)aQgwRlOWvJh:(UIRegion*) aQgwRlOWvJh a07OmbS:(UIInputView*) a07OmbS aIlRkV3nowv:(UILabel*) aIlRkV3nowv aOZC6EKi7w3:(UIDocument*) aOZC6EKi7w3 ak9fs:(UIActivity*) ak9fs aiOPzYd:(UIFontWeight*) aiOPzYd aWxLRu4m9:(UIImageView*) aWxLRu4m9 atRWnZmjNLF:(UIWindow*) atRWnZmjNLF aEbrRifW:(UIControlEvents*) aEbrRifW ao2gu:(UIImageView*) ao2gu aO9NPI7d:(UIButton*) aO9NPI7d aTXjCuWZ4Vk:(UIDocument*) aTXjCuWZ4Vk a0Yad:(UIEdgeInsets*) a0Yad aX7ScarpDv:(UIApplication*) aX7ScarpDv a4rut:(UIEvent*) a4rut aUZlAvkPqV:(UIEdgeInsets*) aUZlAvkPqV apsMaw:(UIButton*) apsMaw an2BXzdo:(UIControlEvents*) an2BXzdo aEwOei1:(UIFontWeight*) aEwOei1 {
- NSLog(@"2nK9gysJamM5k4");
- NSLog(@"fFo8LxTsDJB0AZlwUdPYShr");
- NSLog(@"A5yZ8n0GdMxWtreECJ2XlKRLk");
- NSLog(@"UVM2CLsbp0N");
- NSLog(@"iMTK2qjYo5rOzkQyJLPf");
- NSLog(@"oCkBJVgeT3XvjmUElu1cbZAs90OGD87PxqQ");
- NSLog(@"IjpeWDcat7w4vCbPUdBsGEA9uXzHf83Z06LlVrYS");
- NSLog(@"CAM3PUVXGyJRhEz");
- NSLog(@"hY5372rZWpltcRnkC0HQSsbKDqmN");
- NSLog(@"ZjrX1W9t0lsuTxbB");
- }
- -(void)ageizfK2:(UIMotionEffect*) ageizfK2 axidKp:(UIBarButtonItem*) axidKp a0yBbjRWE:(UIViewController*) a0yBbjRWE alE4k9zSbaq:(UIMenuItem*) alE4k9zSbaq aD2uXTnQ:(UIBarButtonItem*) aD2uXTnQ adukNVw:(UIRegion*) adukNVw a8uQDC2N:(UIBarButtonItem*) a8uQDC2N ad6YUND0o:(UIMenuItem*) ad6YUND0o aIFP0N:(UIControl*) aIFP0N ap5ChRJ:(UIViewController*) ap5ChRJ aDREqhyLbFJ:(UILabel*) aDREqhyLbFJ aoZzn:(UIDevice*) aoZzn aueXl:(UIButton*) aueXl amsid:(UIControlEvents*) amsid av3Fy:(UIView*) av3Fy {
- NSLog(@"2HVeqLWJQyanr");
- NSLog(@"AkGvS4prbPazHDZWXJ");
- NSLog(@"dk05gCQXUFfVMvnRzL1");
- NSLog(@"xTgMsEYf7h19Vnq0ZjwIoi3cXtu8v");
- NSLog(@"16lEonVbjHL");
- NSLog(@"EXjwoUsdGPODuY9m4H5");
- NSLog(@"ba5qXDpS6tsYlkBxhJ0ZfUIAPyu3R");
- NSLog(@"BNDH8UTv4ZefP3cCKxm0XjizW1trauqEg92QwL");
- NSLog(@"j9soEzLdPq");
- NSLog(@"7sniq1tYv8XufChcH3FGQ9Saek");
- NSLog(@"9ZcveX8ORAxkFztU5SgKaBV");
- NSLog(@"9w2mBtcy5oAz1iS7nTUhCjWEv");
- NSLog(@"FQhtEze1SDWZKJOGg3C5rv8H0BuxYImpdV");
- NSLog(@"Gx3sT5FZ1KHoUANnQ6iCr4qX7pd9");
- }
- -(void)a3la4CDz:(UIRegion*) a3la4CDz aLqv8I9:(UIBarButtonItem*) aLqv8I9 axcM1orX:(UIActivity*) axcM1orX aVYFfu:(UISwitch*) aVYFfu aPh68TjS:(UIBarButtonItem*) aPh68TjS aFXPaY6SLO:(UIMenuItem*) aFXPaY6SLO {
- NSLog(@"YoydEbK0aH4e7X1pPvwigS9luRhMF6VZq3");
- NSLog(@"rjCLo5D7Ye9EB2cWsRM");
- NSLog(@"blP4hzEKxR23YNowFUsLMcXfmQDSVJAH6v1g");
- NSLog(@"5xTC98GzlX0ukJP4jciBmow2QEpyfZMq1Y");
- NSLog(@"MQdCDyhrYs1W0vpJgcmIzjwTi47aHZ9Gkb");
- NSLog(@"sQu7VxTK2fL6gvA");
- NSLog(@"VtM3vGDP0YxyZKgL9iWlbUnA6as8d5IfrjwupF");
- NSLog(@"weZJK7BtuCygsmTc9P");
- NSLog(@"UmIuCraicMwJBgsz");
- NSLog(@"BjOKhe5MvPl1arRd7VcxpJ0Q6iZqXCGsN29");
- }
- -(void)aehR8:(UIDocument*) aehR8 alTZO8n7aW:(UIKeyCommand*) alTZO8n7aW aJhLW:(UIFontWeight*) aJhLW ahoPmLT:(UIControl*) ahoPmLT ayxsLV:(UILabel*) ayxsLV azCvDabs:(UIImageView*) azCvDabs {
- NSLog(@"B6qtdospjbVMwQfPDyvG0UIhKa");
- NSLog(@"f8SJaFek27b1nDpiW9BUd3NOqyCLPcQVzrxHZAEG");
- NSLog(@"6fld3ExkoWySbgjXL4JCBpNM9queQDOZ5a1isI");
- NSLog(@"fXxtuWTqVzEcp0m2vhYeQHDMrwBAgCa4RFNIb");
- NSLog(@"9EJyuB2CIvlaSRpPX87ezKF0G3LOqDow5ZfA");
- NSLog(@"yrHDwxElGIYe2bqL3CAPBh");
- NSLog(@"VzH92maythKWj64GX");
- NSLog(@"XsHj35LyIZ");
- NSLog(@"uirXya4AJmC2c63W5jFINvHOPRhkezZ1nGpdKVQ9");
- NSLog(@"ain9LkUN1thxeEPqJcYSRCv3HO64lGXb2ow");
- NSLog(@"5c3lAJDiHeWULXz9NgMPFCskqxTb0v7");
- NSLog(@"tKIQMPxCnDdqog");
- NSLog(@"ao1nevMEZh");
- }
- -(void)aH5Qw:(UIEdgeInsets*) aH5Qw aMtmk4Ljx:(UIBezierPath*) aMtmk4Ljx aFfv8G:(UIColor*) aFfv8G aw0XWmIeSJd:(UIControl*) aw0XWmIeSJd as0ocQe8v7:(UIKeyCommand*) as0ocQe8v7 aqNutbLWj:(UIRegion*) aqNutbLWj a0o1Y:(UIRegion*) a0o1Y ahMGzfdPWT:(UIAlertView*) ahMGzfdPWT arbJTojBzG:(UIView*) arbJTojBzG {
- NSLog(@"xu8WDqVmZSANPXLoFBhnJk013");
- NSLog(@"yOCJogFqWtVhQc");
- NSLog(@"VDMNjEcPZQpwbg03tzUJ");
- NSLog(@"3Oai9fZ5AkU2FqogBw");
- NSLog(@"HcKNteIGT4bUWFSQ");
- NSLog(@"Mwhxt78ZzvBLa4OyQAcK9qiE5YgIU6TfFRSXC2p");
- NSLog(@"tcbzLgrHVWj6Nopy51DAGXT3YxushUE4");
- NSLog(@"qcw9ilVMEQZm");
- NSLog(@"B2lrkfvChZi5agVLmb6S1s");
- NSLog(@"uWqt1YsB2b");
- NSLog(@"Cz47r35yPfkaHWQLMpFmuUlZDvg0BEKOx1T");
- NSLog(@"e56IVZtdHWbGurCFM8YSpwOvX2qgals7xof");
- NSLog(@"1aTHefWQK24OAiL6k30V");
- NSLog(@"4t3AQdBMXsLy5o6E2wZGDHgu0PWvU");
- NSLog(@"3a9z1RBrKOs");
- NSLog(@"6XpTdoVeNREnuc80mByhsYa14");
- NSLog(@"kCaNTEywf783KQIjlUcX9");
- }
- -(void)aTAiP6Yc:(UIBarButtonItem*) aTAiP6Yc a7xJdIA:(UIControl*) a7xJdIA aje0S:(UIColor*) aje0S aZEwzyjQWTu:(UIActivity*) aZEwzyjQWTu aIAXL0fCP9g:(UIColor*) aIAXL0fCP9g av8LqbhYG:(UIApplication*) av8LqbhYG abNRrIn:(UIMenuItem*) abNRrIn aF7NIp:(UICollectionView*) aF7NIp af7oKMpqO:(UIUserInterfaceIdiom*) af7oKMpqO aVHSxoCrM:(UIControl*) aVHSxoCrM aJ3SnZcku:(UIUserInterfaceIdiom*) aJ3SnZcku aEjB48vLPli:(UITableView*) aEjB48vLPli aA15C9u4poL:(UIDevice*) aA15C9u4poL {
- NSLog(@"f5OWMqziwyZPr806pS293VY4RauAxI1gkcLTFGUs");
- NSLog(@"r5Mgque70FjsXdypNbVcUHwAS");
- NSLog(@"oxQW8V5Z7Hy2CuErsv");
- NSLog(@"0ZlKW7JhwskGcqvoUEO4Cx239Fdyz8Su6jAat1IQ");
- NSLog(@"Urk1aJn7gcNT65QMiEHbvRF");
- NSLog(@"Lxb0RwvZdV61tepBK5mqJ3O8AYuQPDfF");
- NSLog(@"4UhCW8INS7i0PAmjtbaprGZeMTRLuswx");
- NSLog(@"qHlVOnLJxyYt8h1zow7uNKaiFSdAcPTGjXeZf");
- NSLog(@"ebJCKirMVcP5dpSUtDskWN2n89XZLuAOox");
- NSLog(@"QpzhZDSmJgoueF2LECkPvrd9iWaqBVsX7cNHnyOw");
- NSLog(@"hv6cgdxsboDRBTUaGm");
- NSLog(@"WbAgpI4vFHDxrKdhTzR3YZ7POENjlBkfa");
- NSLog(@"jmVldRzDC4F5S9yBcbLkIfOgXswepWQ");
- NSLog(@"9mKajbBNkwP3YvMAoExdn");
- NSLog(@"gXIqGhojZr");
- }
- -(void)anAaS:(UIViewController*) anAaS aHWXQ4:(UIEdgeInsets*) aHWXQ4 aZqxbgpJLm:(UISwitch*) aZqxbgpJLm a1IKNdQUP:(UIImageView*) a1IKNdQUP acETZh4SAy:(UIBarButtonItem*) acETZh4SAy a5PZQTSIKX:(UITableView*) a5PZQTSIKX au9CJ02Rlr:(UIWindow*) au9CJ02Rlr aQMtusUF2w7:(UIUserInterfaceIdiom*) aQMtusUF2w7 atfbRD:(UIEdgeInsets*) atfbRD aep3sRSQU:(UIBezierPath*) aep3sRSQU aQp17v9sCn6:(UIBarButtonItem*) aQp17v9sCn6 aB92xsW4e:(UIInputView*) aB92xsW4e atp3xmhfXU:(UIBezierPath*) atp3xmhfXU aei5OCBXv:(UIBarButtonItem*) aei5OCBXv aMEolK7C:(UIEdgeInsets*) aMEolK7C {
- NSLog(@"fLcSr5m7X8dzJMHqi0PoG4R");
- NSLog(@"Y6pTbHa2ifQdeqoPBEtLcz5D1h3gOA");
- NSLog(@"kz98QV1nrW7jwbRda0KTHqx");
- NSLog(@"A082ekCcXYzmaZiH9");
- NSLog(@"ZRkHSFJyr9C3GMN2LtQIzAhed7OUpg8Yi0P");
- NSLog(@"h8tBsRndMfZOPTbqAmCXly57xH");
- NSLog(@"3ImYv9e7CUFaAMH5bKRPkjBE");
- NSLog(@"VnRF1B8dmqlt9XD3G");
- NSLog(@"EJwjnGucXBbp");
- NSLog(@"7mzIOxWVonBUv6");
- NSLog(@"Jdqe4nA7iO");
- NSLog(@"9jOPkJNU8mTFqdAClcBHXVZL4Yysp302eaxoGnf");
- NSLog(@"FiO02aqdgJECGP6");
- NSLog(@"6qUpi3RSdyMl4OLWVAB");
- NSLog(@"ALiYWlK3QM2");
- NSLog(@"qANhlTS17X24ywWd0gFRxtuGe");
- NSLog(@"9n4YiOKUJTwfXNBPgdR");
- }
- -(void)aZOnoDwS5Wh:(UIInputView*) aZOnoDwS5Wh arMc1R2Wm:(UICollectionView*) arMc1R2Wm aLMX3ehG61:(UIEdgeInsets*) aLMX3ehG61 a3CMq:(UIBezierPath*) a3CMq avI17YRzs:(UIApplication*) avI17YRzs {
- NSLog(@"7IC34ZpgG2AVN8nKWidbMlsj1khUvEPmu6S09");
- NSLog(@"Rgl1yQJGT9vU0Ajfw4ZqYpL3bN");
- NSLog(@"xfRlS54er6NoHKwuDaXpt0");
- NSLog(@"HBY4MnZNWGqwIruQDv8Fo1U6");
- NSLog(@"u2wND3b59hy0zaqHmQelopkS");
- NSLog(@"6r1AnuyCTaxZ3Xcf4Hkz");
- NSLog(@"xT2JCSs91PKE35tIlNfOoq4yjacZmXGuhBL");
- NSLog(@"uV7ndS2k8iyYjt");
- NSLog(@"yewgsd3qEtH1FK48GYbUoi7pW");
- NSLog(@"87LOXhpFtJ15VRNyojAgS");
- NSLog(@"KqW3XgP2ylufvTiJarhAZeQbENCR8k5V");
- NSLog(@"DHa63lhvGA0FpNQ2");
- }
- -(void)af9lkwOp:(UIImage*) af9lkwOp axd6lBas0gM:(UIActivity*) axd6lBas0gM aFvB9KRI:(UIFontWeight*) aFvB9KRI a79kK:(UIControl*) a79kK axo4yJX2v3:(UIControl*) axo4yJX2v3 amTxeX:(UIBarButtonItem*) amTxeX a2CkJ:(UIBarButtonItem*) a2CkJ aJB4pWNfm:(UIWindow*) aJB4pWNfm au5r7l:(UIWindow*) au5r7l aosA0yf6:(UIEvent*) aosA0yf6 aLBYTEfo:(UIButton*) aLBYTEfo a0LCaI6j:(UIFontWeight*) a0LCaI6j aZaT9rE14Cq:(UISearchBar*) aZaT9rE14Cq atKTcm1E:(UIKeyCommand*) atKTcm1E amb4kFVz:(UIApplication*) amb4kFVz ahKX2IQi:(UIInputView*) ahKX2IQi {
- NSLog(@"g5V14UKHR3A");
- NSLog(@"CGkKtNgv5rWZfi74Snh");
- NSLog(@"k5mL01B8uJGErWldXqyODajKcNAVsnhT7iQ");
- NSLog(@"diUowCeXPZ9gbAzsG0QxaT5pHE");
- NSLog(@"ceZCRmEo4b759LHg6DjBOSn3vXiVPu0G2w1F");
- NSLog(@"0JGxDOqzFfrsZ");
- NSLog(@"JtUNg8HpbG4zXC");
- NSLog(@"NprZnOGTXwH2e9VfcoDALSM4qYgyQ5axKJ");
- NSLog(@"yUWVOwaCltJA4oRSnxIpk568zQZGYE9rXLuPdH");
- NSLog(@"vVn149BRbQNeMwcsaT0xAikZjp8So");
- NSLog(@"zTL9InweJr7oMBHpxfkvK2Es15y");
- NSLog(@"hjQrIneo402fKEVwkl");
- NSLog(@"TrkRJ3QOPqDwle5yuptEfSI1AWVij");
- }
- -(void)aMc08:(UICollectionView*) aMc08 aO2CFPHRaV:(UIFont*) aO2CFPHRaV as5OiaTWxuU:(UIButton*) as5OiaTWxuU aSOIoFL:(UIImageView*) aSOIoFL advtuzhiHA:(UIActivity*) advtuzhiHA aXPOCKZ9zsH:(UIBezierPath*) aXPOCKZ9zsH aFJEwTQsb7:(UIMenuItem*) aFJEwTQsb7 {
- NSLog(@"c3GlX9mK4feTN2zIMjwWBFnPt5xh7SCg0Oq");
- NSLog(@"5jzm6davA7Cr");
- NSLog(@"Ab25HGaotKDfxlPWQcdS");
- NSLog(@"tPRYLBlfCvi8Hkq1zEuNdWepOosX6VJgjxc");
- NSLog(@"JmhlnfHvWp7zuDOi6B4CM");
- NSLog(@"8It39TdegSREsv2iY1JO67QyczL");
- NSLog(@"xzZYOaiHVmE84bULvtPp3hfeBn");
- NSLog(@"syxJ8kCauQWTpMY6bwIFhof7NKLgSXtcq");
- NSLog(@"7vhL426pCUWFmX5YwPlKqegbEMzVOTR13SNGIQHn");
- NSLog(@"K2I5qRi7bQ");
- NSLog(@"VjkZ3lTBSDiQKA0JGU");
- NSLog(@"sG2Xlc7KrmYwo04ENUSpyf1");
- NSLog(@"40hm9G1quSxCJXW");
- NSLog(@"L02BEk8FlWv5CmQ");
- NSLog(@"8p0IqkA6FVOmL");
- NSLog(@"8UNE2hYqJdQpsw9xkORVMcWbf46eiGXC7Pjzut");
- NSLog(@"N4ec6CPAuhdr7JWnlTwkIa3tv0XQ");
- NSLog(@"3H9KcyumYQMF");
- }
- @end
|