From b4f387a6c12331269eda8bcc6d31472eb8d7a30d Mon Sep 17 00:00:00 2001 From: Timofeeva_11-405 Date: Fri, 29 Apr 2016 19:53:27 +0300 Subject: [PATCH] HM Films added --- Film.h | 11 +- Film.m | 7 +- .../xcschemes/Lesson20.xcscheme | 91 + .../xcschemes/xcschememanagement.plist | 22 + .../xcshareddata/Lesson20.xcscmblueprint | 37 + .../UserInterfaceState.xcuserstate | Bin 0 -> 22955 bytes .../xcdebugger/Breakpoints_v2.xcbkptlist | 17 + Lesson20/Base.lproj/Main.storyboard | 102 +- Lesson20/DetailViewController.h | 4 +- Lesson20/DetailViewController.m | 34 +- Lesson20/FilmsTableViewCell.m | 2 + Lesson20/FilmsTableViewCell.xib | 38 +- Lesson20/ViewController.m | 12 + Podfile | 3 +- Podfile.lock | 3 + .../Private/MBProgressHUD/MBProgressHUD.h | 1 + .../Public/MBProgressHUD/MBProgressHUD.h | 1 + Pods/MBProgressHUD/LICENSE | 19 + Pods/MBProgressHUD/MBProgressHUD.h | 521 +++ Pods/MBProgressHUD/MBProgressHUD.m | 1033 ++++++ Pods/MBProgressHUD/README.mdown | 101 + Pods/Manifest.lock | 3 + Pods/Pods.xcodeproj/project.pbxproj | 2961 +++++++++-------- .../xcschemes/MBProgressHUD.xcscheme | 60 + .../xcschemes/Mantle.xcscheme | 60 + .../xcschemes/Pods.xcscheme | 60 + .../xcschemes/SDWebImage.xcscheme | 60 + .../xcschemes/xcschememanagement.plist | 52 + .../MBProgressHUD/MBProgressHUD-dummy.m | 5 + .../MBProgressHUD/MBProgressHUD-prefix.pch | 4 + .../MBProgressHUD/MBProgressHUD.xcconfig | 5 + .../Mantle/Mantle.xcconfig | 2 +- .../Pods/Pods-acknowledgements.markdown | 22 + .../Pods/Pods-acknowledgements.plist | 26 + .../Pods/Pods.debug.xcconfig | 6 +- .../Pods/Pods.release.xcconfig | 6 +- .../SDWebImage/SDWebImage.xcconfig | 2 +- 37 files changed, 4034 insertions(+), 1359 deletions(-) create mode 100644 Lesson20.xcodeproj/xcuserdata/mariatimofeeva.xcuserdatad/xcschemes/Lesson20.xcscheme create mode 100644 Lesson20.xcodeproj/xcuserdata/mariatimofeeva.xcuserdatad/xcschemes/xcschememanagement.plist create mode 100644 Lesson20.xcworkspace/xcshareddata/Lesson20.xcscmblueprint create mode 100644 Lesson20.xcworkspace/xcuserdata/mariatimofeeva.xcuserdatad/UserInterfaceState.xcuserstate create mode 100644 Lesson20.xcworkspace/xcuserdata/mariatimofeeva.xcuserdatad/xcdebugger/Breakpoints_v2.xcbkptlist create mode 120000 Pods/Headers/Private/MBProgressHUD/MBProgressHUD.h create mode 120000 Pods/Headers/Public/MBProgressHUD/MBProgressHUD.h create mode 100644 Pods/MBProgressHUD/LICENSE create mode 100644 Pods/MBProgressHUD/MBProgressHUD.h create mode 100644 Pods/MBProgressHUD/MBProgressHUD.m create mode 100644 Pods/MBProgressHUD/README.mdown create mode 100644 Pods/Pods.xcodeproj/xcuserdata/mariatimofeeva.xcuserdatad/xcschemes/MBProgressHUD.xcscheme create mode 100644 Pods/Pods.xcodeproj/xcuserdata/mariatimofeeva.xcuserdatad/xcschemes/Mantle.xcscheme create mode 100644 Pods/Pods.xcodeproj/xcuserdata/mariatimofeeva.xcuserdatad/xcschemes/Pods.xcscheme create mode 100644 Pods/Pods.xcodeproj/xcuserdata/mariatimofeeva.xcuserdatad/xcschemes/SDWebImage.xcscheme create mode 100644 Pods/Pods.xcodeproj/xcuserdata/mariatimofeeva.xcuserdatad/xcschemes/xcschememanagement.plist create mode 100644 Pods/Target Support Files/MBProgressHUD/MBProgressHUD-dummy.m create mode 100644 Pods/Target Support Files/MBProgressHUD/MBProgressHUD-prefix.pch create mode 100644 Pods/Target Support Files/MBProgressHUD/MBProgressHUD.xcconfig diff --git a/Film.h b/Film.h index 8f5c98f..604736c 100644 --- a/Film.h +++ b/Film.h @@ -9,7 +9,12 @@ #import @interface Film : MTLModel -@property (nonatomic, strong) NSString *name; -@property (nonatomic, strong) NSString *imageURL; -@property (nonatomic, strong) NSString *premiereDate; +@property (nonnull, strong) NSString *name; +@property (nonnull, strong) NSString *imageURL; +@property (nonnull, strong) NSString *premiereDate; +@property (nonnull, strong) NSString *rating; +@property (nonnull, strong) NSString *length; +@property (nonnull, strong) NSString *fid; +@property (nonnull, strong) NSString *country; +@property (nonnull, strong) NSString *year; @end diff --git a/Film.m b/Film.m index 76aed7d..43a24e1 100644 --- a/Film.m +++ b/Film.m @@ -13,7 +13,12 @@ @implementation Film + (NSDictionary *)JSONKeyPathsByPropertyKey { return @{ @"name" : @"nameRU", @"imageURL" : @"posterURL", - @"premiereDate" : @"premiereRU" }; + @"premiereDate" : @"premiereRU" , + @"rating" : @"rating", + @"length" : @"cinemaHallCount", + @"fid" : @"id", + @"country" : @"country", + @"year":@"year"}; } + (NSValueTransformer *)premiereDateJSONTransformer { diff --git a/Lesson20.xcodeproj/xcuserdata/mariatimofeeva.xcuserdatad/xcschemes/Lesson20.xcscheme b/Lesson20.xcodeproj/xcuserdata/mariatimofeeva.xcuserdatad/xcschemes/Lesson20.xcscheme new file mode 100644 index 0000000..3ae92ff --- /dev/null +++ b/Lesson20.xcodeproj/xcuserdata/mariatimofeeva.xcuserdatad/xcschemes/Lesson20.xcscheme @@ -0,0 +1,91 @@ + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + diff --git a/Lesson20.xcodeproj/xcuserdata/mariatimofeeva.xcuserdatad/xcschemes/xcschememanagement.plist b/Lesson20.xcodeproj/xcuserdata/mariatimofeeva.xcuserdatad/xcschemes/xcschememanagement.plist new file mode 100644 index 0000000..f2b0cf8 --- /dev/null +++ b/Lesson20.xcodeproj/xcuserdata/mariatimofeeva.xcuserdatad/xcschemes/xcschememanagement.plist @@ -0,0 +1,22 @@ + + + + + SchemeUserState + + Lesson20.xcscheme + + orderHint + 0 + + + SuppressBuildableAutocreation + + AA2557D11CD0FF3A0085836C + + primary + + + + + diff --git a/Lesson20.xcworkspace/xcshareddata/Lesson20.xcscmblueprint b/Lesson20.xcworkspace/xcshareddata/Lesson20.xcscmblueprint new file mode 100644 index 0000000..a582622 --- /dev/null +++ b/Lesson20.xcworkspace/xcshareddata/Lesson20.xcscmblueprint @@ -0,0 +1,37 @@ +{ + "DVTSourceControlWorkspaceBlueprintPrimaryRemoteRepositoryKey" : "A94DDB1E1DBB179E443837B75CD169878F95D229", + "DVTSourceControlWorkspaceBlueprintWorkingCopyRepositoryLocationsKey" : { + + }, + "DVTSourceControlWorkspaceBlueprintWorkingCopyStatesKey" : { + "F444530EA05E325E3E0562A78342DBBE68A6AD27" : 0, + "A94DDB1E1DBB179E443837B75CD169878F95D229" : 0, + "66F677A90FC50DCAFA27B0DC1A4C81A758C7D950" : 0 + }, + "DVTSourceControlWorkspaceBlueprintIdentifierKey" : "8F119CAD-F9E0-46BC-BF2A-31B102F7450F", + "DVTSourceControlWorkspaceBlueprintWorkingCopyPathsKey" : { + "F444530EA05E325E3E0562A78342DBBE68A6AD27" : "", + "A94DDB1E1DBB179E443837B75CD169878F95D229" : "Course2-20\/", + "66F677A90FC50DCAFA27B0DC1A4C81A758C7D950" : ".." + }, + "DVTSourceControlWorkspaceBlueprintNameKey" : "Lesson20", + "DVTSourceControlWorkspaceBlueprintVersion" : 204, + "DVTSourceControlWorkspaceBlueprintRelativePathToProjectKey" : "Lesson20.xcworkspace", + "DVTSourceControlWorkspaceBlueprintRemoteRepositoriesKey" : [ + { + "DVTSourceControlWorkspaceBlueprintRemoteRepositoryURLKey" : "https:\/\/bitbucket.org\/Timofeeva_11-405\/timofeevam_11-405.git", + "DVTSourceControlWorkspaceBlueprintRemoteRepositorySystemKey" : "com.apple.dt.Xcode.sourcecontrol.Git", + "DVTSourceControlWorkspaceBlueprintRemoteRepositoryIdentifierKey" : "66F677A90FC50DCAFA27B0DC1A4C81A758C7D950" + }, + { + "DVTSourceControlWorkspaceBlueprintRemoteRepositoryURLKey" : "https:\/\/github.com\/MariMiMari\/Course2-20.git", + "DVTSourceControlWorkspaceBlueprintRemoteRepositorySystemKey" : "com.apple.dt.Xcode.sourcecontrol.Git", + "DVTSourceControlWorkspaceBlueprintRemoteRepositoryIdentifierKey" : "A94DDB1E1DBB179E443837B75CD169878F95D229" + }, + { + "DVTSourceControlWorkspaceBlueprintRemoteRepositoryURLKey" : "https:\/\/bitbucket.org\/Timofeeva_11-405\/projects.git", + "DVTSourceControlWorkspaceBlueprintRemoteRepositorySystemKey" : "com.apple.dt.Xcode.sourcecontrol.Git", + "DVTSourceControlWorkspaceBlueprintRemoteRepositoryIdentifierKey" : "F444530EA05E325E3E0562A78342DBBE68A6AD27" + } + ] +} \ No newline at end of file diff --git a/Lesson20.xcworkspace/xcuserdata/mariatimofeeva.xcuserdatad/UserInterfaceState.xcuserstate b/Lesson20.xcworkspace/xcuserdata/mariatimofeeva.xcuserdatad/UserInterfaceState.xcuserstate new file mode 100644 index 0000000000000000000000000000000000000000..fad032c728e1d90c689ba90ee96d1ba84b3e86da GIT binary patch literal 22955 zcmc(HcU+Ul|M=ZA*@R6z4y3#8rrNDhf}3G z4j>=^2`E4VhJA*8c3k2tv)y5_wT?@)HB2`*IvwK^P4>oS3w~Ua=(M#31Gr@U<3U6L zV1XA10ihraBm)IV0jVGjqyr_$0GS{gXu&8j8dQTCFb33uv0xk+59+`K-~dk04rYPb zU=HX2bHO|?A1naNz;dtxtOU1#`@sF+0q`Jr2&@ASgD$WMJO;LbC%|s72kZs=z<%%o zcpba}-UM%hL*O_#0nUK;!Fg~2d;`7(-+_zZC&)k+dO>gK1AU<%^oIdZ3Zr2RjD<27 z2jwscCPO96fSIre7Q+%)3iZ$c2f;FEgd^ZcI0}x2)vyMRfwiy>HbFC-0cS!xbimng z9-I#m!b;2`I*7T%JYqhvfLKV}L?B`bv4XghSWVnZ+(+C`JU~25Y#_Rc?ZgwrE5uRa z6!9tX8Sy#s196GCMiL}L`j7!+ASoh4$uLq(Mw2mQBAG&Fk!muV)RBecU~&jKlpID5 zCr6O=>qCd~yMKGr5dhMXn*&k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Sv&2E9>Vp>NZ#)4!=drhiX=L4Q$yS$|c3 z-2e=%!N=fl5E+6E5<|2h!Jsl|3Y-543!dPP*YpgR)GEOlz8mAf^##zQW#(Bnt zMr2%MTx{H8JY>959$%hTo?Tv8UQ%9JKBBy)ys_L|-d5gGKEHfnIVxXPzOKBpyt{mJ z`PTAnQ~{Ah)$qNt*zLSIo>UDjut3Dnly6 zDkCbRDkoGnS5B|AR@y3eRPL*MzVgM&SE^#F(yEkInN{kl + + + + + + + + diff --git a/Lesson20/Base.lproj/Main.storyboard b/Lesson20/Base.lproj/Main.storyboard index e3f5df0..089bca4 100644 --- a/Lesson20/Base.lproj/Main.storyboard +++ b/Lesson20/Base.lproj/Main.storyboard @@ -51,11 +51,11 @@ - + - + @@ -83,11 +83,11 @@ - + - + @@ -117,6 +117,83 @@ + + + + + + + + + + + + + + + + + @@ -126,11 +203,20 @@ + + + + + + + + + - + @@ -154,7 +240,7 @@ - + @@ -162,7 +248,7 @@ - + @@ -171,6 +257,6 @@ - + diff --git a/Lesson20/DetailViewController.h b/Lesson20/DetailViewController.h index e954638..0a833b4 100644 --- a/Lesson20/DetailViewController.h +++ b/Lesson20/DetailViewController.h @@ -5,9 +5,9 @@ // Created by Azat Almeev on 27.04.16. // Copyright © 2016 Azat Almeev. All rights reserved. // - +#import "Film.h" #import @interface DetailViewController : UIViewController - +@property (nonatomic, strong) Film *model; @end diff --git a/Lesson20/DetailViewController.m b/Lesson20/DetailViewController.m index c163f62..6240fa5 100644 --- a/Lesson20/DetailViewController.m +++ b/Lesson20/DetailViewController.m @@ -7,8 +7,17 @@ // #import "DetailViewController.h" - +#import @interface DetailViewController () +@property (weak, nonatomic) IBOutlet UILabel *nameLAbel; +@property (weak, nonatomic) IBOutlet UILabel *ratLabel; +@property (weak, nonatomic) IBOutlet UILabel *lengthLabel; +@property (weak, nonatomic) IBOutlet UILabel *dageLength; +@property (weak, nonatomic) IBOutlet UIImageView *posterImage; +@property (weak, nonatomic) IBOutlet UILabel *country; +@property (weak, nonatomic) IBOutlet UILabel *year; + + @end @@ -16,7 +25,15 @@ @implementation DetailViewController - (void)viewDidLoad { [super viewDidLoad]; - // Do any additional setup after loading the view. + self.nameLAbel.text = self.model.name; + self.dageLength.text = self.model.premiereDate; + NSURL *url = [NSURL URLWithString:[NSString stringWithFormat:@"http://st.kp.yandex.net/images/film_big/%@.jpg", self.model.fid]]; + [self.posterImage sd_setImageWithURL:url]; + self.lengthLabel.text = self.model.length; + self.ratLabel.text = self.model.rating; + self.country.text = self.model.country; + self.year.text = self.model.year; + } - (IBAction)doneButtonDidClick:(id)sender { @@ -28,18 +45,5 @@ - (void)didReceiveMemoryWarning { // Dispose of any resources that can be recreated. } -//- (void)dealloc { -// NSLog(@"Detail view controller did dealloc"); -//} - -/* -#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. -} -*/ @end diff --git a/Lesson20/FilmsTableViewCell.m b/Lesson20/FilmsTableViewCell.m index 772b0d2..435e64d 100644 --- a/Lesson20/FilmsTableViewCell.m +++ b/Lesson20/FilmsTableViewCell.m @@ -27,6 +27,8 @@ - (void)setModel:(Film *)model { self.premiereLabel.text = model.premiereDate; NSURL *url = [NSURL URLWithString:[NSString stringWithFormat:@"http://st.kp.yandex.net/images/%@", model.imageURL]]; [self.posterImage sd_setImageWithURL:url]; + self.lengthLabel.text = model.length; + self.ratingLabel.text = model.rating; // Film *model2; // [model mergeValuesForKeysFromModel:model2]; } diff --git a/Lesson20/FilmsTableViewCell.xib b/Lesson20/FilmsTableViewCell.xib index 94e9070..5a8f4cf 100644 --- a/Lesson20/FilmsTableViewCell.xib +++ b/Lesson20/FilmsTableViewCell.xib @@ -3,6 +3,8 @@ + + @@ -12,52 +14,56 @@ - + - + - + - - + - - + + + - + + diff --git a/Lesson20/ViewController.m b/Lesson20/ViewController.m index ba967ec..d2d605f 100644 --- a/Lesson20/ViewController.m +++ b/Lesson20/ViewController.m @@ -10,6 +10,8 @@ #import "NetManager.h" #import "FilmsTableViewCell.h" #import "Film.h" +#import "DetailViewController.h" +#import @interface ViewController () @property (nonatomic, strong) NSArray *films; @@ -18,12 +20,16 @@ @interface ViewController () @implementation ViewController - (void)viewDidLoad { + MBProgressHUD *hud = [MBProgressHUD showHUDAddedTo:self.view animated:YES]; [super viewDidLoad]; + + [self.tableView registerNib:[UINib nibWithNibName:@"FilmsTableViewCell" bundle:nil] forCellReuseIdentifier:@"FilmsTableViewCell"]; [[NetManager sharedInstance] loadRequestWithPath:@"http://api.kinopoisk.cf/getTodayFilms" completion:^(id data, NSError *error) { if (data) { self.films = [MTLJSONAdapter modelsOfClass:[Film class] fromJSONArray:[data valueForKeyPath:@"filmsData"] error:nil]; [self.tableView reloadData]; + [hud hide:YES afterDelay:0.3]; } }]; } @@ -48,8 +54,14 @@ - (UITableViewCell *)tableView:(UITableView *)tableView cellForRowAtIndexPath:(N } - (void)tableView:(UITableView *)tableView didSelectRowAtIndexPath:(NSIndexPath *)indexPath { + + [tableView deselectRowAtIndexPath:indexPath animated:YES]; [self performSegueWithIdentifier:@"ShowDetail" sender:self]; + UINavigationController *nvc =(UINavigationController *) [self presentedViewController]; + DetailViewController *dvc =(DetailViewController *)nvc.viewControllers.lastObject; + dvc.model = self.films[indexPath.row]; + } @end diff --git a/Podfile b/Podfile index e26deab..a2e38c2 100644 --- a/Podfile +++ b/Podfile @@ -1,2 +1,3 @@ pod 'Mantle' -pod 'SDWebImage' \ No newline at end of file +pod 'SDWebImage' +pod 'MBProgressHUD' \ No newline at end of file diff --git a/Podfile.lock b/Podfile.lock index 2607753..5d648a8 100644 --- a/Podfile.lock +++ b/Podfile.lock @@ -2,16 +2,19 @@ PODS: - Mantle (2.0.7): - Mantle/extobjc (= 2.0.7) - Mantle/extobjc (2.0.7) + - MBProgressHUD (0.9.2) - SDWebImage (3.7.5): - SDWebImage/Core (= 3.7.5) - SDWebImage/Core (3.7.5) DEPENDENCIES: - Mantle + - MBProgressHUD - SDWebImage SPEC CHECKSUMS: Mantle: bc40bb061d8c2c6fb48d5083e04d928c3b7f73d9 + MBProgressHUD: 1569cf7ace17a8bac47aabfbb8580a49690386d1 SDWebImage: 69c6303e3348fba97e03f65d65d4fbc26740f461 COCOAPODS: 0.39.0 diff --git a/Pods/Headers/Private/MBProgressHUD/MBProgressHUD.h b/Pods/Headers/Private/MBProgressHUD/MBProgressHUD.h new file mode 120000 index 0000000..19ed4db --- /dev/null +++ b/Pods/Headers/Private/MBProgressHUD/MBProgressHUD.h @@ -0,0 +1 @@ +../../../MBProgressHUD/MBProgressHUD.h \ No newline at end of file diff --git a/Pods/Headers/Public/MBProgressHUD/MBProgressHUD.h b/Pods/Headers/Public/MBProgressHUD/MBProgressHUD.h new file mode 120000 index 0000000..19ed4db --- /dev/null +++ b/Pods/Headers/Public/MBProgressHUD/MBProgressHUD.h @@ -0,0 +1 @@ +../../../MBProgressHUD/MBProgressHUD.h \ No newline at end of file diff --git a/Pods/MBProgressHUD/LICENSE b/Pods/MBProgressHUD/LICENSE new file mode 100644 index 0000000..0e357d1 --- /dev/null +++ b/Pods/MBProgressHUD/LICENSE @@ -0,0 +1,19 @@ +Copyright (c) 2009-2015 Matej Bukovinski + +Permission is hereby granted, free of charge, to any person obtaining a copy +of this software and associated documentation files (the "Software"), to deal +in the Software without restriction, including without limitation the rights +to use, copy, modify, merge, publish, distribute, sublicense, and/or sell +copies of the Software, and to permit persons to whom the Software is +furnished to do so, subject to the following conditions: + +The above copyright notice and this permission notice shall be included in +all copies or substantial portions of the Software. + +THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND, EXPRESS OR +IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF MERCHANTABILITY, +FITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT. IN NO EVENT SHALL THE +AUTHORS OR COPYRIGHT HOLDERS BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER +LIABILITY, WHETHER IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING FROM, +OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN +THE SOFTWARE. \ No newline at end of file diff --git a/Pods/MBProgressHUD/MBProgressHUD.h b/Pods/MBProgressHUD/MBProgressHUD.h new file mode 100644 index 0000000..40e71a9 --- /dev/null +++ b/Pods/MBProgressHUD/MBProgressHUD.h @@ -0,0 +1,521 @@ +// +// MBProgressHUD.h +// Version 0.9.2 +// Created by Matej Bukovinski on 2.4.09. +// + +// This code is distributed under the terms and conditions of the MIT license. + +// Copyright (c) 2009-2015 Matej Bukovinski +// +// Permission is hereby granted, free of charge, to any person obtaining a copy +// of this software and associated documentation files (the "Software"), to deal +// in the Software without restriction, including without limitation the rights +// to use, copy, modify, merge, publish, distribute, sublicense, and/or sell +// copies of the Software, and to permit persons to whom the Software is +// furnished to do so, subject to the following conditions: +// +// The above copyright notice and this permission notice shall be included in +// all copies or substantial portions of the Software. +// +// THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND, EXPRESS OR +// IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF MERCHANTABILITY, +// FITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT. IN NO EVENT SHALL THE +// AUTHORS OR COPYRIGHT HOLDERS BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER +// LIABILITY, WHETHER IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING FROM, +// OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN +// THE SOFTWARE. + +#import +#import +#import + +@protocol MBProgressHUDDelegate; + + +typedef NS_ENUM(NSInteger, MBProgressHUDMode) { + /** Progress is shown using an UIActivityIndicatorView. This is the default. */ + MBProgressHUDModeIndeterminate, + /** Progress is shown using a round, pie-chart like, progress view. */ + MBProgressHUDModeDeterminate, + /** Progress is shown using a horizontal progress bar */ + MBProgressHUDModeDeterminateHorizontalBar, + /** Progress is shown using a ring-shaped progress view. */ + MBProgressHUDModeAnnularDeterminate, + /** Shows a custom view */ + MBProgressHUDModeCustomView, + /** Shows only labels */ + MBProgressHUDModeText +}; + +typedef NS_ENUM(NSInteger, MBProgressHUDAnimation) { + /** Opacity animation */ + MBProgressHUDAnimationFade, + /** Opacity + scale animation */ + MBProgressHUDAnimationZoom, + MBProgressHUDAnimationZoomOut = MBProgressHUDAnimationZoom, + MBProgressHUDAnimationZoomIn +}; + + +#ifndef MB_INSTANCETYPE +#if __has_feature(objc_instancetype) + #define MB_INSTANCETYPE instancetype +#else + #define MB_INSTANCETYPE id +#endif +#endif + +#ifndef MB_STRONG +#if __has_feature(objc_arc) + #define MB_STRONG strong +#else + #define MB_STRONG retain +#endif +#endif + +#ifndef MB_WEAK +#if __has_feature(objc_arc_weak) + #define MB_WEAK weak +#elif __has_feature(objc_arc) + #define MB_WEAK unsafe_unretained +#else + #define MB_WEAK assign +#endif +#endif + +#if NS_BLOCKS_AVAILABLE +typedef void (^MBProgressHUDCompletionBlock)(); +#endif + + +/** + * Displays a simple HUD window containing a progress indicator and two optional labels for short messages. + * + * This is a simple drop-in class for displaying a progress HUD view similar to Apple's private UIProgressHUD class. + * The MBProgressHUD window spans over the entire space given to it by the initWithFrame constructor and catches all + * user input on this region, thereby preventing the user operations on components below the view. The HUD itself is + * drawn centered as a rounded semi-transparent view which resizes depending on the user specified content. + * + * This view supports four modes of operation: + * - MBProgressHUDModeIndeterminate - shows a UIActivityIndicatorView + * - MBProgressHUDModeDeterminate - shows a custom round progress indicator + * - MBProgressHUDModeAnnularDeterminate - shows a custom annular progress indicator + * - MBProgressHUDModeCustomView - shows an arbitrary, user specified view (see `customView`) + * + * All three modes can have optional labels assigned: + * - If the labelText property is set and non-empty then a label containing the provided content is placed below the + * indicator view. + * - If also the detailsLabelText property is set then another label is placed below the first label. + */ +@interface MBProgressHUD : UIView + +/** + * Creates a new HUD, adds it to provided view and shows it. The counterpart to this method is hideHUDForView:animated:. + * + * @note This method sets `removeFromSuperViewOnHide`. The HUD will automatically be removed from the view hierarchy when hidden. + * + * @param view The view that the HUD will be added to + * @param animated If set to YES the HUD will appear using the current animationType. If set to NO the HUD will not use + * animations while appearing. + * @return A reference to the created HUD. + * + * @see hideHUDForView:animated: + * @see animationType + */ ++ (MB_INSTANCETYPE)showHUDAddedTo:(UIView *)view animated:(BOOL)animated; + +/** + * Finds the top-most HUD subview and hides it. The counterpart to this method is showHUDAddedTo:animated:. + * + * @note This method sets `removeFromSuperViewOnHide`. The HUD will automatically be removed from the view hierarchy when hidden. + * + * @param view The view that is going to be searched for a HUD subview. + * @param animated If set to YES the HUD will disappear using the current animationType. If set to NO the HUD will not use + * animations while disappearing. + * @return YES if a HUD was found and removed, NO otherwise. + * + * @see showHUDAddedTo:animated: + * @see animationType + */ ++ (BOOL)hideHUDForView:(UIView *)view animated:(BOOL)animated; + +/** + * Finds all the HUD subviews and hides them. + * + * @note This method sets `removeFromSuperViewOnHide`. The HUDs will automatically be removed from the view hierarchy when hidden. + * + * @param view The view that is going to be searched for HUD subviews. + * @param animated If set to YES the HUDs will disappear using the current animationType. If set to NO the HUDs will not use + * animations while disappearing. + * @return the number of HUDs found and removed. + * + * @see hideHUDForView:animated: + * @see animationType + */ ++ (NSUInteger)hideAllHUDsForView:(UIView *)view animated:(BOOL)animated; + +/** + * Finds the top-most HUD subview and returns it. + * + * @param view The view that is going to be searched. + * @return A reference to the last HUD subview discovered. + */ ++ (MB_INSTANCETYPE)HUDForView:(UIView *)view; + +/** + * Finds all HUD subviews and returns them. + * + * @param view The view that is going to be searched. + * @return All found HUD views (array of MBProgressHUD objects). + */ ++ (NSArray *)allHUDsForView:(UIView *)view; + +/** + * A convenience constructor that initializes the HUD with the window's bounds. Calls the designated constructor with + * window.bounds as the parameter. + * + * @param window The window instance that will provide the bounds for the HUD. Should be the same instance as + * the HUD's superview (i.e., the window that the HUD will be added to). + */ +- (id)initWithWindow:(UIWindow *)window; + +/** + * A convenience constructor that initializes the HUD with the view's bounds. Calls the designated constructor with + * view.bounds as the parameter + * + * @param view The view instance that will provide the bounds for the HUD. Should be the same instance as + * the HUD's superview (i.e., the view that the HUD will be added to). + */ +- (id)initWithView:(UIView *)view; + +/** + * Display the HUD. You need to make sure that the main thread completes its run loop soon after this method call so + * the user interface can be updated. Call this method when your task is already set-up to be executed in a new thread + * (e.g., when using something like NSOperation or calling an asynchronous call like NSURLRequest). + * + * @param animated If set to YES the HUD will appear using the current animationType. If set to NO the HUD will not use + * animations while appearing. + * + * @see animationType + */ +- (void)show:(BOOL)animated; + +/** + * Hide the HUD. This still calls the hudWasHidden: delegate. This is the counterpart of the show: method. Use it to + * hide the HUD when your task completes. + * + * @param animated If set to YES the HUD will disappear using the current animationType. If set to NO the HUD will not use + * animations while disappearing. + * + * @see animationType + */ +- (void)hide:(BOOL)animated; + +/** + * Hide the HUD after a delay. This still calls the hudWasHidden: delegate. This is the counterpart of the show: method. Use it to + * hide the HUD when your task completes. + * + * @param animated If set to YES the HUD will disappear using the current animationType. If set to NO the HUD will not use + * animations while disappearing. + * @param delay Delay in seconds until the HUD is hidden. + * + * @see animationType + */ +- (void)hide:(BOOL)animated afterDelay:(NSTimeInterval)delay; + +/** + * Shows the HUD while a background task is executing in a new thread, then hides the HUD. + * + * This method also takes care of autorelease pools so your method does not have to be concerned with setting up a + * pool. + * + * @param method The method to be executed while the HUD is shown. This method will be executed in a new thread. + * @param target The object that the target method belongs to. + * @param object An optional object to be passed to the method. + * @param animated If set to YES the HUD will (dis)appear using the current animationType. If set to NO the HUD will not use + * animations while (dis)appearing. + */ +- (void)showWhileExecuting:(SEL)method onTarget:(id)target withObject:(id)object animated:(BOOL)animated; + +#if NS_BLOCKS_AVAILABLE + +/** + * Shows the HUD while a block is executing on a background queue, then hides the HUD. + * + * @see showAnimated:whileExecutingBlock:onQueue:completionBlock: + */ +- (void)showAnimated:(BOOL)animated whileExecutingBlock:(dispatch_block_t)block; + +/** + * Shows the HUD while a block is executing on a background queue, then hides the HUD. + * + * @see showAnimated:whileExecutingBlock:onQueue:completionBlock: + */ +- (void)showAnimated:(BOOL)animated whileExecutingBlock:(dispatch_block_t)block completionBlock:(MBProgressHUDCompletionBlock)completion; + +/** + * Shows the HUD while a block is executing on the specified dispatch queue, then hides the HUD. + * + * @see showAnimated:whileExecutingBlock:onQueue:completionBlock: + */ +- (void)showAnimated:(BOOL)animated whileExecutingBlock:(dispatch_block_t)block onQueue:(dispatch_queue_t)queue; + +/** + * Shows the HUD while a block is executing on the specified dispatch queue, executes completion block on the main queue, and then hides the HUD. + * + * @param animated If set to YES the HUD will (dis)appear using the current animationType. If set to NO the HUD will + * not use animations while (dis)appearing. + * @param block The block to be executed while the HUD is shown. + * @param queue The dispatch queue on which the block should be executed. + * @param completion The block to be executed on completion. + * + * @see completionBlock + */ +- (void)showAnimated:(BOOL)animated whileExecutingBlock:(dispatch_block_t)block onQueue:(dispatch_queue_t)queue + completionBlock:(MBProgressHUDCompletionBlock)completion; + +/** + * A block that gets called after the HUD was completely hidden. + */ +@property (copy) MBProgressHUDCompletionBlock completionBlock; + +#endif + +/** + * MBProgressHUD operation mode. The default is MBProgressHUDModeIndeterminate. + * + * @see MBProgressHUDMode + */ +@property (assign) MBProgressHUDMode mode; + +/** + * The animation type that should be used when the HUD is shown and hidden. + * + * @see MBProgressHUDAnimation + */ +@property (assign) MBProgressHUDAnimation animationType; + +/** + * The UIView (e.g., a UIImageView) to be shown when the HUD is in MBProgressHUDModeCustomView. + * For best results use a 37 by 37 pixel view (so the bounds match the built in indicator bounds). + */ +@property (MB_STRONG) UIView *customView; + +/** + * The HUD delegate object. + * + * @see MBProgressHUDDelegate + */ +@property (MB_WEAK) id delegate; + +/** + * An optional short message to be displayed below the activity indicator. The HUD is automatically resized to fit + * the entire text. If the text is too long it will get clipped by displaying "..." at the end. If left unchanged or + * set to @"", then no message is displayed. + */ +@property (copy) NSString *labelText; + +/** + * An optional details message displayed below the labelText message. This message is displayed only if the labelText + * property is also set and is different from an empty string (@""). The details text can span multiple lines. + */ +@property (copy) NSString *detailsLabelText; + +/** + * The opacity of the HUD window. Defaults to 0.8 (80% opacity). + */ +@property (assign) float opacity; + +/** + * The color of the HUD window. Defaults to black. If this property is set, color is set using + * this UIColor and the opacity property is not used. using retain because performing copy on + * UIColor base colors (like [UIColor greenColor]) cause problems with the copyZone. + */ +@property (MB_STRONG) UIColor *color; + +/** + * The x-axis offset of the HUD relative to the centre of the superview. + */ +@property (assign) float xOffset; + +/** + * The y-axis offset of the HUD relative to the centre of the superview. + */ +@property (assign) float yOffset; + +/** + * The amount of space between the HUD edge and the HUD elements (labels, indicators or custom views). + * Defaults to 20.0 + */ +@property (assign) float margin; + +/** + * The corner radius for the HUD + * Defaults to 10.0 + */ +@property (assign) float cornerRadius; + +/** + * Cover the HUD background view with a radial gradient. + */ +@property (assign) BOOL dimBackground; + +/* + * Grace period is the time (in seconds) that the invoked method may be run without + * showing the HUD. If the task finishes before the grace time runs out, the HUD will + * not be shown at all. + * This may be used to prevent HUD display for very short tasks. + * Defaults to 0 (no grace time). + * Grace time functionality is only supported when the task status is known! + * @see taskInProgress + */ +@property (assign) float graceTime; + +/** + * The minimum time (in seconds) that the HUD is shown. + * This avoids the problem of the HUD being shown and than instantly hidden. + * Defaults to 0 (no minimum show time). + */ +@property (assign) float minShowTime; + +/** + * Indicates that the executed operation is in progress. Needed for correct graceTime operation. + * If you don't set a graceTime (different than 0.0) this does nothing. + * This property is automatically set when using showWhileExecuting:onTarget:withObject:animated:. + * When threading is done outside of the HUD (i.e., when the show: and hide: methods are used directly), + * you need to set this property when your task starts and completes in order to have normal graceTime + * functionality. + */ +@property (assign) BOOL taskInProgress; + +/** + * Removes the HUD from its parent view when hidden. + * Defaults to NO. + */ +@property (assign) BOOL removeFromSuperViewOnHide; + +/** + * Font to be used for the main label. Set this property if the default is not adequate. + */ +@property (MB_STRONG) UIFont* labelFont; + +/** + * Color to be used for the main label. Set this property if the default is not adequate. + */ +@property (MB_STRONG) UIColor* labelColor; + +/** + * Font to be used for the details label. Set this property if the default is not adequate. + */ +@property (MB_STRONG) UIFont* detailsLabelFont; + +/** + * Color to be used for the details label. Set this property if the default is not adequate. + */ +@property (MB_STRONG) UIColor* detailsLabelColor; + +/** + * The color of the activity indicator. Defaults to [UIColor whiteColor] + * Does nothing on pre iOS 5. + */ +@property (MB_STRONG) UIColor *activityIndicatorColor; + +/** + * The progress of the progress indicator, from 0.0 to 1.0. Defaults to 0.0. + */ +@property (assign) float progress; + +/** + * The minimum size of the HUD bezel. Defaults to CGSizeZero (no minimum size). + */ +@property (assign) CGSize minSize; + + +/** + * The actual size of the HUD bezel. + * You can use this to limit touch handling on the bezel area only. + * @see https://github.com/jdg/MBProgressHUD/pull/200 + */ +@property (atomic, assign, readonly) CGSize size; + + +/** + * Force the HUD dimensions to be equal if possible. + */ +@property (assign, getter = isSquare) BOOL square; + +@end + + +@protocol MBProgressHUDDelegate + +@optional + +/** + * Called after the HUD was fully hidden from the screen. + */ +- (void)hudWasHidden:(MBProgressHUD *)hud; + +@end + + +/** + * A progress view for showing definite progress by filling up a circle (pie chart). + */ +@interface MBRoundProgressView : UIView + +/** + * Progress (0.0 to 1.0) + */ +@property (nonatomic, assign) float progress; + +/** + * Indicator progress color. + * Defaults to white [UIColor whiteColor] + */ +@property (nonatomic, MB_STRONG) UIColor *progressTintColor; + +/** + * Indicator background (non-progress) color. + * Defaults to translucent white (alpha 0.1) + */ +@property (nonatomic, MB_STRONG) UIColor *backgroundTintColor; + +/* + * Display mode - NO = round or YES = annular. Defaults to round. + */ +@property (nonatomic, assign, getter = isAnnular) BOOL annular; + +@end + + +/** + * A flat bar progress view. + */ +@interface MBBarProgressView : UIView + +/** + * Progress (0.0 to 1.0) + */ +@property (nonatomic, assign) float progress; + +/** + * Bar border line color. + * Defaults to white [UIColor whiteColor]. + */ +@property (nonatomic, MB_STRONG) UIColor *lineColor; + +/** + * Bar background color. + * Defaults to clear [UIColor clearColor]; + */ +@property (nonatomic, MB_STRONG) UIColor *progressRemainingColor; + +/** + * Bar progress color. + * Defaults to white [UIColor whiteColor]. + */ +@property (nonatomic, MB_STRONG) UIColor *progressColor; + +@end diff --git a/Pods/MBProgressHUD/MBProgressHUD.m b/Pods/MBProgressHUD/MBProgressHUD.m new file mode 100644 index 0000000..bf5f7ff --- /dev/null +++ b/Pods/MBProgressHUD/MBProgressHUD.m @@ -0,0 +1,1033 @@ +// +// MBProgressHUD.m +// Version 0.9.2 +// Created by Matej Bukovinski on 2.4.09. +// + +#import "MBProgressHUD.h" +#import + + +#if __has_feature(objc_arc) + #define MB_AUTORELEASE(exp) exp + #define MB_RELEASE(exp) exp + #define MB_RETAIN(exp) exp +#else + #define MB_AUTORELEASE(exp) [exp autorelease] + #define MB_RELEASE(exp) [exp release] + #define MB_RETAIN(exp) [exp retain] +#endif + +#if __IPHONE_OS_VERSION_MIN_REQUIRED >= 60000 + #define MBLabelAlignmentCenter NSTextAlignmentCenter +#else + #define MBLabelAlignmentCenter UITextAlignmentCenter +#endif + +#if __IPHONE_OS_VERSION_MIN_REQUIRED >= 70000 + #define MB_TEXTSIZE(text, font) [text length] > 0 ? [text \ + sizeWithAttributes:@{NSFontAttributeName:font}] : CGSizeZero; +#else + #define MB_TEXTSIZE(text, font) [text length] > 0 ? [text sizeWithFont:font] : CGSizeZero; +#endif + +#if __IPHONE_OS_VERSION_MIN_REQUIRED >= 70000 + #define MB_MULTILINE_TEXTSIZE(text, font, maxSize, mode) [text length] > 0 ? [text \ + boundingRectWithSize:maxSize options:(NSStringDrawingUsesLineFragmentOrigin) \ + attributes:@{NSFontAttributeName:font} context:nil].size : CGSizeZero; +#else + #define MB_MULTILINE_TEXTSIZE(text, font, maxSize, mode) [text length] > 0 ? [text \ + sizeWithFont:font constrainedToSize:maxSize lineBreakMode:mode] : CGSizeZero; +#endif + +#ifndef kCFCoreFoundationVersionNumber_iOS_7_0 + #define kCFCoreFoundationVersionNumber_iOS_7_0 847.20 +#endif + +#ifndef kCFCoreFoundationVersionNumber_iOS_8_0 + #define kCFCoreFoundationVersionNumber_iOS_8_0 1129.15 +#endif + + +static const CGFloat kPadding = 4.f; +static const CGFloat kLabelFontSize = 16.f; +static const CGFloat kDetailsLabelFontSize = 12.f; + + +@interface MBProgressHUD () { + BOOL useAnimation; + SEL methodForExecution; + id targetForExecution; + id objectForExecution; + UILabel *label; + UILabel *detailsLabel; + BOOL isFinished; + CGAffineTransform rotationTransform; +} + +@property (atomic, MB_STRONG) UIView *indicator; +@property (atomic, MB_STRONG) NSTimer *graceTimer; +@property (atomic, MB_STRONG) NSTimer *minShowTimer; +@property (atomic, MB_STRONG) NSDate *showStarted; + +@end + + +@implementation MBProgressHUD + +#pragma mark - Properties + +@synthesize animationType; +@synthesize delegate; +@synthesize opacity; +@synthesize color; +@synthesize labelFont; +@synthesize labelColor; +@synthesize detailsLabelFont; +@synthesize detailsLabelColor; +@synthesize indicator; +@synthesize xOffset; +@synthesize yOffset; +@synthesize minSize; +@synthesize square; +@synthesize margin; +@synthesize dimBackground; +@synthesize graceTime; +@synthesize minShowTime; +@synthesize graceTimer; +@synthesize minShowTimer; +@synthesize taskInProgress; +@synthesize removeFromSuperViewOnHide; +@synthesize customView; +@synthesize showStarted; +@synthesize mode; +@synthesize labelText; +@synthesize detailsLabelText; +@synthesize progress; +@synthesize size; +@synthesize activityIndicatorColor; +#if NS_BLOCKS_AVAILABLE +@synthesize completionBlock; +#endif + +#pragma mark - Class methods + ++ (MB_INSTANCETYPE)showHUDAddedTo:(UIView *)view animated:(BOOL)animated { + MBProgressHUD *hud = [[self alloc] initWithView:view]; + hud.removeFromSuperViewOnHide = YES; + [view addSubview:hud]; + [hud show:animated]; + return MB_AUTORELEASE(hud); +} + ++ (BOOL)hideHUDForView:(UIView *)view animated:(BOOL)animated { + MBProgressHUD *hud = [self HUDForView:view]; + if (hud != nil) { + hud.removeFromSuperViewOnHide = YES; + [hud hide:animated]; + return YES; + } + return NO; +} + ++ (NSUInteger)hideAllHUDsForView:(UIView *)view animated:(BOOL)animated { + NSArray *huds = [MBProgressHUD allHUDsForView:view]; + for (MBProgressHUD *hud in huds) { + hud.removeFromSuperViewOnHide = YES; + [hud hide:animated]; + } + return [huds count]; +} + ++ (MB_INSTANCETYPE)HUDForView:(UIView *)view { + NSEnumerator *subviewsEnum = [view.subviews reverseObjectEnumerator]; + for (UIView *subview in subviewsEnum) { + if ([subview isKindOfClass:self]) { + return (MBProgressHUD *)subview; + } + } + return nil; +} + ++ (NSArray *)allHUDsForView:(UIView *)view { + NSMutableArray *huds = [NSMutableArray array]; + NSArray *subviews = view.subviews; + for (UIView *aView in subviews) { + if ([aView isKindOfClass:self]) { + [huds addObject:aView]; + } + } + return [NSArray arrayWithArray:huds]; +} + +#pragma mark - Lifecycle + +- (id)initWithFrame:(CGRect)frame { + self = [super initWithFrame:frame]; + if (self) { + // Set default values for properties + self.animationType = MBProgressHUDAnimationFade; + self.mode = MBProgressHUDModeIndeterminate; + self.labelText = nil; + self.detailsLabelText = nil; + self.opacity = 0.8f; + self.color = nil; + self.labelFont = [UIFont boldSystemFontOfSize:kLabelFontSize]; + self.labelColor = [UIColor whiteColor]; + self.detailsLabelFont = [UIFont boldSystemFontOfSize:kDetailsLabelFontSize]; + self.detailsLabelColor = [UIColor whiteColor]; + self.activityIndicatorColor = [UIColor whiteColor]; + self.xOffset = 0.0f; + self.yOffset = 0.0f; + self.dimBackground = NO; + self.margin = 20.0f; + self.cornerRadius = 10.0f; + self.graceTime = 0.0f; + self.minShowTime = 0.0f; + self.removeFromSuperViewOnHide = NO; + self.minSize = CGSizeZero; + self.square = NO; + self.contentMode = UIViewContentModeCenter; + self.autoresizingMask = UIViewAutoresizingFlexibleTopMargin | UIViewAutoresizingFlexibleBottomMargin + | UIViewAutoresizingFlexibleLeftMargin | UIViewAutoresizingFlexibleRightMargin; + + // Transparent background + self.opaque = NO; + self.backgroundColor = [UIColor clearColor]; + // Make it invisible for now + self.alpha = 0.0f; + + taskInProgress = NO; + rotationTransform = CGAffineTransformIdentity; + + [self setupLabels]; + [self updateIndicators]; + [self registerForKVO]; + [self registerForNotifications]; + } + return self; +} + +- (id)initWithView:(UIView *)view { + NSAssert(view, @"View must not be nil."); + return [self initWithFrame:view.bounds]; +} + +- (id)initWithWindow:(UIWindow *)window { + return [self initWithView:window]; +} + +- (void)dealloc { + [self unregisterFromNotifications]; + [self unregisterFromKVO]; +#if !__has_feature(objc_arc) + [color release]; + [indicator release]; + [label release]; + [detailsLabel release]; + [labelText release]; + [detailsLabelText release]; + [graceTimer release]; + [minShowTimer release]; + [showStarted release]; + [customView release]; + [labelFont release]; + [labelColor release]; + [detailsLabelFont release]; + [detailsLabelColor release]; +#if NS_BLOCKS_AVAILABLE + [completionBlock release]; +#endif + [super dealloc]; +#endif +} + +#pragma mark - Show & hide + +- (void)show:(BOOL)animated { + NSAssert([NSThread isMainThread], @"MBProgressHUD needs to be accessed on the main thread."); + useAnimation = animated; + // If the grace time is set postpone the HUD display + if (self.graceTime > 0.0) { + NSTimer *newGraceTimer = [NSTimer timerWithTimeInterval:self.graceTime target:self selector:@selector(handleGraceTimer:) userInfo:nil repeats:NO]; + [[NSRunLoop currentRunLoop] addTimer:newGraceTimer forMode:NSRunLoopCommonModes]; + self.graceTimer = newGraceTimer; + } + // ... otherwise show the HUD imediately + else { + [self showUsingAnimation:useAnimation]; + } +} + +- (void)hide:(BOOL)animated { + NSAssert([NSThread isMainThread], @"MBProgressHUD needs to be accessed on the main thread."); + useAnimation = animated; + // If the minShow time is set, calculate how long the hud was shown, + // and pospone the hiding operation if necessary + if (self.minShowTime > 0.0 && showStarted) { + NSTimeInterval interv = [[NSDate date] timeIntervalSinceDate:showStarted]; + if (interv < self.minShowTime) { + self.minShowTimer = [NSTimer scheduledTimerWithTimeInterval:(self.minShowTime - interv) target:self + selector:@selector(handleMinShowTimer:) userInfo:nil repeats:NO]; + return; + } + } + // ... otherwise hide the HUD immediately + [self hideUsingAnimation:useAnimation]; +} + +- (void)hide:(BOOL)animated afterDelay:(NSTimeInterval)delay { + [self performSelector:@selector(hideDelayed:) withObject:[NSNumber numberWithBool:animated] afterDelay:delay]; +} + +- (void)hideDelayed:(NSNumber *)animated { + [self hide:[animated boolValue]]; +} + +#pragma mark - Timer callbacks + +- (void)handleGraceTimer:(NSTimer *)theTimer { + // Show the HUD only if the task is still running + if (taskInProgress) { + [self showUsingAnimation:useAnimation]; + } +} + +- (void)handleMinShowTimer:(NSTimer *)theTimer { + [self hideUsingAnimation:useAnimation]; +} + +#pragma mark - View Hierrarchy + +- (void)didMoveToSuperview { + [self updateForCurrentOrientationAnimated:NO]; +} + +#pragma mark - Internal show & hide operations + +- (void)showUsingAnimation:(BOOL)animated { + // Cancel any scheduled hideDelayed: calls + [NSObject cancelPreviousPerformRequestsWithTarget:self]; + [self setNeedsDisplay]; + + if (animated && animationType == MBProgressHUDAnimationZoomIn) { + self.transform = CGAffineTransformConcat(rotationTransform, CGAffineTransformMakeScale(0.5f, 0.5f)); + } else if (animated && animationType == MBProgressHUDAnimationZoomOut) { + self.transform = CGAffineTransformConcat(rotationTransform, CGAffineTransformMakeScale(1.5f, 1.5f)); + } + self.showStarted = [NSDate date]; + // Fade in + if (animated) { + [UIView beginAnimations:nil context:NULL]; + [UIView setAnimationDuration:0.30]; + self.alpha = 1.0f; + if (animationType == MBProgressHUDAnimationZoomIn || animationType == MBProgressHUDAnimationZoomOut) { + self.transform = rotationTransform; + } + [UIView commitAnimations]; + } + else { + self.alpha = 1.0f; + } +} + +- (void)hideUsingAnimation:(BOOL)animated { + // Fade out + if (animated && showStarted) { + [UIView beginAnimations:nil context:NULL]; + [UIView setAnimationDuration:0.30]; + [UIView setAnimationDelegate:self]; + [UIView setAnimationDidStopSelector:@selector(animationFinished:finished:context:)]; + // 0.02 prevents the hud from passing through touches during the animation the hud will get completely hidden + // in the done method + if (animationType == MBProgressHUDAnimationZoomIn) { + self.transform = CGAffineTransformConcat(rotationTransform, CGAffineTransformMakeScale(1.5f, 1.5f)); + } else if (animationType == MBProgressHUDAnimationZoomOut) { + self.transform = CGAffineTransformConcat(rotationTransform, CGAffineTransformMakeScale(0.5f, 0.5f)); + } + + self.alpha = 0.02f; + [UIView commitAnimations]; + } + else { + self.alpha = 0.0f; + [self done]; + } + self.showStarted = nil; +} + +- (void)animationFinished:(NSString *)animationID finished:(BOOL)finished context:(void*)context { + [self done]; +} + +- (void)done { + [NSObject cancelPreviousPerformRequestsWithTarget:self]; + isFinished = YES; + self.alpha = 0.0f; + if (removeFromSuperViewOnHide) { + [self removeFromSuperview]; + } +#if NS_BLOCKS_AVAILABLE + if (self.completionBlock) { + self.completionBlock(); + self.completionBlock = NULL; + } +#endif + if ([delegate respondsToSelector:@selector(hudWasHidden:)]) { + [delegate performSelector:@selector(hudWasHidden:) withObject:self]; + } +} + +#pragma mark - Threading + +- (void)showWhileExecuting:(SEL)method onTarget:(id)target withObject:(id)object animated:(BOOL)animated { + methodForExecution = method; + targetForExecution = MB_RETAIN(target); + objectForExecution = MB_RETAIN(object); + // Launch execution in new thread + self.taskInProgress = YES; + [NSThread detachNewThreadSelector:@selector(launchExecution) toTarget:self withObject:nil]; + // Show HUD view + [self show:animated]; +} + +#if NS_BLOCKS_AVAILABLE + +- (void)showAnimated:(BOOL)animated whileExecutingBlock:(dispatch_block_t)block { + dispatch_queue_t queue = dispatch_get_global_queue(DISPATCH_QUEUE_PRIORITY_DEFAULT, 0); + [self showAnimated:animated whileExecutingBlock:block onQueue:queue completionBlock:NULL]; +} + +- (void)showAnimated:(BOOL)animated whileExecutingBlock:(dispatch_block_t)block completionBlock:(void (^)())completion { + dispatch_queue_t queue = dispatch_get_global_queue(DISPATCH_QUEUE_PRIORITY_DEFAULT, 0); + [self showAnimated:animated whileExecutingBlock:block onQueue:queue completionBlock:completion]; +} + +- (void)showAnimated:(BOOL)animated whileExecutingBlock:(dispatch_block_t)block onQueue:(dispatch_queue_t)queue { + [self showAnimated:animated whileExecutingBlock:block onQueue:queue completionBlock:NULL]; +} + +- (void)showAnimated:(BOOL)animated whileExecutingBlock:(dispatch_block_t)block onQueue:(dispatch_queue_t)queue + completionBlock:(MBProgressHUDCompletionBlock)completion { + self.taskInProgress = YES; + self.completionBlock = completion; + dispatch_async(queue, ^(void) { + block(); + dispatch_async(dispatch_get_main_queue(), ^(void) { + [self cleanUp]; + }); + }); + [self show:animated]; +} + +#endif + +- (void)launchExecution { + @autoreleasepool { +#pragma clang diagnostic push +#pragma clang diagnostic ignored "-Warc-performSelector-leaks" + // Start executing the requested task + [targetForExecution performSelector:methodForExecution withObject:objectForExecution]; +#pragma clang diagnostic pop + // Task completed, update view in main thread (note: view operations should + // be done only in the main thread) + [self performSelectorOnMainThread:@selector(cleanUp) withObject:nil waitUntilDone:NO]; + } +} + +- (void)cleanUp { + taskInProgress = NO; +#if !__has_feature(objc_arc) + [targetForExecution release]; + [objectForExecution release]; +#else + targetForExecution = nil; + objectForExecution = nil; +#endif + [self hide:useAnimation]; +} + +#pragma mark - UI + +- (void)setupLabels { + label = [[UILabel alloc] initWithFrame:self.bounds]; + label.adjustsFontSizeToFitWidth = NO; + label.textAlignment = MBLabelAlignmentCenter; + label.opaque = NO; + label.backgroundColor = [UIColor clearColor]; + label.textColor = self.labelColor; + label.font = self.labelFont; + label.text = self.labelText; + [self addSubview:label]; + + detailsLabel = [[UILabel alloc] initWithFrame:self.bounds]; + detailsLabel.font = self.detailsLabelFont; + detailsLabel.adjustsFontSizeToFitWidth = NO; + detailsLabel.textAlignment = MBLabelAlignmentCenter; + detailsLabel.opaque = NO; + detailsLabel.backgroundColor = [UIColor clearColor]; + detailsLabel.textColor = self.detailsLabelColor; + detailsLabel.numberOfLines = 0; + detailsLabel.font = self.detailsLabelFont; + detailsLabel.text = self.detailsLabelText; + [self addSubview:detailsLabel]; +} + +- (void)updateIndicators { + + BOOL isActivityIndicator = [indicator isKindOfClass:[UIActivityIndicatorView class]]; + BOOL isRoundIndicator = [indicator isKindOfClass:[MBRoundProgressView class]]; + + if (mode == MBProgressHUDModeIndeterminate) { + if (!isActivityIndicator) { + // Update to indeterminate indicator + [indicator removeFromSuperview]; + self.indicator = MB_AUTORELEASE([[UIActivityIndicatorView alloc] + initWithActivityIndicatorStyle:UIActivityIndicatorViewStyleWhiteLarge]); + [(UIActivityIndicatorView *)indicator startAnimating]; + [self addSubview:indicator]; + } +#if __IPHONE_OS_VERSION_MIN_REQUIRED >= 50000 + [(UIActivityIndicatorView *)indicator setColor:self.activityIndicatorColor]; +#endif + } + else if (mode == MBProgressHUDModeDeterminateHorizontalBar) { + // Update to bar determinate indicator + [indicator removeFromSuperview]; + self.indicator = MB_AUTORELEASE([[MBBarProgressView alloc] init]); + [self addSubview:indicator]; + } + else if (mode == MBProgressHUDModeDeterminate || mode == MBProgressHUDModeAnnularDeterminate) { + if (!isRoundIndicator) { + // Update to determinante indicator + [indicator removeFromSuperview]; + self.indicator = MB_AUTORELEASE([[MBRoundProgressView alloc] init]); + [self addSubview:indicator]; + } + if (mode == MBProgressHUDModeAnnularDeterminate) { + [(MBRoundProgressView *)indicator setAnnular:YES]; + } + [(MBRoundProgressView *)indicator setProgressTintColor:self.activityIndicatorColor]; + [(MBRoundProgressView *)indicator setBackgroundTintColor:[self.activityIndicatorColor colorWithAlphaComponent:0.1f]]; + } + else if (mode == MBProgressHUDModeCustomView && customView != indicator) { + // Update custom view indicator + [indicator removeFromSuperview]; + self.indicator = customView; + [self addSubview:indicator]; + } else if (mode == MBProgressHUDModeText) { + [indicator removeFromSuperview]; + self.indicator = nil; + } +} + +#pragma mark - Layout + +- (void)layoutSubviews { + [super layoutSubviews]; + + // Entirely cover the parent view + UIView *parent = self.superview; + if (parent) { + self.frame = parent.bounds; + } + CGRect bounds = self.bounds; + + // Determine the total width and height needed + CGFloat maxWidth = bounds.size.width - 4 * margin; + CGSize totalSize = CGSizeZero; + + CGRect indicatorF = indicator.bounds; + indicatorF.size.width = MIN(indicatorF.size.width, maxWidth); + totalSize.width = MAX(totalSize.width, indicatorF.size.width); + totalSize.height += indicatorF.size.height; + + CGSize labelSize = MB_TEXTSIZE(label.text, label.font); + labelSize.width = MIN(labelSize.width, maxWidth); + totalSize.width = MAX(totalSize.width, labelSize.width); + totalSize.height += labelSize.height; + if (labelSize.height > 0.f && indicatorF.size.height > 0.f) { + totalSize.height += kPadding; + } + + CGFloat remainingHeight = bounds.size.height - totalSize.height - kPadding - 4 * margin; + CGSize maxSize = CGSizeMake(maxWidth, remainingHeight); + CGSize detailsLabelSize = MB_MULTILINE_TEXTSIZE(detailsLabel.text, detailsLabel.font, maxSize, detailsLabel.lineBreakMode); + totalSize.width = MAX(totalSize.width, detailsLabelSize.width); + totalSize.height += detailsLabelSize.height; + if (detailsLabelSize.height > 0.f && (indicatorF.size.height > 0.f || labelSize.height > 0.f)) { + totalSize.height += kPadding; + } + + totalSize.width += 2 * margin; + totalSize.height += 2 * margin; + + // Position elements + CGFloat yPos = round(((bounds.size.height - totalSize.height) / 2)) + margin + yOffset; + CGFloat xPos = xOffset; + indicatorF.origin.y = yPos; + indicatorF.origin.x = round((bounds.size.width - indicatorF.size.width) / 2) + xPos; + indicator.frame = indicatorF; + yPos += indicatorF.size.height; + + if (labelSize.height > 0.f && indicatorF.size.height > 0.f) { + yPos += kPadding; + } + CGRect labelF; + labelF.origin.y = yPos; + labelF.origin.x = round((bounds.size.width - labelSize.width) / 2) + xPos; + labelF.size = labelSize; + label.frame = labelF; + yPos += labelF.size.height; + + if (detailsLabelSize.height > 0.f && (indicatorF.size.height > 0.f || labelSize.height > 0.f)) { + yPos += kPadding; + } + CGRect detailsLabelF; + detailsLabelF.origin.y = yPos; + detailsLabelF.origin.x = round((bounds.size.width - detailsLabelSize.width) / 2) + xPos; + detailsLabelF.size = detailsLabelSize; + detailsLabel.frame = detailsLabelF; + + // Enforce minsize and quare rules + if (square) { + CGFloat max = MAX(totalSize.width, totalSize.height); + if (max <= bounds.size.width - 2 * margin) { + totalSize.width = max; + } + if (max <= bounds.size.height - 2 * margin) { + totalSize.height = max; + } + } + if (totalSize.width < minSize.width) { + totalSize.width = minSize.width; + } + if (totalSize.height < minSize.height) { + totalSize.height = minSize.height; + } + + size = totalSize; +} + +#pragma mark BG Drawing + +- (void)drawRect:(CGRect)rect { + + CGContextRef context = UIGraphicsGetCurrentContext(); + UIGraphicsPushContext(context); + + if (self.dimBackground) { + //Gradient colours + size_t gradLocationsNum = 2; + CGFloat gradLocations[2] = {0.0f, 1.0f}; + CGFloat gradColors[8] = {0.0f,0.0f,0.0f,0.0f,0.0f,0.0f,0.0f,0.75f}; + CGColorSpaceRef colorSpace = CGColorSpaceCreateDeviceRGB(); + CGGradientRef gradient = CGGradientCreateWithColorComponents(colorSpace, gradColors, gradLocations, gradLocationsNum); + CGColorSpaceRelease(colorSpace); + //Gradient center + CGPoint gradCenter= CGPointMake(self.bounds.size.width/2, self.bounds.size.height/2); + //Gradient radius + float gradRadius = MIN(self.bounds.size.width , self.bounds.size.height) ; + //Gradient draw + CGContextDrawRadialGradient (context, gradient, gradCenter, + 0, gradCenter, gradRadius, + kCGGradientDrawsAfterEndLocation); + CGGradientRelease(gradient); + } + + // Set background rect color + if (self.color) { + CGContextSetFillColorWithColor(context, self.color.CGColor); + } else { + CGContextSetGrayFillColor(context, 0.0f, self.opacity); + } + + + // Center HUD + CGRect allRect = self.bounds; + // Draw rounded HUD backgroud rect + CGRect boxRect = CGRectMake(round((allRect.size.width - size.width) / 2) + self.xOffset, + round((allRect.size.height - size.height) / 2) + self.yOffset, size.width, size.height); + float radius = self.cornerRadius; + CGContextBeginPath(context); + CGContextMoveToPoint(context, CGRectGetMinX(boxRect) + radius, CGRectGetMinY(boxRect)); + CGContextAddArc(context, CGRectGetMaxX(boxRect) - radius, CGRectGetMinY(boxRect) + radius, radius, 3 * (float)M_PI / 2, 0, 0); + CGContextAddArc(context, CGRectGetMaxX(boxRect) - radius, CGRectGetMaxY(boxRect) - radius, radius, 0, (float)M_PI / 2, 0); + CGContextAddArc(context, CGRectGetMinX(boxRect) + radius, CGRectGetMaxY(boxRect) - radius, radius, (float)M_PI / 2, (float)M_PI, 0); + CGContextAddArc(context, CGRectGetMinX(boxRect) + radius, CGRectGetMinY(boxRect) + radius, radius, (float)M_PI, 3 * (float)M_PI / 2, 0); + CGContextClosePath(context); + CGContextFillPath(context); + + UIGraphicsPopContext(); +} + +#pragma mark - KVO + +- (void)registerForKVO { + for (NSString *keyPath in [self observableKeypaths]) { + [self addObserver:self forKeyPath:keyPath options:NSKeyValueObservingOptionNew context:NULL]; + } +} + +- (void)unregisterFromKVO { + for (NSString *keyPath in [self observableKeypaths]) { + [self removeObserver:self forKeyPath:keyPath]; + } +} + +- (NSArray *)observableKeypaths { + return [NSArray arrayWithObjects:@"mode", @"customView", @"labelText", @"labelFont", @"labelColor", + @"detailsLabelText", @"detailsLabelFont", @"detailsLabelColor", @"progress", @"activityIndicatorColor", nil]; +} + +- (void)observeValueForKeyPath:(NSString *)keyPath ofObject:(id)object change:(NSDictionary *)change context:(void *)context { + if (![NSThread isMainThread]) { + [self performSelectorOnMainThread:@selector(updateUIForKeypath:) withObject:keyPath waitUntilDone:NO]; + } else { + [self updateUIForKeypath:keyPath]; + } +} + +- (void)updateUIForKeypath:(NSString *)keyPath { + if ([keyPath isEqualToString:@"mode"] || [keyPath isEqualToString:@"customView"] || + [keyPath isEqualToString:@"activityIndicatorColor"]) { + [self updateIndicators]; + } else if ([keyPath isEqualToString:@"labelText"]) { + label.text = self.labelText; + } else if ([keyPath isEqualToString:@"labelFont"]) { + label.font = self.labelFont; + } else if ([keyPath isEqualToString:@"labelColor"]) { + label.textColor = self.labelColor; + } else if ([keyPath isEqualToString:@"detailsLabelText"]) { + detailsLabel.text = self.detailsLabelText; + } else if ([keyPath isEqualToString:@"detailsLabelFont"]) { + detailsLabel.font = self.detailsLabelFont; + } else if ([keyPath isEqualToString:@"detailsLabelColor"]) { + detailsLabel.textColor = self.detailsLabelColor; + } else if ([keyPath isEqualToString:@"progress"]) { + if ([indicator respondsToSelector:@selector(setProgress:)]) { + [(id)indicator setValue:@(progress) forKey:@"progress"]; + } + return; + } + [self setNeedsLayout]; + [self setNeedsDisplay]; +} + +#pragma mark - Notifications + +- (void)registerForNotifications { +#if !TARGET_OS_TV + NSNotificationCenter *nc = [NSNotificationCenter defaultCenter]; + + [nc addObserver:self selector:@selector(statusBarOrientationDidChange:) + name:UIApplicationDidChangeStatusBarOrientationNotification object:nil]; +#endif +} + +- (void)unregisterFromNotifications { +#if !TARGET_OS_TV + NSNotificationCenter *nc = [NSNotificationCenter defaultCenter]; + [nc removeObserver:self name:UIApplicationDidChangeStatusBarOrientationNotification object:nil]; +#endif +} + +#if !TARGET_OS_TV +- (void)statusBarOrientationDidChange:(NSNotification *)notification { + UIView *superview = self.superview; + if (!superview) { + return; + } else { + [self updateForCurrentOrientationAnimated:YES]; + } +} +#endif + +- (void)updateForCurrentOrientationAnimated:(BOOL)animated { + // Stay in sync with the superview in any case + if (self.superview) { + self.bounds = self.superview.bounds; + [self setNeedsDisplay]; + } + + // Not needed on iOS 8+, compile out when the deployment target allows, + // to avoid sharedApplication problems on extension targets +#if __IPHONE_OS_VERSION_MIN_REQUIRED < 80000 + // Only needed pre iOS 7 when added to a window + BOOL iOS8OrLater = kCFCoreFoundationVersionNumber >= kCFCoreFoundationVersionNumber_iOS_8_0; + if (iOS8OrLater || ![self.superview isKindOfClass:[UIWindow class]]) return; + + UIInterfaceOrientation orientation = [UIApplication sharedApplication].statusBarOrientation; + CGFloat radians = 0; + if (UIInterfaceOrientationIsLandscape(orientation)) { + if (orientation == UIInterfaceOrientationLandscapeLeft) { radians = -(CGFloat)M_PI_2; } + else { radians = (CGFloat)M_PI_2; } + // Window coordinates differ! + self.bounds = CGRectMake(0, 0, self.bounds.size.height, self.bounds.size.width); + } else { + if (orientation == UIInterfaceOrientationPortraitUpsideDown) { radians = (CGFloat)M_PI; } + else { radians = 0; } + } + rotationTransform = CGAffineTransformMakeRotation(radians); + + if (animated) { + [UIView beginAnimations:nil context:nil]; + [UIView setAnimationDuration:0.3]; + } + [self setTransform:rotationTransform]; + if (animated) { + [UIView commitAnimations]; + } +#endif +} + +@end + + +@implementation MBRoundProgressView + +#pragma mark - Lifecycle + +- (id)init { + return [self initWithFrame:CGRectMake(0.f, 0.f, 37.f, 37.f)]; +} + +- (id)initWithFrame:(CGRect)frame { + self = [super initWithFrame:frame]; + if (self) { + self.backgroundColor = [UIColor clearColor]; + self.opaque = NO; + _progress = 0.f; + _annular = NO; + _progressTintColor = [[UIColor alloc] initWithWhite:1.f alpha:1.f]; + _backgroundTintColor = [[UIColor alloc] initWithWhite:1.f alpha:.1f]; + [self registerForKVO]; + } + return self; +} + +- (void)dealloc { + [self unregisterFromKVO]; +#if !__has_feature(objc_arc) + [_progressTintColor release]; + [_backgroundTintColor release]; + [super dealloc]; +#endif +} + +#pragma mark - Drawing + +- (void)drawRect:(CGRect)rect { + + CGRect allRect = self.bounds; + CGRect circleRect = CGRectInset(allRect, 2.0f, 2.0f); + CGContextRef context = UIGraphicsGetCurrentContext(); + + if (_annular) { + // Draw background + BOOL isPreiOS7 = kCFCoreFoundationVersionNumber < kCFCoreFoundationVersionNumber_iOS_7_0; + CGFloat lineWidth = isPreiOS7 ? 5.f : 2.f; + UIBezierPath *processBackgroundPath = [UIBezierPath bezierPath]; + processBackgroundPath.lineWidth = lineWidth; + processBackgroundPath.lineCapStyle = kCGLineCapButt; + CGPoint center = CGPointMake(self.bounds.size.width/2, self.bounds.size.height/2); + CGFloat radius = (self.bounds.size.width - lineWidth)/2; + CGFloat startAngle = - ((float)M_PI / 2); // 90 degrees + CGFloat endAngle = (2 * (float)M_PI) + startAngle; + [processBackgroundPath addArcWithCenter:center radius:radius startAngle:startAngle endAngle:endAngle clockwise:YES]; + [_backgroundTintColor set]; + [processBackgroundPath stroke]; + // Draw progress + UIBezierPath *processPath = [UIBezierPath bezierPath]; + processPath.lineCapStyle = isPreiOS7 ? kCGLineCapRound : kCGLineCapSquare; + processPath.lineWidth = lineWidth; + endAngle = (self.progress * 2 * (float)M_PI) + startAngle; + [processPath addArcWithCenter:center radius:radius startAngle:startAngle endAngle:endAngle clockwise:YES]; + [_progressTintColor set]; + [processPath stroke]; + } else { + // Draw background + [_progressTintColor setStroke]; + [_backgroundTintColor setFill]; + CGContextSetLineWidth(context, 2.0f); + CGContextFillEllipseInRect(context, circleRect); + CGContextStrokeEllipseInRect(context, circleRect); + // Draw progress + CGPoint center = CGPointMake(allRect.size.width / 2, allRect.size.height / 2); + CGFloat radius = (allRect.size.width - 4) / 2; + CGFloat startAngle = - ((float)M_PI / 2); // 90 degrees + CGFloat endAngle = (self.progress * 2 * (float)M_PI) + startAngle; + [_progressTintColor setFill]; + CGContextMoveToPoint(context, center.x, center.y); + CGContextAddArc(context, center.x, center.y, radius, startAngle, endAngle, 0); + CGContextClosePath(context); + CGContextFillPath(context); + } +} + +#pragma mark - KVO + +- (void)registerForKVO { + for (NSString *keyPath in [self observableKeypaths]) { + [self addObserver:self forKeyPath:keyPath options:NSKeyValueObservingOptionNew context:NULL]; + } +} + +- (void)unregisterFromKVO { + for (NSString *keyPath in [self observableKeypaths]) { + [self removeObserver:self forKeyPath:keyPath]; + } +} + +- (NSArray *)observableKeypaths { + return [NSArray arrayWithObjects:@"progressTintColor", @"backgroundTintColor", @"progress", @"annular", nil]; +} + +- (void)observeValueForKeyPath:(NSString *)keyPath ofObject:(id)object change:(NSDictionary *)change context:(void *)context { + [self setNeedsDisplay]; +} + +@end + + +@implementation MBBarProgressView + +#pragma mark - Lifecycle + +- (id)init { + return [self initWithFrame:CGRectMake(.0f, .0f, 120.0f, 20.0f)]; +} + +- (id)initWithFrame:(CGRect)frame { + self = [super initWithFrame:frame]; + if (self) { + _progress = 0.f; + _lineColor = [UIColor whiteColor]; + _progressColor = [UIColor whiteColor]; + _progressRemainingColor = [UIColor clearColor]; + self.backgroundColor = [UIColor clearColor]; + self.opaque = NO; + [self registerForKVO]; + } + return self; +} + +- (void)dealloc { + [self unregisterFromKVO]; +#if !__has_feature(objc_arc) + [_lineColor release]; + [_progressColor release]; + [_progressRemainingColor release]; + [super dealloc]; +#endif +} + +#pragma mark - Drawing + +- (void)drawRect:(CGRect)rect { + CGContextRef context = UIGraphicsGetCurrentContext(); + + CGContextSetLineWidth(context, 2); + CGContextSetStrokeColorWithColor(context,[_lineColor CGColor]); + CGContextSetFillColorWithColor(context, [_progressRemainingColor CGColor]); + + // Draw background + float radius = (rect.size.height / 2) - 2; + CGContextMoveToPoint(context, 2, rect.size.height/2); + CGContextAddArcToPoint(context, 2, 2, radius + 2, 2, radius); + CGContextAddLineToPoint(context, rect.size.width - radius - 2, 2); + CGContextAddArcToPoint(context, rect.size.width - 2, 2, rect.size.width - 2, rect.size.height / 2, radius); + CGContextAddArcToPoint(context, rect.size.width - 2, rect.size.height - 2, rect.size.width - radius - 2, rect.size.height - 2, radius); + CGContextAddLineToPoint(context, radius + 2, rect.size.height - 2); + CGContextAddArcToPoint(context, 2, rect.size.height - 2, 2, rect.size.height/2, radius); + CGContextFillPath(context); + + // Draw border + CGContextMoveToPoint(context, 2, rect.size.height/2); + CGContextAddArcToPoint(context, 2, 2, radius + 2, 2, radius); + CGContextAddLineToPoint(context, rect.size.width - radius - 2, 2); + CGContextAddArcToPoint(context, rect.size.width - 2, 2, rect.size.width - 2, rect.size.height / 2, radius); + CGContextAddArcToPoint(context, rect.size.width - 2, rect.size.height - 2, rect.size.width - radius - 2, rect.size.height - 2, radius); + CGContextAddLineToPoint(context, radius + 2, rect.size.height - 2); + CGContextAddArcToPoint(context, 2, rect.size.height - 2, 2, rect.size.height/2, radius); + CGContextStrokePath(context); + + CGContextSetFillColorWithColor(context, [_progressColor CGColor]); + radius = radius - 2; + float amount = self.progress * rect.size.width; + + // Progress in the middle area + if (amount >= radius + 4 && amount <= (rect.size.width - radius - 4)) { + CGContextMoveToPoint(context, 4, rect.size.height/2); + CGContextAddArcToPoint(context, 4, 4, radius + 4, 4, radius); + CGContextAddLineToPoint(context, amount, 4); + CGContextAddLineToPoint(context, amount, radius + 4); + + CGContextMoveToPoint(context, 4, rect.size.height/2); + CGContextAddArcToPoint(context, 4, rect.size.height - 4, radius + 4, rect.size.height - 4, radius); + CGContextAddLineToPoint(context, amount, rect.size.height - 4); + CGContextAddLineToPoint(context, amount, radius + 4); + + CGContextFillPath(context); + } + + // Progress in the right arc + else if (amount > radius + 4) { + float x = amount - (rect.size.width - radius - 4); + + CGContextMoveToPoint(context, 4, rect.size.height/2); + CGContextAddArcToPoint(context, 4, 4, radius + 4, 4, radius); + CGContextAddLineToPoint(context, rect.size.width - radius - 4, 4); + float angle = -acos(x/radius); + if (isnan(angle)) angle = 0; + CGContextAddArc(context, rect.size.width - radius - 4, rect.size.height/2, radius, M_PI, angle, 0); + CGContextAddLineToPoint(context, amount, rect.size.height/2); + + CGContextMoveToPoint(context, 4, rect.size.height/2); + CGContextAddArcToPoint(context, 4, rect.size.height - 4, radius + 4, rect.size.height - 4, radius); + CGContextAddLineToPoint(context, rect.size.width - radius - 4, rect.size.height - 4); + angle = acos(x/radius); + if (isnan(angle)) angle = 0; + CGContextAddArc(context, rect.size.width - radius - 4, rect.size.height/2, radius, -M_PI, angle, 1); + CGContextAddLineToPoint(context, amount, rect.size.height/2); + + CGContextFillPath(context); + } + + // Progress is in the left arc + else if (amount < radius + 4 && amount > 0) { + CGContextMoveToPoint(context, 4, rect.size.height/2); + CGContextAddArcToPoint(context, 4, 4, radius + 4, 4, radius); + CGContextAddLineToPoint(context, radius + 4, rect.size.height/2); + + CGContextMoveToPoint(context, 4, rect.size.height/2); + CGContextAddArcToPoint(context, 4, rect.size.height - 4, radius + 4, rect.size.height - 4, radius); + CGContextAddLineToPoint(context, radius + 4, rect.size.height/2); + + CGContextFillPath(context); + } +} + +#pragma mark - KVO + +- (void)registerForKVO { + for (NSString *keyPath in [self observableKeypaths]) { + [self addObserver:self forKeyPath:keyPath options:NSKeyValueObservingOptionNew context:NULL]; + } +} + +- (void)unregisterFromKVO { + for (NSString *keyPath in [self observableKeypaths]) { + [self removeObserver:self forKeyPath:keyPath]; + } +} + +- (NSArray *)observableKeypaths { + return [NSArray arrayWithObjects:@"lineColor", @"progressRemainingColor", @"progressColor", @"progress", nil]; +} + +- (void)observeValueForKeyPath:(NSString *)keyPath ofObject:(id)object change:(NSDictionary *)change context:(void *)context { + [self setNeedsDisplay]; +} + +@end diff --git a/Pods/MBProgressHUD/README.mdown b/Pods/MBProgressHUD/README.mdown new file mode 100644 index 0000000..df96756 --- /dev/null +++ b/Pods/MBProgressHUD/README.mdown @@ -0,0 +1,101 @@ +# MBProgressHUD [![Build Status](https://travis-ci.org/matej/MBProgressHUD.svg?branch=master)](https://travis-ci.org/matej/MBProgressHUD) + +MBProgressHUD is an iOS drop-in class that displays a translucent HUD with an indicator and/or labels while work is being done in a background thread. The HUD is meant as a replacement for the undocumented, private UIKit UIProgressHUD with some additional features. + +[![](http://dl.dropbox.com/u/378729/MBProgressHUD/1-thumb.png)](http://dl.dropbox.com/u/378729/MBProgressHUD/1.png) +[![](http://dl.dropbox.com/u/378729/MBProgressHUD/2-thumb.png)](http://dl.dropbox.com/u/378729/MBProgressHUD/2.png) +[![](http://dl.dropbox.com/u/378729/MBProgressHUD/3-thumb.png)](http://dl.dropbox.com/u/378729/MBProgressHUD/3.png) +[![](http://dl.dropbox.com/u/378729/MBProgressHUD/4-thumb.png)](http://dl.dropbox.com/u/378729/MBProgressHUD/4.png) +[![](http://dl.dropbox.com/u/378729/MBProgressHUD/5-thumb.png)](http://dl.dropbox.com/u/378729/MBProgressHUD/5.png) +[![](http://dl.dropbox.com/u/378729/MBProgressHUD/6-thumb.png)](http://dl.dropbox.com/u/378729/MBProgressHUD/6.png) +[![](http://dl.dropbox.com/u/378729/MBProgressHUD/7-thumb.png)](http://dl.dropbox.com/u/378729/MBProgressHUD/7.png) + +## Requirements + +MBProgressHUD works on any iOS version and is compatible with both ARC and non-ARC projects. It depends on the following Apple frameworks, which should already be included with most Xcode templates: + +* Foundation.framework +* UIKit.framework +* CoreGraphics.framework + +You will need the latest developer tools in order to build MBProgressHUD. Old Xcode versions might work, but compatibility will not be explicitly maintained. + +## Adding MBProgressHUD to your project + +### Cocoapods + +[CocoaPods](http://cocoapods.org) is the recommended way to add MBProgressHUD to your project. + +1. Add a pod entry for MBProgressHUD to your Podfile `pod 'MBProgressHUD', '~> 0.9.2'` +2. Install the pod(s) by running `pod install`. +3. Include MBProgressHUD wherever you need it with `#import "MBProgressHUD.h"`. + +### Source files + +Alternatively you can directly add the `MBProgressHUD.h` and `MBProgressHUD.m` source files to your project. + +1. Download the [latest code version](https://github.com/matej/MBProgressHUD/archive/master.zip) or add the repository as a git submodule to your git-tracked project. +2. Open your project in Xcode, then drag and drop `MBProgressHUD.h` and `MBProgressHUD.m` onto your project (use the "Product Navigator view"). Make sure to select Copy items when asked if you extracted the code archive outside of your project. +3. Include MBProgressHUD wherever you need it with `#import "MBProgressHUD.h"`. + +### Static library + +You can also add MBProgressHUD as a static library to your project or workspace. + +1. Download the [latest code version](https://github.com/matej/MBProgressHUD/downloads) or add the repository as a git submodule to your git-tracked project. +2. Open your project in Xcode, then drag and drop `MBProgressHUD.xcodeproj` onto your project or workspace (use the "Product Navigator view"). +3. Select your target and go to the Build phases tab. In the Link Binary With Libraries section select the add button. On the sheet find and add `libMBProgressHUD.a`. You might also need to add `MBProgressHUD` to the Target Dependencies list. +4. Include MBProgressHUD wherever you need it with `#import `. + +## Usage + +The main guideline you need to follow when dealing with MBProgressHUD while running long-running tasks is keeping the main thread work-free, so the UI can be updated promptly. The recommended way of using MBProgressHUD is therefore to set it up on the main thread and then spinning the task, that you want to perform, off onto a new thread. + +```objective-c +[MBProgressHUD showHUDAddedTo:self.view animated:YES]; +dispatch_async(dispatch_get_global_queue( DISPATCH_QUEUE_PRIORITY_LOW, 0), ^{ + // Do something... + dispatch_async(dispatch_get_main_queue(), ^{ + [MBProgressHUD hideHUDForView:self.view animated:YES]; + }); +}); +``` + +If you need to configure the HUD you can do this by using the MBProgressHUD reference that showHUDAddedTo:animated: returns. + +```objective-c +MBProgressHUD *hud = [MBProgressHUD showHUDAddedTo:self.view animated:YES]; +hud.mode = MBProgressHUDModeAnnularDeterminate; +hud.labelText = @"Loading"; +[self doSomethingInBackgroundWithProgressCallback:^(float progress) { + hud.progress = progress; +} completionCallback:^{ + [hud hide:YES]; +}]; +``` + +UI updates should always be done on the main thread. Some MBProgressHUD setters are however considered "thread safe" and can be called from background threads. Those also include `setMode:`, `setCustomView:`, `setLabelText:`, `setLabelFont:`, `setDetailsLabelText:`, `setDetailsLabelFont:` and `setProgress:`. + +If you need to run your long-running task in the main thread, you should perform it with a slight delay, so UIKit will have enough time to update the UI (i.e., draw the HUD) before you block the main thread with your task. + +```objective-c +[MBProgressHUD showHUDAddedTo:self.view animated:YES]; +dispatch_time_t popTime = dispatch_time(DISPATCH_TIME_NOW, 0.01 * NSEC_PER_SEC); +dispatch_after(popTime, dispatch_get_main_queue(), ^(void){ + // Do something... + [MBProgressHUD hideHUDForView:self.view animated:YES]; +}); +``` + +You should be aware that any HUD updates issued inside the above block won't be displayed until the block completes. + +For more examples, including how to use MBProgressHUD with asynchronous operations such as NSURLConnection, take a look at the bundled demo project. Extensive API documentation is provided in the header file (MBProgressHUD.h). + + +## License + +This code is distributed under the terms and conditions of the [MIT license](LICENSE). + +## Change-log + +A brief summary of each MBProgressHUD release can be found on the [wiki](https://github.com/matej/MBProgressHUD/wiki/Change-log). diff --git a/Pods/Manifest.lock b/Pods/Manifest.lock index 2607753..5d648a8 100644 --- a/Pods/Manifest.lock +++ b/Pods/Manifest.lock @@ -2,16 +2,19 @@ PODS: - Mantle (2.0.7): - Mantle/extobjc (= 2.0.7) - Mantle/extobjc (2.0.7) + - MBProgressHUD (0.9.2) - SDWebImage (3.7.5): - SDWebImage/Core (= 3.7.5) - SDWebImage/Core (3.7.5) DEPENDENCIES: - Mantle + - MBProgressHUD - SDWebImage SPEC CHECKSUMS: Mantle: bc40bb061d8c2c6fb48d5083e04d928c3b7f73d9 + MBProgressHUD: 1569cf7ace17a8bac47aabfbb8580a49690386d1 SDWebImage: 69c6303e3348fba97e03f65d65d4fbc26740f461 COCOAPODS: 0.39.0 diff --git a/Pods/Pods.xcodeproj/project.pbxproj b/Pods/Pods.xcodeproj/project.pbxproj index e04c3d4..60f42f8 100644 --- a/Pods/Pods.xcodeproj/project.pbxproj +++ b/Pods/Pods.xcodeproj/project.pbxproj @@ -10,7 +10,7 @@ 46 objects - 02DD7CA615C8C82DBBB797A7BFEEB70F + 02C2C5278AC07313A99A6CE5848BD1EC includeInIndex 1 @@ -19,9 +19,9 @@ lastKnownFileType sourcecode.c.objc name - NSData+ImageContentType.m + SDWebImageCompat.m path - SDWebImage/NSData+ImageContentType.m + SDWebImage/SDWebImageCompat.m sourceTree <group> @@ -38,36 +38,51 @@ sourceTree <group> - 04A4FE6BC333B1FC7D35EADA8F59FAD6 + 03AFFA140F9CB7CCA640C9339B35173A fileRef - 2115BD4433861E8034575A606A205775 + F41624FD5450DAE45051E85843933D84 isa PBXBuildFile settings - COMPILER_FLAGS - -DOS_OBJECT_USE_OBJC=0 + ATTRIBUTES + + Public + - 0563227B6D480B862CA5EF8C36DF51A4 + 041529EF9C863A486F6D26B4A0941B3D + + includeInIndex + 1 + isa + PBXFileReference + lastKnownFileType + sourcecode.c.h + name + NSDictionary+MTLManipulationAdditions.h + path + Mantle/NSDictionary+MTLManipulationAdditions.h + sourceTree + <group> + + 04A4FE6BC333B1FC7D35EADA8F59FAD6 fileRef - 6C975A8BA4F7DD6944DDDA45FA5A40CC + 4817E5940C57966D0BE9BD156795F586 isa PBXBuildFile settings - ATTRIBUTES - - Public - + COMPILER_FLAGS + -DOS_OBJECT_USE_OBJC=0 - 05F4FE7E3B5607FB5A7D64BE5B3D0AC7 + 0563227B6D480B862CA5EF8C36DF51A4 fileRef - 6FA74E71430FE631ADB7B159518E4CB9 + 81F3DC6D474822B7751F77C1224D5786 isa PBXBuildFile settings @@ -81,7 +96,7 @@ 06B93267BE4B80B2B4B91E5EFCE386D2 fileRef - 53C597FA52EAB09BB776C69D895F9D15 + 947778E64A5CD65A0FF83B5C0032DB22 isa PBXBuildFile settings @@ -90,6 +105,19 @@ -DOS_OBJECT_USE_OBJC=0 + 06D244A01A7FC056F24928424FC83B71 + + includeInIndex + 1 + isa + PBXFileReference + lastKnownFileType + sourcecode.c.objc + path + MBProgressHUD-dummy.m + sourceTree + <group> + 0705E2EB1ED884E2B646D5F2180F282B buildConfigurations @@ -104,43 +132,75 @@ isa XCConfigurationList - 09530AAD38304A95FFA7AEB5C5029BA4 + 092FF4A0895518D13C8E682522ADC3F2 + + fileRef + C755E0DBC504D37BADF7489B341AAB33 + isa + PBXBuildFile + + 098439AB598DDF1AF51146A2E3E2E562 + + buildActionMask + 2147483647 + files + + FC214077677D4F02E03C6C85F774E028 + 82FC12F67E83874B93592218E9FB4CA0 + + isa + PBXSourcesBuildPhase + runOnlyForDeploymentPostprocessing + 0 + + 0A727D2C21750ABE95BD0229A22AB485 includeInIndex 1 isa PBXFileReference lastKnownFileType - sourcecode.c.objc + sourcecode.c.h + name + EXTScope.h path - SDWebImage-dummy.m + Mantle/extobjc/EXTScope.h sourceTree <group> - 0C16B03F583C724199F74FC4DAFC6063 - - fileRef - 609DD8EF242B56172BA66E6B780EFC65 - isa - PBXBuildFile - - 0C43511D7D9254088E163727BF0C9287 + 0BAF33CDC40DC1B1B0A87DAAECC84E99 includeInIndex 1 isa PBXFileReference lastKnownFileType - sourcecode.c.h + sourcecode.c.objc + name + MTLModel+NSCoding.m path - Mantle-prefix.pch + Mantle/MTLModel+NSCoding.m sourceTree <group> + 0BCB607E0FA0EB3419B8ABE60A688C74 + + fileRef + DFFE4805B76CDDFBA53510F390DCE569 + isa + PBXBuildFile + settings + + ATTRIBUTES + + Public + + + 0CCB6B307EBF17E2D0E3A6AD52F6F51E fileRef - 6A79054A0055E192E7B2336D70A8B029 + 0A727D2C21750ABE95BD0229A22AB485 isa PBXBuildFile settings @@ -151,71 +211,75 @@ - 0EFEF5A87EAC9D0190EF8C78F16A044D + 0DAFBE32CEDD22224470B7573ACDCEA1 includeInIndex 1 isa PBXFileReference lastKnownFileType - text.xcconfig + sourcecode.c.h + name + SDWebImageManager.h path - Mantle.xcconfig + SDWebImage/SDWebImageManager.h sourceTree <group> - 10834806BD7B412BC24F347361FA2C8E + 0F4176F8C35B00F9A62440FCE3D1CA3E - includeInIndex - 1 + children + + 444AEA023D7DD4716DFDA252BFD26D2E + 26F542C7B0621CC8AB5B325405B34BAA + 803DB36CF53DD24FEA41526E81B87C5D + isa - PBXFileReference - lastKnownFileType - text.plist.xml - path - Pods-acknowledgements.plist + PBXGroup + name + Pods sourceTree <group> - 10DCDE9B1B03CBA731C672B28674CFE7 + 10834806BD7B412BC24F347361FA2C8E includeInIndex 1 isa PBXFileReference lastKnownFileType - sourcecode.c.objc - name - NSError+MTLModelException.m + text.plist.xml path - Mantle/NSError+MTLModelException.m + Pods-acknowledgements.plist sourceTree <group> - 11227227234288BC0AFE990C6905C0F1 + 118E4E1F934228BA5BF4F15F523D13DC buildActionMask 2147483647 files - 2E1C9BEF3D16338597F34DC860D18953 + 2D153E6889ECA9C17308229F995359D8 + C5133A878EE15DA4B6B4EB40183BEDEF isa - PBXSourcesBuildPhase + PBXFrameworksBuildPhase runOnlyForDeploymentPostprocessing 0 - 131F696150E4BABEEAE12D4FB90E36A2 + 122DA2E5084A4393C29BE363C764795C - fileRef - 737A56A4DEE67755C8046E278C4CE448 + children + + A6EE7D4B8E409488FD14D6FF808A0758 + isa - PBXBuildFile - settings - - COMPILER_FLAGS - -DOS_OBJECT_USE_OBJC=0 - + PBXGroup + name + Frameworks + sourceTree + <group> 1399F5F5B8A99754AF89DC93A9E100DE @@ -230,34 +294,49 @@ runOnlyForDeploymentPostprocessing 0 - 16DD273B41825641DC3C329877D3B834 + 1438078BA0A0E7A44CB7A4FA2CA93F02 includeInIndex 1 isa PBXFileReference lastKnownFileType - sourcecode.c.objc + sourcecode.c.h name - NSDictionary+MTLManipulationAdditions.m + MTLTransformerErrorHandling.h path - Mantle/NSDictionary+MTLManipulationAdditions.m + Mantle/MTLTransformerErrorHandling.h sourceTree <group> - 17A59C9B4F5727FAF9E3A6D92A9FFABD + 156F092881BF77497F17BCDF3A31A25D - fileRef - 83EDA747C09E28BA9A63CC5854B5115A + buildActionMask + 2147483647 + files + + 449E75511209A8B67DA769382B17F01F + isa - PBXBuildFile - settings - - COMPILER_FLAGS - -DOS_OBJECT_USE_OBJC=0 - + PBXFrameworksBuildPhase + runOnlyForDeploymentPostprocessing + 0 + + 159EC6A565E2BF47DE431D97171375F6 + + buildConfigurations + + 5F01DC993051FB428F51556E9920C1B4 + FE95913DCBB00167398D7BA05D6FB4FB + + defaultConfigurationIsVisible + 0 + defaultConfigurationName + Release + isa + XCConfigurationList - 17AEC68D7278556353B571155B6C9D59 + 15A56FF21C9FA9F12936DC78A9C73928 includeInIndex 1 @@ -266,56 +345,41 @@ lastKnownFileType sourcecode.c.objc name - NSDictionary+MTLMappingAdditions.m + NSArray+MTLManipulationAdditions.m path - Mantle/NSDictionary+MTLMappingAdditions.m + Mantle/NSArray+MTLManipulationAdditions.m sourceTree <group> - 185A4E5E2EF101A47181D144DD6092D7 + 17A59C9B4F5727FAF9E3A6D92A9FFABD + + fileRef + DB44EEA7E4C382164C434398C64B27AD + isa + PBXBuildFile + settings + + COMPILER_FLAGS + -DOS_OBJECT_USE_OBJC=0 + + + 189290822D8E163D876842AB4F3464D2 includeInIndex 1 isa PBXFileReference lastKnownFileType - sourcecode.c.h + text.xcconfig path - SDWebImage-prefix.pch + SDWebImage.xcconfig sourceTree <group> - 18B693BFBF4230418E2C54A1854CB883 - - buildActionMask - 2147483647 - files - - 5C8812092E71A959352B6A6183C157A5 - 8732FDF15B5F063BC086EA8C7F962DE2 - 464F7AD13BB284878CEB4566826272FA - 7CAA48778D9EE0B20D0A0695A19E18EF - 50061298A943BB331386BFD3E3F62C43 - D2D4686778AB448DEA1D4F86054ABEB7 - 408D1BECA2E7F7CFAD2B8742C18F0E43 - 36645F2FB383F2432DE94A63BBA4CA91 - 59F139B61E4ACAD0DDAF98E11AFBEE73 - 72039B4F6587F3420D7D92218867FC7D - 603CCE5B59F5F553496FA7D06BE51AA6 - 28215D40E0A54D7112369D1ABBAF3105 - 131F696150E4BABEEAE12D4FB90E36A2 - B09D45DCED389B1D0FA82E968752E515 - 6F74BC77FD36DC3918DA6202A440D20E - - isa - PBXSourcesBuildPhase - runOnlyForDeploymentPostprocessing - 0 - 19D81E345715F41ED29349DBFF389D55 fileRef - C71D12F001281E7B97ECF917E386F5AC + 5061BC46E67DC754E29D159C61D834EC isa PBXBuildFile settings @@ -329,7 +393,7 @@ 1BE688260FEEE6571AE7C3CC4E3A59D3 baseConfigurationReference - 0EFEF5A87EAC9D0190EF8C78F16A044D + 941486DF00A70321DE6E423DED389217 buildSettings ENABLE_STRICT_OBJC_MSGSEND @@ -360,81 +424,81 @@ name Debug - 1D6BF95474C6B3D6636B5C3DFA365959 - - includeInIndex - 1 - isa - PBXFileReference - lastKnownFileType - sourcecode.c.h - name - MTLValueTransformer.h - path - Mantle/MTLValueTransformer.h - sourceTree - <group> - - 2115BD4433861E8034575A606A205775 - - includeInIndex - 1 - isa - PBXFileReference - lastKnownFileType - sourcecode.c.objc - name - MTLJSONAdapter.m - path - Mantle/MTLJSONAdapter.m - sourceTree - <group> - - 21F87EAAB963468B531430B85700EFB2 - - children - - 341648A6A13E0145817ABC9EDDDE3E7C - A147D29E8930ACC1E33565DBF065CD52 - - isa - PBXGroup - name - SDWebImage - path - SDWebImage - sourceTree - <group> - - 235500B5820D10DDBC26EB25DFB5BB66 - - includeInIndex - 1 - isa - PBXFileReference - lastKnownFileType - sourcecode.c.objc - name - SDWebImageCompat.m - path - SDWebImage/SDWebImageCompat.m - sourceTree - <group> - - 23F1CEC5C1518C6E9CB15CFDCE3FCA3D + 1D5A5F87203B68FE91E281E02E7E669B baseConfigurationReference - 0EFEF5A87EAC9D0190EF8C78F16A044D + 189290822D8E163D876842AB4F3464D2 buildSettings ENABLE_STRICT_OBJC_MSGSEND YES GCC_PREFIX_HEADER - Target Support Files/Mantle/Mantle-prefix.pch + Target Support Files/SDWebImage/SDWebImage-prefix.pch IPHONEOS_DEPLOYMENT_TARGET 8.4 MTL_ENABLE_DEBUG_INFO - NO + YES + OTHER_LDFLAGS + + OTHER_LIBTOOLFLAGS + + PRIVATE_HEADERS_FOLDER_PATH + + PRODUCT_NAME + $(TARGET_NAME) + PUBLIC_HEADERS_FOLDER_PATH + + SDKROOT + iphoneos + SKIP_INSTALL + YES + + isa + XCBuildConfiguration + name + Debug + + 1E2119FAB2E9620B696EAF7AF5C59CE9 + + fileRef + BB25739095E0893FA36036881C9DF550 + isa + PBXBuildFile + settings + + ATTRIBUTES + + Public + + + + 1E5C2BA642E45429780928B40FC544A7 + + buildActionMask + 2147483647 + files + + F967D8A5C9037F6B7F5A28275E3AC0AD + + isa + PBXSourcesBuildPhase + runOnlyForDeploymentPostprocessing + 0 + + 23F1CEC5C1518C6E9CB15CFDCE3FCA3D + + baseConfigurationReference + 941486DF00A70321DE6E423DED389217 + buildSettings + + ENABLE_STRICT_OBJC_MSGSEND + YES + GCC_PREFIX_HEADER + Target Support Files/Mantle/Mantle-prefix.pch + IPHONEOS_DEPLOYMENT_TARGET + 8.4 + MTL_ENABLE_DEBUG_INFO + NO OTHER_LDFLAGS OTHER_LIBTOOLFLAGS @@ -455,22 +519,45 @@ name Release - 25C8D99584F6A4DA5CB73930C9AF5F97 + 2433BCF2F79A6433FD96C735D370512F includeInIndex 1 isa PBXFileReference lastKnownFileType - sourcecode.c.h + sourcecode.c.objc name - NSDictionary+MTLJSONKeyPath.h + NSDictionary+MTLManipulationAdditions.m path - Mantle/NSDictionary+MTLJSONKeyPath.h + Mantle/NSDictionary+MTLManipulationAdditions.m sourceTree <group> - 268D4DFE4BA03755D1DDD85ED10EA43B + 2441E38EC522D53454C5319C07ECA07E + + isa + PBXTargetDependency + name + Mantle + target + 426BC4549A625B5E1E4200D5261A98BF + targetProxy + CC8E193F62467F7D49CF0984F99ACF2B + + 24B1F39CD3CC8B3F4CBB6A56E738ABD8 + + fileRef + 8688ABCF0DF52A14531D2FE245B13BE9 + isa + PBXBuildFile + settings + + COMPILER_FLAGS + -DOS_OBJECT_USE_OBJC=0 + + + 2546BB4536E2EC9679B533DEF29C79BA includeInIndex 1 @@ -479,9 +566,38 @@ lastKnownFileType sourcecode.c.h name - SDImageCache.h + EXTRuntimeExtensions.h path - SDWebImage/SDImageCache.h + Mantle/extobjc/EXTRuntimeExtensions.h + sourceTree + <group> + + 268AA18F4BDACD59C404EB6AA49A11B8 + + fileRef + FB1C2EBF0C3B80EB6971F841AE14A62F + isa + PBXBuildFile + settings + + COMPILER_FLAGS + -DOS_OBJECT_USE_OBJC=0 + + + 26F542C7B0621CC8AB5B325405B34BAA + + children + + 4F84E72F4C1DD5851DD65B4E007964A8 + BE7D43D151A63FFE415B8B0AF160A49F + FE03ECFFCA704692E30BAD3FA9491572 + + isa + PBXGroup + name + MBProgressHUD + path + MBProgressHUD sourceTree <group> @@ -498,10 +614,31 @@ sourceTree <group> - 28215D40E0A54D7112369D1ABBAF3105 + 2989492A1A182744E36FD61DF1746D94 + + fileRef + 5E4B5CB725641ECE16D1F69408FA3261 + isa + PBXBuildFile + + 2AB18117E6BFE6CBED8E7D307933532F fileRef - 8CBDC17FB0D2C6AF8022937B3FE4BD2F + 88CBC570DFF6451FB54274113FAB8056 + isa + PBXBuildFile + settings + + ATTRIBUTES + + Public + + + + 2B4675C7C208D9B24C5AC661759E95BB + + fileRef + CF846BDC2920C8556EF05F0104228D79 isa PBXBuildFile settings @@ -510,25 +647,44 @@ -DOS_OBJECT_USE_OBJC=0 - 29FCFFC39CC3A025618818E6CC61E620 + 2B5A80D541CD876827B9CBDAC319996C - explicitFileType - archive.ar - includeInIndex - 0 + baseConfigurationReference + BDD5C52EAA3C1820D0486DF2204818B9 + buildSettings + + ENABLE_STRICT_OBJC_MSGSEND + YES + GCC_PREFIX_HEADER + Target Support Files/MBProgressHUD/MBProgressHUD-prefix.pch + IPHONEOS_DEPLOYMENT_TARGET + 8.4 + MTL_ENABLE_DEBUG_INFO + YES + OTHER_LDFLAGS + + OTHER_LIBTOOLFLAGS + + PRIVATE_HEADERS_FOLDER_PATH + + PRODUCT_NAME + $(TARGET_NAME) + PUBLIC_HEADERS_FOLDER_PATH + + SDKROOT + iphoneos + SKIP_INSTALL + YES + isa - PBXFileReference + XCBuildConfiguration name - libPods.a - path - libPods.a - sourceTree - BUILT_PRODUCTS_DIR + Debug 2B91954D1D8469415E1164E83DD3D3F1 fileRef - 452C943DF93199C27667E1A3E9096278 + CDF3DD76D9BE9EFF66F59FB6973EE71D isa PBXBuildFile settings @@ -542,7 +698,7 @@ 2D097F9B47E61A2F9ED4053728DA7AE6 fileRef - EE03DC4E8107A39D71072A6F59C16423 + BE8207A117D015FE39C158691746FE1D isa PBXBuildFile settings @@ -551,6 +707,54 @@ -DOS_OBJECT_USE_OBJC=0 + 2D153E6889ECA9C17308229F995359D8 + + fileRef + 5E4B5CB725641ECE16D1F69408FA3261 + isa + PBXBuildFile + + 2D2B0437841E584ED6131EB63E4A69F1 + + children + + BB25739095E0893FA36036881C9DF550 + CF846BDC2920C8556EF05F0104228D79 + 536092A90452567E5CF0F26B9315ECE1 + 8688ABCF0DF52A14531D2FE245B13BE9 + E114E9F3FBA2A7DD492503CCB3AF5A45 + 02C2C5278AC07313A99A6CE5848BD1EC + DFFE4805B76CDDFBA53510F390DCE569 + 9F092B40BBFE00265AAE2DCC0860A468 + F41624FD5450DAE45051E85843933D84 + F3B80E215683FA20AC3B752DF52A4C89 + 8D5A1FFE851946CC0F24B193D2C4A0BD + F2DAE05155737F6DFE5010CCA9E9AEB4 + 0DAFBE32CEDD22224470B7573ACDCEA1 + 833F787AEAB0384BF67B2FFE8B8A8259 + 5C37070A84188689B818136141A65F90 + 981FA2B16EDA07F2706FB4030F6B3735 + 83D71CFFBE3EFC8DB98CFB7433439C7E + 88CBC570DFF6451FB54274113FAB8056 + 5F24E7265F0AB0A2DB6F9D41B7E9A57E + 58825E777FE3E4D19C342D1855FA2C38 + C5F3BB746F4D3BDFAF9942015929DB99 + 644376EE1E44D1BD37A6DEEE227035E7 + FB1C2EBF0C3B80EB6971F841AE14A62F + 41AA8AB05AFFC60657CEEF952BC26311 + F319E2350FB05911C91A7C794E5E4B8A + 594418689C915A512D476806DD4318C4 + 3B6E2FD3572C8CC0576E21008C06ED07 + 4E8E7A1E3D990104598932796F0418F8 + E7A82142221894ED6E7C344058BE42C2 + + isa + PBXGroup + name + Core + sourceTree + <group> + 2D8E8EC45A3A1A1D94AE762CB5028504 buildConfigurations @@ -565,84 +769,24 @@ isa XCConfigurationList - 2E1C9BEF3D16338597F34DC860D18953 - - fileRef - 272643F56613CA0D336AE3DBF19DC404 - isa - PBXBuildFile - - 31DB39B7AE7CC2AF6FFC2F451F65D7B9 - - includeInIndex - 1 - isa - PBXFileReference - lastKnownFileType - sourcecode.c.objc - name - SDWebImageDecoder.m - path - SDWebImage/SDWebImageDecoder.m - sourceTree - <group> - - 341648A6A13E0145817ABC9EDDDE3E7C + 2F5AD3B705137C716AC014302C75EF32 children - A6F55F89A0B753D2D0680FE67E8CA8AD - 02DD7CA615C8C82DBBB797A7BFEEB70F - 268D4DFE4BA03755D1DDD85ED10EA43B - B761DB48BD86D0A267A10601101FD07B - D9C7351BDB37E42A7E2CFFBB8253DAFF - 235500B5820D10DDBC26EB25DFB5BB66 - 6578CDF600126348C143B60E7AC91151 - 31DB39B7AE7CC2AF6FFC2F451F65D7B9 - 9825AACC5CEE99085E177351A800B09B - 4DA9117AC5A1F7A2E9A8D2E685EAF13B - A1CC6BA53F6FFAAFF9CD3BA94AE0F24A - 3BD104902F20166A5ABAE7C15D506231 - B0A22501D76B2675E60494E3CF452E18 - F0B747FBA2F649FC27663DF0926FFC43 - FB41B0AD4A01EFA993FF6AE85870E586 - 51C20F04325AAE3E2F05AE305E6A8D4B - D0BCA5D69F4B011200D072D810E7B155 - 5841410CA0F3A42A722AE5D5DC640964 - E4D500DF2DA6B435390AA3E54220676C - 5800E57DC5A7B7E03398450BB6B6AE51 - 3B23AFB3245A85B4D0F3AA9838F444CF - 443633ACC2F84AF406091229A7FC59BC - 8CBDC17FB0D2C6AF8022937B3FE4BD2F - 8E60E7F4AC5CF4611BCD5729676A28F6 - 737A56A4DEE67755C8046E278C4CE448 - D0FC59A80F0448FA0DCAE13E41494A72 - CD20F2029FA8DD67D56AAF9A2D75DAB3 - 6FA74E71430FE631ADB7B159518E4CB9 - 45184CB9712CF0BE3921E4000AACBA64 + 189290822D8E163D876842AB4F3464D2 + C755E0DBC504D37BADF7489B341AAB33 + D32653626E8E32F022ACC37644866D6E isa PBXGroup name - Core + Support Files + path + ../Target Support Files/SDWebImage sourceTree <group> - 3597E4504C44572405D27815315013D9 - - fileRef - 5841410CA0F3A42A722AE5D5DC640964 - isa - PBXBuildFile - settings - - ATTRIBUTES - - Public - - - - 36398AEC0402BD15B5E00D3E7FD1E1D6 + 2F863E8ADB15F2D817ACE4125094FAAD includeInIndex 1 @@ -651,16 +795,16 @@ lastKnownFileType sourcecode.c.objc name - MTLReflection.m + MTLTransformerErrorHandling.m path - Mantle/MTLReflection.m + Mantle/MTLTransformerErrorHandling.m sourceTree <group> - 36645F2FB383F2432DE94A63BBA4CA91 + 3165D4E2293D5837EB3B342C7D0DA2F2 fileRef - F0B747FBA2F649FC27663DF0926FFC43 + F3B80E215683FA20AC3B752DF52A4C89 isa PBXBuildFile settings @@ -669,6 +813,19 @@ -DOS_OBJECT_USE_OBJC=0 + 342C6617522B6E06C4F71685590A39F1 + + containerPortal + D41D8CD98F00B204E9800998ECF8427E + isa + PBXContainerItemProxy + proxyType + 1 + remoteGlobalIDString + 6C70933ADF15B2C739E69B4A7C2BD60C + remoteInfo + SDWebImage + 37DB56D75062CC75FCB0966E1C6E8A8E includeInIndex @@ -682,7 +839,7 @@ sourceTree <group> - 3B23AFB3245A85B4D0F3AA9838F444CF + 3B6E2FD3572C8CC0576E21008C06ED07 includeInIndex 1 @@ -691,79 +848,66 @@ lastKnownFileType sourcecode.c.objc name - UIImage+GIF.m + UIImageView+WebCache.m path - SDWebImage/UIImage+GIF.m + SDWebImage/UIImageView+WebCache.m sourceTree <group> - 3BD104902F20166A5ABAE7C15D506231 + 3C43032339841F7D1D94EF12903A2272 + + fileRef + C49B7D69886A053F3DABA14BA676FD28 + isa + PBXBuildFile + settings + + ATTRIBUTES + + Public + + + + 41AA8AB05AFFC60657CEEF952BC26311 includeInIndex 1 isa PBXFileReference lastKnownFileType - sourcecode.c.objc + sourcecode.c.h name - SDWebImageDownloaderOperation.m + UIImageView+HighlightedWebCache.h path - SDWebImage/SDWebImageDownloaderOperation.m + SDWebImage/UIImageView+HighlightedWebCache.h sourceTree <group> - 3C040366FD204605DC6F682FA5C9922B + 41C46F19A2CE1E29840F226638A10678 - includeInIndex - 1 - isa - PBXFileReference - lastKnownFileType - sourcecode.c.h - name - MTLReflection.h - path - Mantle/MTLReflection.h - sourceTree - <group> - - 3C43032339841F7D1D94EF12903A2272 - - fileRef - 5EDB6618C5F47219211BF530C5B7C5AD + fileRef + C4EC8D35F6B80988DF831DDDAE11210D isa PBXBuildFile settings ATTRIBUTES - Public + Private - 408D1BECA2E7F7CFAD2B8742C18F0E43 - - fileRef - 3BD104902F20166A5ABAE7C15D506231 - isa - PBXBuildFile - settings - - COMPILER_FLAGS - -DOS_OBJECT_USE_OBJC=0 - - - 41C46F19A2CE1E29840F226638A10678 + 420B629CA0C838E73E8C4313670DED1A fileRef - 9E9669D7967BD4FD6913A5F2FF03A9B5 + 58825E777FE3E4D19C342D1855FA2C38 isa PBXBuildFile settings ATTRIBUTES - Private + Public @@ -788,107 +932,81 @@ productName Mantle productReference - 97E24374BF388DC20017DBE69E756694 + 77418678175DCCD898CDF88F055FBB19 productType com.apple.product-type.library.static - 433CD3331B6C3787F473C941B61FC68F + 444AEA023D7DD4716DFDA252BFD26D2E children - FF880E94BC5F1B73ECBD6429796DC5C3 + 99D81AE1AA67C2DA6A831B0464EFCC99 + C49B7D69886A053F3DABA14BA676FD28 + 4817E5940C57966D0BE9BD156795F586 + 6893B29FE5A4890AC7F64B03D4CD8969 + 947778E64A5CD65A0FF83B5C0032DB22 + 81F3DC6D474822B7751F77C1224D5786 + 0BAF33CDC40DC1B1B0A87DAAECC84E99 + 73D80969C4BA8B462980798871630652 + B937BA1022EA7FA76CCD2B3DD1096EE3 + 1438078BA0A0E7A44CB7A4FA2CA93F02 + 2F863E8ADB15F2D817ACE4125094FAAD + 4CEB322F047B1FFD119AF0434CC57370 + 72F9B459D0A56BB9DDC7B119684FD254 + F8ED7C5935EFC65234814A554BAC4037 + 15A56FF21C9FA9F12936DC78A9C73928 + B0340DFA1AECB7C56E08745A19C09FA1 + BE8207A117D015FE39C158691746FE1D + 041529EF9C863A486F6D26B4A0941B3D + 2433BCF2F79A6433FD96C735D370512F + 5061BC46E67DC754E29D159C61D834EC + 81D60ECA46983B3BE9DD5D033B84740F + 7D3D2599111046F9EC05D9C734C1FA56 + 5A7954AA0AC3A5F57838A9AC1378D475 + CA3083E8E6DAA31D4A8144D6E2B80AF7 + C55C8220BE3A58F9256C6C7CF7971315 + CDF3DD76D9BE9EFF66F59FB6973EE71D + B70369BA6DBE13D788974FBCE89B074D + FC08351AB1A31E945C746E60A95E1FE7 + F1973D40B83A1D4E2082A88D307DEEC7 + E4CC59AADF10A78D8341BDB5526033CA + 7419D0A026357951131EC31288FC5CF5 isa PBXGroup name - Frameworks - sourceTree - <group> - - 443633ACC2F84AF406091229A7FC59BC - - includeInIndex - 1 - isa - PBXFileReference - lastKnownFileType - sourcecode.c.h - name - UIImage+MultiFormat.h - path - SDWebImage/UIImage+MultiFormat.h - sourceTree - <group> - - 45184CB9712CF0BE3921E4000AACBA64 - - includeInIndex - 1 - isa - PBXFileReference - lastKnownFileType - sourcecode.c.objc - name - UIView+WebCacheOperation.m - path - SDWebImage/UIView+WebCacheOperation.m - sourceTree - <group> - - 452C943DF93199C27667E1A3E9096278 - - includeInIndex - 1 - isa - PBXFileReference - lastKnownFileType - sourcecode.c.h - name - NSValueTransformer+MTLInversionAdditions.h + Mantle path - Mantle/NSValueTransformer+MTLInversionAdditions.h + Mantle sourceTree <group> - 4630A6644E76AADF263AE66897C3F8DF - - isa - PBXFileReference - lastKnownFileType - wrapper.framework - name - Foundation.framework - path - Platforms/iPhoneOS.platform/Developer/SDKs/iPhoneOS9.0.sdk/System/Library/Frameworks/Foundation.framework - sourceTree - DEVELOPER_DIR - - 464F7AD13BB284878CEB4566826272FA + 449E75511209A8B67DA769382B17F01F fileRef - 09530AAD38304A95FFA7AEB5C5029BA4 + 5E4B5CB725641ECE16D1F69408FA3261 isa PBXBuildFile - 48E26C7F62CB70B01B9A8E5D360CB8C2 + 4817E5940C57966D0BE9BD156795F586 includeInIndex 1 isa PBXFileReference lastKnownFileType - sourcecode.c.h + sourcecode.c.objc name - MTLTransformerErrorHandling.h + MTLJSONAdapter.m path - Mantle/MTLTransformerErrorHandling.h + Mantle/MTLJSONAdapter.m sourceTree <group> 495E27E8D0F85F4008E237D0F29EA8AC fileRef - D7E5EE1E72502D687D3CD91328D4C2C5 + 7D3D2599111046F9EC05D9C734C1FA56 isa PBXBuildFile settings @@ -902,7 +1020,7 @@ 4980C203311F9A91EF1A1FCAEC09EBD2 fileRef - F7C21BAA95FB06060CD17FC5F2614C8E + 2546BB4536E2EC9679B533DEF29C79BA isa PBXBuildFile settings @@ -916,7 +1034,7 @@ 4BABB4C716353500FDF75187D35DAACF fileRef - 8B48168B67E0687AE38E01801E70F526 + 6893B29FE5A4890AC7F64B03D4CD8969 isa PBXBuildFile settings @@ -927,18 +1045,18 @@ - 4DA9117AC5A1F7A2E9A8D2E685EAF13B + 4CEB322F047B1FFD119AF0434CC57370 includeInIndex 1 isa PBXFileReference lastKnownFileType - sourcecode.c.objc + sourcecode.c.h name - SDWebImageDownloader.m + MTLValueTransformer.h path - SDWebImage/SDWebImageDownloader.m + Mantle/MTLValueTransformer.h sourceTree <group> @@ -955,17 +1073,48 @@ sourceTree <group> - 50061298A943BB331386BFD3E3F62C43 + 4E8E7A1E3D990104598932796F0418F8 - fileRef - 31DB39B7AE7CC2AF6FFC2F451F65D7B9 + includeInIndex + 1 isa - PBXBuildFile - settings - - COMPILER_FLAGS - -DOS_OBJECT_USE_OBJC=0 - + PBXFileReference + lastKnownFileType + sourcecode.c.h + name + UIView+WebCacheOperation.h + path + SDWebImage/UIView+WebCacheOperation.h + sourceTree + <group> + + 4F84E72F4C1DD5851DD65B4E007964A8 + + includeInIndex + 1 + isa + PBXFileReference + lastKnownFileType + sourcecode.c.h + path + MBProgressHUD.h + sourceTree + <group> + + 5061BC46E67DC754E29D159C61D834EC + + includeInIndex + 1 + isa + PBXFileReference + lastKnownFileType + sourcecode.c.h + name + NSDictionary+MTLMappingAdditions.h + path + Mantle/NSDictionary+MTLMappingAdditions.h + sourceTree + <group> 511103F7F15A7E8F83B268EA03462CAB @@ -1035,25 +1184,10 @@ name Release - 51C20F04325AAE3E2F05AE305E6A8D4B - - includeInIndex - 1 - isa - PBXFileReference - lastKnownFileType - sourcecode.c.h - name - SDWebImagePrefetcher.h - path - SDWebImage/SDWebImagePrefetcher.h - sourceTree - <group> - 52B96AC796E60DBF61A11151FD25CEE8 fileRef - 69C5959BC11C5EDFD4006BB8B36D2E83 + CA3083E8E6DAA31D4A8144D6E2B80AF7 isa PBXBuildFile settings @@ -1064,7 +1198,7 @@ - 533E5ED50EE71B13A90684E8D6215E5C + 536092A90452567E5CF0F26B9315ECE1 includeInIndex 1 @@ -1073,24 +1207,9 @@ lastKnownFileType sourcecode.c.h name - NSDictionary+MTLManipulationAdditions.h - path - Mantle/NSDictionary+MTLManipulationAdditions.h - sourceTree - <group> - - 53C597FA52EAB09BB776C69D895F9D15 - - includeInIndex - 1 - isa - PBXFileReference - lastKnownFileType - sourcecode.c.objc - name - MTLModel.m + SDImageCache.h path - Mantle/MTLModel.m + SDWebImage/SDImageCache.h sourceTree <group> @@ -1126,7 +1245,7 @@ 542A74473DEBCC4A4A8EFD7219D2957B fileRef - 847592387116CEB85031CBD122A90284 + 72F9B459D0A56BB9DDC7B119684FD254 isa PBXBuildFile settings @@ -1135,48 +1254,7 @@ -DOS_OBJECT_USE_OBJC=0 - 54E18CD3F3292D6E23E9D4D71C2A51CB - - buildActionMask - 2147483647 - files - - 63F8F6C2047DCC906F4225511E8ABDA9 - 8A5960E1A8B8E36389443DE7E673D6CA - 55042DF744FEA79EB9AF8D152B69302D - 6ADEBFCB1F44BC6DCB2CC9AD63290253 - 80558B4677896F8435749352957B375F - D0C3310B1446EB018173986F4498EE5D - 87468D2074F7A6BE5043E9D6C82E4F48 - A0406A6053ADD30286033310F849D296 - 8D3A0C9868A02A431353035AAB9EFC40 - 3597E4504C44572405D27815315013D9 - 62CD8510A8F6AE60A4640C3286D09B3A - B2AC65B63BB07C7701A8EFC752A0826B - E6345C61AB8575A0E8646B73AD969856 - CBD43094255E90C313E740C7EFFD4C9C - 05F4FE7E3B5607FB5A7D64BE5B3D0AC7 - - isa - PBXHeadersBuildPhase - runOnlyForDeploymentPostprocessing - 0 - - 55042DF744FEA79EB9AF8D152B69302D - - fileRef - D9C7351BDB37E42A7E2CFFBB8253DAFF - isa - PBXBuildFile - settings - - ATTRIBUTES - - Public - - - - 5800E57DC5A7B7E03398450BB6B6AE51 + 58825E777FE3E4D19C342D1855FA2C38 includeInIndex 1 @@ -1191,7 +1269,7 @@ sourceTree <group> - 5841410CA0F3A42A722AE5D5DC640964 + 594418689C915A512D476806DD4318C4 includeInIndex 1 @@ -1200,76 +1278,82 @@ lastKnownFileType sourcecode.c.h name - UIButton+WebCache.h + UIImageView+WebCache.h path - SDWebImage/UIButton+WebCache.h + SDWebImage/UIImageView+WebCache.h sourceTree <group> - 5884834F5BA0278048B8E0A0A00987E5 + 598D68F7354A55B3DA34458465021325 + fileRef + 9F092B40BBFE00265AAE2DCC0860A468 isa - PBXTargetDependency - name - Mantle - target - 426BC4549A625B5E1E4200D5261A98BF - targetProxy - ECE329BD20DFCBB901B422FBB7F73FA3 + PBXBuildFile + settings + + COMPILER_FLAGS + -DOS_OBJECT_USE_OBJC=0 + - 59265159FD88993D2270501D01578588 + 5A7954AA0AC3A5F57838A9AC1378D475 includeInIndex 1 isa PBXFileReference lastKnownFileType - sourcecode.c.h + sourcecode.c.objc name - NSValueTransformer+MTLPredefinedTransformerAdditions.h + NSError+MTLModelException.m path - Mantle/NSValueTransformer+MTLPredefinedTransformerAdditions.h + Mantle/NSError+MTLModelException.m sourceTree <group> - 59F139B61E4ACAD0DDAF98E11AFBEE73 + 5C37070A84188689B818136141A65F90 - fileRef - D0BCA5D69F4B011200D072D810E7B155 + includeInIndex + 1 isa - PBXBuildFile - settings - - COMPILER_FLAGS - -DOS_OBJECT_USE_OBJC=0 - + PBXFileReference + lastKnownFileType + sourcecode.c.h + name + SDWebImageOperation.h + path + SDWebImage/SDWebImageOperation.h + sourceTree + <group> - 5A4D512688D9DCBE5E85BDA83DAA883B + 5E4B5CB725641ECE16D1F69408FA3261 - containerPortal - D41D8CD98F00B204E9800998ECF8427E isa - PBXContainerItemProxy - proxyType - 1 - remoteGlobalIDString - A74A079BA044CB665EBF7365E2DE8775 - remoteInfo - SDWebImage + PBXFileReference + lastKnownFileType + wrapper.framework + name + Foundation.framework + path + Platforms/iPhoneOS.platform/Developer/SDKs/iPhoneOS9.0.sdk/System/Library/Frameworks/Foundation.framework + sourceTree + DEVELOPER_DIR - 5C8812092E71A959352B6A6183C157A5 + 5EB4F27B76513AE918BA5AE0868E87C8 fileRef - 02DD7CA615C8C82DBBB797A7BFEEB70F + 4F84E72F4C1DD5851DD65B4E007964A8 isa PBXBuildFile settings - COMPILER_FLAGS - -DOS_OBJECT_USE_OBJC=0 - - - 5CDBDF4279BF1CDBDA29189BCA44BC05 + ATTRIBUTES + + Public + + + + 5F01DC993051FB428F51556E9920C1B4 baseConfigurationReference 4E762F23EC34ED4A6FF3312D84E33A40 @@ -1301,64 +1385,41 @@ name Debug - 5EDB6618C5F47219211BF530C5B7C5AD + 5F24E7265F0AB0A2DB6F9D41B7E9A57E includeInIndex 1 isa PBXFileReference lastKnownFileType - sourcecode.c.h + sourcecode.c.objc name - MTLJSONAdapter.h + UIButton+WebCache.m path - Mantle/MTLJSONAdapter.h + SDWebImage/UIButton+WebCache.m sourceTree <group> - 603CCE5B59F5F553496FA7D06BE51AA6 - - fileRef - 3B23AFB3245A85B4D0F3AA9838F444CF - isa - PBXBuildFile - settings - - COMPILER_FLAGS - -DOS_OBJECT_USE_OBJC=0 - - - 609DD8EF242B56172BA66E6B780EFC65 + 6090640FC8709024CC7BC1C648A74D40 + children + + 77418678175DCCD898CDF88F055FBB19 + BC52448EE19F43448E1FC96222B52335 + 8540A53AC950379B70891CB2E5118280 + D3C494A4A6014623936CE54165F79248 + isa - PBXFileReference - lastKnownFileType - wrapper.framework + PBXGroup name - ImageIO.framework - path - Platforms/iPhoneOS.platform/Developer/SDKs/iPhoneOS9.0.sdk/System/Library/Frameworks/ImageIO.framework + Products sourceTree - DEVELOPER_DIR - - 62CD8510A8F6AE60A4640C3286D09B3A - - fileRef - 5800E57DC5A7B7E03398450BB6B6AE51 - isa - PBXBuildFile - settings - - ATTRIBUTES - - Public - - + <group> - 63F8F6C2047DCC906F4225511E8ABDA9 + 62426F66DBF64511ABEC549ED5E48A75 fileRef - A6F55F89A0B753D2D0680FE67E8CA8AD + 5C37070A84188689B818136141A65F90 isa PBXBuildFile settings @@ -1369,7 +1430,7 @@ - 6578CDF600126348C143B60E7AC91151 + 644376EE1E44D1BD37A6DEEE227035E7 includeInIndex 1 @@ -1378,16 +1439,16 @@ lastKnownFileType sourcecode.c.h name - SDWebImageDecoder.h + UIImage+MultiFormat.h path - SDWebImage/SDWebImageDecoder.h + SDWebImage/UIImage+MultiFormat.h sourceTree <group> 6672A2EFC9413A1DE45CAF0A950CCAAE fileRef - 83ECEEA065278E12A008F82C43F1C6B4 + 2F863E8ADB15F2D817ACE4125094FAAD isa PBXBuildFile settings @@ -1399,24 +1460,11 @@ 669FAFC1DA77D8FF3171FA45F80A0AB8 fileRef - 9E033EC1CE1C9CFB2B6185C29175901B + F34D921A605F0E5D7C94603C936FD38E isa PBXBuildFile - 6911BECA35E7518D864239B7E898EEF3 - - includeInIndex - 1 - isa - PBXFileReference - lastKnownFileType - text.script.sh - path - Pods-frameworks.sh - sourceTree - <group> - - 69C5959BC11C5EDFD4006BB8B36D2E83 + 6893B29FE5A4890AC7F64B03D4CD8969 includeInIndex 1 @@ -1425,31 +1473,29 @@ lastKnownFileType sourcecode.c.h name - NSObject+MTLComparisonAdditions.h + MTLModel.h path - Mantle/NSObject+MTLComparisonAdditions.h + Mantle/MTLModel.h sourceTree <group> - 6A79054A0055E192E7B2336D70A8B029 + 6911BECA35E7518D864239B7E898EEF3 includeInIndex 1 isa PBXFileReference lastKnownFileType - sourcecode.c.h - name - EXTScope.h + text.script.sh path - Mantle/extobjc/EXTScope.h + Pods-frameworks.sh sourceTree <group> - 6ADEBFCB1F44BC6DCB2CC9AD63290253 + 6B45ADBBD4925214FD239E8C25214C87 fileRef - 6578CDF600126348C143B60E7AC91151 + 041529EF9C863A486F6D26B4A0941B3D isa PBXBuildFile settings @@ -1460,24 +1506,22 @@ - 6B45ADBBD4925214FD239E8C25214C87 + 6B6012E259B1804C7CC8D36A07252B07 fileRef - 533E5ED50EE71B13A90684E8D6215E5C + 5A7954AA0AC3A5F57838A9AC1378D475 isa PBXBuildFile settings - ATTRIBUTES - - Public - + COMPILER_FLAGS + -DOS_OBJECT_USE_OBJC=0 - 6B6012E259B1804C7CC8D36A07252B07 + 6C31EC5DC86340DD4831E33862751735 fileRef - 10DCDE9B1B03CBA731C672B28674CFE7 + C5F3BB746F4D3BDFAF9942015929DB99 isa PBXBuildFile settings @@ -1486,72 +1530,100 @@ -DOS_OBJECT_USE_OBJC=0 - 6C3EDEE3F32C29C4E4C444D5C2D90669 + 6C70933ADF15B2C739E69B4A7C2BD60C - baseConfigurationReference - 98C98CDFB3F20F2925F6CD1F141BB14F - buildSettings - - ENABLE_STRICT_OBJC_MSGSEND - YES - IPHONEOS_DEPLOYMENT_TARGET - 8.4 - MACH_O_TYPE - staticlib - MTL_ENABLE_DEBUG_INFO - NO - OTHER_LDFLAGS - - OTHER_LIBTOOLFLAGS - - PODS_ROOT - $(SRCROOT) - PRODUCT_NAME - $(TARGET_NAME) - SDKROOT - iphoneos - SKIP_INSTALL - YES - + buildConfigurationList + C7AE0B6D60CCBC3D09B4D331C8042237 + buildPhases + + DEB31D1FFB088AA4811D026B5BDBE132 + 118E4E1F934228BA5BF4F15F523D13DC + B216717D0B3CF0A41FE8FD257637E6E8 + + buildRules + + dependencies + isa - XCBuildConfiguration + PBXNativeTarget name - Release + SDWebImage + productName + SDWebImage + productReference + D3C494A4A6014623936CE54165F79248 + productType + com.apple.product-type.library.static + + 6E3B7D58C6003AF9899D06130DA74444 + + isa + PBXTargetDependency + name + SDWebImage + target + 6C70933ADF15B2C739E69B4A7C2BD60C + targetProxy + 342C6617522B6E06C4F71685590A39F1 + + 70D801E0B95C23BCC270E4EC8659D463 + + fileRef + D380711133535322877776A1289A6597 + isa + PBXBuildFile - 6C975A8BA4F7DD6944DDDA45FA5A40CC + 72F9B459D0A56BB9DDC7B119684FD254 includeInIndex 1 isa PBXFileReference lastKnownFileType - sourcecode.c.h + sourcecode.c.objc name - MTLModel+NSCoding.h + MTLValueTransformer.m path - Mantle/MTLModel+NSCoding.h + Mantle/MTLValueTransformer.m sourceTree <group> - 6EDD9715D87DB93BFFB1AF5603088783 + 73D80969C4BA8B462980798871630652 includeInIndex 1 isa PBXFileReference lastKnownFileType - sourcecode.c.objc + sourcecode.c.h name - MTLModel+NSCoding.m + MTLReflection.h path - Mantle/MTLModel+NSCoding.m + Mantle/MTLReflection.h + sourceTree + <group> + + 7419D0A026357951131EC31288FC5CF5 + + children + + 941486DF00A70321DE6E423DED389217 + F34D921A605F0E5D7C94603C936FD38E + DA218E59190A7FE8D726FF7A4C25DB78 + + isa + PBXGroup + name + Support Files + path + ../Target Support Files/Mantle sourceTree <group> - 6F74BC77FD36DC3918DA6202A440D20E + 7632A90850BF21261FD1585914D71E98 fileRef - 45184CB9712CF0BE3921E4000AACBA64 + C55C8220BE3A58F9256C6C7CF7971315 isa PBXBuildFile settings @@ -1560,52 +1632,97 @@ -DOS_OBJECT_USE_OBJC=0 - 6FA74E71430FE631ADB7B159518E4CB9 + 77418678175DCCD898CDF88F055FBB19 + explicitFileType + archive.ar includeInIndex - 1 + 0 isa PBXFileReference - lastKnownFileType - sourcecode.c.h name - UIView+WebCacheOperation.h + libMantle.a path - SDWebImage/UIView+WebCacheOperation.h + libMantle.a sourceTree - <group> + BUILT_PRODUCTS_DIR - 72039B4F6587F3420D7D92218867FC7D + 784E07C8B9704257D10696DD47E2A3B4 fileRef - E4D500DF2DA6B435390AA3E54220676C + FC08351AB1A31E945C746E60A95E1FE7 isa PBXBuildFile settings - COMPILER_FLAGS - -DOS_OBJECT_USE_OBJC=0 + ATTRIBUTES + + Public + - 737A56A4DEE67755C8046E278C4CE448 + 7CB6901F36B12AEB2E5412BD70748A73 + + buildConfigurationList + 159EC6A565E2BF47DE431D97171375F6 + buildPhases + + 1E5C2BA642E45429780928B40FC544A7 + 156F092881BF77497F17BCDF3A31A25D + + buildRules + + dependencies + + FDE6A1DC0A385EC0898B57A36A64FF8C + 2441E38EC522D53454C5319C07ECA07E + 6E3B7D58C6003AF9899D06130DA74444 + + isa + PBXNativeTarget + name + Pods + productName + Pods + productReference + 8540A53AC950379B70891CB2E5118280 + productType + com.apple.product-type.library.static + + 7D3D2599111046F9EC05D9C734C1FA56 includeInIndex 1 isa PBXFileReference lastKnownFileType - sourcecode.c.objc + sourcecode.c.h name - UIImageView+HighlightedWebCache.m + NSError+MTLModelException.h path - SDWebImage/UIImageView+HighlightedWebCache.m + Mantle/NSError+MTLModelException.h sourceTree <group> - 7632A90850BF21261FD1585914D71E98 + 7DB346D0F39D3F0E887471402A8071AB + + children + + BA6428E9F66FD5A23C0A2E06ED26CD2F + 122DA2E5084A4393C29BE363C764795C + 0F4176F8C35B00F9A62440FCE3D1CA3E + 6090640FC8709024CC7BC1C648A74D40 + 037C0CA694176A3C0915F62C9D20B3E6 + + isa + PBXGroup + sourceTree + <group> + + 7E5C71195CF0F35F44FDA4D355CFE73C fileRef - F44B6F9C2D260B191FBB5063AD75B393 + 15A56FF21C9FA9F12936DC78A9C73928 isa PBXBuildFile settings @@ -1614,43 +1731,50 @@ -DOS_OBJECT_USE_OBJC=0 - 77F50A2E75F7A6C2C332D980E8888677 + 803DB36CF53DD24FEA41526E81B87C5D - fileRef - 4630A6644E76AADF263AE66897C3F8DF + children + + 2D2B0437841E584ED6131EB63E4A69F1 + 2F5AD3B705137C716AC014302C75EF32 + isa - PBXBuildFile + PBXGroup + name + SDWebImage + path + SDWebImage + sourceTree + <group> - 784E07C8B9704257D10696DD47E2A3B4 + 805202BB246BA109D28F935E2FD10E90 fileRef - 59265159FD88993D2270501D01578588 + E7A82142221894ED6E7C344058BE42C2 isa PBXBuildFile settings - ATTRIBUTES - - Public - + COMPILER_FLAGS + -DOS_OBJECT_USE_OBJC=0 - 78C312ED0A3CF750A6C343D6FD5379DC + 81D60ECA46983B3BE9DD5D033B84740F includeInIndex 1 isa PBXFileReference lastKnownFileType - sourcecode.c.h + sourcecode.c.objc name - Mantle.h + NSDictionary+MTLMappingAdditions.m path - Mantle/Mantle.h + Mantle/NSDictionary+MTLMappingAdditions.m sourceTree <group> - 79BFA846C3CA7928129D1748DD1064DE + 81F3DC6D474822B7751F77C1224D5786 includeInIndex 1 @@ -1659,90 +1783,30 @@ lastKnownFileType sourcecode.c.h name - EXTKeyPathCoding.h + MTLModel+NSCoding.h path - Mantle/extobjc/EXTKeyPathCoding.h + Mantle/MTLModel+NSCoding.h sourceTree <group> - 7A1371C5CB8567AB9BD40DB8FEC78D99 - - children - - 79BFA846C3CA7928129D1748DD1064DE - F7C21BAA95FB06060CD17FC5F2614C8E - 83EDA747C09E28BA9A63CC5854B5115A - 6A79054A0055E192E7B2336D70A8B029 - 9381934DEAC6847E89675AA939DCC131 - 9E9669D7967BD4FD6913A5F2FF03A9B5 - - isa - PBXGroup - name - extobjc - sourceTree - <group> - - 7B24F7FF026230EDD5EA49B096A379AC - - includeInIndex - 1 - isa - PBXFileReference - lastKnownFileType - sourcecode.c.h - name - NSArray+MTLManipulationAdditions.h - path - Mantle/NSArray+MTLManipulationAdditions.h - sourceTree - <group> - - 7C0CF8B05B74BED154F5D4B71DEFC5B9 - - buildConfigurations - - 5CDBDF4279BF1CDBDA29189BCA44BC05 - 6C3EDEE3F32C29C4E4C444D5C2D90669 - - defaultConfigurationIsVisible - 0 - defaultConfigurationName - Release - isa - XCConfigurationList - - 7CAA48778D9EE0B20D0A0695A19E18EF + 822B67D55CC3A2A647FA6990087DAD7D fileRef - 235500B5820D10DDBC26EB25DFB5BB66 + 0DAFBE32CEDD22224470B7573ACDCEA1 isa PBXBuildFile settings - COMPILER_FLAGS - -DOS_OBJECT_USE_OBJC=0 + ATTRIBUTES + + Public + - 7DB346D0F39D3F0E887471402A8071AB - - children - - BA6428E9F66FD5A23C0A2E06ED26CD2F - 433CD3331B6C3787F473C941B61FC68F - F344031D6189A73E226D6C201F587941 - F656E069E7E0A909F2232AC57834809B - 037C0CA694176A3C0915F62C9D20B3E6 - - isa - PBXGroup - sourceTree - <group> - - 7E5C71195CF0F35F44FDA4D355CFE73C + 82AEEAFA63FA91F7F1B4B0BDB184A8DE fileRef - 9B34651E0E036E74E1125776B0014D74 + F2DAE05155737F6DFE5010CCA9E9AEB4 isa PBXBuildFile settings @@ -1751,21 +1815,19 @@ -DOS_OBJECT_USE_OBJC=0 - 80558B4677896F8435749352957B375F + 82FC12F67E83874B93592218E9FB4CA0 fileRef - 9825AACC5CEE99085E177351A800B09B + BE7D43D151A63FFE415B8B0AF160A49F isa PBXBuildFile settings - ATTRIBUTES - - Public - + COMPILER_FLAGS + -DOS_OBJECT_USE_OBJC=0 - 83ECEEA065278E12A008F82C43F1C6B4 + 833F787AEAB0384BF67B2FFE8B8A8259 includeInIndex 1 @@ -1774,13 +1836,13 @@ lastKnownFileType sourcecode.c.objc name - MTLTransformerErrorHandling.m + SDWebImageManager.m path - Mantle/MTLTransformerErrorHandling.m + SDWebImage/SDWebImageManager.m sourceTree <group> - 83EDA747C09E28BA9A63CC5854B5115A + 83D71CFFBE3EFC8DB98CFB7433439C7E includeInIndex 1 @@ -1789,13 +1851,28 @@ lastKnownFileType sourcecode.c.objc name - EXTRuntimeExtensions.m + SDWebImagePrefetcher.m path - Mantle/extobjc/EXTRuntimeExtensions.m + SDWebImage/SDWebImagePrefetcher.m sourceTree <group> - 847592387116CEB85031CBD122A90284 + 8540A53AC950379B70891CB2E5118280 + + explicitFileType + archive.ar + includeInIndex + 0 + isa + PBXFileReference + name + libPods.a + path + libPods.a + sourceTree + BUILT_PRODUCTS_DIR + + 8688ABCF0DF52A14531D2FE245B13BE9 includeInIndex 1 @@ -1804,53 +1881,13 @@ lastKnownFileType sourcecode.c.objc name - MTLValueTransformer.m + SDImageCache.m path - Mantle/MTLValueTransformer.m + SDWebImage/SDImageCache.m sourceTree <group> - 8732FDF15B5F063BC086EA8C7F962DE2 - - fileRef - B761DB48BD86D0A267A10601101FD07B - isa - PBXBuildFile - settings - - COMPILER_FLAGS - -DOS_OBJECT_USE_OBJC=0 - - - 87468D2074F7A6BE5043E9D6C82E4F48 - - fileRef - B0A22501D76B2675E60494E3CF452E18 - isa - PBXBuildFile - settings - - ATTRIBUTES - - Public - - - - 8A5960E1A8B8E36389443DE7E673D6CA - - fileRef - 268D4DFE4BA03755D1DDD85ED10EA43B - isa - PBXBuildFile - settings - - ATTRIBUTES - - Public - - - - 8B48168B67E0687AE38E01801E70F526 + 88CBC570DFF6451FB54274113FAB8056 includeInIndex 1 @@ -1859,65 +1896,56 @@ lastKnownFileType sourcecode.c.h name - MTLModel.h + UIButton+WebCache.h path - Mantle/MTLModel.h + SDWebImage/UIButton+WebCache.h sourceTree <group> - 8C6E5192E88648B94D6C7C4B8FFCDEBC + 8AFFEEAFFBDBD9BC91F1F79C2E83146E - baseConfigurationReference - F61DDF36F9DBAB73E700BB4DC60394D0 - buildSettings + containerPortal + D41D8CD98F00B204E9800998ECF8427E + isa + PBXContainerItemProxy + proxyType + 1 + remoteGlobalIDString + FE2F1D7B9D9FCEA148517E4657B243F4 + remoteInfo + MBProgressHUD + + 8CBBF7E2FC04B0FC995CD2FDBAEC5F94 + + fileRef + F319E2350FB05911C91A7C794E5E4B8A + isa + PBXBuildFile + settings - ENABLE_STRICT_OBJC_MSGSEND - YES - GCC_PREFIX_HEADER - Target Support Files/SDWebImage/SDWebImage-prefix.pch - IPHONEOS_DEPLOYMENT_TARGET - 8.4 - MTL_ENABLE_DEBUG_INFO - NO - OTHER_LDFLAGS - - OTHER_LIBTOOLFLAGS - - PRIVATE_HEADERS_FOLDER_PATH - - PRODUCT_NAME - $(TARGET_NAME) - PUBLIC_HEADERS_FOLDER_PATH - - SDKROOT - iphoneos - SKIP_INSTALL - YES + COMPILER_FLAGS + -DOS_OBJECT_USE_OBJC=0 - isa - XCBuildConfiguration - name - Release - 8CBDC17FB0D2C6AF8022937B3FE4BD2F + 8D5A1FFE851946CC0F24B193D2C4A0BD includeInIndex 1 isa PBXFileReference lastKnownFileType - sourcecode.c.objc + sourcecode.c.h name - UIImage+MultiFormat.m + SDWebImageDownloaderOperation.h path - SDWebImage/UIImage+MultiFormat.m + SDWebImage/SDWebImageDownloaderOperation.h sourceTree <group> - 8D3A0C9868A02A431353035AAB9EFC40 + 9052A1EC0F3CFCE73DFDD33AA034913C fileRef - 51C20F04325AAE3E2F05AE305E6A8D4B + 981FA2B16EDA07F2706FB4030F6B3735 isa PBXBuildFile settings @@ -1928,22 +1956,32 @@ - 8E60E7F4AC5CF4611BCD5729676A28F6 + 941486DF00A70321DE6E423DED389217 includeInIndex 1 isa PBXFileReference lastKnownFileType - sourcecode.c.h - name - UIImageView+HighlightedWebCache.h + text.xcconfig path - SDWebImage/UIImageView+HighlightedWebCache.h + Mantle.xcconfig sourceTree <group> - 9381934DEAC6847E89675AA939DCC131 + 944BC5B32BE8AFDE9A1E1B88C7F7E86D + + fileRef + 2433BCF2F79A6433FD96C735D370512F + isa + PBXBuildFile + settings + + COMPILER_FLAGS + -DOS_OBJECT_USE_OBJC=0 + + + 947778E64A5CD65A0FF83B5C0032DB22 includeInIndex 1 @@ -1952,55 +1990,16 @@ lastKnownFileType sourcecode.c.objc name - EXTScope.m + MTLModel.m path - Mantle/extobjc/EXTScope.m + Mantle/MTLModel.m sourceTree <group> - 93F7C30CD2687A0717B8A3EDC39EFD8E - - buildConfigurationList - 7C0CF8B05B74BED154F5D4B71DEFC5B9 - buildPhases - - 11227227234288BC0AFE990C6905C0F1 - C87C8FDF2D0E80BDDB3F76F959466D93 - - buildRules - - dependencies - - 5884834F5BA0278048B8E0A0A00987E5 - D14A22E44EF10CEA2C562CBE2EE77665 - - isa - PBXNativeTarget - name - Pods - productName - Pods - productReference - 29FCFFC39CC3A025618818E6CC61E620 - productType - com.apple.product-type.library.static - - 944BC5B32BE8AFDE9A1E1B88C7F7E86D - - fileRef - 16DD273B41825641DC3C329877D3B834 - isa - PBXBuildFile - settings - - COMPILER_FLAGS - -DOS_OBJECT_USE_OBJC=0 - - 9543DC81B3F035E8C5768FB50B7146F1 fileRef - 6EDD9715D87DB93BFFB1AF5603088783 + 0BAF33CDC40DC1B1B0A87DAAECC84E99 isa PBXBuildFile settings @@ -2009,22 +2008,22 @@ -DOS_OBJECT_USE_OBJC=0 - 97E24374BF388DC20017DBE69E756694 + 97D78E1786AE817D049A637EA73C7A30 - explicitFileType - archive.ar includeInIndex - 0 + 1 isa PBXFileReference + lastKnownFileType + sourcecode.c.objc name - libMantle.a + EXTScope.m path - libMantle.a + Mantle/extobjc/EXTScope.m sourceTree - BUILT_PRODUCTS_DIR + <group> - 9825AACC5CEE99085E177351A800B09B + 981FA2B16EDA07F2706FB4030F6B3735 includeInIndex 1 @@ -2033,9 +2032,9 @@ lastKnownFileType sourcecode.c.h name - SDWebImageDownloader.h + SDWebImagePrefetcher.h path - SDWebImage/SDWebImageDownloader.h + SDWebImage/SDWebImagePrefetcher.h sourceTree <group> @@ -2052,25 +2051,25 @@ sourceTree <group> - 9B34651E0E036E74E1125776B0014D74 + 99D81AE1AA67C2DA6A831B0464EFCC99 includeInIndex 1 isa PBXFileReference lastKnownFileType - sourcecode.c.objc + sourcecode.c.h name - NSArray+MTLManipulationAdditions.m + Mantle.h path - Mantle/NSArray+MTLManipulationAdditions.m + Mantle/Mantle.h sourceTree <group> - 9BB66BC3A3E2C0AB0BA3ACE98373EF30 + 9AE8BBA3F02A4BB074D5330E5F7508F2 fileRef - 3C040366FD204605DC6F682FA5C9922B + 41AA8AB05AFFC60657CEEF952BC26311 isa PBXBuildFile settings @@ -2081,38 +2080,39 @@ - 9E033EC1CE1C9CFB2B6185C29175901B + 9BB66BC3A3E2C0AB0BA3ACE98373EF30 - includeInIndex - 1 + fileRef + 73D80969C4BA8B462980798871630652 isa - PBXFileReference - lastKnownFileType - sourcecode.c.objc - path - Mantle-dummy.m - sourceTree - <group> + PBXBuildFile + settings + + ATTRIBUTES + + Public + + - 9E9669D7967BD4FD6913A5F2FF03A9B5 + 9F092B40BBFE00265AAE2DCC0860A468 includeInIndex 1 isa PBXFileReference lastKnownFileType - sourcecode.c.h + sourcecode.c.objc name - metamacros.h + SDWebImageDecoder.m path - Mantle/extobjc/metamacros.h + SDWebImage/SDWebImageDecoder.m sourceTree <group> - A0406A6053ADD30286033310F849D296 + 9F9C916E1D628D8AE4FAB8D92147B611 fileRef - FB41B0AD4A01EFA993FF6AE85870E586 + 536092A90452567E5CF0F26B9315ECE1 isa PBXBuildFile settings @@ -2123,23 +2123,6 @@ - A147D29E8930ACC1E33565DBF065CD52 - - children - - F61DDF36F9DBAB73E700BB4DC60394D0 - 09530AAD38304A95FFA7AEB5C5029BA4 - 185A4E5E2EF101A47181D144DD6092D7 - - isa - PBXGroup - name - Support Files - path - ../Target Support Files/SDWebImage - sourceTree - <group> - A1A36D34413696BE466E2CA0AFF194DA includeInIndex @@ -2153,36 +2136,82 @@ sourceTree <group> - A1CC6BA53F6FFAAFF9CD3BA94AE0F24A + A334951EA479E578ACC1D6A893D314A8 - includeInIndex - 1 + baseConfigurationReference + 189290822D8E163D876842AB4F3464D2 + buildSettings + + ENABLE_STRICT_OBJC_MSGSEND + YES + GCC_PREFIX_HEADER + Target Support Files/SDWebImage/SDWebImage-prefix.pch + IPHONEOS_DEPLOYMENT_TARGET + 8.4 + MTL_ENABLE_DEBUG_INFO + NO + OTHER_LDFLAGS + + OTHER_LIBTOOLFLAGS + + PRIVATE_HEADERS_FOLDER_PATH + + PRODUCT_NAME + $(TARGET_NAME) + PUBLIC_HEADERS_FOLDER_PATH + + SDKROOT + iphoneos + SKIP_INSTALL + YES + isa - PBXFileReference - lastKnownFileType - sourcecode.c.h + XCBuildConfiguration name - SDWebImageDownloaderOperation.h - path - SDWebImage/SDWebImageDownloaderOperation.h - sourceTree - <group> + Release - A3F051FAC11452D9C44AF4FBE0B81E71 + A53C8AE35EC357C1B10D661060AF544A - buildActionMask - 2147483647 - files + fileRef + 833F787AEAB0384BF67B2FFE8B8A8259 + isa + PBXBuildFile + settings + + COMPILER_FLAGS + -DOS_OBJECT_USE_OBJC=0 + + + A6E810B6D8D63F927D89D6B67C519F99 + + fileRef + E114E9F3FBA2A7DD492503CCB3AF5A45 + isa + PBXBuildFile + settings + + ATTRIBUTES + + Public + + + + A6EE7D4B8E409488FD14D6FF808A0758 + + children - DE0A973AD57DA953F7E776CD14F479D4 - 0C16B03F583C724199F74FC4DAFC6063 + D380711133535322877776A1289A6597 + 5E4B5CB725641ECE16D1F69408FA3261 + C2FFD9BA48DEA6C6C751764990683501 isa - PBXFrameworksBuildPhase - runOnlyForDeploymentPostprocessing - 0 + PBXGroup + name + iOS + sourceTree + <group> - A6F55F89A0B753D2D0680FE67E8CA8AD + A7702EF222EC74A933776F7A446D1C05 includeInIndex 1 @@ -2190,38 +2219,11 @@ PBXFileReference lastKnownFileType sourcecode.c.h - name - NSData+ImageContentType.h path - SDWebImage/NSData+ImageContentType.h + MBProgressHUD-prefix.pch sourceTree <group> - A74A079BA044CB665EBF7365E2DE8775 - - buildConfigurationList - D86A3C00BB6838DCCC5C40CDA279FC11 - buildPhases - - 18B693BFBF4230418E2C54A1854CB883 - A3F051FAC11452D9C44AF4FBE0B81E71 - 54E18CD3F3292D6E23E9D4D71C2A51CB - - buildRules - - dependencies - - isa - PBXNativeTarget - name - SDWebImage - productName - SDWebImage - productReference - EAAA72101B53F9D5E29A2631F297FB81 - productType - com.apple.product-type.library.static - A7CE0B2F5900B8DE72065180B996B165 buildActionMask @@ -2253,6 +2255,18 @@ runOnlyForDeploymentPostprocessing 0 + A8592DA0168E26816ECE8F0FB95C061D + + fileRef + 3B6E2FD3572C8CC0576E21008C06ED07 + isa + PBXBuildFile + settings + + COMPILER_FLAGS + -DOS_OBJECT_USE_OBJC=0 + + AA05AF9C3A14EE0E32F42C6E6D42D34F buildSettings @@ -2326,19 +2340,7 @@ name Debug - B09D45DCED389B1D0FA82E968752E515 - - fileRef - CD20F2029FA8DD67D56AAF9A2D75DAB3 - isa - PBXBuildFile - settings - - COMPILER_FLAGS - -DOS_OBJECT_USE_OBJC=0 - - - B0A22501D76B2675E60494E3CF452E18 + B0340DFA1AECB7C56E08745A19C09FA1 includeInIndex 1 @@ -2347,25 +2349,38 @@ lastKnownFileType sourcecode.c.h name - SDWebImageManager.h + NSDictionary+MTLJSONKeyPath.h path - SDWebImage/SDWebImageManager.h + Mantle/NSDictionary+MTLJSONKeyPath.h sourceTree <group> - B2AC65B63BB07C7701A8EFC752A0826B + B216717D0B3CF0A41FE8FD257637E6E8 - fileRef - 443633ACC2F84AF406091229A7FC59BC + buildActionMask + 2147483647 + files + + 1E2119FAB2E9620B696EAF7AF5C59CE9 + 9F9C916E1D628D8AE4FAB8D92147B611 + A6E810B6D8D63F927D89D6B67C519F99 + 0BCB607E0FA0EB3419B8ABE60A688C74 + 03AFFA140F9CB7CCA640C9339B35173A + FD7131C5BD7431C3E36E6FFB70C62454 + 822B67D55CC3A2A647FA6990087DAD7D + 62426F66DBF64511ABEC549ED5E48A75 + 9052A1EC0F3CFCE73DFDD33AA034913C + 2AB18117E6BFE6CBED8E7D307933532F + 420B629CA0C838E73E8C4313670DED1A + B426E8A07E609CD1303B6B7151AD121D + 9AE8BBA3F02A4BB074D5330E5F7508F2 + EBD165E1ACAD7AC78D871E9E140BCEA8 + FD10F0F06B4900F01B52FFC13211C94E + isa - PBXBuildFile - settings - - ATTRIBUTES - - Public - - + PBXHeadersBuildPhase + runOnlyForDeploymentPostprocessing + 0 B3D1D13E0C6553800746CB8FD61CF946 @@ -2388,10 +2403,24 @@ sourceTree <group> + B426E8A07E609CD1303B6B7151AD121D + + fileRef + 644376EE1E44D1BD37A6DEEE227035E7 + isa + PBXBuildFile + settings + + ATTRIBUTES + + Public + + + B6E1E26869BC3BFBEAD1B6F35F5A670D fileRef - DE0E54F6AEED36E8A567FF8F893E0653 + B70369BA6DBE13D788974FBCE89B074D isa PBXBuildFile settings @@ -2400,7 +2429,7 @@ -DOS_OBJECT_USE_OBJC=0 - B761DB48BD86D0A267A10601101FD07B + B70369BA6DBE13D788974FBCE89B074D includeInIndex 1 @@ -2409,9 +2438,24 @@ lastKnownFileType sourcecode.c.objc name - SDImageCache.m + NSValueTransformer+MTLInversionAdditions.m path - SDWebImage/SDImageCache.m + Mantle/NSValueTransformer+MTLInversionAdditions.m + sourceTree + <group> + + B937BA1022EA7FA76CCD2B3DD1096EE3 + + includeInIndex + 1 + isa + PBXFileReference + lastKnownFileType + sourcecode.c.objc + name + MTLReflection.m + path + Mantle/MTLReflection.m sourceTree <group> @@ -2435,19 +2479,7 @@ BAE29EFF696E9062CE0DFB3887FF9806 fileRef - 9381934DEAC6847E89675AA939DCC131 - isa - PBXBuildFile - settings - - COMPILER_FLAGS - -DOS_OBJECT_USE_OBJC=0 - - - C0B7827E6FEB64AEA58656D1DE343E63 - - fileRef - 17AEC68D7278556353B571155B6C9D59 + 97D78E1786AE817D049A637EA73C7A30 isa PBXBuildFile settings @@ -2456,7 +2488,7 @@ -DOS_OBJECT_USE_OBJC=0 - C71D12F001281E7B97ECF917E386F5AC + BB25739095E0893FA36036881C9DF550 includeInIndex 1 @@ -2465,100 +2497,54 @@ lastKnownFileType sourcecode.c.h name - NSDictionary+MTLMappingAdditions.h + NSData+ImageContentType.h path - Mantle/NSDictionary+MTLMappingAdditions.h + SDWebImage/NSData+ImageContentType.h sourceTree <group> - C87C8FDF2D0E80BDDB3F76F959466D93 + BC52448EE19F43448E1FC96222B52335 - buildActionMask - 2147483647 - files - - 77F50A2E75F7A6C2C332D980E8888677 - - isa - PBXFrameworksBuildPhase - runOnlyForDeploymentPostprocessing + explicitFileType + archive.ar + includeInIndex 0 - - CBD43094255E90C313E740C7EFFD4C9C - - fileRef - D0FC59A80F0448FA0DCAE13E41494A72 isa - PBXBuildFile - settings - - ATTRIBUTES - - Public - - + PBXFileReference + name + libMBProgressHUD.a + path + libMBProgressHUD.a + sourceTree + BUILT_PRODUCTS_DIR - CD20F2029FA8DD67D56AAF9A2D75DAB3 + BDD5C52EAA3C1820D0486DF2204818B9 includeInIndex 1 isa PBXFileReference lastKnownFileType - sourcecode.c.objc - name - UIImageView+WebCache.m + text.xcconfig path - SDWebImage/UIImageView+WebCache.m + MBProgressHUD.xcconfig sourceTree <group> - CE59C0317C7FCFC665CE9F086BF23B9F + BE7D43D151A63FFE415B8B0AF160A49F - children - - 78C312ED0A3CF750A6C343D6FD5379DC - 5EDB6618C5F47219211BF530C5B7C5AD - 2115BD4433861E8034575A606A205775 - 8B48168B67E0687AE38E01801E70F526 - 53C597FA52EAB09BB776C69D895F9D15 - 6C975A8BA4F7DD6944DDDA45FA5A40CC - 6EDD9715D87DB93BFFB1AF5603088783 - 3C040366FD204605DC6F682FA5C9922B - 36398AEC0402BD15B5E00D3E7FD1E1D6 - 48E26C7F62CB70B01B9A8E5D360CB8C2 - 83ECEEA065278E12A008F82C43F1C6B4 - 1D6BF95474C6B3D6636B5C3DFA365959 - 847592387116CEB85031CBD122A90284 - 7B24F7FF026230EDD5EA49B096A379AC - 9B34651E0E036E74E1125776B0014D74 - 25C8D99584F6A4DA5CB73930C9AF5F97 - EE03DC4E8107A39D71072A6F59C16423 - 533E5ED50EE71B13A90684E8D6215E5C - 16DD273B41825641DC3C329877D3B834 - C71D12F001281E7B97ECF917E386F5AC - 17AEC68D7278556353B571155B6C9D59 - D7E5EE1E72502D687D3CD91328D4C2C5 - 10DCDE9B1B03CBA731C672B28674CFE7 - 69C5959BC11C5EDFD4006BB8B36D2E83 - F44B6F9C2D260B191FBB5063AD75B393 - 452C943DF93199C27667E1A3E9096278 - DE0E54F6AEED36E8A567FF8F893E0653 - 59265159FD88993D2270501D01578588 - F7C90E6815A08C75EDB6801BF14C7DB0 - 7A1371C5CB8567AB9BD40DB8FEC78D99 - D51225FFB5B716C84309FABB9BE5FD0C - + includeInIndex + 1 isa - PBXGroup - name - Mantle + PBXFileReference + lastKnownFileType + sourcecode.c.objc path - Mantle + MBProgressHUD.m sourceTree <group> - D0BCA5D69F4B011200D072D810E7B155 + BE8207A117D015FE39C158691746FE1D includeInIndex 1 @@ -2567,27 +2553,72 @@ lastKnownFileType sourcecode.c.objc name - SDWebImagePrefetcher.m + NSDictionary+MTLJSONKeyPath.m path - SDWebImage/SDWebImagePrefetcher.m + Mantle/NSDictionary+MTLJSONKeyPath.m sourceTree <group> - D0C3310B1446EB018173986F4498EE5D + C0B7827E6FEB64AEA58656D1DE343E63 fileRef - A1CC6BA53F6FFAAFF9CD3BA94AE0F24A + 81D60ECA46983B3BE9DD5D033B84740F isa PBXBuildFile settings - ATTRIBUTES - - Public - + COMPILER_FLAGS + -DOS_OBJECT_USE_OBJC=0 + + + C2FFD9BA48DEA6C6C751764990683501 + + isa + PBXFileReference + lastKnownFileType + wrapper.framework + name + ImageIO.framework + path + Platforms/iPhoneOS.platform/Developer/SDKs/iPhoneOS9.0.sdk/System/Library/Frameworks/ImageIO.framework + sourceTree + DEVELOPER_DIR + + C324F05C5D1746C5AF48853C54054464 + + baseConfigurationReference + BDD5C52EAA3C1820D0486DF2204818B9 + buildSettings + + ENABLE_STRICT_OBJC_MSGSEND + YES + GCC_PREFIX_HEADER + Target Support Files/MBProgressHUD/MBProgressHUD-prefix.pch + IPHONEOS_DEPLOYMENT_TARGET + 8.4 + MTL_ENABLE_DEBUG_INFO + NO + OTHER_LDFLAGS + + OTHER_LIBTOOLFLAGS + + PRIVATE_HEADERS_FOLDER_PATH + + PRODUCT_NAME + $(TARGET_NAME) + PUBLIC_HEADERS_FOLDER_PATH + + SDKROOT + iphoneos + SKIP_INSTALL + YES + isa + XCBuildConfiguration + name + Release - D0FC59A80F0448FA0DCAE13E41494A72 + C49B7D69886A053F3DABA14BA676FD28 includeInIndex 1 @@ -2596,127 +2627,83 @@ lastKnownFileType sourcecode.c.h name - UIImageView+WebCache.h + MTLJSONAdapter.h path - SDWebImage/UIImageView+WebCache.h + Mantle/MTLJSONAdapter.h sourceTree <group> - D14A22E44EF10CEA2C562CBE2EE77665 + C4EC8D35F6B80988DF831DDDAE11210D + includeInIndex + 1 isa - PBXTargetDependency + PBXFileReference + lastKnownFileType + sourcecode.c.h name - SDWebImage - target - A74A079BA044CB665EBF7365E2DE8775 - targetProxy - 5A4D512688D9DCBE5E85BDA83DAA883B - - D1A08D7B676CB358664FE1A7EE3472E3 - - fileRef - 7B24F7FF026230EDD5EA49B096A379AC - isa - PBXBuildFile - settings - - ATTRIBUTES - - Public - - + metamacros.h + path + Mantle/extobjc/metamacros.h + sourceTree + <group> - D2D4686778AB448DEA1D4F86054ABEB7 + C5133A878EE15DA4B6B4EB40183BEDEF fileRef - 4DA9117AC5A1F7A2E9A8D2E685EAF13B + C2FFD9BA48DEA6C6C751764990683501 isa PBXBuildFile - settings - - COMPILER_FLAGS - -DOS_OBJECT_USE_OBJC=0 - - D41D8CD98F00B204E9800998ECF8427E + C55C8220BE3A58F9256C6C7CF7971315 - attributes - - LastSwiftUpdateCheck - 0700 - LastUpgradeCheck - 0700 - - buildConfigurationList - 2D8E8EC45A3A1A1D94AE762CB5028504 - compatibilityVersion - Xcode 3.2 - developmentRegion - English - hasScannedForEncodings - 0 + includeInIndex + 1 isa - PBXProject - knownRegions - - en - - mainGroup - 7DB346D0F39D3F0E887471402A8071AB - productRefGroup - F656E069E7E0A909F2232AC57834809B - projectDirPath - - projectReferences - - projectRoot - - targets - - 426BC4549A625B5E1E4200D5261A98BF - 93F7C30CD2687A0717B8A3EDC39EFD8E - A74A079BA044CB665EBF7365E2DE8775 - + PBXFileReference + lastKnownFileType + sourcecode.c.objc + name + NSObject+MTLComparisonAdditions.m + path + Mantle/NSObject+MTLComparisonAdditions.m + sourceTree + <group> - D51225FFB5B716C84309FABB9BE5FD0C + C5F3BB746F4D3BDFAF9942015929DB99 - children - - 0EFEF5A87EAC9D0190EF8C78F16A044D - 9E033EC1CE1C9CFB2B6185C29175901B - 0C43511D7D9254088E163727BF0C9287 - + includeInIndex + 1 isa - PBXGroup + PBXFileReference + lastKnownFileType + sourcecode.c.objc name - Support Files + UIImage+GIF.m path - ../Target Support Files/Mantle + SDWebImage/UIImage+GIF.m sourceTree <group> - D7E5EE1E72502D687D3CD91328D4C2C5 + C755E0DBC504D37BADF7489B341AAB33 includeInIndex 1 isa PBXFileReference lastKnownFileType - sourcecode.c.h - name - NSError+MTLModelException.h + sourcecode.c.objc path - Mantle/NSError+MTLModelException.h + SDWebImage-dummy.m sourceTree <group> - D86A3C00BB6838DCCC5C40CDA279FC11 + C7AE0B6D60CCBC3D09B4D331C8042237 buildConfigurations - EE668C079C0AA3A17EBAD0A9DAEA4365 - 8C6E5192E88648B94D6C7C4B8FFCDEBC + 1D5A5F87203B68FE91E281E02E7E669B + A334951EA479E578ACC1D6A893D314A8 defaultConfigurationIsVisible 0 @@ -2725,7 +2712,7 @@ isa XCConfigurationList - D9C7351BDB37E42A7E2CFFBB8253DAFF + CA3083E8E6DAA31D4A8144D6E2B80AF7 includeInIndex 1 @@ -2734,35 +2721,41 @@ lastKnownFileType sourcecode.c.h name - SDWebImageCompat.h + NSObject+MTLComparisonAdditions.h path - SDWebImage/SDWebImageCompat.h + Mantle/NSObject+MTLComparisonAdditions.h sourceTree <group> - DE0A973AD57DA953F7E776CD14F479D4 + CC8E193F62467F7D49CF0984F99ACF2B - fileRef - 4630A6644E76AADF263AE66897C3F8DF + containerPortal + D41D8CD98F00B204E9800998ECF8427E isa - PBXBuildFile + PBXContainerItemProxy + proxyType + 1 + remoteGlobalIDString + 426BC4549A625B5E1E4200D5261A98BF + remoteInfo + Mantle - DE0E54F6AEED36E8A567FF8F893E0653 + CDF3DD76D9BE9EFF66F59FB6973EE71D includeInIndex 1 isa PBXFileReference lastKnownFileType - sourcecode.c.objc + sourcecode.c.h name - NSValueTransformer+MTLInversionAdditions.m + NSValueTransformer+MTLInversionAdditions.h path - Mantle/NSValueTransformer+MTLInversionAdditions.m + Mantle/NSValueTransformer+MTLInversionAdditions.h sourceTree <group> - E4D500DF2DA6B435390AA3E54220676C + CF846BDC2920C8556EF05F0104228D79 includeInIndex 1 @@ -2771,30 +2764,28 @@ lastKnownFileType sourcecode.c.objc name - UIButton+WebCache.m + NSData+ImageContentType.m path - SDWebImage/UIButton+WebCache.m + SDWebImage/NSData+ImageContentType.m sourceTree <group> - E6345C61AB8575A0E8646B73AD969856 + D0EABE3A2419100DF6459089509BC3E7 fileRef - 8E60E7F4AC5CF4611BCD5729676A28F6 + 02C2C5278AC07313A99A6CE5848BD1EC isa PBXBuildFile settings - ATTRIBUTES - - Public - + COMPILER_FLAGS + -DOS_OBJECT_USE_OBJC=0 - E72FE1FA640F108A9769E9661E34F3BF + D1A08D7B676CB358664FE1A7EE3472E3 fileRef - 25C8D99584F6A4DA5CB73930C9AF5F97 + F8ED7C5935EFC65234814A554BAC4037 isa PBXBuildFile settings @@ -2805,7 +2796,33 @@ - EAAA72101B53F9D5E29A2631F297FB81 + D32653626E8E32F022ACC37644866D6E + + includeInIndex + 1 + isa + PBXFileReference + lastKnownFileType + sourcecode.c.h + path + SDWebImage-prefix.pch + sourceTree + <group> + + D380711133535322877776A1289A6597 + + isa + PBXFileReference + lastKnownFileType + wrapper.framework + name + CoreGraphics.framework + path + Platforms/iPhoneOS.platform/Developer/SDKs/iPhoneOS9.0.sdk/System/Library/Frameworks/CoreGraphics.framework + sourceTree + DEVELOPER_DIR + + D3C494A4A6014623936CE54165F79248 explicitFileType archive.ar @@ -2820,72 +2837,163 @@ sourceTree BUILT_PRODUCTS_DIR - ECE329BD20DFCBB901B422FBB7F73FA3 + D41D8CD98F00B204E9800998ECF8427E - containerPortal - D41D8CD98F00B204E9800998ECF8427E + attributes + + LastSwiftUpdateCheck + 0700 + LastUpgradeCheck + 0700 + + buildConfigurationList + 2D8E8EC45A3A1A1D94AE762CB5028504 + compatibilityVersion + Xcode 3.2 + developmentRegion + English + hasScannedForEncodings + 0 isa - PBXContainerItemProxy - proxyType - 1 - remoteGlobalIDString - 426BC4549A625B5E1E4200D5261A98BF - remoteInfo - Mantle + PBXProject + knownRegions + + en + + mainGroup + 7DB346D0F39D3F0E887471402A8071AB + productRefGroup + 6090640FC8709024CC7BC1C648A74D40 + projectDirPath + + projectReferences + + projectRoot + + targets + + 426BC4549A625B5E1E4200D5261A98BF + FE2F1D7B9D9FCEA148517E4657B243F4 + 7CB6901F36B12AEB2E5412BD70748A73 + 6C70933ADF15B2C739E69B4A7C2BD60C + - EE03DC4E8107A39D71072A6F59C16423 + DA218E59190A7FE8D726FF7A4C25DB78 includeInIndex 1 isa PBXFileReference lastKnownFileType - sourcecode.c.objc - name - NSDictionary+MTLJSONKeyPath.m + sourcecode.c.h path - Mantle/NSDictionary+MTLJSONKeyPath.m + Mantle-prefix.pch sourceTree <group> - EE668C079C0AA3A17EBAD0A9DAEA4365 + DB44EEA7E4C382164C434398C64B27AD - baseConfigurationReference - F61DDF36F9DBAB73E700BB4DC60394D0 - buildSettings - - ENABLE_STRICT_OBJC_MSGSEND - YES - GCC_PREFIX_HEADER - Target Support Files/SDWebImage/SDWebImage-prefix.pch - IPHONEOS_DEPLOYMENT_TARGET - 8.4 - MTL_ENABLE_DEBUG_INFO - YES - OTHER_LDFLAGS - - OTHER_LIBTOOLFLAGS - - PRIVATE_HEADERS_FOLDER_PATH - - PRODUCT_NAME - $(TARGET_NAME) - PUBLIC_HEADERS_FOLDER_PATH - - SDKROOT - iphoneos - SKIP_INSTALL - YES - + includeInIndex + 1 isa - XCBuildConfiguration + PBXFileReference + lastKnownFileType + sourcecode.c.objc name - Debug + EXTRuntimeExtensions.m + path + Mantle/extobjc/EXTRuntimeExtensions.m + sourceTree + <group> - EEF2248467AB8464AB72CB730C7FE178 + DB7A60BBEB522358ED8E11F0BC2711E2 + + includeInIndex + 1 + isa + PBXFileReference + lastKnownFileType + sourcecode.c.h + name + EXTKeyPathCoding.h + path + Mantle/extobjc/EXTKeyPathCoding.h + sourceTree + <group> + + DEB31D1FFB088AA4811D026B5BDBE132 + + buildActionMask + 2147483647 + files + + 2B4675C7C208D9B24C5AC661759E95BB + 24B1F39CD3CC8B3F4CBB6A56E738ABD8 + 092FF4A0895518D13C8E682522ADC3F2 + D0EABE3A2419100DF6459089509BC3E7 + 598D68F7354A55B3DA34458465021325 + 3165D4E2293D5837EB3B342C7D0DA2F2 + 82AEEAFA63FA91F7F1B4B0BDB184A8DE + A53C8AE35EC357C1B10D661060AF544A + E1C99EBAED1E448845E1B245E80B8B8D + E4C74BD1AF330099D6EC6605E370A5E3 + 6C31EC5DC86340DD4831E33862751735 + 268AA18F4BDACD59C404EB6AA49A11B8 + 8CBBF7E2FC04B0FC995CD2FDBAEC5F94 + A8592DA0168E26816ECE8F0FB95C061D + 805202BB246BA109D28F935E2FD10E90 + + isa + PBXSourcesBuildPhase + runOnlyForDeploymentPostprocessing + 0 + + DFFE4805B76CDDFBA53510F390DCE569 + + includeInIndex + 1 + isa + PBXFileReference + lastKnownFileType + sourcecode.c.h + name + SDWebImageDecoder.h + path + SDWebImage/SDWebImageDecoder.h + sourceTree + <group> + + E114E9F3FBA2A7DD492503CCB3AF5A45 + + includeInIndex + 1 + isa + PBXFileReference + lastKnownFileType + sourcecode.c.h + name + SDWebImageCompat.h + path + SDWebImage/SDWebImageCompat.h + sourceTree + <group> + + E1C99EBAED1E448845E1B245E80B8B8D + + fileRef + 83D71CFFBE3EFC8DB98CFB7433439C7E + isa + PBXBuildFile + settings + + COMPILER_FLAGS + -DOS_OBJECT_USE_OBJC=0 + + + E4C74BD1AF330099D6EC6605E370A5E3 fileRef - F7C90E6815A08C75EDB6801BF14C7DB0 + 5F24E7265F0AB0A2DB6F9D41B7E9A57E isa PBXBuildFile settings @@ -2894,7 +3002,39 @@ -DOS_OBJECT_USE_OBJC=0 - F0B747FBA2F649FC27663DF0926FFC43 + E4CC59AADF10A78D8341BDB5526033CA + + children + + DB7A60BBEB522358ED8E11F0BC2711E2 + 2546BB4536E2EC9679B533DEF29C79BA + DB44EEA7E4C382164C434398C64B27AD + 0A727D2C21750ABE95BD0229A22AB485 + 97D78E1786AE817D049A637EA73C7A30 + C4EC8D35F6B80988DF831DDDAE11210D + + isa + PBXGroup + name + extobjc + sourceTree + <group> + + E72FE1FA640F108A9769E9661E34F3BF + + fileRef + B0340DFA1AECB7C56E08745A19C09FA1 + isa + PBXBuildFile + settings + + ATTRIBUTES + + Public + + + + E7A82142221894ED6E7C344058BE42C2 includeInIndex 1 @@ -2903,16 +3043,30 @@ lastKnownFileType sourcecode.c.objc name - SDWebImageManager.m + UIView+WebCacheOperation.m path - SDWebImage/SDWebImageManager.m + SDWebImage/UIView+WebCacheOperation.m sourceTree <group> - F0D2DF741E4223975FD166C5C101479F + E81C08F5CCC0A5FBFF4559E2173164C7 + + buildActionMask + 2147483647 + files + + 70D801E0B95C23BCC270E4EC8659D463 + 2989492A1A182744E36FD61DF1746D94 + + isa + PBXFrameworksBuildPhase + runOnlyForDeploymentPostprocessing + 0 + + EBD165E1ACAD7AC78D871E9E140BCEA8 fileRef - 1D6BF95474C6B3D6636B5C3DFA365959 + 594418689C915A512D476806DD4318C4 isa PBXBuildFile settings @@ -2923,21 +3077,46 @@ - F344031D6189A73E226D6C201F587941 + EEF2248467AB8464AB72CB730C7FE178 - children + fileRef + F1973D40B83A1D4E2082A88D307DEEC7 + isa + PBXBuildFile + settings + + COMPILER_FLAGS + -DOS_OBJECT_USE_OBJC=0 + + + EF1C003613925663F17E023C73AF519C + + buildActionMask + 2147483647 + files - CE59C0317C7FCFC665CE9F086BF23B9F - 21F87EAAB963468B531430B85700EFB2 + 5EB4F27B76513AE918BA5AE0868E87C8 isa - PBXGroup - name - Pods - sourceTree - <group> + PBXHeadersBuildPhase + runOnlyForDeploymentPostprocessing + 0 - F44B6F9C2D260B191FBB5063AD75B393 + F0D2DF741E4223975FD166C5C101479F + + fileRef + 4CEB322F047B1FFD119AF0434CC57370 + isa + PBXBuildFile + settings + + ATTRIBUTES + + Public + + + + F1973D40B83A1D4E2082A88D307DEEC7 includeInIndex 1 @@ -2946,99 +3125,114 @@ lastKnownFileType sourcecode.c.objc name - NSObject+MTLComparisonAdditions.m + NSValueTransformer+MTLPredefinedTransformerAdditions.m path - Mantle/NSObject+MTLComparisonAdditions.m + Mantle/NSValueTransformer+MTLPredefinedTransformerAdditions.m sourceTree <group> - F61DDF36F9DBAB73E700BB4DC60394D0 + F2DAE05155737F6DFE5010CCA9E9AEB4 includeInIndex 1 isa PBXFileReference lastKnownFileType - text.xcconfig + sourcecode.c.objc + name + SDWebImageDownloaderOperation.m path - SDWebImage.xcconfig + SDWebImage/SDWebImageDownloaderOperation.m sourceTree <group> - F656E069E7E0A909F2232AC57834809B + F2F5671C4613023EE94A2E62DA06031D - children + buildConfigurations - 97E24374BF388DC20017DBE69E756694 - 29FCFFC39CC3A025618818E6CC61E620 - EAAA72101B53F9D5E29A2631F297FB81 + 2B5A80D541CD876827B9CBDAC319996C + C324F05C5D1746C5AF48853C54054464 + defaultConfigurationIsVisible + 0 + defaultConfigurationName + Release isa - PBXGroup + XCConfigurationList + + F319E2350FB05911C91A7C794E5E4B8A + + includeInIndex + 1 + isa + PBXFileReference + lastKnownFileType + sourcecode.c.objc name - Products + UIImageView+HighlightedWebCache.m + path + SDWebImage/UIImageView+HighlightedWebCache.m sourceTree <group> - F7B7585021FEDC680689A7B49F8BA3ED + F34D921A605F0E5D7C94603C936FD38E - fileRef - 48E26C7F62CB70B01B9A8E5D360CB8C2 + includeInIndex + 1 isa - PBXBuildFile - settings - - ATTRIBUTES - - Public - - + PBXFileReference + lastKnownFileType + sourcecode.c.objc + path + Mantle-dummy.m + sourceTree + <group> - F7C21BAA95FB06060CD17FC5F2614C8E + F3B80E215683FA20AC3B752DF52A4C89 includeInIndex 1 isa PBXFileReference lastKnownFileType - sourcecode.c.h + sourcecode.c.objc name - EXTRuntimeExtensions.h + SDWebImageDownloader.m path - Mantle/extobjc/EXTRuntimeExtensions.h + SDWebImage/SDWebImageDownloader.m sourceTree <group> - F7C90E6815A08C75EDB6801BF14C7DB0 + F41624FD5450DAE45051E85843933D84 includeInIndex 1 isa PBXFileReference lastKnownFileType - sourcecode.c.objc + sourcecode.c.h name - NSValueTransformer+MTLPredefinedTransformerAdditions.m + SDWebImageDownloader.h path - Mantle/NSValueTransformer+MTLPredefinedTransformerAdditions.m + SDWebImage/SDWebImageDownloader.h sourceTree <group> - F8FF07D76760D6A2FF269061E11A8B31 + F7B7585021FEDC680689A7B49F8BA3ED fileRef - 79BFA846C3CA7928129D1748DD1064DE + 1438078BA0A0E7A44CB7A4FA2CA93F02 isa PBXBuildFile settings ATTRIBUTES - Private + Public - FB41B0AD4A01EFA993FF6AE85870E586 + F8ED7C5935EFC65234814A554BAC4037 includeInIndex 1 @@ -3047,35 +3241,74 @@ lastKnownFileType sourcecode.c.h name - SDWebImageOperation.h + NSArray+MTLManipulationAdditions.h path - SDWebImage/SDWebImageOperation.h + Mantle/NSArray+MTLManipulationAdditions.h sourceTree <group> - FD913ECF18E91FD4D8EE34BA8170DB4F + F8FF07D76760D6A2FF269061E11A8B31 fileRef - 36398AEC0402BD15B5E00D3E7FD1E1D6 + DB7A60BBEB522358ED8E11F0BC2711E2 isa PBXBuildFile settings - COMPILER_FLAGS - -DOS_OBJECT_USE_OBJC=0 + ATTRIBUTES + + Private + - FE983ADC2960099312AF536D2916BC7A + F967D8A5C9037F6B7F5A28275E3AC0AD fileRef - 4630A6644E76AADF263AE66897C3F8DF + 272643F56613CA0D336AE3DBF19DC404 isa PBXBuildFile - FF3D94F730A96F1B9FAF43E8DB68E702 + FB1C2EBF0C3B80EB6971F841AE14A62F + + includeInIndex + 1 + isa + PBXFileReference + lastKnownFileType + sourcecode.c.objc + name + UIImage+MultiFormat.m + path + SDWebImage/UIImage+MultiFormat.m + sourceTree + <group> + + FC08351AB1A31E945C746E60A95E1FE7 + + includeInIndex + 1 + isa + PBXFileReference + lastKnownFileType + sourcecode.c.h + name + NSValueTransformer+MTLPredefinedTransformerAdditions.h + path + Mantle/NSValueTransformer+MTLPredefinedTransformerAdditions.h + sourceTree + <group> + + FC214077677D4F02E03C6C85F774E028 + + fileRef + 06D244A01A7FC056F24928424FC83B71 + isa + PBXBuildFile + + FD10F0F06B4900F01B52FFC13211C94E fileRef - 78C312ED0A3CF750A6C343D6FD5379DC + 4E8E7A1E3D990104598932796F0418F8 isa PBXBuildFile settings @@ -3086,20 +3319,138 @@ - FF880E94BC5F1B73ECBD6429796DC5C3 + FD7131C5BD7431C3E36E6FFB70C62454 + + fileRef + 8D5A1FFE851946CC0F24B193D2C4A0BD + isa + PBXBuildFile + settings + + ATTRIBUTES + + Public + + + + FD913ECF18E91FD4D8EE34BA8170DB4F + + fileRef + B937BA1022EA7FA76CCD2B3DD1096EE3 + isa + PBXBuildFile + settings + + COMPILER_FLAGS + -DOS_OBJECT_USE_OBJC=0 + + + FDE6A1DC0A385EC0898B57A36A64FF8C + + isa + PBXTargetDependency + name + MBProgressHUD + target + FE2F1D7B9D9FCEA148517E4657B243F4 + targetProxy + 8AFFEEAFFBDBD9BC91F1F79C2E83146E + + FE03ECFFCA704692E30BAD3FA9491572 children - 4630A6644E76AADF263AE66897C3F8DF - 609DD8EF242B56172BA66E6B780EFC65 + BDD5C52EAA3C1820D0486DF2204818B9 + 06D244A01A7FC056F24928424FC83B71 + A7702EF222EC74A933776F7A446D1C05 isa PBXGroup name - iOS + Support Files + path + ../Target Support Files/MBProgressHUD sourceTree <group> + FE2F1D7B9D9FCEA148517E4657B243F4 + + buildConfigurationList + F2F5671C4613023EE94A2E62DA06031D + buildPhases + + 098439AB598DDF1AF51146A2E3E2E562 + E81C08F5CCC0A5FBFF4559E2173164C7 + EF1C003613925663F17E023C73AF519C + + buildRules + + dependencies + + isa + PBXNativeTarget + name + MBProgressHUD + productName + MBProgressHUD + productReference + BC52448EE19F43448E1FC96222B52335 + productType + com.apple.product-type.library.static + + FE95913DCBB00167398D7BA05D6FB4FB + + baseConfigurationReference + 98C98CDFB3F20F2925F6CD1F141BB14F + buildSettings + + ENABLE_STRICT_OBJC_MSGSEND + YES + IPHONEOS_DEPLOYMENT_TARGET + 8.4 + MACH_O_TYPE + staticlib + MTL_ENABLE_DEBUG_INFO + NO + OTHER_LDFLAGS + + OTHER_LIBTOOLFLAGS + + PODS_ROOT + $(SRCROOT) + PRODUCT_NAME + $(TARGET_NAME) + SDKROOT + iphoneos + SKIP_INSTALL + YES + + isa + XCBuildConfiguration + name + Release + + FE983ADC2960099312AF536D2916BC7A + + fileRef + 5E4B5CB725641ECE16D1F69408FA3261 + isa + PBXBuildFile + + FF3D94F730A96F1B9FAF43E8DB68E702 + + fileRef + 99D81AE1AA67C2DA6A831B0464EFCC99 + isa + PBXBuildFile + settings + + ATTRIBUTES + + Public + + + rootObject D41D8CD98F00B204E9800998ECF8427E diff --git a/Pods/Pods.xcodeproj/xcuserdata/mariatimofeeva.xcuserdatad/xcschemes/MBProgressHUD.xcscheme b/Pods/Pods.xcodeproj/xcuserdata/mariatimofeeva.xcuserdatad/xcschemes/MBProgressHUD.xcscheme new file mode 100644 index 0000000..ecd4b1b --- /dev/null +++ b/Pods/Pods.xcodeproj/xcuserdata/mariatimofeeva.xcuserdatad/xcschemes/MBProgressHUD.xcscheme @@ -0,0 +1,60 @@ + + + + + + + + + + + + + + + + + + + + + + + + + diff --git a/Pods/Pods.xcodeproj/xcuserdata/mariatimofeeva.xcuserdatad/xcschemes/Mantle.xcscheme b/Pods/Pods.xcodeproj/xcuserdata/mariatimofeeva.xcuserdatad/xcschemes/Mantle.xcscheme new file mode 100644 index 0000000..ccf6955 --- /dev/null +++ b/Pods/Pods.xcodeproj/xcuserdata/mariatimofeeva.xcuserdatad/xcschemes/Mantle.xcscheme @@ -0,0 +1,60 @@ + + + + + + + + + + + + + + + + + + + + + + + + + diff --git a/Pods/Pods.xcodeproj/xcuserdata/mariatimofeeva.xcuserdatad/xcschemes/Pods.xcscheme b/Pods/Pods.xcodeproj/xcuserdata/mariatimofeeva.xcuserdatad/xcschemes/Pods.xcscheme new file mode 100644 index 0000000..fb160c2 --- /dev/null +++ b/Pods/Pods.xcodeproj/xcuserdata/mariatimofeeva.xcuserdatad/xcschemes/Pods.xcscheme @@ -0,0 +1,60 @@ + + + + + + + + + + + + + + + + + + + + + + + + + diff --git a/Pods/Pods.xcodeproj/xcuserdata/mariatimofeeva.xcuserdatad/xcschemes/SDWebImage.xcscheme b/Pods/Pods.xcodeproj/xcuserdata/mariatimofeeva.xcuserdatad/xcschemes/SDWebImage.xcscheme new file mode 100644 index 0000000..2d64bc5 --- /dev/null +++ b/Pods/Pods.xcodeproj/xcuserdata/mariatimofeeva.xcuserdatad/xcschemes/SDWebImage.xcscheme @@ -0,0 +1,60 @@ + + + + + + + + + + + + + + + + + + + + + + + + + diff --git a/Pods/Pods.xcodeproj/xcuserdata/mariatimofeeva.xcuserdatad/xcschemes/xcschememanagement.plist b/Pods/Pods.xcodeproj/xcuserdata/mariatimofeeva.xcuserdatad/xcschemes/xcschememanagement.plist new file mode 100644 index 0000000..f0a5365 --- /dev/null +++ b/Pods/Pods.xcodeproj/xcuserdata/mariatimofeeva.xcuserdatad/xcschemes/xcschememanagement.plist @@ -0,0 +1,52 @@ + + + + + SchemeUserState + + MBProgressHUD.xcscheme + + isShown + + + Mantle.xcscheme + + isShown + + + Pods.xcscheme + + isShown + + + SDWebImage.xcscheme + + isShown + + + + SuppressBuildableAutocreation + + 426BC4549A625B5E1E4200D5261A98BF + + primary + + + 6C70933ADF15B2C739E69B4A7C2BD60C + + primary + + + 7CB6901F36B12AEB2E5412BD70748A73 + + primary + + + FE2F1D7B9D9FCEA148517E4657B243F4 + + primary + + + + + diff --git a/Pods/Target Support Files/MBProgressHUD/MBProgressHUD-dummy.m b/Pods/Target Support Files/MBProgressHUD/MBProgressHUD-dummy.m new file mode 100644 index 0000000..67a74df --- /dev/null +++ b/Pods/Target Support Files/MBProgressHUD/MBProgressHUD-dummy.m @@ -0,0 +1,5 @@ +#import +@interface PodsDummy_MBProgressHUD : NSObject +@end +@implementation PodsDummy_MBProgressHUD +@end diff --git a/Pods/Target Support Files/MBProgressHUD/MBProgressHUD-prefix.pch b/Pods/Target Support Files/MBProgressHUD/MBProgressHUD-prefix.pch new file mode 100644 index 0000000..aa992a4 --- /dev/null +++ b/Pods/Target Support Files/MBProgressHUD/MBProgressHUD-prefix.pch @@ -0,0 +1,4 @@ +#ifdef __OBJC__ +#import +#endif + diff --git a/Pods/Target Support Files/MBProgressHUD/MBProgressHUD.xcconfig b/Pods/Target Support Files/MBProgressHUD/MBProgressHUD.xcconfig new file mode 100644 index 0000000..143afbf --- /dev/null +++ b/Pods/Target Support Files/MBProgressHUD/MBProgressHUD.xcconfig @@ -0,0 +1,5 @@ +GCC_PREPROCESSOR_DEFINITIONS = $(inherited) COCOAPODS=1 +HEADER_SEARCH_PATHS = "${PODS_ROOT}/Headers/Private" "${PODS_ROOT}/Headers/Private/MBProgressHUD" "${PODS_ROOT}/Headers/Public" "${PODS_ROOT}/Headers/Public/MBProgressHUD" "${PODS_ROOT}/Headers/Public/Mantle" "${PODS_ROOT}/Headers/Public/SDWebImage" +OTHER_LDFLAGS = -framework "CoreGraphics" +PODS_ROOT = ${SRCROOT} +SKIP_INSTALL = YES \ No newline at end of file diff --git a/Pods/Target Support Files/Mantle/Mantle.xcconfig b/Pods/Target Support Files/Mantle/Mantle.xcconfig index 8a6a6a9..02818f1 100644 --- a/Pods/Target Support Files/Mantle/Mantle.xcconfig +++ b/Pods/Target Support Files/Mantle/Mantle.xcconfig @@ -1,5 +1,5 @@ GCC_PREPROCESSOR_DEFINITIONS = $(inherited) COCOAPODS=1 -HEADER_SEARCH_PATHS = "${PODS_ROOT}/Headers/Private" "${PODS_ROOT}/Headers/Private/Mantle" "${PODS_ROOT}/Headers/Public" "${PODS_ROOT}/Headers/Public/Mantle" "${PODS_ROOT}/Headers/Public/SDWebImage" +HEADER_SEARCH_PATHS = "${PODS_ROOT}/Headers/Private" "${PODS_ROOT}/Headers/Private/Mantle" "${PODS_ROOT}/Headers/Public" "${PODS_ROOT}/Headers/Public/MBProgressHUD" "${PODS_ROOT}/Headers/Public/Mantle" "${PODS_ROOT}/Headers/Public/SDWebImage" OTHER_LDFLAGS = -framework "Foundation" PODS_ROOT = ${SRCROOT} SKIP_INSTALL = YES \ No newline at end of file diff --git a/Pods/Target Support Files/Pods/Pods-acknowledgements.markdown b/Pods/Target Support Files/Pods/Pods-acknowledgements.markdown index 4990575..15a4603 100644 --- a/Pods/Target Support Files/Pods/Pods-acknowledgements.markdown +++ b/Pods/Target Support Files/Pods/Pods-acknowledgements.markdown @@ -1,6 +1,28 @@ # Acknowledgements This application makes use of the following third party libraries: +## MBProgressHUD + +Copyright (c) 2009-2015 Matej Bukovinski + +Permission is hereby granted, free of charge, to any person obtaining a copy +of this software and associated documentation files (the "Software"), to deal +in the Software without restriction, including without limitation the rights +to use, copy, modify, merge, publish, distribute, sublicense, and/or sell +copies of the Software, and to permit persons to whom the Software is +furnished to do so, subject to the following conditions: + +The above copyright notice and this permission notice shall be included in +all copies or substantial portions of the Software. + +THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND, EXPRESS OR +IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF MERCHANTABILITY, +FITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT. IN NO EVENT SHALL THE +AUTHORS OR COPYRIGHT HOLDERS BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER +LIABILITY, WHETHER IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING FROM, +OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN +THE SOFTWARE. + ## Mantle **Copyright (c) GitHub, Inc.** diff --git a/Pods/Target Support Files/Pods/Pods-acknowledgements.plist b/Pods/Target Support Files/Pods/Pods-acknowledgements.plist index 54b84eb..239eaf0 100644 --- a/Pods/Target Support Files/Pods/Pods-acknowledgements.plist +++ b/Pods/Target Support Files/Pods/Pods-acknowledgements.plist @@ -12,6 +12,32 @@ Type PSGroupSpecifier + + FooterText + Copyright (c) 2009-2015 Matej Bukovinski + +Permission is hereby granted, free of charge, to any person obtaining a copy +of this software and associated documentation files (the "Software"), to deal +in the Software without restriction, including without limitation the rights +to use, copy, modify, merge, publish, distribute, sublicense, and/or sell +copies of the Software, and to permit persons to whom the Software is +furnished to do so, subject to the following conditions: + +The above copyright notice and this permission notice shall be included in +all copies or substantial portions of the Software. + +THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND, EXPRESS OR +IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF MERCHANTABILITY, +FITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT. IN NO EVENT SHALL THE +AUTHORS OR COPYRIGHT HOLDERS BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER +LIABILITY, WHETHER IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING FROM, +OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN +THE SOFTWARE. + Title + MBProgressHUD + Type + PSGroupSpecifier + FooterText **Copyright (c) GitHub, Inc.** diff --git a/Pods/Target Support Files/Pods/Pods.debug.xcconfig b/Pods/Target Support Files/Pods/Pods.debug.xcconfig index ab47321..16adfd4 100644 --- a/Pods/Target Support Files/Pods/Pods.debug.xcconfig +++ b/Pods/Target Support Files/Pods/Pods.debug.xcconfig @@ -1,5 +1,5 @@ GCC_PREPROCESSOR_DEFINITIONS = $(inherited) COCOAPODS=1 -HEADER_SEARCH_PATHS = $(inherited) "${PODS_ROOT}/Headers/Public" "${PODS_ROOT}/Headers/Public/Mantle" "${PODS_ROOT}/Headers/Public/SDWebImage" -OTHER_CFLAGS = $(inherited) -isystem "${PODS_ROOT}/Headers/Public" -isystem "${PODS_ROOT}/Headers/Public/Mantle" -isystem "${PODS_ROOT}/Headers/Public/SDWebImage" -OTHER_LDFLAGS = $(inherited) -ObjC -l"Mantle" -l"SDWebImage" -framework "Foundation" -framework "ImageIO" +HEADER_SEARCH_PATHS = $(inherited) "${PODS_ROOT}/Headers/Public" "${PODS_ROOT}/Headers/Public/MBProgressHUD" "${PODS_ROOT}/Headers/Public/Mantle" "${PODS_ROOT}/Headers/Public/SDWebImage" +OTHER_CFLAGS = $(inherited) -isystem "${PODS_ROOT}/Headers/Public" -isystem "${PODS_ROOT}/Headers/Public/MBProgressHUD" -isystem "${PODS_ROOT}/Headers/Public/Mantle" -isystem "${PODS_ROOT}/Headers/Public/SDWebImage" +OTHER_LDFLAGS = $(inherited) -ObjC -l"MBProgressHUD" -l"Mantle" -l"SDWebImage" -framework "CoreGraphics" -framework "Foundation" -framework "ImageIO" PODS_ROOT = ${SRCROOT}/Pods \ No newline at end of file diff --git a/Pods/Target Support Files/Pods/Pods.release.xcconfig b/Pods/Target Support Files/Pods/Pods.release.xcconfig index ab47321..16adfd4 100644 --- a/Pods/Target Support Files/Pods/Pods.release.xcconfig +++ b/Pods/Target Support Files/Pods/Pods.release.xcconfig @@ -1,5 +1,5 @@ GCC_PREPROCESSOR_DEFINITIONS = $(inherited) COCOAPODS=1 -HEADER_SEARCH_PATHS = $(inherited) "${PODS_ROOT}/Headers/Public" "${PODS_ROOT}/Headers/Public/Mantle" "${PODS_ROOT}/Headers/Public/SDWebImage" -OTHER_CFLAGS = $(inherited) -isystem "${PODS_ROOT}/Headers/Public" -isystem "${PODS_ROOT}/Headers/Public/Mantle" -isystem "${PODS_ROOT}/Headers/Public/SDWebImage" -OTHER_LDFLAGS = $(inherited) -ObjC -l"Mantle" -l"SDWebImage" -framework "Foundation" -framework "ImageIO" +HEADER_SEARCH_PATHS = $(inherited) "${PODS_ROOT}/Headers/Public" "${PODS_ROOT}/Headers/Public/MBProgressHUD" "${PODS_ROOT}/Headers/Public/Mantle" "${PODS_ROOT}/Headers/Public/SDWebImage" +OTHER_CFLAGS = $(inherited) -isystem "${PODS_ROOT}/Headers/Public" -isystem "${PODS_ROOT}/Headers/Public/MBProgressHUD" -isystem "${PODS_ROOT}/Headers/Public/Mantle" -isystem "${PODS_ROOT}/Headers/Public/SDWebImage" +OTHER_LDFLAGS = $(inherited) -ObjC -l"MBProgressHUD" -l"Mantle" -l"SDWebImage" -framework "CoreGraphics" -framework "Foundation" -framework "ImageIO" PODS_ROOT = ${SRCROOT}/Pods \ No newline at end of file diff --git a/Pods/Target Support Files/SDWebImage/SDWebImage.xcconfig b/Pods/Target Support Files/SDWebImage/SDWebImage.xcconfig index 51c594b..f412394 100644 --- a/Pods/Target Support Files/SDWebImage/SDWebImage.xcconfig +++ b/Pods/Target Support Files/SDWebImage/SDWebImage.xcconfig @@ -1,5 +1,5 @@ GCC_PREPROCESSOR_DEFINITIONS = $(inherited) COCOAPODS=1 -HEADER_SEARCH_PATHS = "${PODS_ROOT}/Headers/Private" "${PODS_ROOT}/Headers/Private/SDWebImage" "${PODS_ROOT}/Headers/Public" "${PODS_ROOT}/Headers/Public/Mantle" "${PODS_ROOT}/Headers/Public/SDWebImage" +HEADER_SEARCH_PATHS = "${PODS_ROOT}/Headers/Private" "${PODS_ROOT}/Headers/Private/SDWebImage" "${PODS_ROOT}/Headers/Public" "${PODS_ROOT}/Headers/Public/MBProgressHUD" "${PODS_ROOT}/Headers/Public/Mantle" "${PODS_ROOT}/Headers/Public/SDWebImage" OTHER_LDFLAGS = -framework "ImageIO" PODS_ROOT = ${SRCROOT} SKIP_INSTALL = YES \ No newline at end of file