[
  {
    "path": ".gitignore",
    "content": "# Xcode\n#\n# gitignore contributors: remember to update Global/Xcode.gitignore, Objective-C.gitignore & Swift.gitignore\n\n## Build generated\nbuild/\nDerivedData/\n\n## Various settings\n*.pbxuser\n!default.pbxuser\n*.mode1v3\n!default.mode1v3\n*.mode2v3\n!default.mode2v3\n*.perspectivev3\n!default.perspectivev3\nxcuserdata/\n\n## Other\n*.moved-aside\n*.xccheckout\n*.xcscmblueprint\n\n## Obj-C/Swift specific\n*.hmap\n*.ipa\n*.dSYM.zip\n*.dSYM\n\n# CocoaPods\n#\n# We recommend against adding the Pods directory to your .gitignore. However\n# you should judge for yourself, the pros and cons are mentioned at:\n# https://guides.cocoapods.org/using/using-cocoapods.html#should-i-check-the-pods-directory-into-source-control\n#\n# Pods/\n\n# Carthage\n#\n# Add this line if you want to avoid checking in source code from Carthage dependencies.\n# Carthage/Checkouts\n\nCarthage/Build\n\n# fastlane\n#\n# It is recommended to not store the screenshots in the git repo. Instead, use fastlane to re-generate the\n# screenshots whenever they are needed.\n# For more information about the recommended setup visit:\n# https://docs.fastlane.tools/best-practices/source-control/#source-control\n\nfastlane/report.xml\nfastlane/Preview.html\nfastlane/screenshots/**/*.png\nfastlane/test_output\n\n# Code Injection\n#\n# After new code Injection tools there's a generated folder /iOSInjectionProject\n# https://github.com/johnno1962/injectionforxcode\n\niOSInjectionProject/\n"
  },
  {
    "path": "CKMeiTuanShopView/CKMeiTuanShopView/AppDelegate/AppDelegate.h",
    "content": "//\n//  AppDelegate.h\n//  CKMeiTuanShopView\n//\n//  Created by 池康 on 2018/7/31.\n//  Copyright © 2018年 CK. All rights reserved.\n//\n\n#import <UIKit/UIKit.h>\n\n@interface AppDelegate : UIResponder <UIApplicationDelegate>\n\n@property (strong, nonatomic) UIWindow *window;\n\n\n@end\n\n"
  },
  {
    "path": "CKMeiTuanShopView/CKMeiTuanShopView/AppDelegate/AppDelegate.m",
    "content": "//\n//  AppDelegate.m\n//  CKMeiTuanShopView\n//\n//  Created by 池康 on 2018/7/31.\n//  Copyright © 2018年 CK. All rights reserved.\n//\n\n#import \"AppDelegate.h\"\n#import \"TakeawayShopMainVC.h\"\n@interface AppDelegate ()\n\n@end\n\n@implementation AppDelegate\n\n\n- (BOOL)application:(UIApplication *)application didFinishLaunchingWithOptions:(NSDictionary *)launchOptions {\n    self.window = [[UIWindow alloc] initWithFrame:[UIScreen mainScreen].bounds];\n    self.window.backgroundColor = [UIColor whiteColor];\n    TakeawayShopMainVC *takeawayVC = [[TakeawayShopMainVC alloc]init];\n    self.window.rootViewController = takeawayVC;\n    return YES;\n}\n\n\n- (void)applicationWillResignActive:(UIApplication *)application {\n    // Sent when the application is about to move from active to inactive state. This can occur for certain types of temporary interruptions (such as an incoming phone call or SMS message) or when the user quits the application and it begins the transition to the background state.\n    // Use this method to pause ongoing tasks, disable timers, and invalidate graphics rendering callbacks. Games should use this method to pause the game.\n}\n\n\n- (void)applicationDidEnterBackground:(UIApplication *)application {\n    // Use this method to release shared resources, save user data, invalidate timers, and store enough application state information to restore your application to its current state in case it is terminated later.\n    // If your application supports background execution, this method is called instead of applicationWillTerminate: when the user quits.\n}\n\n\n- (void)applicationWillEnterForeground:(UIApplication *)application {\n    // Called as part of the transition from the background to the active state; here you can undo many of the changes made on entering the background.\n}\n\n\n- (void)applicationDidBecomeActive:(UIApplication *)application {\n    // Restart any tasks that were paused (or not yet started) while the application was inactive. If the application was previously in the background, optionally refresh the user interface.\n}\n\n\n- (void)applicationWillTerminate:(UIApplication *)application {\n    // Called when the application is about to terminate. Save data if appropriate. See also applicationDidEnterBackground:.\n}\n\n\n@end\n"
  },
  {
    "path": "CKMeiTuanShopView/CKMeiTuanShopView/Category/NSDate+Utilities.h",
    "content": "\n#import <Foundation/Foundation.h>\n\n#define D_MINUTE\t60\n#define D_HOUR\t\t3600\n#define D_DAY\t\t86400\n#define D_WEEK\t\t604800\n#define D_YEAR\t\t31556926\n\n#define kNSDateUtilitiesFormatFullDateWithTime     @\"MMM d, yyyy h:mm a\"\n#define  kNSDateUtilitiesFormatFullDate             @\"MMM d, yyyy\"\n#define  kNSDateUtilitiesFormatShortDateWithTime    @\"MMM d h:mm a\"\n#define  kNSDateUtilitiesFormatShortDate            @\"MMM d\"\n#define  kNSDateUtilitiesFormatWeekday              @\"EEEE\"\n#define  kNSDateUtilitiesFormatWeekdayWithTime      @\"EEEE h:mm a\"\n#define  kNSDateUtilitiesFormatTime                 @\"HH:mm\"\n#define  kNSDateUtilitiesFormatTimeWithPrefix       @\"'at' h:mm a\"\n#define  kNSDateUtilitiesFormatSQLDate              @\"yyyy-MM-dd\"\n#define  kNSDateUtilitiesFormatSQLTime              @\"HH:mm:ss\"\n#define  kNSDateUtilitiesFormatSQLDateWithTime     @\"yyyy-MM-dd HH:mm:ss\"\n\n\n@interface NSDate (Utilities)\n\n+ (NSCalendar *) currentCalendar; // avoid bottlenecks\n\n/** 相对于现在，明天的日期 */\n+ (NSDate *) dateTomorrow;\n\n/** 获取今天的日期 yyyy-MM-dd **/\n+ (NSString *) dateTodayString;\n\n/** 获取明天的日期 yyyy-MM-dd **/\n+ (NSString *) dateTomorrowString;\n\n/***获取今天的日期,日期格式*/\n+ (NSString *) dateTodayStringWithFormatter:(NSString *)formatterString;\n/** 获取明天的日期 日期格式 **/\n+ (NSString *) dateTomorrowString:(NSString *)formatterString;\n/** 相对于现在，昨天的日期 */\n+ (NSDate *) dateYesterday;\n\n /** 相对于现在 days 天后的日期 */\n+ (NSDate *) dateWithDaysFromNow: (NSInteger) days;\n\n /** 相对于现在 days 天前的日期 */\n+ (NSDate *) dateWithDaysBeforeNow: (NSInteger) days;\n\n /** 相对于现在 dHours 小时后的日期 */\n+ (NSDate *) dateWithHoursFromNow: (NSInteger) dHours;\n\n /** 相对于现在 dHours 小时前的日期 */\n+ (NSDate *) dateWithHoursBeforeNow: (NSInteger) dHours;\n\n /** 相对于现在 dMinutes 分钟后的日期 */\n+ (NSDate *) dateWithMinutesFromNow: (NSInteger) dMinutes;\n\n /** 相对于现在 dMinutes 分钟前的日期 */\n+ (NSDate *) dateWithMinutesBeforeNow: (NSInteger) dMinutes;\n\n /** 获取两个日期之间的时间差(天) **/\n+ (NSInteger) getDayBetweenWithDateOne:(NSDate *) dateOne  withdateTwo: (NSDate *) dateTwo;\n\n/** 忽略时间对日期比较 */\n- (BOOL) isEqualToDateIgnoringTime: (NSDate *) aDate;\n\n// Short string utilities\n- (NSString *) stringWithDateStyle: (NSDateFormatterStyle) dateStyle timeStyle: (NSDateFormatterStyle) timeStyle;\n\n//日期格式转换\n- (NSString *) stringWithFormat: (NSString *) format;\n\n@property (nonatomic, readonly) NSString *shortString;\n\n@property (nonatomic, readonly) NSString *shortDateString;\n\n@property (nonatomic, readonly) NSString *shortTimeString;\n\n@property (nonatomic, readonly) NSString *mediumString;\n\n@property (nonatomic, readonly) NSString *mediumDateString;\n\n@property (nonatomic, readonly) NSString *mediumTimeString;\n\n@property (nonatomic, readonly) NSString *longString;\n\n@property (nonatomic, readonly) NSString *longDateString;\n\n@property (nonatomic, readonly) NSString *longTimeString;\n\n- (BOOL) isToday;\n- (BOOL) isTomorrow;\n- (BOOL) isYesterday;\n\n- (BOOL) isSameWeekAsDate: (NSDate *) aDate;\n- (BOOL) isThisWeek;\n- (BOOL) isNextWeek;\n- (BOOL) isLastWeek;\n\n- (BOOL) isSameMonthAsDate: (NSDate *) aDate;\n- (BOOL) isThisMonth;\n- (BOOL) isNextMonth;\n- (BOOL) isLastMonth;\n\n- (BOOL) isSameYearAsDate: (NSDate *) aDate;\n- (BOOL) isThisYear;\n- (BOOL) isNextYear;\n- (BOOL) isLastYear;\n\n- (BOOL) isEarlierThanDate: (NSDate *) aDate;\n- (BOOL) isLaterThanDate: (NSDate *) aDate;\n\n- (BOOL) isInFuture;\n- (BOOL) isInPast;\n\n// Date roles\n- (BOOL) isTypicallyWorkday;\n- (BOOL) isTypicallyWeekend;\n\n// Adjusting dates\n- (NSDate *) dateByAddingYears: (NSInteger) dYears;\n- (NSDate *) dateBySubtractingYears: (NSInteger) dYears;\n- (NSDate *) dateByAddingMonths: (NSInteger) dMonths;\n- (NSDate *) dateBySubtractingMonths: (NSInteger) dMonths;\n- (NSDate *) dateByAddingDays: (NSInteger) dDays;\n- (NSDate *) dateBySubtractingDays: (NSInteger) dDays;\n- (NSDate *) dateByAddingHours: (NSInteger) dHours;\n- (NSDate *) dateBySubtractingHours: (NSInteger) dHours;\n- (NSDate *) dateByAddingMinutes: (NSInteger) dMinutes;\n- (NSDate *) dateBySubtractingMinutes: (NSInteger) dMinutes;\n\n// Date extremes\n- (NSDate *) dateAtStartOfDay;\n- (NSDate *) dateAtEndOfDay;\n\n// Retrieving intervals\n- (NSInteger) minutesAfterDate: (NSDate *) aDate;\n- (NSInteger) minutesBeforeDate: (NSDate *) aDate;\n- (NSInteger) hoursAfterDate: (NSDate *) aDate;\n- (NSInteger) hoursBeforeDate: (NSDate *) aDate;\n- (NSInteger) daysAfterDate: (NSDate *) aDate;\n- (NSInteger) daysBeforeDate: (NSDate *) aDate;\n- (NSInteger)distanceInDaysToDate:(NSDate *)anotherDate;\n\n#pragma mark 时间分隔单位\n\n/** 接下来最近的小时 */\n@property (readonly) NSInteger nearestHour;\n\n/** 小时 */\n@property (readonly) NSInteger hour;\n\n/** 分钟 */\n@property (readonly) NSInteger minute;\n\n/** 秒钟 */\n@property (readonly) NSInteger seconds;\n\n/** 日期 */\n@property (readonly) NSInteger day;\n\n/** 月份 */\n@property (readonly) NSInteger month;\n\n/** 年份 */\n@property (readonly) NSInteger year;\n\n/** 当年的第几个星期 */\n@property (readonly) NSInteger week;\n\n/** 星期几 */\n@property (readonly) NSInteger weekday;\n\n/** 当月第几个星期 */\n@property (readonly) NSInteger nthWeekday; // e.g. 2nd Tuesday of the month == 2\n\n\n\n@end\n"
  },
  {
    "path": "CKMeiTuanShopView/CKMeiTuanShopView/Category/NSDate+Utilities.m",
    "content": "\n#import \"NSDate+Utilities.h\"\n\nstatic const unsigned componentFlags = (NSYearCalendarUnit| NSMonthCalendarUnit | NSDayCalendarUnit | NSWeekCalendarUnit |  NSHourCalendarUnit | NSMinuteCalendarUnit | NSSecondCalendarUnit | NSWeekdayCalendarUnit | NSWeekdayOrdinalCalendarUnit);\n\n@implementation NSDate (Utilities)\n\n+ (NSCalendar *) currentCalendar\n{\n    static NSCalendar *sharedCalendar = nil;\n    if (!sharedCalendar)\n        sharedCalendar = [NSCalendar autoupdatingCurrentCalendar];\n    return sharedCalendar;\n}\n\n#pragma mark - Relative Dates\n\n+ (NSDate *) dateWithDaysFromNow: (NSInteger) days\n{\n\treturn [[NSDate date] dateByAddingDays:days];\n}\n\n+ (NSDate *) dateWithDaysBeforeNow: (NSInteger) days\n{\n\treturn [[NSDate date] dateBySubtractingDays:days];\n}\n\n+ (NSDate *) dateTomorrow\n{\n\treturn [NSDate dateWithDaysFromNow:1];\n}\n\n+ (NSString *) dateTodayString\n{\n    NSDate *today = [NSDate dateWithDaysFromNow:0];\n    NSDateFormatter *formatter = [[NSDateFormatter alloc] init];\n    [formatter setDateFormat:@\"yyyy-MM-dd\"];\n    return  [formatter stringFromDate:today];\n}\n\n+ (NSString *) dateTomorrowString\n{\n    NSDate *today = [NSDate dateWithDaysFromNow:1];\n    NSDateFormatter *formatter = [[NSDateFormatter alloc] init];\n    [formatter setDateFormat:@\"yyyy-MM-dd\"];\n    return  [formatter stringFromDate:today];\n}\n\n+ (NSString *) dateTodayStringWithFormatter:(NSString *)formatterString\n{\n    NSDate *today = [NSDate dateWithDaysFromNow:0];\n    NSDateFormatter *formatter = [[NSDateFormatter alloc] init];\n    [formatter setDateFormat:formatterString];\n    return  [formatter stringFromDate:today];\n}\n+ (NSString *) dateTomorrowString:(NSString *)formatterString\n{\n    NSDate *today = [NSDate dateWithDaysFromNow:1];\n    NSDateFormatter *formatter = [[NSDateFormatter alloc] init];\n    [formatter setDateFormat:formatterString];\n    return  [formatter stringFromDate:today];\n}\n\n+ (NSDate *) dateYesterday\n{\n\treturn [NSDate dateWithDaysBeforeNow:1];\n}\n\n+ (NSDate *) dateWithHoursFromNow: (NSInteger) dHours\n{\n\tNSTimeInterval aTimeInterval = [[NSDate date] timeIntervalSinceReferenceDate] + D_HOUR * dHours;\n\tNSDate *newDate = [NSDate dateWithTimeIntervalSinceReferenceDate:aTimeInterval];\n\treturn newDate;\t\n}\n\n+ (NSDate *) dateWithHoursBeforeNow: (NSInteger) dHours\n{\n\tNSTimeInterval aTimeInterval = [[NSDate date] timeIntervalSinceReferenceDate] - D_HOUR * dHours;\n\tNSDate *newDate = [NSDate dateWithTimeIntervalSinceReferenceDate:aTimeInterval];\n\treturn newDate;\t\n}\n\n+ (NSDate *) dateWithMinutesFromNow: (NSInteger) dMinutes\n{\n\tNSTimeInterval aTimeInterval = [[NSDate date] timeIntervalSinceReferenceDate] + D_MINUTE * dMinutes;\n\tNSDate *newDate = [NSDate dateWithTimeIntervalSinceReferenceDate:aTimeInterval];\n\treturn newDate;\t\t\n}\n\n+ (NSDate *) dateWithMinutesBeforeNow: (NSInteger) dMinutes\n{\n\tNSTimeInterval aTimeInterval = [[NSDate date] timeIntervalSinceReferenceDate] - D_MINUTE * dMinutes;\n\tNSDate *newDate = [NSDate dateWithTimeIntervalSinceReferenceDate:aTimeInterval];\n   \treturn newDate;\n}\n\n+ (NSInteger) getDayBetweenWithDateOne:(NSDate *) dateOne  withdateTwo: (NSDate *) dateTwo\n{\n    if(dateOne && dateTwo){\n        \n        NSInteger timediff = (NSInteger)[dateTwo timeIntervalSince1970]-[dateOne timeIntervalSince1970];\n        NSInteger oneDaySecs = 24*3600;\n        \n        NSInteger day = timediff/oneDaySecs;\n        return day;\n    }\n    return 0;\n}\n\n#pragma mark - String Properties\n- (NSString *) stringWithFormat: (NSString *) format\n{\n    NSDateFormatter *formatter = [NSDateFormatter new];\n    formatter.dateFormat = format;\n    return [formatter stringFromDate:self];\n}\n\n- (NSString *) stringWithDateStyle: (NSDateFormatterStyle) dateStyle timeStyle: (NSDateFormatterStyle) timeStyle\n{\n    NSDateFormatter *formatter = [NSDateFormatter new];\n    formatter.dateStyle = dateStyle;\n    formatter.timeStyle = timeStyle;\n    return [formatter stringFromDate:self];\n}\n\n- (NSString *) shortString\n{\n    return [self stringWithDateStyle:NSDateFormatterShortStyle timeStyle:NSDateFormatterShortStyle];\n}\n\n- (NSString *) shortTimeString\n{\n    return [self stringWithDateStyle:NSDateFormatterNoStyle timeStyle:NSDateFormatterShortStyle];\n}\n\n- (NSString *) shortDateString\n{\n    return [self stringWithDateStyle:NSDateFormatterShortStyle timeStyle:NSDateFormatterNoStyle];\n}\n\n- (NSString *) mediumString\n{\n    return [self stringWithDateStyle:NSDateFormatterMediumStyle timeStyle:NSDateFormatterMediumStyle ];\n}\n\n- (NSString *) mediumTimeString\n{\n    return [self stringWithDateStyle:NSDateFormatterNoStyle timeStyle:NSDateFormatterMediumStyle ];\n}\n\n- (NSString *) mediumDateString\n{\n    return [self stringWithDateStyle:NSDateFormatterMediumStyle  timeStyle:NSDateFormatterNoStyle];\n}\n\n- (NSString *) longString\n{\n    return [self stringWithDateStyle:NSDateFormatterLongStyle timeStyle:NSDateFormatterLongStyle ];\n}\n\n- (NSString *) longTimeString\n{\n    return [self stringWithDateStyle:NSDateFormatterNoStyle timeStyle:NSDateFormatterLongStyle ];\n}\n\n- (NSString *) longDateString\n{\n    return [self stringWithDateStyle:NSDateFormatterLongStyle  timeStyle:NSDateFormatterNoStyle];\n}\n\n#pragma mark - Comparing Dates\n\n- (BOOL) isEqualToDateIgnoringTime: (NSDate *) aDate\n{\n\tNSDateComponents *components1 = [[NSDate currentCalendar] components:componentFlags fromDate:self];\n\tNSDateComponents *components2 = [[NSDate currentCalendar] components:componentFlags fromDate:aDate];\n\treturn ((components1.year == components2.year) &&\n\t\t\t(components1.month == components2.month) && \n\t\t\t(components1.day == components2.day));\n}\n\n- (BOOL) isToday\n{\n\treturn [self isEqualToDateIgnoringTime:[NSDate date]];\n}\n\n- (BOOL) isTomorrow\n{\n\treturn [self isEqualToDateIgnoringTime:[NSDate dateTomorrow]];\n}\n\n- (BOOL) isYesterday\n{\n\treturn [self isEqualToDateIgnoringTime:[NSDate dateYesterday]];\n}\n\n// This hard codes the assumption that a week is 7 days\n- (BOOL) isSameWeekAsDate: (NSDate *) aDate\n{\n\tNSDateComponents *components1 = [[NSDate currentCalendar] components:componentFlags fromDate:self];\n\tNSDateComponents *components2 = [[NSDate currentCalendar] components:componentFlags fromDate:aDate];\n\t\n\t// Must be same week. 12/31 and 1/1 will both be week \"1\" if they are in the same week\n\tif (components1.week != components2.week) return NO;\n\t\n\t// Must have a time interval under 1 week.\n\treturn (fabs([self timeIntervalSinceDate:aDate]) < D_WEEK);\n}\n\n- (BOOL) isThisWeek\n{\n\treturn [self isSameWeekAsDate:[NSDate date]];\n}\n\n- (BOOL) isNextWeek\n{\n\tNSTimeInterval aTimeInterval = [[NSDate date] timeIntervalSinceReferenceDate] + D_WEEK;\n\tNSDate *newDate = [NSDate dateWithTimeIntervalSinceReferenceDate:aTimeInterval];\n\treturn [self isSameWeekAsDate:newDate];\n}\n\n- (BOOL) isLastWeek\n{\n\tNSTimeInterval aTimeInterval = [[NSDate date] timeIntervalSinceReferenceDate] - D_WEEK;\n\tNSDate *newDate = [NSDate dateWithTimeIntervalSinceReferenceDate:aTimeInterval];\n\treturn [self isSameWeekAsDate:newDate];\n}\n\n- (BOOL) isSameMonthAsDate: (NSDate *) aDate\n{\n    NSDateComponents *components1 = [[NSDate currentCalendar] components:NSYearCalendarUnit | NSMonthCalendarUnit fromDate:self];\n    NSDateComponents *components2 = [[NSDate currentCalendar] components:NSYearCalendarUnit | NSMonthCalendarUnit fromDate:aDate];\n    return ((components1.month == components2.month) &&\n            (components1.year == components2.year));\n}\n\n- (BOOL) isThisMonth\n{\n    return [self isSameMonthAsDate:[NSDate date]];\n}\n\n- (BOOL) isLastMonth\n{\n    return [self isSameMonthAsDate:[[NSDate date] dateBySubtractingMonths:1]];\n}\n\n- (BOOL) isNextMonth\n{\n    return [self isSameMonthAsDate:[[NSDate date] dateByAddingMonths:1]];\n}\n\n- (BOOL) isSameYearAsDate: (NSDate *) aDate\n{\n\tNSDateComponents *components1 = [[NSDate currentCalendar] components:NSYearCalendarUnit fromDate:self];\n\tNSDateComponents *components2 = [[NSDate currentCalendar] components:NSYearCalendarUnit fromDate:aDate];\n\treturn (components1.year == components2.year);\n}\n\n- (BOOL) isThisYear\n{\n\treturn [self isSameYearAsDate:[NSDate date]];\n}\n\n- (BOOL) isNextYear\n{\n\tNSDateComponents *components1 = [[NSDate currentCalendar] components:NSYearCalendarUnit fromDate:self];\n\tNSDateComponents *components2 = [[NSDate currentCalendar] components:NSYearCalendarUnit fromDate:[NSDate date]];\n\t\n\treturn (components1.year == (components2.year + 1));\n}\n\n- (BOOL) isLastYear\n{\n\tNSDateComponents *components1 = [[NSDate currentCalendar] components:NSYearCalendarUnit fromDate:self];\n\tNSDateComponents *components2 = [[NSDate currentCalendar] components:NSYearCalendarUnit fromDate:[NSDate date]];\n\t\n\treturn (components1.year == (components2.year - 1));\n}\n\n- (BOOL) isEarlierThanDate: (NSDate *) aDate\n{\n\treturn ([self compare:aDate] == NSOrderedAscending);\n}\n\n- (BOOL) isLaterThanDate: (NSDate *) aDate\n{\n\treturn ([self compare:aDate] == NSOrderedDescending);\n}\n\n- (BOOL) isInFuture\n{\n    return ([self isLaterThanDate:[NSDate date]]);\n}\n\n- (BOOL) isInPast\n{\n    return ([self isEarlierThanDate:[NSDate date]]);\n}\n\n\n#pragma mark - Roles\n- (BOOL) isTypicallyWeekend\n{\n    NSDateComponents *components = [[NSDate currentCalendar] components:NSWeekdayCalendarUnit fromDate:self];\n    if ((components.weekday == 1) ||\n        (components.weekday == 7))\n        return YES;\n    return NO;\n}\n\n- (BOOL) isTypicallyWorkday\n{\n    return ![self isTypicallyWeekend];\n}\n\n#pragma mark - Adjusting Dates\n\n- (NSDate *) dateByAddingYears: (NSInteger) dYears\n{\n    NSDateComponents *dateComponents = [[NSDateComponents alloc] init];\n    [dateComponents setYear:dYears];\n    NSDate *newDate = [[NSCalendar currentCalendar] dateByAddingComponents:dateComponents toDate:self options:0];\n    return newDate;\n}\n\n- (NSDate *) dateBySubtractingYears: (NSInteger) dYears\n{\n    return [self dateByAddingYears:-dYears];\n}\n\n- (NSDate *) dateByAddingMonths: (NSInteger) dMonths\n{\n    NSDateComponents *dateComponents = [[NSDateComponents alloc] init];\n    [dateComponents setMonth:dMonths];\n    NSDate *newDate = [[NSCalendar currentCalendar] dateByAddingComponents:dateComponents toDate:self options:0];\n    return newDate;\n}\n\n- (NSDate *) dateBySubtractingMonths: (NSInteger) dMonths\n{\n    return [self dateByAddingMonths:-dMonths];\n}\n\n// Courtesy of dedan who mentions issues with Daylight Savings\n- (NSDate *) dateByAddingDays: (NSInteger) dDays\n{\n    NSDateComponents *dateComponents = [[NSDateComponents alloc] init];\n    [dateComponents setDay:dDays];\n    NSDate *newDate = [[NSCalendar currentCalendar] dateByAddingComponents:dateComponents toDate:self options:0];\n    return newDate;\n}\n\n- (NSDate *) dateBySubtractingDays: (NSInteger) dDays\n{\n\treturn [self dateByAddingDays: (dDays * -1)];\n}\n\n- (NSDate *) dateByAddingHours: (NSInteger) dHours\n{\n\tNSTimeInterval aTimeInterval = [self timeIntervalSinceReferenceDate] + D_HOUR * dHours;\n\tNSDate *newDate = [NSDate dateWithTimeIntervalSinceReferenceDate:aTimeInterval];\n\treturn newDate;\t\t\n}\n\n- (NSDate *) dateBySubtractingHours: (NSInteger) dHours\n{\n\treturn [self dateByAddingHours: (dHours * -1)];\n}\n\n- (NSDate *) dateByAddingMinutes: (NSInteger) dMinutes\n{\n\tNSTimeInterval aTimeInterval = [self timeIntervalSinceReferenceDate] + D_MINUTE * dMinutes;\n\tNSDate *newDate = [NSDate dateWithTimeIntervalSinceReferenceDate:aTimeInterval];\n\treturn newDate;\t\t\t\n}\n\n- (NSDate *) dateBySubtractingMinutes: (NSInteger) dMinutes\n{\n\treturn [self dateByAddingMinutes: (dMinutes * -1)];\n}\n\n- (NSDateComponents *) componentsWithOffsetFromDate: (NSDate *) aDate\n{\n\tNSDateComponents *dTime = [[NSDate currentCalendar] components:componentFlags fromDate:aDate toDate:self options:0];\n\treturn dTime;\n}\n\n#pragma mark - Extremes\n\n- (NSDate *) dateAtStartOfDay\n{\n\tNSDateComponents *components = [[NSDate currentCalendar] components:componentFlags fromDate:self];\n\tcomponents.hour = 0;\n\tcomponents.minute = 0;\n\tcomponents.second = 0;\n\treturn [[NSDate currentCalendar] dateFromComponents:components];\n}\n\n// Thanks gsempe & mteece\n- (NSDate *) dateAtEndOfDay\n{\n\tNSDateComponents *components = [[NSDate currentCalendar] components:componentFlags fromDate:self];\n\tcomponents.hour = 23; // Thanks Aleksey Kononov\n\tcomponents.minute = 59;\n\tcomponents.second = 59;\n\treturn [[NSDate currentCalendar] dateFromComponents:components];\n}\n\n#pragma mark - Retrieving Intervals\n\n- (NSInteger) minutesAfterDate: (NSDate *) aDate\n{\n\tNSTimeInterval ti = [self timeIntervalSinceDate:aDate];\n\treturn (NSInteger) (ti / D_MINUTE);\n}\n\n- (NSInteger) minutesBeforeDate: (NSDate *) aDate\n{\n\tNSTimeInterval ti = [aDate timeIntervalSinceDate:self];\n\treturn (NSInteger) (ti / D_MINUTE);\n}\n\n- (NSInteger) hoursAfterDate: (NSDate *) aDate\n{\n\tNSTimeInterval ti = [self timeIntervalSinceDate:aDate];\n\treturn (NSInteger) (ti / D_HOUR);\n}\n\n- (NSInteger) hoursBeforeDate: (NSDate *) aDate\n{\n\tNSTimeInterval ti = [aDate timeIntervalSinceDate:self];\n\treturn (NSInteger) (ti / D_HOUR);\n}\n\n- (NSInteger) daysAfterDate: (NSDate *) aDate\n{\n\tNSTimeInterval ti = [self timeIntervalSinceDate:aDate];\n\treturn (NSInteger) (ti / D_DAY);\n}\n\n- (NSInteger) daysBeforeDate: (NSDate *) aDate\n{\n\tNSTimeInterval ti = [aDate timeIntervalSinceDate:self];\n\treturn (NSInteger) (ti / D_DAY);\n}\n\n// Thanks, dmitrydims\n// I have not yet thoroughly tested this\n- (NSInteger)distanceInDaysToDate:(NSDate *)anotherDate\n{\n    NSCalendar *gregorianCalendar = [[NSCalendar alloc] initWithCalendarIdentifier:NSGregorianCalendar];\n    NSDateComponents *components = [gregorianCalendar components:NSDayCalendarUnit fromDate:self toDate:anotherDate options:0];\n    return components.day;\n}\n\n#pragma mark - Decomposing Dates\n\n- (NSInteger) nearestHour\n{\n\tNSTimeInterval aTimeInterval = [[NSDate date] timeIntervalSinceReferenceDate] + D_MINUTE * 30;\n\tNSDate *newDate = [NSDate dateWithTimeIntervalSinceReferenceDate:aTimeInterval];\n\tNSDateComponents *components = [[NSDate currentCalendar] components:NSHourCalendarUnit fromDate:newDate];\n\treturn components.hour;\n}\n\n- (NSInteger) hour\n{\n\tNSDateComponents *components = [[NSDate currentCalendar] components:componentFlags fromDate:self];\n\treturn components.hour;\n}\n\n- (NSInteger) minute\n{\n\tNSDateComponents *components = [[NSDate currentCalendar] components:componentFlags fromDate:self];\n\treturn components.minute;\n}\n\n- (NSInteger) seconds\n{\n\tNSDateComponents *components = [[NSDate currentCalendar] components:componentFlags fromDate:self];\n\treturn components.second;\n}\n\n- (NSInteger) day\n{\n\tNSDateComponents *components = [[NSDate currentCalendar] components:componentFlags fromDate:self];\n\treturn components.day;\n}\n\n- (NSInteger) month\n{\n\tNSDateComponents *components = [[NSDate currentCalendar] components:componentFlags fromDate:self];\n\treturn components.month;\n}\n\n- (NSInteger) week\n{\n\tNSDateComponents *components = [[NSDate currentCalendar] components:componentFlags fromDate:self];\n\treturn components.week;\n}\n\n- (NSInteger) weekday\n{\n\tNSDateComponents *components = [[NSDate currentCalendar] components:componentFlags fromDate:self];\n\treturn components.weekday;\n}\n\n- (NSInteger) nthWeekday // e.g. 2nd Tuesday of the month is 2\n{\n\tNSDateComponents *components = [[NSDate currentCalendar] components:componentFlags fromDate:self];\n\treturn components.weekdayOrdinal;\n}\n\n- (NSInteger) year\n{\n\tNSDateComponents *components = [[NSDate currentCalendar] components:componentFlags fromDate:self];\n\treturn components.year;\n}\n\n@end\n"
  },
  {
    "path": "CKMeiTuanShopView/CKMeiTuanShopView/Category/NSString+Extension.h",
    "content": "//\n//  NSString+Extension.h\n//  汇银\n//\n//  Created by 李小斌 on 14-11-27.\n//  Copyright (c) 2014年 7ien. All rights reserved.\n//\n\n#import <Foundation/Foundation.h>\n\n@interface NSString (Extension)\n\n+(NSString *) priceWithSign:(CGFloat)value;\n\n+(NSString *) priceWithoutSign:(CGFloat)value;\n\n+(NSString *)stringUtils:(id)stringValue;\n\n+(NSString *)jsonUtils:(id)stringValue;\n\n+(NSString *)jsonUtils22:(id)stringValue;\n\n/*\n * 判断字符串是否为空白的\n */\n- (BOOL)isBlank;\n\n/*\n * 判断字符串是否为空\n */\n- (BOOL)isEmpty;\n\n+ (BOOL)isEmpty:(id)stringValue;\n\n- (BOOL)isNULL;\n\n// 把手机号第4-7位变成星号\n+(NSString *)phoneNumToAsterisk:(NSString*)phoneNum;\n\n// 把邮箱@前面变成星号\n+(NSString*)emailToAsterisk:(NSString *)email;\n\n// 把身份证号第5-14位变成星号\n+(NSString *)idCardToAsterisk:(NSString *)idCardNum;\n\n// 判断是否是身份证号码\n+(BOOL)validateIdCard:(NSString *)idCard;\n\n// 邮箱验证\n+(BOOL)validateEmail:(NSString *)email;\n\n//判断字符串中是否含有表情\n+ (BOOL)stringContainsEmoji:(NSString *)string;\n\n//    Vindor标示符 (IDFV-identifierForVendor)\n+ (NSString *)returnIdfv;\n\n// 手机号码验证\n+(BOOL)validateMobile:(NSString *)mobile;\n\n//固话验证\n+ (BOOL) validateAreaTel:(NSString *)areaTel;\n\n//获取拼音首字母(传入汉字字符串, 返回大写拼音首字母)\n+ (NSString *)firstCharactor:(NSString *)aString;\n\n//将URL内的中文进行编码\n+ (NSString *)URLEncodedString:(NSString *)urlString;\n\n//字典转换成字符串\n+(NSString *) jsonStringWithDictionary:(NSDictionary *)dictionary;\n\n//字符串转成字典\n+ (NSDictionary *)dicWithString:(NSString *)string;\n\n//数组转换成字符串\n+(NSString *) jsonStringWithArray:(NSArray *)array;\n\n//json字符串转换成普通字符串\n//+(NSString *) jsonStringWithString:(NSString *) string;\n\n//json对象转换成字符串\n+(NSString *) jsonStringWithObject:(id) object;\n\n//重写containsString方法，兼容8.0以下版本\n- (BOOL)containsString:(NSString *)aString NS_AVAILABLE(10_10, 8_0);\n\n//通过文本宽度计算高度\n-(CGSize) calculateSize:(UIFont *)font maxWidth:(CGFloat)width;\n\n/*获取网络流量信息*/\n+ (long long) getInterfaceBytes;\n/**过滤表情*/\n+ (NSString *)disable_emoji:(NSString *)text;\n\n/**获取缓存大小*/\n+ (NSString *)getCacheSize;\n\n//根据正则，过滤特殊字符\n+ (NSString *)filterCharactor:(NSString *)string withRegex:(NSString *)regexStr;\n\n//有效数字\n- (BOOL)yw_isValidateDecimalsNum;\\\n/// 获取字符串宽高\n- (CGSize)sizeWithFont:(UIFont *)font maxSize:(CGSize)maxSize;\n\n/**\n 设置行间距\n \n @param label 需要设置行间距的label\n @param textStr 需要设置行间距的文本\n @param font 字体大小\n @param lineSpacing 间距\n */\n+(void)setLabelSpaceWithLabel:(UILabel*)label withTextStr:(NSString*)textStr withFont:(UIFont*)font withLineSpacing:(NSInteger)lineSpacing;\n\n/**\n 计算UILabel的高度(带有行间距的情况跟上面设置行间距方法同时使用才有效)\n \n @param textStr label的文本\n @param font 字体\n @param width 文本宽度\n @param lineSpacing 有行间距的label传入实际行间距 没有默认为0\n @return label实际的高度\n */\n+(CGFloat)getSpaceLabelHeightWithText:(NSString*)textStr withFont:(UIFont*)font withWidth:(CGFloat)width withLineSpacing:(NSInteger)lineSpacing;\n\n\n@end\n"
  },
  {
    "path": "CKMeiTuanShopView/CKMeiTuanShopView/Category/NSString+Extension.m",
    "content": "//\n//  NSString+Extension.m\n//  汇银\n//\n//  Created by 李小斌 on 14-11-27.\n//  Copyright (c) 2014年 7ien. All rights reserved.\n//\n\n#import \"NSString+Extension.h\"\n#include <ifaddrs.h>\n\n#include <arpa/inet.h>\n\n#include <net/if.h>\n\n@implementation NSString (Extension)\n\n\n+(NSString *) priceWithSign:(CGFloat)value\n{\n    return [NSString stringWithFormat:@\"￥%.2f\", value];\n}\n\n+(NSString *) priceWithoutSign:(CGFloat)value\n{\n    return [NSString stringWithFormat:@\"%0.2f\", value];\n}\n\n+(NSString *)jsonUtils:(id)stringValue\n{\n    NSString *string = [NSString stringWithFormat:@\"%@\", stringValue];\n    \n    if([string isEqualToString:@\"<null>\"])\n    {\n        string = @\"\";\n    }\n    \n    if(string == nil)\n    {\n        string = @\"\";\n    }\n    \n    if([string isEqualToString:@\"(null)\"])\n    {\n        string = @\"\";\n    }\n    if([string isEqualToString:@\"<null>\"])\n    {\n        string = @\"\";\n    }\n    \n    if([string isEqualToString:@\"\"])\n    {\n        string = @\"\";\n    }\n    \n    if(string.length == 0)\n    {\n        string = @\"\";\n    }\n    \n    return string;\n}\n\n+(NSString *)jsonUtils22:(id)stringValue\n{\n    NSString *string = [NSString stringWithFormat:@\"%@\", stringValue];\n    \n    if([string isEqualToString:@\"<null>\"])\n    {\n        string = @\"0\";\n    }\n    \n    if(string == nil)\n    {\n        string = @\"0\";\n    }\n    \n    if([string isEqualToString:@\"(null)\"])\n    {\n        string = @\"0\";\n    }\n    \n    if([string isEqualToString:@\"\"])\n    {\n        string = @\"0\";\n    }\n    \n    if(string.length == 0)\n    {\n        string = @\"0\";\n    }\n    \n    return string;\n}\n\n\n\n+(NSString *)stringUtils:(id)stringValue\n{\n    NSString *string = [NSString stringWithFormat:@\"%@\", stringValue];\n    \n    if([string isEqualToString:@\"<null>\"])\n    {\n        string = @\"\";\n    }\n    \n    if(string == nil)\n    {\n        string = @\"\";\n    }\n    \n    if([string isEqualToString:@\"(null)\"])\n    {\n        string = @\"\";\n    }\n    \n    if(string.length == 0)\n    {\n        string = @\"\";\n    }\n    \n    return string;\n}\n\n/*\n * 判断字符串是否为空白的\n */\n- (BOOL)isBlank\n{\n    if ((self == nil) || (self.length == 0)) {\n        return YES;\n    }\n    \n    NSString *trimedString = [self stringByTrimmingCharactersInSet:[NSCharacterSet whitespaceAndNewlineCharacterSet]];\n    if ([trimedString length] == 0) {\n        return YES;\n    } else {\n        return NO;\n    }\n    \n    return YES;\n}\n\n/*\n * 判断字符串是否为空\n */\n- (BOOL)isEmpty\n{\n    \n    return (([self isKindOfClass:[NSNull class]])  || [self isEqual:[NSNull null]]||(self.length == 0) || (self == nil)|| ([self isEqualToString:@\"(null)\"]) || ([self isEqualToString:@\"<null>\"]));\n}\n\n\n + (BOOL)isEmpty:(id)stringValue\n {\n     NSString *string = [NSString stringWithFormat:@\"%@\", stringValue];\n     return (([string isKindOfClass:[NSNull class]])  || [string isEqual:[NSNull null]]||(string.length == 0) || (string == nil)|| ([string isEqualToString:@\"(null)\"]) || ([string isEqualToString:@\"<null>\"]) || ([[string stringByTrimmingCharactersInSet:[NSCharacterSet whitespaceCharacterSet]] isEqualToString:@\"\"]));\n }\n\n- (BOOL)isNULL\n{\n    return [self isKindOfClass:[NSNull class]] || [self isEqual:[NSNull null]];\n}\n\n\n// 把手机号第4-7位变成星号\n+(NSString *)phoneNumToAsterisk:(NSString*)phoneNum\n{\n    if (phoneNum.length>=7) {\n        return [phoneNum stringByReplacingCharactersInRange:NSMakeRange(3,4) withString:@\"****\"];\n    }\n    return phoneNum;\n}\n\n// 把邮箱@前面变成星号\n+(NSString*)emailToAsterisk:(NSString *)email\n{\n    NSArray *arr = [email componentsSeparatedByString:@\"@\"];\n    NSString *str = [arr objectAtIndex:0];\n    return [email stringByReplacingCharactersInRange:NSMakeRange(str.length, email.length-str.length) withString:@\"****\"];\n}\n\n// 把身份证号第11-14位变成星号\n+(NSString*)idCardToAsterisk:(NSString *)idCardNum\n{\n    return [idCardNum stringByReplacingCharactersInRange:NSMakeRange(10, 4) withString:@\"****\"];\n}\n\n//邮箱验证\n+ (BOOL) validateEmail:(NSString *)email\n{//564826150@qq.com\n    NSString *emailRegex = @\"[A-Z0-9a-z._%+-]+@[A-Za-z0-9.-]+\\\\.[A-Za-z]{2,4}\";\n    NSPredicate *emailTest = [NSPredicate predicateWithFormat:@\"SELF MATCHES %@\", emailRegex];\n    return [emailTest evaluateWithObject:email];\n}\n\n//判断字符串中是否含有表情-------系统键盘有问题\n+ (BOOL)stringContainsEmoji:(NSString *)string{\n    __block BOOL returnValue = NO;\n    \n    [string enumerateSubstringsInRange:NSMakeRange(0, [string length])\n                               options:NSStringEnumerationByComposedCharacterSequences\n                            usingBlock:^(NSString *substring, NSRange substringRange, NSRange enclosingRange, BOOL *stop) {\n                                const unichar hs = [substring characterAtIndex:0];\n                                if (0xd800 <= hs && hs <= 0xdbff) {\n                                    if (substring.length > 1) {\n                                        const unichar ls = [substring characterAtIndex:1];\n                                        const int uc = ((hs - 0xd800) * 0x400) + (ls - 0xdc00) + 0x10000;\n                                        if (0x1d000 <= uc && uc <= 0x1f77f) {\n                                            returnValue = YES;\n                                        }\n                                    }\n                                } else if (substring.length > 1) {\n                                    const unichar ls = [substring characterAtIndex:1];\n                                    if (ls == 0x20e3) {\n                                        returnValue = YES;\n                                    }\n                                } else {\n                                    if (0x2100 <= hs && hs <= 0x27ff) {\n                                        returnValue = YES;\n                                    } else if (0x2B05 <= hs && hs <= 0x2b07) {\n                                        returnValue = YES;\n                                    } else if (0x2934 <= hs && hs <= 0x2935) {\n                                        returnValue = YES;\n                                    } else if (0x3297 <= hs && hs <= 0x3299) {\n                                        returnValue = YES;\n                                    } else if (hs == 0xa9 || hs == 0xae || hs == 0x303d || hs == 0x3030 || hs == 0x2b55 || hs == 0x2b1c || hs == 0x2b1b || hs == 0x2b50) {\n                                        returnValue = YES;\n                                    }\n                                }\n                            }];\n    \n    return returnValue;\n}\n//    Vindor标示符 (IDFV-identifierForVendor)\n+ (NSString *)returnIdfv\n{\n    NSString *idfv = [[[UIDevice currentDevice] identifierForVendor] UUIDString];\n//    EXLog(@\"idfv...%@\",idfv);\n    return idfv;\n}\n//手机号码验证\n+ (BOOL) validateMobile:(NSString *)mobile\n{\n    //手机号以13， 15，18开头，八个 \\d 数字字符\n    NSString *phoneRegex = @\"^((13[0-9])|(14[0-9])|(15[^4,\\\\D])|(16[0-9])|(17[0-9])|(18[0,0-9]|(19[0-9])))\\\\d{8}$\";\n    NSPredicate *phoneTest = [NSPredicate predicateWithFormat:@\"SELF MATCHES %@\",phoneRegex];\n    return [phoneTest evaluateWithObject:mobile];\n/*\n \n NSString *phoneRegex = @\"^((13[0-9])|(14[0-9])|(15[0-9])|(17[0-9])|(18[0-9]))(\\\\d{8})$\";\n\tNSPredicate *regextesPhone = [NSPredicate predicateWithFormat:@\"SELF MATCHES %@\",phoneRegex];\n\tif ([regextesPhone evaluateWithObject:self] == YES)\n\t{\n return YES;\n\t}\n\telse\n\t{\n return NO;\n\t}\n */\n}\n\n//固话验证\n+ (BOOL) validateAreaTel:(NSString *)areaTel;\n{\n    NSString *phoneRegex = @\"^((0\\\\d{2,3})-)(\\\\d{7,8})(-(\\\\d{3,}))?$\";\n    NSPredicate *phoneTest = [NSPredicate predicateWithFormat:@\"SELF MATCHES %@\",phoneRegex];\n    return [phoneTest evaluateWithObject:areaTel];\n    \n}\n\n//获取拼音首字母(传入汉字字符串, 返回大写拼音首字母)\n+ (NSString *)firstCharactor:(NSString *)aString\n{\n    //转成了可变字符串\n    NSMutableString *str = [NSMutableString stringWithString:aString];\n    //先转换为带声调的拼音\n    CFStringTransform((CFMutableStringRef)str,NULL, kCFStringTransformMandarinLatin,NO);\n    //再转换为不带声调的拼音\n    CFStringTransform((CFMutableStringRef)str,NULL, kCFStringTransformStripDiacritics,NO);\n    //转化为大写拼音\n    NSString *pinYin = [str capitalizedString];\n    //获取并返回首字母\n    return [pinYin substringToIndex:1];\n}\n\n/**\n * 功能:获取指定范围的字符串\n *\n * 参数:字符串的开始下标\n *\n * 参数:字符串的结束下标\n */\n+(NSString *)getStringWithRange:(NSString *)str Value1:(NSInteger)value1 Value2:(NSInteger)value2;\n{\n    return [str substringWithRange:NSMakeRange(value1,value2)];\n}\n\n/**\n * 功能:判断是否在地区码内\n *\n * 参数:地区码\n */\n+(BOOL)areaCode:(NSString *)code\n{\n    NSMutableDictionary *dic = [[NSMutableDictionary alloc] init];\n    [dic setObject:@\"北京\" forKey:@\"11\"];\n    [dic setObject:@\"天津\" forKey:@\"12\"];\n    [dic setObject:@\"河北\" forKey:@\"13\"];\n    [dic setObject:@\"山西\" forKey:@\"14\"];\n    [dic setObject:@\"内蒙古\" forKey:@\"15\"];\n    [dic setObject:@\"辽宁\" forKey:@\"21\"];\n    [dic setObject:@\"吉林\" forKey:@\"22\"];\n    [dic setObject:@\"黑龙江\" forKey:@\"23\"];\n    [dic setObject:@\"上海\" forKey:@\"31\"];\n    [dic setObject:@\"江苏\" forKey:@\"32\"];\n    [dic setObject:@\"浙江\" forKey:@\"33\"];\n    [dic setObject:@\"安徽\" forKey:@\"34\"];\n    [dic setObject:@\"福建\" forKey:@\"35\"];\n    [dic setObject:@\"江西\" forKey:@\"36\"];\n    [dic setObject:@\"山东\" forKey:@\"37\"];\n    [dic setObject:@\"河南\" forKey:@\"41\"];\n    [dic setObject:@\"湖北\" forKey:@\"42\"];\n    [dic setObject:@\"湖南\" forKey:@\"43\"];\n    [dic setObject:@\"广东\" forKey:@\"44\"];\n    [dic setObject:@\"广西\" forKey:@\"45\"];\n    [dic setObject:@\"海南\" forKey:@\"46\"];\n    [dic setObject:@\"重庆\" forKey:@\"50\"];\n    [dic setObject:@\"四川\" forKey:@\"51\"];\n    [dic setObject:@\"贵州\" forKey:@\"52\"];\n    [dic setObject:@\"云南\" forKey:@\"53\"];\n    [dic setObject:@\"西藏\" forKey:@\"54\"];\n    [dic setObject:@\"陕西\" forKey:@\"61\"];\n    [dic setObject:@\"甘肃\" forKey:@\"62\"];\n    [dic setObject:@\"青海\" forKey:@\"63\"];\n    [dic setObject:@\"宁夏\" forKey:@\"64\"];\n    [dic setObject:@\"新疆\" forKey:@\"65\"];\n    [dic setObject:@\"台湾\" forKey:@\"71\"];\n    [dic setObject:@\"香港\" forKey:@\"81\"];\n    [dic setObject:@\"澳门\" forKey:@\"82\"];\n    [dic setObject:@\"国外\" forKey:@\"91\"];\n    \n    if ([dic objectForKey:code] == nil) {\n        return NO;\n    }\n    return YES;\n}\n\n/**\n * 功能:验证身份证是否合法\n *\n * 参数:输入的身份证号\n */\n+(BOOL)validateIdCard:(NSString *)idCard\n{\n    //判断位数\n    if ([idCard length] < 15 ||[idCard length] > 18) {\n        return NO;\n    }\n    \n    NSString *carid = idCard;\n    long lSumQT =0;\n    //加权因子\n    int R[] ={7, 9, 10, 5, 8, 4, 2, 1, 6, 3, 7, 9, 10, 5, 8, 4, 2 };\n    //校验码\n    unsigned char sChecker[11]={'1','0','X', '9', '8', '7', '6', '5', '4', '3', '2'};\n    \n    //将15位身份证号转换成18位\n    \n    NSMutableString *mString = [NSMutableString stringWithString:idCard];\n    if ([idCard length] == 15) {\n        [mString insertString:@\"19\" atIndex:6];\n        \n        long p = 0;\n        const char *pid = [mString UTF8String];\n        for (int i=0; i<=16; i++)\n        {\n            p += (pid[i]-48) * R[i];\n        }\n        \n        int o = p%11;\n        NSString *string_content = [NSString stringWithFormat:@\"%c\",sChecker[o]];\n        [mString insertString:string_content atIndex:[mString length]];\n        carid = mString;\n    }\n    \n    //判断地区码\n    NSString * sProvince = [carid substringToIndex:2];\n    \n    if (![self areaCode:sProvince]) {\n        return NO;\n    }\n    \n    //判断年月日是否有效\n    \n    //年份\n    int strYear = [[self getStringWithRange:carid Value1:6 Value2:4] intValue];\n    //月份\n    int strMonth = [[self getStringWithRange:carid Value1:10 Value2:2] intValue];\n    //日\n    int strDay = [[self getStringWithRange:carid Value1:12 Value2:2] intValue];\n    \n    NSTimeZone *localZone = [NSTimeZone localTimeZone];\n    NSDateFormatter *dateFormatter = [[NSDateFormatter alloc] init];\n    [dateFormatter setDateStyle:NSDateFormatterMediumStyle];\n    [dateFormatter setTimeStyle:NSDateFormatterNoStyle];\n    [dateFormatter setTimeZone:localZone];\n    [dateFormatter setDateFormat:@\"yyyy-MM-dd HH:mm:ss\"];\n    NSDate *date=[dateFormatter dateFromString:[NSString stringWithFormat:@\"%d-%d-%d 12:01:01\",strYear,strMonth,strDay]];\n    \n    if (date == nil) {\n        return NO;\n    }\n    \n    const char *PaperId  = [carid UTF8String];\n    \n    //检验长度\n    if( 18 != strlen(PaperId)) return -1;\n    //校验数字\n    for (int i=0; i<18; i++)\n    {\n        if ( !isdigit(PaperId[i]) && !(('X' == PaperId[i] || 'x' == PaperId[i]) && 17 == i) )\n        {\n            return NO;\n        }\n    }\n    //验证最末的校验码\n    for (int i=0; i<=16; i++)\n    {\n        lSumQT += (PaperId[i]-48) * R[i];\n    }\n    if (sChecker[lSumQT%11] != PaperId[17] )\n    {\n        return NO;\n    }\n    \n    return YES;\n}\n\n//通过文本宽度计算高度\n-(CGSize) calculateSize:(UIFont *)font maxWidth:(CGFloat)width\n{\n    CGSize size = CGSizeMake(width,1000);\n    \n    NSMutableParagraphStyle *paragraphStyle = [[NSMutableParagraphStyle alloc]init];\n    paragraphStyle.lineBreakMode = NSLineBreakByWordWrapping;\n    NSDictionary *attributes = @{NSFontAttributeName:font, NSParagraphStyleAttributeName:paragraphStyle.copy};\n    CGRect rect =  [self boundingRectWithSize:size options:NSStringDrawingUsesLineFragmentOrigin attributes:attributes context:nil];\n    \n    return CGSizeMake(rect.size.width, rect.size.height);\n}\n\n//重写containsString方法，兼容8.0以下版本\n- (BOOL)containsString:(NSString *)aString NS_AVAILABLE(10_10, 8_0){\n    if ([aString isBlank]) {\n        return NO;\n    }\n    if ([self rangeOfString:aString].location != NSNotFound) {\n        return YES;\n    }\n    return NO;\n}\n\n//json数组转换成字符串\n+(NSString *) jsonStringWithArray:(NSArray *)array\n{\n    NSMutableString *reString = [NSMutableString string];\n    [reString appendString:@\"[\"];\n    NSMutableArray *values = [NSMutableArray array];\n    for (id valueObj in array) {\n        NSString *value = [NSString jsonStringWithObject:valueObj];\n        if (value) {\n            [values addObject:[NSString stringWithFormat:@\"%@\",value]];\n        }\n    }\n    [reString appendFormat:@\"%@\",[values componentsJoinedByString:@\",\"]];\n    [reString appendString:@\"]\"];\n    return reString;\n}\n\n//字典转换成字符串\n+(NSString *) jsonStringWithDictionary:(NSDictionary *)dictionary\n{\n    NSString *jsonString = nil;\n    NSError *error;\n    \n    NSData *data = [NSJSONSerialization dataWithJSONObject:dictionary options:NSJSONWritingPrettyPrinted error: &error];\n    \n    if (!data) {\n//        EXLog(@\"Got an error: %@\", error);\n    } else {\n        jsonString = [[NSString alloc] initWithData:data encoding:NSUTF8StringEncoding];\n    }\n    \n    return jsonString;\n}\n\n////json字符串转换成普通字符串\n+(NSString *) jsonStringWithString:(NSString *) string\n{\n    return [NSString stringWithFormat:@\"\\\"%@\\\"\",\n            [[string stringByReplacingOccurrencesOfString:@\"\\n\" withString:@\"\\\\n\"] stringByReplacingOccurrencesOfString:@\"\\\"\"withString:@\"\\\\\\\"\"]\n            ];\n}\n\n////json对象转换成字符串\n+(NSString *) jsonStringWithObject:(id) object\n{\n    NSString *value = nil;\n    if (!object)\n    {\n        return value;\n    }\n    if ([object isKindOfClass:[NSString class]])\n    {\n        value = [self jsonStringWithString:object];\n    }\n    else if([object isKindOfClass:[NSDictionary class]])\n    {\n        value = [self jsonStringWithDictionary:object];\n    }\n    else if([object isKindOfClass:[NSArray class]])\n    {\n        value = [self jsonStringWithArray:object];\n    }\n    return value;\n}\n\n\n//字符串转成字典\n+ (NSDictionary *)dicWithString:(NSString *)string\n{\n    if (string == nil) {\n        return nil;\n    }\n    NSData *jsonData = [string dataUsingEncoding:NSUTF8StringEncoding];\n    NSError *err;\n    NSDictionary *dic = [NSJSONSerialization JSONObjectWithData:jsonData\n                                                        options:NSJSONReadingMutableContainers\n                                                          error:&err];\n    if(err) {\n        NSLog(@\"json解析失败：%@\",err);\n        return nil;\n    }\n    return dic;\n}\n\n\n+ (NSString *)URLEncodedString:(NSString *)urlString\n{\n    NSString *encodedString = (NSString *)\n    \n    CFBridgingRelease(CFURLCreateStringByAddingPercentEscapes(kCFAllocatorDefault,\n                                                              \n                                                              (CFStringRef)urlString,\n                                                              \n                                                              (CFStringRef)@\"!$&'()*+,-./:;=?@_~%#[]\",\n                                                              \n                                                              NULL,\n                                                              \n                                                              kCFStringEncodingUTF8));\n    return encodedString;\n}\n\n\n//1、自己下载速度这种，可以直接在接受数据的地方加统计\n//2、获取全局的数据，可以监控网卡的进出流量\n/*获取网络流量信息*/\n+ (long long) getInterfaceBytes\n{\n    struct ifaddrs *ifa_list = 0, *ifa;\n    if (getifaddrs(&ifa_list) == -1)\n    {\n        return 0;\n    }\n    \n    uint32_t iBytes = 0;\n    uint32_t oBytes = 0;\n    \n    for (ifa = ifa_list; ifa; ifa = ifa->ifa_next)\n    {\n        if (AF_LINK != ifa->ifa_addr->sa_family)\n            continue;\n        \n        if (!(ifa->ifa_flags & IFF_UP) && !(ifa->ifa_flags & IFF_RUNNING))\n            continue;\n        \n        if (ifa->ifa_data == 0)\n            continue;\n        \n        /* Not a loopback device. */\n        if (strncmp(ifa->ifa_name, \"lo\", 2))\n        {\n            struct if_data *if_data = (struct if_data *)ifa->ifa_data;\n            \n            iBytes += if_data->ifi_ibytes;\n            oBytes += if_data->ifi_obytes;\n        }\n    }\n    freeifaddrs(ifa_list);\n    \n//    EXLog(@\"\\n[getInterfaceBytes-Total]%d,%d\",iBytes,oBytes);\n    return iBytes + oBytes;\n}\n\n\n+ (NSString *)disable_emoji:(NSString *)text\n{\n    NSRegularExpression *regex = [NSRegularExpression regularExpressionWithPattern:@\"[^\\\\u0020-\\\\u007E\\\\u00A0-\\\\u00BE\\\\u2E80-\\\\uA4CF\\\\uF900-\\\\uFAFF\\\\uFE30-\\\\uFE4F\\\\uFF00-\\\\uFFEF\\\\u0080-\\\\u009F\\\\u2000-\\\\u201f\\r\\n]\" options:NSRegularExpressionCaseInsensitive error:nil];\n    NSString *modifiedString = [regex stringByReplacingMatchesInString:text\n                                                               options:0\n                                                                 range:NSMakeRange(0, [text length])\n                                                          withTemplate:@\"\"];\n    return modifiedString;\n    \n}\n\n\n#pragma mark - 计算缓存大小\n+ (NSString *)getCacheSize\n{\n    //定义变量存储总的缓存大小\n    CGFloat sumSize = 0;\n    \n    //01.获取当前图片缓存路径\n    NSString *cacheFilePath = [NSHomeDirectory() stringByAppendingPathComponent:@\"Library/Caches\"];\n    \n    //02.创建文件管理对象\n    NSFileManager *filemanager = [NSFileManager defaultManager];\n    \n    //获取当前缓存路径下的所有子路径\n    NSArray *subPaths = [filemanager subpathsOfDirectoryAtPath:cacheFilePath error:nil];\n    \n    //遍历所有子文件\n    for (NSString *subPath in subPaths) {\n        //1）.拼接完整路径\n        NSString *filePath = [cacheFilePath stringByAppendingFormat:@\"/%@\",subPath];\n        //2）.计算文件的大小\n        CGFloat fileSize = [[filemanager attributesOfItemAtPath:filePath error:nil]fileSize];\n        //3）.加载到文件的大小\n        sumSize += fileSize;\n    }\n    float size_m = sumSize/(1024*1024);\n    //SDWebImage框架自身计算缓存的实现\n    size_m += [[SDImageCache sharedImageCache] getSize]/1024.0/1024.0;\n    \n    \n    return [NSString stringWithFormat:@\"%.2fM\",size_m];\n    \n}\n\n//根据正则，过滤特殊字符\n+ (NSString *)filterCharactor:(NSString *)string withRegex:(NSString *)regexStr{\n    NSString *searchText = string;\n    NSError *error = NULL;\n    NSRegularExpression *regex = [NSRegularExpression regularExpressionWithPattern:regexStr options:NSRegularExpressionCaseInsensitive error:&error];\n    NSString *result = [regex stringByReplacingMatchesInString:searchText options:NSMatchingReportCompletion range:NSMakeRange(0, searchText.length) withTemplate:@\"\"];\n    return result;\n}\n\n\n//有效数字\n- (BOOL)yw_isValidateDecimalsNum{\n    BOOL isValid = YES;\n    NSUInteger len = self.length;\n    if (len > 0) {\n        NSString *numberRegex = @\"^[-+]?[0-9]*\\\\.?[0-9]*$\";\n        NSPredicate *numberPredicate = [NSPredicate predicateWithFormat:@\"SELF MATCHES %@\", numberRegex];\n        isValid = [numberPredicate evaluateWithObject:self];\n    }\n    return isValid;\n}\n\n//判断全字母：\n- (BOOL)inputShouldLetter:(NSString *)inputString {\n    if (inputString.length == 0) return NO;\n    NSString *regex =@\"[a-zA-Z]*\";\n    NSPredicate *pred = [NSPredicate predicateWithFormat:@\"SELF MATCHES %@\",regex];\n    return [pred evaluateWithObject:inputString];\n}\n\n\n//判断仅输入字母或数字：\n- (BOOL)inputShouldLetterOrNum:(NSString *)inputString {\n    if (inputString.length == 0) return NO;\n    NSString *regex =@\"[a-zA-Z0-9]*\";\n    NSPredicate *pred = [NSPredicate predicateWithFormat:@\"SELF MATCHES %@\",regex];\n    return [pred evaluateWithObject:inputString];\n}\n\n- (CGSize)sizeWithFont:(UIFont *)font maxSize:(CGSize)maxSize\n{\n    NSDictionary *attribute = @{NSFontAttributeName : font};\n    return [self boundingRectWithSize:maxSize options:NSStringDrawingUsesLineFragmentOrigin attributes:attribute context:nil].size;\n}\n\n\n/*\n // 对一个字符串进行base64编码,并且返回\n -(NSString *)base64EncodeString:(NSString *)string {\n // 1.先转换为二进制数据\n NSData *data = [string dataUsingEncoding:NSUTF8StringEncoding];\n // 2.对二进制数据进行base64编码,完成之后返回字符串\n return [data base64EncodedStringWithOptions:0];\n }\n // 对base64编码之后的字符串解码,并且返回\n -(NSString *)base64DecodeString:(NSString *)string {\n // 注意:该字符串是base64编码后的字符串\n // 1.转换为二进制数据(完成了解码的过程)\n NSData *data = [[NSData alloc]initWithBase64EncodedString:string options:0];\n // 2.把二进制数据在转换为字符串\n return [[NSString alloc]initWithData:data encoding:NSUTF8StringEncoding];\n }\n //---------------------------<#我是分割线#>------------------------------//\n NSLog(@\"%@\",[self base64EncodeString:@\"A\"]);\n NSLog(@\"%@\",[self base64DecodeString:@\"QQ==\"]);\n */\n\n+(void)setLabelSpaceWithLabel:(UILabel*)label withTextStr:(NSString*)textStr withFont:(UIFont*)font withLineSpacing:(NSInteger)lineSpacing\n{\n    NSMutableParagraphStyle *paraStyle = [[NSMutableParagraphStyle alloc] init];\n    paraStyle.lineBreakMode = NSLineBreakByCharWrapping;\n    paraStyle.alignment = NSTextAlignmentLeft;\n    paraStyle.lineSpacing = lineSpacing; //设置行间距\n    paraStyle.hyphenationFactor = 1.0;\n    paraStyle.firstLineHeadIndent = 0.0;\n    paraStyle.paragraphSpacingBefore = 0.0;\n    paraStyle.headIndent = 0;\n    paraStyle.tailIndent = 0;\n    NSDictionary *dic = @{NSFontAttributeName:font, NSParagraphStyleAttributeName:paraStyle, NSKernAttributeName:@0.0f\n                          };\n    NSAttributedString *attributeStr = [[NSAttributedString alloc] initWithString:textStr attributes:dic];\n    label.attributedText = attributeStr;\n}\n\n+(CGFloat)getSpaceLabelHeightWithText:(NSString*)textStr withFont:(UIFont*)font withWidth:(CGFloat)width withLineSpacing:(NSInteger)lineSpacing{\n    \n    NSMutableParagraphStyle *style = [[NSParagraphStyle defaultParagraphStyle] mutableCopy];\n    style.lineBreakMode = NSLineBreakByWordWrapping;\n    style.alignment = NSTextAlignmentLeft;\n    \n    if (lineSpacing) {\n        style.lineSpacing = lineSpacing;\n    } else {\n        style.lineSpacing = 0;\n    }\n    \n    NSAttributedString *string = [[NSAttributedString alloc]initWithString:textStr attributes:@{NSFontAttributeName:font, NSParagraphStyleAttributeName:style}];\n    CGSize size =  [string boundingRectWithSize:CGSizeMake(width, MAXFLOAT) options:NSStringDrawingUsesLineFragmentOrigin | NSStringDrawingUsesFontLeading context:nil].size;\n    CGFloat height = ceil(size.height) + 1;\n    \n    return height;\n}\n\n@end\n"
  },
  {
    "path": "CKMeiTuanShopView/CKMeiTuanShopView/Category/UIImage+BlurImage.h",
    "content": "//\n//  UIImage+BlurImage.h\n//  weather\n//\n//  Created by ibokan on 14-10-31.\n//  Copyright (c) 2014年 ibokan. All rights reserved.\n//\n\n#import <UIKit/UIKit.h>\n\n@interface UIImage (BlurImage)\n\n/**\n *  产生模糊图片\n *\n *  @param radius     模糊半径\n *  @param iterations 迭代次数\n *  @param tintColor  前景色\n *\n *  @return 图片\n */\n- (UIImage *)blurredImageWithRadius:(CGFloat)radius iterations:(NSUInteger)iterations tintColor:(UIColor *)tintColor;\n/**\n   修改传入图片的透明度\n */\n+ (UIImage *)imageByApplyingAlpha:(CGFloat)alpha  image:(UIImage*)image;\n/**\n   根据颜色和尺寸生成一张图片\n */\n+(UIImage *) ImageWithColor: (UIColor *) color frame:(CGRect)aFrame;\n/**\n   修改传入图片的尺寸\n */\n+(UIImage*) changeSizeByOriginImage:(UIImage *)image scaleToSize:(CGSize)size;\n/**\n *  保存图片在沙盒，仅仅支持PNG、JPG、JPEG\n *\n *  @param image         传入的图片\n *  @param imgName       图片的命名\n *  @param imgType       图片格式\n *  @param directoryPath 图片存放的路径\n */\n+(void)saveImg:(UIImage *)image withImageName:(NSString *)imgName imgType:(NSString *)imgType inDirectory:(NSString *)directoryPath;\n/**\n *  获取图片上指定点上的颜色\n *\n *  @param point 图片上的一点\n *\n *  @return 颜色\n */\n-(UIColor *)getImageColorOnPoint:(CGPoint) point;\n/**\n *  绘制一张图片，图片是由一个圆环包着的，\n *\n *  @param color   圆环的颜色\n *  @param imgSize 图片的size\n *\n *  @return 图片\n */\n-(UIImage *)drawCircularIconWithColor:(UIColor *)color sizeOfImg:(CGSize)imgSize;\n/**\n *  返回一张图片中颜色最多的那种颜色\n *\n *  @return color\n */\n-(UIColor*)getMostColor;\n/**\n *  根据图片绘制一张带圆环的图片\n *\n *  @param size 绘制之后图片的大小\n *\n *  @return 图片\n */\n-(UIImage *)headerWithTorusBySzie:(CGSize)size;\n\n/**\n 绘制带有圆弧的图片\n */\n- (UIImage *)drawCircularIconWithSize:(CGSize )imgSize withRadius:(CGFloat)radius;\n@end\n"
  },
  {
    "path": "CKMeiTuanShopView/CKMeiTuanShopView/Category/UIImage+BlurImage.m",
    "content": "//\n//  UIImage+BlurImage.m\n//  weather\n//\n//  Created by ibokan on 14-10-31.\n//  Copyright (c) 2014年 ibokan. All rights reserved.\n//\n\n#import \"UIImage+BlurImage.h\"\n#import <Accelerate/Accelerate.h>\n\n\n@implementation UIImage (BlurImage)\n/**\n *  产生模糊图片\n *\n *  @param radius     模糊半径\n *  @param iterations 迭代次数\n *  @param tintColor  前景色\n *\n *  @return 图片\n */\n- (UIImage *)blurredImageWithRadius:(CGFloat)radius iterations:(NSUInteger)iterations tintColor:(UIColor *)tintColor\n{\n    //image must be nonzero size\n    if (floorf(self.size.width) * floorf(self.size.height) <= 0.0f) return self;\n    \n    //boxsize must be an odd integer\n    uint32_t boxSize = radius * self.scale;\n    if (boxSize % 2 == 0) boxSize ++;\n    \n    //create image buffers\n    CGImageRef imageRef = self.CGImage;\n    vImage_Buffer buffer1, buffer2;\n    buffer1.width = buffer2.width = CGImageGetWidth(imageRef);\n    buffer1.height = buffer2.height = CGImageGetHeight(imageRef);\n    buffer1.rowBytes = buffer2.rowBytes = CGImageGetBytesPerRow(imageRef);\n    CFIndex bytes = buffer1.rowBytes * buffer1.height;\n    buffer1.data = malloc(bytes);\n    buffer2.data = malloc(bytes);\n    \n    //create temp buffer\n    void *tempBuffer = malloc(vImageBoxConvolve_ARGB8888(&buffer1, &buffer2, NULL, 0, 0, boxSize, boxSize,\n                                                         NULL, kvImageEdgeExtend + kvImageGetTempBufferSize));\n    \n    //copy image data\n    CFDataRef dataSource = CGDataProviderCopyData(CGImageGetDataProvider(imageRef));\n    memcpy(buffer1.data, CFDataGetBytePtr(dataSource), bytes);\n    CFRelease(dataSource);\n    \n    for (NSUInteger i = 0; i < iterations; i++)\n    {\n        //perform blur\n        vImageBoxConvolve_ARGB8888(&buffer1, &buffer2, tempBuffer, 0, 0, boxSize, boxSize, NULL, kvImageEdgeExtend);\n        \n        //swap buffers\n        void *temp = buffer1.data;\n        buffer1.data = buffer2.data;\n        buffer2.data = temp;\n    }\n    \n    //free buffers\n    free(buffer2.data);\n    free(tempBuffer);\n    \n    //create image context from buffer\n    CGContextRef ctx = CGBitmapContextCreate(buffer1.data, buffer1.width, buffer1.height,\n                                             8, buffer1.rowBytes, CGImageGetColorSpace(imageRef),\n                                             CGImageGetBitmapInfo(imageRef));\n    \n    //apply tint\n    if (tintColor && CGColorGetAlpha(tintColor.CGColor) > 0.0f)\n    {\n        CGContextSetFillColorWithColor(ctx, [tintColor colorWithAlphaComponent:0.25].CGColor);\n        CGContextSetBlendMode(ctx, kCGBlendModePlusLighter);\n        CGContextFillRect(ctx, CGRectMake(0, 0, buffer1.width, buffer1.height));\n    }\n    \n    //create image from context\n    imageRef = CGBitmapContextCreateImage(ctx);\n    UIImage *image = [UIImage imageWithCGImage:imageRef scale:self.scale orientation:self.imageOrientation];\n    CGImageRelease(imageRef);\n    CGContextRelease(ctx);\n    free(buffer1.data);\n    return image;\n}\n\n\n//改变图片的透明度\n+ (UIImage *)imageByApplyingAlpha:(CGFloat)alpha  image:(UIImage*)image\n{\n    UIGraphicsBeginImageContextWithOptions(image.size, NO, 0.0f);\n    \n    CGContextRef ctx = UIGraphicsGetCurrentContext();\n    CGRect area = CGRectMake(0, 0, image.size.width, image.size.height);\n    \n    CGContextScaleCTM(ctx, 1, -1);\n    CGContextTranslateCTM(ctx, 0, -area.size.height);\n    \n    CGContextSetBlendMode(ctx, kCGBlendModeMultiply);\n    \n    CGContextSetAlpha(ctx, alpha);\n    \n    CGContextDrawImage(ctx, area, image.CGImage);\n    \n    UIImage *newImage = UIGraphicsGetImageFromCurrentImageContext();\n    \n    UIGraphicsEndImageContext();\n    \n    return newImage;\n}\n\n//根据颜色生成图片\n+(UIImage *) ImageWithColor: (UIColor *) color frame:(CGRect)aFrame\n{\n    aFrame = CGRectMake(0, 0, aFrame.size.width, aFrame.size.height);\n    UIGraphicsBeginImageContext(aFrame.size);\n    CGContextRef context = UIGraphicsGetCurrentContext();\n    CGContextSetFillColorWithColor(context, [color CGColor]);\n    CGContextFillRect(context, aFrame);\n    \n    UIImage *theImage = UIGraphicsGetImageFromCurrentImageContext();\n    UIGraphicsEndImageContext();\n    return theImage;\n}\n//修改图片的大小\n+(UIImage*) changeSizeByOriginImage:(UIImage *)image scaleToSize:(CGSize)size\n{\n    UIGraphicsBeginImageContext(size);  //size 为CGSize类型，即你所需要的图片尺寸\n    \n    [image drawInRect:CGRectMake(0, 0, size.width, size.height)];\n    \n    UIImage* scaledImage = UIGraphicsGetImageFromCurrentImageContext();\n    \n    UIGraphicsEndImageContext();\n    \n    return scaledImage;   //返回的就是已经改变的图片\n}\n/**\n *  保存图片在沙盒，仅仅支持PNG、JPG、JPEG\n *\n *  @param image         传入的图片\n *  @param imgName       图片的命名\n *  @param imgType       图片格式\n *  @param directoryPath 图片存放的路径\n */\n+(void)saveImg:(UIImage *)image withImageName:(NSString *)imgName imgType:(NSString *)imgType inDirectory:(NSString *)directoryPath\n{\n    if ([[imgType lowercaseString] isEqualToString:@\"png\"]) {\n        NSString *path = [directoryPath stringByAppendingPathComponent:[NSString stringWithFormat:@\"%@.%@\",imgName,imgType]];\n        //返回一个PNG图片\n        [UIImagePNGRepresentation(image) writeToFile:path atomically:YES];\n    }else if ([[imgType lowercaseString] isEqualToString:@\"jpg\"]\n              || [[imgType lowercaseString] isEqualToString:@\"jpeg\"])\n    {\n        NSString *path = [directoryPath stringByAppendingPathComponent:[NSString stringWithFormat:@\"%@.%@\",imgName,imgType]];\n        //第二个参数压缩质量（0最大的压缩  1最小的压缩质量）\n        [UIImageJPEGRepresentation(image, 1.0) writeToFile:path atomically:YES];\n    }\n    else\n    {\n        NSLog(@\"不支持该图片格式\");\n    }\n}\n/**\n *  获取图片上指定点上的颜色\n *\n *  @param point 图片上的一点\n *\n *  @return 颜色\n */\n-(UIColor *)getImageColorOnPoint:(CGPoint) point\n{\n    CFDataRef bitmapData = CGDataProviderCopyData(CGImageGetDataProvider(self.CGImage));\n    //UInt8实际就是unsigned char\n    const UInt8 *data = CFDataGetBytePtr(bitmapData);\n    //图片的宽度乘以点的y值得到所在的行的位置，再加上点x值即可得到该点的颜色，\n    //两者都乘以4的原因是每一个像素点都占据了四个字节的长度，依次序分别是RGBA，即红色、绿色、蓝色值和透明度值。\n     int index=4*self.size.width*point.y+4*point.x;\n    UIColor *color = [UIColor colorWithRed:data[index]/255.0 green:data[index+1]/255.0 blue:data[index+2]/255.0 alpha:data[index+3]/255.0];\n    for (int i = 0; i < 4; i++) {\n        NSLog(@\"%d\",data[index+i]);\n    }\n    CFRelease(bitmapData);\n    return color;\n}\n/**\n *  绘制一张图片，图片是由一个圆环包着的，\n *\n *  @param color   圆环的颜色\n *  @param imgSize 图片的size\n *\n *  @return 图片\n */\n-(UIImage *)drawCircularIconWithColor:(UIColor *)color sizeOfImg:(CGSize)imgSize\n{\n    CGFloat lineWidth = 4;\n    UIGraphicsBeginImageContextWithOptions(imgSize, NO, 1.0);\n    CGContextRef currentContext = UIGraphicsGetCurrentContext();\n    //绘制颜色 和 圆形\n    CGContextAddArc(currentContext, imgSize.width*0.5, imgSize.height*0.5, imgSize.width*0.5 - lineWidth, 0, M_PI*2, 1);\n    [color set];\n    CGContextSetLineWidth(currentContext, lineWidth);\n    CGContextStrokePath(currentContext);\n    //将图片绘制进去\n    CGFloat imageW = imgSize.width;\n    CGFloat imageH = imgSize.height;\n    CGFloat imageX = (imgSize.width * 0.5 - imageW*0.5); //从中心点出发计算其坐标\n    CGFloat imageY = (imgSize.height * 0.5 - imageH*0.5);\n    [self drawInRect:CGRectMake(imageX, imageY, imageW, imageH)];\n    \n    UIImage *returnImg = UIGraphicsGetImageFromCurrentImageContext();\n    //从上下文\n    UIGraphicsEndImageContext();\n    \n    return returnImg;\n}\n\n/**\n 绘制带有圆弧的图片\n */\n- (UIImage *)drawCircularIconWithSize:(CGSize )imgSize withRadius:(CGFloat)radius\n{\n    //    //开启上下文\n    UIGraphicsBeginImageContextWithOptions(imgSize, NO, 0.0);\n    //    //获取绘制圆的半径，宽，高的一个区域\n    CGFloat width = imgSize.width;\n    CGFloat height = width;\n    CGRect rect = CGRectMake(0, 0, width, height);\n//    //使用UIBerierPath路径裁切，注意：先设置裁切路径，再绘制图像。\n    UIBezierPath *berzierPath = [UIBezierPath bezierPathWithRoundedRect:rect cornerRadius:radius];\n    //添加到裁切路径\n    [berzierPath addClip];\n//    //将图片绘制到裁切好的区域内\n    [self drawInRect:rect];\n//    //从上下文获取当前 绘制成圆形的图片\n    UIImage *resImage = UIGraphicsGetImageFromCurrentImageContext();\n//    //关闭上下文\n    UIGraphicsEndImageContext();\n    \n//    //开启上下文\n//    UIGraphicsBeginImageContextWithOptions(imgSize, NO, 1.0);\n//    //获取上下文\n//    CGContextRef ctx = UIGraphicsGetCurrentContext();\n//    //添加一个圆\n//    CGFloat width = imgSize.width;\n//    CGFloat height = width;\n//    CGRect rect = CGRectMake(0, 0, width, height);\n//    CGContextAddEllipseInRect(ctx, rect);\n//    //裁剪\n//    CGContextClip(ctx);\n//    //将图片绘制到裁切好的区域内\n//    [self drawInRect:rect];\n//    //从上下文获取当前 绘制成圆形的图片\n//    UIImage *resImage = UIGraphicsGetImageFromCurrentImageContext();\n//    //关闭上下文\n//    UIGraphicsEndImageContext();\n    \n    return resImage;\n}\n\n\n\n/**\n *  返回一张图片中颜色最多的那种颜色\n *\n *  @return color\n */\n-(UIColor*)getMostColor\n{\n    \n    //第一步 先把图片缩小 加快计算速度. 但越小结果误差可能越大\n    CGSize thumbSize=CGSizeMake(50, 50);\n    \n    CGColorSpaceRef colorSpace = CGColorSpaceCreateDeviceRGB();\n    CGContextRef context = CGBitmapContextCreate(NULL,\n                                                 thumbSize.width,\n                                                 thumbSize.height,\n                                                 8,//bits per component\n                                                 thumbSize.width*4,\n                                                 colorSpace,\n                                                 kCGImageAlphaPremultipliedLast);\n    \n    CGRect drawRect = CGRectMake(0, 0, thumbSize.width, thumbSize.height);\n\tCGContextDrawImage(context, drawRect, self.CGImage);\n\tCGColorSpaceRelease(colorSpace);\n    \n\t\n    \n    //第二步 取每个点的像素值\n    unsigned char* data = CGBitmapContextGetData (context);\n    \n\tif (data == NULL)\n    {\n        CFRelease(context);\n        return nil;\n    }\n    \n    NSCountedSet *cls=[NSCountedSet setWithCapacity:thumbSize.width*thumbSize.height];\n    \n    for (int x=0; x<thumbSize.width; x++) {\n        for (int y=0; y<thumbSize.height; y++) {\n            \n            int offset = 4*(x*y);\n//            int offset = 4*(x + (thumbSize.width * y));\n            int red = data[offset];\n            int green = data[offset+1];\n            int blue = data[offset+2];\n            int alpha =  data[offset+3];\n            \n            NSArray *clr=@[@(red),@(green),@(blue),@(alpha)];\n            //将透明度小于0.1的过滤掉\n            \n            if (alpha < 20) {\n                continue;\n            }\n            //过滤白色\n            if (red > 230 && green > 230 && blue > 230) {\n                continue;\n            }\n            //过滤黑色\n            if (red < 30 && green < 30 && blue < 30) {\n                continue;\n            }\n             [cls addObject:clr];\n        }\n    }\n    CGContextRelease(context);\n    \n    \n    //第三步 找到出现次数最多的那个颜色\n    NSEnumerator *enumerator = [cls objectEnumerator];\n\tNSArray *curColor = nil;\n    \n    NSArray *MaxColor=nil;\n    NSUInteger MaxCount=0;\n    \n\twhile ( (curColor = [enumerator nextObject]) != nil )\n\t{\n\t\tNSUInteger tmpCount = [cls countForObject:curColor];\n        \n\t\tif ( tmpCount < MaxCount ) continue;\n\t\t\n        MaxCount=tmpCount;\n        MaxColor=curColor;\n        \n\t}\n    \n//    NSLog(@\"The Color is %@  repeats %d\",[MaxColor description],MaxCount);\n\treturn [UIColor colorWithRed:([MaxColor[0] intValue]/255.0f) green:([MaxColor[1] intValue]/255.0f) blue:([MaxColor[2] intValue]/255.0f) alpha:([MaxColor[3] intValue]/255.0f)];\n}\n\n/**\n *  根据图片绘制一张带圆环的图片\n *\n *  @param size 绘制之后图片的大小\n *\n *  @return 图片\n */\n-(UIImage *)headerWithTorusBySzie:(CGSize)size\n{\n    //头像圆环的宽度\n     CGFloat lineWidth =5;\n    UIGraphicsBeginImageContextWithOptions(size, NO, 1.0);\n    CGContextRef currentCG = UIGraphicsGetCurrentContext();\n    //画出裁剪范围 为圆形\n    CGContextSetLineWidth(currentCG, lineWidth);\n    CGContextAddArc(currentCG, size.width*0.5, size.width*0.5, size.width*0.5 - lineWidth, 0, M_PI *2, 0);\n    CGContextClip(currentCG);\n\n    //绘入图片\n    UIImage *thisImg = [UIImage changeSizeByOriginImage:self scaleToSize:size];\n    [thisImg drawAsPatternInRect:CGRectMake(0, 0, size.width, size.height)];\n    \n    //绘入圆环\n    [[UIColor colorWithRed:1 green:1 blue:1 alpha:0.7] set];\n    CGContextAddArc(currentCG, size.width*0.5, size.width*0.5, size.width*0.5 - lineWidth, 0, M_PI *2, 0);\n     CGContextStrokePath(currentCG);\n    //保存图片\n    UIImage *image = UIGraphicsGetImageFromCurrentImageContext();\n   \n    UIGraphicsEndImageContext();\n    return image;\n}\n\n\n@end\n"
  },
  {
    "path": "CKMeiTuanShopView/CKMeiTuanShopView/Category/UILabel+ChangeLineSpaceAndWordSpace.h",
    "content": "//\n//  UILabel+ChangeLineSpaceAndWordSpace.h\n//  AppPark\n//\n//  Created by kongxin on 2018/6/30.\n//\n\n#import <UIKit/UIKit.h>\n\n@interface UILabel (ChangeLineSpaceAndWordSpace)\n/**\n *  字间距\n */\n@property (nonatomic,assign)CGFloat characterSpace;\n\n/**\n *  行间距\n */\n@property (nonatomic,assign)CGFloat lineSpace;\n\n/**\n *  关键字\n */\n@property (nonatomic,copy)NSString *keywords;\n@property (nonatomic,strong)UIFont *keywordsFont;\n@property (nonatomic,strong)UIColor *keywordsColor;\n\n/**\n *  下划线\n */\n@property (nonatomic,copy)NSString *underlineStr;\n@property (nonatomic,strong)UIColor *underlineColor;\n\n/**\n *  计算label宽高，必须调用\n *\n *  @param maxWidth 最大宽度\n *\n *  @return label的rect\n */\n- (CGSize)getLableRectWithMaxWidth:(CGFloat)maxWidth;\n\n\n\n@end\n"
  },
  {
    "path": "CKMeiTuanShopView/CKMeiTuanShopView/Category/UILabel+ChangeLineSpaceAndWordSpace.m",
    "content": "//\n//  UILabel+ChangeLineSpaceAndWordSpace.m\n//  AppPark\n//\n//  Created by kongxin on 2018/6/30.\n//\n\n#import \"UILabel+ChangeLineSpaceAndWordSpace.h\"\n#import <objc/runtime.h>\n#import <CoreText/CoreText.h>\n\n@implementation UILabel (ChangeLineSpaceAndWordSpace)\n-(CGFloat)characterSpace{\n    return [objc_getAssociatedObject(self,_cmd) floatValue];\n}\n\n-(void)setCharacterSpace:(CGFloat)characterSpace{\n    objc_setAssociatedObject(self, @selector(characterSpace), @(characterSpace), OBJC_ASSOCIATION_RETAIN_NONATOMIC);\n    \n}\n\n-(CGFloat)lineSpace{\n    return [objc_getAssociatedObject(self, _cmd) floatValue];\n}\n\n-(void)setLineSpace:(CGFloat)lineSpace{\n    objc_setAssociatedObject(self, @selector(lineSpace), @(lineSpace), OBJC_ASSOCIATION_RETAIN_NONATOMIC);\n}\n\n\n-(NSString *)keywords{\n    return objc_getAssociatedObject(self, _cmd);\n}\n\n-(void)setKeywords:(NSString *)keywords{\n    objc_setAssociatedObject(self, @selector(keywords), keywords, OBJC_ASSOCIATION_RETAIN_NONATOMIC);\n}\n\n-(UIFont *)keywordsFont{\n    return objc_getAssociatedObject(self, _cmd);\n}\n\n-(void)setKeywordsFont:(UIFont *)keywordsFont{\n    objc_setAssociatedObject(self, @selector(keywordsFont), keywordsFont, OBJC_ASSOCIATION_RETAIN_NONATOMIC);\n}\n\n-(UIColor *)keywordsColor{\n    return objc_getAssociatedObject(self, _cmd);\n}\n\n-(void)setKeywordsColor:(UIColor *)keywordsColor{\n    objc_setAssociatedObject(self, @selector(keywordsColor), keywordsColor, OBJC_ASSOCIATION_RETAIN_NONATOMIC);\n}\n\n-(NSString *)underlineStr{\n    return objc_getAssociatedObject(self, _cmd);\n}\n\n-(void)setUnderlineStr:(NSString *)underlineStr{\n    objc_setAssociatedObject(self, @selector(underlineStr), underlineStr, OBJC_ASSOCIATION_RETAIN_NONATOMIC);\n    \n}\n\n-(UIColor *)underlineColor{\n    return objc_getAssociatedObject(self, _cmd);\n}\n\n-(void)setUnderlineColor:(UIColor *)underlineColor{\n    objc_setAssociatedObject(self, @selector(underlineColor), underlineColor, OBJC_ASSOCIATION_RETAIN_NONATOMIC);\n    \n}\n\n/**\n *  根据最大宽度计算label宽，高\n *\n *  @param maxWidth 最大宽度\n *\n *  @return rect\n */\n- (CGSize)getLableRectWithMaxWidth:(CGFloat)maxWidth{\n    \n    NSMutableAttributedString *attributedString = [[NSMutableAttributedString alloc]initWithString:self.text];\n    [attributedString addAttribute:NSFontAttributeName value:self.font range:NSMakeRange(0,self.text.length)];\n    \n    NSMutableParagraphStyle *paragraphStyle = [[NSMutableParagraphStyle alloc]init];\n    // paragraphStyle.alignment=NSTextAlignmentCenter;\n    paragraphStyle.alignment=self.textAlignment;\n    paragraphStyle.lineBreakMode=self.lineBreakMode;\n    // 行间距\n    if(self.lineSpace > 0){\n        [paragraphStyle setLineSpacing:self.lineSpace];\n        [attributedString addAttribute:NSParagraphStyleAttributeName value:paragraphStyle range:NSMakeRange(0,self.text.length)];\n    }\n    \n    // 字间距\n    if(self.characterSpace > 0){\n        long number = self.characterSpace;\n        CFNumberRef num = CFNumberCreate(kCFAllocatorDefault,kCFNumberSInt8Type,&number);\n        [attributedString addAttribute:(id)kCTKernAttributeName value:(__bridge id)num range:NSMakeRange(0,[attributedString length])];\n        \n        CFRelease(num);\n    }\n    \n    //关键字\n    if (self.keywords) {\n        NSRange itemRange = [self.text rangeOfString:self.keywords];\n        if (self.keywordsFont) {\n            [attributedString addAttribute:NSFontAttributeName value:self.keywordsFont range:itemRange];\n            \n        }\n        \n        if (self.keywordsColor) {\n            [attributedString addAttribute:NSForegroundColorAttributeName value:self.keywordsColor range:itemRange];\n            \n        }\n    }\n    \n    //下划线\n    if (self.underlineStr) {\n        NSRange itemRange = [self.text rangeOfString:self.underlineStr];\n        [attributedString addAttribute:NSUnderlineStyleAttributeName value:@(NSUnderlineStyleSingle) range:itemRange];\n        if (self.underlineColor) {\n            [attributedString addAttribute:NSUnderlineColorAttributeName value:self.underlineColor range:itemRange];\n        }\n    }\n    \n    \n    \n    self.attributedText = attributedString;\n    \n    //计算方法一\n    //计算文本rect，但是发现设置paragraphStyle.lineBreakMode=NSLineBreakByTruncatingTail;后高度计算不准确\n    \n    //    CGRect rect = [attributedString boundingRectWithSize:CGSizeMake(maxWidth, MAXFLOAT) options:NSStringDrawingUsesLineFragmentOrigin | NSStringDrawingUsesFontLeading context:nil];\n    //    NSLog(@\"rect==%@,%f\",NSStringFromCGRect(rect),ceil(rect.size.height));\n    \n    //计算方法二\n    CGSize maximumLabelSize = CGSizeMake(maxWidth, MAXFLOAT);//labelsize的最大值\n    CGSize expectSize = [self sizeThatFits:maximumLabelSize];\n    return expectSize;\n}\n@end\n"
  },
  {
    "path": "CKMeiTuanShopView/CKMeiTuanShopView/Category/UILabel+Extensions.h",
    "content": "//\n//  UILabel+Extensions.h\n//  AppPark\n//\n//  Created by kongxin on 2018/6/28.\n//\n\n#import <UIKit/UIKit.h>\n\n/**\n *  UILabel某一段富文本点击\n */\n@protocol YBAttributeTapActionDelegate <NSObject>\n\n@optional\n/**\n *  YBAttributeTapActionDelegate\n *\n *  @param string  点击的字符串\n *  @param range   点击的字符串range\n *  @param index 点击的字符在数组中的index\n */\n- (void)yb_attributeTapReturnString:(NSString *)string\n                              range:(NSRange)range\n                              index:(NSInteger)index;\n@end\n\n@interface YBAttributeModel : NSObject\n\n@property (nonatomic, copy) NSString *str;\n\n@property (nonatomic, assign) NSRange range;\n\n@end\n\n\n@interface UILabel (Extensions)\n\n/**\n 设置Label行首缩进\n\n @param length 缩进长度\n @param text 缩进文本\n @return 缩进完成字符串\n */\n- (NSAttributedString *)addFirstLineHeadIndentWithIndentLength:(CGFloat)length indenText:(NSString *)text;\n\n\n/**\n 添加删除线\n\n @param text 删除线文本\n @return 添加完成的文本\n */\n- (NSMutableAttributedString *)addDeletingLineWithText:(NSString *)text deletingLinecolor:(UIColor *)color;\n\n/**\n 改变一个label其中几个字的大小跟颜色\n \n @param NeedChangeString 需要改变的字符串\n @param font 大小\n @param color 颜色\n @param range 改变范围\n @return 改变后的字符串\n */\n- (NSMutableAttributedString *)addAttributedStringWithNeedChangeString:(NSString *)NeedChangeString withFont:(UIFont *)font withColor:(UIColor *)color withRange:(NSRange)range;\n\n\n+ (CGFloat)getHeightByWidth:(CGFloat)width title:(NSString *)title font:(UIFont*)font lineSpace:(CGFloat)lineSpace;\n\n+ (CGFloat)getHeightByWidth:(CGFloat)width title:(NSString *)title font:(UIFont*)font;\n\n+ (CGFloat)getWidthWithTitle:(NSString *)title font:(UIFont *)font;\n\n+ (CGFloat)getHeightByWidth:(CGFloat)width title:(NSString *)title font:(UIFont*)font lineSpace:(CGFloat)lineSpace groupSpace:(CGFloat)groupSpace;\n\n\n/**\n *  给文本添加点击事件Block回调\n *\n *  @param strings  需要添加的字符串数组\n *  @param tapClick 点击事件回调\n */\n//- (void)yb_addAttributeTapActionWithStrings:(NSArray <NSString *> *)strings\n//                                 tapClicked:(void (^) (NSString *string , NSRange range , NSInteger index))tapClick;\n\n/**\n *  给文本添加点击事件delegate回调\n *\n *  @param strings  需要添加的字符串数组\n *  @param delegate delegate\n */\n//- (void)yb_addAttributeTapActionWithStrings:(NSArray <NSString *> *)strings\n//                                   delegate:(id <YBAttributeTapActionDelegate> )delegate;\n\n@end\n"
  },
  {
    "path": "CKMeiTuanShopView/CKMeiTuanShopView/Category/UILabel+Extensions.m",
    "content": "//\n//  UILabel+Extensions.m\n//  AppPark\n//\n//  Created by kongxin on 2018/6/28.\n//\n\n#import \"UILabel+Extensions.h\"\n#import <objc/runtime.h>\n#import <CoreText/CoreText.h>\n#import <Foundation/Foundation.h>\n\n@implementation UILabel (Extensions)\n\n- (NSAttributedString *)addFirstLineHeadIndentWithIndentLength:(CGFloat)length indenText:(NSString *)text\n{\n    NSMutableParagraphStyle *paraStyle = [[NSMutableParagraphStyle alloc] init];\n    paraStyle.alignment = NSTextAlignmentLeft;  //对齐\n    paraStyle.headIndent = 0.0f;//行首缩进\n    CGFloat emptylen =length;\n    paraStyle.firstLineHeadIndent = emptylen;//首行缩进\n    NSAttributedString *attrText = [[NSAttributedString alloc] initWithString:text attributes:@{NSParagraphStyleAttributeName:paraStyle}];\n    return attrText;\n}\n\n- (NSMutableAttributedString *)addDeletingLineWithText:(NSString *)text deletingLinecolor:(UIColor *)color\n{\n    \n    NSString *oldPrice =text;\n    NSUInteger length = [oldPrice length];\n    NSMutableAttributedString *attri = [[NSMutableAttributedString alloc] initWithString:oldPrice];\n    [attri addAttribute:NSStrikethroughStyleAttributeName value:@(NSUnderlinePatternSolid | NSUnderlineStyleSingle) range:NSMakeRange(0, length )];\n    [attri addAttribute:NSStrikethroughColorAttributeName value:color range:NSMakeRange(0, length)];\n    return attri;\n}\n\n- (NSMutableAttributedString *)addAttributedStringWithNeedChangeString:(NSString *)NeedChangeString withFont:(UIFont *)font withColor:(UIColor *)color withRange:(NSRange)range;\n{\n    NSMutableAttributedString *attributedString = [[NSMutableAttributedString alloc] initWithString:NeedChangeString];\n    [attributedString addAttributes:@{NSForegroundColorAttributeName:color, NSFontAttributeName:font} range:range];\n    return attributedString;\n}\n\n+ (CGFloat)getHeightByWidth:(CGFloat)width title:(NSString *)title font:(UIFont*)font lineSpace:(CGFloat)lineSpace\n{\n    UILabel *label = [[UILabel alloc] initWithFrame:CGRectMake(0, 0, width, 0)];\n    label.text = title;\n    label.font = font;\n    label.numberOfLines = 0;\n    \n    NSMutableAttributedString *attributedString = [[NSMutableAttributedString alloc] initWithString:title];\n    NSMutableParagraphStyle *paragraphStyle = [[NSMutableParagraphStyle alloc] init];\n    [paragraphStyle setLineSpacing:lineSpace];\n    [attributedString addAttribute:NSParagraphStyleAttributeName value:paragraphStyle range:NSMakeRange(0, [title length])];\n    label.attributedText = attributedString;\n    \n    [label sizeToFit];\n    CGFloat height = label.frame.size.height;\n    return height;\n}\n\n+ (CGFloat)getHeightByWidth:(CGFloat)width title:(NSString *)title font:(UIFont*)font lineSpace:(CGFloat)lineSpace groupSpace:(CGFloat)groupSpace{\n    \n    UILabel *label = [[UILabel alloc] initWithFrame:CGRectMake(0, 0, width, 0)];\n    label.text = title;\n    label.font = font;\n    label.numberOfLines = 0;\n    \n    \n    NSMutableAttributedString *attributedString = [[NSMutableAttributedString alloc] initWithString:title];\n    NSMutableParagraphStyle *paragraphStyle = [[NSMutableParagraphStyle alloc] init];\n    [paragraphStyle setLineSpacing:lineSpace];\n    [paragraphStyle setParagraphSpacing:groupSpace];\n    [attributedString addAttribute:NSParagraphStyleAttributeName value:paragraphStyle range:NSMakeRange(0, [title length])];\n    label.attributedText = attributedString;\n    \n    [label sizeToFit];\n    CGFloat height = label.frame.size.height;\n    \n    return height;\n    \n}\n\n+ (CGFloat)getHeightByWidth:(CGFloat)width title:(NSString *)title font:(UIFont*)font\n{\n    UILabel *label = [[UILabel alloc] initWithFrame:CGRectMake(0, 0, width, 0)];\n    label.text = title;\n    label.font = font;\n    label.numberOfLines = 0;\n    [label sizeToFit];\n    CGFloat height = label.frame.size.height;\n    return height;\n}\n\n\n+ (CGFloat)getWidthWithTitle:(NSString *)title font:(UIFont *)font {\n    UILabel *label = [[UILabel alloc] initWithFrame:CGRectMake(0, 0, 1000, 0)];\n    label.text = title;\n    label.font = font;\n    [label sizeToFit];\n    return label.frame.size.width;\n}\n\n#pragma mark - AssociatedObjects\n\n//- (NSMutableArray *)attributeStrings\n//{\n//    return objc_getAssociatedObject(self, _cmd);\n//}\n//\n//- (void)setAttributeStrings:(NSMutableArray *)attributeStrings\n//{\n//    objc_setAssociatedObject(self, @selector(attributeStrings), attributeStrings, OBJC_ASSOCIATION_RETAIN_NONATOMIC);\n//}\n//\n//- (void (^)(NSString *, NSRange, NSInteger))tapBlock\n//{\n//    return objc_getAssociatedObject(self, _cmd);\n//}\n//\n//- (void)setTapBlock:(void (^)(NSString *, NSRange, NSInteger))tapBlock\n//{\n//    objc_setAssociatedObject(self, @selector(tapBlock), tapBlock, OBJC_ASSOCIATION_COPY_NONATOMIC);\n//}\n//\n//- (id<YBAttributeTapActionDelegate>)delegate\n//{\n//    return objc_getAssociatedObject(self, _cmd);\n//}\n//\n//- (void)setDelegate:(id<YBAttributeTapActionDelegate>)delegate\n//{\n//    objc_setAssociatedObject(self, @selector(delegate), delegate, OBJC_ASSOCIATION_RETAIN_NONATOMIC);\n//}\n\n#pragma mark - mainFunction\n//- (void)yb_addAttributeTapActionWithStrings:(NSArray <NSString *> *)strings tapClicked:(void (^) (NSString *string , NSRange range , NSInteger index))tapClick\n//{\n//    [self yb_getRangesWithStrings:strings];\n//\n//    if (self.tapBlock != tapClick) {\n//        self.tapBlock = tapClick;\n//    }\n//}\n\n//- (void)yb_addAttributeTapActionWithStrings:(NSArray <NSString *> *)strings\n//                                   delegate:(id <YBAttributeTapActionDelegate> )delegate\n//{\n//    [self yb_getRangesWithStrings:strings];\n//\n//    if (self.delegate != delegate) {\n//        self.delegate = delegate;\n//    }\n//}\n\n#pragma mark - touchAction\n//- (void)touchesBegan:(NSSet<UITouch *> *)touches withEvent:(UIEvent *)event\n//{\n//    UITouch *touch = [touches anyObject];\n//\n//    CGPoint point = [touch locationInView:self];\n//\n//    __weak typeof(self) weakSelf = self;\n//\n//    [self yb_getTapFrameWithTouchPoint:point result:^(NSString *string, NSRange range, NSInteger index) {\n//\n//        if (weakSelf.tapBlock) {\n//            weakSelf.tapBlock (string , range , index);\n//        }\n//\n//        if (weakSelf.delegate && [weakSelf.delegate respondsToSelector:@selector(yb_attributeTapReturnString:range:index:)]) {\n//            [weakSelf.delegate yb_attributeTapReturnString:string range:range index:index];\n//        }\n//\n//    }];\n//}\n\n//- (UIView *)hitTest:(CGPoint)point withEvent:(UIEvent *)event {\n//    if ([self yb_getTapFrameWithTouchPoint:point result:nil]) {\n//        return self;\n//    }\n//    return nil;\n//}\n\n#pragma mark - getTapFrame\n//- (BOOL)yb_getTapFrameWithTouchPoint:(CGPoint)point result:(void (^) (NSString *string , NSRange range , NSInteger index))resultBlock\n//{\n//    CTFramesetterRef framesetter = CTFramesetterCreateWithAttributedString((CFAttributedStringRef)self.attributedText);\n//\n//    CGMutablePathRef Path = CGPathCreateMutable();\n//\n//    CGPathAddRect(Path, NULL, self.bounds);\n//\n//    CTFrameRef frame = CTFramesetterCreateFrame(framesetter, CFRangeMake(0, 0), Path, NULL);\n//\n//    CFArrayRef lines = CTFrameGetLines(frame);\n//\n//    if (!lines) {\n//        return NO;\n//    }\n//\n//    CFIndex count = CFArrayGetCount(lines);\n//\n//    CGPoint origins[count];\n//\n//    CTFrameGetLineOrigins(frame, CFRangeMake(0, 0), origins);\n//\n//    CGAffineTransform transform = [self yb_transformForCoreText];\n//\n//    CGFloat verticalOffset = 0;\n//\n//    for (CFIndex i = 0; i < count; i++) {\n//        CGPoint linePoint = origins[i];\n//\n//        CTLineRef line = CFArrayGetValueAtIndex(lines, i);\n//\n//        CGRect flippedRect = [self yb_getLineBounds:line point:linePoint];\n//\n//        CGRect rect = CGRectApplyAffineTransform(flippedRect, transform);\n//\n//        rect = CGRectInset(rect, 0, 0);\n//\n//        rect = CGRectOffset(rect, 0, verticalOffset);\n//\n//        if (CGRectContainsPoint(rect, point)) {\n//\n//            CGPoint relativePoint = CGPointMake(point.x - CGRectGetMinX(rect), point.y - CGRectGetMinY(rect));\n//\n//            CFIndex index = CTLineGetStringIndexForPosition(line, relativePoint);\n//\n//            CGFloat offset;\n//\n//            CTLineGetOffsetForStringIndex(line, index, &offset);\n//\n//            if (offset > relativePoint.x) {\n//                index = index - 1;\n//            }\n//\n//            NSInteger link_count = self.attributeStrings.count;\n//\n//            for (int j = 0; j < link_count; j++) {\n//\n//                YBAttributeModel *model = self.attributeStrings[j];\n//\n//                NSRange link_range = model.range;\n//                if (NSLocationInRange(index, link_range)) {\n//                    if (resultBlock) {\n//                        resultBlock (model.str , model.range , (NSInteger)j);\n//                    }\n//                    return YES;\n//                }\n//            }\n//        }\n//    }\n//    return NO;\n//}\n//\n//- (CGAffineTransform)yb_transformForCoreText\n//{\n//    return CGAffineTransformScale(CGAffineTransformMakeTranslation(0, self.bounds.size.height), 1.f, -1.f);\n//}\n//\n//- (CGRect)yb_getLineBounds:(CTLineRef)line point:(CGPoint)point\n//{\n//    CGFloat ascent = 0.0f;\n//    CGFloat descent = 0.0f;\n//    CGFloat leading = 0.0f;\n//    CGFloat width = (CGFloat)CTLineGetTypographicBounds(line, &ascent, &descent, &leading);\n//    CGFloat height = ascent + descent;\n//\n//    return CGRectMake(point.x, point.y - descent, width, height);\n//}\n//\n//#pragma mark - getRange\n//- (void)yb_getRangesWithStrings:(NSArray <NSString *>  *)strings\n//{\n//    __block  NSString *totalStr = self.attributedText.string;\n//\n//    self.attributeStrings = [NSMutableArray array];\n//\n//    __weak typeof(self) weakSelf = self;\n//\n//    [strings enumerateObjectsUsingBlock:^(NSString * _Nonnull obj, NSUInteger idx, BOOL * _Nonnull stop) {\n//\n//        NSRange range = [totalStr rangeOfString:obj];\n//\n//        if (range.length != 0) {\n//            YBAttributeModel *model = [YBAttributeModel new];\n//            model.range = range;\n//            model.str = obj;\n//            [weakSelf.attributeStrings addObject:model];\n//\n//            totalStr = [totalStr stringByReplacingCharactersInRange:range withString:[weakSelf yb_getStringWithRange:range]];\n//        }\n//    }];\n//}\n//\n//- (NSString *)yb_getStringWithRange:(NSRange)range\n//{\n//    NSMutableString *string = [NSMutableString string];\n//    for (int i = 0; i < range.length ; i++) {\n//        [string appendString:@\" \"];\n//    }\n//    return string;\n//}\n\n\n@end\n\n\n@implementation YBAttributeModel\n\n@end\n"
  },
  {
    "path": "CKMeiTuanShopView/CKMeiTuanShopView/Category/UIView+Extension.h",
    "content": "//\n//  UIView+Extension.h\n//\n//  Created by lanou3g on 15/8/3.\n//  Copyright (c) 2015年 7Kir. All rights reserved.\n//\n\n#import <UIKit/UIKit.h>\n\n#define kRadianToDegrees(radian) (radian * M_PI )/(180.0)\n\n@interface UIView (Extension)\n\n@property (nonatomic, assign) CGFloat x;\n@property (nonatomic, assign) CGFloat y;\n@property (nonatomic, assign) CGFloat top;\n@property (nonatomic, assign) CGFloat bottom;\n@property (nonatomic, assign) CGFloat left;\n@property (nonatomic, assign) CGFloat right;\n@property (nonatomic, assign) CGFloat centerX;\n@property (nonatomic, assign) CGFloat centerY;\n@property (nonatomic, assign) CGFloat changeWidth;\n@property (nonatomic, assign) CGFloat changeHeight;\n@property (nonatomic, assign) CGSize size;\n@property (nonatomic, assign) CGPoint origin;\n\n// xib 文件名字和类名字要一样\n+(id) viewInstance;\n\n// 设置阴影\n- (UIView *)setShadowWithColor:(UIColor *)color size:(CGSize)size\n                   borderColor:(UIColor *)borderColor;\n\n- (UIView *)setBorderColor:(UIColor *)borderColor\n                     width:(CGFloat)borderWidth;\n- (UIView *) setCornerRadius:(CGFloat)cornerRadius;\n\n- (UIView *) rotateWithAngle:(float) angle;\n\n#pragma mark- 删除当前视图的所有子视图\n- (void)removeAllSubviews;\n#pragma mark- 获取当前视图的控制器\n- (UIViewController*)viewController;\n@end\n"
  },
  {
    "path": "CKMeiTuanShopView/CKMeiTuanShopView/Category/UIView+Extension.m",
    "content": "//\n//  UIView+Extension.m\n//\n//  Created by lanou3g on 15/8/3.\n//  Copyright (c) 2015年 7Kir. All rights reserved.\n//\n\n#import \"UIView+Extension.h\"\n\n@implementation UIView (Extension)\n\n- (void)setX:(CGFloat)x\n{\n    CGRect frame = self.frame;\n    frame.origin.x = x;\n    self.frame = frame;\n}\n\n- (CGFloat)x\n{\n    return self.frame.origin.x;\n}\n\n- (void)setY:(CGFloat)y\n{\n    CGRect frame = self.frame;\n    frame.origin.y = y;\n    self.frame = frame;\n}\n\n- (CGFloat)y\n{\n    return self.frame.origin.y;\n}\n\n- (void)setTop:(CGFloat)top\n{\n    CGRect frame = self.frame;\n    frame.origin.x = top;\n    self.frame = frame;\n}\n\n- (CGFloat)top\n{\n    return self.frame.origin.y;\n}\n\n- (CGFloat)bottom {\n    return self.frame.origin.y + self.frame.size.height;\n}\n\n- (void)setBottom:(CGFloat)bottom {\n    CGRect frame = self.frame;\n    frame.origin.y = bottom - frame.size.height;\n    self.frame = frame;\n}\n\n- (void)setCenterX:(CGFloat)centerX\n{\n    CGPoint center = self.center;\n    center.x = centerX;\n    self.center = center;\n}\n\n- (CGFloat)centerX\n{\n    return self.center.x;\n}\n\n- (void)setCenterY:(CGFloat)centerY\n{\n    CGPoint center = self.center;\n    center.y = centerY;\n    self.center = center;\n}\n\n- (CGFloat)centerY\n{\n    return self.center.y;\n}\n\n- (void)setChangeWidth:(CGFloat)changeWidth\n{\n    CGRect frame = self.frame;\n    frame.size.width = changeWidth;\n    self.frame = frame;\n}\n\n- (CGFloat)changeWidth\n{\n    return self.frame.size.width;\n}\n\n- (void)setChangeHeight:(CGFloat)changeHeight\n{\n    CGRect frame = self.frame;\n    frame.size.height = changeHeight;\n    self.frame = frame;\n}\n\n- (CGFloat)changeHeight\n{\n    return self.frame.size.height;\n}\n\n-(void)setLeft:(CGFloat)left\n{\n    CGRect frame = self.frame;\n    frame.origin.x = left;\n    self.frame = frame;\n}\n\n-(CGFloat)left\n{\n    return self.frame.origin.x;\n}\n\n- (void)setRight:(CGFloat)right\n{\n    CGRect frame = self.frame;\n    frame.origin.x = right - frame.size.width;\n    self.frame = frame;\n}\n\n-(CGFloat)right\n{\n    return self.frame.origin.x + self.frame.size.width;\n}\n\n- (void)setSize:(CGSize)size\n{\n    CGRect frame = self.frame;\n    frame.size = size;\n    self.frame = frame;\n}\n\n- (CGSize)size\n{\n    return self.frame.size;\n}\n\n- (void)setOrigin:(CGPoint)origin\n{\n    CGRect frame = self.frame;\n    frame.origin = origin;\n    self.frame = frame;\n}\n\n- (CGPoint)origin\n{\n    return self.frame.origin;\n}\n\n+(id) viewInstance\n{\n    NSString *clazz = NSStringFromClass(self);\n    NSString *path = [[NSBundle mainBundle] pathForResource:clazz ofType:@\"nib\"];\n    if (path) {\n        NSArray *tmp = [[NSBundle mainBundle] loadNibNamed:clazz owner:nil options:nil];\n        UIView *view = [tmp lastObject];\n        \n        return view;\n    }\n    \n    UIView *view = [[NSClassFromString(clazz) alloc] init];\n    return view;\n}\n\n- (UIView *)setShadowWithColor:(UIColor *)color size:(CGSize)size borderColor:(UIColor *)borderColor\n{\n    self.layer.borderWidth = 0.1f;\n    self.layer.shadowColor = color.CGColor;\n    self.layer.borderColor = borderColor.CGColor;\n    self.layer.shadowOffset = size;\n    self.layer.shadowOpacity = 0.6f;\n    \n    return self;\n}\n\n- (UIView *)setBorderColor:(UIColor *)borderColor\n                     width:(CGFloat)borderWidth\n{\n    self.layer.borderWidth = borderWidth;\n    self.layer.borderColor = borderColor.CGColor;\n    return self;\n}\n\n- (UIView *) setCornerRadius:(CGFloat)cornerRadius\n{\n    self.layer.masksToBounds =YES;\n    self.layer.cornerRadius = cornerRadius;\n    \n    return self;\n}\n\n-(UIView *) rotateWithAngle:(float) angle\n{\n    if (![self respondsToSelector:@selector(layer)]) {\n        NSLog(@\"This view(%@) don't have layer property. Can't rotate.\", self);\n        return self;\n    }\n    self.layer.anchorPoint = CGPointMake(0.5, 0.5);\n    [UIView animateWithDuration:0.2 animations:^{\n        self.transform = CGAffineTransformRotate(self.transform, kRadianToDegrees(angle));\n    }];\n    \n    return self;\n}\n\n#pragma mark- 删除当前视图的所有子视图\n- (void)removeAllSubviews\n{\n    while (self.subviews.count) {\n        UIView* child = self.subviews.lastObject;\n        [child removeFromSuperview];\n    }\n}\n#pragma mark- 获取当前视图的控制器\n- (UIViewController*)viewController\n{\n    for (UIView* next = [self superview]; next; next = next.superview) {\n        UIResponder* nextResponder = [next nextResponder];\n        if ([nextResponder isKindOfClass:[UIViewController class]]) {\n            return (UIViewController*)nextResponder;\n        }\n    }\n    return nil;\n}\n@end\n"
  },
  {
    "path": "CKMeiTuanShopView/CKMeiTuanShopView/Category/UIView+Helper.h",
    "content": "//\n//  UIView+Helper.h\n//  Qicai\n//\n//  Created by eims on 15/6/6.\n//  Copyright (c) 2015年 7ien. All rights reserved.\n//\n\n#import <UIKit/UIKit.h>\n\n@interface UIView (Helper)\n\n@property (nonatomic, assign, readonly, getter=getMinY) CGFloat minY;\n\n@property (nonatomic, assign, readonly, getter=getMidY) CGFloat midY;\n\n@property (nonatomic, assign, readonly, getter=getMaxY) CGFloat maxY;\n\n@property (nonatomic, assign, readonly, getter=getMinX) CGFloat minX;\n\n@property (nonatomic, assign, readonly, getter=getMidX) CGFloat midX;\n\n@property (nonatomic, assign, readonly, getter=getMaxX) CGFloat maxX;\n\n@property (nonatomic, assign, readonly, getter=getWidth) CGFloat width;\n\n@property (nonatomic, assign, readonly, getter=getHeight) CGFloat height;\n\n@end\n"
  },
  {
    "path": "CKMeiTuanShopView/CKMeiTuanShopView/Category/UIView+Helper.m",
    "content": "//\n//  UIView+Helper.m\n//  Qicai\n//\n//  Created by eims on 15/6/6.\n//  Copyright (c) 2015年 7ien. All rights reserved.\n//\n\n#import \"UIView+Helper.h\"\n\n@implementation UIView (Helper)\n\n- (CGFloat)getMinY {\n    return CGRectGetMinY(self.frame);\n}\n\n- (CGFloat)getMidY {\n    return CGRectGetMidY(self.frame);\n}\n\n- (CGFloat)getMaxY {\n    return CGRectGetMaxY(self.frame);\n}\n\n- (CGFloat)getMinX {\n    return CGRectGetMinX(self.frame);\n}\n\n- (CGFloat)getMidX {\n    return CGRectGetMidX(self.frame);\n}\n\n- (CGFloat)getMaxX {\n    return CGRectGetMaxX(self.frame);\n}\n\n- (CGFloat)getWidth {\n    return CGRectGetWidth(self.frame);\n}\n\n- (CGFloat)getHeight {\n    return CGRectGetHeight(self.frame);\n}\n\n@end\n"
  },
  {
    "path": "CKMeiTuanShopView/CKMeiTuanShopView/Cell/ReserveEvluateCell.h",
    "content": "//\n//  ReserveEvluateCell.h\n//  AppPark\n//\n//  Created by 池康 on 2017/12/14.\n//\n\n#import <UIKit/UIKit.h>\n#import \"EvaluateModel.h\"\n\n@protocol ReserveEvluateCellDelegate;\n@interface ReserveEvluateCell : UITableViewCell\n/**\n 头像\n */\n@property (nonatomic , strong) UIImageView *headImgView;\n/**\n 用户名称\n */\n@property (nonatomic , strong) UILabel *userNameLab;\n/**\n 评论时间\n */\n@property (nonatomic , strong) UILabel *timeLab;\n/**\n 酒店套房类型\n */\n@property (nonatomic , strong) UILabel *roomTypeLab;\n/**\n 评价分数\n */\n@property (nonatomic , strong) UILabel *gradeLab;\n/**\n 评论内容\n */\n@property (nonatomic , strong) UILabel *contentLab;\n/**\n 图片视图\n */\n@property (nonatomic , strong) UIView *photoView;\n/**\n 图标\n */\n@property (nonatomic , strong) UIImageView *topImgView;\n\n/**\n 酒店回复视图\n */\n@property (nonatomic , strong) UIView *replyView;\n/**\n 酒店回复\n */\n@property (nonatomic , strong) UILabel *replyLab;\n/**\n 底部的线\n */\n@property (nonatomic , strong) UILabel *lineLab;\n\n@property (nonatomic , weak) id <ReserveEvluateCellDelegate >delegate;\n\n@property (nonatomic , strong)EvaluateModel *model;\n\n/**\n 1:代表店铺优化的评价\n */\n@property (nonatomic , assign) NSInteger cellType;\n\n@end\n\n\n@protocol ReserveEvluateCellDelegate <NSObject>\n\n@optional\n\n- (void)didSelectedPhotoView:(ReserveEvluateCell *)cell withImgIndex:(NSInteger)index;\n\n@end\n"
  },
  {
    "path": "CKMeiTuanShopView/CKMeiTuanShopView/Cell/ReserveEvluateCell.m",
    "content": "//\n//  ReserveEvluateCell.m\n//  AppPark\n//\n//  Created by 池康 on 2017/12/14.\n//\n\n#import \"ReserveEvluateCell.h\"\n\n@implementation ReserveEvluateCell\n\n- (void)awakeFromNib {\n    [super awakeFromNib];\n    // Initialization code\n}\n\n\n- (id)initWithStyle:(UITableViewCellStyle)style reuseIdentifier:(NSString *)reuseIdentifier\n{\n    self = [super initWithStyle:style reuseIdentifier:reuseIdentifier];\n    if (self) {\n        self.clipsToBounds = YES;\n        //头像\n        _headImgView = [[UIImageView alloc]initWithFrame:CGRectMake(10, 22, 24, 24)];\n        _headImgView.image = [[UIImage imageNamed:@\"icon_user\"] drawCircularIconWithSize:CGSizeMake(22, 22) withRadius:12];\n        [self.contentView addSubview:_headImgView];\n        //用户名称\n        _userNameLab = [UITool createLabelWithFrame:CGRectMake(44, 18, 200, 18) backgroundColor:[UIColor clearColor] textColor:kColor_darkBlackColor textSize:14 alignment:NSTextAlignmentLeft lines:1];\n        _userNameLab.text = @\"hahahahaha\";\n        [self.contentView addSubview:_userNameLab];\n        //时间\n        _timeLab = [UITool createLabelWithFrame:CGRectMake(44, 36, kScreenWidth-80, 14) backgroundColor:[UIColor clearColor] textColor:kColor_GrayColor textSize:12 alignment:NSTextAlignmentLeft lines:1];\n        _timeLab.text = @\"2017/09/02    厨房清洁 | 上门服务\";\n        [self.contentView addSubview:_timeLab];\n        \n        //分数\n        UIImageView *icon_scoring = [[UIImageView alloc]initWithImage:kImage_Name(@\"icon-scoring\")];\n        icon_scoring.frame = CGRectMake(kScreenWidth-37, -1, 27, 24);\n        [self.contentView addSubview:icon_scoring];\n        \n        _gradeLab = [UITool createLabelWithFrame:CGRectMake(kScreenWidth-37, -1, 27, 17) backgroundColor:[UIColor clearColor] textColor:[UIColor whiteColor] textSize:12 alignment:NSTextAlignmentCenter lines:1];\n        _gradeLab.text = @\"5.0\";\n        [self.contentView addSubview:_gradeLab];\n        \n        //评论内容\n        NSString *str = @\"非常好，干净，地理位置好。附近很安静，适合散步。离宝能太古城很近，电视节目也很多。\";\n        CGSize size = [AppMethods sizeWithFont:[UIFont systemFontOfSize:14] Str:str withMaxWidth:kScreenWidth-54];\n        _contentLab = [UITool createLabelWithFrame:CGRectMake(44, _timeLab.maxY+10, kScreenWidth-54, size.height+3) backgroundColor:[UIColor clearColor] textColor:kColor_darkBlackColor textSize:14 alignment:NSTextAlignmentLeft lines:0];\n        _contentLab.text = str;\n        [self.contentView addSubview:_contentLab];\n        \n        _photoView = [[UIView alloc]initWithFrame:CGRectMake(44, _contentLab.maxY+6, kScreenWidth-54, 0)];\n        _photoView.userInteractionEnabled = YES;\n        [self.contentView addSubview:_photoView];\n        \n        //回复内容\n        _replyView = [[UIView alloc]initWithFrame:CGRectMake(44, _photoView.maxY+20, kScreenWidth-54,0)];\n        _replyView.clipsToBounds = YES;\n        _replyView.backgroundColor = kColor_bgViewColor;\n        [self.contentView addSubview:_replyView];\n        _replyLab = [UITool createLabelWithFrame:CGRectMake(10, 10, _replyView.width-20,0) backgroundColor:kColor_bgViewColor textColor:UIColorFromRGB(0x878787) textSize:14 alignment:NSTextAlignmentLeft lines:0];\n        [_replyView addSubview:_replyLab];\n        \n        //图标\n        _topImgView = [[UIImageView alloc]initWithImage:[UIImage imageNamed:@\"arrow_top\"]];\n        _topImgView.frame = CGRectMake(44+30, _replyView.minY-8, 15, 8);\n        _topImgView.hidden = YES;\n        [self.contentView addSubview:_topImgView];\n        \n    \n        _lineLab = [UITool lineLabWithFrame:CGRectMake(10, _replyLab.maxY + 10, kScreenWidth-10, 1)];\n        _lineLab.backgroundColor = kColor_bgHeaderViewColor;\n        [self.contentView addSubview:_lineLab];\n    }\n    return self;\n    \n}\n\n//重新布置\n- (void)layoutSubviews\n{\n    \n}\n\n\n- (void)setModel:(EvaluateModel *)model\n{\n    \n    _model = model;\n    _gradeLab.text = [NSString stringWithFormat:@\"%@\",model.totalScore];\n    _topImgView.hidden = YES;\n    _photoView.hidden = YES;\n    _replyView.hidden = YES;\n    _gradeLab.text = [NSString stringWithFormat:@\"%.1f\",[model.totalScore floatValue]];\n    [_headImgView sd_setImageWithURL:[NSURL URLWithString:model.memberHeadUrl] placeholderImage:[UIImage imageNamed:@\"icon_user\"] completed:^(UIImage *image, NSError *error, SDImageCacheType cacheType, NSURL *imageURL) {\n        _headImgView.image = [image drawCircularIconWithSize:CGSizeMake(24, 24) withRadius:12];\n    }];\n    \n    _userNameLab.text = model.memberName;\n    _timeLab.text = [NSString stringWithFormat:@\"%@    %@\",model.commTime,model.regular];\n    if (self.cellType == 1) {\n       _timeLab.text = [NSString stringWithFormat:@\"%@\",model.commTime];\n    }\n    //评论内容\n    NSString *commContent = [NSString jsonUtils:model.commContent];\n    CGSize commContentSzie = [AppMethods sizeWithFont:[UIFont systemFontOfSize:14] Str:commContent withMaxWidth:kScreenWidth-54];\n    _contentLab.text = commContent;\n    \n    \n    //\n    //是否有图片\n    NSArray *picList = model.picList;\n    \n    if (commContent.length == 0) {\n        [_contentLab setChangeHeight:0];\n        _photoView.mj_y = _contentLab.maxY ;\n    }else{\n        [_contentLab setChangeHeight:commContentSzie.height];\n        _photoView.mj_y = _contentLab.maxY+ 6 ;\n    }\n\n    //删除所有图片子视图\n    for (UIView *subViews in _photoView.subviews) {\n        [subViews removeFromSuperview];\n    }\n    if (picList.count > 0) {\n        _photoView.hidden = NO;\n        // 图片宽和高\n        CGFloat pgotoW = 80;\n        //有图片\n        if (picList.count <=3) {\n            //小于等于三张\n            [_photoView setChangeHeight:pgotoW];\n            \n        }else if (picList.count > 3 && picList.count<=6){\n            //小于等于6张大于三张\n            [_photoView setChangeHeight:pgotoW + pgotoW + 4];\n        }else{\n            //大于6张，小于等于9张\n            [_photoView setChangeHeight:pgotoW + pgotoW + pgotoW + 4 + 4];\n        }\n        \n        for (int i = 0; i<picList.count; i++) {\n            \n            UIImageView *photoImgView = [[UIImageView alloc]init];\n            photoImgView.frame = CGRectMake((pgotoW+4)*(i%3), (pgotoW+4) *(i/3), pgotoW, pgotoW);\n            [photoImgView sd_setImageWithURL:[NSURL URLWithString:picList[i][@\"picUrl\"]] placeholderImage:[UIImage imageNamed:@\"thumb\"]];\n            photoImgView.tag = i + 1;\n            photoImgView.userInteractionEnabled = YES;\n            UITapGestureRecognizer *tap = [[UITapGestureRecognizer alloc]initWithTarget:self action:@selector(tapPhotoClick:)];\n            [photoImgView addGestureRecognizer:tap];\n            [_photoView addSubview:photoImgView];\n        }\n    }else{\n        //没图片\n        [_photoView setChangeHeight:0];\n    }\n    \n    //是否商家回复了\n    NSString *replyContent = [NSString stringWithFormat:@\"商家回复:%@\",[NSString jsonUtils:model.replyContent]];\n    if (replyContent.length > 5) {\n        //有回复\n        if (picList.count == 0) {\n            _replyView.mj_y = _contentLab.maxY + 20;\n        }else{\n            _replyView.mj_y = _photoView.maxY + 20;\n        }\n        _topImgView.hidden = NO;\n        _replyView.hidden = NO;\n        CGSize replyContentSzie = [AppMethods sizeWithFont:[UIFont systemFontOfSize:14] Str:replyContent withMaxWidth:kScreenWidth-74];\n        [_replyLab setChangeHeight:replyContentSzie.height];\n        [_replyView setChangeHeight:_replyLab.height + 20];\n        _topImgView.mj_y = _replyView.minY-8;\n        \n        NSMutableAttributedString *replyStr = [AppDefaultUtil returnStringColor:replyContent rang:NSMakeRange(5, replyContent.length-5) color:kColor_ReplyColor];\n        _replyLab.attributedText = replyStr;\n    }else\n    {\n        _topImgView.hidden = YES;\n        _replyView.hidden = YES;\n        [_replyView setChangeHeight:0];\n    }\n    \n    _lineLab.mj_y = model.cellHeight - 1;\n}\n\n#pragma mark -控制方法\n- (void)btnClick:(UIButton *)btn\n{\n    \n}\n\n\n- (void)tapPhotoClick:(UITapGestureRecognizer *)tap\n{\n    \n    NSInteger tag = tap.view.tag;\n    if ([self.delegate respondsToSelector:@selector(didSelectedPhotoView:withImgIndex:)]) {\n        [self.delegate didSelectedPhotoView:self withImgIndex:tag];\n    }\n}\n\n\n- (void)setSelected:(BOOL)selected animated:(BOOL)animated {\n    [super setSelected:selected animated:animated];\n\n    // Configure the view for the selected state\n}\n\n@end\n"
  },
  {
    "path": "CKMeiTuanShopView/CKMeiTuanShopView/Cell/TakeawayProductCardCell.h",
    "content": "//\n//  TakeawayProductCardCell.h\n//  AppPark\n//\n//  Created by 池康 on 2018/7/16.\n//\n\n#import <UIKit/UIKit.h>\n\n@interface TakeawayProductCardCell : UITableViewCell\n\n/// 产品图\n@property (nonatomic,strong) UIImageView *productImgView;\n/// 产品标题\n@property (nonatomic,strong) UILabel *productNameLabel;\n/// 月售\n@property (nonatomic,strong) UILabel *monthlySaleLabel;\n/// 赞\n@property (nonatomic,strong) UILabel *fabulousCountLabel;\n/// 价格\n@property (nonatomic,strong) UILabel *priceLabel;\n/// 辣度背景\n@property (nonatomic,strong) UIView *spicypBgView;\n/// 原价\n@property (nonatomic,strong) UILabel *originalPriceLabel;\n/// 折扣\n@property (nonatomic,strong) UILabel *discountLabel;\n\n/// 网友最爱，新品等产品类型\n@property (nonatomic,strong) UIImageView *classImgView;\n\n@property (nonatomic,strong) UIView *lineView;\n\n/// 添加按钮\n@property (nonatomic,strong) UIButton *addBT;\n/// 数量\n@property (nonatomic,strong) UILabel *countLab;\n/// 减少按钮\n@property (nonatomic,strong) UIButton *reduceBT;\n/// 选规格\n@property (nonatomic,strong) UIButton *specificationBT;\n/// 售罄 or  非可售时间\n@property (nonatomic,strong) UILabel *sellOutLab;\n/// ⚠️图标\n@property (nonatomic,strong) UIImageView *warningIcon;\n@end\n"
  },
  {
    "path": "CKMeiTuanShopView/CKMeiTuanShopView/Cell/TakeawayProductCardCell.m",
    "content": "//\n//  TakeawayProductCardCell.m\n//  AppPark\n//\n//  Created by 池康 on 2018/7/16.\n//\n\n#import \"TakeawayProductCardCell.h\"\n@interface TakeawayProductCardCell()\n{\n    NSInteger  _count;//数据\n}\n@end\n\n@implementation TakeawayProductCardCell\n\n- (void)awakeFromNib {\n    [super awakeFromNib];\n    // Initialization code\n}\n\n- (instancetype)initWithStyle:(UITableViewCellStyle)style reuseIdentifier:(NSString *)reuseIdentifier\n{\n    if (self=[super initWithStyle:style reuseIdentifier:reuseIdentifier]) {\n        [self setupViews];\n    }\n    return self;\n}\n\n- (void)setupViews\n{\n    _count = 0;\n    _productImgView = [[UIImageView alloc] init];\n    [self.contentView addSubview:_productImgView];\n    _productImgView.image = [UIImage imageNamed:@\"food\"];\n    [_productImgView mas_makeConstraints:^(MASConstraintMaker *make) {\n        make.left.mas_equalTo(10);\n        make.top.mas_equalTo(10);\n        make.right.mas_equalTo(-10);\n        make.height.mas_equalTo(4.0*(takeawayRight_W-20)/7);\n    }];\n    \n    //标记\n    //lab_np@3x:新品，lab_like@2x：网友最爱，lab_red@2x：老板推荐，lab_sie@2x：招牌，\n    _classImgView = [[UIImageView alloc] init];\n    _classImgView.image = kImage_Name(@\"lab_like\");\n    [self.contentView addSubview: _classImgView];\n    [ _classImgView mas_makeConstraints:^(MASConstraintMaker *make) {\n        make.left.mas_equalTo(_productImgView);\n        make.top.mas_equalTo(_productImgView.mas_bottom).offset(7);\n        make.height.mas_equalTo(14);\n        make.width.mas_equalTo(_classImgView.image.size.width);\n    }];\n    \n    //lab_np@3x:新品，lab_like@2x：网友最爱，lab_red@2x：老板推荐，lab_sie@2x：招牌，\n    NSMutableAttributedString *str = [AppDefaultUtil returnLineSpacingWithStr:@\"            这里是标题20字以内，最多两行，这里是标题20字以内，最多两行\" withLineSpacing:4 withTextAlignmentCenter:NSTextAlignmentLeft];\n    CGSize size = [AppMethods sizeAttributedWithFont:kFont(14) Str:str withMaxWidth:takeawayRight_W-20];\n    CGFloat height = 20;\n    if (size.height > 20) {\n        height = 40;\n    }\n    _productNameLabel = [[UILabel alloc] init];\n    _productNameLabel.attributedText = str;\n    _productNameLabel.textColor = RGBA(51, 51, 51, 1);\n    _productNameLabel.font = kFont(14);\n    _productNameLabel.numberOfLines = 2;\n    [self.contentView addSubview:_productNameLabel];\n    [_productNameLabel mas_makeConstraints:^(MASConstraintMaker *make) {\n        make.left.mas_offset(10);\n        make.top.mas_equalTo(_productImgView.mas_bottom).offset(4);\n        make.right.mas_equalTo(-10);\n        make.height.mas_equalTo(height);\n    }];\n    \n    _monthlySaleLabel = [[UILabel alloc] init];\n    _monthlySaleLabel.text = @\"月售121\";\n    _monthlySaleLabel.font = kFontNameSize(10);\n    _monthlySaleLabel.textColor = RGB(102, 102, 102);\n    [self.contentView addSubview:_monthlySaleLabel];\n    [_monthlySaleLabel mas_makeConstraints:^(MASConstraintMaker *make) {\n        make.left.mas_equalTo(_productNameLabel);\n        make.top.mas_equalTo(_productNameLabel.mas_bottom).offset(8);\n        make.height.mas_equalTo(10);\n    }];\n    \n    UIView *lineView = [[UIView alloc] init];\n    lineView.backgroundColor = RGB(226, 226, 226);\n    [self.contentView addSubview:lineView];\n    [lineView mas_makeConstraints:^(MASConstraintMaker *make) {\n        make.left.mas_equalTo(_monthlySaleLabel.mas_right).offset(6);\n        make.centerY.mas_equalTo(_monthlySaleLabel);\n        make.width.mas_equalTo(1);\n        make.height.mas_equalTo(6);\n    }];\n    \n    _fabulousCountLabel = [[UILabel alloc] init];\n    _fabulousCountLabel.text = @\"赞12\";\n    _fabulousCountLabel.font = kFontNameSize(10);\n    _fabulousCountLabel.textColor = RGB(102, 102, 102);\n    [self.contentView addSubview:_fabulousCountLabel];\n    [_fabulousCountLabel mas_makeConstraints:^(MASConstraintMaker *make) {\n        make.left.mas_equalTo(lineView.mas_right).offset(8);\n        make.centerY.mas_equalTo(lineView);\n    }];\n    \n    _spicypBgView = [[UIView alloc] init];\n    _spicypBgView.backgroundColor = [UIColor clearColor];\n    [self.contentView addSubview:_spicypBgView];\n    [_spicypBgView mas_makeConstraints:^(MASConstraintMaker *make) {\n        make.left.mas_equalTo(_fabulousCountLabel.mas_right).offset(5);\n        make.centerY.mas_equalTo(_fabulousCountLabel);\n        make.height.mas_equalTo(10);\n        make.width.mas_equalTo(4+2+4+2+4);\n    }];\n    \n    for (NSInteger i = 0; i < 3; i ++) {\n        UIImageView *starImgView = [[UIImageView alloc] initWithFrame:CGRectMake(i * 6, 0, 4, 10)];\n        starImgView.image = [UIImage imageNamed:@\"icon_chili\"];\n        \n        [_spicypBgView addSubview:starImgView];\n    }\n    \n    //优惠后的价格\n    _priceLabel = [[UILabel alloc] init];\n    _priceLabel.text = @\"¥28\";\n    _priceLabel.font = kFontNameSize(14);\n    _priceLabel.textColor = RGB(246, 90, 66);\n    [self.contentView addSubview: _priceLabel];\n    [ _priceLabel mas_makeConstraints:^(MASConstraintMaker *make) {\n        make.left.mas_equalTo(_productNameLabel);\n        make.top.mas_equalTo(_productImgView.mas_bottom).offset(76);\n        make.height.mas_equalTo(14);\n    }];\n    \n    _originalPriceLabel = [[UILabel alloc] init];\n    _originalPriceLabel.font = kFontNameSize(12);\n    _originalPriceLabel.textColor = RGB(153, 153, 153);\n    NSString *oldPrice = @\"¥12\";\n    NSMutableAttributedString *attri = [_originalPriceLabel addDeletingLineWithText:oldPrice deletingLinecolor:RGB(153, 153, 153)];\n    [_originalPriceLabel setAttributedText:attri];\n    [self.contentView addSubview: _originalPriceLabel];\n    [ _originalPriceLabel mas_makeConstraints:^(MASConstraintMaker *make) {\n        make.left.mas_equalTo(_priceLabel.mas_right).offset(6);\n        make.centerY.mas_equalTo(_priceLabel);\n        make.height.mas_equalTo(14);\n    }];\n    \n    UIImageView *discountImgView = [[UIImageView alloc] init];\n    discountImgView.image = [UIImage imageNamed:@\"icon_dit\"];\n    [self.contentView addSubview:discountImgView];\n    [discountImgView mas_makeConstraints:^(MASConstraintMaker *make) {\n        make.left.mas_equalTo(_originalPriceLabel.mas_right).offset(5);\n        make.centerY.mas_equalTo(_originalPriceLabel);\n        make.top.mas_equalTo(_originalPriceLabel);\n        make.width.height.mas_equalTo(8);\n    }];\n    \n    _discountLabel = [[UILabel alloc] init];\n    _discountLabel.text = @\"9折\";\n    _discountLabel.font = kFontNameSize(11);\n    _discountLabel.textColor = RGB(253, 143, 51);\n    [self.contentView addSubview: _discountLabel];\n    [ _discountLabel mas_makeConstraints:^(MASConstraintMaker *make) {\n        make.left.mas_equalTo(discountImgView.mas_right).offset(6);\n        make.centerY.mas_equalTo(discountImgView);\n    }];\n    \n    //添加按钮\n    _addBT = [UIButton buttonWithType:UIButtonTypeCustom];\n    [_addBT addTarget:self action:@selector(btnClick:) forControlEvents:UIControlEventTouchUpInside];\n    [_addBT setImage:kImage_Name(@\"but_add_yellow\") forState:UIControlStateNormal];\n    [_addBT setImage:kImage_Name(@\"but_add_yellow\") forState:UIControlStateHighlighted];\n    _addBT.backgroundColor = [UIColor redColor];\n    [self.contentView addSubview:_addBT];\n    _addBT.tag = 1;\n    [_addBT mas_makeConstraints:^(MASConstraintMaker *make) {\n        make.right.mas_offset(-10);\n        make.width.height.mas_offset(22);\n        make.top.mas_equalTo(_productImgView.mas_bottom).offset(68);\n    }];\n    //数量\n    _countLab = [[UILabel alloc] init];\n    _countLab.font = kFontNameSize(14);\n    _countLab.textColor = RGBA(51, 51, 51, 1);\n    _countLab.text = @\"11\";\n    _countLab.textAlignment = NSTextAlignmentCenter;\n    _countLab.adjustsFontSizeToFitWidth = YES;\n    [self.contentView addSubview: _countLab];\n    [_countLab mas_makeConstraints:^(MASConstraintMaker *make) {\n        make.centerY.mas_equalTo(_addBT);\n        make.right.mas_equalTo(_addBT.mas_left).offset(0);\n        make.width.mas_offset(26);\n    }];\n    \n    //    //减少按钮\n    _reduceBT = [UIButton buttonWithType:UIButtonTypeCustom];\n    [_reduceBT addTarget:self action:@selector(btnClick:) forControlEvents:UIControlEventTouchUpInside];\n    [_reduceBT setImage:kImage_Name(@\"but_reduce\") forState:UIControlStateNormal];\n    [_reduceBT setImage:kImage_Name(@\"but_reduce\") forState:UIControlStateHighlighted];\n    _reduceBT.backgroundColor = [UIColor redColor];\n    [self.contentView addSubview:_reduceBT];\n    _reduceBT.tag = 2;\n    [_reduceBT mas_makeConstraints:^(MASConstraintMaker *make) {\n        make.centerY.mas_equalTo(_addBT);\n        make.right.mas_equalTo(_countLab.mas_left).offset(0);\n        make.width.height.mas_offset(22);\n    }];\n    \n    //选规格\n    _specificationBT = [UIButton buttonWithType:UIButtonTypeCustom];\n    [_specificationBT addTarget:self action:@selector(btnClick:) forControlEvents:UIControlEventTouchUpInside];\n    [_specificationBT setBackgroundImage:kImage_Name(@\"but_spn_yellow\") forState:UIControlStateNormal];\n    [_specificationBT setBackgroundImage:kImage_Name(@\"but_spn_yellow\") forState:UIControlStateHighlighted];\n    _specificationBT.backgroundColor = [UIColor redColor];\n    [_specificationBT setTitle:@\"选规格\" forState:UIControlStateNormal];\n    [_specificationBT setTitleColor:[UIColor whiteColor] forState:UIControlStateNormal];\n    _specificationBT.titleLabel.font = kFontNameSize(12);\n    [self.contentView addSubview:_specificationBT];\n    _specificationBT.tag = 3;\n    [_specificationBT mas_makeConstraints:^(MASConstraintMaker *make) {\n        make.top.mas_equalTo(_productImgView.mas_bottom).offset(68);\n        make.right.mas_offset(-10);\n        make.height.mas_offset(22);\n        make.width.mas_offset(48);\n    }];\n    \n    //售罄\n    _sellOutLab = [[UILabel alloc] init];\n    _sellOutLab.font = kFontNameSize(12);\n    _sellOutLab.textColor = kColor_GrayColor;\n    _sellOutLab.text = @\"非可售时间\";//非可售时间,售罄\n    _sellOutLab.textAlignment = NSTextAlignmentLeft;\n    [self.contentView addSubview: _sellOutLab];\n    [_sellOutLab mas_makeConstraints:^(MASConstraintMaker *make) {\n        make.centerY.mas_equalTo(_priceLabel);\n        make.right.mas_offset(-10);\n    }];\n    \n    //非可售时间\n    _warningIcon = [[UIImageView alloc]init];\n    _warningIcon.image = kImage_Name(@\"icon_info_gray\");\n    [self.contentView addSubview:_warningIcon];\n    [_warningIcon mas_makeConstraints:^(MASConstraintMaker *make) {\n        make.centerY.mas_equalTo(_priceLabel);\n        make.width.height.mas_offset(16);\n        make.right.mas_equalTo(_sellOutLab.mas_left).offset(-2);\n    }];\n    \n    //    _addBT.hidden           = YES;\n    _countLab.hidden        = YES;\n    _reduceBT.hidden        = YES;\n    _specificationBT.hidden = YES;\n    _sellOutLab.hidden      = YES;\n    _warningIcon.hidden     = YES;\n}\n\n- (void)btnClick:(UIButton *)button\n{\n    switch (button.tag) {\n        case 1:\n        {//增加\n            DMLog(@\"增加---------\");\n            _count++;\n            if (_count >= 1) {\n                _countLab.hidden        = NO;\n                _reduceBT.hidden        = NO;\n            }\n            _countLab.text = [NSString stringWithFormat:@\"%ld\",_count];\n        }\n            break;\n        case 2:\n        {//减少\n            DMLog(@\"减少---------\");\n            _count--;\n            if (_count <= 0) {\n                _countLab.hidden        = YES;\n                _reduceBT.hidden        = YES;\n            }\n            _countLab.text = [NSString stringWithFormat:@\"%ld\",_count];\n        }\n            break;\n        case 3:\n        {//选规格\n            DMLog(@\"选规格---------\");\n        }\n            break;\n            \n        default:\n            break;\n    }\n}\n\n- (void)setSelected:(BOOL)selected animated:(BOOL)animated {\n    [super setSelected:selected animated:animated];\n\n    // Configure the view for the selected state\n}\n\n@end\n"
  },
  {
    "path": "CKMeiTuanShopView/CKMeiTuanShopView/Cell/TakeawayProductCollectionCell.h",
    "content": "//\n//  TakeawayProductCollectionCell.h\n//  AppPark\n//\n//  Created by 池康 on 2018/7/16.\n//\n\n#import <UIKit/UIKit.h>\n#import \"ShoppingCartOrderListInfo.h\"\n@interface TakeawayProductCollectionCell : UICollectionViewCell\n\n\n/// 产品图\n@property (nonatomic,strong) UIImageView *productImgView;\n/// 产品标题\n@property (nonatomic,strong) UILabel *productNameLabel;\n/// 月售\n@property (nonatomic,strong) UILabel *monthlySaleLabel;\n/// 赞\n@property (nonatomic,strong) UILabel *fabulousCountLabel;\n/// 价格\n@property (nonatomic,strong) UILabel *priceLabel;\n/// 辣度背景\n@property (nonatomic,strong) UIView *spicypBgView;\n/// 原价\n@property (nonatomic,strong) UILabel *originalPriceLabel;\n/// 折扣\n@property (nonatomic,strong) UILabel *discountLabel;\n\n/// 网友最爱，新品等产品类型标签\n@property (nonatomic,strong)  UILabel *classLabel;\n\n@property (nonatomic,strong) UIView *lineView;\n\n/// 添加按钮\n@property (nonatomic,strong) UIButton *addBT;\n/// 数量\n@property (nonatomic,strong) UILabel *countLab;\n/// 减少按钮\n@property (nonatomic,strong) UIButton *reduceBT;\n/// 选规格\n@property (nonatomic,strong) UIButton *specificationBT;\n/// 售罄 or  非可售时间\n@property (nonatomic,strong) UILabel *sellOutLab;\n/// 图标\n@property (nonatomic,strong) UIImageView *warningIcon;\n\n/// 增加减少订单数量 需不需要动画效果\n@property (copy, nonatomic) void (^plusBlock)(NSInteger count,BOOL animated);\n\n-(void)setmaintablecell:(ShoppingCartOrderListInfo *)model;\n\n@end\n"
  },
  {
    "path": "CKMeiTuanShopView/CKMeiTuanShopView/Cell/TakeawayProductCollectionCell.m",
    "content": "//\n//  TakeawayProductCollectionCell.m\n//  AppPark\n//\n//  Created by 池康 on 2018/7/16.\n//\n\n#import \"TakeawayProductCollectionCell.h\"\n\n@interface TakeawayProductCollectionCell()\n{\n    NSUInteger  _count;//数据\n}\n@end\n\n@implementation TakeawayProductCollectionCell\n\n- (id)initWithFrame:(CGRect)frame\n{\n    self = [super initWithFrame:frame];\n    if (self) {\n        [self setupViews];\n    }\n    return self;\n}\n\n- (void)setupViews\n{\n    _count = 0;\n    _productImgView = [[UIImageView alloc] init];\n    [self.contentView addSubview:_productImgView];\n    _productImgView.image = [UIImage imageNamed:@\"food\"];\n    [_productImgView mas_makeConstraints:^(MASConstraintMaker *make) {\n        make.left.mas_equalTo(0);\n        make.top.mas_equalTo(0);\n        make.right.mas_equalTo(0);\n        make.height.mas_equalTo(_productImgView.mas_width);\n    }];\n    \n    //标记\n    //lab_np@3x:新品，lab_like@2x：网友最爱，lab_red@2x：老板推荐，lab_sie@2x：招牌，\n    _classLabel = [[UILabel alloc] init];\n    _classLabel.text = @\"老板推荐 \";\n    _classLabel.textColor = [UIColor whiteColor];\n    _classLabel.font = kFont(12);\n    _classLabel.textAlignment = NSTextAlignmentCenter;\n    _classLabel.backgroundColor = RGB(253, 143, 51);\n    [self.contentView addSubview: _classLabel];\n    [ _classLabel mas_makeConstraints:^(MASConstraintMaker *make) {\n        make.left.mas_equalTo(_productImgView);\n        make.top.mas_equalTo(_productImgView);\n        make.height.mas_equalTo(18);\n    }];\n    \n    //lab_np@3x:新品，lab_like@2x：网友最爱，lab_red@2x：老板推荐，lab_sie@2x：招牌，\n    NSMutableAttributedString *str = [AppDefaultUtil returnLineSpacingWithStr:@\"这里是标题20字以内，最多两行，这里是标题20字以内，最多两行\" withLineSpacing:4 withTextAlignmentCenter:NSTextAlignmentLeft];\n    CGSize size = [AppMethods sizeAttributedWithFont:kFont(14) Str:str withMaxWidth:takeawayRight_W-20];\n    CGFloat height = 20;\n    if (size.height > 20) {\n        height = 40;\n    }\n    _productNameLabel = [[UILabel alloc] init];\n    _productNameLabel.attributedText = str;\n    _productNameLabel.textColor = RGBA(51, 51, 51, 1);\n    _productNameLabel.font = kFont(14);\n    _productNameLabel.numberOfLines = 2;\n    [self.contentView addSubview:_productNameLabel];\n    [_productNameLabel mas_makeConstraints:^(MASConstraintMaker *make) {\n        make.left.mas_offset(0);\n        make.top.mas_equalTo(_productImgView.mas_bottom).offset(7);\n        make.right.mas_equalTo(0);\n        make.height.mas_equalTo(height);\n    }];\n    \n    _monthlySaleLabel = [[UILabel alloc] init];\n    _monthlySaleLabel.text = @\"月售121\";\n    _monthlySaleLabel.font = kFontNameSize(10);\n    _monthlySaleLabel.textColor = RGB(102, 102, 102);\n    [self.contentView addSubview:_monthlySaleLabel];\n    [_monthlySaleLabel mas_makeConstraints:^(MASConstraintMaker *make) {\n        make.left.mas_equalTo(_productNameLabel);\n        make.top.mas_equalTo(_productNameLabel.mas_bottom).offset(8);\n        make.height.mas_equalTo(10);\n    }];\n    \n    UIView *lineView = [[UIView alloc] init];\n    lineView.backgroundColor = RGB(226, 226, 226);\n    [self.contentView addSubview:lineView];\n    [lineView mas_makeConstraints:^(MASConstraintMaker *make) {\n        make.left.mas_equalTo(_monthlySaleLabel.mas_right).offset(6);\n        make.centerY.mas_equalTo(_monthlySaleLabel);\n        make.width.mas_equalTo(1);\n        make.height.mas_equalTo(6);\n    }];\n    \n    _fabulousCountLabel = [[UILabel alloc] init];\n    _fabulousCountLabel.text = @\"赞12\";\n    _fabulousCountLabel.font = kFontNameSize(10);\n    _fabulousCountLabel.textColor = RGB(102, 102, 102);\n    [self.contentView addSubview:_fabulousCountLabel];\n    [_fabulousCountLabel mas_makeConstraints:^(MASConstraintMaker *make) {\n        make.left.mas_equalTo(lineView.mas_right).offset(8);\n        make.centerY.mas_equalTo(lineView);\n    }];\n    \n    _spicypBgView = [[UIView alloc] init];\n    _spicypBgView.backgroundColor = [UIColor clearColor];\n    [self.contentView addSubview:_spicypBgView];\n    [_spicypBgView mas_makeConstraints:^(MASConstraintMaker *make) {\n        make.left.mas_equalTo(_fabulousCountLabel.mas_right).offset(5);\n        make.centerY.mas_equalTo(_fabulousCountLabel);\n        make.height.mas_equalTo(10);\n        make.width.mas_equalTo(4+2+4+2+4);\n    }];\n    \n    for (NSInteger i = 0; i < 3; i ++) {\n        UIImageView *starImgView = [[UIImageView alloc] initWithFrame:CGRectMake(i * 6, 0, 4, 10)];\n        starImgView.image = [UIImage imageNamed:@\"icon_chili\"];\n        \n        [_spicypBgView addSubview:starImgView];\n    }\n    \n    //优惠后的价格\n    _priceLabel = [[UILabel alloc] init];\n    _priceLabel.text = @\"¥28\";\n    _priceLabel.font = kFontNameSize(14);\n    _priceLabel.textColor = RGB(246, 90, 66);\n    [self.contentView addSubview: _priceLabel];\n    [ _priceLabel mas_makeConstraints:^(MASConstraintMaker *make) {\n        make.left.mas_equalTo(_productNameLabel);\n        make.top.mas_equalTo(_productImgView.mas_bottom).offset(73);\n        make.height.mas_equalTo(14);\n    }];\n    \n    //优惠活动视图\n    UIView *activityView = [[UIView alloc]init];\n    activityView.backgroundColor = RGB(244, 90, 66);\n    [self.contentView addSubview:activityView];\n    [activityView mas_makeConstraints:^(MASConstraintMaker *make) {\n        make.left.mas_equalTo(_productImgView);\n        make.width.mas_equalTo(_productImgView);\n        make.bottom.mas_equalTo(_productImgView);\n        make.height.mas_offset(24);\n    }];\n    \n    _originalPriceLabel = [[UILabel alloc] init];\n    _originalPriceLabel.font = kFontNameSize(12);\n    _originalPriceLabel.textColor = [UIColor whiteColor];;\n    NSString *oldPrice = @\"¥12\";\n    NSMutableAttributedString *attri = [_originalPriceLabel addDeletingLineWithText:oldPrice deletingLinecolor:[UIColor whiteColor]];\n    [_originalPriceLabel setAttributedText:attri];\n    [activityView addSubview: _originalPriceLabel];\n    [ _originalPriceLabel mas_makeConstraints:^(MASConstraintMaker *make) {\n        make.centerY.mas_equalTo(activityView);\n        make.height.mas_equalTo(14);\n        make.right.mas_offset(-10);\n    }];\n    \n    UIImageView *discountImgView = [[UIImageView alloc] init];\n    discountImgView.image = [UIImage imageNamed:@\"icon_dit_white\"];\n    [activityView addSubview:discountImgView];\n    [discountImgView mas_makeConstraints:^(MASConstraintMaker *make) {\n        make.left.mas_offset(10);\n        make.centerY.mas_equalTo(activityView);\n        make.width.height.mas_equalTo(8);\n    }];\n    \n    _discountLabel = [[UILabel alloc] init];\n    _discountLabel.text = @\"9折\";\n    _discountLabel.font = kFontNameSize(11);\n    _discountLabel.textColor = [UIColor whiteColor];\n    [activityView addSubview: _discountLabel];\n    [ _discountLabel mas_makeConstraints:^(MASConstraintMaker *make) {\n        make.left.mas_equalTo(discountImgView.mas_right).offset(2);\n        make.centerY.mas_equalTo(discountImgView);\n    }];\n    \n    //添加按钮\n    _addBT = [UIButton buttonWithType:UIButtonTypeCustom];\n    [_addBT addTarget:self action:@selector(btnClick:) forControlEvents:UIControlEventTouchUpInside];\n    [_addBT setImage:kImage_Name(@\"but_add_yellow\") forState:UIControlStateNormal];\n    [_addBT setImage:kImage_Name(@\"but_add_yellow\") forState:UIControlStateHighlighted];\n    _addBT.backgroundColor = [UIColor redColor];\n    [self.contentView addSubview:_addBT];\n    _addBT.tag = 1;\n    [_addBT mas_makeConstraints:^(MASConstraintMaker *make) {\n        make.right.mas_offset(-10);\n        make.width.height.mas_offset(22);\n        make.top.mas_equalTo(_productImgView.mas_bottom).offset(68);\n    }];\n    //数量\n    _countLab = [[UILabel alloc] init];\n    _countLab.font = kFontNameSize(14);\n    _countLab.textColor = RGBA(51, 51, 51, 1);\n    _countLab.text = @\"11\";\n    _countLab.textAlignment = NSTextAlignmentCenter;\n    _countLab.adjustsFontSizeToFitWidth = YES;\n    [self.contentView addSubview: _countLab];\n    [_countLab mas_makeConstraints:^(MASConstraintMaker *make) {\n        make.centerY.mas_equalTo(_addBT);\n        make.right.mas_equalTo(_addBT.mas_left).offset(0);\n        make.width.mas_offset(26);\n    }];\n    \n    //    //减少按钮\n    _reduceBT = [UIButton buttonWithType:UIButtonTypeCustom];\n    [_reduceBT addTarget:self action:@selector(btnClick:) forControlEvents:UIControlEventTouchUpInside];\n    [_reduceBT setImage:kImage_Name(@\"but_reduce\") forState:UIControlStateNormal];\n    [_reduceBT setImage:kImage_Name(@\"but_reduce\") forState:UIControlStateHighlighted];\n    _reduceBT.backgroundColor = [UIColor redColor];\n    [self.contentView addSubview:_reduceBT];\n    _reduceBT.tag = 2;\n    [_reduceBT mas_makeConstraints:^(MASConstraintMaker *make) {\n        make.centerY.mas_equalTo(_addBT);\n        make.right.mas_equalTo(_countLab.mas_left).offset(0);\n        make.width.height.mas_offset(22);\n    }];\n    \n    //选规格\n    _specificationBT = [UIButton buttonWithType:UIButtonTypeCustom];\n    [_specificationBT addTarget:self action:@selector(btnClick:) forControlEvents:UIControlEventTouchUpInside];\n    [_specificationBT setBackgroundImage:kImage_Name(@\"but_spn_yellow\") forState:UIControlStateNormal];\n    [_specificationBT setBackgroundImage:kImage_Name(@\"but_spn_yellow\") forState:UIControlStateHighlighted];\n    _specificationBT.backgroundColor = [UIColor redColor];\n    [_specificationBT setTitle:@\"选规格\" forState:UIControlStateNormal];\n    [_specificationBT setTitleColor:[UIColor whiteColor] forState:UIControlStateNormal];\n    _specificationBT.titleLabel.font = kFontNameSize(12);\n    [self.contentView addSubview:_specificationBT];\n    _specificationBT.tag = 3;\n    [_specificationBT mas_makeConstraints:^(MASConstraintMaker *make) {\n        make.top.mas_equalTo(_productImgView.mas_bottom).offset(68);\n        make.right.mas_offset(-10);\n        make.height.mas_offset(22);\n        make.width.mas_offset(48);\n    }];\n    \n    //售罄\n    _sellOutLab = [[UILabel alloc] init];\n    _sellOutLab.font = kFontNameSize(12);\n    _sellOutLab.textColor = kColor_GrayColor;\n    _sellOutLab.text = @\"非可售时间\";//非可售时间,售罄\n    _sellOutLab.textAlignment = NSTextAlignmentLeft;\n    [self.contentView addSubview: _sellOutLab];\n    [_sellOutLab mas_makeConstraints:^(MASConstraintMaker *make) {\n        make.centerY.mas_equalTo(_priceLabel);\n        make.right.mas_offset(-10);\n    }];\n    \n    //非可售时间\n    _warningIcon = [[UIImageView alloc]init];\n    _warningIcon.image = kImage_Name(@\"icon_info_gray\");\n    [self.contentView addSubview:_warningIcon];\n    [_warningIcon mas_makeConstraints:^(MASConstraintMaker *make) {\n        make.centerY.mas_equalTo(_priceLabel);\n        make.width.height.mas_offset(16);\n        make.right.mas_equalTo(_sellOutLab.mas_left).offset(-2);\n    }];\n    \n    //    _addBT.hidden           = YES;\n    _countLab.hidden        = YES;\n    _reduceBT.hidden        = YES;\n    _specificationBT.hidden = YES;\n    _sellOutLab.hidden      = YES;\n    _warningIcon.hidden     = YES;\n}\n\n- (void)btnClick:(UIButton *)button\n{\n    switch (button.tag) {\n        case 1:\n        {//增加\n            DMLog(@\"增加---------\");\n            _count++;\n            if (_count >= 1) {\n                _countLab.hidden        = NO;\n                _reduceBT.hidden        = NO;\n            }\n            _countLab.text = [NSString stringWithFormat:@\"%ld\",_count];\n            \n            if (self.plusBlock) {\n                 self.plusBlock(_count,YES);\n            }\n        }\n            break;\n        case 2:\n        {//减少\n            DMLog(@\"减少---------\");\n            _count--;\n            if (_count <= 0) {\n                _countLab.hidden        = YES;\n                _reduceBT.hidden        = YES;\n            }\n            _countLab.text = [NSString stringWithFormat:@\"%ld\",_count];\n            \n            if (self.plusBlock) {\n                self.plusBlock(_count,NO);\n            }\n        }\n            break;\n        case 3:\n        {//选规格\n            DMLog(@\"选规格---------\");\n        }\n            break;\n            \n        default:\n            break;\n    }\n}\n\n\n- (void)setmaintablecell:(ShoppingCartOrderListInfo *)model\n{\n    _priceLabel.text   = [NSString stringWithFormat:@\"%@\",model.name];\n    _priceLabel.text  = [NSString stringWithFormat:@\"¥ %.2f\",[model.min_price floatValue]];\n    _countLab.text = [NSString stringWithFormat:@\"%@\",model.orderCount];\n\n}\n\n\n@end\n"
  },
  {
    "path": "CKMeiTuanShopView/CKMeiTuanShopView/Cell/TakeawayProductListCell.h",
    "content": "//\n//  takeawayProductListCell.h\n//  AppPark\n//\n//  Created by 池康 on 2018/7/16.\n//\n\n#import <UIKit/UIKit.h>\n/**\n 商家列表主页样式\n */\n@interface TakeawayProductListCell : UITableViewCell\n\n/// 产品图\n@property (nonatomic,strong) UIImageView *productImgView;\n/// 产品标题\n@property (nonatomic,strong) UILabel *productNameLabel;\n/// 月售\n@property (nonatomic,strong) UILabel *monthlySaleLabel;\n/// 赞\n@property (nonatomic,strong) UILabel *fabulousCountLabel;\n/// 价格\n@property (nonatomic,strong) UILabel *priceLabel;\n/// 网友最爱，新品等产品类型\n@property (nonatomic,strong) UIImageView *classImgView;\n/// 辣度背景\n@property (nonatomic,strong) UIView *spicypBgView;\n/// 原价\n@property (nonatomic,strong) UILabel *originalPriceLabel;\n/// 折扣\n@property (nonatomic,strong) UILabel *discountLabel;\n\n@property (nonatomic,strong) UIView *lineView;\n\n/// 添加按钮\n@property (nonatomic,strong) UIButton *addBT;\n/// 数量\n@property (nonatomic,strong) UILabel *countLab;\n/// 减少按钮\n@property (nonatomic,strong) UIButton *reduceBT;\n/// 选规格\n@property (nonatomic,strong) UIButton *specificationBT;\n/// 售罄 or  非可售时间\n@property (nonatomic,strong) UILabel *sellOutLab;\n/// ⚠️图标\n@property (nonatomic,strong) UIImageView *warningIcon;\n@end\n"
  },
  {
    "path": "CKMeiTuanShopView/CKMeiTuanShopView/Cell/TakeawayProductListCell.m",
    "content": "//\n//  takeawayProductListCell.m\n//  AppPark\n//\n//  Created by 池康 on 2018/7/16.\n//\n\n#import \"TakeawayProductListCell.h\"\n\n@interface TakeawayProductListCell()\n{\n    NSInteger  _count;//数据\n}\n@end\n\n@implementation TakeawayProductListCell\n\n- (void)awakeFromNib {\n    [super awakeFromNib];\n    // Initialization code\n}\n\n- (instancetype)initWithStyle:(UITableViewCellStyle)style reuseIdentifier:(NSString *)reuseIdentifier\n{\n    if (self=[super initWithStyle:style reuseIdentifier:reuseIdentifier]) {\n        [self setupViews];\n    }\n    return self;\n}\n\n- (void)setupViews\n{\n    _count = 0;\n    _productImgView = [[UIImageView alloc] init];\n    [self.contentView addSubview:_productImgView];\n    _productImgView.image = [UIImage imageNamed:@\"food\"];\n    [_productImgView mas_makeConstraints:^(MASConstraintMaker *make) {\n        make.left.mas_equalTo(10);\n        make.top.mas_equalTo(10);\n        make.width.height.mas_equalTo(86);\n    }];\n    \n    _productNameLabel = [[UILabel alloc] init];\n    _productNameLabel.text = @\"这里是商品的名称\";\n    _productNameLabel.textColor = RGBA(51, 51, 51, 1);\n    _productNameLabel.font =  kFontNameSize(14);\n    [self.contentView addSubview:_productNameLabel];\n    [_productNameLabel mas_makeConstraints:^(MASConstraintMaker *make) {\n        make.left.mas_equalTo(_productImgView.mas_right).offset(10);\n        make.top.mas_equalTo(_productImgView);\n        make.right.mas_equalTo(-10);\n        make.height.mas_equalTo(14);\n    }];\n    \n    _monthlySaleLabel = [[UILabel alloc] init];\n    _monthlySaleLabel.text = @\"月售121\";\n    _monthlySaleLabel.font = kFontNameSize(10);\n    _monthlySaleLabel.textColor = RGB(102, 102, 102);\n    [self.contentView addSubview:_monthlySaleLabel];\n    [_monthlySaleLabel mas_makeConstraints:^(MASConstraintMaker *make) {\n        make.left.mas_equalTo(_productNameLabel);\n        make.top.mas_equalTo(_productNameLabel.mas_bottom).offset(8);\n        make.height.mas_equalTo(10);\n    }];\n    \n    UIView *lineView = [[UIView alloc] init];\n    lineView.backgroundColor = RGB(226, 226, 226);\n    [self.contentView addSubview:lineView];\n    [lineView mas_makeConstraints:^(MASConstraintMaker *make) {\n        make.left.mas_equalTo(_monthlySaleLabel.mas_right).offset(6);\n        make.centerY.mas_equalTo(_monthlySaleLabel);\n        make.width.mas_equalTo(1);\n        make.height.mas_equalTo(6);\n    }];\n    \n    _fabulousCountLabel = [[UILabel alloc] init];\n    _fabulousCountLabel.text = @\"赞12\";\n    _fabulousCountLabel.font = kFontNameSize(10);\n    _fabulousCountLabel.textColor = RGB(102, 102, 102);\n    [self.contentView addSubview:_fabulousCountLabel];\n    [_fabulousCountLabel mas_makeConstraints:^(MASConstraintMaker *make) {\n        make.left.mas_equalTo(lineView.mas_right).offset(8);\n        make.centerY.mas_equalTo(lineView);\n    }];\n    \n    _spicypBgView = [[UIView alloc] init];\n    _spicypBgView.backgroundColor = [UIColor clearColor];\n    [self.contentView addSubview:_spicypBgView];\n    [_spicypBgView mas_makeConstraints:^(MASConstraintMaker *make) {\n        make.left.mas_equalTo(_fabulousCountLabel.mas_right).offset(5);\n        make.centerY.mas_equalTo(_fabulousCountLabel);\n        make.height.mas_equalTo(10);\n        make.width.mas_equalTo(4+2+4+2+4);\n    }];\n    \n    for (NSInteger i = 0; i < 3; i ++) {\n        UIImageView *starImgView = [[UIImageView alloc] initWithFrame:CGRectMake(i * 6, 0, 4, 10)];\n        starImgView.image = [UIImage imageNamed:@\"icon_chili\"];\n        \n        [_spicypBgView addSubview:starImgView];\n    }\n    \n    //标记\n    //lab_np@3x:新品，lab_like@2x：网友最爱，lab_red@2x：老板推荐，lab_sie@2x：招牌，\n    _classImgView = [[UIImageView alloc] init];\n    _classImgView.image = kImage_Name(@\"lab_like\");\n    [self.contentView addSubview: _classImgView];\n    [ _classImgView mas_makeConstraints:^(MASConstraintMaker *make) {\n        make.left.mas_equalTo(_productNameLabel);\n        make.top.mas_equalTo(_monthlySaleLabel.mas_bottom).offset(8);\n        make.height.mas_equalTo(14);\n        make.width.mas_equalTo(_classImgView.image.size.width);\n    }];\n    \n    _priceLabel = [[UILabel alloc] init];\n    _priceLabel.text = @\"¥28\";\n    _priceLabel.font = kFontNameSize(14);\n    _priceLabel.textColor = RGB(246, 90, 66);\n    [self.contentView addSubview: _priceLabel];\n    [ _priceLabel mas_makeConstraints:^(MASConstraintMaker *make) {\n        make.left.mas_equalTo(_productNameLabel);\n        make.top.mas_equalTo(_classImgView.mas_bottom).offset(18);\n        make.height.mas_equalTo(14);\n    }];\n    \n    _originalPriceLabel = [[UILabel alloc] init];\n    _originalPriceLabel.font = kFontNameSize(12);\n    _originalPriceLabel.textColor = RGB(153, 153, 153);\n    NSString *oldPrice = @\"¥12\";\n    NSMutableAttributedString *attri = [_originalPriceLabel addDeletingLineWithText:oldPrice deletingLinecolor:RGB(153, 153, 153)];\n    [_originalPriceLabel setAttributedText:attri];\n    [self.contentView addSubview: _originalPriceLabel];\n    [ _originalPriceLabel mas_makeConstraints:^(MASConstraintMaker *make) {\n        make.left.mas_equalTo(_priceLabel.mas_right).offset(6);\n        make.centerY.mas_equalTo(_priceLabel);\n        make.height.mas_equalTo(14);\n    }];\n    \n    UIImageView *discountImgView = [[UIImageView alloc] init];\n    discountImgView.image = [UIImage imageNamed:@\"icon_dit\"];\n    [self.contentView addSubview:discountImgView];\n    [discountImgView mas_makeConstraints:^(MASConstraintMaker *make) {\n        make.left.mas_equalTo(_originalPriceLabel.mas_right).offset(5);\n        make.centerY.mas_equalTo(_originalPriceLabel);\n        make.top.mas_equalTo(_originalPriceLabel);\n        make.width.height.mas_equalTo(8);\n    }];\n    \n    _discountLabel = [[UILabel alloc] init];\n    _discountLabel.text = @\"9折\";\n    _discountLabel.font = kFontNameSize(11);\n    _discountLabel.textColor = RGB(253, 143, 51);\n    [self.contentView addSubview: _discountLabel];\n    [ _discountLabel mas_makeConstraints:^(MASConstraintMaker *make) {\n        make.left.mas_equalTo(discountImgView.mas_right).offset(6);\n        make.centerY.mas_equalTo(discountImgView);\n    }];\n    \n    //添加按钮\n    _addBT = [UIButton buttonWithType:UIButtonTypeCustom];\n    [_addBT addTarget:self action:@selector(btnClick:) forControlEvents:UIControlEventTouchUpInside];\n    [_addBT setImage:kImage_Name(@\"but_add_yellow\") forState:UIControlStateNormal];\n    [_addBT setImage:kImage_Name(@\"but_add_yellow\") forState:UIControlStateHighlighted];\n    _addBT.backgroundColor = [UIColor redColor];\n    [self.contentView addSubview:_addBT];\n    _addBT.tag = 1;\n    [_addBT mas_makeConstraints:^(MASConstraintMaker *make) {\n        make.right.mas_offset(-10);\n        make.width.height.mas_offset(22);\n        make.top.mas_equalTo(_classImgView.mas_bottom).offset(10);\n    }];\n    //数量\n    _countLab = [[UILabel alloc] init];\n    _countLab.font = kFontNameSize(14);\n    _countLab.textColor = RGBA(51, 51, 51, 1);\n    _countLab.text = @\"11\";\n    _countLab.textAlignment = NSTextAlignmentCenter;\n    _countLab.adjustsFontSizeToFitWidth = YES;\n    [self.contentView addSubview: _countLab];\n    [_countLab mas_makeConstraints:^(MASConstraintMaker *make) {\n        make.centerY.mas_equalTo(_addBT);\n        make.right.mas_equalTo(_addBT.mas_left).offset(0);\n        make.width.mas_offset(26);\n    }];\n\n//    //减少按钮\n    _reduceBT = [UIButton buttonWithType:UIButtonTypeCustom];\n    [_reduceBT addTarget:self action:@selector(btnClick:) forControlEvents:UIControlEventTouchUpInside];\n    [_reduceBT setImage:kImage_Name(@\"but_reduce\") forState:UIControlStateNormal];\n    [_reduceBT setImage:kImage_Name(@\"but_reduce\") forState:UIControlStateHighlighted];\n    _reduceBT.backgroundColor = [UIColor redColor];\n    [self.contentView addSubview:_reduceBT];\n    _reduceBT.tag = 2;\n    [_reduceBT mas_makeConstraints:^(MASConstraintMaker *make) {\n        make.centerY.mas_equalTo(_addBT);\n        make.right.mas_equalTo(_countLab.mas_left).offset(0);\n        make.width.height.mas_offset(22);\n    }];\n    \n    //选规格\n    _specificationBT = [UIButton buttonWithType:UIButtonTypeCustom];\n    [_specificationBT addTarget:self action:@selector(btnClick:) forControlEvents:UIControlEventTouchUpInside];\n    [_specificationBT setBackgroundImage:kImage_Name(@\"but_spn_yellow\") forState:UIControlStateNormal];\n    [_specificationBT setBackgroundImage:kImage_Name(@\"but_spn_yellow\") forState:UIControlStateHighlighted];\n    _specificationBT.backgroundColor = [UIColor redColor];\n    [_specificationBT setTitle:@\"选规格\" forState:UIControlStateNormal];\n    [_specificationBT setTitleColor:[UIColor whiteColor] forState:UIControlStateNormal];\n    _specificationBT.titleLabel.font = kFontNameSize(12);\n    [self.contentView addSubview:_specificationBT];\n    _specificationBT.tag = 3;\n    [_specificationBT mas_makeConstraints:^(MASConstraintMaker *make) {\n         make.top.mas_equalTo(_classImgView.mas_bottom).offset(10);\n        make.right.mas_offset(-10);\n        make.height.mas_offset(22);\n        make.width.mas_offset(48);\n    }];\n    \n    //售罄\n    _sellOutLab = [[UILabel alloc] init];\n    _sellOutLab.font = kFontNameSize(12);\n    _sellOutLab.textColor = kColor_GrayColor;\n    _sellOutLab.text = @\"非可售时间\";//非可售时间,售罄\n    _sellOutLab.textAlignment = NSTextAlignmentLeft;\n    [self.contentView addSubview: _sellOutLab];\n    [_sellOutLab mas_makeConstraints:^(MASConstraintMaker *make) {\n        make.centerY.mas_equalTo(_priceLabel);\n        make.right.mas_offset(-10);\n    }];\n    \n    //非可售时间\n    _warningIcon = [[UIImageView alloc]init];\n    _warningIcon.image = kImage_Name(@\"icon_info_gray\");\n    [self.contentView addSubview:_warningIcon];\n    [_warningIcon mas_makeConstraints:^(MASConstraintMaker *make) {\n        make.centerY.mas_equalTo(_priceLabel);\n        make.width.height.mas_offset(16);\n        make.right.mas_equalTo(_sellOutLab.mas_left).offset(-2);\n    }];\n    \n//    _addBT.hidden           = YES;\n    _countLab.hidden        = YES;\n    _reduceBT.hidden        = YES;\n    _specificationBT.hidden = YES;\n    _sellOutLab.hidden      = YES;\n    _warningIcon.hidden     = YES;\n}\n\n- (void)btnClick:(UIButton *)button\n{\n    switch (button.tag) {\n        case 1:\n            {//增加\n                DMLog(@\"增加---------\");\n                _count++;\n                if (_count >= 1) {\n                    _countLab.hidden        = NO;\n                    _reduceBT.hidden        = NO;\n                }\n                _countLab.text = [NSString stringWithFormat:@\"%ld\",_count];\n            }\n            break;\n            case 2:\n            {//减少\n                DMLog(@\"减少---------\");\n                _count--;\n                if (_count <= 0) {\n                    _countLab.hidden        = YES;\n                    _reduceBT.hidden        = YES;\n                }\n                _countLab.text = [NSString stringWithFormat:@\"%ld\",_count];\n            }\n                break;\n            case 3:\n            {//选规格\n                DMLog(@\"选规格---------\");\n            }\n                break;\n            \n        default:\n            break;\n    }\n}\n\n- (void)setSelected:(BOOL)selected animated:(BOOL)animated {\n    [super setSelected:selected animated:animated];\n\n    // Configure the view for the selected state\n}\n\n@end\n"
  },
  {
    "path": "CKMeiTuanShopView/CKMeiTuanShopView/Define/ColorMacro.h",
    "content": "//\n//  ColorMacro.h\n//  exsd\n//\n//  Created by CK on 2017/3/8.\n//  Copyright © 2017年 CK. All rights reserved.\n// 颜色\n\n#ifndef ColorMacro_h\n#define ColorMacro_h\n\n\n\n\n#define kColor(hexStr)            [AppMethods colorWithHexString:hexStr]\n\n#define Title_Style      @\"PingFangSC-Regular\"\n\n#define Kcolor_NavColor           kColor(@\"#FD5151\")//红色,主题颜色\n#define kColor_TitleColor         kColor(@\"#666666\")//标题颜色\n#define kColor_GrayColor          kColor(@\"#999999\")\n#define kColor_CircleColor        kColor(@\"#F85F4F\")//红色圆圈颜色\n#define kColor_darkGrayColor      kColor(@\"#000000\")//黑色背景\n#define kColor_borderColor        kColor(@\"#EEEEEE\")//边框\n#define kColor_bgHeaderViewColor  kColor(@\"#E2E2E2\")\n#define kColor_darkBlackColor     kColor(@\"#333333\")//黑色字体\n#define kColor_blueColor          kColor(@\"#0076FF\")//蓝色字体\n#define kColor_ButonCornerColor   kColor(@\"#D9D9D9\")\n#define kColor_LightGrayColor     kColor(@\"#F0EFED\")//灰色背景\n#define kColor_bgViewColor        kColor(@\"#F9F9F9\")\n#define kColor_ReplyColor         kColor(@\"#535353\")//\n\n\n#define KColor_AlertViewBg        RGBA(0, 0, 0, 0.4) //弹窗口背景的灰色\n\n// rgb颜色转换（16进制->10进制）\n#define UIColorFromRGB(rgbValue) [UIColor colorWithRed:((float)((rgbValue & 0xFF0000) >> 16))/255.0 green:((float)((rgbValue & 0xFF00) >> 8))/255.0 blue:((float)(rgbValue & 0xFF))/255.0 alpha:1.0]\n\n//RBG颜色\n#define RGB(r,g,b)               [UIColor colorWithRed:(r)/255.0f green:(g)/255.0f blue:(b)/255.0f alpha:1]\n\n//RGBA颜色\n#define RGBA(r,g,b,a)            [UIColor colorWithRed:(r)/255.0f green:(g)/255.0f blue:(b)/255.0f alpha:(a)]\n\n\n#endif /* ColorMacro_h */\n"
  },
  {
    "path": "CKMeiTuanShopView/CKMeiTuanShopView/Define/CommonMacro.h",
    "content": "//\n//  CommonMacro.h\n//  exsd\n//\n//  Created by CK on 2017/4/12.\n//  Copyright © 2017年 CK. All rights reserved.\n//\n\n#ifndef CommonMacro_h\n#define CommonMacro_h\n\n\n#if TARGET_OS_IPHONE\n#import <UIKit/UIKit.h>\n#define MAS_VIEW UIView\n#define MASEdgeInsets UIEdgeInsets\n#elif TARGET_OS_MAC\n#import <AppKit/AppKit.h>\n#define MAS_VIEW NSView\n#define MASEdgeInsets NSEdgeInsets\n#endif\n// 定义这个常量，就可以不用在开发过程中使用\"mas_\"前缀。\n#define MAS_SHORTHAND\n// 定义这个常量，就可以让Masonry帮我们自动把基础数据类型的数据，自动装箱为对象类型。\n#define MAS_SHORTHAND_GLOBALS\n\n\n#define  takeawayLeft_W   kScreenWidth * (75.0/375)\n#define  takeawayRight_W  kScreenWidth * (300.0/375)\n\n//获取当前屏幕的高度\n#define kScreenHeight             ([UIScreen mainScreen].bounds.size.height)\n//获取当前屏幕的宽度\n#define kScreenWidth              ([UIScreen mainScreen].bounds.size.width)\n\n// 适配 等比放大控件\n#define Size(x)                   ((x)*kScreenWidth*1.0/375.0)\n#define SizeInt(x)                   ((NSInteger)((x)*kScreenWidth/375))\n// 应用程序总代理\n#define AppDelegateInstance\t      ((AppDelegate*)([UIApplication sharedApplication].delegate))\n\n\n//占位图片\n#define Image_placeholder          [UIImage imageNamed:@\"thumb\"]\n#define Image_placeholder_nologo          [UIImage imageNamed:@\"defaultBack.jpeg\"]\n\n#define ImageHeight_placeholder    66\n\n//图片压缩参数\n#define kMaxImageSize 1500\n\n#define kMaxSizeWithKB 1536.0\n\n\n\n//图片\n#define kImage_Path(file,type)    [UIImage imageWithContentsOfFile:[[NSBundle mainBundle] pathForResource:file ofType:type]]\n#define kImage_Name(name)         [UIImage imageNamed:name]\n\n//字体\n#define kFont(fontSize)           [UIFont systemFontOfSize:fontSize]\n\n#define kFontNameSize(fontNameSize)            [UIFont fontWithName:@\"PingFang-SC-Medium\" size:fontNameSize]\n\n#define kDefalutCellHeight 44\n\n//HUD显示时间\n#define kDelayTime 1.5\n/// 分割线高度\n#define KCOMMON_LINE_HEIGHT 0.6\n/// 蒙版透明度\n#define KMASK_ALPHA 0.5\n/// 弹框动画时间\n#define KPOPVIEW_ANIMATE_DURATION 0.25\n\n//获取系统版本\n#define Ios_Version              [[[UIDevice currentDevice] systemVersion] floatValue]\n\n//获取当前语言\n#define CurrentLanguage           ([NSLocale preferredLanguages] objectAtIndex:0])\n\n#define IsiPhone5                 ([UIScreen instancesRespondToSelector:@selector(currentMode)] ? CGSizeEqualToSize(CGSizeMake(640, 1136), ［UIScreen mainScreen] currentMode].size) : NO)\n\n#define IS_IPAD                   (UI_USER_INTERFACE_IDIOM() == UIUserInterfaceIdiomPad)\n#define IS_IPHONE                 (UI_USER_INTERFACE_IDIOM() == UIUserInterfaceIdiomPhone)\n#define IS_RETINA                 ([[UIScreen mainScreen] scale] >= 2.0)\n\n// 默认导航栏、标签栏高度\n#define kDefaultNavBarHeight (kIsiPhoneX ? 88.0 : ((kSystemVersion < 7.0) ? 44.0 : 64.0))\n#define kDefaultTabBarHeight (kIsiPhoneX ? 83.0 : 49.0)\n#define kDefaultStatusBarHeight (kIsiPhoneX ? 44.0 : 20.0)\n#define kDefaultNavBar_SubView_MinY (kIsiPhoneX ? 24.0 : 0.0)//导航条子视图默认最小Y坐标\n#define IPHONE_SAFEBOTTOMAREA_HEIGHT (kIsiPhoneX ? 34 : 0)\n#define IPHONE_TOPSENSOR_HEIGHT      (kIsiPhoneX ? 32 : 0)\n#define kNavFrame                 CGRectMake(0, 0, kScreenWidth, kDefaultNavBarHeight)\n\n\n// 判断是否为 iPhone 3/3GS/4/4S\n#define kIsiPhone4 (kScreenWidth == 320.0 && kScreenHeight == 480.0)\n// 判断是否为 iPhone 5/5S/5C/SE\n#define kIsiPhone5 (kScreenWidth == 320.0 && kScreenHeight == 568.0)\n// 判断是否为iPhone 6/6S/7/8\n#define kIsiPhone6 (kScreenWidth == 375.0 && kScreenHeight == 667.0)\n// 判断是否为iPhone 6Plus/6SPlus/7Plus/8Plus\n#define kIsiPhone6Plus (kScreenWidth == 414.0 && kScreenHeight == 736.0)\n// 判断是否为iPhoneX\n#define kIsiPhoneX (kScreenWidth == 375.0 && kScreenHeight == 812.0)\n\n\n// 系统版本\n#define kSystemVersion ([[UIDevice currentDevice].systemVersion floatValue])\n\n// 高清屏检测\n#define kIsRetina ([[UIScreen mainScreen] scale] > 1)\n\n#define SINGLE_LINE_WIDTH           (1.0 / [UIScreen mainScreen].scale)\n\n#define SINGLE_LINE_ADJUST_OFFSET   ((1.0 / [UIScreen mainScreen].scale) / 2)\n\n// 最大尺寸\n#define kMaxCGSize CGSizeMake(MAXFLOAT, MAXFLOAT)\n\n// 国际化文本读取\n#define THLoc(__table__) NSLocalizedString(__table__, nil)\n\n\n// 模拟器与真机区别\n#if TARGET_IPHONE_SIMULATOR\n#define kIsSimulator 1\n#else\n#define kIsSimulator 0\n#endif\n\n\n\n//数据验证\n\n#define StrValid(f)(f!=nil &&[f isKindOfClass:[NSString class]]&& ![f isEqualToString:@\"\"])\n\n#define SafeStr(f)(StrValid(f)?f:@\"\")\n\n#define HasString(str,eky)([str rangeOfString:key].location!=NSNotFound)\n\n#define ValidStr(f)StrValid(f)\n\n#define ValidDict(f)(f!=nil &&[f isKindOfClass:[NSDictionary class]])\n\n#define ValidArray(f)(f!=nil &&[f isKindOfClass:[NSArray class]]&&[f count]>0)\n\n#define ValidNum(f)(f!=nil &&[f isKindOfClass:[NSNumber class]])\n\n#define ValidClass(f,cls)(f!=nil &&[f isKindOfClass:[cls class]])\n\n#define ValidData(f)(f!=nil &&[f isKindOfClass:[NSData class]])\n\n#define MyDefaults                  ([NSUserDefaults standardUserDefaults])\n#define MyFileManager               ([NSFileManager defaultManager])\n\n// Path\n#define DocumentsPath               [NSHomeDirectory() stringByAppendingPathComponent:@\"Documents\"]\n\n/** 弱引用 */\n#define WEAKSELF __weak typeof(self) weakSelf = self\n\n#define WS(weakSelf) __weak __typeof(&*self)weakSelf = self;\n\n// block引用self或者其它对象宏\n//#define WeakObject(type)  __weak __typeof(&*type) weak##_##type = type;\n/** 避免self的提前释放 */\n#define STRONGSELF __weak typeof(weakSelf) strongSelf = weakSelf\n\n\n#endif /* CommonMacro_h */\n"
  },
  {
    "path": "CKMeiTuanShopView/CKMeiTuanShopView/Define/ParmMacro.h",
    "content": "//\n//  ParmMacro.h\n//  exsd\n//\n//  Created by eshine on 2017/4/11.\n//  Copyright © 2017年 jinyu. All rights reserved.\n//\n//  定义参数\n\n#ifndef ParmMacro_h\n#define ParmMacro_h\n\n\ntypedef NS_ENUM(NSInteger, ShopModuleType) {\n    ShopModuleTypeList = 1,   //样式一 列表布局\n    ShopModuleTypeGongGe  = 2,  //样式二 宫格布局\n    ShopModuleTypeCard        //样式三 卡片布局\n};\n\n\n#endif /* ParmMacro_h */\n"
  },
  {
    "path": "CKMeiTuanShopView/CKMeiTuanShopView/Info.plist",
    "content": "<?xml version=\"1.0\" encoding=\"UTF-8\"?>\n<!DOCTYPE plist PUBLIC \"-//Apple//DTD PLIST 1.0//EN\" \"http://www.apple.com/DTDs/PropertyList-1.0.dtd\">\n<plist version=\"1.0\">\n<dict>\n\t<key>CFBundleDevelopmentRegion</key>\n\t<string>$(DEVELOPMENT_LANGUAGE)</string>\n\t<key>CFBundleExecutable</key>\n\t<string>$(EXECUTABLE_NAME)</string>\n\t<key>CFBundleIdentifier</key>\n\t<string>$(PRODUCT_BUNDLE_IDENTIFIER)</string>\n\t<key>CFBundleInfoDictionaryVersion</key>\n\t<string>6.0</string>\n\t<key>CFBundleName</key>\n\t<string>$(PRODUCT_NAME)</string>\n\t<key>CFBundlePackageType</key>\n\t<string>APPL</string>\n\t<key>CFBundleShortVersionString</key>\n\t<string>1.0</string>\n\t<key>CFBundleVersion</key>\n\t<string>1</string>\n\t<key>LSRequiresIPhoneOS</key>\n\t<true/>\n\t<key>UILaunchStoryboardName</key>\n\t<string>LaunchScreen</string>\n\t<key>UIMainStoryboardFile</key>\n\t<string>Main</string>\n\t<key>UIRequiredDeviceCapabilities</key>\n\t<array>\n\t\t<string>armv7</string>\n\t</array>\n\t<key>UISupportedInterfaceOrientations</key>\n\t<array>\n\t\t<string>UIInterfaceOrientationPortrait</string>\n\t\t<string>UIInterfaceOrientationLandscapeLeft</string>\n\t\t<string>UIInterfaceOrientationLandscapeRight</string>\n\t</array>\n\t<key>NSAppTransportSecurity</key>\n\t<dict>\n\t\t<key>NSAllowsArbitraryLoads</key>\n\t\t<true/>\n\t</dict>\n\t<key>UISupportedInterfaceOrientations~ipad</key>\n\t<array>\n\t\t<string>UIInterfaceOrientationPortrait</string>\n\t\t<string>UIInterfaceOrientationPortraitUpsideDown</string>\n\t\t<string>UIInterfaceOrientationLandscapeLeft</string>\n\t\t<string>UIInterfaceOrientationLandscapeRight</string>\n\t</array>\n</dict>\n</plist>\n"
  },
  {
    "path": "CKMeiTuanShopView/CKMeiTuanShopView/Model/EvaluateModel.h",
    "content": "//\n//  EvaluateModel.h\n//  AppPark\n//\n//  Created by 池康 on 2017/11/29.\n//\n\n#import <Foundation/Foundation.h>\n\n@interface EvaluateModel : JSONModel\n\n/**\n cell的缓存高度\n */\n@property (nonatomic , assign) CGFloat  cellHeight;\n\n@property (nonatomic , copy) NSString *content;\n@property (nonatomic , copy) NSString *evaluateType;\n@property (nonatomic , copy) NSString *healthScore;\n@property (nonatomic , copy) NSString *locationScore;\n@property (nonatomic , copy) NSString *memberHeadUrl;\n@property (nonatomic , copy) NSString *memberId;\n@property (nonatomic , copy) NSString *memberName;\n@property (nonatomic , copy) NSString *performanceScore;\n@property (nonatomic , copy) NSString *replyContent;\n@property (nonatomic , copy) NSString *roomTypeName;\n@property (nonatomic , copy) NSString *serviceScore;\n@property (nonatomic , copy) NSString *totalScore;\n@property (nonatomic , strong) NSArray <NSDictionary *>*picList;\n@property (nonatomic , copy) NSString *commTime;\n@property (nonatomic , copy) NSString *regular;\n@property (nonatomic , copy) NSString *commContent;\n\n#pragma mark ---房型\n/**房型名称*/\n@property (nonatomic , copy) NSString *name;\n/**房型类型id*/\n@property (nonatomic , copy) NSString *iD;\n/**是否被选中*/\n@property (nonatomic , assign) BOOL isSelected;\n\n//@property (nonatomic , strong) NSArray <RoomPriceModel >*roomPriceList;\n\n- (void)calculateCellHeightWithDic:(NSDictionary *)dic;\n\n- (void)calculateCellHeight;\n//计算生活预约评价cell高度\n- (void)calculateReserveCellHeight;\n#pragma mark - 计算外卖店铺主页评价cell的高度\n- (void)calculateTakeawayEvaluateCellHeight;\n\n@end\n"
  },
  {
    "path": "CKMeiTuanShopView/CKMeiTuanShopView/Model/EvaluateModel.m",
    "content": "//\n//  EvaluateModel.m\n//  AppPark\n//\n//  Created by 池康 on 2017/11/29.\n//\n\n#import \"EvaluateModel.h\"\n\n@implementation EvaluateModel\n\n\n\n\n- (void)calculateCellHeightWithDic:(NSDictionary *)dic\n{\n    CGFloat  height = 60;\n    //评论内容\n    NSString *commContent = [NSString jsonUtils:dic[@\"commContent\"]];\n    CGSize commContentSzie = [AppMethods sizeWithFont:[UIFont systemFontOfSize:14] Str:commContent withMaxWidth:kScreenWidth-20];\n    height = height + commContentSzie.height;\n    \n    //是否有图片\n    NSArray *picList = dic[@\"picList\"];\n    if (picList.count > 0) {\n        // 图片宽和高\n        CGFloat pgotoW = 80;\n        //有图片\n        height = height + 6;// +6是文本和图片的间隔\n        if (picList.count <=3) {\n            //小于等于三张\n            height = height + pgotoW;\n        }else if (picList.count > 3 && picList.count<=6){\n            //小于等于6张大于三张\n            height = height + pgotoW + pgotoW + 4;//+4是图片与图片之间的间隔\n        }else{\n            //大于6张，小于等于9张\n             height = height + pgotoW + pgotoW +pgotoW + 4 + 4;// +4是图片与图片之间的间隔\n        }\n        \n    }else{\n        //没图片\n        height = height;\n    }\n    \n    //是否商家回复了\n     NSString *replyContent = [NSString stringWithFormat:@\"酒店回复:%@\",[NSString jsonUtils:dic[@\"replyContent\"]]];\n    if (replyContent.length > 5) {\n        //有回复\n        height = height + 20; //+20是上下之间的间隔。\n        CGSize replyContentSzie = [AppMethods sizeWithFont:[UIFont systemFontOfSize:14] Str:replyContent withMaxWidth:kScreenWidth-40];\n        height = height + replyContentSzie.height + 20 + 20;\n    }else{\n        //无回复\n        height = height + 20;\n    }\n    \n    //缓存高度\n    self.cellHeight = height;\n    \n}\n\n\n\n- (void)calculateCellHeight\n{\n    CGFloat  height = 60;\n    //评论内容\n    NSString *commContent = self.content;\n    CGSize commContentSzie = [AppMethods sizeWithFont:[UIFont systemFontOfSize:14] Str:commContent withMaxWidth:kScreenWidth-54];\n    \n    height = height + commContentSzie.height;\n    \n    //是否有图片\n    NSArray *picList = self.picList;\n    if (picList.count > 0) {\n        // 图片宽和高\n        CGFloat pgotoW = 80;\n        //有图片\n        height = height + 6;// +6是文本和图片的间隔\n        if (picList.count <=3) {\n            //小于等于三张\n            height = height + pgotoW;\n        }else if (picList.count > 3 && picList.count<=6){\n            //小于等于6张大于三张\n            height = height + pgotoW + pgotoW + 4;//+4是图片与图片之间的间隔\n        }else{\n            //大于6张，小于等于9张\n            height = height + pgotoW + pgotoW +pgotoW + 4 + 4;// +4是图片与图片之间的间隔\n        }\n        \n    }else{\n        //没图片\n        height = height;\n    }\n    \n    //是否商家回复了\n    NSString *replyContent = [NSString stringWithFormat:@\"酒店回复:%@\",[NSString jsonUtils:self.replyContent]];\n    if (replyContent.length > 5) {\n        //有回复\n        height = height + 20; //+20是上下之间的间隔。\n        CGSize replyContentSzie = [AppMethods sizeWithFont:[UIFont systemFontOfSize:14] Str:replyContent withMaxWidth:kScreenWidth-74];\n        height = height + replyContentSzie.height + 20 + 20;\n    }else{\n        //无回复\n        height = height + 20;\n    }\n    \n    //缓存高度\n    self.cellHeight = height;\n    \n}\n\n\n- (void)calculateReserveCellHeight\n{\n    CGFloat  height = 60;\n    //评论内容\n    NSString *commContent = self.commContent;\n    CGSize commContentSzie = [AppMethods sizeWithFont:[UIFont systemFontOfSize:14] Str:commContent withMaxWidth:kScreenWidth-54];\n    \n    height = height + commContentSzie.height;\n    \n    //是否有图片\n    NSArray *picList = self.picList;\n    if (picList.count > 0) {\n        // 图片宽和高\n        CGFloat pgotoW = 80;\n        //有图片\n        height = height + 6;// +6是文本和图片的间隔\n        if (picList.count <=3) {\n            //小于等于三张\n            height = height + pgotoW;\n        }else if (picList.count > 3 && picList.count<=6){\n            //小于等于6张大于三张\n            height = height + pgotoW + pgotoW + 4;//+4是图片与图片之间的间隔\n        }else{\n            //大于6张，小于等于9张\n            height = height + pgotoW + pgotoW +pgotoW + 4 + 4;// +4是图片与图片之间的间隔\n        }\n        \n    }else{\n        //没图片\n        height = height;\n    }\n    \n    //是否商家回复了\n    NSString *replyContent = [NSString stringWithFormat:@\"酒店回复:%@\",[NSString jsonUtils:self.replyContent]];\n    if (replyContent.length > 5) {\n        //有回复\n        height = height + 20; //+20是上下之间的间隔。\n        CGSize replyContentSzie = [AppMethods sizeWithFont:[UIFont systemFontOfSize:14] Str:replyContent withMaxWidth:kScreenWidth-74];\n        height = height + replyContentSzie.height + 20 + 20;\n    }else{\n        //无回复\n        height = height + 20;\n    }\n    \n    //缓存高度\n    self.cellHeight = height;\n    \n}\n\n\n#pragma mark - 计算外卖店铺主页评价cell的高度\n- (void)calculateTakeawayEvaluateCellHeight\n{\n    CGFloat  height = 42;\n    //评论内容\n    NSString *commContent = self.commContent;\n    CGSize commContentSzie = [AppMethods sizeWithFont:[UIFont systemFontOfSize:12] Str:commContent withMaxWidth:kScreenWidth-60];\n    if (commContent.length == 0) {\n        //评论为空\n    }else{\n        height = height + commContentSzie.height + 10;//+10是文本跟时间的间隔\n    }\n    //是否有图片\n    NSArray *picList = self.picList;\n    if (picList.count > 0) {\n        // 图片宽和高\n        CGFloat pgotoW = 80;\n        //有图片\n        height = height + 10;// +10是图片和上面控件的间隔\n        if (picList.count <=3) {\n            //小于等于三张\n            height = height + pgotoW;\n        }else if (picList.count > 3 && picList.count<=6){\n            //小于等于6张大于三张\n            height = height + pgotoW + pgotoW + 4;//+4是图片与图片之间的间隔\n        }else{\n            //大于6张，小于等于9张\n            height = height + pgotoW + pgotoW +pgotoW + 4 + 4;// +4是图片与图片之间的间隔\n        }\n    }else{\n        //没图片\n        height = height;\n    }\n    \n    //踩菜品，赞菜品视图\n    height = height + 15 + 40;\n    \n    //是否商家回复了\n    NSString *replyContent = [NSString stringWithFormat:@\"酒店回复:%@\",[NSString jsonUtils:self.replyContent]];\n    if (replyContent.length > 5) {\n        //有回复\n        height = height + 10; //+20是上下之间的间隔。\n        CGSize replyContentSzie = [AppMethods sizeWithFont:[UIFont systemFontOfSize:12] Str:replyContent withMaxWidth:kScreenWidth-80];\n        height = height + replyContentSzie.height + 14 + 20;\n    }else{\n        //无回复\n        height = height + 20;\n    }\n    //缓存高度\n    self.cellHeight = height;\n}\n\n\n+ (JSONKeyMapper *)keyMapper {\n    return [[JSONKeyMapper alloc] initWithModelToJSONDictionary:\n            @{\n              @\"iD\":@\"id\",\n              }];\n}\n\n+ (BOOL)propertyIsOptional:(NSString *)propertyName {\n    return YES;\n}\n\n@end\n"
  },
  {
    "path": "CKMeiTuanShopView/CKMeiTuanShopView/Model/NewShopListModel.h",
    "content": "//\n//  NewShopListModel.h\n//  AppPark\n//\n//  Created by 池康 on 2018/3/7.\n//\n\n#import <Foundation/Foundation.h>\n\n@interface NewShopListModel : JSONModel\n\n/**图片 */\n@property (nonatomic ,copy) NSString *picUrl;\n/**价格 */\n@property (nonatomic ,copy) NSString *price;\n/**价格范围 */\n@property (nonatomic ,copy) NSString *priceRange;\n/**售出数量 */\n@property (nonatomic ,copy) NSString *soldCount;\n/**标题 */\n@property (nonatomic ,copy) NSString *title;\n//标签：1.新品  2.热卖  3.力荐 4.人气\n@property (nonatomic ,copy) NSString *tag;\n\n@property (nonatomic ,copy) NSString *goodRate;\n//活动类型1.限时折扣  2.满减  3.优惠券\n@property (nonatomic ,copy) NSString *activityType;\n\n@property (nonatomic ,copy) NSString *iD;\n\n@property (nonatomic ,copy) NSString *useTime;\n@property (nonatomic ,copy) NSString *appointmentTime;\n@property (nonatomic ,copy) NSString *virtualUseTime;\n@property (nonatomic ,copy) NSString *rackRate;\n@property (nonatomic ,copy) NSString *makeAnAppointmentDate;\n@property (nonatomic ,copy) NSString *makeAnAppointment;\n@property (nonatomic ,copy) NSString *isVirtual;\n@property (nonatomic ,copy) NSString *activityId;\n@property (nonatomic ,copy) NSString *activityEnterType;\n@property (nonatomic ,copy) NSString *activityEnterState;\n@property (nonatomic ,copy) NSString *activityEnterProductId;\n@property (nonatomic ,copy) NSString *activityEnterId;\n@property (nonatomic ,copy) NSString *activityDataStatus;\n\n\n@end\n"
  },
  {
    "path": "CKMeiTuanShopView/CKMeiTuanShopView/Model/NewShopListModel.m",
    "content": "//\n//  NewShopListModel.m\n//  AppPark\n//\n//  Created by 池康 on 2018/3/7.\n//\n\n#import \"NewShopListModel.h\"\n\n@implementation NewShopListModel\n\n\n+ (JSONKeyMapper *)keyMapper {\n    return [[JSONKeyMapper alloc] initWithModelToJSONDictionary:\n            @{\n              @\"iD\":@\"id\",\n              }];\n}\n\n+ (BOOL)propertyIsOptional:(NSString *)propertyName {\n    return YES;\n}\n\n\n@end\n"
  },
  {
    "path": "CKMeiTuanShopView/CKMeiTuanShopView/Model/NewShopModel.h",
    "content": "//\n//  NewShopModel.h\n//  AppPark\n//\n//  Created by 池康 on 2018/3/6.\n//\n\n#import <Foundation/Foundation.h>\n\n\n@protocol CouponListModel\n@end\n\n@interface NewShopModel : JSONModel\n/**活动数量 */\n@property (nonatomic ,copy) NSString *activeCount;\n/**评论数量 */\n@property (nonatomic ,copy) NSString *commCount;\n/** 评分*/\n@property (nonatomic ,copy) NSString *commScore;\n/** */\n@property (nonatomic ,copy) NSString *count;\n/**是否收藏*/\n@property (nonatomic ,copy) NSString *isCollection;\n\n//@property (nonatomic ,copy) NSDictionary *item;\n/** 营业时间*/\n@property (nonatomic ,copy) NSString *openHour;\n/** 店铺背景图*/\n@property (nonatomic ,copy) NSString *picUrl;\n/** 地址*/\n@property (nonatomic ,copy) NSString *shopAddress;\n/**店铺图标*/\n@property (nonatomic ,copy) NSString *shopIcon;\n/** 店铺介绍*/\n@property (nonatomic ,copy) NSString *shopIntroduce;\n/** 经纬度*/\n@property (nonatomic ,copy) NSString *shopLocation;\n/** 店铺名称*/\n@property (nonatomic ,copy) NSString *shopName;\n/** 公告*/\n@property (nonatomic ,copy) NSString *shopNotice;\n//资质图片\n@property (nonatomic ,strong) NSArray *shopPicList;\n/** 店铺类型1.企业认证   2.商家认证  3.个体工商户 4.不显示*/\n@property (nonatomic ,copy) NSString *shopType;\n/**分类*/\n@property (nonatomic ,strong) NSMutableArray *sortInfo;\n/** */\n//@property (nonatomic ,copy) NSDictionary *style;\n\n//\n@property (nonatomic ,copy) NSString *isStyle;\n//是否显示店铺信息：0-否,1-是\n@property (nonatomic ,copy) NSString *style_groupInfoShow;\n//导航位置类型：1-横向导航,2-竖向导航\n@property (nonatomic ,copy) NSString *style_tabPosition;\n// 快速布局类型：1-列表布局，2-宫格布局，3-卡片布局\n@property (nonatomic ,copy) NSString *sys_moduleType;\n\n@property (nonatomic ,copy) NSString *telnumber;\n/** 优惠券*/\n@property (nonatomic ,strong) NSArray <CouponListModel > *couponList;\n/** 活动*/\n@property (nonatomic ,strong) NSArray <CouponListModel > *activityList;\n\n/**聊天客服JID*/\n@property (nonatomic ,copy) NSString *serviceJIDUserName;\n/**客服名称*/\n@property (nonatomic ,copy) NSString *serviceUserNickName;\n/**客服头像*/\n@property (nonatomic ,copy) NSString *serviceHeadFace;\n/**聊天用户名*/\n@property (nonatomic ,copy) NSString *serviceName;\n/**聊天客服用户id*/\n@property (nonatomic ,copy) NSString *serviceId;\n/**是否开启客服聊天*/\n@property (nonatomic ,copy) NSString *serviceOpenState;\n@end\n\n\n\n@interface CouponListModel : JSONModel<NSCopying,NSMutableCopying>\n#pragma mark --- 优惠券\n/***/\n@property (nonatomic ,copy) NSString *activeId;\n/***/\n@property (nonatomic ,copy) NSString *couponCondition;\n/***/\n@property (nonatomic ,copy) NSString *couponEndTime;\n/***/\n@property (nonatomic ,copy) NSString *couponId;\n/***/\n@property (nonatomic ,copy) NSString *couponNumber;\n/**couponPrice*/\n@property (nonatomic ,copy) NSString *couponPrice;\n/**开始时间*/\n@property (nonatomic ,copy) NSString *couponStartTime;\n/***/\n@property (nonatomic ,copy) NSString *couponTime;\n/***/\n@property (nonatomic ,copy) NSString *couponTitle;\n/***/\n@property (nonatomic ,copy) NSString *isPlatForm;\n\n\n#pragma mark --- 活动名称\n/***/\n@property (nonatomic ,copy) NSString *activeEndTime;\n/**开始时间*/\n@property (nonatomic ,copy) NSString *activeStartTime;\n/***/\n@property (nonatomic ,copy) NSString *activeTitle;\n/**活动类型1.限时折扣  2.满减  3.优惠券*/\n@property (nonatomic ,copy) NSString *activeType;\n/***/\n@property (nonatomic ,copy) NSString *isPlantActive;\n\n\n@end\n"
  },
  {
    "path": "CKMeiTuanShopView/CKMeiTuanShopView/Model/NewShopModel.m",
    "content": "//\n//  NewShopModel.m\n//  AppPark\n//\n//  Created by 池康 on 2018/3/6.\n//\n\n#import \"NewShopModel.h\"\n\n@implementation NewShopModel\n\n\n+ (JSONKeyMapper *)keyMapper {\n    return [[JSONKeyMapper alloc] initWithModelToJSONDictionary:\n            @{\n              @\"iD\":@\"id\",\n              }];\n}\n\n+ (BOOL)propertyIsOptional:(NSString *)propertyName {\n    return YES;\n}\n\n@end\n\n\n\n@implementation CouponListModel\n\n+ (JSONKeyMapper *)keyMapper {\n    return [[JSONKeyMapper alloc] initWithModelToJSONDictionary:\n            @{\n              @\"iD\":@\"id\",\n              }];\n}\n\n+ (BOOL)propertyIsOptional:(NSString *)propertyName {\n    return YES;\n}\n\n- (id)copyWithZone:(NSZone *)zone{\n    \n    CouponListModel * model = [[CouponListModel allocWithZone:zone] init];\n    model.couponNumber = self.couponNumber;//self是被copy的对象\n    return model;\n    \n}\n- (id)mutableCopyWithZone:(NSZone *)zone{\n    \n    CouponListModel * model = [[CouponListModel allocWithZone:zone] init];\n    model.couponNumber = self.couponNumber;//self是被copy的对象\n    return model;\n}\n\n\n@end\n"
  },
  {
    "path": "CKMeiTuanShopView/CKMeiTuanShopView/Model/ShoppingCartOrderListInfo.h",
    "content": "//\n//  OrderListInfo.h\n//  AppPark\n//\n//  Created by kongxin on 2018/7/16.\n//\n\n#import \"JSONModel.h\"\n\n@interface ShoppingCartOrderListInfo : JSONModel\n@property(nonatomic,copy)NSString *orderid;\n@property(nonatomic,copy)NSString *name;\n@property(nonatomic,copy)NSString *min_price;\n@property(nonatomic,copy)NSString *praise_num;\n@property(nonatomic,copy)NSString *picture;\n@property(nonatomic,copy)NSString *month_saled;\n@property(nonatomic,copy)NSString *orderCount;\n\n/// 产品名称\n@property (nonatomic,copy) NSString *productName;\n/// 原始价格\n@property (nonatomic,copy) NSString *originalPrice;\n\n@end\n"
  },
  {
    "path": "CKMeiTuanShopView/CKMeiTuanShopView/Model/ShoppingCartOrderListInfo.m",
    "content": "//\n//  OrderListInfo.m\n//  AppPark\n//\n//  Created by kongxin on 2018/7/16.\n//\n\n#import \"ShoppingCartOrderListInfo.h\"\n\n@implementation ShoppingCartOrderListInfo\n+ (BOOL)propertyIsOptional:(NSString *)propertyName {\n    return YES;\n}\n@end\n"
  },
  {
    "path": "CKMeiTuanShopView/CKMeiTuanShopView/Supporting Flies/Assets.xcassets/AppIcon.appiconset/Contents.json",
    "content": "{\n  \"images\" : [\n    {\n      \"idiom\" : \"iphone\",\n      \"size\" : \"20x20\",\n      \"scale\" : \"2x\"\n    },\n    {\n      \"idiom\" : \"iphone\",\n      \"size\" : \"20x20\",\n      \"scale\" : \"3x\"\n    },\n    {\n      \"idiom\" : \"iphone\",\n      \"size\" : \"29x29\",\n      \"scale\" : \"2x\"\n    },\n    {\n      \"idiom\" : \"iphone\",\n      \"size\" : \"29x29\",\n      \"scale\" : \"3x\"\n    },\n    {\n      \"idiom\" : \"iphone\",\n      \"size\" : \"40x40\",\n      \"scale\" : \"2x\"\n    },\n    {\n      \"idiom\" : \"iphone\",\n      \"size\" : \"40x40\",\n      \"scale\" : \"3x\"\n    },\n    {\n      \"idiom\" : \"iphone\",\n      \"size\" : \"60x60\",\n      \"scale\" : \"2x\"\n    },\n    {\n      \"idiom\" : \"iphone\",\n      \"size\" : \"60x60\",\n      \"scale\" : \"3x\"\n    },\n    {\n      \"idiom\" : \"ipad\",\n      \"size\" : \"20x20\",\n      \"scale\" : \"1x\"\n    },\n    {\n      \"idiom\" : \"ipad\",\n      \"size\" : \"20x20\",\n      \"scale\" : \"2x\"\n    },\n    {\n      \"idiom\" : \"ipad\",\n      \"size\" : \"29x29\",\n      \"scale\" : \"1x\"\n    },\n    {\n      \"idiom\" : \"ipad\",\n      \"size\" : \"29x29\",\n      \"scale\" : \"2x\"\n    },\n    {\n      \"idiom\" : \"ipad\",\n      \"size\" : \"40x40\",\n      \"scale\" : \"1x\"\n    },\n    {\n      \"idiom\" : \"ipad\",\n      \"size\" : \"40x40\",\n      \"scale\" : \"2x\"\n    },\n    {\n      \"idiom\" : \"ipad\",\n      \"size\" : \"76x76\",\n      \"scale\" : \"1x\"\n    },\n    {\n      \"idiom\" : \"ipad\",\n      \"size\" : \"76x76\",\n      \"scale\" : \"2x\"\n    },\n    {\n      \"idiom\" : \"ipad\",\n      \"size\" : \"83.5x83.5\",\n      \"scale\" : \"2x\"\n    },\n    {\n      \"idiom\" : \"ios-marketing\",\n      \"size\" : \"1024x1024\",\n      \"scale\" : \"1x\"\n    }\n  ],\n  \"info\" : {\n    \"version\" : 1,\n    \"author\" : \"xcode\"\n  }\n}"
  },
  {
    "path": "CKMeiTuanShopView/CKMeiTuanShopView/Supporting Flies/Assets.xcassets/Contents.json",
    "content": "{\n  \"info\" : {\n    \"version\" : 1,\n    \"author\" : \"xcode\"\n  }\n}"
  },
  {
    "path": "CKMeiTuanShopView/CKMeiTuanShopView/Supporting Flies/Assets.xcassets/NewShopProduct/Already collected.imageset/Contents.json",
    "content": "{\n  \"images\" : [\n    {\n      \"idiom\" : \"universal\",\n      \"scale\" : \"1x\"\n    },\n    {\n      \"idiom\" : \"universal\",\n      \"filename\" : \"Already collected@2x.png\",\n      \"scale\" : \"2x\"\n    },\n    {\n      \"idiom\" : \"universal\",\n      \"filename\" : \"Already collected@3x.png\",\n      \"scale\" : \"3x\"\n    }\n  ],\n  \"info\" : {\n    \"version\" : 1,\n    \"author\" : \"xcode\"\n  }\n}"
  },
  {
    "path": "CKMeiTuanShopView/CKMeiTuanShopView/Supporting Flies/Assets.xcassets/NewShopProduct/Contents.json",
    "content": "{\n  \"info\" : {\n    \"version\" : 1,\n    \"author\" : \"xcode\"\n  }\n}"
  },
  {
    "path": "CKMeiTuanShopView/CKMeiTuanShopView/Supporting Flies/Assets.xcassets/NewShopProduct/back_grey.imageset/Contents.json",
    "content": "{\n  \"images\" : [\n    {\n      \"idiom\" : \"universal\",\n      \"scale\" : \"1x\"\n    },\n    {\n      \"idiom\" : \"universal\",\n      \"filename\" : \"back_grey@2x.png\",\n      \"scale\" : \"2x\"\n    },\n    {\n      \"idiom\" : \"universal\",\n      \"filename\" : \"back_grey@3x.png\",\n      \"scale\" : \"3x\"\n    }\n  ],\n  \"info\" : {\n    \"version\" : 1,\n    \"author\" : \"xcode\"\n  }\n}"
  },
  {
    "path": "CKMeiTuanShopView/CKMeiTuanShopView/Supporting Flies/Assets.xcassets/NewShopProduct/back_white.imageset/Contents.json",
    "content": "{\n  \"images\" : [\n    {\n      \"idiom\" : \"universal\",\n      \"scale\" : \"1x\"\n    },\n    {\n      \"idiom\" : \"universal\",\n      \"filename\" : \"back_white@2x.png\",\n      \"scale\" : \"2x\"\n    },\n    {\n      \"idiom\" : \"universal\",\n      \"filename\" : \"back_white@3x.png\",\n      \"scale\" : \"3x\"\n    }\n  ],\n  \"info\" : {\n    \"version\" : 1,\n    \"author\" : \"xcode\"\n  }\n}"
  },
  {
    "path": "CKMeiTuanShopView/CKMeiTuanShopView/Supporting Flies/Assets.xcassets/NewShopProduct/bg-shadow.imageset/Contents.json",
    "content": "{\n  \"images\" : [\n    {\n      \"idiom\" : \"universal\",\n      \"scale\" : \"1x\"\n    },\n    {\n      \"idiom\" : \"universal\",\n      \"filename\" : \"bg-shadow@2x.png\",\n      \"scale\" : \"2x\"\n    },\n    {\n      \"idiom\" : \"universal\",\n      \"filename\" : \"bg-shadow@3x.png\",\n      \"scale\" : \"3x\"\n    }\n  ],\n  \"info\" : {\n    \"version\" : 1,\n    \"author\" : \"xcode\"\n  }\n}"
  },
  {
    "path": "CKMeiTuanShopView/CKMeiTuanShopView/Supporting Flies/Assets.xcassets/NewShopProduct/collect_grey.imageset/Contents.json",
    "content": "{\n  \"images\" : [\n    {\n      \"idiom\" : \"universal\",\n      \"scale\" : \"1x\"\n    },\n    {\n      \"idiom\" : \"universal\",\n      \"filename\" : \"collect_grey@2x.png\",\n      \"scale\" : \"2x\"\n    },\n    {\n      \"idiom\" : \"universal\",\n      \"filename\" : \"collect_grey@3x.png\",\n      \"scale\" : \"3x\"\n    }\n  ],\n  \"info\" : {\n    \"version\" : 1,\n    \"author\" : \"xcode\"\n  }\n}"
  },
  {
    "path": "CKMeiTuanShopView/CKMeiTuanShopView/Supporting Flies/Assets.xcassets/NewShopProduct/collect_white.imageset/Contents.json",
    "content": "{\n  \"images\" : [\n    {\n      \"idiom\" : \"universal\",\n      \"scale\" : \"1x\"\n    },\n    {\n      \"idiom\" : \"universal\",\n      \"filename\" : \"collect_white@2x.png\",\n      \"scale\" : \"2x\"\n    },\n    {\n      \"idiom\" : \"universal\",\n      \"filename\" : \"collect_white@3x.png\",\n      \"scale\" : \"3x\"\n    }\n  ],\n  \"info\" : {\n    \"version\" : 1,\n    \"author\" : \"xcode\"\n  }\n}"
  },
  {
    "path": "CKMeiTuanShopView/CKMeiTuanShopView/Supporting Flies/Assets.xcassets/NewShopProduct/coupons.imageset/Contents.json",
    "content": "{\n  \"images\" : [\n    {\n      \"idiom\" : \"universal\",\n      \"scale\" : \"1x\"\n    },\n    {\n      \"idiom\" : \"universal\",\n      \"filename\" : \"coupons@2x.png\",\n      \"scale\" : \"2x\"\n    },\n    {\n      \"idiom\" : \"universal\",\n      \"filename\" : \"coupons@3x.png\",\n      \"scale\" : \"3x\"\n    }\n  ],\n  \"info\" : {\n    \"version\" : 1,\n    \"author\" : \"xcode\"\n  }\n}"
  },
  {
    "path": "CKMeiTuanShopView/CKMeiTuanShopView/Supporting Flies/Assets.xcassets/NewShopProduct/icon-Packup.imageset/Contents.json",
    "content": "{\n  \"images\" : [\n    {\n      \"idiom\" : \"universal\",\n      \"scale\" : \"1x\"\n    },\n    {\n      \"idiom\" : \"universal\",\n      \"filename\" : \"icon-Pack up@2x.png\",\n      \"scale\" : \"2x\"\n    },\n    {\n      \"idiom\" : \"universal\",\n      \"filename\" : \"icon-Pack up@3x.png\",\n      \"scale\" : \"3x\"\n    }\n  ],\n  \"info\" : {\n    \"version\" : 1,\n    \"author\" : \"xcode\"\n  }\n}"
  },
  {
    "path": "CKMeiTuanShopView/CKMeiTuanShopView/Supporting Flies/Assets.xcassets/NewShopProduct/icon-Slidingback.imageset/Contents.json",
    "content": "{\n  \"images\" : [\n    {\n      \"idiom\" : \"universal\",\n      \"scale\" : \"1x\"\n    },\n    {\n      \"idiom\" : \"universal\",\n      \"filename\" : \"icon-Sliding back@2x.png\",\n      \"scale\" : \"2x\"\n    },\n    {\n      \"idiom\" : \"universal\",\n      \"filename\" : \"icon-Sliding back@3x.png\",\n      \"scale\" : \"3x\"\n    }\n  ],\n  \"info\" : {\n    \"version\" : 1,\n    \"author\" : \"xcode\"\n  }\n}"
  },
  {
    "path": "CKMeiTuanShopView/CKMeiTuanShopView/Supporting Flies/Assets.xcassets/NewShopProduct/icon-coupons.imageset/Contents.json",
    "content": "{\n  \"images\" : [\n    {\n      \"idiom\" : \"universal\",\n      \"scale\" : \"1x\"\n    },\n    {\n      \"idiom\" : \"universal\",\n      \"filename\" : \"icon-coupons@2x.png\",\n      \"scale\" : \"2x\"\n    },\n    {\n      \"idiom\" : \"universal\",\n      \"filename\" : \"icon-coupons@3x.png\",\n      \"scale\" : \"3x\"\n    }\n  ],\n  \"info\" : {\n    \"version\" : 1,\n    \"author\" : \"xcode\"\n  }\n}"
  },
  {
    "path": "CKMeiTuanShopView/CKMeiTuanShopView/Supporting Flies/Assets.xcassets/NewShopProduct/icon-delete.imageset/Contents.json",
    "content": "{\n  \"images\" : [\n    {\n      \"idiom\" : \"universal\",\n      \"scale\" : \"1x\"\n    },\n    {\n      \"idiom\" : \"universal\",\n      \"filename\" : \"icon-delete@2x.png\",\n      \"scale\" : \"2x\"\n    },\n    {\n      \"idiom\" : \"universal\",\n      \"filename\" : \"icon-delete@3x.png\",\n      \"scale\" : \"3x\"\n    }\n  ],\n  \"info\" : {\n    \"version\" : 1,\n    \"author\" : \"xcode\"\n  }\n}"
  },
  {
    "path": "CKMeiTuanShopView/CKMeiTuanShopView/Supporting Flies/Assets.xcassets/NewShopProduct/icon-discounts.imageset/Contents.json",
    "content": "{\n  \"images\" : [\n    {\n      \"idiom\" : \"universal\",\n      \"scale\" : \"1x\"\n    },\n    {\n      \"idiom\" : \"universal\",\n      \"filename\" : \"icon-discounts@2x.png\",\n      \"scale\" : \"2x\"\n    },\n    {\n      \"idiom\" : \"universal\",\n      \"filename\" : \"icon-discounts@3x.png\",\n      \"scale\" : \"3x\"\n    }\n  ],\n  \"info\" : {\n    \"version\" : 1,\n    \"author\" : \"xcode\"\n  }\n}"
  },
  {
    "path": "CKMeiTuanShopView/CKMeiTuanShopView/Supporting Flies/Assets.xcassets/NewShopProduct/icon-enterprise.imageset/Contents.json",
    "content": "{\n  \"images\" : [\n    {\n      \"idiom\" : \"universal\",\n      \"scale\" : \"1x\"\n    },\n    {\n      \"idiom\" : \"universal\",\n      \"filename\" : \"icon-enterprise@2x.png\",\n      \"scale\" : \"2x\"\n    },\n    {\n      \"idiom\" : \"universal\",\n      \"filename\" : \"icon-enterprise@3x.png\",\n      \"scale\" : \"3x\"\n    }\n  ],\n  \"info\" : {\n    \"version\" : 1,\n    \"author\" : \"xcode\"\n  }\n}"
  },
  {
    "path": "CKMeiTuanShopView/CKMeiTuanShopView/Supporting Flies/Assets.xcassets/NewShopProduct/icon-folding.imageset/Contents.json",
    "content": "{\n  \"images\" : [\n    {\n      \"idiom\" : \"universal\",\n      \"scale\" : \"1x\"\n    },\n    {\n      \"idiom\" : \"universal\",\n      \"filename\" : \"icon-folding@2x.png\",\n      \"scale\" : \"2x\"\n    },\n    {\n      \"idiom\" : \"universal\",\n      \"filename\" : \"icon-folding@3x.png\",\n      \"scale\" : \"3x\"\n    }\n  ],\n  \"info\" : {\n    \"version\" : 1,\n    \"author\" : \"xcode\"\n  }\n}"
  },
  {
    "path": "CKMeiTuanShopView/CKMeiTuanShopView/Supporting Flies/Assets.xcassets/NewShopProduct/icon-merchants.imageset/Contents.json",
    "content": "{\n  \"images\" : [\n    {\n      \"idiom\" : \"universal\",\n      \"scale\" : \"1x\"\n    },\n    {\n      \"idiom\" : \"universal\",\n      \"filename\" : \"icon-merchants@2x.png\",\n      \"scale\" : \"2x\"\n    },\n    {\n      \"idiom\" : \"universal\",\n      \"filename\" : \"icon-merchants@3x.png\",\n      \"scale\" : \"3x\"\n    }\n  ],\n  \"info\" : {\n    \"version\" : 1,\n    \"author\" : \"xcode\"\n  }\n}"
  },
  {
    "path": "CKMeiTuanShopView/CKMeiTuanShopView/Supporting Flies/Assets.xcassets/NewShopProduct/icon-messagecenter.imageset/Contents.json",
    "content": "{\n  \"images\" : [\n    {\n      \"idiom\" : \"universal\",\n      \"scale\" : \"1x\"\n    },\n    {\n      \"idiom\" : \"universal\",\n      \"filename\" : \"icon-message center@2x.png\",\n      \"scale\" : \"2x\"\n    },\n    {\n      \"idiom\" : \"universal\",\n      \"filename\" : \"icon-message center@3x.png\",\n      \"scale\" : \"3x\"\n    }\n  ],\n  \"info\" : {\n    \"version\" : 1,\n    \"author\" : \"xcode\"\n  }\n}"
  },
  {
    "path": "CKMeiTuanShopView/CKMeiTuanShopView/Supporting Flies/Assets.xcassets/NewShopProduct/icon-new.imageset/Contents.json",
    "content": "{\n  \"images\" : [\n    {\n      \"idiom\" : \"universal\",\n      \"scale\" : \"1x\"\n    },\n    {\n      \"idiom\" : \"universal\",\n      \"filename\" : \"icon-new@2x.png\",\n      \"scale\" : \"2x\"\n    },\n    {\n      \"idiom\" : \"universal\",\n      \"filename\" : \"icon-new@3x.png\",\n      \"scale\" : \"3x\"\n    }\n  ],\n  \"info\" : {\n    \"version\" : 1,\n    \"author\" : \"xcode\"\n  }\n}"
  },
  {
    "path": "CKMeiTuanShopView/CKMeiTuanShopView/Supporting Flies/Assets.xcassets/NewShopProduct/icon-reference.imageset/Contents.json",
    "content": "{\n  \"images\" : [\n    {\n      \"idiom\" : \"universal\",\n      \"scale\" : \"1x\"\n    },\n    {\n      \"idiom\" : \"universal\",\n      \"filename\" : \"icon-reference@2x.png\",\n      \"scale\" : \"2x\"\n    },\n    {\n      \"idiom\" : \"universal\",\n      \"filename\" : \"icon-reference@3x.png\",\n      \"scale\" : \"3x\"\n    }\n  ],\n  \"info\" : {\n    \"version\" : 1,\n    \"author\" : \"xcode\"\n  }\n}"
  },
  {
    "path": "CKMeiTuanShopView/CKMeiTuanShopView/Supporting Flies/Assets.xcassets/NewShopProduct/icon-sale.imageset/Contents.json",
    "content": "{\n  \"images\" : [\n    {\n      \"idiom\" : \"universal\",\n      \"scale\" : \"1x\"\n    },\n    {\n      \"idiom\" : \"universal\",\n      \"filename\" : \"icon-sale@2x.png\",\n      \"scale\" : \"2x\"\n    },\n    {\n      \"idiom\" : \"universal\",\n      \"filename\" : \"icon-sale@3x.png\",\n      \"scale\" : \"3x\"\n    }\n  ],\n  \"info\" : {\n    \"version\" : 1,\n    \"author\" : \"xcode\"\n  }\n}"
  },
  {
    "path": "CKMeiTuanShopView/CKMeiTuanShopView/Supporting Flies/Assets.xcassets/NewShopProduct/icon-search box.imageset/Contents.json",
    "content": "{\n  \"images\" : [\n    {\n      \"idiom\" : \"universal\",\n      \"scale\" : \"1x\"\n    },\n    {\n      \"idiom\" : \"universal\",\n      \"filename\" : \"icon-search box@2x.png\",\n      \"scale\" : \"2x\"\n    },\n    {\n      \"idiom\" : \"universal\",\n      \"filename\" : \"icon-search box@3x.png\",\n      \"scale\" : \"3x\"\n    }\n  ],\n  \"info\" : {\n    \"version\" : 1,\n    \"author\" : \"xcode\"\n  }\n}"
  },
  {
    "path": "CKMeiTuanShopView/CKMeiTuanShopView/Supporting Flies/Assets.xcassets/NewShopProduct/icon-selling.imageset/Contents.json",
    "content": "{\n  \"images\" : [\n    {\n      \"idiom\" : \"universal\",\n      \"scale\" : \"1x\"\n    },\n    {\n      \"idiom\" : \"universal\",\n      \"filename\" : \"icon-selling@2x.png\",\n      \"scale\" : \"2x\"\n    },\n    {\n      \"idiom\" : \"universal\",\n      \"filename\" : \"icon-selling@3x.png\",\n      \"scale\" : \"3x\"\n    }\n  ],\n  \"info\" : {\n    \"version\" : 1,\n    \"author\" : \"xcode\"\n  }\n}"
  },
  {
    "path": "CKMeiTuanShopView/CKMeiTuanShopView/Supporting Flies/Assets.xcassets/NewShopProduct/icon-sentiment.imageset/Contents.json",
    "content": "{\n  \"images\" : [\n    {\n      \"idiom\" : \"universal\",\n      \"scale\" : \"1x\"\n    },\n    {\n      \"idiom\" : \"universal\",\n      \"filename\" : \"icon-sentiment@2x.png\",\n      \"scale\" : \"2x\"\n    },\n    {\n      \"idiom\" : \"universal\",\n      \"filename\" : \"icon-sentiment@3x.png\",\n      \"scale\" : \"3x\"\n    }\n  ],\n  \"info\" : {\n    \"version\" : 1,\n    \"author\" : \"xcode\"\n  }\n}"
  },
  {
    "path": "CKMeiTuanShopView/CKMeiTuanShopView/Supporting Flies/Assets.xcassets/NewShopProduct/icon-shoppingcart.imageset/Contents.json",
    "content": "{\n  \"images\" : [\n    {\n      \"idiom\" : \"universal\",\n      \"scale\" : \"1x\"\n    },\n    {\n      \"idiom\" : \"universal\",\n      \"filename\" : \"icon-shopping cart@2x.png\",\n      \"scale\" : \"2x\"\n    },\n    {\n      \"idiom\" : \"universal\",\n      \"filename\" : \"icon-shopping cart@3x.png\",\n      \"scale\" : \"3x\"\n    }\n  ],\n  \"info\" : {\n    \"version\" : 1,\n    \"author\" : \"xcode\"\n  }\n}"
  },
  {
    "path": "CKMeiTuanShopView/CKMeiTuanShopView/Supporting Flies/Assets.xcassets/NewShopProduct/message_grey.imageset/Contents.json",
    "content": "{\n  \"images\" : [\n    {\n      \"idiom\" : \"universal\",\n      \"scale\" : \"1x\"\n    },\n    {\n      \"idiom\" : \"universal\",\n      \"filename\" : \"message_grey@2x.png\",\n      \"scale\" : \"2x\"\n    },\n    {\n      \"idiom\" : \"universal\",\n      \"filename\" : \"message_grey@3x.png\",\n      \"scale\" : \"3x\"\n    }\n  ],\n  \"info\" : {\n    \"version\" : 1,\n    \"author\" : \"xcode\"\n  }\n}"
  },
  {
    "path": "CKMeiTuanShopView/CKMeiTuanShopView/Supporting Flies/Assets.xcassets/NewShopProduct/message_white.imageset/Contents.json",
    "content": "{\n  \"images\" : [\n    {\n      \"idiom\" : \"universal\",\n      \"scale\" : \"1x\"\n    },\n    {\n      \"idiom\" : \"universal\",\n      \"filename\" : \"message_white@2x.png\",\n      \"scale\" : \"2x\"\n    },\n    {\n      \"idiom\" : \"universal\",\n      \"filename\" : \"message_white@3x.png\",\n      \"scale\" : \"3x\"\n    }\n  ],\n  \"info\" : {\n    \"version\" : 1,\n    \"author\" : \"xcode\"\n  }\n}"
  },
  {
    "path": "CKMeiTuanShopView/CKMeiTuanShopView/Supporting Flies/Assets.xcassets/NewShopProduct/more_grey.imageset/Contents.json",
    "content": "{\n  \"images\" : [\n    {\n      \"idiom\" : \"universal\",\n      \"scale\" : \"1x\"\n    },\n    {\n      \"idiom\" : \"universal\",\n      \"filename\" : \"more_grey@2x.png\",\n      \"scale\" : \"2x\"\n    },\n    {\n      \"idiom\" : \"universal\",\n      \"filename\" : \"more_grey@3x.png\",\n      \"scale\" : \"3x\"\n    }\n  ],\n  \"info\" : {\n    \"version\" : 1,\n    \"author\" : \"xcode\"\n  }\n}"
  },
  {
    "path": "CKMeiTuanShopView/CKMeiTuanShopView/Supporting Flies/Assets.xcassets/NewShopProduct/more_white.imageset/Contents.json",
    "content": "{\n  \"images\" : [\n    {\n      \"idiom\" : \"universal\",\n      \"scale\" : \"1x\"\n    },\n    {\n      \"idiom\" : \"universal\",\n      \"filename\" : \"more_white@2x.png\",\n      \"scale\" : \"2x\"\n    },\n    {\n      \"idiom\" : \"universal\",\n      \"filename\" : \"more_white@3x.png\",\n      \"scale\" : \"3x\"\n    }\n  ],\n  \"info\" : {\n    \"version\" : 1,\n    \"author\" : \"xcode\"\n  }\n}"
  },
  {
    "path": "CKMeiTuanShopView/CKMeiTuanShopView/Supporting Flies/Assets.xcassets/NewShopProduct/shadow.imageset/Contents.json",
    "content": "{\n  \"images\" : [\n    {\n      \"idiom\" : \"universal\",\n      \"scale\" : \"1x\"\n    },\n    {\n      \"idiom\" : \"universal\",\n      \"filename\" : \"shadow@2x.png\",\n      \"scale\" : \"2x\"\n    },\n    {\n      \"idiom\" : \"universal\",\n      \"filename\" : \"shadow@3x.png\",\n      \"scale\" : \"3x\"\n    }\n  ],\n  \"info\" : {\n    \"version\" : 1,\n    \"author\" : \"xcode\"\n  }\n}"
  },
  {
    "path": "CKMeiTuanShopView/CKMeiTuanShopView/Supporting Flies/Assets.xcassets/NewShopProduct/sousuo_white.imageset/Contents.json",
    "content": "{\n  \"images\" : [\n    {\n      \"idiom\" : \"universal\",\n      \"scale\" : \"1x\"\n    },\n    {\n      \"idiom\" : \"universal\",\n      \"filename\" : \"sousuo_white@2x.png\",\n      \"scale\" : \"2x\"\n    },\n    {\n      \"idiom\" : \"universal\",\n      \"filename\" : \"sousuo_white@3x.png\",\n      \"scale\" : \"3x\"\n    }\n  ],\n  \"info\" : {\n    \"version\" : 1,\n    \"author\" : \"xcode\"\n  }\n}"
  },
  {
    "path": "CKMeiTuanShopView/CKMeiTuanShopView/Supporting Flies/Assets.xcassets/NewShopProduct/yilingqu.imageset/Contents.json",
    "content": "{\n  \"images\" : [\n    {\n      \"idiom\" : \"universal\",\n      \"scale\" : \"1x\"\n    },\n    {\n      \"idiom\" : \"universal\",\n      \"filename\" : \"yilingqu@2x.png\",\n      \"scale\" : \"2x\"\n    },\n    {\n      \"idiom\" : \"universal\",\n      \"filename\" : \"yilingqu@3x.png\",\n      \"scale\" : \"3x\"\n    }\n  ],\n  \"info\" : {\n    \"version\" : 1,\n    \"author\" : \"xcode\"\n  }\n}"
  },
  {
    "path": "CKMeiTuanShopView/CKMeiTuanShopView/Supporting Flies/Assets.xcassets/ServiceReservation/Contents.json",
    "content": "{\n  \"info\" : {\n    \"version\" : 1,\n    \"author\" : \"xcode\"\n  }\n}"
  },
  {
    "path": "CKMeiTuanShopView/CKMeiTuanShopView/Supporting Flies/Assets.xcassets/ServiceReservation/but-shut.imageset/Contents.json",
    "content": "{\n  \"images\" : [\n    {\n      \"idiom\" : \"universal\",\n      \"scale\" : \"1x\"\n    },\n    {\n      \"idiom\" : \"universal\",\n      \"filename\" : \"but-shut@2x.png\",\n      \"scale\" : \"2x\"\n    },\n    {\n      \"idiom\" : \"universal\",\n      \"filename\" : \"but-shut@3x.png\",\n      \"scale\" : \"3x\"\n    }\n  ],\n  \"info\" : {\n    \"version\" : 1,\n    \"author\" : \"xcode\"\n  }\n}"
  },
  {
    "path": "CKMeiTuanShopView/CKMeiTuanShopView/Supporting Flies/Assets.xcassets/ServiceReservation/checkbox_checked2.imageset/Contents.json",
    "content": "{\n  \"images\" : [\n    {\n      \"idiom\" : \"universal\",\n      \"scale\" : \"1x\"\n    },\n    {\n      \"idiom\" : \"universal\",\n      \"filename\" : \"checkbox_checked2@2x.png\",\n      \"scale\" : \"2x\"\n    },\n    {\n      \"idiom\" : \"universal\",\n      \"filename\" : \"checkbox_checked2@3x.png\",\n      \"scale\" : \"3x\"\n    }\n  ],\n  \"info\" : {\n    \"version\" : 1,\n    \"author\" : \"xcode\"\n  }\n}"
  },
  {
    "path": "CKMeiTuanShopView/CKMeiTuanShopView/Supporting Flies/Assets.xcassets/ServiceReservation/icon-addition.imageset/Contents.json",
    "content": "{\n  \"images\" : [\n    {\n      \"idiom\" : \"universal\",\n      \"scale\" : \"1x\"\n    },\n    {\n      \"idiom\" : \"universal\",\n      \"filename\" : \"icon-addition@2x.png\",\n      \"scale\" : \"2x\"\n    },\n    {\n      \"idiom\" : \"universal\",\n      \"filename\" : \"icon-addition@3x.png\",\n      \"scale\" : \"3x\"\n    }\n  ],\n  \"info\" : {\n    \"version\" : 1,\n    \"author\" : \"xcode\"\n  }\n}"
  },
  {
    "path": "CKMeiTuanShopView/CKMeiTuanShopView/Supporting Flies/Assets.xcassets/ServiceReservation/icon-address-gray.imageset/Contents.json",
    "content": "{\n  \"images\" : [\n    {\n      \"idiom\" : \"universal\",\n      \"scale\" : \"1x\"\n    },\n    {\n      \"idiom\" : \"universal\",\n      \"filename\" : \"icon-address-gray@2x.png\",\n      \"scale\" : \"2x\"\n    },\n    {\n      \"idiom\" : \"universal\",\n      \"filename\" : \"icon-address-gray@3x.png\",\n      \"scale\" : \"3x\"\n    }\n  ],\n  \"info\" : {\n    \"version\" : 1,\n    \"author\" : \"xcode\"\n  }\n}"
  },
  {
    "path": "CKMeiTuanShopView/CKMeiTuanShopView/Supporting Flies/Assets.xcassets/ServiceReservation/icon-address.imageset/Contents.json",
    "content": "{\n  \"images\" : [\n    {\n      \"idiom\" : \"universal\",\n      \"scale\" : \"1x\"\n    },\n    {\n      \"idiom\" : \"universal\",\n      \"filename\" : \"icon-address@2x.png\",\n      \"scale\" : \"2x\"\n    },\n    {\n      \"idiom\" : \"universal\",\n      \"filename\" : \"icon-address@3x.png\",\n      \"scale\" : \"3x\"\n    }\n  ],\n  \"info\" : {\n    \"version\" : 1,\n    \"author\" : \"xcode\"\n  }\n}"
  },
  {
    "path": "CKMeiTuanShopView/CKMeiTuanShopView/Supporting Flies/Assets.xcassets/ServiceReservation/icon-appraise.imageset/Contents.json",
    "content": "{\n  \"images\" : [\n    {\n      \"idiom\" : \"universal\",\n      \"scale\" : \"1x\"\n    },\n    {\n      \"idiom\" : \"universal\",\n      \"filename\" : \"icon-appraise@2x.png\",\n      \"scale\" : \"2x\"\n    },\n    {\n      \"idiom\" : \"universal\",\n      \"filename\" : \"icon-appraise@3x.png\",\n      \"scale\" : \"3x\"\n    }\n  ],\n  \"info\" : {\n    \"version\" : 1,\n    \"author\" : \"xcode\"\n  }\n}"
  },
  {
    "path": "CKMeiTuanShopView/CKMeiTuanShopView/Supporting Flies/Assets.xcassets/ServiceReservation/icon-card.imageset/Contents.json",
    "content": "{\n  \"images\" : [\n    {\n      \"idiom\" : \"universal\",\n      \"scale\" : \"1x\"\n    },\n    {\n      \"idiom\" : \"universal\",\n      \"filename\" : \"icon-card@2x.png\",\n      \"scale\" : \"2x\"\n    },\n    {\n      \"idiom\" : \"universal\",\n      \"filename\" : \"icon-card@3x.png\",\n      \"scale\" : \"3x\"\n    }\n  ],\n  \"info\" : {\n    \"version\" : 1,\n    \"author\" : \"xcode\"\n  }\n}"
  },
  {
    "path": "CKMeiTuanShopView/CKMeiTuanShopView/Supporting Flies/Assets.xcassets/ServiceReservation/icon-certification.imageset/Contents.json",
    "content": "{\n  \"images\" : [\n    {\n      \"idiom\" : \"universal\",\n      \"scale\" : \"1x\"\n    },\n    {\n      \"idiom\" : \"universal\",\n      \"filename\" : \"icon-certification@2x.png\",\n      \"scale\" : \"2x\"\n    },\n    {\n      \"idiom\" : \"universal\",\n      \"filename\" : \"icon-certification@3x.png\",\n      \"scale\" : \"3x\"\n    }\n  ],\n  \"info\" : {\n    \"version\" : 1,\n    \"author\" : \"xcode\"\n  }\n}"
  },
  {
    "path": "CKMeiTuanShopView/CKMeiTuanShopView/Supporting Flies/Assets.xcassets/ServiceReservation/icon-click-shaixuan.imageset/Contents.json",
    "content": "{\n  \"images\" : [\n    {\n      \"idiom\" : \"universal\",\n      \"scale\" : \"1x\"\n    },\n    {\n      \"idiom\" : \"universal\",\n      \"filename\" : \"icon-click-shaixuan@2x.png\",\n      \"scale\" : \"2x\"\n    },\n    {\n      \"idiom\" : \"universal\",\n      \"filename\" : \"icon-click-shaixuan@3x.png\",\n      \"scale\" : \"3x\"\n    }\n  ],\n  \"info\" : {\n    \"version\" : 1,\n    \"author\" : \"xcode\"\n  }\n}"
  },
  {
    "path": "CKMeiTuanShopView/CKMeiTuanShopView/Supporting Flies/Assets.xcassets/ServiceReservation/icon-click-up.imageset/Contents.json",
    "content": "{\n  \"images\" : [\n    {\n      \"idiom\" : \"universal\",\n      \"scale\" : \"1x\"\n    },\n    {\n      \"idiom\" : \"universal\",\n      \"filename\" : \"icon-click-up@2x.png\",\n      \"scale\" : \"2x\"\n    },\n    {\n      \"idiom\" : \"universal\",\n      \"filename\" : \"icon-click-up@3x.png\",\n      \"scale\" : \"3x\"\n    }\n  ],\n  \"info\" : {\n    \"version\" : 1,\n    \"author\" : \"xcode\"\n  }\n}"
  },
  {
    "path": "CKMeiTuanShopView/CKMeiTuanShopView/Supporting Flies/Assets.xcassets/ServiceReservation/icon-click.imageset/Contents.json",
    "content": "{\n  \"images\" : [\n    {\n      \"idiom\" : \"universal\",\n      \"scale\" : \"1x\"\n    },\n    {\n      \"idiom\" : \"universal\",\n      \"filename\" : \"icon-click@2x.png\",\n      \"scale\" : \"2x\"\n    },\n    {\n      \"idiom\" : \"universal\",\n      \"filename\" : \"icon-click@3x.png\",\n      \"scale\" : \"3x\"\n    }\n  ],\n  \"info\" : {\n    \"version\" : 1,\n    \"author\" : \"xcode\"\n  }\n}"
  },
  {
    "path": "CKMeiTuanShopView/CKMeiTuanShopView/Supporting Flies/Assets.xcassets/ServiceReservation/icon-collect-red.imageset/Contents.json",
    "content": "{\n  \"images\" : [\n    {\n      \"idiom\" : \"universal\",\n      \"scale\" : \"1x\"\n    },\n    {\n      \"idiom\" : \"universal\",\n      \"filename\" : \"icon-collect-red@2x.png\",\n      \"scale\" : \"2x\"\n    },\n    {\n      \"idiom\" : \"universal\",\n      \"filename\" : \"icon-collect-red@3x.png\",\n      \"scale\" : \"3x\"\n    }\n  ],\n  \"info\" : {\n    \"version\" : 1,\n    \"author\" : \"xcode\"\n  }\n}"
  },
  {
    "path": "CKMeiTuanShopView/CKMeiTuanShopView/Supporting Flies/Assets.xcassets/ServiceReservation/icon-collect-white.imageset/Contents.json",
    "content": "{\n  \"images\" : [\n    {\n      \"idiom\" : \"universal\",\n      \"scale\" : \"1x\"\n    },\n    {\n      \"idiom\" : \"universal\",\n      \"filename\" : \"icon-collect-white@2x.png\",\n      \"scale\" : \"2x\"\n    },\n    {\n      \"idiom\" : \"universal\",\n      \"filename\" : \"icon-collect-white@3x.png\",\n      \"scale\" : \"3x\"\n    }\n  ],\n  \"info\" : {\n    \"version\" : 1,\n    \"author\" : \"xcode\"\n  }\n}"
  },
  {
    "path": "CKMeiTuanShopView/CKMeiTuanShopView/Supporting Flies/Assets.xcassets/ServiceReservation/icon-collect.imageset/Contents.json",
    "content": "{\n  \"images\" : [\n    {\n      \"idiom\" : \"universal\",\n      \"scale\" : \"1x\"\n    },\n    {\n      \"idiom\" : \"universal\",\n      \"filename\" : \"icon-collect@2x.png\",\n      \"scale\" : \"2x\"\n    },\n    {\n      \"idiom\" : \"universal\",\n      \"filename\" : \"icon-collect@3x.png\",\n      \"scale\" : \"3x\"\n    }\n  ],\n  \"info\" : {\n    \"version\" : 1,\n    \"author\" : \"xcode\"\n  }\n}"
  },
  {
    "path": "CKMeiTuanShopView/CKMeiTuanShopView/Supporting Flies/Assets.xcassets/ServiceReservation/icon-confirm.imageset/Contents.json",
    "content": "{\n  \"images\" : [\n    {\n      \"idiom\" : \"universal\",\n      \"scale\" : \"1x\"\n    },\n    {\n      \"idiom\" : \"universal\",\n      \"filename\" : \"icon-confirm@2x.png\",\n      \"scale\" : \"2x\"\n    },\n    {\n      \"idiom\" : \"universal\",\n      \"filename\" : \"icon-confirm@3x.png\",\n      \"scale\" : \"3x\"\n    }\n  ],\n  \"info\" : {\n    \"version\" : 1,\n    \"author\" : \"xcode\"\n  }\n}"
  },
  {
    "path": "CKMeiTuanShopView/CKMeiTuanShopView/Supporting Flies/Assets.xcassets/ServiceReservation/icon-contact.imageset/Contents.json",
    "content": "{\n  \"images\" : [\n    {\n      \"idiom\" : \"universal\",\n      \"scale\" : \"1x\"\n    },\n    {\n      \"idiom\" : \"universal\",\n      \"filename\" : \"icon-contact@2x.png\",\n      \"scale\" : \"2x\"\n    },\n    {\n      \"idiom\" : \"universal\",\n      \"filename\" : \"icon-contact@3x.png\",\n      \"scale\" : \"3x\"\n    }\n  ],\n  \"info\" : {\n    \"version\" : 1,\n    \"author\" : \"xcode\"\n  }\n}"
  },
  {
    "path": "CKMeiTuanShopView/CKMeiTuanShopView/Supporting Flies/Assets.xcassets/ServiceReservation/icon-dianpu.imageset/Contents.json",
    "content": "{\n  \"images\" : [\n    {\n      \"idiom\" : \"universal\",\n      \"scale\" : \"1x\"\n    },\n    {\n      \"idiom\" : \"universal\",\n      \"filename\" : \"icon-dianpu@2x.png\",\n      \"scale\" : \"2x\"\n    },\n    {\n      \"idiom\" : \"universal\",\n      \"filename\" : \"icon-dianpu@3x.png\",\n      \"scale\" : \"3x\"\n    }\n  ],\n  \"info\" : {\n    \"version\" : 1,\n    \"author\" : \"xcode\"\n  }\n}"
  },
  {
    "path": "CKMeiTuanShopView/CKMeiTuanShopView/Supporting Flies/Assets.xcassets/ServiceReservation/icon-dingwei.imageset/Contents.json",
    "content": "{\n  \"images\" : [\n    {\n      \"idiom\" : \"universal\",\n      \"scale\" : \"1x\"\n    },\n    {\n      \"idiom\" : \"universal\",\n      \"filename\" : \"icon-dingwei@2x.png\",\n      \"scale\" : \"2x\"\n    },\n    {\n      \"idiom\" : \"universal\",\n      \"filename\" : \"icon-dingwei@3x.png\",\n      \"scale\" : \"3x\"\n    }\n  ],\n  \"info\" : {\n    \"version\" : 1,\n    \"author\" : \"xcode\"\n  }\n}"
  },
  {
    "path": "CKMeiTuanShopView/CKMeiTuanShopView/Supporting Flies/Assets.xcassets/ServiceReservation/icon-footprint.imageset/Contents.json",
    "content": "{\n  \"images\" : [\n    {\n      \"idiom\" : \"universal\",\n      \"scale\" : \"1x\"\n    },\n    {\n      \"idiom\" : \"universal\",\n      \"filename\" : \"icon-footprint@2x.png\",\n      \"scale\" : \"2x\"\n    },\n    {\n      \"idiom\" : \"universal\",\n      \"filename\" : \"icon-footprint@3x.png\",\n      \"scale\" : \"3x\"\n    }\n  ],\n  \"info\" : {\n    \"version\" : 1,\n    \"author\" : \"xcode\"\n  }\n}"
  },
  {
    "path": "CKMeiTuanShopView/CKMeiTuanShopView/Supporting Flies/Assets.xcassets/ServiceReservation/icon-free.imageset/Contents.json",
    "content": "{\n  \"images\" : [\n    {\n      \"idiom\" : \"universal\",\n      \"scale\" : \"1x\"\n    },\n    {\n      \"idiom\" : \"universal\",\n      \"filename\" : \"icon-free@2x.png\",\n      \"scale\" : \"2x\"\n    },\n    {\n      \"idiom\" : \"universal\",\n      \"filename\" : \"icon-free@3x.png\",\n      \"scale\" : \"3x\"\n    }\n  ],\n  \"info\" : {\n    \"version\" : 1,\n    \"author\" : \"xcode\"\n  }\n}"
  },
  {
    "path": "CKMeiTuanShopView/CKMeiTuanShopView/Supporting Flies/Assets.xcassets/ServiceReservation/icon-idcard.imageset/Contents.json",
    "content": "{\n  \"images\" : [\n    {\n      \"idiom\" : \"universal\",\n      \"scale\" : \"1x\"\n    },\n    {\n      \"idiom\" : \"universal\",\n      \"filename\" : \"icon-idcard@2x.png\",\n      \"scale\" : \"2x\"\n    },\n    {\n      \"idiom\" : \"universal\",\n      \"filename\" : \"icon-idcard@3x.png\",\n      \"scale\" : \"3x\"\n    }\n  ],\n  \"info\" : {\n    \"version\" : 1,\n    \"author\" : \"xcode\"\n  }\n}"
  },
  {
    "path": "CKMeiTuanShopView/CKMeiTuanShopView/Supporting Flies/Assets.xcassets/ServiceReservation/icon-localize-white.imageset/Contents.json",
    "content": "{\n  \"images\" : [\n    {\n      \"idiom\" : \"universal\",\n      \"scale\" : \"1x\"\n    },\n    {\n      \"idiom\" : \"universal\",\n      \"filename\" : \"icon-localize-white@2x.png\",\n      \"scale\" : \"2x\"\n    },\n    {\n      \"idiom\" : \"universal\",\n      \"filename\" : \"icon-localize-white@3x.png\",\n      \"scale\" : \"3x\"\n    }\n  ],\n  \"info\" : {\n    \"version\" : 1,\n    \"author\" : \"xcode\"\n  }\n}"
  },
  {
    "path": "CKMeiTuanShopView/CKMeiTuanShopView/Supporting Flies/Assets.xcassets/ServiceReservation/icon-localize.imageset/Contents.json",
    "content": "{\n  \"images\" : [\n    {\n      \"idiom\" : \"universal\",\n      \"scale\" : \"1x\"\n    },\n    {\n      \"idiom\" : \"universal\",\n      \"filename\" : \"icon-localize@2x.png\",\n      \"scale\" : \"2x\"\n    },\n    {\n      \"idiom\" : \"universal\",\n      \"filename\" : \"icon-localize@3x.png\",\n      \"scale\" : \"3x\"\n    }\n  ],\n  \"info\" : {\n    \"version\" : 1,\n    \"author\" : \"xcode\"\n  }\n}"
  },
  {
    "path": "CKMeiTuanShopView/CKMeiTuanShopView/Supporting Flies/Assets.xcassets/ServiceReservation/icon-no service.imageset/Contents.json",
    "content": "{\n  \"images\" : [\n    {\n      \"idiom\" : \"universal\",\n      \"scale\" : \"1x\"\n    },\n    {\n      \"idiom\" : \"universal\",\n      \"filename\" : \"icon-no service@2x.png\",\n      \"scale\" : \"2x\"\n    },\n    {\n      \"idiom\" : \"universal\",\n      \"filename\" : \"icon-no service@3x.png\",\n      \"scale\" : \"3x\"\n    }\n  ],\n  \"info\" : {\n    \"version\" : 1,\n    \"author\" : \"xcode\"\n  }\n}"
  },
  {
    "path": "CKMeiTuanShopView/CKMeiTuanShopView/Supporting Flies/Assets.xcassets/ServiceReservation/icon-particulars.imageset/Contents.json",
    "content": "{\n  \"images\" : [\n    {\n      \"idiom\" : \"universal\",\n      \"scale\" : \"1x\"\n    },\n    {\n      \"idiom\" : \"universal\",\n      \"filename\" : \"icon-particulars@2x.png\",\n      \"scale\" : \"2x\"\n    },\n    {\n      \"idiom\" : \"universal\",\n      \"filename\" : \"icon-particulars@3x.png\",\n      \"scale\" : \"3x\"\n    }\n  ],\n  \"info\" : {\n    \"version\" : 1,\n    \"author\" : \"xcode\"\n  }\n}"
  },
  {
    "path": "CKMeiTuanShopView/CKMeiTuanShopView/Supporting Flies/Assets.xcassets/ServiceReservation/icon-pay.imageset/Contents.json",
    "content": "{\n  \"images\" : [\n    {\n      \"idiom\" : \"universal\",\n      \"scale\" : \"1x\"\n    },\n    {\n      \"idiom\" : \"universal\",\n      \"filename\" : \"icon-pay@2x.png\",\n      \"scale\" : \"2x\"\n    },\n    {\n      \"idiom\" : \"universal\",\n      \"filename\" : \"icon-pay@3x.png\",\n      \"scale\" : \"3x\"\n    }\n  ],\n  \"info\" : {\n    \"version\" : 1,\n    \"author\" : \"xcode\"\n  }\n}"
  },
  {
    "path": "CKMeiTuanShopView/CKMeiTuanShopView/Supporting Flies/Assets.xcassets/ServiceReservation/icon-prompting.imageset/Contents.json",
    "content": "{\n  \"images\" : [\n    {\n      \"idiom\" : \"universal\",\n      \"scale\" : \"1x\"\n    },\n    {\n      \"idiom\" : \"universal\",\n      \"filename\" : \"icon-prompting@2x.png\",\n      \"scale\" : \"2x\"\n    },\n    {\n      \"idiom\" : \"universal\",\n      \"filename\" : \"icon-prompting@3x.png\",\n      \"scale\" : \"3x\"\n    }\n  ],\n  \"info\" : {\n    \"version\" : 1,\n    \"author\" : \"xcode\"\n  }\n}"
  },
  {
    "path": "CKMeiTuanShopView/CKMeiTuanShopView/Supporting Flies/Assets.xcassets/ServiceReservation/icon-quantity.imageset/Contents.json",
    "content": "{\n  \"images\" : [\n    {\n      \"idiom\" : \"universal\",\n      \"scale\" : \"1x\"\n    },\n    {\n      \"idiom\" : \"universal\",\n      \"filename\" : \"icon-quantity@2x.png\",\n      \"scale\" : \"2x\"\n    },\n    {\n      \"idiom\" : \"universal\",\n      \"filename\" : \"icon-quantity@3x.png\",\n      \"scale\" : \"3x\"\n    }\n  ],\n  \"info\" : {\n    \"version\" : 1,\n    \"author\" : \"xcode\"\n  }\n}"
  },
  {
    "path": "CKMeiTuanShopView/CKMeiTuanShopView/Supporting Flies/Assets.xcassets/ServiceReservation/icon-refund.imageset/Contents.json",
    "content": "{\n  \"images\" : [\n    {\n      \"idiom\" : \"universal\",\n      \"scale\" : \"1x\"\n    },\n    {\n      \"idiom\" : \"universal\",\n      \"filename\" : \"icon-refund@2x.png\",\n      \"scale\" : \"2x\"\n    },\n    {\n      \"idiom\" : \"universal\",\n      \"filename\" : \"icon-refund@3x.png\",\n      \"scale\" : \"3x\"\n    }\n  ],\n  \"info\" : {\n    \"version\" : 1,\n    \"author\" : \"xcode\"\n  }\n}"
  },
  {
    "path": "CKMeiTuanShopView/CKMeiTuanShopView/Supporting Flies/Assets.xcassets/ServiceReservation/icon-refunds.imageset/Contents.json",
    "content": "{\n  \"images\" : [\n    {\n      \"idiom\" : \"universal\",\n      \"scale\" : \"1x\"\n    },\n    {\n      \"idiom\" : \"universal\",\n      \"filename\" : \"icon-refunds@2x.png\",\n      \"scale\" : \"2x\"\n    },\n    {\n      \"idiom\" : \"universal\",\n      \"filename\" : \"icon-refunds@3x.png\",\n      \"scale\" : \"3x\"\n    }\n  ],\n  \"info\" : {\n    \"version\" : 1,\n    \"author\" : \"xcode\"\n  }\n}"
  },
  {
    "path": "CKMeiTuanShopView/CKMeiTuanShopView/Supporting Flies/Assets.xcassets/ServiceReservation/icon-scoring.imageset/Contents.json",
    "content": "{\n  \"images\" : [\n    {\n      \"idiom\" : \"universal\",\n      \"scale\" : \"1x\"\n    },\n    {\n      \"idiom\" : \"universal\",\n      \"filename\" : \"icon-scoring@2x.png\",\n      \"scale\" : \"2x\"\n    },\n    {\n      \"idiom\" : \"universal\",\n      \"filename\" : \"icon-scoring@3x.png\",\n      \"scale\" : \"3x\"\n    }\n  ],\n  \"info\" : {\n    \"version\" : 1,\n    \"author\" : \"xcode\"\n  }\n}"
  },
  {
    "path": "CKMeiTuanShopView/CKMeiTuanShopView/Supporting Flies/Assets.xcassets/ServiceReservation/icon-search-gray.imageset/Contents.json",
    "content": "{\n  \"images\" : [\n    {\n      \"idiom\" : \"universal\",\n      \"scale\" : \"1x\"\n    },\n    {\n      \"idiom\" : \"universal\",\n      \"filename\" : \"icon-search-gray@2x.png\",\n      \"scale\" : \"2x\"\n    },\n    {\n      \"idiom\" : \"universal\",\n      \"filename\" : \"icon-search-gray@3x.png\",\n      \"scale\" : \"3x\"\n    }\n  ],\n  \"info\" : {\n    \"version\" : 1,\n    \"author\" : \"xcode\"\n  }\n}"
  },
  {
    "path": "CKMeiTuanShopView/CKMeiTuanShopView/Supporting Flies/Assets.xcassets/ServiceReservation/icon-search-white.imageset/Contents.json",
    "content": "{\n  \"images\" : [\n    {\n      \"idiom\" : \"universal\",\n      \"scale\" : \"1x\"\n    },\n    {\n      \"idiom\" : \"universal\",\n      \"filename\" : \"icon-search-white@2x.png\",\n      \"scale\" : \"2x\"\n    },\n    {\n      \"idiom\" : \"universal\",\n      \"filename\" : \"icon-search-white@3x.png\",\n      \"scale\" : \"3x\"\n    }\n  ],\n  \"info\" : {\n    \"version\" : 1,\n    \"author\" : \"xcode\"\n  }\n}"
  },
  {
    "path": "CKMeiTuanShopView/CKMeiTuanShopView/Supporting Flies/Assets.xcassets/ServiceReservation/icon-sequencing.imageset/Contents.json",
    "content": "{\n  \"images\" : [\n    {\n      \"idiom\" : \"universal\",\n      \"scale\" : \"1x\"\n    },\n    {\n      \"idiom\" : \"universal\",\n      \"filename\" : \"icon-sequencing@2x.png\",\n      \"scale\" : \"2x\"\n    },\n    {\n      \"idiom\" : \"universal\",\n      \"filename\" : \"icon-sequencing@3x.png\",\n      \"scale\" : \"3x\"\n    }\n  ],\n  \"info\" : {\n    \"version\" : 1,\n    \"author\" : \"xcode\"\n  }\n}"
  },
  {
    "path": "CKMeiTuanShopView/CKMeiTuanShopView/Supporting Flies/Assets.xcassets/ServiceReservation/icon-service.imageset/Contents.json",
    "content": "{\n  \"images\" : [\n    {\n      \"idiom\" : \"universal\",\n      \"scale\" : \"1x\"\n    },\n    {\n      \"idiom\" : \"universal\",\n      \"filename\" : \"icon-service@2x.png\",\n      \"scale\" : \"2x\"\n    },\n    {\n      \"idiom\" : \"universal\",\n      \"filename\" : \"icon-service@3x.png\",\n      \"scale\" : \"3x\"\n    }\n  ],\n  \"info\" : {\n    \"version\" : 1,\n    \"author\" : \"xcode\"\n  }\n}"
  },
  {
    "path": "CKMeiTuanShopView/CKMeiTuanShopView/Supporting Flies/Assets.xcassets/ServiceReservation/icon-shang.imageset/Contents.json",
    "content": "{\n  \"images\" : [\n    {\n      \"idiom\" : \"universal\",\n      \"scale\" : \"1x\"\n    },\n    {\n      \"idiom\" : \"universal\",\n      \"filename\" : \"icon-shang@2x.png\",\n      \"scale\" : \"2x\"\n    },\n    {\n      \"idiom\" : \"universal\",\n      \"filename\" : \"icon-shang@3x.png\",\n      \"scale\" : \"3x\"\n    }\n  ],\n  \"info\" : {\n    \"version\" : 1,\n    \"author\" : \"xcode\"\n  }\n}"
  },
  {
    "path": "CKMeiTuanShopView/CKMeiTuanShopView/Supporting Flies/Assets.xcassets/ServiceReservation/icon-sharing.imageset/Contents.json",
    "content": "{\n  \"images\" : [\n    {\n      \"idiom\" : \"universal\",\n      \"scale\" : \"1x\"\n    },\n    {\n      \"idiom\" : \"universal\",\n      \"filename\" : \"icon-sharing@2x.png\",\n      \"scale\" : \"2x\"\n    },\n    {\n      \"idiom\" : \"universal\",\n      \"filename\" : \"icon-sharing@3x.png\",\n      \"scale\" : \"3x\"\n    }\n  ],\n  \"info\" : {\n    \"version\" : 1,\n    \"author\" : \"xcode\"\n  }\n}"
  },
  {
    "path": "CKMeiTuanShopView/CKMeiTuanShopView/Supporting Flies/Assets.xcassets/ServiceReservation/icon-shop.imageset/Contents.json",
    "content": "{\n  \"images\" : [\n    {\n      \"idiom\" : \"universal\",\n      \"scale\" : \"1x\"\n    },\n    {\n      \"idiom\" : \"universal\",\n      \"filename\" : \"icon-shop@2x.png\",\n      \"scale\" : \"2x\"\n    },\n    {\n      \"idiom\" : \"universal\",\n      \"filename\" : \"icon-shop@3x.png\",\n      \"scale\" : \"3x\"\n    }\n  ],\n  \"info\" : {\n    \"version\" : 1,\n    \"author\" : \"xcode\"\n  }\n}"
  },
  {
    "path": "CKMeiTuanShopView/CKMeiTuanShopView/Supporting Flies/Assets.xcassets/ServiceReservation/icon-shoucang.imageset/Contents.json",
    "content": "{\n  \"images\" : [\n    {\n      \"idiom\" : \"universal\",\n      \"scale\" : \"1x\"\n    },\n    {\n      \"idiom\" : \"universal\",\n      \"filename\" : \"icon-shoucang@2x.png\",\n      \"scale\" : \"2x\"\n    },\n    {\n      \"idiom\" : \"universal\",\n      \"filename\" : \"icon-shoucang@3x.png\",\n      \"scale\" : \"3x\"\n    }\n  ],\n  \"info\" : {\n    \"version\" : 1,\n    \"author\" : \"xcode\"\n  }\n}"
  },
  {
    "path": "CKMeiTuanShopView/CKMeiTuanShopView/Supporting Flies/Assets.xcassets/ServiceReservation/icon-shut down.imageset/Contents.json",
    "content": "{\n  \"images\" : [\n    {\n      \"idiom\" : \"universal\",\n      \"scale\" : \"1x\"\n    },\n    {\n      \"idiom\" : \"universal\",\n      \"filename\" : \"icon-shut down@2x.png\",\n      \"scale\" : \"2x\"\n    },\n    {\n      \"idiom\" : \"universal\",\n      \"filename\" : \"icon-shut down@3x.png\",\n      \"scale\" : \"3x\"\n    }\n  ],\n  \"info\" : {\n    \"version\" : 1,\n    \"author\" : \"xcode\"\n  }\n}"
  },
  {
    "path": "CKMeiTuanShopView/CKMeiTuanShopView/Supporting Flies/Assets.xcassets/ServiceReservation/icon-smile.imageset/Contents.json",
    "content": "{\n  \"images\" : [\n    {\n      \"idiom\" : \"universal\",\n      \"scale\" : \"1x\"\n    },\n    {\n      \"idiom\" : \"universal\",\n      \"filename\" : \"icon-smile@2x.png\",\n      \"scale\" : \"2x\"\n    },\n    {\n      \"idiom\" : \"universal\",\n      \"filename\" : \"icon-smile@3x.png\",\n      \"scale\" : \"3x\"\n    }\n  ],\n  \"info\" : {\n    \"version\" : 1,\n    \"author\" : \"xcode\"\n  }\n}"
  },
  {
    "path": "CKMeiTuanShopView/CKMeiTuanShopView/Supporting Flies/Assets.xcassets/ServiceReservation/icon-state.imageset/Contents.json",
    "content": "{\n  \"images\" : [\n    {\n      \"idiom\" : \"universal\",\n      \"scale\" : \"1x\"\n    },\n    {\n      \"idiom\" : \"universal\",\n      \"filename\" : \"icon-state@2x.png\",\n      \"scale\" : \"2x\"\n    },\n    {\n      \"idiom\" : \"universal\",\n      \"filename\" : \"icon-state@3x.png\",\n      \"scale\" : \"3x\"\n    }\n  ],\n  \"info\" : {\n    \"version\" : 1,\n    \"author\" : \"xcode\"\n  }\n}"
  },
  {
    "path": "CKMeiTuanShopView/CKMeiTuanShopView/Supporting Flies/Assets.xcassets/ServiceReservation/icon-subtraction.imageset/Contents.json",
    "content": "{\n  \"images\" : [\n    {\n      \"idiom\" : \"universal\",\n      \"scale\" : \"1x\"\n    },\n    {\n      \"idiom\" : \"universal\",\n      \"filename\" : \"icon-subtraction@2x.png\",\n      \"scale\" : \"2x\"\n    },\n    {\n      \"idiom\" : \"universal\",\n      \"filename\" : \"icon-subtraction@3x.png\",\n      \"scale\" : \"3x\"\n    }\n  ],\n  \"info\" : {\n    \"version\" : 1,\n    \"author\" : \"xcode\"\n  }\n}"
  },
  {
    "path": "CKMeiTuanShopView/CKMeiTuanShopView/Supporting Flies/Assets.xcassets/ServiceReservation/icon-succeed.imageset/Contents.json",
    "content": "{\n  \"images\" : [\n    {\n      \"idiom\" : \"universal\",\n      \"scale\" : \"1x\"\n    },\n    {\n      \"idiom\" : \"universal\",\n      \"filename\" : \"icon-succeed@2x.png\",\n      \"scale\" : \"2x\"\n    },\n    {\n      \"idiom\" : \"universal\",\n      \"filename\" : \"icon-succeed@3x.png\",\n      \"scale\" : \"3x\"\n    }\n  ],\n  \"info\" : {\n    \"version\" : 1,\n    \"author\" : \"xcode\"\n  }\n}"
  },
  {
    "path": "CKMeiTuanShopView/CKMeiTuanShopView/Supporting Flies/Assets.xcassets/ServiceReservation/icon-tab-black.imageset/Contents.json",
    "content": "{\n  \"images\" : [\n    {\n      \"idiom\" : \"universal\",\n      \"scale\" : \"1x\"\n    },\n    {\n      \"idiom\" : \"universal\",\n      \"filename\" : \"icon-tab-black@2x.png\",\n      \"scale\" : \"2x\"\n    },\n    {\n      \"idiom\" : \"universal\",\n      \"filename\" : \"icon-tab-black@3x.png\",\n      \"scale\" : \"3x\"\n    }\n  ],\n  \"info\" : {\n    \"version\" : 1,\n    \"author\" : \"xcode\"\n  }\n}"
  },
  {
    "path": "CKMeiTuanShopView/CKMeiTuanShopView/Supporting Flies/Assets.xcassets/ServiceReservation/icon-tab-dwon.imageset/Contents.json",
    "content": "{\n  \"images\" : [\n    {\n      \"idiom\" : \"universal\",\n      \"scale\" : \"1x\"\n    },\n    {\n      \"idiom\" : \"universal\",\n      \"filename\" : \"icon-tab-dwon@2x.png\",\n      \"scale\" : \"2x\"\n    },\n    {\n      \"idiom\" : \"universal\",\n      \"filename\" : \"icon-tab-dwon@3x.png\",\n      \"scale\" : \"3x\"\n    }\n  ],\n  \"info\" : {\n    \"version\" : 1,\n    \"author\" : \"xcode\"\n  }\n}"
  },
  {
    "path": "CKMeiTuanShopView/CKMeiTuanShopView/Supporting Flies/Assets.xcassets/ServiceReservation/icon-tab-up.imageset/Contents.json",
    "content": "{\n  \"images\" : [\n    {\n      \"idiom\" : \"universal\",\n      \"scale\" : \"1x\"\n    },\n    {\n      \"idiom\" : \"universal\",\n      \"filename\" : \"icon-tab-up@2x.png\",\n      \"scale\" : \"2x\"\n    },\n    {\n      \"idiom\" : \"universal\",\n      \"filename\" : \"icon-tab-up@3x.png\",\n      \"scale\" : \"3x\"\n    }\n  ],\n  \"info\" : {\n    \"version\" : 1,\n    \"author\" : \"xcode\"\n  }\n}"
  },
  {
    "path": "CKMeiTuanShopView/CKMeiTuanShopView/Supporting Flies/Assets.xcassets/ServiceReservation/icon-tab-white.imageset/Contents.json",
    "content": "{\n  \"images\" : [\n    {\n      \"idiom\" : \"universal\",\n      \"scale\" : \"1x\"\n    },\n    {\n      \"idiom\" : \"universal\",\n      \"filename\" : \"icon-tab-white@2x.png\",\n      \"scale\" : \"2x\"\n    },\n    {\n      \"idiom\" : \"universal\",\n      \"filename\" : \"icon-tab-white@3x.png\",\n      \"scale\" : \"3x\"\n    }\n  ],\n  \"info\" : {\n    \"version\" : 1,\n    \"author\" : \"xcode\"\n  }\n}"
  },
  {
    "path": "CKMeiTuanShopView/CKMeiTuanShopView/Supporting Flies/Assets.xcassets/ServiceReservation/icon-telephone.imageset/Contents.json",
    "content": "{\n  \"images\" : [\n    {\n      \"idiom\" : \"universal\",\n      \"scale\" : \"1x\"\n    },\n    {\n      \"idiom\" : \"universal\",\n      \"filename\" : \"icon-telephone@2x.png\",\n      \"scale\" : \"2x\"\n    },\n    {\n      \"idiom\" : \"universal\",\n      \"filename\" : \"icon-telephone@3x.png\",\n      \"scale\" : \"3x\"\n    }\n  ],\n  \"info\" : {\n    \"version\" : 1,\n    \"author\" : \"xcode\"\n  }\n}"
  },
  {
    "path": "CKMeiTuanShopView/CKMeiTuanShopView/Supporting Flies/Assets.xcassets/ServiceReservation/icon-time-gray.imageset/Contents.json",
    "content": "{\n  \"images\" : [\n    {\n      \"idiom\" : \"universal\",\n      \"scale\" : \"1x\"\n    },\n    {\n      \"idiom\" : \"universal\",\n      \"filename\" : \"icon-time-gray@2x.png\",\n      \"scale\" : \"2x\"\n    },\n    {\n      \"idiom\" : \"universal\",\n      \"filename\" : \"icon-time-gray@3x.png\",\n      \"scale\" : \"3x\"\n    }\n  ],\n  \"info\" : {\n    \"version\" : 1,\n    \"author\" : \"xcode\"\n  }\n}"
  },
  {
    "path": "CKMeiTuanShopView/CKMeiTuanShopView/Supporting Flies/Assets.xcassets/ServiceReservation/icon-tips.imageset/Contents.json",
    "content": "{\n  \"images\" : [\n    {\n      \"idiom\" : \"universal\",\n      \"scale\" : \"1x\"\n    },\n    {\n      \"idiom\" : \"universal\",\n      \"filename\" : \"icon-tips@2x.png\",\n      \"scale\" : \"2x\"\n    },\n    {\n      \"idiom\" : \"universal\",\n      \"filename\" : \"icon-tips@3x.png\",\n      \"scale\" : \"3x\"\n    }\n  ],\n  \"info\" : {\n    \"version\" : 1,\n    \"author\" : \"xcode\"\n  }\n}"
  },
  {
    "path": "CKMeiTuanShopView/CKMeiTuanShopView/Supporting Flies/Assets.xcassets/ServiceReservation/icon-unckeck.imageset/Contents.json",
    "content": "{\n  \"images\" : [\n    {\n      \"idiom\" : \"universal\",\n      \"scale\" : \"1x\"\n    },\n    {\n      \"idiom\" : \"universal\",\n      \"filename\" : \"icon-unckeck@2x.png\",\n      \"scale\" : \"2x\"\n    },\n    {\n      \"idiom\" : \"universal\",\n      \"filename\" : \"icon-unckeck@3x.png\",\n      \"scale\" : \"3x\"\n    }\n  ],\n  \"info\" : {\n    \"version\" : 1,\n    \"author\" : \"xcode\"\n  }\n}"
  },
  {
    "path": "CKMeiTuanShopView/CKMeiTuanShopView/Supporting Flies/Assets.xcassets/ServiceReservation/icon-wait.imageset/Contents.json",
    "content": "{\n  \"images\" : [\n    {\n      \"idiom\" : \"universal\",\n      \"scale\" : \"1x\"\n    },\n    {\n      \"idiom\" : \"universal\",\n      \"filename\" : \"icon-wait@2x.png\",\n      \"scale\" : \"2x\"\n    },\n    {\n      \"idiom\" : \"universal\",\n      \"filename\" : \"icon-wait@3x.png\",\n      \"scale\" : \"3x\"\n    }\n  ],\n  \"info\" : {\n    \"version\" : 1,\n    \"author\" : \"xcode\"\n  }\n}"
  },
  {
    "path": "CKMeiTuanShopView/CKMeiTuanShopView/Supporting Flies/Assets.xcassets/ServiceReservation/icon-yuyue.imageset/Contents.json",
    "content": "{\n  \"images\" : [\n    {\n      \"idiom\" : \"universal\",\n      \"scale\" : \"1x\"\n    },\n    {\n      \"idiom\" : \"universal\",\n      \"filename\" : \"icon-yuyue@2x.png\",\n      \"scale\" : \"2x\"\n    },\n    {\n      \"idiom\" : \"universal\",\n      \"filename\" : \"icon-yuyue@3x.png\",\n      \"scale\" : \"3x\"\n    }\n  ],\n  \"info\" : {\n    \"version\" : 1,\n    \"author\" : \"xcode\"\n  }\n}"
  },
  {
    "path": "CKMeiTuanShopView/CKMeiTuanShopView/Supporting Flies/Assets.xcassets/ServiceReservation/icon_ arrow_down_black.imageset/Contents.json",
    "content": "{\n  \"images\" : [\n    {\n      \"idiom\" : \"universal\",\n      \"scale\" : \"1x\"\n    },\n    {\n      \"idiom\" : \"universal\",\n      \"filename\" : \"icon_ arrow_down_black@2x.png\",\n      \"scale\" : \"2x\"\n    },\n    {\n      \"idiom\" : \"universal\",\n      \"filename\" : \"icon_ arrow_down_black@3x.png\",\n      \"scale\" : \"3x\"\n    }\n  ],\n  \"info\" : {\n    \"version\" : 1,\n    \"author\" : \"xcode\"\n  }\n}"
  },
  {
    "path": "CKMeiTuanShopView/CKMeiTuanShopView/Supporting Flies/Assets.xcassets/ServiceReservation/icon_infoIocation.imageset/Contents.json",
    "content": "{\n  \"images\" : [\n    {\n      \"idiom\" : \"universal\",\n      \"scale\" : \"1x\"\n    },\n    {\n      \"idiom\" : \"universal\",\n      \"filename\" : \"icon_infoIocation@2x.png\",\n      \"scale\" : \"2x\"\n    },\n    {\n      \"idiom\" : \"universal\",\n      \"filename\" : \"icon_infoIocation@3x.png\",\n      \"scale\" : \"3x\"\n    }\n  ],\n  \"info\" : {\n    \"version\" : 1,\n    \"author\" : \"xcode\"\n  }\n}"
  },
  {
    "path": "CKMeiTuanShopView/CKMeiTuanShopView/Supporting Flies/Assets.xcassets/ServiceReservation/icon_infosearch.imageset/Contents.json",
    "content": "{\n  \"images\" : [\n    {\n      \"idiom\" : \"universal\",\n      \"scale\" : \"1x\"\n    },\n    {\n      \"idiom\" : \"universal\",\n      \"filename\" : \"icon_infosearch@2x.png\",\n      \"scale\" : \"2x\"\n    },\n    {\n      \"idiom\" : \"universal\",\n      \"filename\" : \"icon_infosearch@3x.png\",\n      \"scale\" : \"3x\"\n    }\n  ],\n  \"info\" : {\n    \"version\" : 1,\n    \"author\" : \"xcode\"\n  }\n}"
  },
  {
    "path": "CKMeiTuanShopView/CKMeiTuanShopView/Supporting Flies/Assets.xcassets/ServiceReservation/icon_location_ash.imageset/Contents.json",
    "content": "{\n  \"images\" : [\n    {\n      \"idiom\" : \"universal\",\n      \"scale\" : \"1x\"\n    },\n    {\n      \"idiom\" : \"universal\",\n      \"filename\" : \"icon_location_ash@2x.png\",\n      \"scale\" : \"2x\"\n    },\n    {\n      \"idiom\" : \"universal\",\n      \"filename\" : \"icon_location_ash@3x.png\",\n      \"scale\" : \"3x\"\n    }\n  ],\n  \"info\" : {\n    \"version\" : 1,\n    \"author\" : \"xcode\"\n  }\n}"
  },
  {
    "path": "CKMeiTuanShopView/CKMeiTuanShopView/Supporting Flies/Assets.xcassets/ServiceReservation/icon_return_black.imageset/Contents.json",
    "content": "{\n  \"images\" : [\n    {\n      \"idiom\" : \"universal\",\n      \"scale\" : \"1x\"\n    },\n    {\n      \"idiom\" : \"universal\",\n      \"filename\" : \"icon_return_black@2x.png\",\n      \"scale\" : \"2x\"\n    },\n    {\n      \"idiom\" : \"universal\",\n      \"filename\" : \"icon_return_black@3x.png\",\n      \"scale\" : \"3x\"\n    }\n  ],\n  \"info\" : {\n    \"version\" : 1,\n    \"author\" : \"xcode\"\n  }\n}"
  },
  {
    "path": "CKMeiTuanShopView/CKMeiTuanShopView/Supporting Flies/Assets.xcassets/ServiceReservation/icon_round.imageset/Contents.json",
    "content": "{\n  \"images\" : [\n    {\n      \"idiom\" : \"universal\",\n      \"scale\" : \"1x\"\n    },\n    {\n      \"idiom\" : \"universal\",\n      \"filename\" : \"icon_round@2x.png\",\n      \"scale\" : \"2x\"\n    },\n    {\n      \"idiom\" : \"universal\",\n      \"filename\" : \"icon_round@3x.png\",\n      \"scale\" : \"3x\"\n    }\n  ],\n  \"info\" : {\n    \"version\" : 1,\n    \"author\" : \"xcode\"\n  }\n}"
  },
  {
    "path": "CKMeiTuanShopView/CKMeiTuanShopView/Supporting Flies/Assets.xcassets/ServiceReservation/icon_wepay2.imageset/Contents.json",
    "content": "{\n  \"images\" : [\n    {\n      \"idiom\" : \"universal\",\n      \"scale\" : \"1x\"\n    },\n    {\n      \"idiom\" : \"universal\",\n      \"filename\" : \"icon_wepay2@2x.png\",\n      \"scale\" : \"2x\"\n    },\n    {\n      \"idiom\" : \"universal\",\n      \"filename\" : \"icon_wepay2@3x.png\",\n      \"scale\" : \"3x\"\n    }\n  ],\n  \"info\" : {\n    \"version\" : 1,\n    \"author\" : \"xcode\"\n  }\n}"
  },
  {
    "path": "CKMeiTuanShopView/CKMeiTuanShopView/Supporting Flies/Assets.xcassets/ServiceReservation/locate.imageset/Contents.json",
    "content": "{\n  \"images\" : [\n    {\n      \"idiom\" : \"universal\",\n      \"scale\" : \"1x\"\n    },\n    {\n      \"idiom\" : \"universal\",\n      \"filename\" : \"locate@2x.png\",\n      \"scale\" : \"2x\"\n    },\n    {\n      \"idiom\" : \"universal\",\n      \"scale\" : \"3x\"\n    }\n  ],\n  \"info\" : {\n    \"version\" : 1,\n    \"author\" : \"xcode\"\n  }\n}"
  },
  {
    "path": "CKMeiTuanShopView/CKMeiTuanShopView/Supporting Flies/Assets.xcassets/Takeaway/Contents.json",
    "content": "{\n  \"info\" : {\n    \"version\" : 1,\n    \"author\" : \"xcode\"\n  }\n}"
  },
  {
    "path": "CKMeiTuanShopView/CKMeiTuanShopView/Supporting Flies/Assets.xcassets/Takeaway/ShopTagIcon/Contents.json",
    "content": "{\n  \"info\" : {\n    \"version\" : 1,\n    \"author\" : \"xcode\"\n  }\n}"
  },
  {
    "path": "CKMeiTuanShopView/CKMeiTuanShopView/Supporting Flies/Assets.xcassets/Takeaway/ShopTagIcon/but_close.imageset/Contents.json",
    "content": "{\n  \"images\" : [\n    {\n      \"idiom\" : \"universal\",\n      \"scale\" : \"1x\"\n    },\n    {\n      \"idiom\" : \"universal\",\n      \"filename\" : \"but_close@2x.png\",\n      \"scale\" : \"2x\"\n    },\n    {\n      \"idiom\" : \"universal\",\n      \"filename\" : \"but_close@3x.png\",\n      \"scale\" : \"3x\"\n    }\n  ],\n  \"info\" : {\n    \"version\" : 1,\n    \"author\" : \"xcode\"\n  }\n}"
  },
  {
    "path": "CKMeiTuanShopView/CKMeiTuanShopView/Supporting Flies/Assets.xcassets/Takeaway/ShopTagIcon/icon_brd.imageset/Contents.json",
    "content": "{\n  \"images\" : [\n    {\n      \"idiom\" : \"universal\",\n      \"scale\" : \"1x\"\n    },\n    {\n      \"idiom\" : \"universal\",\n      \"filename\" : \"icon_brd@2x.png\",\n      \"scale\" : \"2x\"\n    },\n    {\n      \"idiom\" : \"universal\",\n      \"filename\" : \"icon_brd@3x.png\",\n      \"scale\" : \"3x\"\n    }\n  ],\n  \"info\" : {\n    \"version\" : 1,\n    \"author\" : \"xcode\"\n  }\n}"
  },
  {
    "path": "CKMeiTuanShopView/CKMeiTuanShopView/Supporting Flies/Assets.xcassets/Takeaway/ShopTagIcon/icon_dwon_triangle.imageset/Contents.json",
    "content": "{\n  \"images\" : [\n    {\n      \"idiom\" : \"universal\",\n      \"scale\" : \"1x\"\n    },\n    {\n      \"idiom\" : \"universal\",\n      \"filename\" : \"icon_dwon_triangle@2x.png\",\n      \"scale\" : \"2x\"\n    },\n    {\n      \"idiom\" : \"universal\",\n      \"filename\" : \"icon_dwon_triangle@3x.png\",\n      \"scale\" : \"3x\"\n    }\n  ],\n  \"info\" : {\n    \"version\" : 1,\n    \"author\" : \"xcode\"\n  }\n}"
  },
  {
    "path": "CKMeiTuanShopView/CKMeiTuanShopView/Supporting Flies/Assets.xcassets/Takeaway/ShopTagIcon/icon_new.imageset/Contents.json",
    "content": "{\n  \"images\" : [\n    {\n      \"idiom\" : \"universal\",\n      \"scale\" : \"1x\"\n    },\n    {\n      \"idiom\" : \"universal\",\n      \"filename\" : \"icon_new@2x.png\",\n      \"scale\" : \"2x\"\n    },\n    {\n      \"idiom\" : \"universal\",\n      \"filename\" : \"icon_new@3x.png\",\n      \"scale\" : \"3x\"\n    }\n  ],\n  \"info\" : {\n    \"version\" : 1,\n    \"author\" : \"xcode\"\n  }\n}"
  },
  {
    "path": "CKMeiTuanShopView/CKMeiTuanShopView/Supporting Flies/Assets.xcassets/Takeaway/ShopTagIcon/icon_sale.imageset/Contents.json",
    "content": "{\n  \"images\" : [\n    {\n      \"idiom\" : \"universal\",\n      \"scale\" : \"1x\"\n    },\n    {\n      \"idiom\" : \"universal\",\n      \"filename\" : \"icon_sale@2x.png\",\n      \"scale\" : \"2x\"\n    },\n    {\n      \"idiom\" : \"universal\",\n      \"filename\" : \"icon_sale@3x.png\",\n      \"scale\" : \"3x\"\n    }\n  ],\n  \"info\" : {\n    \"version\" : 1,\n    \"author\" : \"xcode\"\n  }\n}"
  },
  {
    "path": "CKMeiTuanShopView/CKMeiTuanShopView/Supporting Flies/Assets.xcassets/Takeaway/ShopTagIcon/icon_unfold_gary.imageset/Contents.json",
    "content": "{\n  \"images\" : [\n    {\n      \"idiom\" : \"universal\",\n      \"scale\" : \"1x\"\n    },\n    {\n      \"idiom\" : \"universal\",\n      \"filename\" : \"icon_unfold_gary@2x.png\",\n      \"scale\" : \"2x\"\n    },\n    {\n      \"idiom\" : \"universal\",\n      \"filename\" : \"icon_unfold_gary@3x.png\",\n      \"scale\" : \"3x\"\n    }\n  ],\n  \"info\" : {\n    \"version\" : 1,\n    \"author\" : \"xcode\"\n  }\n}"
  },
  {
    "path": "CKMeiTuanShopView/CKMeiTuanShopView/Supporting Flies/Assets.xcassets/Takeaway/ShopTagIcon/icon_unfold_white.imageset/Contents.json",
    "content": "{\n  \"images\" : [\n    {\n      \"idiom\" : \"universal\",\n      \"scale\" : \"1x\"\n    },\n    {\n      \"idiom\" : \"universal\",\n      \"filename\" : \"icon_unfold_white@2x.png\",\n      \"scale\" : \"2x\"\n    },\n    {\n      \"idiom\" : \"universal\",\n      \"filename\" : \"icon_unfold_white@3x.png\",\n      \"scale\" : \"3x\"\n    }\n  ],\n  \"info\" : {\n    \"version\" : 1,\n    \"author\" : \"xcode\"\n  }\n}"
  },
  {
    "path": "CKMeiTuanShopView/CKMeiTuanShopView/Supporting Flies/Assets.xcassets/Takeaway/ShopTagIcon/icon_up_gray.imageset/Contents.json",
    "content": "{\n  \"images\" : [\n    {\n      \"idiom\" : \"universal\",\n      \"scale\" : \"1x\"\n    },\n    {\n      \"idiom\" : \"universal\",\n      \"filename\" : \"icon_up_gray@2x.png\",\n      \"scale\" : \"2x\"\n    },\n    {\n      \"idiom\" : \"universal\",\n      \"filename\" : \"icon_up_gray@3x.png\",\n      \"scale\" : \"3x\"\n    }\n  ],\n  \"info\" : {\n    \"version\" : 1,\n    \"author\" : \"xcode\"\n  }\n}"
  },
  {
    "path": "CKMeiTuanShopView/CKMeiTuanShopView/Supporting Flies/Assets.xcassets/Takeaway/ShopTagIcon/lab_bg_red.imageset/Contents.json",
    "content": "{\n  \"images\" : [\n    {\n      \"idiom\" : \"universal\",\n      \"scale\" : \"1x\"\n    },\n    {\n      \"idiom\" : \"universal\",\n      \"filename\" : \"lab_bg_red@2x.png\",\n      \"scale\" : \"2x\"\n    },\n    {\n      \"idiom\" : \"universal\",\n      \"filename\" : \"lab_bg_red@3x.png\",\n      \"scale\" : \"3x\"\n    }\n  ],\n  \"info\" : {\n    \"version\" : 1,\n    \"author\" : \"xcode\"\n  }\n}"
  },
  {
    "path": "CKMeiTuanShopView/CKMeiTuanShopView/Supporting Flies/Assets.xcassets/Takeaway/ShopTagIcon/lab_close_yellow.imageset/Contents.json",
    "content": "{\n  \"images\" : [\n    {\n      \"idiom\" : \"universal\",\n      \"scale\" : \"1x\"\n    },\n    {\n      \"idiom\" : \"universal\",\n      \"filename\" : \"lab_close_yellow@2x.png\",\n      \"scale\" : \"2x\"\n    },\n    {\n      \"idiom\" : \"universal\",\n      \"filename\" : \"lab_close_yellow@3x.png\",\n      \"scale\" : \"3x\"\n    }\n  ],\n  \"info\" : {\n    \"version\" : 1,\n    \"author\" : \"xcode\"\n  }\n}"
  },
  {
    "path": "CKMeiTuanShopView/CKMeiTuanShopView/Supporting Flies/Assets.xcassets/Takeaway/ShopTagIcon/lab_company.imageset/Contents.json",
    "content": "{\n  \"images\" : [\n    {\n      \"idiom\" : \"universal\",\n      \"scale\" : \"1x\"\n    },\n    {\n      \"idiom\" : \"universal\",\n      \"filename\" : \"lab_company@2x.png\",\n      \"scale\" : \"2x\"\n    },\n    {\n      \"idiom\" : \"universal\",\n      \"filename\" : \"lab_company@3x.png\",\n      \"scale\" : \"3x\"\n    }\n  ],\n  \"info\" : {\n    \"version\" : 1,\n    \"author\" : \"xcode\"\n  }\n}"
  },
  {
    "path": "CKMeiTuanShopView/CKMeiTuanShopView/Supporting Flies/Assets.xcassets/Takeaway/ShopTagIcon/lab_con_green.imageset/Contents.json",
    "content": "{\n  \"images\" : [\n    {\n      \"idiom\" : \"universal\",\n      \"scale\" : \"1x\"\n    },\n    {\n      \"idiom\" : \"universal\",\n      \"filename\" : \"lab_con_green@2x.png\",\n      \"scale\" : \"2x\"\n    },\n    {\n      \"idiom\" : \"universal\",\n      \"filename\" : \"lab_con_green@3x.png\",\n      \"scale\" : \"3x\"\n    }\n  ],\n  \"info\" : {\n    \"version\" : 1,\n    \"author\" : \"xcode\"\n  }\n}"
  },
  {
    "path": "CKMeiTuanShopView/CKMeiTuanShopView/Supporting Flies/Assets.xcassets/Takeaway/ShopTagIcon/lab_dit_yellow.imageset/Contents.json",
    "content": "{\n  \"images\" : [\n    {\n      \"idiom\" : \"universal\",\n      \"scale\" : \"1x\"\n    },\n    {\n      \"idiom\" : \"universal\",\n      \"filename\" : \"lab_dit_yellow@2x.png\",\n      \"scale\" : \"2x\"\n    },\n    {\n      \"idiom\" : \"universal\",\n      \"filename\" : \"lab_dit_yellow@3x.png\",\n      \"scale\" : \"3x\"\n    }\n  ],\n  \"info\" : {\n    \"version\" : 1,\n    \"author\" : \"xcode\"\n  }\n}"
  },
  {
    "path": "CKMeiTuanShopView/CKMeiTuanShopView/Supporting Flies/Assets.xcassets/Takeaway/ShopTagIcon/lab_invite.imageset/Contents.json",
    "content": "{\n  \"images\" : [\n    {\n      \"idiom\" : \"universal\",\n      \"scale\" : \"1x\"\n    },\n    {\n      \"idiom\" : \"universal\",\n      \"filename\" : \"lab_invite@2x.png\",\n      \"scale\" : \"2x\"\n    },\n    {\n      \"idiom\" : \"universal\",\n      \"filename\" : \"lab_invite@3x.png\",\n      \"scale\" : \"3x\"\n    }\n  ],\n  \"info\" : {\n    \"version\" : 1,\n    \"author\" : \"xcode\"\n  }\n}"
  },
  {
    "path": "CKMeiTuanShopView/CKMeiTuanShopView/Supporting Flies/Assets.xcassets/Takeaway/ShopTagIcon/lab_like.imageset/Contents.json",
    "content": "{\n  \"images\" : [\n    {\n      \"idiom\" : \"universal\",\n      \"scale\" : \"1x\"\n    },\n    {\n      \"idiom\" : \"universal\",\n      \"filename\" : \"lab_like@2x.png\",\n      \"scale\" : \"2x\"\n    },\n    {\n      \"idiom\" : \"universal\",\n      \"filename\" : \"lab_like@3x.png\",\n      \"scale\" : \"3x\"\n    }\n  ],\n  \"info\" : {\n    \"version\" : 1,\n    \"author\" : \"xcode\"\n  }\n}"
  },
  {
    "path": "CKMeiTuanShopView/CKMeiTuanShopView/Supporting Flies/Assets.xcassets/Takeaway/ShopTagIcon/lab_np.imageset/Contents.json",
    "content": "{\n  \"images\" : [\n    {\n      \"idiom\" : \"universal\",\n      \"scale\" : \"1x\"\n    },\n    {\n      \"idiom\" : \"universal\",\n      \"filename\" : \"lab_np@2x.png\",\n      \"scale\" : \"2x\"\n    },\n    {\n      \"idiom\" : \"universal\",\n      \"filename\" : \"lab_np@3x.png\",\n      \"scale\" : \"3x\"\n    }\n  ],\n  \"info\" : {\n    \"version\" : 1,\n    \"author\" : \"xcode\"\n  }\n}"
  },
  {
    "path": "CKMeiTuanShopView/CKMeiTuanShopView/Supporting Flies/Assets.xcassets/Takeaway/ShopTagIcon/lab_personal.imageset/Contents.json",
    "content": "{\n  \"images\" : [\n    {\n      \"idiom\" : \"universal\",\n      \"scale\" : \"1x\"\n    },\n    {\n      \"idiom\" : \"universal\",\n      \"filename\" : \"lab_personal@2x.png\",\n      \"scale\" : \"2x\"\n    },\n    {\n      \"idiom\" : \"universal\",\n      \"filename\" : \"lab_personal@3x.png\",\n      \"scale\" : \"3x\"\n    }\n  ],\n  \"info\" : {\n    \"version\" : 1,\n    \"author\" : \"xcode\"\n  }\n}"
  },
  {
    "path": "CKMeiTuanShopView/CKMeiTuanShopView/Supporting Flies/Assets.xcassets/Takeaway/ShopTagIcon/lab_red.imageset/Contents.json",
    "content": "{\n  \"images\" : [\n    {\n      \"idiom\" : \"universal\",\n      \"scale\" : \"1x\"\n    },\n    {\n      \"idiom\" : \"universal\",\n      \"filename\" : \"lab_red@2x.png\",\n      \"scale\" : \"2x\"\n    },\n    {\n      \"idiom\" : \"universal\",\n      \"filename\" : \"lab_red@3x.png\",\n      \"scale\" : \"3x\"\n    }\n  ],\n  \"info\" : {\n    \"version\" : 1,\n    \"author\" : \"xcode\"\n  }\n}"
  },
  {
    "path": "CKMeiTuanShopView/CKMeiTuanShopView/Supporting Flies/Assets.xcassets/Takeaway/ShopTagIcon/lab_ren_cyan.imageset/Contents.json",
    "content": "{\n  \"images\" : [\n    {\n      \"idiom\" : \"universal\",\n      \"scale\" : \"1x\"\n    },\n    {\n      \"idiom\" : \"universal\",\n      \"filename\" : \"lab_ren_cyan@2x.png\",\n      \"scale\" : \"2x\"\n    },\n    {\n      \"idiom\" : \"universal\",\n      \"filename\" : \"lab_ren_cyan@3x.png\",\n      \"scale\" : \"3x\"\n    }\n  ],\n  \"info\" : {\n    \"version\" : 1,\n    \"author\" : \"xcode\"\n  }\n}"
  },
  {
    "path": "CKMeiTuanShopView/CKMeiTuanShopView/Supporting Flies/Assets.xcassets/Takeaway/ShopTagIcon/lab_rest.imageset/Contents.json",
    "content": "{\n  \"images\" : [\n    {\n      \"idiom\" : \"universal\",\n      \"scale\" : \"1x\"\n    },\n    {\n      \"idiom\" : \"universal\",\n      \"filename\" : \"lab_rest@2x.png\",\n      \"scale\" : \"2x\"\n    },\n    {\n      \"idiom\" : \"universal\",\n      \"filename\" : \"lab_rest@3x.png\",\n      \"scale\" : \"3x\"\n    }\n  ],\n  \"info\" : {\n    \"version\" : 1,\n    \"author\" : \"xcode\"\n  }\n}"
  },
  {
    "path": "CKMeiTuanShopView/CKMeiTuanShopView/Supporting Flies/Assets.xcassets/Takeaway/ShopTagIcon/lab_sale_red.imageset/Contents.json",
    "content": "{\n  \"images\" : [\n    {\n      \"idiom\" : \"universal\",\n      \"scale\" : \"1x\"\n    },\n    {\n      \"idiom\" : \"universal\",\n      \"filename\" : \"lab_sale_red@2x.png\",\n      \"scale\" : \"2x\"\n    },\n    {\n      \"idiom\" : \"universal\",\n      \"filename\" : \"lab_sale_red@3x.png\",\n      \"scale\" : \"3x\"\n    }\n  ],\n  \"info\" : {\n    \"version\" : 1,\n    \"author\" : \"xcode\"\n  }\n}"
  },
  {
    "path": "CKMeiTuanShopView/CKMeiTuanShopView/Supporting Flies/Assets.xcassets/Takeaway/ShopTagIcon/lab_sie.imageset/Contents.json",
    "content": "{\n  \"images\" : [\n    {\n      \"idiom\" : \"universal\",\n      \"scale\" : \"1x\"\n    },\n    {\n      \"idiom\" : \"universal\",\n      \"filename\" : \"lab_sie@2x.png\",\n      \"scale\" : \"2x\"\n    },\n    {\n      \"idiom\" : \"universal\",\n      \"filename\" : \"lab_sie@3x.png\",\n      \"scale\" : \"3x\"\n    }\n  ],\n  \"info\" : {\n    \"version\" : 1,\n    \"author\" : \"xcode\"\n  }\n}"
  },
  {
    "path": "CKMeiTuanShopView/CKMeiTuanShopView/Supporting Flies/Assets.xcassets/Takeaway/bg_coupon_red.imageset/Contents.json",
    "content": "{\n  \"images\" : [\n    {\n      \"idiom\" : \"universal\",\n      \"scale\" : \"1x\"\n    },\n    {\n      \"idiom\" : \"universal\",\n      \"filename\" : \"bg_coupon_red@2x.png\",\n      \"scale\" : \"2x\"\n    },\n    {\n      \"idiom\" : \"universal\",\n      \"filename\" : \"bg_coupon_red@3x.png\",\n      \"scale\" : \"3x\"\n    }\n  ],\n  \"info\" : {\n    \"version\" : 1,\n    \"author\" : \"xcode\"\n  }\n}"
  },
  {
    "path": "CKMeiTuanShopView/CKMeiTuanShopView/Supporting Flies/Assets.xcassets/Takeaway/bg_coupon_yellow.imageset/Contents.json",
    "content": "{\n  \"images\" : [\n    {\n      \"idiom\" : \"universal\",\n      \"scale\" : \"1x\"\n    },\n    {\n      \"idiom\" : \"universal\",\n      \"filename\" : \"bg_coupon_yellow@2x.png\",\n      \"scale\" : \"2x\"\n    },\n    {\n      \"idiom\" : \"universal\",\n      \"filename\" : \"bg_coupon_yellow@3x.png\",\n      \"scale\" : \"3x\"\n    }\n  ],\n  \"info\" : {\n    \"version\" : 1,\n    \"author\" : \"xcode\"\n  }\n}"
  },
  {
    "path": "CKMeiTuanShopView/CKMeiTuanShopView/Supporting Flies/Assets.xcassets/Takeaway/bg_coupons.imageset/Contents.json",
    "content": "{\n  \"images\" : [\n    {\n      \"idiom\" : \"universal\",\n      \"scale\" : \"1x\"\n    },\n    {\n      \"idiom\" : \"universal\",\n      \"filename\" : \"bg_coupons@2x.png\",\n      \"scale\" : \"2x\"\n    },\n    {\n      \"idiom\" : \"universal\",\n      \"filename\" : \"bg_coupons@3x.png\",\n      \"scale\" : \"3x\"\n    }\n  ],\n  \"info\" : {\n    \"version\" : 1,\n    \"author\" : \"xcode\"\n  }\n}"
  },
  {
    "path": "CKMeiTuanShopView/CKMeiTuanShopView/Supporting Flies/Assets.xcassets/Takeaway/but_add_gary.imageset/Contents.json",
    "content": "{\n  \"images\" : [\n    {\n      \"idiom\" : \"universal\",\n      \"scale\" : \"1x\"\n    },\n    {\n      \"idiom\" : \"universal\",\n      \"filename\" : \"but_add_gary@2x.png\",\n      \"scale\" : \"2x\"\n    },\n    {\n      \"idiom\" : \"universal\",\n      \"filename\" : \"but_add_gary@3x.png\",\n      \"scale\" : \"3x\"\n    }\n  ],\n  \"info\" : {\n    \"version\" : 1,\n    \"author\" : \"xcode\"\n  }\n}"
  },
  {
    "path": "CKMeiTuanShopView/CKMeiTuanShopView/Supporting Flies/Assets.xcassets/Takeaway/but_add_yellow.imageset/Contents.json",
    "content": "{\n  \"images\" : [\n    {\n      \"idiom\" : \"universal\",\n      \"scale\" : \"1x\"\n    },\n    {\n      \"idiom\" : \"universal\",\n      \"filename\" : \"but_add_yellow@2x.png\",\n      \"scale\" : \"2x\"\n    },\n    {\n      \"idiom\" : \"universal\",\n      \"filename\" : \"but_add_yellow@3x.png\",\n      \"scale\" : \"3x\"\n    }\n  ],\n  \"info\" : {\n    \"version\" : 1,\n    \"author\" : \"xcode\"\n  }\n}"
  },
  {
    "path": "CKMeiTuanShopView/CKMeiTuanShopView/Supporting Flies/Assets.xcassets/Takeaway/but_click.imageset/Contents.json",
    "content": "{\n  \"images\" : [\n    {\n      \"idiom\" : \"universal\",\n      \"scale\" : \"1x\"\n    },\n    {\n      \"idiom\" : \"universal\",\n      \"filename\" : \"but_click@2x.png\",\n      \"scale\" : \"2x\"\n    },\n    {\n      \"idiom\" : \"universal\",\n      \"filename\" : \"but_click@3x.png\",\n      \"scale\" : \"3x\"\n    }\n  ],\n  \"info\" : {\n    \"version\" : 1,\n    \"author\" : \"xcode\"\n  }\n}"
  },
  {
    "path": "CKMeiTuanShopView/CKMeiTuanShopView/Supporting Flies/Assets.xcassets/Takeaway/but_del.imageset/Contents.json",
    "content": "{\n  \"images\" : [\n    {\n      \"idiom\" : \"universal\",\n      \"scale\" : \"1x\"\n    },\n    {\n      \"idiom\" : \"universal\",\n      \"filename\" : \"but_del_bg@2x.png\",\n      \"scale\" : \"2x\"\n    },\n    {\n      \"idiom\" : \"universal\",\n      \"filename\" : \"but_del_bg@3x.png\",\n      \"scale\" : \"3x\"\n    }\n  ],\n  \"info\" : {\n    \"version\" : 1,\n    \"author\" : \"xcode\"\n  }\n}"
  },
  {
    "path": "CKMeiTuanShopView/CKMeiTuanShopView/Supporting Flies/Assets.xcassets/Takeaway/but_edit_14.imageset/Contents.json",
    "content": "{\n  \"images\" : [\n    {\n      \"idiom\" : \"universal\",\n      \"scale\" : \"1x\"\n    },\n    {\n      \"idiom\" : \"universal\",\n      \"filename\" : \"but_edit_14@2x.png\",\n      \"scale\" : \"2x\"\n    },\n    {\n      \"idiom\" : \"universal\",\n      \"filename\" : \"but_edit_14@3x.png\",\n      \"scale\" : \"3x\"\n    }\n  ],\n  \"info\" : {\n    \"version\" : 1,\n    \"author\" : \"xcode\"\n  }\n}"
  },
  {
    "path": "CKMeiTuanShopView/CKMeiTuanShopView/Supporting Flies/Assets.xcassets/Takeaway/but_hay_white.imageset/Contents.json",
    "content": "{\n  \"images\" : [\n    {\n      \"idiom\" : \"universal\",\n      \"scale\" : \"1x\"\n    },\n    {\n      \"idiom\" : \"universal\",\n      \"filename\" : \"but_hay_white@2x.png\",\n      \"scale\" : \"2x\"\n    },\n    {\n      \"idiom\" : \"universal\",\n      \"filename\" : \"but_hay_white@3x.png\",\n      \"scale\" : \"3x\"\n    }\n  ],\n  \"info\" : {\n    \"version\" : 1,\n    \"author\" : \"xcode\"\n  }\n}"
  },
  {
    "path": "CKMeiTuanShopView/CKMeiTuanShopView/Supporting Flies/Assets.xcassets/Takeaway/but_hay_yel.imageset/Contents.json",
    "content": "{\n  \"images\" : [\n    {\n      \"idiom\" : \"universal\",\n      \"scale\" : \"1x\"\n    },\n    {\n      \"idiom\" : \"universal\",\n      \"filename\" : \"but_hay_yel@2x.png\",\n      \"scale\" : \"2x\"\n    },\n    {\n      \"idiom\" : \"universal\",\n      \"filename\" : \"but_hay_yel@3x.png\",\n      \"scale\" : \"3x\"\n    }\n  ],\n  \"info\" : {\n    \"version\" : 1,\n    \"author\" : \"xcode\"\n  }\n}"
  },
  {
    "path": "CKMeiTuanShopView/CKMeiTuanShopView/Supporting Flies/Assets.xcassets/Takeaway/but_reduce.imageset/Contents.json",
    "content": "{\n  \"images\" : [\n    {\n      \"idiom\" : \"universal\",\n      \"scale\" : \"1x\"\n    },\n    {\n      \"idiom\" : \"universal\",\n      \"filename\" : \"but_reduce@2x.png\",\n      \"scale\" : \"2x\"\n    },\n    {\n      \"idiom\" : \"universal\",\n      \"filename\" : \"but_reduce@3x.png\",\n      \"scale\" : \"3x\"\n    }\n  ],\n  \"info\" : {\n    \"version\" : 1,\n    \"author\" : \"xcode\"\n  }\n}"
  },
  {
    "path": "CKMeiTuanShopView/CKMeiTuanShopView/Supporting Flies/Assets.xcassets/Takeaway/but_reduce_gary.imageset/Contents.json",
    "content": "{\n  \"images\" : [\n    {\n      \"idiom\" : \"universal\",\n      \"scale\" : \"1x\"\n    },\n    {\n      \"idiom\" : \"universal\",\n      \"filename\" : \"but_reduce_gary@2x.png\",\n      \"scale\" : \"2x\"\n    },\n    {\n      \"idiom\" : \"universal\",\n      \"filename\" : \"but_reduce_gary@3x.png\",\n      \"scale\" : \"3x\"\n    }\n  ],\n  \"info\" : {\n    \"version\" : 1,\n    \"author\" : \"xcode\"\n  }\n}"
  },
  {
    "path": "CKMeiTuanShopView/CKMeiTuanShopView/Supporting Flies/Assets.xcassets/Takeaway/but_return_bg.imageset/Contents.json",
    "content": "{\n  \"images\" : [\n    {\n      \"idiom\" : \"universal\",\n      \"scale\" : \"1x\"\n    },\n    {\n      \"idiom\" : \"universal\",\n      \"filename\" : \"but_return_bg@2x.png\",\n      \"scale\" : \"2x\"\n    },\n    {\n      \"idiom\" : \"universal\",\n      \"filename\" : \"but_return_bg@3x.png\",\n      \"scale\" : \"3x\"\n    }\n  ],\n  \"info\" : {\n    \"version\" : 1,\n    \"author\" : \"xcode\"\n  }\n}"
  },
  {
    "path": "CKMeiTuanShopView/CKMeiTuanShopView/Supporting Flies/Assets.xcassets/Takeaway/but_uhy_white.imageset/Contents.json",
    "content": "{\n  \"images\" : [\n    {\n      \"idiom\" : \"universal\",\n      \"scale\" : \"1x\"\n    },\n    {\n      \"idiom\" : \"universal\",\n      \"filename\" : \"but_uhy_white@2x.png\",\n      \"scale\" : \"2x\"\n    },\n    {\n      \"idiom\" : \"universal\",\n      \"filename\" : \"but_uhy_white@3x.png\",\n      \"scale\" : \"3x\"\n    }\n  ],\n  \"info\" : {\n    \"version\" : 1,\n    \"author\" : \"xcode\"\n  }\n}"
  },
  {
    "path": "CKMeiTuanShopView/CKMeiTuanShopView/Supporting Flies/Assets.xcassets/Takeaway/but_unh_gary.imageset/Contents.json",
    "content": "{\n  \"images\" : [\n    {\n      \"idiom\" : \"universal\",\n      \"scale\" : \"1x\"\n    },\n    {\n      \"idiom\" : \"universal\",\n      \"filename\" : \"but_unh_gary@2x.png\",\n      \"scale\" : \"2x\"\n    },\n    {\n      \"idiom\" : \"universal\",\n      \"filename\" : \"but_unh_gary@3x.png\",\n      \"scale\" : \"3x\"\n    }\n  ],\n  \"info\" : {\n    \"version\" : 1,\n    \"author\" : \"xcode\"\n  }\n}"
  },
  {
    "path": "CKMeiTuanShopView/CKMeiTuanShopView/Supporting Flies/Assets.xcassets/Takeaway/icon-announcement.imageset/Contents.json",
    "content": "{\n  \"images\" : [\n    {\n      \"idiom\" : \"universal\",\n      \"scale\" : \"1x\"\n    },\n    {\n      \"idiom\" : \"universal\",\n      \"filename\" : \"icon-announcement@2x.png\",\n      \"scale\" : \"2x\"\n    },\n    {\n      \"idiom\" : \"universal\",\n      \"filename\" : \"icon-announcement@3x.png\",\n      \"scale\" : \"3x\"\n    }\n  ],\n  \"info\" : {\n    \"version\" : 1,\n    \"author\" : \"xcode\"\n  }\n}"
  },
  {
    "path": "CKMeiTuanShopView/CKMeiTuanShopView/Supporting Flies/Assets.xcassets/Takeaway/icon_back_white.imageset/Contents.json",
    "content": "{\n  \"images\" : [\n    {\n      \"idiom\" : \"universal\",\n      \"scale\" : \"1x\"\n    },\n    {\n      \"idiom\" : \"universal\",\n      \"filename\" : \"icon_back_white@2x.png\",\n      \"scale\" : \"2x\"\n    },\n    {\n      \"idiom\" : \"universal\",\n      \"filename\" : \"icon_back_white@3x.png\",\n      \"scale\" : \"3x\"\n    }\n  ],\n  \"info\" : {\n    \"version\" : 1,\n    \"author\" : \"xcode\"\n  }\n}"
  },
  {
    "path": "CKMeiTuanShopView/CKMeiTuanShopView/Supporting Flies/Assets.xcassets/Takeaway/icon_chili.imageset/Contents.json",
    "content": "{\n  \"images\" : [\n    {\n      \"idiom\" : \"universal\",\n      \"scale\" : \"1x\"\n    },\n    {\n      \"idiom\" : \"universal\",\n      \"filename\" : \"icon_chili@2x.png\",\n      \"scale\" : \"2x\"\n    },\n    {\n      \"idiom\" : \"universal\",\n      \"filename\" : \"icon_chili@3x.png\",\n      \"scale\" : \"3x\"\n    }\n  ],\n  \"info\" : {\n    \"version\" : 1,\n    \"author\" : \"xcode\"\n  }\n}"
  },
  {
    "path": "CKMeiTuanShopView/CKMeiTuanShopView/Supporting Flies/Assets.xcassets/Takeaway/icon_cop_click.imageset/Contents.json",
    "content": "{\n  \"images\" : [\n    {\n      \"idiom\" : \"universal\",\n      \"scale\" : \"1x\"\n    },\n    {\n      \"idiom\" : \"universal\",\n      \"filename\" : \"icon_cop_click@2x.png\",\n      \"scale\" : \"2x\"\n    },\n    {\n      \"idiom\" : \"universal\",\n      \"filename\" : \"icon_cop_click@3x.png\",\n      \"scale\" : \"3x\"\n    }\n  ],\n  \"info\" : {\n    \"version\" : 1,\n    \"author\" : \"xcode\"\n  }\n}"
  },
  {
    "path": "CKMeiTuanShopView/CKMeiTuanShopView/Supporting Flies/Assets.xcassets/Takeaway/icon_next_black.imageset/Contents.json",
    "content": "{\n  \"images\" : [\n    {\n      \"idiom\" : \"universal\",\n      \"scale\" : \"1x\"\n    },\n    {\n      \"idiom\" : \"universal\",\n      \"filename\" : \"icon_next_black@2x.png\",\n      \"scale\" : \"2x\"\n    },\n    {\n      \"idiom\" : \"universal\",\n      \"filename\" : \"icon_next_black@3x.png\",\n      \"scale\" : \"3x\"\n    }\n  ],\n  \"info\" : {\n    \"version\" : 1,\n    \"author\" : \"xcode\"\n  }\n}"
  },
  {
    "path": "CKMeiTuanShopView/CKMeiTuanShopView/Supporting Flies/Assets.xcassets/Takeaway/icon_state.imageset/Contents.json",
    "content": "{\n  \"images\" : [\n    {\n      \"idiom\" : \"universal\",\n      \"scale\" : \"1x\"\n    },\n    {\n      \"idiom\" : \"universal\",\n      \"filename\" : \"icon_state@2x.png\",\n      \"scale\" : \"2x\"\n    },\n    {\n      \"idiom\" : \"universal\",\n      \"filename\" : \"icon_state@3x.png\",\n      \"scale\" : \"3x\"\n    }\n  ],\n  \"info\" : {\n    \"version\" : 1,\n    \"author\" : \"xcode\"\n  }\n}"
  },
  {
    "path": "CKMeiTuanShopView/CKMeiTuanShopView/Supporting Flies/Assets.xcassets/Takeaway/icon_takeout.imageset/Contents.json",
    "content": "{\n  \"images\" : [\n    {\n      \"idiom\" : \"universal\",\n      \"scale\" : \"1x\"\n    },\n    {\n      \"idiom\" : \"universal\",\n      \"filename\" : \"icon_takeout@2x.png\",\n      \"scale\" : \"2x\"\n    },\n    {\n      \"idiom\" : \"universal\",\n      \"filename\" : \"icon_takeout@3x.png\",\n      \"scale\" : \"3x\"\n    }\n  ],\n  \"info\" : {\n    \"version\" : 1,\n    \"author\" : \"xcode\"\n  }\n}"
  },
  {
    "path": "CKMeiTuanShopView/CKMeiTuanShopView/Supporting Flies/Assets.xcassets/Takeaway/placeholdImg/Contents.json",
    "content": "{\n  \"info\" : {\n    \"version\" : 1,\n    \"author\" : \"xcode\"\n  }\n}"
  },
  {
    "path": "CKMeiTuanShopView/CKMeiTuanShopView/Supporting Flies/Assets.xcassets/Takeaway/placeholdImg/img_135.imageset/Contents.json",
    "content": "{\n  \"images\" : [\n    {\n      \"idiom\" : \"universal\",\n      \"scale\" : \"1x\"\n    },\n    {\n      \"idiom\" : \"universal\",\n      \"filename\" : \"img_135@2x.png\",\n      \"scale\" : \"2x\"\n    },\n    {\n      \"idiom\" : \"universal\",\n      \"filename\" : \"img_135@3x.png\",\n      \"scale\" : \"3x\"\n    }\n  ],\n  \"info\" : {\n    \"version\" : 1,\n    \"author\" : \"xcode\"\n  }\n}"
  },
  {
    "path": "CKMeiTuanShopView/CKMeiTuanShopView/Supporting Flies/Assets.xcassets/Takeaway/placeholdImg/img_280.imageset/Contents.json",
    "content": "{\n  \"images\" : [\n    {\n      \"idiom\" : \"universal\",\n      \"scale\" : \"1x\"\n    },\n    {\n      \"idiom\" : \"universal\",\n      \"filename\" : \"img_280@2x.png\",\n      \"scale\" : \"2x\"\n    },\n    {\n      \"idiom\" : \"universal\",\n      \"filename\" : \"img_280@3x.png\",\n      \"scale\" : \"3x\"\n    }\n  ],\n  \"info\" : {\n    \"version\" : 1,\n    \"author\" : \"xcode\"\n  }\n}"
  },
  {
    "path": "CKMeiTuanShopView/CKMeiTuanShopView/Supporting Flies/Assets.xcassets/Takeaway/placeholdImg/img_30.imageset/Contents.json",
    "content": "{\n  \"images\" : [\n    {\n      \"idiom\" : \"universal\",\n      \"scale\" : \"1x\"\n    },\n    {\n      \"idiom\" : \"universal\",\n      \"filename\" : \"img_30@2x.png\",\n      \"scale\" : \"2x\"\n    },\n    {\n      \"idiom\" : \"universal\",\n      \"filename\" : \"img_30@3x.png\",\n      \"scale\" : \"3x\"\n    }\n  ],\n  \"info\" : {\n    \"version\" : 1,\n    \"author\" : \"xcode\"\n  }\n}"
  },
  {
    "path": "CKMeiTuanShopView/CKMeiTuanShopView/Supporting Flies/Assets.xcassets/Takeaway/placeholdImg/img_30_yj.imageset/Contents.json",
    "content": "{\n  \"images\" : [\n    {\n      \"idiom\" : \"universal\",\n      \"scale\" : \"1x\"\n    },\n    {\n      \"idiom\" : \"universal\",\n      \"filename\" : \"img_30_yj@2x.png\",\n      \"scale\" : \"2x\"\n    },\n    {\n      \"idiom\" : \"universal\",\n      \"filename\" : \"img_30_yj@3x.png\",\n      \"scale\" : \"3x\"\n    }\n  ],\n  \"info\" : {\n    \"version\" : 1,\n    \"author\" : \"xcode\"\n  }\n}"
  },
  {
    "path": "CKMeiTuanShopView/CKMeiTuanShopView/Supporting Flies/Assets.xcassets/Takeaway/placeholdImg/img_375.imageset/Contents.json",
    "content": "{\n  \"images\" : [\n    {\n      \"idiom\" : \"universal\",\n      \"scale\" : \"1x\"\n    },\n    {\n      \"idiom\" : \"universal\",\n      \"filename\" : \"img_375@2x.png\",\n      \"scale\" : \"2x\"\n    },\n    {\n      \"idiom\" : \"universal\",\n      \"filename\" : \"img_375@3x.png\",\n      \"scale\" : \"3x\"\n    }\n  ],\n  \"info\" : {\n    \"version\" : 1,\n    \"author\" : \"xcode\"\n  }\n}"
  },
  {
    "path": "CKMeiTuanShopView/CKMeiTuanShopView/Supporting Flies/Assets.xcassets/Takeaway/placeholdImg/img_50.imageset/Contents.json",
    "content": "{\n  \"images\" : [\n    {\n      \"idiom\" : \"universal\",\n      \"scale\" : \"1x\"\n    },\n    {\n      \"idiom\" : \"universal\",\n      \"filename\" : \"img_50@2x.png\",\n      \"scale\" : \"2x\"\n    },\n    {\n      \"idiom\" : \"universal\",\n      \"filename\" : \"img_50@3x.png\",\n      \"scale\" : \"3x\"\n    }\n  ],\n  \"info\" : {\n    \"version\" : 1,\n    \"author\" : \"xcode\"\n  }\n}"
  },
  {
    "path": "CKMeiTuanShopView/CKMeiTuanShopView/Supporting Flies/Assets.xcassets/Takeaway/placeholdImg/img_60.imageset/Contents.json",
    "content": "{\n  \"images\" : [\n    {\n      \"idiom\" : \"universal\",\n      \"scale\" : \"1x\"\n    },\n    {\n      \"idiom\" : \"universal\",\n      \"filename\" : \"img_60@2x.png\",\n      \"scale\" : \"2x\"\n    },\n    {\n      \"idiom\" : \"universal\",\n      \"filename\" : \"img_60@3x.png\",\n      \"scale\" : \"3x\"\n    }\n  ],\n  \"info\" : {\n    \"version\" : 1,\n    \"author\" : \"xcode\"\n  }\n}"
  },
  {
    "path": "CKMeiTuanShopView/CKMeiTuanShopView/Supporting Flies/Assets.xcassets/Takeaway/placeholdImg/img_80.imageset/Contents.json",
    "content": "{\n  \"images\" : [\n    {\n      \"idiom\" : \"universal\",\n      \"scale\" : \"1x\"\n    },\n    {\n      \"idiom\" : \"universal\",\n      \"filename\" : \"img_80@2x.png\",\n      \"scale\" : \"2x\"\n    },\n    {\n      \"idiom\" : \"universal\",\n      \"filename\" : \"img_80@3x.png\",\n      \"scale\" : \"3x\"\n    }\n  ],\n  \"info\" : {\n    \"version\" : 1,\n    \"author\" : \"xcode\"\n  }\n}"
  },
  {
    "path": "CKMeiTuanShopView/CKMeiTuanShopView/Supporting Flies/Assets.xcassets/Takeaway/placeholdImg/img_82.imageset/Contents.json",
    "content": "{\n  \"images\" : [\n    {\n      \"idiom\" : \"universal\",\n      \"scale\" : \"1x\"\n    },\n    {\n      \"idiom\" : \"universal\",\n      \"filename\" : \"img_82@2x.png\",\n      \"scale\" : \"2x\"\n    },\n    {\n      \"idiom\" : \"universal\",\n      \"filename\" : \"img_82@3x.png\",\n      \"scale\" : \"3x\"\n    }\n  ],\n  \"info\" : {\n    \"version\" : 1,\n    \"author\" : \"xcode\"\n  }\n}"
  },
  {
    "path": "CKMeiTuanShopView/CKMeiTuanShopView/Supporting Flies/Assets.xcassets/Takeaway/placeholdImg/img_86.imageset/Contents.json",
    "content": "{\n  \"images\" : [\n    {\n      \"idiom\" : \"universal\",\n      \"scale\" : \"1x\"\n    },\n    {\n      \"idiom\" : \"universal\",\n      \"filename\" : \"img_86@2x.png\",\n      \"scale\" : \"2x\"\n    },\n    {\n      \"idiom\" : \"universal\",\n      \"filename\" : \"img_86@3x.png\",\n      \"scale\" : \"3x\"\n    }\n  ],\n  \"info\" : {\n    \"version\" : 1,\n    \"author\" : \"xcode\"\n  }\n}"
  },
  {
    "path": "CKMeiTuanShopView/CKMeiTuanShopView/Supporting Flies/Assets.xcassets/Takeaway/star/Contents.json",
    "content": "{\n  \"info\" : {\n    \"version\" : 1,\n    \"author\" : \"xcode\"\n  }\n}"
  },
  {
    "path": "CKMeiTuanShopView/CKMeiTuanShopView/Supporting Flies/Assets.xcassets/Takeaway/star/icon_str_gar_10.imageset/Contents.json",
    "content": "{\n  \"images\" : [\n    {\n      \"idiom\" : \"universal\",\n      \"scale\" : \"1x\"\n    },\n    {\n      \"idiom\" : \"universal\",\n      \"filename\" : \"icon_str_gar_10@2x.png\",\n      \"scale\" : \"2x\"\n    },\n    {\n      \"idiom\" : \"universal\",\n      \"filename\" : \"icon_str_gar_10@3x.png\",\n      \"scale\" : \"3x\"\n    }\n  ],\n  \"info\" : {\n    \"version\" : 1,\n    \"author\" : \"xcode\"\n  }\n}"
  },
  {
    "path": "CKMeiTuanShopView/CKMeiTuanShopView/Supporting Flies/Assets.xcassets/Takeaway/star/icon_str_gary_20.imageset/Contents.json",
    "content": "{\n  \"images\" : [\n    {\n      \"idiom\" : \"universal\",\n      \"scale\" : \"1x\"\n    },\n    {\n      \"idiom\" : \"universal\",\n      \"filename\" : \"icon_str_gary_20@2x.png\",\n      \"scale\" : \"2x\"\n    },\n    {\n      \"idiom\" : \"universal\",\n      \"filename\" : \"icon_str_gary_20@3x.png\",\n      \"scale\" : \"3x\"\n    }\n  ],\n  \"info\" : {\n    \"version\" : 1,\n    \"author\" : \"xcode\"\n  }\n}"
  },
  {
    "path": "CKMeiTuanShopView/CKMeiTuanShopView/Supporting Flies/Assets.xcassets/Takeaway/star/icon_str_gary_25.imageset/Contents.json",
    "content": "{\n  \"images\" : [\n    {\n      \"idiom\" : \"universal\",\n      \"scale\" : \"1x\"\n    },\n    {\n      \"idiom\" : \"universal\",\n      \"filename\" : \"icon_str_gary_25@2x.png\",\n      \"scale\" : \"2x\"\n    },\n    {\n      \"idiom\" : \"universal\",\n      \"filename\" : \"icon_str_gary_25@3x.png\",\n      \"scale\" : \"3x\"\n    }\n  ],\n  \"info\" : {\n    \"version\" : 1,\n    \"author\" : \"xcode\"\n  }\n}"
  },
  {
    "path": "CKMeiTuanShopView/CKMeiTuanShopView/Supporting Flies/Assets.xcassets/Takeaway/star/icon_str_yel_10.imageset/Contents.json",
    "content": "{\n  \"images\" : [\n    {\n      \"idiom\" : \"universal\",\n      \"scale\" : \"1x\"\n    },\n    {\n      \"idiom\" : \"universal\",\n      \"filename\" : \"icon_str_yel_10@2x.png\",\n      \"scale\" : \"2x\"\n    },\n    {\n      \"idiom\" : \"universal\",\n      \"filename\" : \"icon_str_yel_10@3x.png\",\n      \"scale\" : \"3x\"\n    }\n  ],\n  \"info\" : {\n    \"version\" : 1,\n    \"author\" : \"xcode\"\n  }\n}"
  },
  {
    "path": "CKMeiTuanShopView/CKMeiTuanShopView/Supporting Flies/Assets.xcassets/Takeaway/star/icon_str_yel_20.imageset/Contents.json",
    "content": "{\n  \"images\" : [\n    {\n      \"idiom\" : \"universal\",\n      \"scale\" : \"1x\"\n    },\n    {\n      \"idiom\" : \"universal\",\n      \"filename\" : \"icon_str_yel_20@2x.png\",\n      \"scale\" : \"2x\"\n    },\n    {\n      \"idiom\" : \"universal\",\n      \"filename\" : \"icon_str_yel_20@3x.png\",\n      \"scale\" : \"3x\"\n    }\n  ],\n  \"info\" : {\n    \"version\" : 1,\n    \"author\" : \"xcode\"\n  }\n}"
  },
  {
    "path": "CKMeiTuanShopView/CKMeiTuanShopView/Supporting Flies/Assets.xcassets/Takeaway/star/icon_str_yel_25.imageset/Contents.json",
    "content": "{\n  \"images\" : [\n    {\n      \"idiom\" : \"universal\",\n      \"scale\" : \"1x\"\n    },\n    {\n      \"idiom\" : \"universal\",\n      \"filename\" : \"icon_str_yel_25@2x.png\",\n      \"scale\" : \"2x\"\n    },\n    {\n      \"idiom\" : \"universal\",\n      \"filename\" : \"icon_str_yel_25@3x.png\",\n      \"scale\" : \"3x\"\n    }\n  ],\n  \"info\" : {\n    \"version\" : 1,\n    \"author\" : \"xcode\"\n  }\n}"
  },
  {
    "path": "CKMeiTuanShopView/CKMeiTuanShopView/Supporting Flies/Assets.xcassets/Takeaway/takeawayIcon/Contents.json",
    "content": "{\n  \"info\" : {\n    \"version\" : 1,\n    \"author\" : \"xcode\"\n  }\n}"
  },
  {
    "path": "CKMeiTuanShopView/CKMeiTuanShopView/Supporting Flies/Assets.xcassets/Takeaway/takeawayIcon/addProduct_icon.imageset/Contents.json",
    "content": "{\n  \"images\" : [\n    {\n      \"idiom\" : \"universal\",\n      \"filename\" : \"addProduct_icon.png\",\n      \"scale\" : \"1x\"\n    },\n    {\n      \"idiom\" : \"universal\",\n      \"scale\" : \"2x\"\n    },\n    {\n      \"idiom\" : \"universal\",\n      \"scale\" : \"3x\"\n    }\n  ],\n  \"info\" : {\n    \"version\" : 1,\n    \"author\" : \"xcode\"\n  }\n}"
  },
  {
    "path": "CKMeiTuanShopView/CKMeiTuanShopView/Supporting Flies/Assets.xcassets/Takeaway/takeawayIcon/but_bad_gary.imageset/Contents.json",
    "content": "{\n  \"images\" : [\n    {\n      \"idiom\" : \"universal\",\n      \"scale\" : \"1x\"\n    },\n    {\n      \"idiom\" : \"universal\",\n      \"filename\" : \"but_bad_gary@2x.png\",\n      \"scale\" : \"2x\"\n    },\n    {\n      \"idiom\" : \"universal\",\n      \"filename\" : \"but_bad_gary@3x.png\",\n      \"scale\" : \"3x\"\n    }\n  ],\n  \"info\" : {\n    \"version\" : 1,\n    \"author\" : \"xcode\"\n  }\n}"
  },
  {
    "path": "CKMeiTuanShopView/CKMeiTuanShopView/Supporting Flies/Assets.xcassets/Takeaway/takeawayIcon/but_camera.imageset/Contents.json",
    "content": "{\n  \"images\" : [\n    {\n      \"idiom\" : \"universal\",\n      \"scale\" : \"1x\"\n    },\n    {\n      \"idiom\" : \"universal\",\n      \"filename\" : \"but_camera@2x.png\",\n      \"scale\" : \"2x\"\n    },\n    {\n      \"idiom\" : \"universal\",\n      \"filename\" : \"but_camera@3x.png\",\n      \"scale\" : \"3x\"\n    }\n  ],\n  \"info\" : {\n    \"version\" : 1,\n    \"author\" : \"xcode\"\n  }\n}"
  },
  {
    "path": "CKMeiTuanShopView/CKMeiTuanShopView/Supporting Flies/Assets.xcassets/Takeaway/takeawayIcon/but_cot_gary.imageset/Contents.json",
    "content": "{\n  \"images\" : [\n    {\n      \"idiom\" : \"universal\",\n      \"scale\" : \"1x\"\n    },\n    {\n      \"idiom\" : \"universal\",\n      \"filename\" : \"but_cot_gary@2x.png\",\n      \"scale\" : \"2x\"\n    },\n    {\n      \"idiom\" : \"universal\",\n      \"filename\" : \"but_cot_gary@3x.png\",\n      \"scale\" : \"3x\"\n    }\n  ],\n  \"info\" : {\n    \"version\" : 1,\n    \"author\" : \"xcode\"\n  }\n}"
  },
  {
    "path": "CKMeiTuanShopView/CKMeiTuanShopView/Supporting Flies/Assets.xcassets/Takeaway/takeawayIcon/but_del_bg.imageset/Contents.json",
    "content": "{\n  \"images\" : [\n    {\n      \"idiom\" : \"universal\",\n      \"scale\" : \"1x\"\n    },\n    {\n      \"idiom\" : \"universal\",\n      \"filename\" : \"but_del_bg@2x.png\",\n      \"scale\" : \"2x\"\n    },\n    {\n      \"idiom\" : \"universal\",\n      \"filename\" : \"but_del_bg@3x.png\",\n      \"scale\" : \"3x\"\n    }\n  ],\n  \"info\" : {\n    \"version\" : 1,\n    \"author\" : \"xcode\"\n  }\n}"
  },
  {
    "path": "CKMeiTuanShopView/CKMeiTuanShopView/Supporting Flies/Assets.xcassets/Takeaway/takeawayIcon/but_god_yel.imageset/Contents.json",
    "content": "{\n  \"images\" : [\n    {\n      \"idiom\" : \"universal\",\n      \"scale\" : \"1x\"\n    },\n    {\n      \"idiom\" : \"universal\",\n      \"filename\" : \"but_god_yel@2x.png\",\n      \"scale\" : \"2x\"\n    },\n    {\n      \"idiom\" : \"universal\",\n      \"filename\" : \"but_god_yel@3x.png\",\n      \"scale\" : \"3x\"\n    }\n  ],\n  \"info\" : {\n    \"version\" : 1,\n    \"author\" : \"xcode\"\n  }\n}"
  },
  {
    "path": "CKMeiTuanShopView/CKMeiTuanShopView/Supporting Flies/Assets.xcassets/Takeaway/takeawayIcon/but_phe.imageset/Contents.json",
    "content": "{\n  \"images\" : [\n    {\n      \"idiom\" : \"universal\",\n      \"scale\" : \"1x\"\n    },\n    {\n      \"idiom\" : \"universal\",\n      \"filename\" : \"but_phe@2x.png\",\n      \"scale\" : \"2x\"\n    },\n    {\n      \"idiom\" : \"universal\",\n      \"filename\" : \"but_phe@3x.png\",\n      \"scale\" : \"3x\"\n    }\n  ],\n  \"info\" : {\n    \"version\" : 1,\n    \"author\" : \"xcode\"\n  }\n}"
  },
  {
    "path": "CKMeiTuanShopView/CKMeiTuanShopView/Supporting Flies/Assets.xcassets/Takeaway/takeawayIcon/but_sc_gary.imageset/Contents.json",
    "content": "{\n  \"images\" : [\n    {\n      \"idiom\" : \"universal\",\n      \"scale\" : \"1x\"\n    },\n    {\n      \"idiom\" : \"universal\",\n      \"filename\" : \"but_sc_gary@2x.png\",\n      \"scale\" : \"2x\"\n    },\n    {\n      \"idiom\" : \"universal\",\n      \"filename\" : \"but_sc_gary@3x.png\",\n      \"scale\" : \"3x\"\n    }\n  ],\n  \"info\" : {\n    \"version\" : 1,\n    \"author\" : \"xcode\"\n  }\n}"
  },
  {
    "path": "CKMeiTuanShopView/CKMeiTuanShopView/Supporting Flies/Assets.xcassets/Takeaway/takeawayIcon/but_sc_white.imageset/Contents.json",
    "content": "{\n  \"images\" : [\n    {\n      \"idiom\" : \"universal\",\n      \"scale\" : \"1x\"\n    },\n    {\n      \"idiom\" : \"universal\",\n      \"filename\" : \"but_sc_white@2x.png\",\n      \"scale\" : \"2x\"\n    },\n    {\n      \"idiom\" : \"universal\",\n      \"filename\" : \"but_sc_white@3x.png\",\n      \"scale\" : \"3x\"\n    }\n  ],\n  \"info\" : {\n    \"version\" : 1,\n    \"author\" : \"xcode\"\n  }\n}"
  },
  {
    "path": "CKMeiTuanShopView/CKMeiTuanShopView/Supporting Flies/Assets.xcassets/Takeaway/takeawayIcon/but_spn_yellow.imageset/Contents.json",
    "content": "{\n  \"images\" : [\n    {\n      \"idiom\" : \"universal\",\n      \"scale\" : \"1x\"\n    },\n    {\n      \"idiom\" : \"universal\",\n      \"filename\" : \"but_spn_yellow@2x.png\",\n      \"scale\" : \"2x\"\n    },\n    {\n      \"idiom\" : \"universal\",\n      \"filename\" : \"but_spn_yellow@3x.png\",\n      \"scale\" : \"3x\"\n    }\n  ],\n  \"info\" : {\n    \"version\" : 1,\n    \"author\" : \"xcode\"\n  }\n}"
  },
  {
    "path": "CKMeiTuanShopView/CKMeiTuanShopView/Supporting Flies/Assets.xcassets/Takeaway/takeawayIcon/icon_ad.imageset/Contents.json",
    "content": "{\n  \"images\" : [\n    {\n      \"idiom\" : \"universal\",\n      \"scale\" : \"1x\"\n    },\n    {\n      \"idiom\" : \"universal\",\n      \"filename\" : \"icon_ad@2x.png\",\n      \"scale\" : \"2x\"\n    },\n    {\n      \"idiom\" : \"universal\",\n      \"filename\" : \"icon_ad@3x.png\",\n      \"scale\" : \"3x\"\n    }\n  ],\n  \"info\" : {\n    \"version\" : 1,\n    \"author\" : \"xcode\"\n  }\n}"
  },
  {
    "path": "CKMeiTuanShopView/CKMeiTuanShopView/Supporting Flies/Assets.xcassets/Takeaway/takeawayIcon/icon_ads.imageset/Contents.json",
    "content": "{\n  \"images\" : [\n    {\n      \"idiom\" : \"universal\",\n      \"scale\" : \"1x\"\n    },\n    {\n      \"idiom\" : \"universal\",\n      \"filename\" : \"icon_ads@2x.png\",\n      \"scale\" : \"2x\"\n    },\n    {\n      \"idiom\" : \"universal\",\n      \"filename\" : \"icon_ads@3x.png\",\n      \"scale\" : \"3x\"\n    }\n  ],\n  \"info\" : {\n    \"version\" : 1,\n    \"author\" : \"xcode\"\n  }\n}"
  },
  {
    "path": "CKMeiTuanShopView/CKMeiTuanShopView/Supporting Flies/Assets.xcassets/Takeaway/takeawayIcon/icon_ant.imageset/Contents.json",
    "content": "{\n  \"images\" : [\n    {\n      \"idiom\" : \"universal\",\n      \"scale\" : \"1x\"\n    },\n    {\n      \"idiom\" : \"universal\",\n      \"filename\" : \"icon_ant@2x.png\",\n      \"scale\" : \"2x\"\n    },\n    {\n      \"idiom\" : \"universal\",\n      \"filename\" : \"icon_ant@3x.png\",\n      \"scale\" : \"3x\"\n    }\n  ],\n  \"info\" : {\n    \"version\" : 1,\n    \"author\" : \"xcode\"\n  }\n}"
  },
  {
    "path": "CKMeiTuanShopView/CKMeiTuanShopView/Supporting Flies/Assets.xcassets/Takeaway/takeawayIcon/icon_bad_gary.imageset/Contents.json",
    "content": "{\n  \"images\" : [\n    {\n      \"idiom\" : \"universal\",\n      \"scale\" : \"1x\"\n    },\n    {\n      \"idiom\" : \"universal\",\n      \"filename\" : \"icon_bad_gary@2x.png\",\n      \"scale\" : \"2x\"\n    },\n    {\n      \"idiom\" : \"universal\",\n      \"filename\" : \"icon_bad_gary@3x.png\",\n      \"scale\" : \"3x\"\n    }\n  ],\n  \"info\" : {\n    \"version\" : 1,\n    \"author\" : \"xcode\"\n  }\n}"
  },
  {
    "path": "CKMeiTuanShopView/CKMeiTuanShopView/Supporting Flies/Assets.xcassets/Takeaway/takeawayIcon/icon_brd_big.imageset/Contents.json",
    "content": "{\n  \"images\" : [\n    {\n      \"idiom\" : \"universal\",\n      \"scale\" : \"1x\"\n    },\n    {\n      \"idiom\" : \"universal\",\n      \"filename\" : \"icon_brd_big@2x.png\",\n      \"scale\" : \"2x\"\n    },\n    {\n      \"idiom\" : \"universal\",\n      \"filename\" : \"icon_brd_big@3x.png\",\n      \"scale\" : \"3x\"\n    }\n  ],\n  \"info\" : {\n    \"version\" : 1,\n    \"author\" : \"xcode\"\n  }\n}"
  },
  {
    "path": "CKMeiTuanShopView/CKMeiTuanShopView/Supporting Flies/Assets.xcassets/Takeaway/takeawayIcon/icon_chili.imageset/Contents.json",
    "content": "{\n  \"images\" : [\n    {\n      \"idiom\" : \"universal\",\n      \"scale\" : \"1x\"\n    },\n    {\n      \"idiom\" : \"universal\",\n      \"filename\" : \"icon_chili@2x.png\",\n      \"scale\" : \"2x\"\n    },\n    {\n      \"idiom\" : \"universal\",\n      \"filename\" : \"icon_chili@3x.png\",\n      \"scale\" : \"3x\"\n    }\n  ],\n  \"info\" : {\n    \"version\" : 1,\n    \"author\" : \"xcode\"\n  }\n}"
  },
  {
    "path": "CKMeiTuanShopView/CKMeiTuanShopView/Supporting Flies/Assets.xcassets/Takeaway/takeawayIcon/icon_dit.imageset/Contents.json",
    "content": "{\n  \"images\" : [\n    {\n      \"idiom\" : \"universal\",\n      \"scale\" : \"1x\"\n    },\n    {\n      \"idiom\" : \"universal\",\n      \"filename\" : \"icon_dit@2x.png\",\n      \"scale\" : \"2x\"\n    },\n    {\n      \"idiom\" : \"universal\",\n      \"filename\" : \"icon_dit@3x.png\",\n      \"scale\" : \"3x\"\n    }\n  ],\n  \"info\" : {\n    \"version\" : 1,\n    \"author\" : \"xcode\"\n  }\n}"
  },
  {
    "path": "CKMeiTuanShopView/CKMeiTuanShopView/Supporting Flies/Assets.xcassets/Takeaway/takeawayIcon/icon_dit_white.imageset/Contents.json",
    "content": "{\n  \"images\" : [\n    {\n      \"idiom\" : \"universal\",\n      \"scale\" : \"1x\"\n    },\n    {\n      \"idiom\" : \"universal\",\n      \"filename\" : \"icon_dit_white@2x.png\",\n      \"scale\" : \"2x\"\n    },\n    {\n      \"idiom\" : \"universal\",\n      \"filename\" : \"icon_dit_white@3x.png\",\n      \"scale\" : \"3x\"\n    }\n  ],\n  \"info\" : {\n    \"version\" : 1,\n    \"author\" : \"xcode\"\n  }\n}"
  },
  {
    "path": "CKMeiTuanShopView/CKMeiTuanShopView/Supporting Flies/Assets.xcassets/Takeaway/takeawayIcon/icon_good_gary.imageset/Contents.json",
    "content": "{\n  \"images\" : [\n    {\n      \"idiom\" : \"universal\",\n      \"scale\" : \"1x\"\n    },\n    {\n      \"idiom\" : \"universal\",\n      \"filename\" : \"icon_good_gary@2x.png\",\n      \"scale\" : \"2x\"\n    },\n    {\n      \"idiom\" : \"universal\",\n      \"filename\" : \"icon_good_gary@3x.png\",\n      \"scale\" : \"3x\"\n    }\n  ],\n  \"info\" : {\n    \"version\" : 1,\n    \"author\" : \"xcode\"\n  }\n}"
  },
  {
    "path": "CKMeiTuanShopView/CKMeiTuanShopView/Supporting Flies/Assets.xcassets/Takeaway/takeawayIcon/icon_head.imageset/Contents.json",
    "content": "{\n  \"images\" : [\n    {\n      \"idiom\" : \"universal\",\n      \"scale\" : \"1x\"\n    },\n    {\n      \"idiom\" : \"universal\",\n      \"filename\" : \"icon_head@2x.png\",\n      \"scale\" : \"2x\"\n    },\n    {\n      \"idiom\" : \"universal\",\n      \"filename\" : \"icon_head@3x.png\",\n      \"scale\" : \"3x\"\n    }\n  ],\n  \"info\" : {\n    \"version\" : 1,\n    \"author\" : \"xcode\"\n  }\n}"
  },
  {
    "path": "CKMeiTuanShopView/CKMeiTuanShopView/Supporting Flies/Assets.xcassets/Takeaway/takeawayIcon/icon_idcard.imageset/Contents.json",
    "content": "{\n  \"images\" : [\n    {\n      \"idiom\" : \"universal\",\n      \"scale\" : \"1x\"\n    },\n    {\n      \"idiom\" : \"universal\",\n      \"filename\" : \"icon_idcard@2x.png\",\n      \"scale\" : \"2x\"\n    },\n    {\n      \"idiom\" : \"universal\",\n      \"filename\" : \"icon_idcard@3x.png\",\n      \"scale\" : \"3x\"\n    }\n  ],\n  \"info\" : {\n    \"version\" : 1,\n    \"author\" : \"xcode\"\n  }\n}"
  },
  {
    "path": "CKMeiTuanShopView/CKMeiTuanShopView/Supporting Flies/Assets.xcassets/Takeaway/takeawayIcon/icon_info_gray.imageset/Contents.json",
    "content": "{\n  \"images\" : [\n    {\n      \"idiom\" : \"universal\",\n      \"scale\" : \"1x\"\n    },\n    {\n      \"idiom\" : \"universal\",\n      \"filename\" : \"icon_info_gray@2x.png\",\n      \"scale\" : \"2x\"\n    },\n    {\n      \"idiom\" : \"universal\",\n      \"filename\" : \"icon_info_gray@3x.png\",\n      \"scale\" : \"3x\"\n    }\n  ],\n  \"info\" : {\n    \"version\" : 1,\n    \"author\" : \"xcode\"\n  }\n}"
  },
  {
    "path": "CKMeiTuanShopView/CKMeiTuanShopView/Supporting Flies/Assets.xcassets/Takeaway/takeawayIcon/icon_info_yel.imageset/Contents.json",
    "content": "{\n  \"images\" : [\n    {\n      \"idiom\" : \"universal\",\n      \"scale\" : \"1x\"\n    },\n    {\n      \"idiom\" : \"universal\",\n      \"filename\" : \"icon_info_yel@2x.png\",\n      \"scale\" : \"2x\"\n    },\n    {\n      \"idiom\" : \"universal\",\n      \"filename\" : \"icon_info_yel@3x.png\",\n      \"scale\" : \"3x\"\n    }\n  ],\n  \"info\" : {\n    \"version\" : 1,\n    \"author\" : \"xcode\"\n  }\n}"
  },
  {
    "path": "CKMeiTuanShopView/CKMeiTuanShopView/Supporting Flies/Assets.xcassets/Takeaway/takeawayIcon/icon_loc_gary.imageset/Contents.json",
    "content": "{\n  \"images\" : [\n    {\n      \"idiom\" : \"universal\",\n      \"scale\" : \"1x\"\n    },\n    {\n      \"idiom\" : \"universal\",\n      \"filename\" : \"icon_loc_gary@2x.png\",\n      \"scale\" : \"2x\"\n    },\n    {\n      \"idiom\" : \"universal\",\n      \"filename\" : \"icon_loc_gary@3x.png\",\n      \"scale\" : \"3x\"\n    }\n  ],\n  \"info\" : {\n    \"version\" : 1,\n    \"author\" : \"xcode\"\n  }\n}"
  },
  {
    "path": "CKMeiTuanShopView/CKMeiTuanShopView/Supporting Flies/Assets.xcassets/Takeaway/takeawayIcon/icon_location.imageset/Contents.json",
    "content": "{\n  \"images\" : [\n    {\n      \"idiom\" : \"universal\",\n      \"scale\" : \"1x\"\n    },\n    {\n      \"idiom\" : \"universal\",\n      \"filename\" : \"icon_location@2x.png\",\n      \"scale\" : \"2x\"\n    },\n    {\n      \"idiom\" : \"universal\",\n      \"filename\" : \"icon_location@3x.png\",\n      \"scale\" : \"3x\"\n    }\n  ],\n  \"info\" : {\n    \"version\" : 1,\n    \"author\" : \"xcode\"\n  }\n}"
  },
  {
    "path": "CKMeiTuanShopView/CKMeiTuanShopView/Supporting Flies/Assets.xcassets/Takeaway/takeawayIcon/icon_location_gary.imageset/Contents.json",
    "content": "{\n  \"images\" : [\n    {\n      \"idiom\" : \"universal\",\n      \"scale\" : \"1x\"\n    },\n    {\n      \"idiom\" : \"universal\",\n      \"filename\" : \"icon_location_gary@2x.png\",\n      \"scale\" : \"2x\"\n    },\n    {\n      \"idiom\" : \"universal\",\n      \"filename\" : \"icon_location_gary@3x.png\",\n      \"scale\" : \"3x\"\n    }\n  ],\n  \"info\" : {\n    \"version\" : 1,\n    \"author\" : \"xcode\"\n  }\n}"
  },
  {
    "path": "CKMeiTuanShopView/CKMeiTuanShopView/Supporting Flies/Assets.xcassets/Takeaway/takeawayIcon/icon_ml_gary.imageset/Contents.json",
    "content": "{\n  \"images\" : [\n    {\n      \"idiom\" : \"universal\",\n      \"scale\" : \"1x\"\n    },\n    {\n      \"idiom\" : \"universal\",\n      \"filename\" : \"icon_ml_gary@2x.png\",\n      \"scale\" : \"2x\"\n    },\n    {\n      \"idiom\" : \"universal\",\n      \"filename\" : \"icon_ml_gary@3x.png\",\n      \"scale\" : \"3x\"\n    }\n  ],\n  \"info\" : {\n    \"version\" : 1,\n    \"author\" : \"xcode\"\n  }\n}"
  },
  {
    "path": "CKMeiTuanShopView/CKMeiTuanShopView/Supporting Flies/Assets.xcassets/Takeaway/takeawayIcon/icon_next_up.imageset/Contents.json",
    "content": "{\n  \"images\" : [\n    {\n      \"idiom\" : \"universal\",\n      \"scale\" : \"1x\"\n    },\n    {\n      \"idiom\" : \"universal\",\n      \"filename\" : \"icon_next@2x.png\",\n      \"scale\" : \"2x\"\n    },\n    {\n      \"idiom\" : \"universal\",\n      \"filename\" : \"icon_next@3x.png\",\n      \"scale\" : \"3x\"\n    }\n  ],\n  \"info\" : {\n    \"version\" : 1,\n    \"author\" : \"xcode\"\n  }\n}"
  },
  {
    "path": "CKMeiTuanShopView/CKMeiTuanShopView/Supporting Flies/Assets.xcassets/Takeaway/takeawayIcon/icon_ref_yel.imageset/Contents.json",
    "content": "{\n  \"images\" : [\n    {\n      \"idiom\" : \"universal\",\n      \"scale\" : \"1x\"\n    },\n    {\n      \"idiom\" : \"universal\",\n      \"filename\" : \"icon_ref_yel@2x.png\",\n      \"scale\" : \"2x\"\n    },\n    {\n      \"idiom\" : \"universal\",\n      \"filename\" : \"icon_ref_yel@3x.png\",\n      \"scale\" : \"3x\"\n    }\n  ],\n  \"info\" : {\n    \"version\" : 1,\n    \"author\" : \"xcode\"\n  }\n}"
  },
  {
    "path": "CKMeiTuanShopView/CKMeiTuanShopView/Supporting Flies/Assets.xcassets/Takeaway/takeawayIcon/icon_score.imageset/Contents.json",
    "content": "{\n  \"images\" : [\n    {\n      \"idiom\" : \"universal\",\n      \"scale\" : \"1x\"\n    },\n    {\n      \"idiom\" : \"universal\",\n      \"filename\" : \"icon_score@2x.png\",\n      \"scale\" : \"2x\"\n    },\n    {\n      \"idiom\" : \"universal\",\n      \"filename\" : \"icon_score@3x.png\",\n      \"scale\" : \"3x\"\n    }\n  ],\n  \"info\" : {\n    \"version\" : 1,\n    \"author\" : \"xcode\"\n  }\n}"
  },
  {
    "path": "CKMeiTuanShopView/CKMeiTuanShopView/Supporting Flies/Assets.xcassets/Takeaway/takeawayIcon/icon_sel_yellow.imageset/Contents.json",
    "content": "{\n  \"images\" : [\n    {\n      \"idiom\" : \"universal\",\n      \"scale\" : \"1x\"\n    },\n    {\n      \"idiom\" : \"universal\",\n      \"filename\" : \"icon_sel_yellow@2x.png\",\n      \"scale\" : \"2x\"\n    },\n    {\n      \"idiom\" : \"universal\",\n      \"filename\" : \"icon_sel_yellow@3x.png\",\n      \"scale\" : \"3x\"\n    }\n  ],\n  \"info\" : {\n    \"version\" : 1,\n    \"author\" : \"xcode\"\n  }\n}"
  },
  {
    "path": "CKMeiTuanShopView/CKMeiTuanShopView/Supporting Flies/Assets.xcassets/Takeaway/takeawayIcon/icon_smi_yel.imageset/Contents.json",
    "content": "{\n  \"images\" : [\n    {\n      \"idiom\" : \"universal\",\n      \"scale\" : \"1x\"\n    },\n    {\n      \"idiom\" : \"universal\",\n      \"filename\" : \"icon_smi_yel@2x.png\",\n      \"scale\" : \"2x\"\n    },\n    {\n      \"idiom\" : \"universal\",\n      \"filename\" : \"icon_smi_yel@3x.png\",\n      \"scale\" : \"3x\"\n    }\n  ],\n  \"info\" : {\n    \"version\" : 1,\n    \"author\" : \"xcode\"\n  }\n}"
  },
  {
    "path": "CKMeiTuanShopView/CKMeiTuanShopView/Supporting Flies/Assets.xcassets/Takeaway/takeawayIcon/icon_state.imageset/Contents.json",
    "content": "{\n  \"images\" : [\n    {\n      \"idiom\" : \"universal\",\n      \"scale\" : \"1x\"\n    },\n    {\n      \"idiom\" : \"universal\",\n      \"filename\" : \"icon_state@2x.png\",\n      \"scale\" : \"2x\"\n    },\n    {\n      \"idiom\" : \"universal\",\n      \"filename\" : \"icon_state@3x.png\",\n      \"scale\" : \"3x\"\n    }\n  ],\n  \"info\" : {\n    \"version\" : 1,\n    \"author\" : \"xcode\"\n  }\n}"
  },
  {
    "path": "CKMeiTuanShopView/CKMeiTuanShopView/Supporting Flies/Assets.xcassets/Takeaway/takeawayIcon/icon_store_takeaway.imageset/Contents.json",
    "content": "{\n  \"images\" : [\n    {\n      \"idiom\" : \"universal\",\n      \"scale\" : \"1x\"\n    },\n    {\n      \"idiom\" : \"universal\",\n      \"filename\" : \"icon_store@2x.png\",\n      \"scale\" : \"2x\"\n    },\n    {\n      \"idiom\" : \"universal\",\n      \"filename\" : \"icon_store@3x.png\",\n      \"scale\" : \"3x\"\n    }\n  ],\n  \"info\" : {\n    \"version\" : 1,\n    \"author\" : \"xcode\"\n  }\n}"
  },
  {
    "path": "CKMeiTuanShopView/CKMeiTuanShopView/Supporting Flies/Assets.xcassets/Takeaway/takeawayIcon/icon_tel.imageset/Contents.json",
    "content": "{\n  \"images\" : [\n    {\n      \"idiom\" : \"universal\",\n      \"scale\" : \"1x\"\n    },\n    {\n      \"idiom\" : \"universal\",\n      \"filename\" : \"icon_tel@2x.png\",\n      \"scale\" : \"2x\"\n    },\n    {\n      \"idiom\" : \"universal\",\n      \"filename\" : \"icon_tel@3x.png\",\n      \"scale\" : \"3x\"\n    }\n  ],\n  \"info\" : {\n    \"version\" : 1,\n    \"author\" : \"xcode\"\n  }\n}"
  },
  {
    "path": "CKMeiTuanShopView/CKMeiTuanShopView/Supporting Flies/Assets.xcassets/Takeaway/takeawayIcon/icon_time.imageset/Contents.json",
    "content": "{\n  \"images\" : [\n    {\n      \"idiom\" : \"universal\",\n      \"scale\" : \"1x\"\n    },\n    {\n      \"idiom\" : \"universal\",\n      \"filename\" : \"icon_time@2x.png\",\n      \"scale\" : \"2x\"\n    },\n    {\n      \"idiom\" : \"universal\",\n      \"filename\" : \"icon_time@3x.png\",\n      \"scale\" : \"3x\"\n    }\n  ],\n  \"info\" : {\n    \"version\" : 1,\n    \"author\" : \"xcode\"\n  }\n}"
  },
  {
    "path": "CKMeiTuanShopView/CKMeiTuanShopView/Supporting Flies/Assets.xcassets/Takeaway/takeawayIcon/icon_time_yel.imageset/Contents.json",
    "content": "{\n  \"images\" : [\n    {\n      \"idiom\" : \"universal\",\n      \"scale\" : \"1x\"\n    },\n    {\n      \"idiom\" : \"universal\",\n      \"filename\" : \"icon_time_yel@2x.png\",\n      \"scale\" : \"2x\"\n    },\n    {\n      \"idiom\" : \"universal\",\n      \"filename\" : \"icon_time_yel@3x.png\",\n      \"scale\" : \"3x\"\n    }\n  ],\n  \"info\" : {\n    \"version\" : 1,\n    \"author\" : \"xcode\"\n  }\n}"
  },
  {
    "path": "CKMeiTuanShopView/CKMeiTuanShopView/Supporting Flies/Assets.xcassets/Takeaway/takeawayIcon/icon_up_black.imageset/Contents.json",
    "content": "{\n  \"images\" : [\n    {\n      \"idiom\" : \"universal\",\n      \"scale\" : \"1x\"\n    },\n    {\n      \"idiom\" : \"universal\",\n      \"filename\" : \"icon_up_black@2x.png\",\n      \"scale\" : \"2x\"\n    },\n    {\n      \"idiom\" : \"universal\",\n      \"filename\" : \"icon_up_black@3x.png\",\n      \"scale\" : \"3x\"\n    }\n  ],\n  \"info\" : {\n    \"version\" : 1,\n    \"author\" : \"xcode\"\n  }\n}"
  },
  {
    "path": "CKMeiTuanShopView/CKMeiTuanShopView/Supporting Flies/Assets.xcassets/Takeaway/takeawayIcon/lab_new_big.imageset/Contents.json",
    "content": "{\n  \"images\" : [\n    {\n      \"idiom\" : \"universal\",\n      \"scale\" : \"1x\"\n    },\n    {\n      \"idiom\" : \"universal\",\n      \"filename\" : \"lab_new_big@2x.png\",\n      \"scale\" : \"2x\"\n    },\n    {\n      \"idiom\" : \"universal\",\n      \"filename\" : \"lab_new_big@3x.png\",\n      \"scale\" : \"3x\"\n    }\n  ],\n  \"info\" : {\n    \"version\" : 1,\n    \"author\" : \"xcode\"\n  }\n}"
  },
  {
    "path": "CKMeiTuanShopView/CKMeiTuanShopView/Supporting Flies/Base.lproj/LaunchScreen.storyboard",
    "content": "<?xml version=\"1.0\" encoding=\"UTF-8\" standalone=\"no\"?>\n<document type=\"com.apple.InterfaceBuilder3.CocoaTouch.Storyboard.XIB\" version=\"3.0\" toolsVersion=\"13122.16\" systemVersion=\"17A277\" targetRuntime=\"iOS.CocoaTouch\" propertyAccessControl=\"none\" useAutolayout=\"YES\" launchScreen=\"YES\" useTraitCollections=\"YES\" useSafeAreas=\"YES\" colorMatched=\"YES\" initialViewController=\"01J-lp-oVM\">\n    <dependencies>\n        <plugIn identifier=\"com.apple.InterfaceBuilder.IBCocoaTouchPlugin\" version=\"13104.12\"/>\n        <capability name=\"Safe area layout guides\" minToolsVersion=\"9.0\"/>\n        <capability name=\"documents saved in the Xcode 8 format\" minToolsVersion=\"8.0\"/>\n    </dependencies>\n    <scenes>\n        <!--View Controller-->\n        <scene sceneID=\"EHf-IW-A2E\">\n            <objects>\n                <viewController id=\"01J-lp-oVM\" sceneMemberID=\"viewController\">\n                    <view key=\"view\" contentMode=\"scaleToFill\" id=\"Ze5-6b-2t3\">\n                        <rect key=\"frame\" x=\"0.0\" y=\"0.0\" width=\"375\" height=\"667\"/>\n                        <autoresizingMask key=\"autoresizingMask\" widthSizable=\"YES\" heightSizable=\"YES\"/>\n                        <color key=\"backgroundColor\" red=\"1\" green=\"1\" blue=\"1\" alpha=\"1\" colorSpace=\"custom\" customColorSpace=\"sRGB\"/>\n                        <viewLayoutGuide key=\"safeArea\" id=\"6Tk-OE-BBY\"/>\n                    </view>\n                </viewController>\n                <placeholder placeholderIdentifier=\"IBFirstResponder\" id=\"iYj-Kq-Ea1\" userLabel=\"First Responder\" sceneMemberID=\"firstResponder\"/>\n            </objects>\n            <point key=\"canvasLocation\" x=\"53\" y=\"375\"/>\n        </scene>\n    </scenes>\n</document>\n"
  },
  {
    "path": "CKMeiTuanShopView/CKMeiTuanShopView/Supporting Flies/Base.lproj/Main.storyboard",
    "content": "<?xml version=\"1.0\" encoding=\"UTF-8\"?>\n<document type=\"com.apple.InterfaceBuilder3.CocoaTouch.Storyboard.XIB\" version=\"3.0\" toolsVersion=\"13122.16\" systemVersion=\"17A277\" targetRuntime=\"iOS.CocoaTouch\" propertyAccessControl=\"none\" useAutolayout=\"YES\" useTraitCollections=\"YES\" useSafeAreas=\"YES\" colorMatched=\"YES\" initialViewController=\"BYZ-38-t0r\">\n    <dependencies>\n        <plugIn identifier=\"com.apple.InterfaceBuilder.IBCocoaTouchPlugin\" version=\"13104.12\"/>\n        <capability name=\"Safe area layout guides\" minToolsVersion=\"9.0\"/>\n        <capability name=\"documents saved in the Xcode 8 format\" minToolsVersion=\"8.0\"/>\n    </dependencies>\n    <scenes>\n        <!--View Controller-->\n        <scene sceneID=\"tne-QT-ifu\">\n            <objects>\n                <viewController id=\"BYZ-38-t0r\" customClass=\"ViewController\" customModuleProvider=\"\" sceneMemberID=\"viewController\">\n                    <view key=\"view\" contentMode=\"scaleToFill\" id=\"8bC-Xf-vdC\">\n                        <rect key=\"frame\" x=\"0.0\" y=\"0.0\" width=\"375\" height=\"667\"/>\n                        <autoresizingMask key=\"autoresizingMask\" widthSizable=\"YES\" heightSizable=\"YES\"/>\n                        <color key=\"backgroundColor\" red=\"1\" green=\"1\" blue=\"1\" alpha=\"1\" colorSpace=\"custom\" customColorSpace=\"sRGB\"/>\n                        <viewLayoutGuide key=\"safeArea\" id=\"6Tk-OE-BBY\"/>\n                    </view>\n                </viewController>\n                <placeholder placeholderIdentifier=\"IBFirstResponder\" id=\"dkx-z0-nzr\" sceneMemberID=\"firstResponder\"/>\n            </objects>\n        </scene>\n    </scenes>\n</document>\n"
  },
  {
    "path": "CKMeiTuanShopView/CKMeiTuanShopView/Supporting Flies/CKPrefixHeader.pch",
    "content": "//\n//  CKPrefixHeader.pch\n//  CKMeiTuanShopView\n//\n//  Created by 池康 on 2018/7/31.\n//  Copyright © 2018年 CK. All rights reserved.\n//\n\n#ifndef CKPrefixHeader_pch\n#define CKPrefixHeader_pch\n\n// Include any system framework and library headers here that should be included in all compilation units.\n// You will also need to set the Prefix Header build setting of one or more of your targets to reference this file.\n\n#import \"CommonMacro.h\"\n#import \"ColorMacro.h\"\n#import \"Masonry.h\"\n#import \"MBProgressHUD.h\"\n#import \"JSONModel.h\"\n#import \"UIView+Helper.h\"\n#import \"MJRefresh.h\"\n#import \"SDImageCache.h\"\n#import \"AppMethods.h\"\n#import \"UITool.h\"\n#import \"ParmMacro.h\"\n#import \"UIView+Extension.h\"\n#import \"UIImageView+WebCache.h\"\n#import \"AppDefaultUtil.h\"\n#import \"UILabel+Extensions.h\"\n#import \"UILabel+ChangeLineSpaceAndWordSpace.h\"\n#import \"UIImage+BlurImage.h\"\n#import \"NSString+Extension.h\"\n#import \"ToolManager.h\"\n#import \"NSDate+Utilities.h\"\n\n#ifdef DEBUG\n#define DMLog(...) NSLog(@\"%s %@\", __PRETTY_FUNCTION__, [NSString stringWithFormat:__VA_ARGS__])\n#else\n#define DMLog(...) do { } while (0)\n#endif\n\n\n#endif /* CKPrefixHeader_pch */\n"
  },
  {
    "path": "CKMeiTuanShopView/CKMeiTuanShopView/Supporting Flies/main.m",
    "content": "//\n//  main.m\n//  CKMeiTuanShopView\n//\n//  Created by 池康 on 2018/7/31.\n//  Copyright © 2018年 CK. All rights reserved.\n//\n\n#import <UIKit/UIKit.h>\n#import \"AppDelegate.h\"\n\nint main(int argc, char * argv[]) {\n    @autoreleasepool {\n        return UIApplicationMain(argc, argv, nil, NSStringFromClass([AppDelegate class]));\n    }\n}\n"
  },
  {
    "path": "CKMeiTuanShopView/CKMeiTuanShopView/Supporting Flies/pizza.json",
    "content": "{\n    count = 6;\n    normalCount = 4;\n    productCommentList =     (\n                              {\n                              appId = 10436243;\n                              buyTime = \"2013-10-10 00:00:00\";\n                              commContent = 1111;\n                              commTime = \"2018-03-13 17:55:42\";\n                              content = 1111;\n                              createTime = \"2018-03-13 17:55:42\";\n                              email = \"<null>\";\n                              headFace = \"headface/10436221/3.jpg\";\n                              id = 11959;\n                              memberHeadUrl = \"http://www.apppark.net/app_1/headface/10436221/3.jpg\";\n                              memberId = 1;\n                              memberJid = \"10436243_1_0\";\n                              memberName = \"who are you\";\n                              phone = superadmin;\n                              productId = 224223;\n                              replyContent = \"\";\n                              score = 1;\n                              totalScore = 5;\n                              userId = 1;\n                              picList =  (\n                                          {\n                                          picUrl = \"https://ss0.bdstatic.com/70cFuHSh_Q1YnxGkpoWK1HF6hhy/it/u=422505898,1621031712&fm=27&gp=0.jpg\";\n                                          },\n                                          {\n                                          picUrl = \"https://ss0.bdstatic.com/70cFuHSh_Q1YnxGkpoWK1HF6hhy/it/u=422505898,1621031712&fm=27&gp=0.jpg\";\n                                          },\n                                          {\n                                          picUrl = \"https://ss0.bdstatic.com/70cFuHSh_Q1YnxGkpoWK1HF6hhy/it/u=422505898,1621031712&fm=27&gp=0.jpg\";\n                                          },\n                                          {\n                                          picUrl = \"https://ss0.bdstatic.com/70cFuHSh_Q1YnxGkpoWK1HF6hhy/it/u=422505898,1621031712&fm=27&gp=0.jpg\";\n                                          },\n                                          {\n                                          picUrl = \"https://ss0.bdstatic.com/70cFuHSh_Q1YnxGkpoWK1HF6hhy/it/u=422505898,1621031712&fm=27&gp=0.jpg\";\n                                          },\n                                          {\n                                          picUrl = \"https://ss0.bdstatic.com/70cFuHSh_Q1YnxGkpoWK1HF6hhy/it/u=422505898,1621031712&fm=27&gp=0.jpg\";\n                                          }\n                                          ,\n                                          {\n                                          picUrl = \"https://ss0.bdstatic.com/70cFuHSh_Q1YnxGkpoWK1HF6hhy/it/u=422505898,1621031712&fm=27&gp=0.jpg\";\n                                          }\n                                          ,\n                                          {\n                                          picUrl = \"https://ss0.bdstatic.com/70cFuHSh_Q1YnxGkpoWK1HF6hhy/it/u=422505898,1621031712&fm=27&gp=0.jpg\";\n                                          }\n                                          ,\n                                          {\n                                          picUrl = \"https://ss0.bdstatic.com/70cFuHSh_Q1YnxGkpoWK1HF6hhy/it/u=422505898,1621031712&fm=27&gp=0.jpg\";\n                                          }\n                                          );\n                              },\n                              {\n                              appId = 10436243;\n                              buyTime = \"2013-10-10 00:00:00\";\n                              commContent = 1111;\n                              commTime = \"2018-03-13 17:55:42\";\n                              content = 1111;\n                              createTime = \"2018-03-13 17:55:42\";\n                              email = \"<null>\";\n                              headFace = \"headface/10436221/3.jpg\";\n                              id = 11961;\n                              memberHeadUrl = \"http://www.apppark.net/app_1/headface/10436221/3.jpg\";\n                              memberId = 1;\n                              memberJid = \"10436243_1_0\";\n                              memberName = \"who are you\";\n                              phone = superadmin;\n                              productId = 224223;\n                              replyContent = \"\";\n                              score = 2;\n                              totalScore = 3;\n                              userId = 1;\n                              picList =  (\n                                          {\n                                          picUrl = \"https://ss0.bdstatic.com/70cFuHSh_Q1YnxGkpoWK1HF6hhy/it/u=422505898,1621031712&fm=27&gp=0.jpg\";\n                                          },\n                                          {\n                                          picUrl = \"https://ss0.bdstatic.com/70cFuHSh_Q1YnxGkpoWK1HF6hhy/it/u=422505898,1621031712&fm=27&gp=0.jpg\";\n                                          },\n                                          {\n                                          picUrl = \"https://ss0.bdstatic.com/70cFuHSh_Q1YnxGkpoWK1HF6hhy/it/u=422505898,1621031712&fm=27&gp=0.jpg\";\n                                          },\n                                          {\n                                          picUrl = \"https://ss0.bdstatic.com/70cFuHSh_Q1YnxGkpoWK1HF6hhy/it/u=422505898,1621031712&fm=27&gp=0.jpg\";\n                                          },\n                                          {\n                                          picUrl = \"https://ss0.bdstatic.com/70cFuHSh_Q1YnxGkpoWK1HF6hhy/it/u=422505898,1621031712&fm=27&gp=0.jpg\";\n                                          },\n                                          {\n                                          picUrl = \"https://ss0.bdstatic.com/70cFuHSh_Q1YnxGkpoWK1HF6hhy/it/u=422505898,1621031712&fm=27&gp=0.jpg\";\n                                          }\n                                          ,\n                                          {\n                                          picUrl = \"https://ss0.bdstatic.com/70cFuHSh_Q1YnxGkpoWK1HF6hhy/it/u=422505898,1621031712&fm=27&gp=0.jpg\";\n                                          }\n                                          ,\n                                          {\n                                          picUrl = \"https://ss0.bdstatic.com/70cFuHSh_Q1YnxGkpoWK1HF6hhy/it/u=422505898,1621031712&fm=27&gp=0.jpg\";\n                                          }\n                                          ,\n                                          {\n                                          picUrl = \"https://ss0.bdstatic.com/70cFuHSh_Q1YnxGkpoWK1HF6hhy/it/u=422505898,1621031712&fm=27&gp=0.jpg\";\n                                          }\n                                          );\n                              },\n                              {\n                              appId = 10436243;\n                              buyTime = \"2013-10-10 00:00:00\";\n                              commContent = 1111;\n                              commTime = \"2018-03-13 17:55:42\";\n                              content = 1111;\n                              createTime = \"2018-03-13 17:55:42\";\n                              email = \"<null>\";\n                              headFace = \"headface/10436221/3.jpg\";\n                              id = 11963;\n                              memberHeadUrl = \"http://www.apppark.net/app_1/headface/10436221/3.jpg\";\n                              memberId = 1;\n                              memberJid = \"10436243_1_0\";\n                              memberName = \"who are you\";\n                              phone = superadmin;\n                              productId = 224223;\n                              replyContent = \"\\U56de\\U590d\";\n                              score = 2;\n                              totalScore = 3;\n                              userId = 1;\n                              picList =  (\n                                          {\n                                          picUrl = \"https://ss0.bdstatic.com/70cFuHSh_Q1YnxGkpoWK1HF6hhy/it/u=422505898,1621031712&fm=27&gp=0.jpg\";\n                                          },\n                                          {\n                                          picUrl = \"https://ss0.bdstatic.com/70cFuHSh_Q1YnxGkpoWK1HF6hhy/it/u=422505898,1621031712&fm=27&gp=0.jpg\";\n                                          },\n                                          {\n                                          picUrl = \"https://ss0.bdstatic.com/70cFuHSh_Q1YnxGkpoWK1HF6hhy/it/u=422505898,1621031712&fm=27&gp=0.jpg\";\n                                          },\n                                          {\n                                          picUrl = \"https://ss0.bdstatic.com/70cFuHSh_Q1YnxGkpoWK1HF6hhy/it/u=422505898,1621031712&fm=27&gp=0.jpg\";\n                                          },\n                                          {\n                                          picUrl = \"https://ss0.bdstatic.com/70cFuHSh_Q1YnxGkpoWK1HF6hhy/it/u=422505898,1621031712&fm=27&gp=0.jpg\";\n                                          },\n                                          {\n                                          picUrl = \"https://ss0.bdstatic.com/70cFuHSh_Q1YnxGkpoWK1HF6hhy/it/u=422505898,1621031712&fm=27&gp=0.jpg\";\n                                          }\n                                          ,\n                                          {\n                                          picUrl = \"https://ss0.bdstatic.com/70cFuHSh_Q1YnxGkpoWK1HF6hhy/it/u=422505898,1621031712&fm=27&gp=0.jpg\";\n                                          }\n            \n                                          );\n                              },\n                              {\n                              appId = 10436243;\n                              buyTime = \"2013-10-10 00:00:00\";\n                              commContent = \"\\U6d4b\\U8bd51\";\n                              commTime = \"2018-03-13 17:55:46\";\n                              content = \"\\U6d4b\\U8bd51\";\n                              createTime = \"2018-03-13 17:55:46\";\n                              email = \"<null>\";\n                              headFace = \"headface/10436221/3.jpg\";\n                              id = 11965;\n                              memberHeadUrl = \"http://www.apppark.net/app_1/headface/10436221/3.jpg\";\n                              memberId = 1;\n                              memberJid = \"10436243_1_0\";\n                              memberName = \"who are you\";\n                              phone = superadmin;\n                              productId = 224223;\n                              replyContent = \"\\U56de\\U590d1\";\n                              score = 2;\n                              totalScore = 3;\n                              userId = 1;\n                              picList =  (\n                                          {\n                                          picUrl = \"https://ss0.bdstatic.com/70cFuHSh_Q1YnxGkpoWK1HF6hhy/it/u=422505898,1621031712&fm=27&gp=0.jpg\";\n                                          },\n                                          {\n                                          picUrl = \"https://ss0.bdstatic.com/70cFuHSh_Q1YnxGkpoWK1HF6hhy/it/u=422505898,1621031712&fm=27&gp=0.jpg\";\n                                          },\n                                          {\n                                          picUrl = \"https://ss0.bdstatic.com/70cFuHSh_Q1YnxGkpoWK1HF6hhy/it/u=422505898,1621031712&fm=27&gp=0.jpg\";\n                                          },\n                                          {\n                                          picUrl = \"https://ss0.bdstatic.com/70cFuHSh_Q1YnxGkpoWK1HF6hhy/it/u=422505898,1621031712&fm=27&gp=0.jpg\";\n                                          },\n                                          {\n                                          picUrl = \"https://ss0.bdstatic.com/70cFuHSh_Q1YnxGkpoWK1HF6hhy/it/u=422505898,1621031712&fm=27&gp=0.jpg\";\n                                          },\n                                          {\n                                          picUrl = \"https://ss0.bdstatic.com/70cFuHSh_Q1YnxGkpoWK1HF6hhy/it/u=422505898,1621031712&fm=27&gp=0.jpg\";\n                                          }\n                                          ,\n                                          {\n                                          picUrl = \"https://ss0.bdstatic.com/70cFuHSh_Q1YnxGkpoWK1HF6hhy/it/u=422505898,1621031712&fm=27&gp=0.jpg\";\n                                          }\n                                          ,\n                                          {\n                                          picUrl = \"https://ss0.bdstatic.com/70cFuHSh_Q1YnxGkpoWK1HF6hhy/it/u=422505898,1621031712&fm=27&gp=0.jpg\";\n                                          }\n                                          );\n                              },\n                              {\n                              appId = 10436243;\n                              buyTime = \"2013-10-10 00:00:00\";\n                              commContent = \"\\U6d4b\\U8bd52\";\n                              commTime = \"2018-03-13 17:55:49\";\n                              content = \"\\U6d4b\\U8bd52\";\n                              createTime = \"2018-03-13 17:55:49\";\n                              email = \"<null>\";\n                              headFace = \"headface/10436221/3.jpg\";\n                              id = 11967;\n                              memberHeadUrl = \"http://www.apppark.net/app_1/headface/10436221/3.jpg\";\n                              memberId = 1;\n                              memberJid = \"10436243_1_0\";\n                              memberName = \"who are you\";\n                              phone = superadmin;\n                              productId = 224223;\n                              replyContent = \"\\U56de\\U590d2\";\n                              score = 2;\n                              totalScore = 3;\n                              userId = 1;\n                              picList =  (\n                                          {\n                                          picUrl = \"https://ss0.bdstatic.com/70cFuHSh_Q1YnxGkpoWK1HF6hhy/it/u=422505898,1621031712&fm=27&gp=0.jpg\";\n                                          },\n                                          {\n                                          picUrl = \"https://ss0.bdstatic.com/70cFuHSh_Q1YnxGkpoWK1HF6hhy/it/u=422505898,1621031712&fm=27&gp=0.jpg\";\n                                          }\n                                        \n                                          );\n                              },\n                              {\n                              appId = 10436243;\n                              buyTime = \"2018-05-04 11:49:01\";\n                              commContent = \"\\U54c8\\U54c8\";\n                              commTime = \"2018-05-04 11:52:45\";\n                              content = \"\\U54c8\\U54c8\";\n                              createTime = \"2018-05-04 11:52:45\";\n                              email = \"564826150@qq.com\";\n                              headFace = \"headface/10436243/795.jpg\";\n                              id = 12141;\n                              memberHeadUrl = \"http://www.apppark.net/app_1/headface/10436243/795.jpg\";\n                              memberId = 795;\n                              memberJid = \"10436243_795_0\";\n                              memberName = \"255kk\\U6c49\\U5b50\";\n                              phone = 15919712594;\n                              productId = 224227;\n                              replyContent = \"\";\n                              score = 1;\n                              totalScore = 5;\n                              userId = 795;\n                              picList =  (\n                                          {\n                                          picUrl = \"https://ss0.bdstatic.com/70cFuHSh_Q1YnxGkpoWK1HF6hhy/it/u=422505898,1621031712&fm=27&gp=0.jpg\";\n                                          },\n                                          {\n                                          picUrl = \"https://ss0.bdstatic.com/70cFuHSh_Q1YnxGkpoWK1HF6hhy/it/u=422505898,1621031712&fm=27&gp=0.jpg\";\n                                          },\n                                          {\n                                          picUrl = \"https://ss0.bdstatic.com/70cFuHSh_Q1YnxGkpoWK1HF6hhy/it/u=422505898,1621031712&fm=27&gp=0.jpg\";\n                                          },\n                                          {\n                                          picUrl = \"https://ss0.bdstatic.com/70cFuHSh_Q1YnxGkpoWK1HF6hhy/it/u=422505898,1621031712&fm=27&gp=0.jpg\";\n                                          },\n                                          {\n                                          picUrl = \"https://ss0.bdstatic.com/70cFuHSh_Q1YnxGkpoWK1HF6hhy/it/u=422505898,1621031712&fm=27&gp=0.jpg\";\n                                          },\n                                          {\n                                          picUrl = \"https://ss0.bdstatic.com/70cFuHSh_Q1YnxGkpoWK1HF6hhy/it/u=422505898,1621031712&fm=27&gp=0.jpg\";\n                                          }\n                                          ,\n                                          {\n                                          picUrl = \"https://ss0.bdstatic.com/70cFuHSh_Q1YnxGkpoWK1HF6hhy/it/u=422505898,1621031712&fm=27&gp=0.jpg\";\n                                          }\n                                          ,\n                                          {\n                                          picUrl = \"https://ss0.bdstatic.com/70cFuHSh_Q1YnxGkpoWK1HF6hhy/it/u=422505898,1621031712&fm=27&gp=0.jpg\";\n                                          }\n                                          ,\n                                          {\n                                          picUrl = \"https://ss0.bdstatic.com/70cFuHSh_Q1YnxGkpoWK1HF6hhy/it/u=422505898,1621031712&fm=27&gp=0.jpg\";\n                                          }\n                                          );\n                              }\n                              );\n    recommendedCount = 2;\n    retFlag = 1;\n    retMsg = \"\\U83b7\\U53d6\\U6210\\U529f\";\n    unsatisfyCount = 0;\n}\n"
  },
  {
    "path": "CKMeiTuanShopView/CKMeiTuanShopView/Supporting Flies/shop.json",
    "content": "\n{\n    activityList =     (\n                        {\n                        activeEndTime = \"2019-08-31 16:13:00.0\";\n                        activeId = 73;\n                        activeStartTime = \"2018-07-31 16:13:00.0\";\n                        activeTitle = \"\\U4f18\\U60e0\\U5238\\U6d3b\\U52a8\";\n                        activeType = 3;\n                        isPlantActive = 2;\n                        },\n                        {\n                        activeEndTime = \"2020-08-28 16:16:00.0\";\n                        activeId = 39;\n                        activeStartTime = \"2018-07-31 16:16:00.0\";\n                        activeTitle = \"\\U6ee120\\U51cf5;\\U6ee160\\U51cf30\";\n                        activeType = 2;\n                        isPlantActive = 2;\n                        },\n                        {\n                        activeEndTime = \"2021-08-31 16:50:00.0\";\n                        activeId = 43;\n                        activeStartTime = \"2018-07-31 16:12:00.0\";\n                        activeTitle = \"\\U6298\\U6263\\U5546\\U54c15\\U6298\\U8d77\";\n                        activeType = 1;\n                        isPlantActive = 2;\n                        }\n                        );\n    commCount = 0;\n    commScore = \"0.0\";\n    commendedCount = 0;\n    count = 1;\n    couponList =     (\n                      {\n                      activeId = 73;\n                      couponCondition = 20;\n                      couponEndTime = \"2019-08-31 16:13:00\";\n                      couponId = 147;\n                      couponPrice = 5;\n                      couponStartTime = \"2018-07-31 16:13:00\";\n                      couponTime = \"2019-08-31 16:13:00\";\n                      couponTitle = \"\\U6ee120\\U51cf5\";\n                      isPlatForm = 2;\n                      },\n                      {\n                      activeId = 73;\n                      couponCondition = 60;\n                      couponEndTime = \"2019-08-31 16:13:00\";\n                      couponId = 149;\n                      couponPrice = 30;\n                      couponStartTime = \"2018-07-31 16:13:00\";\n                      couponTime = \"2019-08-31 16:13:00\";\n                      couponTitle = \"\\U6ee160\\U51cf30\";\n                      isPlatForm = 2;\n                      }\n                      );\n    isCollection = 0;\n    isStyle = 1;\n    item =     (\n    );\n    normalCount = 0;\n    openHour = \"00:00 - 23:00\";\n    picUrl = \"http://www.apppark.net/app_1/upload/10436951/20180731160140_851.jpg\";\n    recommendedCount = 0;\n    retFlag = 1;\n    retMsg = \"\\U83b7\\U53d6\\U4ea7\\U54c1\\U4fe1\\U606f\\U6210\\U529f\";\n    serviceOpenState = 0;\n    shopAddress = \"\\U6df1\\U5733\\U5e02\\U5357\\U5c71\\U533a\\U6df1\\U5733\\U817e\\U8baf\\U6ee8\\U6d77\\U5927\\U53a6\";\n    shopIcon = \"http://www.apppark.net/app_1/upload/10436951/20180731160108_47.jpg\";\n    shopIntroduce = \"\\U8fd9\\U662f\\U5e97\\U94fa\\U4ecb\\U7ecd\\U8fd9\\U662f\\U5e97\\U94fa\\U4ecb\\U7ecd\\U8fd9\\U662f\\U5e97\\U94fa\\U4ecb\\U7ecd\\U8fd9\\U662f\\U5e97\\U94fa\\U4ecb\\U7ecd\\U8fd9\\U662f\\U5e97\\U94fa\\U4ecb\\U7ecd\\U8fd9\\U662f\\U5e97\\U94fa\\U4ecb\\U7ecd\\U8fd9\\U662f\\U5e97\\U94fa\\U4ecb\\U7ecd\\U8fd9\\U662f\\U5e97\\U94fa\\U4ecb\\U7ecd\\U8fd9\\U662f\\U5e97\\U94fa\\U4ecb\\U7ecd\\U8fd9\\U662f\\U5e97\\U94fa\\U4ecb\\U7ecd\\U8fd9\\U662f\\U5e97\\U94fa\\U4ecb\\U7ecd\\U8fd9\\U662f\\U5e97\\U94fa\\U4ecb\\U7ecd\\U8fd9\\U662f\\U5e97\\U94fa\\U4ecb\\U7ecd\\U8fd9\\U662f\\U5e97\\U94fa\\U4ecb\\U7ecd\\U8fd9\\U662f\\U5e97\\U94fa\\U4ecb\\U7ecd\\U8fd9\\U662f\\U5e97\\U94fa\\U4ecb\\U7ecd\\U8fd9\\U662f\\U5e97\\U94fa\\U4ecb\\U7ecd\";\n    shopLocation = \"113.941868,22.528408\";\n    shopName = \"\\U5fc5\\U80dc\\U5ba2\\U5b85\\U6025\\U9001\\Uff08\\U524d\\U8fdb\\U5e97\\Uff09\";\n    shopNotice = \"\\U6b22\\U8fce\\U5149\\U4e34\\U5fc5\\U80dc\\U5ba2\\U5b85\\U6025\\U9001\\Uff0c\\U6211\\U4eec\\U5c06\\U7aed\\U529b\\U4e3a\\U60a8\\U63d0\\U4f9b\\U4e30\\U5bcc\\U7684\\U7f8e\\U98df\\U3002\";\n    shopPicList =     (\n                       {\n                       picUrl = \"http://www.apppark.net/app_1/upload/10436951/20180731160511_17.jpg\";\n                       },\n                       {\n                       picUrl = \"http://www.apppark.net/app_1/upload/10436951/20180731160513_118.jpg\";\n                       },\n                       {\n                       picUrl = \"http://www.apppark.net/app_1/upload/10436951/20180731160516_455.jpg\";\n                       },\n                       {\n                       picUrl = \"http://www.apppark.net/app_1/upload/10436951/20180731160519_757.jpg\";\n                       },\n                       {\n                       picUrl = \"http://www.apppark.net/app_1/upload/10436951/20180731160522_780.jpg\";\n                       },\n                       {\n                       picUrl = \"http://www.apppark.net/app_1/upload/10436951/20180731160524_984.jpg\";\n                       },\n                       {\n                       picUrl = \"http://www.apppark.net/app_1/upload/10436951/20180731160528_34.jpg\";\n                       },\n                       {\n                       picUrl = \"http://www.apppark.net/app_1/upload/10436951/20180731160531_132.jpg\";\n                       }\n                       );\n    shopType = 1;\n    sortInfo =     (\n                    {\n                    id = 815;\n                    name = \"\\U590f\\U65e5\\U69b4\\U83b2\\U5b63\";\n                    },\n                    {\n                    id = 835;\n                    name = \"\\U725b\\U6392\";\n                    },\n                    {\n                    id = 833;\n                    name = \"\\U5976\\U8336\";\n                    },\n                    {\n                    id = 831;\n                    name = \"\\U65e9\\U9910\\U5957\\U9910\";\n                    },\n                    {\n                    id = 829;\n                    name = \"\\U996e\\U6599\";\n                    },\n                    {\n                    id = 827;\n                    name = \"\\U6c64\";\n                    },\n                    {\n                    id = 825;\n                    name = \"\\U5c0f\\U98df\";\n                    },\n                    {\n                    id = 823;\n                    name = \"\\U9762/\\U996d\";\n                    },\n                    {\n                    id = 821;\n                    name = \"\\U610f\\U5f0f\\U62ab\\U8428\";\n                    },\n                    {\n                    id = 819;\n                    name = \"\\U7ecf\\U5178\\U94c1\\U76d8\\U6bd4\\U8428\";\n                    },\n                    {\n                    id = 817;\n                    name = \"\\U7687\\U51a0\\U829d\\U5fc3\\U62ab\\U8428\";\n                    },\n                    {\n                    id = 837;\n                    name = \"\\U70b8\\U9e21\";\n                    }\n                    );\n    \"style_groupInfoShow\" = 0;\n    \"style_tabPosition\" = 1;\n    \"sys_moduleType\" = 1;\n    telnumber = 18333333333;\n    unsatisfyCount = 0;\n    }\n"
  },
  {
    "path": "CKMeiTuanShopView/CKMeiTuanShopView/TakeawayShopView/HeaderReusableView.h",
    "content": "//\n//  HeaderReusableView.h\n//  AppPark\n//\n//  Created by 池康 on 2018/2/9.\n//\n\n#import <UIKit/UIKit.h>\n\n@interface HeaderReusableView : UICollectionReusableView\n\n@property (nonatomic , strong) UILabel *titleLab;\n@end\n"
  },
  {
    "path": "CKMeiTuanShopView/CKMeiTuanShopView/TakeawayShopView/HeaderReusableView.m",
    "content": "//\n//  HeaderReusableView.m\n//  AppPark\n//\n//  Created by 池康 on 2018/2/9.\n//\n\n#import \"HeaderReusableView.h\"\n\n@implementation HeaderReusableView\n\n-(instancetype)initWithFrame:(CGRect)frame\n{\n    self = [super initWithFrame:frame];\n    if (self)\n    {\n        self.backgroundColor = [UIColor whiteColor];\n        UILabel *line = [UITool lineLabWithFrame:CGRectMake(10, 10, 1, 14)];\n        line.backgroundColor = UIColorFromRGB(0xFF5A49);\n        [self addSubview:line];\n        \n        _titleLab = [UITool createLabelWithFrame:CGRectMake(line.maxX+7,0, 200, 34) backgroundColor:[UIColor clearColor] textColor:kColor_GrayColor textSize:12 alignment:NSTextAlignmentLeft lines:1];\n        [self addSubview:_titleLab];\n      \n    }\n    return self;\n}\n\n\n@end\n\n\n"
  },
  {
    "path": "CKMeiTuanShopView/CKMeiTuanShopView/TakeawayShopView/JHHeaderFlowLayout.h",
    "content": "//\n//  JHHeaderFlowLayout.h\n//  collectionView的首页\n//\n//  Created by 会跳舞的狮子 on 16/5/4.\n//  Copyright © 2016年 会跳舞的狮子. All rights reserved.\n//\n\n#import <UIKit/UIKit.h>\n\n@interface JHHeaderFlowLayout : UICollectionViewFlowLayout\n//默认为64.0, default is 64.0\n@property (nonatomic, assign) CGFloat naviHeight;\n\n@end\n"
  },
  {
    "path": "CKMeiTuanShopView/CKMeiTuanShopView/TakeawayShopView/JHHeaderFlowLayout.m",
    "content": "//\n//  JHHeaderFlowLayout.m\n//  collectionView的首页\n//\n//  Created by 会跳舞的狮子 on 16/5/4.\n//  Copyright © 2016年 会跳舞的狮子. All rights reserved.\n//\n\n#import \"JHHeaderFlowLayout.h\"\n\n@implementation JHHeaderFlowLayout\n-(instancetype)init\n{\n    self = [super init];\n    if (self)\n    {\n        _naviHeight = 0.0;\n    }\n    return self;\n}\n/*\n \n // 作用:返回指定区域的cell布局对象\n // 什么时候调用:指定新的区域的时候调用\n - (nullable NSArray<__kindof UICollectionViewLayoutAttributes *> *)layoutAttributesForElementsInRect:(CGRect)rect\n\n */\n- (NSArray *) layoutAttributesForElementsInRect:(CGRect)rect\n{\n    //UICollectionViewLayoutAttributes：我称它为collectionView中的item（包括cell和header、footer这些）的《结构信息》\n    //截取到父类所返回的数组（里面放的是当前屏幕所能展示的item的结构信息），并转化成不可变数组\n    NSMutableArray *superArray = [[super layoutAttributesForElementsInRect:rect] mutableCopy];\n    \n    //创建存索引的数组，无符号（正整数），无序（不能通过下标取值），不可重复（重复的话会自动过滤）\n    NSMutableIndexSet *noneHeaderSections = [NSMutableIndexSet indexSet];\n    //遍历superArray，得到一个当前屏幕中所有的section数组\n    for (UICollectionViewLayoutAttributes *attributes in superArray)\n    {\n        //如果当前的元素分类是一个cell，将cell所在的分区section加入数组，重复的话会自动过滤\n        if (attributes.representedElementCategory == UICollectionElementCategoryCell)\n        {\n            [noneHeaderSections addIndex:attributes.indexPath.section];\n        }\n    }\n    \n    //遍历superArray，将当前屏幕中拥有的header的section从数组中移除，得到一个当前屏幕中没有header的section数组\n    //正常情况下，随着手指往上移，header脱离屏幕会被系统回收而cell尚在，也会触发该方法\n    for (UICollectionViewLayoutAttributes *attributes in superArray)\n    {\n        //如果当前的元素是一个header，将header所在的section从数组中移除\n        if ([attributes.representedElementKind isEqualToString:UICollectionElementKindSectionHeader])\n        {\n            [noneHeaderSections removeIndex:attributes.indexPath.section];\n        }\n    }\n    \n    //遍历当前屏幕中没有header的section数组\n    [noneHeaderSections enumerateIndexesUsingBlock:^(NSUInteger idx, BOOL *stop){\n        \n        //取到当前section中第一个item的indexPath\n        NSIndexPath *indexPath = [NSIndexPath indexPathForItem:0 inSection:idx];\n        //获取当前section在正常情况下已经离开屏幕的header结构信息\n        UICollectionViewLayoutAttributes *attributes = [self layoutAttributesForSupplementaryViewOfKind:UICollectionElementKindSectionHeader atIndexPath:indexPath];\n        \n        //如果当前分区确实有因为离开屏幕而被系统回收的header\n        if (attributes)\n        {\n            //将该header结构信息重新加入到superArray中去\n            [superArray addObject:attributes];\n        }\n    }];\n    \n    //遍历superArray，改变header结构信息中的参数，使它可以在当前section还没完全离开屏幕的时候一直显示\n    for (UICollectionViewLayoutAttributes *attributes in superArray) {\n        \n        //如果当前item是header\n        if ([attributes.representedElementKind isEqualToString:UICollectionElementKindSectionHeader])\n        {\n            //得到当前header所在分区的cell的数量\n            NSInteger numberOfItemsInSection = [self.collectionView numberOfItemsInSection:attributes.indexPath.section];\n            //得到第一个item的indexPath\n            NSIndexPath *firstItemIndexPath = [NSIndexPath indexPathForItem:0 inSection:attributes.indexPath.section];\n            //得到最后一个item的indexPath\n            NSIndexPath *lastItemIndexPath = [NSIndexPath indexPathForItem:MAX(0, numberOfItemsInSection-1) inSection:attributes.indexPath.section];\n            //得到第一个item和最后一个item的结构信息\n            UICollectionViewLayoutAttributes *firstItemAttributes, *lastItemAttributes;\n            if (numberOfItemsInSection>0)\n            {\n                //cell有值，则获取第一个cell和最后一个cell的结构信息\n                firstItemAttributes = [self layoutAttributesForItemAtIndexPath:firstItemIndexPath];\n                lastItemAttributes = [self layoutAttributesForItemAtIndexPath:lastItemIndexPath];\n            }else\n            {\n                //cell没值,就新建一个UICollectionViewLayoutAttributes\n                firstItemAttributes = [UICollectionViewLayoutAttributes new];\n                //然后模拟出在当前分区中的唯一一个cell，cell在header的下面，高度为0，还与header隔着可能存在的sectionInset的top\n                CGFloat y = CGRectGetMaxY(attributes.frame)+self.sectionInset.top;\n                firstItemAttributes.frame = CGRectMake(0, y, 0, 0);\n                //因为只有一个cell，所以最后一个cell等于第一个cell\n                lastItemAttributes = firstItemAttributes;\n            }\n            \n            //获取当前header的frame\n            CGRect rect = attributes.frame;\n            \n            //当前的滑动距离 + 因为导航栏产生的偏移量，默认为64（如果app需求不同，需自己设置）\n            CGFloat offset = self.collectionView.contentOffset.y + _naviHeight;\n            //第一个cell的y值 - 当前header的高度 - 可能存在的sectionInset的top\n            CGFloat headerY = firstItemAttributes.frame.origin.y - rect.size.height - self.sectionInset.top;\n            \n            //哪个大取哪个，保证header悬停\n            //针对当前header基本上都是offset更加大，针对下一个header则会是headerY大，各自处理\n            CGFloat maxY = MAX(offset,headerY);\n            \n            //最后一个cell的y值 + 最后一个cell的高度 + 可能存在的sectionInset的bottom - 当前header的高度\n            //当当前section的footer或者下一个section的header接触到当前header的底部，计算出的headerMissingY即为有效值\n            CGFloat headerMissingY = CGRectGetMaxY(lastItemAttributes.frame) + self.sectionInset.bottom - rect.size.height;\n            \n            //给rect的y赋新值，因为在最后消失的临界点要跟谁消失，所以取小\n            rect.origin.y = MIN(maxY,headerMissingY);\n            //给header的结构信息的frame重新赋值\n            attributes.frame = rect;\n            \n            //如果按照正常情况下,header离开屏幕被系统回收，而header的层次关系又与cell相等，如果不去理会，会出现cell在header上面的情况\n            //通过打印可以知道cell的层次关系zIndex数值为0，我们可以将header的zIndex设置成1，如果不放心，也可以将它设置成非常大，这里随便填了个7\n            attributes.zIndex = 7;\n        }\n    }\n    \n    //转换回不可变数组，并返回\n    return [superArray copy];\n    \n}\n\n//return YES;表示一旦滑动就实时调用上面这个layoutAttributesForElementsInRect:方法\n- (BOOL) shouldInvalidateLayoutForBoundsChange:(CGRect)newBound\n{\n    return YES;\n}\n@end\n"
  },
  {
    "path": "CKMeiTuanShopView/CKMeiTuanShopView/TakeawayShopView/LJDynamicItem.h",
    "content": "//\n//  LJDynamicItem.h\n//  LJDemo\n//\n//  Created by lj on 2017/5/5.\n//  Copyright © 2017年 LJ. All rights reserved.\n//\n\n#import <Foundation/Foundation.h>\n#import <UIKit/UIKit.h>\n\n@interface LJDynamicItem : NSObject <UIDynamicItem>\n\n@property (nonatomic, readwrite) CGPoint center;\n@property (nonatomic, readonly) CGRect bounds;\n@property (nonatomic, readwrite) CGAffineTransform transform;\n\n@end\n"
  },
  {
    "path": "CKMeiTuanShopView/CKMeiTuanShopView/TakeawayShopView/LJDynamicItem.m",
    "content": "//\n//  LJDynamicItem.m\n//  LJDemo\n//\n//  Created by lj on 2017/5/5.\n//  Copyright © 2017年 LJ. All rights reserved.\n//\n\n#import \"LJDynamicItem.h\"\n\n@implementation LJDynamicItem\n\n- (instancetype)init {\n    if (self = [super init]) {\n        _bounds = CGRectMake(0, 0, 1, 1);\n    }\n    return self;\n}\n\n@end\n"
  },
  {
    "path": "CKMeiTuanShopView/CKMeiTuanShopView/TakeawayShopView/ShopEvaluateView.h",
    "content": "//\n//  ShopEvaluateView.h\n//  AppPark\n//\n//  Created by 池康 on 2018/3/2.\n//\n\n#import <UIKit/UIKit.h>\n\n@interface ShopEvaluateView : UIView\n@property (nonatomic , strong) UITableView *tableView;\n\n//店铺ID\n@property (nonatomic , copy) NSString *groupId;\n\n- (id)initWithFrame:(CGRect)frame  withGroupID:(NSString *)groupId;\n@end\n"
  },
  {
    "path": "CKMeiTuanShopView/CKMeiTuanShopView/TakeawayShopView/ShopEvaluateView.m",
    "content": "//\n//  ShopEvaluateView.m\n//  AppPark\n//\n//  Created by 池康 on 2018/3/2.\n//\n\n#import \"ShopEvaluateView.h\"\n#import \"ReserveEvluateCell.h\"\n#import \"EvaluateModel.h\"\n#import \"NewShopListModel.h\"\n#import \"SDPhotoBrowser.h\"\n@interface ShopEvaluateView()<UITableViewDelegate,UITableViewDataSource,ReserveEvluateCellDelegate,SDPhotoBrowserDelegate>\n{\n    NSInteger _evluateLastIndex;//上次点击的索引值\n    NSInteger _evaluateType;//评价类型，推荐，一般，不满意\n    NSInteger       _currPage;//页数索引\n    NSInteger _count;//总共多少条数据\n    NSMutableArray *_dataArray;//数据源数组\n    NSInteger _selectedIndex;//被选中图片所在的cell索引\n    \n    ///上拉加载相关-----\n    UIActivityIndicatorView *_loadView;//菊花\n    BOOL _isLoading;//是否正在加载\n    BOOL  _gestureEnd;//手势是否已经结束\n    BOOL _isMoreThan;\n    UILabel *_noDateLab;//无数据提示\n    \n}\n@property (nonatomic , strong) UIView *evluateItemView;\n\n\n@end\n@implementation ShopEvaluateView\n\n\n- (UIView *)evluateItemView\n{\n    if (!_evluateItemView) {\n        _evluateItemView = [[UIView alloc]initWithFrame:CGRectMake(0, 0, self.width, 40)];\n        _evluateItemView.backgroundColor = [UIColor whiteColor];\n        NSArray *array = @[@\"全部\",@\"推荐(0)\",@\"一般(0)\",@\"不满意(0)\"];\n        NSArray *prcents = @[@0.2,@0.25,@0.25,@0.30];\n        CGFloat content_w = self.width - 45 - 30;\n        CGFloat max_X = 10;\n        for (int i = 0; i<array.count; i++) {\n            UIButton *btn = [UIButton buttonWithType:UIButtonTypeCustom];\n            [btn setTitleColor:[UIColor whiteColor] forState:UIControlStateNormal];\n            [btn setTitle:array[i] forState:UIControlStateNormal];\n            btn.backgroundColor = kColor_ButonCornerColor;\n            btn.titleLabel.font =kFont(12);\n            btn.layer.cornerRadius = 10;\n            btn.layer.masksToBounds = YES;\n            btn.tag = 10010 + i ;\n            [btn addTarget:self action:@selector(evluateItemClick:) forControlEvents:UIControlEventTouchUpInside];\n            CGFloat btnW = [prcents[i] floatValue];\n            btn.frame = CGRectMake(max_X, 15, content_w*btnW, 20);\n            max_X = btn.maxX+15;\n            if (i == 0) {\n                [self evluateItemClick:btn];\n            }\n            [_evluateItemView addSubview:btn];\n        }\n        UILabel *line = [UITool lineLabWithFrame:CGRectMake(0, 39, self.width, 1)];\n        line.backgroundColor = kColor_bgHeaderViewColor;\n        [_evluateItemView addSubview:line];\n    }\n    return _evluateItemView;\n}\n\n//推荐，一般，有图\n- (void)evluateItemClick:(UIButton *)btn\n{\n    UIButton *lastBT = (UIButton *)[_evluateItemView viewWithTag:_evluateLastIndex];\n    lastBT.backgroundColor = kColor_ButonCornerColor;\n    btn.backgroundColor = kColor_CircleColor;\n    if (_evluateLastIndex != btn.tag) {\n        //切换菜单的时候，删除所有手势，禁止滑动\n        [[NSNotificationCenter defaultCenter] postNotificationName:@\"removeAllBehaviors\" object:self];\n        _evaluateType = btn.tag - 10010;\n         [_dataArray removeAllObjects];\n        _currPage = 1;\n        [_tableView reloadData];\n        _loadView.frame = CGRectMake(self.center.x - 40, 0 , 80, 50);\n        [self requestGetNewShopCommList];\n    }\n    _evluateLastIndex  = btn.tag;\n}\n\n- (id)initWithFrame:(CGRect)frame  withGroupID:(NSString *)groupId\n{\n    self = [super initWithFrame:frame];\n    if (self) {\n        self.backgroundColor = [UIColor whiteColor];\n        _evluateLastIndex = 10010;\n        _currPage = 1;\n        _dataArray = [NSMutableArray array];\n        _groupId = groupId;\n        [self addSubview:self.evluateItemView];\n        [self createView];\n        [self requestGetNewShopCommList];\n        \n        [[NSNotificationCenter defaultCenter] addObserver:self selector:@selector(gestureStateBegan:) name:@\"GestureRecognizerStateBegan\" object:nil];\n        [[NSNotificationCenter defaultCenter] addObserver:self selector:@selector(gestureStateEnd:) name:@\"GestureRecognizerStateEnded\" object:nil];\n    }\n    return self;\n}\n\n#pragma mark ---通知方法\n- (void)gestureStateBegan:(NSNotification *)not{\n    \n    BOOL isMore = _tableView.contentOffset.y >= (_tableView.contentSize.height - _tableView.height);\n    if (isMore) {\n        _gestureEnd = NO;\n    }\n}\n\n- (void)gestureStateEnd:(NSNotification *)not{\n    //    手势已经结束\n    BOOL isMore = _tableView.contentOffset.y > (_tableView.contentSize.height - _tableView.height);\n    if (isMore) {\n        //如果滑动的偏移量超出最大的内容范围\n        CGFloat between = _tableView.contentOffset.y - (_tableView.contentSize.height - _tableView.height);\n        if (between >= 70) {\n            _gestureEnd = YES;\n        }\n    }\n}\n\n- (void)createView\n{\n    self.tableView = [[UITableView alloc]initWithFrame:CGRectMake(0, 40,self.width, self.height-40) style:UITableViewStylePlain];\n    self.tableView.dataSource = self;\n    self.tableView.delegate = self;\n    self.tableView.scrollEnabled = NO;\n    self.tableView.backgroundColor = UIColorFromRGB(0xF4F4F4);\n    self.tableView.tableFooterView = [UIView new];\n    self.tableView.separatorColor = kColor_bgHeaderViewColor;\n    self.tableView.showsVerticalScrollIndicator = NO;\n    [self addSubview:self.tableView];\n    \n    _loadView = [[UIActivityIndicatorView alloc]init];\n    [_loadView setActivityIndicatorViewStyle:UIActivityIndicatorViewStyleGray];\n    _noDateLab = [UITool createLabelWithTextColor:kColor_GrayColor textSize:12 alignment:NSTextAlignmentCenter];\n    _noDateLab.text = @\"—  已经到底啦  —\";\n    \n    [self.tableView addSubview:_loadView];\n    [self.tableView addSubview:_noDateLab];\n}\n\n#pragma mark - FSBaseTableViewDataSource & FSBaseTableViewDelegate  委托方法\n- (NSInteger)tableView:(UITableView *)tableView numberOfRowsInSection:(NSInteger)section\n{\n    return _dataArray.count;\n}\n\n- (CGFloat)tableView:(UITableView *)tableView heightForRowAtIndexPath:(NSIndexPath *)indexPath\n{\n    EvaluateModel *model = _dataArray[indexPath.row];\n    \n    [model calculateReserveCellHeight];\n    \n    return model.cellHeight;\n}\n\n- (UITableViewCell *)tableView:(UITableView *)tableView cellForRowAtIndexPath:(NSIndexPath *)indexPath\n{\n    //评价\n    static NSString *reuseID = @\"evluateCell\";\n    ReserveEvluateCell *cell = [tableView dequeueReusableCellWithIdentifier:reuseID];\n    if (!cell) {\n        cell = (ReserveEvluateCell *)[[ReserveEvluateCell alloc]initWithStyle:UITableViewCellStyleDefault reuseIdentifier:reuseID];\n        cell.separatorInset = UIEdgeInsetsMake(0, 10, 0, 10);\n        cell.selectionStyle = UITableViewCellSelectionStyleNone;\n        cell.cellType = 1;\n        cell.delegate = self;\n    }\n    EvaluateModel *model = _dataArray[indexPath.row];\n    [model calculateReserveCellHeight];\n    cell.model = model;\n    cell.frame = CGRectMake(0, 0, kScreenWidth, model.cellHeight);\n    return cell;\n}\n\n\n//tableview 加载完成可以调用的方法--因为tableview的cell高度不定，所以在加载完成以后重新计算高度\n-(void) tableView:(UITableView *)tableView willDisplayCell:(UITableViewCell *)cell forRowAtIndexPath:(NSIndexPath *)indexPath\n{\n    if(indexPath.row == ((NSIndexPath*)[[tableView indexPathsForVisibleRows]lastObject]).row){\n        //end of loading\n        dispatch_async(dispatch_get_main_queue(), ^{\n            if (_dataArray.count == _count && _count > 0) {\n                _noDateLab.hidden = NO;\n                _noDateLab.frame = CGRectMake( 0 , _tableView.contentSize.height , self.width, 50);\n            }else{\n                _noDateLab.hidden = YES;\n            }\n        });\n    }\n}\n\n- (void)scrollViewDidScroll:(UIScrollView *)scrollView\n{\n    \n    if (_tableView != scrollView) {\n        return;\n    }\n    \n    if (_gestureEnd) {\n        return;\n    }\n    BOOL isMore = _tableView.contentOffset.y > (_tableView.contentSize.height - _tableView.height);\n    if (isMore) {\n        \n        if (_count == 0 ) {\n            [_loadView stopAnimating];\n            _noDateLab.hidden = YES;\n        }\n        \n        if (_dataArray.count == _count && _count > 0) {\n            [_loadView stopAnimating];\n            _noDateLab.hidden = NO;\n            \n        }\n        \n        if (_dataArray.count < _count && _count > 0) {\n            _noDateLab.hidden = YES;\n            [_loadView startAnimating];\n            _loadView.frame = CGRectMake(self.tableView.center.x - 40, _tableView.contentSize.height , 80, 50);\n        }\n        \n        //如果滑动的偏移量超出最大的内容范围\n        CGFloat between = _tableView.contentOffset.y - (_tableView.contentSize.height - _tableView.height);\n        if (between >= 70) {\n            if (_isMoreThan) {\n                return;\n            }\n            _isMoreThan = YES;\n            //超出这个范围就开始做上拉加载动作。\n            if (!_isLoading) {\n                _isLoading = YES;\n                _currPage++;\n                if (_dataArray.count >= _count) {\n                    _currPage--;\n                    [_loadView stopAnimating];\n                    _isLoading = NO;\n                }else{\n                    [self requestGetNewShopCommList];\n                }\n            }\n        }else{\n            _isMoreThan = NO;\n        }\n    }\n}\n\n#pragma mark - [获取服务店铺评论列表]\n//获取服务店铺评论列表\n- (void)requestGetNewShopCommList\n{\n    NSDictionary *dataDict = [NSDictionary dictionaryWithContentsOfFile:[[NSBundle mainBundle] pathForResource:@\"pizza.json\" ofType:nil]];\n    [self analysisData:dataDict];\n}\n\n- (void)analysisData:(NSDictionary *)dic\n{\n    if (_currPage == 1) {\n        [_dataArray removeAllObjects];\n    }\n    \n    UIButton *button2 = (UIButton *)[_evluateItemView viewWithTag:10011];\n    UIButton *button3 = (UIButton *)[_evluateItemView viewWithTag:10012];\n    UIButton *button4 = (UIButton *)[_evluateItemView viewWithTag:10013];\n    [button2 setTitle:[NSString stringWithFormat:@\"推荐(%@)\",dic[@\"recommendedCount\"]] forState:UIControlStateNormal] ;\n    [button3 setTitle:[NSString stringWithFormat:@\"一般(%@)\",dic[@\"normalCount\"]] forState:UIControlStateNormal] ;\n    [button4 setTitle:[NSString stringWithFormat:@\"不满意(%@)\",dic[@\"unsatisfyCount\"]] forState:UIControlStateNormal] ;\n    NSArray *productCommentList = dic[@\"productCommentList\"];\n    //列表\n    if (productCommentList.count > 0) {\n\n        NSArray *infoArray = [EvaluateModel arrayOfModelsFromDictionaries:productCommentList error:nil];\n\n        [_dataArray addObjectsFromArray:infoArray];\n    }\n    _count = [dic[@\"count\"] integerValue];\n    [_tableView reloadData];//刷新表\n   \n    _isLoading = NO;\n    if (_dataArray.count == 0) {\n        _noDateLab.hidden = YES;\n    }\n}\n\n#pragma mark -- ReserveEvluateCellDelegate 评价列表代理方法\n- (void)didSelectedPhotoView:(ReserveEvluateCell *)cell withImgIndex:(NSInteger)index\n{\n    NSIndexPath *indexPath = [_tableView indexPathForCell:cell];\n    _selectedIndex = indexPath.row;\n    UIImageView *imageView = (UIImageView *)[cell viewWithTag:index];\n    //展示图片浏览器 （Cell 模式）\n    SDPhotoBrowser *browser = [[SDPhotoBrowser alloc] init];\n    EvaluateModel *model = _dataArray[_selectedIndex];\n    NSArray *picList = model.picList;\n    browser.sourceImagesContainerView = cell.photoView;\n    browser.imageCount = picList.count;\n    browser.currentImageIndex = index - 1;\n    browser.delegate = self;\n    [browser show];\n}\n\n#pragma mark - SDPhotoBrowserDelegate 图片浏览器\n- (NSURL *)photoBrowser:(SDPhotoBrowser *)browser highQualityImageURLForIndex:(NSInteger)index { //图片的高清图片地址\n    EvaluateModel *model = _dataArray[_selectedIndex];\n    NSArray *picList = model.picList;\n    \n    NSURL *url = [NSURL URLWithString:picList[index][@\"picUrl\"]];\n    return url;\n}\n\n- (UIImage *)photoBrowser:(SDPhotoBrowser *)browser placeholderImageForIndex:(NSInteger)index { //返回占位图片\n    EvaluateModel *model = _dataArray[_selectedIndex];\n    NSArray *picList = model.picList;\n    return [[SDImageCache sharedImageCache] imageFromMemoryCacheForKey:picList[index][@\"picUrl\"]];\n}\n\n@end\n"
  },
  {
    "path": "CKMeiTuanShopView/CKMeiTuanShopView/TakeawayShopView/ShopHomePageView.h",
    "content": "//\n//  ShopHomePageView.h\n//  AppPark\n//\n//  Created by 池康 on 2018/7/10.\n//\n\n#import <UIKit/UIKit.h>\n#import \"ShopScrollView.h\"\n/**\n 店铺主页\n */\n@interface ShopHomePageView : UIView\n\n//商家展示风格类型 cell样式\n@property (nonatomic ,assign) ShopModuleType shopModuleType;\n//左视图-->标签tableView\n@property (nonatomic , strong)UITableView *leftTabView;\n//右视图-->列表样式or卡片样式\n@property (nonatomic , strong)UITableView *rightTabView;\n//右视图-->宫格样式\n@property (nonatomic , strong)UICollectionView *collectionView;\n//当前视图控制器\n@property (nonatomic , strong) UIViewController *currentVC;\n//店铺ID\n@property (nonatomic , copy) NSString *groupId;\n//数据模型\n@property (nonatomic ,strong) NewShopModel *shopModel;\n//该视图的父视图\n@property (nonatomic ,strong) ShopScrollView *shopSuperView;\n\n\n//父视图偏移量\n- (void)superScrollViewDidScrollOffset:(CGFloat)offset;\n\n@end\n"
  },
  {
    "path": "CKMeiTuanShopView/CKMeiTuanShopView/TakeawayShopView/ShopHomePageView.m",
    "content": "//\n//  ShopHomePageView.m\n//  AppPark\n//\n//  Created by 池康 on 2018/7/10.\n//\n\n#import \"ShopHomePageView.h\"\n#import \"TakeawayProductListCell.h\"//店铺主页列表样式\n#import \"TakeawayProductCardCell.h\"//店铺主页卡片样式\n#import \"TakeawayProductCollectionCell.h\"//店铺主页宫格样式\n#import \"NewShopListModel.h\"\n#import \"HeaderReusableView.h\"\n#import \"JHHeaderFlowLayout.h\"\n#define collectionCellH    ((takeawayRight_W - 30)/2 + 97)\n@interface ShopHomePageView()<UITableViewDelegate,UITableViewDataSource,UIGestureRecognizerDelegate,UICollectionViewDelegate,UICollectionViewDataSource>\n{\n    NSInteger _leftIndex;//左边被选中的索引值\n    BOOL _isStop;//停止右边的代理方法\n    JHHeaderFlowLayout *_layout;\n    \n    NSMutableArray *_dataArray;\n    NSInteger _maxOffset_Y;\n    \n    BOOL  _gestureEnd;//手势是否已经结束\n    BOOL _isMoreThan;\n    \n    UIScrollView *_currentSubView;\n    \n    BOOL _isSelectSlide;//是点击leftTableView，还是拖拽右边的滑动视图\n}\n@property (nonatomic , strong) NSMutableArray *titlesAry;\n/// 添加的商品数据\n@property (nonatomic,strong) NSMutableArray *addOrderList;\n/// 商品数据\n@property (nonatomic,strong) NSArray *productList;\n\n@end\n\n@implementation ShopHomePageView\n\n/// 存放用户添加到购物车的商品数组\n-(NSMutableArray *)addOrderList\n{\n    if (!_addOrderList) {\n        _addOrderList = [NSMutableArray new];\n    }\n    return _addOrderList;\n}\n\n- (void)dealloc\n{\n    [[NSNotificationCenter defaultCenter] removeObserver:self];\n}\n\n- (id)initWithFrame:(CGRect)frame \n{\n    self = [super initWithFrame:frame];\n    if (self) {\n        self.backgroundColor = [UIColor whiteColor];\n        _leftIndex = 0;\n        _dataArray = [NSMutableArray array];\n        [[NSNotificationCenter defaultCenter] addObserver:self selector:@selector(gestureStateBegan:) name:@\"GestureRecognizerStateBegan\" object:nil];\n        [[NSNotificationCenter defaultCenter] addObserver:self selector:@selector(gestureStateEnd:) name:@\"GestureRecognizerStateEnded\" object:nil];\n        [[NSNotificationCenter defaultCenter] addObserver:self selector:@selector(bottomShoppingCartMethod:) name:@\"bottomShopCartOffsetY\" object:nil];\n    }\n    return self;\n}\n\n#pragma mark ---通知方法\n- (void)gestureStateBegan:(NSNotification *)not{\n    \n    BOOL isMore = _currentSubView.contentOffset.y >= (_currentSubView.contentSize.height - _currentSubView.height);\n    if (isMore) {\n        _gestureEnd = NO;\n    }\n    //手动拖拽\n    _isSelectSlide = NO;\n}\n\n- (void)gestureStateEnd:(NSNotification *)not{\n    //    手势已经结束\n    BOOL isMore = _currentSubView.contentOffset.y > (_currentSubView.contentSize.height - _currentSubView.height);\n    if (isMore) {\n        //如果滑动的偏移量超出最大的内容范围\n        CGFloat between = _currentSubView.contentOffset.y - (_currentSubView.contentSize.height - _currentSubView.height);\n        if (between >= 70) {\n            _gestureEnd = YES;\n        }\n    }\n}\n\n//底部购物车，暂时隐藏\n- (void)bottomShoppingCartMethod:(NSNotification *)not\n{\n    NSDictionary *dic = not.userInfo;\n    CGFloat offsetY = [dic[@\"offsetY\"] floatValue];\n}\n////底部购物车视图\n//- (void)createBottonView\n//{\n//    _shopCarView = [[ShoppingCartBottonView alloc]initWithFrame:CGRectMake(0, self.height-49-30 - _maxOffset_Y, kScreenWidth, 49+30) inView:nil];\n//    _shopCarView.delegate = self;\n//    [self addSubview:_shopCarView];\n//}\n\n#pragma mark - get/set方法\n- (void)setShopModel:(NewShopModel *)shopModel{\n    _shopModel = shopModel;\n    _titlesAry = _shopModel.sortInfo;\n    NSArray *activityList = _shopModel.activityList;\n    if (activityList.count > 0) {\n        _maxOffset_Y = (Size(150) + 48 - kDefaultNavBarHeight);\n    }else{\n        _maxOffset_Y = (Size(150) + 48 - kDefaultNavBarHeight - 28);\n    }\n    [self createView];\n    \n    _currentSubView = [self currentScorllView];\n}\n\n#pragma mark - 创建视图\n- (void)createView\n{\n    self.leftTabView = [[UITableView alloc]initWithFrame:CGRectMake(0, 0,takeawayLeft_W, self.height-_maxOffset_Y) style:UITableViewStyleGrouped];\n    self.leftTabView.dataSource = self;\n    self.leftTabView.delegate = self;\n    self.leftTabView.backgroundColor = UIColorFromRGB(0xF4F4F4);\n    self.leftTabView.tableFooterView = [UIView new];\n    self.leftTabView.separatorColor = kColor_bgHeaderViewColor;\n    self.leftTabView.showsVerticalScrollIndicator = NO;\n    [self addSubview:self.leftTabView];\n    \n    UILabel *line = [UITool lineLabWithFrame:CGRectMake(takeawayLeft_W-0.5, 0, 0.5, self.height)];\n    line.backgroundColor = kColor_bgHeaderViewColor;\n    [self.leftTabView addSubview:line];\n    \n    if (self.shopModuleType == ShopModuleTypeGongGe) {\n        [self createCollectionView];\n    }else{\n        [self createRightTableView];\n    }\n}\n\n- (void)createRightTableView\n{\n    self.rightTabView = [[UITableView alloc]initWithFrame:CGRectMake(takeawayLeft_W, 0,takeawayRight_W, self.height) style:UITableViewStylePlain];\n    self.rightTabView.dataSource = self;\n    self.rightTabView.delegate = self;\n    self.rightTabView.backgroundColor = [UIColor whiteColor];\n    self.rightTabView.tableFooterView = [UIView new];\n    self.rightTabView.separatorColor = kColor_bgHeaderViewColor;\n    if (self.shopModuleType == ShopModuleTypeCard) {\n        self.rightTabView.separatorStyle = UITableViewCellSeparatorStyleNone;\n    }\n    self.rightTabView.showsVerticalScrollIndicator = NO;\n    self.rightTabView.scrollEnabled = NO;\n    [self addSubview:self.rightTabView];\n}\n\n- (void)createCollectionView\n{\n    //创建流水布局\n    _layout = [[JHHeaderFlowLayout alloc] init];\n    _layout.headerReferenceSize = CGSizeMake(takeawayRight_W, 34);\n    _layout.scrollDirection = UICollectionViewScrollDirectionVertical;\n    //设置列表视图\n    _collectionView = [[UICollectionView alloc]initWithFrame:CGRectMake(takeawayLeft_W, 0,takeawayRight_W, self.height) collectionViewLayout:_layout];\n    // 注册cell、sectionHeader、sectionFooter\n    [_collectionView registerClass:[TakeawayProductCollectionCell class] forCellWithReuseIdentifier:@\"collectCell\"];\n    [_collectionView registerClass:[HeaderReusableView class] forSupplementaryViewOfKind:UICollectionElementKindSectionHeader withReuseIdentifier:@\"hederView\"];\n    //设置代理\n    _collectionView.dataSource = self;\n    _collectionView.delegate = self;\n    _collectionView.showsVerticalScrollIndicator = NO;\n    _collectionView.scrollEnabled = NO;\n    _collectionView.backgroundColor = [UIColor whiteColor];\n    [self addSubview:self.collectionView];\n}\n\n- (void)superScrollViewDidScrollOffset:(CGFloat)offset\n{\n    if (offset <= _maxOffset_Y) {\n        _leftTabView.mj_h = self.height-_maxOffset_Y + offset;\n    }\n}\n\n#pragma mark -  UICollectionViewDataSource/UICollectionViewDelegate\n- (NSInteger)numberOfSectionsInCollectionView:(UICollectionView *)collectionView\n{\n    return _titlesAry.count;\n}\n\n//这组多少item\n- (NSInteger)collectionView:(UICollectionView *)collectionView numberOfItemsInSection:(NSInteger)section\n{\n    return 11;\n}\n\n- (UICollectionReusableView *)collectionView:(UICollectionView *)collectionView viewForSupplementaryElementOfKind:(NSString *)kind atIndexPath:(NSIndexPath *)indexPath\n{\n    if([kind isEqualToString:UICollectionElementKindSectionHeader])\n    {\n        HeaderReusableView *headerView = [_collectionView dequeueReusableSupplementaryViewOfKind:kind withReuseIdentifier:@\"hederView\" forIndexPath:indexPath];\n        NSDictionary *dic = _titlesAry[indexPath.section];\n        headerView.titleLab.text = dic[@\"name\"];\n        headerView.tag = 50;\n        return headerView;\n    }\n    return nil;\n}\n\n//每行cell\n- (UICollectionViewCell *)collectionView:(UICollectionView *)collectionView cellForItemAtIndexPath:(NSIndexPath *)indexPath\n{\n    TakeawayProductCollectionCell *cell = [collectionView dequeueReusableCellWithReuseIdentifier:@\"collectCell\" forIndexPath:indexPath];\n    return cell;\n}\n\n\n-(CGSize)collectionView:(UICollectionView *)collectionView layout:(UICollectionViewLayout *)collectionViewLayout sizeForItemAtIndexPath:(NSIndexPath *)indexPath\n{\n    return CGSizeMake(collectionCellH-97, collectionCellH);\n}\n\n-(CGFloat)collectionView:(UICollectionView *)collectionView layout:(UICollectionViewLayout *)collectionViewLayout minimumLineSpacingForSectionAtIndex:(NSInteger)section\n{\n    return 10;\n}\n\n- (CGFloat)collectionView:(UICollectionView *)collectionView layout:(UICollectionViewLayout*)collectionViewLayout minimumInteritemSpacingForSectionAtIndex:(NSInteger)section\n{\n    return 0;\n}\n\n-(UIEdgeInsets)collectionView:(UICollectionView *)collectionView layout:(UICollectionViewLayout *)collectionViewLayout insetForSectionAtIndex:(NSInteger)section\n{\n   return  UIEdgeInsetsMake(0,10,0,10);\n}\n//选中cell\n- (void)collectionView:(UICollectionView *)collectionView didSelectItemAtIndexPath:(NSIndexPath *)indexPath\n{\n}\n\n#pragma mark - ThrowLineToolDelegate methods\n/// 抛物线结束动画回调\n- (void)animationDidFinish\n{\n    \n}\n\n#pragma mark - FSBaseTableViewDataSource & FSBaseTableViewDelegate  委托方法\n- (NSInteger)numberOfSectionsInTableView:(UITableView *)tableView\n{\n    if (tableView == self.leftTabView) {\n        return 1;\n    }\n    return _titlesAry.count;\n}\n\n- (NSInteger)tableView:(UITableView *)tableView numberOfRowsInSection:(NSInteger)section\n{\n    if (tableView == self.leftTabView) {\n        return _titlesAry.count;\n    }\n    return 10;\n}\n\n- (CGFloat)tableView:(UITableView *)tableView heightForRowAtIndexPath:(NSIndexPath *)indexPath\n{\n    if (tableView == self.leftTabView) {\n        return 44;\n    }else{\n//        NewShopListModel *model = _dataArray[indexPath.row];\n        if (self.shopModuleType == ShopModuleTypeCard){\n            return 110 + 4*(takeawayRight_W-20)/7;\n        }else{\n            return 100;\n        }\n    }\n}\n\n- (CGFloat)tableView:(UITableView *)tableView heightForHeaderInSection:(NSInteger)section\n{\n    if (_rightTabView == tableView) {\n        return 30;\n    }else{\n        return 0.01;\n    }\n}\n\n- (CGFloat)tableView:(UITableView *)tableView heightForFooterInSection:(NSInteger)section\n{\n    //最后一个\n   return 0.01;\n}\n\n- (UIView *)tableView:(UITableView *)tableView viewForFooterInSection:(NSInteger)section\n{\n    UIView *bgView = [[UIView alloc]init];\n    bgView.backgroundColor = [UIColor whiteColor];\n    if (tableView == _leftTabView) {\n        bgView.backgroundColor = UIColorFromRGB(0xF4F4F4);\n    }\n    return bgView;\n}\n\n- (UIView *)tableView:(UITableView *)tableView viewForHeaderInSection:(NSInteger)section\n{\n    if (tableView == _rightTabView) {\n        UIView *bgView = [[UIView alloc]init];\n        bgView.backgroundColor = [UIColor whiteColor];\n        \n        UILabel *line = [UITool lineLabWithFrame:CGRectMake(10, 10, 1, 14)];\n        line.backgroundColor = UIColorFromRGB(0xFF5A49);\n        [bgView addSubview:line];\n        \n        UILabel *titleLab = [UITool createLabelWithFrame:CGRectMake(line.maxX+7,0, 200, 34) backgroundColor:[UIColor clearColor] textColor:kColor_GrayColor textSize:12 alignment:NSTextAlignmentLeft lines:1];\n        NSDictionary *dic = _titlesAry[section];\n        titleLab.text = dic[@\"name\"];\n        [bgView addSubview:titleLab];\n        \n        return bgView;\n    }\n    return nil;\n}\n\n- (UITableViewCell *)tableView:(UITableView *)tableView cellForRowAtIndexPath:(NSIndexPath *)indexPath\n{\n    if (tableView == _leftTabView) {\n        static NSString *reuseID = @\"leftCell\";\n        UITableViewCell *cell = [tableView dequeueReusableCellWithIdentifier:reuseID];\n        if (!cell) {\n            cell = [[UITableViewCell alloc]initWithStyle:UITableViewCellStyleDefault reuseIdentifier:reuseID];\n            UILabel *titleLab = [UITool createLabelWithFrame:CGRectMake(0,0, takeawayLeft_W, 50) backgroundColor:[UIColor clearColor] textColor:kColor_darkBlackColor textSize:13 alignment:NSTextAlignmentCenter lines:1];\n            titleLab.tag = 10;\n            [cell.contentView addSubview:titleLab];\n            \n            UIView *selectView = [[UIView alloc]initWithFrame:cell.frame];\n            selectView.backgroundColor = [UIColor whiteColor];\n            cell.selectedBackgroundView = selectView;\n            cell.separatorInset = UIEdgeInsetsMake(0, 0, 0, 0 );\n        }\n        UILabel *titleLab = [cell.contentView viewWithTag:10];\n        NSDictionary *dic = _titlesAry[indexPath.row];\n        titleLab.text = dic[@\"name\"];\n        if (indexPath.row == _leftIndex) {\n            [_leftTabView selectRowAtIndexPath:indexPath animated:NO scrollPosition:UITableViewScrollPositionNone];\n        }\n        cell.backgroundColor = UIColorFromRGB(0xF4F4F4);\n        return cell;\n        \n    }else\n    {\n        if (self.shopModuleType == ShopModuleTypeCard){\n            static NSString *cardCell = @\"cardCell1\";\n            TakeawayProductCardCell *cell = [tableView dequeueReusableCellWithIdentifier:cardCell];\n            if (!cell) {\n                cell = [[TakeawayProductCardCell alloc]initWithStyle:UITableViewCellStyleDefault reuseIdentifier:cardCell];\n                cell.selectionStyle = UITableViewCellSelectionStyleNone;\n                cell.separatorInset = UIEdgeInsetsMake(0, 0, 0, 0 );\n            }\n//            NewShopListModel *model = _dataArray[indexPath.row];\n//            cell.listModel = model;\n            return cell;\n        }else{\n            static NSString *listCell = @\"listCell1\";\n            TakeawayProductListCell *cell = [tableView dequeueReusableCellWithIdentifier:listCell];\n            if (!cell) {\n                cell = [[TakeawayProductListCell alloc]initWithStyle:UITableViewCellStyleDefault reuseIdentifier:listCell];\n                cell.selectionStyle = UITableViewCellSelectionStyleNone;\n                cell.separatorInset = UIEdgeInsetsMake(0, 0, 0, 0 );\n            }\n//            NewShopListModel *model = _dataArray[indexPath.row];\n//            cell.listModel = model;\n            return cell;\n        }\n    }\n}\n\n- (void)tableView:(UITableView *)tableView didSelectRowAtIndexPath:(NSIndexPath *)indexPath\n{\n    if (_leftTabView == tableView) {\n        //选中_leftTabView而不是拖拽右边的滑动视图\n        _isSelectSlide = YES;\n      if (self.shopModuleType == ShopModuleTypeGongGe) {\n        //宫格样式\n//         [_collectionView scrollToItemAtIndexPath:[NSIndexPath indexPathForRow:0 inSection:indexPath.row] atScrollPosition:UITableViewScrollPositionTop animated:YES];\n          //collectionCellH  计算偏移量\n          CGFloat offsetY = 0;\n\n          for (int i = 0; i<indexPath.row; i++) {\n              NSInteger count = 10;//动态返回数量\n              offsetY = (count/2+count%2)*collectionCellH + 74 + offsetY;\n          }\n          [_collectionView setContentOffset:CGPointMake(0, offsetY) animated:YES];\n       }else{\n         [_rightTabView scrollToRowAtIndexPath:[NSIndexPath indexPathForRow:0 inSection:indexPath.row] atScrollPosition:UITableViewScrollPositionTop animated:YES];\n      }\n         [_leftTabView selectRowAtIndexPath:indexPath animated:NO scrollPosition:UITableViewScrollPositionMiddle];\n        \n        _leftIndex = indexPath.row;\n    }else{\n        DMLog(@\"--跳转到详情。。。\");\n    }\n}\n\n#pragma mark - UIScrollViewDelegate\n- (void)scrollViewWillBeginDragging:(UIScrollView *)scrollView\n{\n    //当拖拽_leftTabView时候，应该停止右视图的手势,停止滚动\n    [_shopSuperView removeBehaviors];\n}\n\n- (void)scrollViewDidScroll:(UIScrollView *)scrollView\n{\n    if (scrollView != _leftTabView) {\n        NSArray *array;\n        if (scrollView == _collectionView) {\n            array = _collectionView.indexPathsForVisibleItems;\n        }else{\n            array = _rightTabView.indexPathsForVisibleRows;\n        }\n        if (array.count > 0) {\n            //1:找到indexPath\n            NSIndexPath *indexPath = array[0];\n            //2:可见的第一个section位置\n            NSInteger section = indexPath.section;\n            //3:\n            if (!_isSelectSlide) {\n                //只有拖拽的时候，才执行该方法\n                [_leftTabView selectRowAtIndexPath:[NSIndexPath indexPathForRow:section inSection:0] animated:NO scrollPosition:UITableViewScrollPositionMiddle];\n            }\n        }\n    }\n}\n\n- (UIScrollView *)currentScorllView\n{\n    UIScrollView *scrollView;\n    switch (self.shopModuleType) {\n        case 1:\n        {\n            scrollView = _rightTabView;\n        }\n            break;\n        case 2:\n        {\n            scrollView = _collectionView;\n        }\n            break;\n        case 3:\n        {\n            scrollView = _rightTabView;\n        }\n            break;\n            \n        default:\n            break;\n    }\n    return scrollView;\n}\n\n@end\n"
  },
  {
    "path": "CKMeiTuanShopView/CKMeiTuanShopView/TakeawayShopView/ShopMerchantView.h",
    "content": "//\n//  ShopMerchantView.h\n//  AppPark\n//\n//  Created by 池康 on 2018/2/9.\n//\n\n#import <UIKit/UIKit.h>\n#import \"NewShopModel.h\"\n\n@interface ShopMerchantView : UIView\n\n@property (nonatomic , strong) UITableView *tableView;\n\n//店铺ID\n@property (nonatomic , copy) NSString *groupId;\n\n@property (nonatomic ,strong) NewShopModel *shopModel;//数据模型\n\n\n@end\n"
  },
  {
    "path": "CKMeiTuanShopView/CKMeiTuanShopView/TakeawayShopView/ShopMerchantView.m",
    "content": "//\n//  ShopMerchantView.m\n//  AppPark\n//\n//  Created by 池康 on 2018/2/9.\n//\n\n#import \"ShopMerchantView.h\"\n#import \"SDPhotoBrowser.h\"\n@interface ShopMerchantView()<UITableViewDelegate,UITableViewDataSource,SDPhotoBrowserDelegate>\n{\n    UIScrollView *_scrollView ;\n}\n@end\n\n@implementation ShopMerchantView\n\n- (id)initWithFrame:(CGRect)frame\n{\n    self = [super initWithFrame:frame];\n    if (self) {\n       \n    }\n    return self;\n}\n\n- (void)createView\n{\n    self.tableView = [[UITableView alloc]initWithFrame:CGRectMake(0, 0,self.width, self.height) style:UITableViewStylePlain];\n    self.tableView.dataSource = self;\n    self.tableView.delegate = self;\n    self.tableView.scrollEnabled = NO;\n    self.tableView.backgroundColor = kColor_LightGrayColor;\n    self.tableView.tableFooterView = [UIView new];\n    self.tableView.separatorColor = kColor_bgHeaderViewColor;\n    self.tableView.showsVerticalScrollIndicator = NO;\n    [self addSubview:self.tableView];\n}\n\n- (void)setShopModel:(NewShopModel *)shopModel\n{\n    _shopModel = shopModel;\n     [self createView];\n}\n\n#pragma mark - FSBaseTableViewDataSource & FSBaseTableViewDelegate  委托方法\n- (NSInteger)numberOfSectionsInTableView:(UITableView *)tableView\n{\n    return 3;\n}\n\n- (NSInteger)tableView:(UITableView *)tableView numberOfRowsInSection:(NSInteger)section\n{\n    if (section == 0) {\n        return 1;\n    }else if (section == 1){\n        return 1;\n    }else{\n        if (_shopModel.openHour.length == 0 || !_shopModel.openHour) {\n            //如果没有营业时间\n            return 3;\n        }\n        return 4;\n    }\n}\n\n- (CGFloat)tableView:(UITableView *)tableView heightForRowAtIndexPath:(NSIndexPath *)indexPath\n{\n    if (indexPath.section == 0) {\n        if (_shopModel.shopIntroduce.length == 0) {\n            return 0;\n        }\n        CGSize size = [AppMethods sizeWithFont:kFont(12) Str:_shopModel.shopIntroduce withMaxWidth:self.width];\n        return size.height + 30;\n    }else if (indexPath.section == 1){\n        if (_shopModel.shopPicList.count == 0) {\n            return 0;\n        }\n        return 100;\n    }else{\n        if (indexPath.row == 1) {\n            NSString *text = _shopModel.shopNotice;\n            CGSize size = [AppMethods sizeWithFont:kFont(12) Str:text withMaxWidth:self.width - 43];\n            CGFloat height = size.height + 26;\n            if (height > 44) {\n                return size.height + 26;\n            }\n            return 44;\n        }\n        return 44;\n    }\n}\n\n- (CGFloat)tableView:(UITableView *)tableView heightForFooterInSection:(NSInteger)section\n{\n    if (section == 0) {\n        if (_shopModel.shopIntroduce.length == 0) {\n            return 0.001;\n        }\n    }else if (section == 1){\n        if (_shopModel.shopPicList.count == 0) {\n            return 0.001;\n        }\n    }\n    return 10;\n}\n\n- (UIView *)tableView:(UITableView *)tableView viewForFooterInSection:(NSInteger)section\n{\n    UIView *bgView = [[UIView alloc]init];\n    bgView.backgroundColor = kColor_LightGrayColor;\n    return bgView;\n}\n\n- (UITableViewCell *)tableView:(UITableView *)tableView cellForRowAtIndexPath:(NSIndexPath *)indexPath\n{\n    static NSString *reuseID = @\"cell\";\n    UITableViewCell *cell = [tableView dequeueReusableCellWithIdentifier:reuseID];\n    if (!cell) {\n        cell = [[UITableViewCell alloc]initWithStyle:UITableViewCellStyleDefault reuseIdentifier:reuseID];\n        cell.selectionStyle = UITableViewCellSelectionStyleNone;\n        cell.separatorInset = UIEdgeInsetsMake(0, 0, 0, 0);\n        if (indexPath.section == 0) {\n            //店铺介绍\n            UILabel *introduceLab = [UITool createLabelWithTextColor:kColor_GrayColor textSize:12 alignment:NSTextAlignmentLeft];\n            introduceLab.numberOfLines = 0;\n            CGSize size = [AppMethods sizeWithFont:kFont(12) Str:_shopModel.shopIntroduce withMaxWidth:self.width];\n            introduceLab.text =  _shopModel.shopIntroduce;\n            introduceLab.frame = CGRectMake(10, 10, self.width-20, size.height+10);\n            [cell.contentView addSubview:introduceLab];\n        }else if (indexPath.section == 1){\n            //相册集\n            _scrollView = [[UIScrollView alloc]initWithFrame:CGRectMake(0, 0, self.width, 100)];\n            _scrollView.showsHorizontalScrollIndicator = NO;\n            [cell.contentView addSubview:_scrollView];\n            CGFloat maxW = 0;\n            NSArray *shopPicList = _shopModel.shopPicList;\n            for (int i = 0; i<shopPicList.count; i++) {\n                NSDictionary *dic = shopPicList[i];\n                UIImageView *imgView = [[UIImageView alloc]initWithFrame:CGRectMake(10+(80+20)*i, 10, 80, 80)];\n                [_scrollView addSubview:imgView];\n                [imgView sd_setImageWithURL:[NSURL URLWithString:dic[@\"picUrl\"]] placeholderImage:kImage_Name(@\"thumb\")];\n                imgView.tag = 10010 + i;\n                maxW = imgView.maxX ;\n                imgView.userInteractionEnabled = YES;\n                imgView.clipsToBounds = YES;\n                imgView.contentMode = UIViewContentModeScaleAspectFill;\n                UITapGestureRecognizer *tap = [[UITapGestureRecognizer alloc]initWithTarget:self action:@selector(checkPhotoClick:)];\n                [imgView addGestureRecognizer:tap];\n            }\n            [_scrollView setContentSize:CGSizeMake(maxW+10, 80)];\n            if (maxW+10 < self.width) {\n                [_scrollView setContentSize:CGSizeMake(self.width, 80)];\n            }\n        }\n        else if (indexPath.section == 2){\n            //icon图标\n            UIImageView *icon_loc = [[UIImageView alloc]init];\n            icon_loc.backgroundColor = [UIColor redColor];\n            icon_loc.frame = CGRectMake(10, 13, 18, 18);\n            [cell.contentView addSubview:icon_loc];\n            \n            //\n            UILabel *textLab = [UITool createLabelWithTextColor:kColor_TitleColor textSize:14 alignment:NSTextAlignmentLeft];\n            textLab.frame = CGRectMake(33, 13, self.width- 120, 18);\n            [cell.contentView addSubview:textLab];\n            \n            if (indexPath.row == 0) {\n                icon_loc.image = kImage_Name(@\"icon-address\");\n                textLab.text = _shopModel.shopAddress;\n                \n                UILabel *line = [[UILabel alloc]init];\n                line.backgroundColor = kColor_LightGrayColor;\n                line.frame = CGRectMake(self.width-75, 12, 1, 20);\n                [cell.contentView addSubview:line];\n                //电话\n                UIImageView *icon_phone = [[UIImageView alloc]init];\n                icon_phone.image = kImage_Name(@\"icon-telephone\");\n                icon_phone.frame = CGRectMake(line.maxX+28, 13, 18, 18);\n                icon_phone.contentMode =  UIViewContentModeScaleAspectFit;\n                icon_phone.backgroundColor = [UIColor redColor];\n                icon_phone.userInteractionEnabled = YES;\n                [cell.contentView addSubview:icon_phone];\n                \n                UIView *phoneView = [[UIView alloc]initWithFrame:CGRectMake(self.width-75, 0, 75, 44)];\n                [cell.contentView addSubview:phoneView];\n                \n                UITapGestureRecognizer *tap = [[UITapGestureRecognizer alloc]initWithTarget:self action:@selector(callPhoneClick:)];\n                [phoneView addGestureRecognizer:tap];\n                \n            }else if (indexPath.row == 1)\n            {\n                icon_loc.image = kImage_Name(@\"icon-announcement\");\n                NSString *text = _shopModel.shopNotice;\n                if (text.length == 0||!text) {\n                    text = @\"暂无公告\";\n                }\n                textLab.text = text;\n                textLab.font = kFont(12);\n                textLab.numberOfLines = 0;\n                textLab.mj_w = self.width - 43;\n                CGSize size = [AppMethods sizeWithFont:kFont(12) Str:text withMaxWidth:textLab.mj_w];\n                textLab.mj_h = size.height;\n                if (size.height < 18) {\n                    textLab.mj_h = 18;\n                }\n            } else if (indexPath.row == 2){\n                if (_shopModel.openHour.length == 0 || !_shopModel.openHour) {\n                    //如果没有营业时间\n                    //2区间\n                    icon_loc.image = kImage_Name(@\"icon-idcard\");\n                    textLab.text = @\"营业资质\";\n                    cell.accessoryView =  [[UIImageView alloc]initWithImage:kImage_Name(@\"icon_next\")];\n                }else{\n                    icon_loc.image = kImage_Name(@\"icon-footprint\");\n                    textLab.text = [NSString stringWithFormat:@\"营业时间:   %@\",_shopModel.openHour];\n                }\n               \n            }else{\n                //2区间\n                icon_loc.image = kImage_Name(@\"icon-idcard\");\n                textLab.text = @\"营业资质\";\n                cell.accessoryView =  [[UIImageView alloc]initWithImage:kImage_Name(@\"icon_next\")];\n            }\n        }\n    }\n    return cell;\n}\n\n- (void)tableView:(UITableView *)tableView didSelectRowAtIndexPath:(NSIndexPath *)indexPath\n{\n    if (indexPath.section == 2) {\n         UIViewController *superVC =   [self viewController];\n        if (indexPath.row == 0) {\n            //位置,经纬度 百度地图\n           \n        }else if (indexPath.row ==3){\n            //营业资质\n           \n        }else if (indexPath.row == 2){\n           \n        }\n    }\n}\n\n- (void)checkPhotoClick:(UITapGestureRecognizer *)tap\n{\n    UIImageView *imgView = (UIImageView *)tap.view;\n    //展示图片浏览器 （Cell 模式）\n    SDPhotoBrowser *browser = [[SDPhotoBrowser alloc] init];\n    NSArray * shopPicList = _shopModel.shopPicList;\n    browser.sourceImagesContainerView = _scrollView;\n    browser.imageCount = shopPicList.count;\n    browser.currentImageIndex = imgView.tag - 10010;\n    browser.delegate = self;\n    [browser show];\n}\n\n#pragma mark - SDPhotoBrowserDelegate 图片浏览器\n- (NSURL *)photoBrowser:(SDPhotoBrowser *)browser highQualityImageURLForIndex:(NSInteger)index { //图片的高清图片地址\n    NSArray * shopPicList = _shopModel.shopPicList;\n    NSDictionary *dic = shopPicList[index];\n    NSString *picURL = dic[@\"picUrl\"];\n    NSURL *url = [NSURL URLWithString:picURL];\n    return url;\n}\n\n- (UIImage *)photoBrowser:(SDPhotoBrowser *)browser placeholderImageForIndex:(NSInteger)index { //返回占位图片\n    NSArray * shopPicList = _shopModel.shopPicList;\n    NSDictionary *dic = shopPicList[index];\n    NSString *picURL = dic[@\"picUrl\"];\n    return [[SDImageCache sharedImageCache] imageFromMemoryCacheForKey:picURL];\n}\n\n- (void)callPhoneClick:(UITapGestureRecognizer *)tap\n{\n    NSString *telNum = [[NSString alloc] initWithFormat:@\"tel://%@\", _shopModel.telnumber];\n    [[UIApplication sharedApplication] openURL:[NSURL URLWithString:telNum]];\n}\n\n@end\n"
  },
  {
    "path": "CKMeiTuanShopView/CKMeiTuanShopView/TakeawayShopView/ShopScrollView.h",
    "content": "//\n//  ShopScrollView.h\n//  AppPark\n//\n//  Created by 池康 on 2018/7/10.\n//\n\n#import <UIKit/UIKit.h>\n#import \"NewShopModel.h\"\n\n@protocol ShopScrollViewDelegate;\n\n/**\n 店铺商品列表\n */\n@interface ShopScrollView : UIScrollView\n\n//是否显示动画;\n@property (nonatomic ,assign) BOOL isStopAnimation;\n//商家展示风格类型\n@property (nonatomic ,assign) ShopModuleType shopViewType;\n//申明代理\n@property (weak , nonatomic) id<ShopScrollViewDelegate> scrollDelegate;\n//店铺ID\n@property (nonatomic , copy) NSString *groupId;\n//当前视图控制器\n@property (nonatomic , strong) UIViewController *currentVC;\n//初始化店铺主页方法\n- (id)initWithFrame:(CGRect)frame  withShopModel:(NewShopModel *)model  withGroupID:(NSString *)groupId currentVC:(UIViewController *)currentVC;\n\n//移除手势\n- (void)removeBehaviors;\n@end\n\n@protocol ShopScrollViewDelegate <NSObject>\n\n@optional\n\n//监听列表滚动视图的偏移量\n- (void)ListScrollViewDidScroll:(UIScrollView *)scrollView;\n\n//偏移结束后\n- (void)ListScrollViewDidEndDragging:(UIScrollView *)scrollView;\n\n//点击顶部视图  让该视图平移向下消失\n- (void)ListScrollViewDropDown:(UIScrollView *)scrollView;\n@end\n"
  },
  {
    "path": "CKMeiTuanShopView/CKMeiTuanShopView/TakeawayShopView/ShopScrollView.m",
    "content": "//\n//  ShopScrollView.m\n//  AppPark\n//\n//  Created by 池康 on 2018/7/10.\n//\n\n#import \"ShopScrollView.h\"\n#import \"ShopHomePageView.h\"//商家主页\n#import \"ShopEvaluateView.h\"//评价视图\n#import \"ShopMerchantView.h\"//商家视图\n#import \"LJDynamicItem.h\"\n/*f(x, d, c) = (x * d * c) / (d + c * x)\n where,\n x – distance from the edge\n c – constant (UIScrollView uses 0.55)\n d – dimension, either width or height*/\n\nstatic CGFloat rubberBandDistance(CGFloat offset, CGFloat dimension) {\n    const CGFloat constant = 0.55f;\n    CGFloat result = (constant * fabs(offset) * dimension) / (dimension + constant * fabs(offset));\n    // The algorithm expects a positive offset, so we have to negate the result if the offset was negative.\n    return offset < 0.0f ? -result : result;\n}\n\n@interface ShopScrollView()<UIScrollViewDelegate,UIGestureRecognizerDelegate>\n{\n    UILabel        *_scrollLab;\n    NSInteger       _lastIndex;\n    NSInteger       _currentIndex;\n    CGFloat          currentScorllY;\n    __block BOOL     isVertical;//是否是垂直\n    NSMutableArray *_scorllArray;\n    UIButton       *_evaluateBT;\n    NSInteger       _sys_moduleType;\n    NSInteger       _maxOffset_Y;\n}\n@property (nonatomic , strong) UIView                   *menuView;//最底层的菜单视图\n@property (nonatomic , strong) UIScrollView             *subScrollView;//横向水平滚动视图\n@property (nonatomic , strong) ShopHomePageView         *shopHomePageView;//商家列表主页,二级联动\n@property (nonatomic , strong) ShopMerchantView         *merchantView;//商家视图\n@property (nonatomic , strong) ShopEvaluateView         *shopEvaluateView;//评价视图\n@property (nonatomic , strong) UIScrollView             *subTableView;//获取当前页面的子tableView.\n@property (nonatomic , strong) NewShopModel             *shopModel;//数据模型\n\n//弹性和惯性动画\n@property (nonatomic, strong) UIDynamicAnimator *animator;\n@property (nonatomic, weak)   UIDynamicItemBehavior *decelerationBehavior;\n@property (nonatomic, strong) LJDynamicItem *dynamicItem;\n@property (nonatomic, weak)   UIAttachmentBehavior *springBehavior;\n@end\n\n@implementation ShopScrollView\n\n-(void)dealloc{\n    [[NSNotificationCenter defaultCenter] removeObserver:self];\n}\n\n- (id)initWithFrame:(CGRect)frame  withShopModel:(NewShopModel *)model  withGroupID:(NSString *)groupId currentVC:(UIViewController *)currentVC\n{\n    self = [super initWithFrame:frame];\n    if (self) {\n        self.delegate = self;\n        self.scrollEnabled = NO;\n        _currentVC = currentVC;\n        _lastIndex = 1;\n        _currentIndex = 1;\n        _shopModel = model;\n        _groupId = groupId;\n        NSArray *activityList = _shopModel.activityList;//活动数组\n        if (activityList.count > 0) {\n            _maxOffset_Y = (Size(150) + 48 - kDefaultNavBarHeight);\n        }else{\n            _maxOffset_Y = (Size(150) + 48 - kDefaultNavBarHeight - 28);\n        }\n        self.contentSize = CGSizeMake(self.width, self.height + _maxOffset_Y);\n        //创建顶部视图，商品,评价,商家\n        [self createTopMenuView];\n        //创建上下滑动的scrollview\n        [self addSubview:self.subScrollView];\n#warning mark - 在这里暂时改变商家主页样式\n        /*\n         \n         typedef NS_ENUM(NSInteger, ShopModuleType) {\n         ShopModuleTypeList = 1,   //样式一 列表布局\n         ShopModuleTypeGongGe  = 2,  //样式二 宫格布局\n         ShopModuleTypeCard        //样式三 卡片布局\n         };\n\n         */\n        self.shopViewType = 1;//\n        [self.subScrollView addSubview:self.shopHomePageView];//店铺主页\n        [self.subScrollView addSubview:self.shopEvaluateView];//评价\n        [self.subScrollView addSubview:self.merchantView];//商家\n        UIPanGestureRecognizer *pan = [[UIPanGestureRecognizer alloc]initWithTarget:self action:@selector(panGestureRecognizerAction:)];\n        pan.delegate = self;\n        [self addGestureRecognizer:pan];\n        \n        self.animator = [[UIDynamicAnimator alloc] initWithReferenceView:self];\n        self.dynamicItem = [[LJDynamicItem alloc] init];\n        \n        self.subTableView = [self currentSubTableView];\n       \n        [[NSNotificationCenter defaultCenter] addObserver:self selector:@selector(removeAllBehaviors:) name:@\"removeAllBehaviors\" object:nil];\n    }\n    return self;\n}\n\n////删除所有动力行为。\n- (void)removeAllBehaviors:(NSNotification *)not\n{\n    [self.animator removeAllBehaviors];\n}\n\n#pragma mark - 控制方法\n//下拉，显示店铺详情\n- (void)dropDownTap:(UITapGestureRecognizer *)tap\n{\n    //点击顶部，让整个滚动视图平移\n    if ([self.scrollDelegate respondsToSelector:@selector(ListScrollViewDropDown:)]) {\n        //删除所有动力行为。\n        [self.animator removeAllBehaviors];\n        [self.scrollDelegate ListScrollViewDropDown:self];\n    }\n}\n\n#pragma mark - 创建顶部菜单视图\n//创建顶部菜单视图 商品,评价,商家\n- (void)createTopMenuView\n{\n    //1:顶部高度为_maxOffset_Y，背景透明，可以点击\n    UIView *topView = [[UIView alloc]initWithFrame:CGRectMake(0, 0, self.width, _maxOffset_Y)];\n    topView.userInteractionEnabled = YES;\n    [self addSubview:topView];\n    //2:添加点击事件\n    UITapGestureRecognizer *tap = [[UITapGestureRecognizer alloc]initWithTarget:self action:@selector(dropDownTap:)];\n    [topView addGestureRecognizer:tap];\n    //3:创建 商品,评价,商家\n    UIView *menuView = [[UIView alloc]initWithFrame:CGRectMake(0, _maxOffset_Y, self.width, 36)];\n    menuView.backgroundColor = [UIColor whiteColor];\n    [self addSubview:menuView];\n    _menuView = menuView;\n    //商品\n    CGFloat button_W = self.width/3;\n    UIButton *productBT = [UITool createButtonWithFrame:CGRectMake(0, 0, button_W, menuView.height) title:@\"商品\" backgroundColor:[UIColor whiteColor] titleColor:kColor_darkBlackColor target:self selector:@selector(btnClick:) tag:1];\n    productBT.titleLabel.font = kFont(14);\n    [productBT setBackgroundImage:[AppMethods createImageWithColor:[UIColor whiteColor]] forState:UIControlStateHighlighted];\n    [menuView addSubview:productBT];\n    //评价\n    UIButton *evaluateBT = [UITool createButtonWithFrame:CGRectMake(button_W, 0, button_W, menuView.height) title:[NSString stringWithFormat:@\"评价(%@)\",@\"6\"] backgroundColor:[UIColor whiteColor] titleColor:kColor_TitleColor target:self selector:@selector(btnClick:) tag:2];\n    evaluateBT.titleLabel.font = kFont(14);\n    [evaluateBT setBackgroundImage:[AppMethods createImageWithColor:[UIColor whiteColor]] forState:UIControlStateHighlighted];\n    [menuView addSubview:evaluateBT];\n    _evaluateBT = evaluateBT;\n//    [_evaluateBT setTitle:[NSString stringWithFormat:@\"评价(%@)\",[_shopModel.commCount integerValue] >999?@\"999+\":_shopModel.commCount] forState:UIControlStateNormal] ;\n    //商家\n    UIButton *merchantBT = [UITool createButtonWithFrame:CGRectMake(button_W*2, 0, button_W, menuView.height) title:@\"商家\" backgroundColor:[UIColor whiteColor] titleColor:kColor_TitleColor target:self selector:@selector(btnClick:) tag:3];\n    merchantBT.titleLabel.font = kFont(14);\n    [merchantBT setBackgroundImage:[AppMethods createImageWithColor:[UIColor whiteColor]] forState:UIControlStateHighlighted];\n    [menuView addSubview:merchantBT];\n    \n    UILabel *line = [UITool lineLabWithFrame:CGRectMake(0, menuView.height-SINGLE_LINE_WIDTH, self.width, SINGLE_LINE_WIDTH)];\n    line.backgroundColor = kColor_bgHeaderViewColor;\n    [menuView addSubview:line];\n    //4:可移动的底部滑竿\n    _scrollLab = [[UILabel alloc]init];\n    _scrollLab.frame = CGRectMake(productBT.center.x-10, menuView.height-2, 20, 2);\n    _scrollLab.backgroundColor = [UIColor redColor];\n    [menuView addSubview:_scrollLab];\n}\n\n#pragma mark -  UIScrollViewDelegate\n- (void)scrollViewDidScroll:(UIScrollView *)scrollView\n{\n    //委托 方法\n    if (scrollView == self) {\n        if (self.contentOffset.y == 0) {//如果已经回到顶部了，则移除手势，禁止来回谈动\n            [self.animator removeAllBehaviors];\n        }\n        if (!_isStopAnimation) {\n            if ([self.scrollDelegate respondsToSelector:@selector(ListScrollViewDidScroll:)]) {\n                [self.scrollDelegate ListScrollViewDidScroll:scrollView];\n            }\n        }\n        //设置二级联动的左tableview的偏移量\n        if (_shopHomePageView) {\n            [_shopHomePageView superScrollViewDidScrollOffset:scrollView.contentOffset.y];\n        }\n        //发送通知\n        [[NSNotificationCenter defaultCenter] postNotificationName:@\"bottomShopCartOffsetY\" object:self userInfo:@{@\"offsetY\":[NSString stringWithFormat:@\"%f\",scrollView.mj_offsetY]}];\n    }else if (scrollView == self.subScrollView )\n    {\n        CGFloat scorllOffsetW = self.subScrollView.width*2;\n        CGFloat currentOffsetX =  self.subScrollView.contentOffset.x;\n        CGFloat rate = currentOffsetX/scorllOffsetW;//速率\n        CGFloat offset_X = self.width/3 * rate*2;\n        _scrollLab.mj_x = offset_X+(self.width/3/2-10);\n    }\n}\n\n- (void)scrollViewDidEndDecelerating:(UIScrollView *)scrollView {\n    if (scrollView == self.subScrollView) {\n        NSInteger index = self.subScrollView.contentOffset.x/self.subScrollView.frame.size.width;\n        _currentIndex = index+1;\n        UIButton *lastBT = (UIButton *)[_menuView viewWithTag:_lastIndex];\n        UIButton *currentBT = (UIButton *)[_menuView viewWithTag:_currentIndex];\n        [lastBT setTitleColor:kColor_TitleColor forState:UIControlStateNormal];\n        [currentBT setTitleColor:kColor_darkBlackColor forState:UIControlStateNormal];\n        _lastIndex = _currentIndex;\n        self.subTableView = [self currentSubTableView];\n\n    }\n}\n\n#pragma mark - 控制事件\n- (void)btnClick:(UIButton *)btn\n{\n    NSInteger tag = btn.tag;\n    _currentIndex = tag;\n    UIButton *lastBT = (UIButton *)[_menuView viewWithTag:_lastIndex];\n    [lastBT setTitleColor:kColor_TitleColor forState:UIControlStateNormal];\n    [btn setTitleColor:kColor_darkBlackColor forState:UIControlStateNormal];\n//    _scrollLab.mj_x = btn.center.x-10;\n    _lastIndex = tag;\n    if (tag == 1) {\n        //商品\n        [self.animator removeAllBehaviors];\n    }else if (tag == 2){\n        //评价\n        [self.animator removeAllBehaviors];\n    }else if (tag == 3){\n        //商家\n        [self.animator removeAllBehaviors];\n    }\n    [self.subScrollView setContentOffset:CGPointMake((_lastIndex-1)*self.subScrollView.width, 0) animated:YES];\n    self.subTableView = [self currentSubTableView];\n}\n\n#pragma mark 手势,是否支持多个手手势共存\n- (BOOL)gestureRecognizer:(UIGestureRecognizer *)gestureRecognizer shouldRecognizeSimultaneouslyWithGestureRecognizer:(UIGestureRecognizer *)otherGestureRecognizer {\n    if ([gestureRecognizer isKindOfClass:[UIPanGestureRecognizer class]]) {\n        UIPanGestureRecognizer *recognizer = (UIPanGestureRecognizer *)gestureRecognizer;\n        CGFloat currentY = [recognizer translationInView:self].y;\n        CGFloat currentX = [recognizer translationInView:self].x;\n        if (currentY == 0.0) {\n            isVertical = NO;\n            return YES;\n        } else {\n            ////判断如果currentX为currentY的5倍及以上就是断定为横向滑动，返回YES，否则返货NO\n            if (fabs(currentX)/fabs(currentY) >= 5.0) {\n                isVertical = NO;\n                return YES;\n            } else {\n                isVertical = YES;\n                return NO;\n                \n            }\n        }\n    }\n    return NO;\n}\n\n- (void)panGestureRecognizerAction:(UIPanGestureRecognizer *)recognizer {\n    _isStopAnimation = NO;\n    switch (recognizer.state) {\n        case UIGestureRecognizerStateBegan:\n            currentScorllY = self.contentOffset.y;\n            if (isVertical) {\n                [[NSNotificationCenter defaultCenter] postNotificationName:@\"GestureRecognizerStateBegan\" object:self];\n            }\n            [self.animator removeAllBehaviors];\n            break;\n        case UIGestureRecognizerStateChanged:\n        {\n            //locationInView:获取到的是手指点击屏幕实时的坐标点；\n            //translationInView：获取到的是手指移动后，在相对坐标中的偏移量\n            if (isVertical) {\n                //往上滑为负数，往下滑为正数\n                CGFloat currentY = [recognizer translationInView:self].y;\n                //                NSLog(@\"currentY....%f\",currentY);\n                [self controlScrollForVertical:currentY AndState:UIGestureRecognizerStateChanged];\n            }\n        }\n            break;\n        case UIGestureRecognizerStateCancelled:\n            \n            break;\n        case UIGestureRecognizerStateEnded:\n        {\n            if (isVertical) {\n                [[NSNotificationCenter defaultCenter] postNotificationName:@\"GestureRecognizerStateEnded\" object:self];\n                if (self.contentOffset.y <= -100) {\n                    //向下滑动\n                    if ([self.scrollDelegate respondsToSelector:@selector(ListScrollViewDropDown:)]) {\n                        [self.scrollDelegate ListScrollViewDropDown:self];\n                    }\n                }\n                else{\n                    self.dynamicItem.center = CGPointMake(0, 0);\n                    //velocity是在手势结束的时候获取的竖直方向的手势速度\n                    CGPoint velocity = [recognizer velocityInView:self];\n                    UIDynamicItemBehavior *inertialBehavior = [[UIDynamicItemBehavior alloc] initWithItems:@[self.dynamicItem]];\n                    [inertialBehavior addLinearVelocity:CGPointMake(0, velocity.y) forItem:self.dynamicItem];\n                    // 通过尝试取2.0比较像系统的效果\n                    inertialBehavior.resistance = 5.0;\n                    __block CGPoint lastCenter = CGPointZero;\n                    __weak typeof(self) weakSelf = self;\n                    inertialBehavior.action = ^{\n                        if (isVertical) {\n                            //得到每次移动的距离\n                            CGFloat currentY = weakSelf.dynamicItem.center.y - lastCenter.y;\n                            [weakSelf controlScrollForVertical:currentY AndState:UIGestureRecognizerStateEnded];\n                        }\n                        lastCenter = weakSelf.dynamicItem.center;\n                    };\n                    [self.animator addBehavior:inertialBehavior];\n                    self.decelerationBehavior = inertialBehavior;\n                }\n            }\n        }\n            break;\n        default:\n            break;\n    }\n    //保证每次只是移动的距离，不是从头一直移动的距离\n    [recognizer setTranslation:CGPointZero inView:self];\n}\n\n//控制上下滚动的方法\n- (void)controlScrollForVertical:(CGFloat)detal AndState:(UIGestureRecognizerState)state {\n    //判断是主ScrollView滚动还是子ScrollView滚动,detal为手指移动的距离\n    if (self.contentOffset.y >= _maxOffset_Y) {\n        CGFloat offsetY = self.subTableView.contentOffset.y - detal;\n        if (offsetY < 0) {\n            //当子ScrollView的contentOffset小于0之后就不再移动子ScrollView，而要移动主ScrollView\n            offsetY = 0;\n            self.contentOffset = CGPointMake(self.frame.origin.x, self.contentOffset.y - detal);\n        } else if (offsetY > (self.subTableView.contentSize.height - self.subTableView.frame.size.height)) {\n            //当子ScrollView的contentOffset大于contentSize.height时\n            offsetY = self.subTableView.contentOffset.y - rubberBandDistance(detal, self.height);\n        }\n        self.subTableView.contentOffset = CGPointMake(0, offsetY);\n    }\n    else {\n        if (self.subTableView.contentOffset.y != 0 && detal >= 0) {\n            \n            CGFloat offsetY = self.subTableView.contentOffset.y - detal;\n            if (offsetY < 0) {\n                //当子ScrollView的contentOffset小于0之后就不再移动子ScrollView，而要移动主ScrollView\n                offsetY = 0;\n                self.contentOffset = CGPointMake(self.frame.origin.x, self.contentOffset.y - detal);\n            } else if (offsetY > (self.subTableView.contentSize.height - self.subTableView.frame.size.height)) {\n                //当子ScrollView的contentOffset大于contentSize.height时\n                offsetY = self.subTableView.contentOffset.y - rubberBandDistance(detal, self.height);\n            }\n            self.subTableView.contentOffset = CGPointMake(0, offsetY);\n            \n        }else{\n            CGFloat mainOffsetY = self.contentOffset.y - detal;\n            if (mainOffsetY < 0) {\n                //滚到顶部之后继续往上滚动需要乘以一个小于1的系数\n                mainOffsetY = self.contentOffset.y - rubberBandDistance(detal, self.height);\n                \n            } else if (mainOffsetY > _maxOffset_Y) {\n                mainOffsetY = _maxOffset_Y;\n            }\n            self.contentOffset = CGPointMake(self.frame.origin.x, mainOffsetY);\n            \n            if (mainOffsetY == 0) {\n                self.subTableView.contentOffset = CGPointMake(0, 0);\n            }\n        }\n    }\n    \n    BOOL outsideFrame = self.contentOffset.y < 0 || self.subTableView.contentOffset.y > (self.subTableView.contentSize.height - self.subTableView.frame.size.height);\n    BOOL isMore = self.subTableView.contentSize.height >= self.subTableView.frame.size.height || self.contentOffset.y >= _maxOffset_Y||self.contentOffset.y < 0 ;\n    if (isMore && outsideFrame &&\n        (self.decelerationBehavior && !self.springBehavior)) {\n        CGPoint target = CGPointZero;\n        BOOL isMian = NO;\n        if (self.contentOffset.y < 0) {\n            self.dynamicItem.center = self.contentOffset;\n            target = CGPointZero;\n            isMian = YES;\n        } else if (self.subTableView.contentOffset.y > (self.subTableView.contentSize.height - self.subTableView.frame.size.height)) {\n            self.dynamicItem.center = self.subTableView.contentOffset;\n            \n            target = CGPointMake(self.subTableView.contentOffset.x, (self.subTableView.contentSize.height - self.subTableView.frame.size.height));\n            //********判断tableview的contentsize.height是否大于自身高度，从而控制滚动/\n            if (self.subTableView.contentSize.height <= self.subTableView.frame.size.height) {\n                target = CGPointMake(self.subTableView.contentOffset.x,0);\n            }\n            isMian = NO;\n        }\n        [self.animator removeBehavior:self.decelerationBehavior];\n        __weak typeof(self) weakSelf = self;\n        UIAttachmentBehavior *springBehavior = [[UIAttachmentBehavior alloc] initWithItem:self.dynamicItem attachedToAnchor:target];\n        springBehavior.length = 0;\n        springBehavior.damping = 1;\n        springBehavior.frequency = 2;\n        springBehavior.action = ^{\n            if (isMian) {\n                weakSelf.contentOffset = weakSelf.dynamicItem.center;\n                if (weakSelf.contentOffset.y == 0) {\n                    self.subTableView.contentOffset = CGPointMake(0, 0);\n                }\n            } else {\n                \n                weakSelf.subTableView.contentOffset = self.dynamicItem.center;\n            }\n        };\n        [self.animator addBehavior:springBehavior];\n        self.springBehavior = springBehavior;\n    }\n}\n\n#pragma mark - 公用方法\n//移除手势\n- (void)removeBehaviors\n{\n    [self.animator removeAllBehaviors];\n}\n//获取当前页面的子tableView.\n- (UIScrollView *)currentSubTableView\n{\n    UIScrollView *tableView;\n    //单\n    switch (_currentIndex) {\n        case 1:\n        {\n            //店铺主页样式\n            if (self.shopViewType == ShopModuleTypeList) {\n                //列表样式\n                 tableView = self.shopHomePageView.rightTabView;\n            }else if (self.shopViewType == ShopModuleTypeCard){\n                //卡片样式\n                 tableView = self.shopHomePageView.rightTabView;\n            }else{\n                //宫格样式\n                 tableView = self.shopHomePageView.collectionView;\n            }\n        }\n            break;\n        case 2:\n        {\n            tableView = self.shopEvaluateView.tableView;\n        }\n            break;\n        case 3:\n        {\n            tableView = self.merchantView.tableView;\n        }\n            break;\n            \n        default:\n            break;\n    }\n    return tableView;\n}\n\n#pragma mark - 懒加载\n- (UIScrollView *)subScrollView {\n    if (_subScrollView == nil) {\n        _subScrollView = [[UIScrollView alloc]initWithFrame:CGRectMake(0, _menuView.maxY, self.width, self.height-_menuView.maxY+ _maxOffset_Y)];\n        _subScrollView.contentSize = CGSizeMake(self.width * 3, _subScrollView.height);\n        _subScrollView.pagingEnabled = YES;\n        _subScrollView.scrollEnabled = YES;\n        _subScrollView.showsHorizontalScrollIndicator = NO;\n        _subScrollView.backgroundColor = kColor_bgHeaderViewColor;\n        _subScrollView.delegate = self;\n    }\n    return _subScrollView;\n}\n\n- (ShopHomePageView *)shopHomePageView\n{\n    if (!_shopHomePageView) {\n        _shopHomePageView = [[ShopHomePageView alloc]initWithFrame:CGRectMake(0, 0, self.width, _subScrollView.height)];\n        _shopHomePageView.shopSuperView = self;\n        _shopHomePageView.currentVC = _currentVC;\n        _shopHomePageView.shopModuleType = self.shopViewType;\n        _shopHomePageView.groupId = _groupId;\n        _shopHomePageView.shopModel = _shopModel;\n    }\n    return _shopHomePageView;\n}\n\n- (ShopEvaluateView *)shopEvaluateView\n{\n    if (!_shopEvaluateView) {\n        _shopEvaluateView = [[ShopEvaluateView alloc]initWithFrame:CGRectMake(self.width, 0, self.width, _subScrollView.height) withGroupID:_groupId];\n    }\n    return _shopEvaluateView;\n}\n\n- (ShopMerchantView *)merchantView\n{\n    if (!_merchantView) {\n        _merchantView = [[ShopMerchantView alloc]initWithFrame:CGRectMake(self.width*2, 0, self.width, _subScrollView.height)];\n        _merchantView.groupId = _groupId;\n        _merchantView.shopModel = _shopModel;\n    }\n    return _merchantView;\n}\n\n@end\n"
  },
  {
    "path": "CKMeiTuanShopView/CKMeiTuanShopView/TakeawayShopView/TakeawayShopMainVC.h",
    "content": "//\n//  TakeawayShopMainVC.h\n//  AppPark\n//\n//  Created by CK on 2018/7/3.\n//\n#import <UIKit/UIKit.h>\n\n@interface TakeawayShopMainVC : UIViewController\n\n//店铺id\n@property (nonatomic , copy) NSString *GroupID;\n\n@end\n"
  },
  {
    "path": "CKMeiTuanShopView/CKMeiTuanShopView/TakeawayShopView/TakeawayShopMainVC.m",
    "content": "//\n//  TakeawayShopMainVC.m\n//  AppPark\n//\n//  Created by CK on 2018/7/3.\n//\n\n#import \"TakeawayShopMainVC.h\"\n#import \"TakeawayShopView.h\"\n@interface TakeawayShopMainVC ()\n\n@end\n\n@implementation TakeawayShopMainVC\n\n#pragma mark - 视图生命周期\n- (void)viewWillAppear:(BOOL)animated\n{\n    [super viewWillAppear:animated];\n    //发送通知已经完成定位\n    //    if ([PublicMethod checkUserLogin ]) {\n    //        //已经登录\n    //         [[NSNotificationCenter defaultCenter] postNotificationName:@\"refreshNewShop\" object:self userInfo:nil];\n    //    }\n}\n- (void)viewDidLoad {\n    [super viewDidLoad];\n    [self initData];\n     [self initSubView];\n}\n\n#pragma mark - 控件事件\n\n\n#pragma mark - 私有方法\n//初始化数据\n- (void)initData\n{\n    \n}\n\n//加载子视图\n- (void)initSubView\n{\n    //在请求中携带店铺ID\n    TakeawayShopView *shopView = [[TakeawayShopView alloc]initWithFrame:self.view.bounds withGroupID:_GroupID];\n    [self.view addSubview:shopView];\n    [UIApplication sharedApplication].statusBarStyle = UIStatusBarStyleDefault;\n}\n\n\n\n- (void)didReceiveMemoryWarning {\n    [super didReceiveMemoryWarning];\n    // Dispose of any resources that can be recreated.\n}\n\n@end\n"
  },
  {
    "path": "CKMeiTuanShopView/CKMeiTuanShopView/TakeawayShopView/TakeawayShopView.h",
    "content": "//\n//  TakeawayShopView.h\n//  AppPark\n//\n//  Created by CK on 2018/7/10.\n//\n\n#import <UIKit/UIKit.h>\n\n/**\n 外卖店铺主页\n */\n@interface TakeawayShopView : UIView\n\n//店铺ID\n@property (nonatomic , copy) NSString *groupId;\n\n- (id)initWithFrame:(CGRect)frame  withGroupID:(NSString *)groupId;\n\n\n@end\n"
  },
  {
    "path": "CKMeiTuanShopView/CKMeiTuanShopView/TakeawayShopView/TakeawayShopView.m",
    "content": "//\n//  TakeawayShopView.m\n//  AppPark\n//\n//  Created by 池康 on 2018/7/10.\n//\n\n#import \"TakeawayShopView.h\"\n#import \"FXBlurView.h\"\n#import \"YBPopupMenu.h\"\n#import \"ShopScrollView.h\"\n#import \"NewShopModel.h\"\n#import \"CustomTestCell.h\"\n#define TITLES @[@\"我的购物车\", @\"消息中心\"]\n#define ICONS  @[@\"icon-shoppingcart\",@\"icon-messagecenter\"]\n\n#define NAVBAR_CHANGE_POINT 50\n\n//#define maxOffsetY  (long)(150*kScreenWidth/375 + 48 - kDefaultNavBarHeight)\n@interface TakeawayShopView ()<ShopScrollViewDelegate,YBPopupMenuDelegate,UIGestureRecognizerDelegate>\n{\n    BOOL _isStopAnimation;//是否禁止动画执行\n    CGFloat _alpha;//导航条透明度\n    UIColor *styleColor;//导航条主题色\n    UIButton *_backBT;//返回按钮\n    UIView *_searchView;//搜索视图\n    UILabel *_searchLab;//搜索文本\n    NewShopModel *_shopModel;//数据模型\n    NSInteger _maxOffset_Y;//从初始位置滑到顶部与导航条无缝对接，需要的最大距离\n    CGFloat _startChange_Y;//开始改变的偏移量\n    BOOL _isCollect;//是否已经收藏\n    NSInteger _IMG_HEIGHT;//封面的高度\n}\n@property (nonatomic , strong) UIView *headerView;///<顶部头视图\n@property (nonatomic , strong) UIImageView *shopImgView;///<店铺图片视图\n@property (nonatomic , strong) UIView *infoView;///<店铺信息视图\n@property (nonatomic , strong) UIView *activityView;///<活动满减视图\n@property (nonatomic , strong) UIView *bottomView ;\n@property (nonatomic , strong) UIScrollView *shopScrollView;//最底层的视图，显示满减活动、营业时间等\n@property (nonatomic , strong) ShopScrollView *productListView;///<商品列表\n@property (nonatomic , strong) UIView *navBarView;\n@end\n\n@implementation TakeawayShopView\n\n- (id)initWithFrame:(CGRect)frame  withGroupID:(NSString *)groupId\n{\n    self = [super initWithFrame:frame];\n    if (self) {\n        // 隐藏状态栏\n        _IMG_HEIGHT = Size(150);\n        [UIApplication sharedApplication].statusBarStyle = UIStatusBarStyleLightContent;\n        self.backgroundColor = [UIColor whiteColor];\n        [self setupViews];\n        [self requestGetProductGroupInfo_new];\n        //刷新优惠券\n        [[NSNotificationCenter defaultCenter] addObserver:self selector:@selector(refreshNewShop) name:@\"refreshNewShop\" object:nil];\n    }\n    return self;\n}\n\n- (void)refreshNewShop\n{\n    //刷新优惠券\n}\n\n//移除通知\n-(void)dealloc\n{\n    [[NSNotificationCenter defaultCenter] removeObserver:self];\n}\n\n#pragma mark - 控制事件\n- (void)moveUpClick:(UIButton *)btn\n{\n    [UIView animateWithDuration:0.3 animations:^{\n        //满减活动的透明度\n        _activityView.alpha = 1.0;\n        //店铺信息的透明度\n        _infoView.alpha = 1.0 ;\n        //店铺名称和认证的透明度\n        _bottomView.alpha = 0.0;\n        //店铺照片的平移动画\n        _shopImgView.mj_x = 10;\n        _isStopAnimation = NO;\n        _productListView.transform = CGAffineTransformMakeTranslation(0, 0);//恢复原位置\n    } completion:^(BOOL finished) {\n        //满减活动的透明度\n        _activityView.alpha = 1.0;\n    }];\n}\n\n- (void)backAction\n{\n     UIViewController *superVC =   [self viewController];\n    if (_bottomView.alpha != 0) {\n        [self moveUpClick:nil];\n        return;\n    }\n   \n    [superVC.navigationController popViewControllerAnimated:YES];\n}\n\n- (void)searchClick:(UITapGestureRecognizer *)tap{\n    //搜索\n  \n}\n\n- (void)btnClick:(UIButton *)btn\n{\n    UIViewController *superVC =   [self viewController];\n    switch (btn.tag ) {\n        case 1:\n        {\n            //搜索\n \n        }\n            break;\n        case 2:\n        {\n            //必须先登录\n            //收藏\n\n        }\n            break;\n        case 3:\n        {\n            [YBPopupMenu showRelyOnView:btn titles:TITLES icons:ICONS menuWidth:100 otherSettings:^(YBPopupMenu *popupMenu) {\n                popupMenu.cornerRadius = 2;\n                popupMenu.fontSize = 12;\n                popupMenu.textColor = kColor_GrayColor;\n                popupMenu.arrowWidth = 10;\n                popupMenu.arrowHeight = 7;\n                popupMenu.itemHeight = 34;\n                popupMenu.delegate = self;\n                popupMenu.tableView.separatorStyle = UITableViewCellSeparatorStyleSingleLine;\n            }];\n        }\n            break;\n        default:\n            break;\n    }\n}\n\n//领取优惠券\n- (void)getCouponClick:(UITapGestureRecognizer *)tap\n{\n    //先判断是否登录\n    //必须先登录\n}\n\n- (void)swipeClick:(UISwipeGestureRecognizer *)swipe\n{\n    [self moveUpClick:nil];\n}\n\n- (void)moveUpTap:(UITapGestureRecognizer *)tap\n{\n    [self moveUpClick:nil];\n}\n\n//跳转到优惠活动页面\n- (void)activityTap:(UITapGestureRecognizer *)tap\n{\n\n}\n\n#pragma mark - 顶部视图\n- (void)setHeaderView\n{\n    //顶部视图\n    UIView *headerView = [[UIView alloc]initWithFrame:CGRectMake(0, 0, self.width, _IMG_HEIGHT)];\n    headerView.backgroundColor = [UIColor whiteColor];\n    headerView.userInteractionEnabled = YES;\n    [self addSubview:headerView];\n    _headerView = headerView;\n    //背景封面\n    UIImageView *faceImgView = [[UIImageView alloc]initWithFrame:CGRectMake(0, 0, self.width, _IMG_HEIGHT)];\n    faceImgView.backgroundColor = kColor_ButonCornerColor;\n    [headerView addSubview:faceImgView];\n    [faceImgView sd_setImageWithURL:[NSURL URLWithString:_shopModel.picUrl] placeholderImage:nil];//店铺背景图片\n    //模糊效果\n    FXBlurView *bview = [[FXBlurView alloc] initWithFrame:faceImgView.bounds];\n    bview.tintColor = [UIColor whiteColor];  //前景颜色\n    bview.blurEnabled = YES;                //是否允许模糊，默认YES\n    bview.blurRadius = 10.0;               //模糊半径\n    bview.dynamic = YES;                   //动态改变模糊效果\n    [faceImgView addSubview:bview];\n    //渐变\n    CAGradientLayer *gradientLayer = [CAGradientLayer layer];\n    gradientLayer.colors = @[(__bridge id)[UIColor clearColor].CGColor, (__bridge id)[[UIColor blackColor] colorWithAlphaComponent:0.6].CGColor];\n    gradientLayer.locations = @[@0.0, @1.0];\n    gradientLayer.startPoint = CGPointMake(0, 0);\n    gradientLayer.endPoint = CGPointMake(0, 1.5);\n    gradientLayer.frame = CGRectMake(0, 0, self.width, _IMG_HEIGHT);\n    [faceImgView.layer addSublayer:gradientLayer];\n    //店铺图片\n    UIImageView *shopImgView = [[UIImageView alloc]initWithFrame:CGRectMake(10, _IMG_HEIGHT - 78, 90, 90)];\n    shopImgView.backgroundColor = [UIColor redColor];\n    shopImgView.layer.cornerRadius = 4;\n    //    shopImgView.layer.masksToBounds = YES;\n    shopImgView.layer.shadowColor = kColor_darkGrayColor.CGColor;//shadowColor阴影颜色\n    shopImgView.layer.shadowOffset = CGSizeMake(0,2);//shadowOffset阴影偏移,x向右偏移4，y向下偏移4，默认(0, -3),这个跟shadowRadius配合使用\n    shopImgView.layer.shadowOpacity = 0.4;//阴影透明度，默认0\n    shopImgView.layer.shadowRadius = 3;//阴影半径，默认3\n    [self addSubview:shopImgView];\n    _shopImgView = shopImgView;\n    [_shopImgView sd_setImageWithURL:[NSURL URLWithString:_shopModel.shopIcon] placeholderImage:kImage_Name(@\"thumb\") completed:^(UIImage *image, NSError *error, SDImageCacheType cacheType, NSURL *imageURL) {\n        _shopImgView.image = [image drawCircularIconWithSize:CGSizeMake(90, 90) withRadius:4];\n    }];\n}\n\n#pragma mark - 店铺信息视图\n- (void)setShopInfoView\n{\n    UIView *infoView = [[UIView alloc]init];\n    infoView.frame = CGRectMake(_shopImgView.maxX+10, _shopImgView.minY, self.width-(_shopImgView.maxX+20), 78);\n    [_headerView addSubview:infoView];\n    //店铺图标\n    UIImageView *shopIcon = [[UIImageView alloc]init];\n    shopIcon.image = kImage_Name(@\"icon_brd_big\");\n    [infoView addSubview:shopIcon];\n    shopIcon.frame = CGRectMake(0, 2, shopIcon.image.size.width, 16);\n    //店铺名称\n    UILabel *shopNameLab = [UITool createLabelWithTextColor:[UIColor whiteColor] textSize:kScreenWidth<375?Size(18):18 alignment:NSTextAlignmentLeft];\n    shopNameLab.frame = CGRectMake(shopIcon.maxX+5, 0, infoView.width-(shopIcon.maxX+15), 20);\n    shopNameLab.text = _shopModel.shopName; //店铺名称\n    [infoView addSubview:shopNameLab];\n    //公告\n    UILabel *noticeLab = [UITool createLabelWithTextColor:[UIColor whiteColor] textSize:12 alignment:NSTextAlignmentLeft];\n    noticeLab.frame = CGRectMake(0, shopNameLab.maxY+8, infoView.width, 12);\n    noticeLab.text = [NSString stringWithFormat:@\"公告：%@\",_shopModel.shopNotice];//公告\n    if (_shopModel.shopNotice.length == 0) {\n        noticeLab.text = [NSString stringWithFormat:@\"公告：%@\",@\"暂无公告\"];//公告\n    }\n    [infoView addSubview:noticeLab];\n    _infoView = infoView;\n    //认证\n    UIView *cerView = [self setShopGradeAndCerViewWithType:@\"1\"];\n    cerView.frame =CGRectMake(0, _infoView.height-28, cerView.width, 18);\n    [_infoView addSubview:cerView];\n    \n    [self bringSubviewToFront:_shopImgView];\n}\n\n#pragma mark - 店铺照片下面的满减活动视图\n- (void)setActivityView\n{\n    NSArray *activityList = _shopModel.activityList;\n    UIView *activityView = [[UIView alloc]initWithFrame:CGRectMake(0, _IMG_HEIGHT+12, self.width, 36)];\n    [_headerView addSubview:activityView];\n    if (activityList.count > 0) {\n        CouponListModel *couponListModel = activityList[0];\n        _activityView = activityView;\n        //\n        UIImageView *iconView = [[UIImageView alloc]initWithFrame:CGRectMake(10, 11, 14, 14)];\n        //1.限时折扣  2.满减  3.优惠券\n        if ([couponListModel.activeType integerValue] == 1) {\n            iconView.image = kImage_Name(@\"icon-discounts\");\n        }else if ([couponListModel.activeType integerValue] == 2)\n        {\n            iconView.image = kImage_Name(@\"icon-sale\");\n        }\n        else if ([couponListModel.activeType integerValue] == 3)\n        {\n            iconView.image = kImage_Name(@\"icon-coupons\");\n        }\n        [activityView addSubview:iconView];\n        //活动名称\n        UILabel *activityLab = [UITool createLabelWithTextColor:kColor_TitleColor textSize:12 alignment:NSTextAlignmentLeft];\n        activityLab.text = couponListModel.activeTitle;\n        activityLab.frame = CGRectMake(iconView.maxX+10, 9, self.width-(iconView.maxX+10+60), 18);\n        [activityView addSubview:activityLab];\n        \n        //\n        UIImageView *nextImgView = [[UIImageView alloc]initWithFrame:CGRectMake(self.width-20, 13, 10, 10)];\n        nextImgView.image = kImage_Name(@\"icon-folding\");\n        [activityView addSubview:nextImgView];\n        //优惠活动数量\n        UILabel *numLab = [UITool createLabelWithTextColor:kColor_GrayColor textSize:10 alignment:NSTextAlignmentRight];\n        numLab.text = [NSString stringWithFormat:@\"%ld个优惠\",activityList.count];\n        numLab.frame = CGRectMake(nextImgView.minX-45, 9, 40, 18);\n        [activityView addSubview:numLab];\n    }else{\n        //没有活动\n        activityView.mj_h = 0;\n    }\n}\n\n#pragma mark - 店铺照片下面的底部视图\n//满减活动 、 营业时间 、 公告\n- (void)createDeatailInfoView\n{\n    CGFloat max_Y = 0;\n    _shopScrollView = [[UIScrollView alloc]initWithFrame:CGRectMake(0, _IMG_HEIGHT, self.width, self.height - _IMG_HEIGHT)];\n    _shopScrollView.contentSize = CGSizeMake(self.width, 1000);\n    _shopScrollView.showsVerticalScrollIndicator = NO;\n    _shopScrollView.bounces = YES;\n    [self addSubview:_shopScrollView];\n    \n    [self bringSubviewToFront:_shopImgView];\n    //间隔\n    UILabel *lineLab = [UITool lineLabWithFrame: CGRectMake(0, 88, self.width, 10)];\n    lineLab.backgroundColor = kColor_LightGrayColor;\n    [_shopScrollView addSubview:lineLab];\n    \n    max_Y = lineLab.maxY;\n    \n    //*******************************优惠券活动************************************\n    NSArray *couponList = _shopModel.couponList;\n    \n    if (couponList.count > 0) {\n        UIScrollView *couponScorllView = [[UIScrollView alloc]initWithFrame:CGRectMake(0, lineLab.maxY, self.width, 100)];\n        couponScorllView.showsHorizontalScrollIndicator = NO;\n        [_shopScrollView addSubview:couponScorllView];\n        \n        for (int i = 0; i<couponList.count; i++) {\n            CouponListModel *couponModel = couponList[i];\n            UIView *couponView = [[UIView alloc]initWithFrame:CGRectMake(10+(210 + 20)*i, 10, 210, 80)];\n            [couponScorllView addSubview:couponView];\n            //优惠券图片\n            UIImageView *couponImgView = [[UIImageView alloc]init];\n            couponImgView.frame = couponView.bounds;\n            couponImgView.tag = 50;\n            couponImgView.image = kImage_Name(@\"bg_coupon_red\");\n            if ([couponModel.couponNumber integerValue] <= 0)\n            {\n                couponImgView.image = kImage_Name(@\"bg_coupon_yellow\");\n            }\n            \n            [couponView addSubview:couponImgView];\n            //优惠券价格\n            UILabel *priceLab = [UITool createLabelWithFrame:CGRectMake(14, 9, 100, 20) backgroundColor:[UIColor clearColor] textColor:UIColorFromRGB(0xFE5A2B) textSize:Size(20) alignment:NSTextAlignmentLeft lines:1];\n            priceLab.text = [NSString stringWithFormat:@\"¥%@\",couponModel.couponPrice];\n            [couponView addSubview:priceLab];\n            //满多少钱可用\n            UILabel *moreThanLab = [UITool createLabelWithFrame:CGRectMake(14, 40, 100, 14) backgroundColor:[UIColor clearColor] textColor:UIColorFromRGB(0xFD8F33) textSize:14 alignment:NSTextAlignmentLeft lines:1];\n            moreThanLab.text = [NSString stringWithFormat:@\"满%@可用\",couponModel.couponCondition];\n            [couponView addSubview:moreThanLab];\n            //时间\n            \n            UILabel *timeLab = [UITool createLabelWithFrame:CGRectMake(14, 59, 140, 10) backgroundColor:[UIColor clearColor] textColor:UIColorFromRGB(0xFD8F33) textSize:10 alignment:NSTextAlignmentLeft lines:1];\n            NSString *time = [ToolManager returnTime:couponModel.couponTime format:@\"yyyy.MM.dd HH:mm\"];\n            timeLab.text = [NSString stringWithFormat:@\"%@前使用\",time];\n            [couponView addSubview:timeLab];\n            //领取\n            UILabel *getLab = [UITool createLabelWithFrame:CGRectMake(couponView.width-4-60, 0, 60, 80) backgroundColor:[UIColor clearColor] textColor:[UIColor whiteColor] textSize:16 alignment:NSTextAlignmentCenter lines:2];\n            getLab.text = @\"立即\\n领取\";\n            if ([couponModel.couponNumber integerValue] <= 0)\n            {\n                getLab.text = @\"已使用\";\n            }\n            getLab.tag = 51;\n            [couponView addSubview:getLab];\n            \n            [couponScorllView setContentSize:CGSizeMake(couponView.maxX+20, 100)];\n            \n            UITapGestureRecognizer *couponTap = [[UITapGestureRecognizer alloc]initWithTarget:self action:@selector(getCouponClick:)];\n            couponView.tag = i+100;\n            [couponView  addGestureRecognizer:couponTap ];\n        }\n        \n        UILabel *lineLab2 = [UITool lineLabWithFrame: CGRectMake(0, couponScorllView.maxY, self.width, 10)];\n        lineLab2.backgroundColor = kColor_LightGrayColor;\n        [_shopScrollView addSubview:lineLab2];\n        \n        max_Y = lineLab2.maxY;\n    }\n    //*******************************满减活动************************************\n    NSArray *activityList = _shopModel.activityList;\n    if (activityList.count > 0) {\n        //满减活动\n        UIView *activityView2 = [[UIView alloc]initWithFrame:CGRectMake(0, max_Y, self.width, 36)];\n        [_shopScrollView addSubview:activityView2];\n        //\n        for (int i = 0; i<activityList.count; i++) {\n            \n            CouponListModel *couponListModel = activityList[i];\n            UIImageView *iconView = [[UIImageView alloc]initWithFrame:CGRectMake(10, 13+(14+11)*i, 14, 14)];\n            //1.限时折扣  2.满减  3.优惠券\n            if ([couponListModel.activeType integerValue] == 1) {\n                iconView.image = kImage_Name(@\"icon-discounts\");\n            }else if ([couponListModel.activeType integerValue] == 2)\n            {\n                iconView.image = kImage_Name(@\"icon-sale\");\n            }\n            else if ([couponListModel.activeType integerValue] == 3)\n            {\n                iconView.image = kImage_Name(@\"icon-coupons\");\n            }\n            [activityView2 addSubview:iconView];\n            //活动名称\n            UILabel *activityLab = [UITool createLabelWithTextColor:kColor_TitleColor textSize:12 alignment:NSTextAlignmentLeft];\n            activityLab.text = couponListModel.activeTitle;\n            activityLab.frame = CGRectMake(iconView.maxX+10, 15+(12+11)*i, self.width-(iconView.maxX+10+60), 12);\n            [activityView2 addSubview:activityLab];\n            \n            activityView2.mj_h = activityLab.maxY+11;\n        }\n        //\n        UIImageView *nextImgView = [[UIImageView alloc]initWithFrame:CGRectMake(self.width-20, 13, 10, 10)];\n        nextImgView.image = kImage_Name(@\"icon_up_black\");\n        [activityView2 addSubview:nextImgView];\n        \n        UIControl *foldingBT = [[UIControl alloc]init];\n        [foldingBT addTarget:self action:@selector(moveUpClick:) forControlEvents:UIControlEventTouchUpInside];\n        foldingBT.frame = CGRectMake(activityView2.maxX-50, 0, 50, activityView2.height);\n        [activityView2 addSubview:foldingBT];\n        \n        UILabel *lineLab3 = [UITool lineLabWithFrame: CGRectMake(0, activityView2.maxY, self.width, 0.5)];\n        lineLab3.backgroundColor = kColor_bgHeaderViewColor;\n        [_shopScrollView addSubview:lineLab3];\n        \n        UITapGestureRecognizer *activityTap = [[UITapGestureRecognizer alloc]initWithTarget:self action:@selector(activityTap:)];\n        [activityView2 addGestureRecognizer:activityTap];\n        \n        max_Y = lineLab3.maxY;\n    }\n    \n    //营业时间\n    if (_shopModel.openHour.length == 0 || !_shopModel.openHour) {\n        //如果营业时间不存在\n    }else{\n        UILabel *textLab = [UITool createLabelWithTextColor:kColor_TitleColor textSize:14 alignment:NSTextAlignmentLeft];\n        textLab.frame = CGRectMake(10, max_Y+10, self.width, 14);\n        [_shopScrollView addSubview:textLab];\n        textLab.text = @\"营业时间\";\n        \n        UILabel *timeLab = [UITool createLabelWithTextColor:kColor_GrayColor textSize:12 alignment:NSTextAlignmentLeft];\n        timeLab.frame = CGRectMake(10, textLab.maxY+10, self.width, 12);\n        timeLab.text = _shopModel.openHour;\n        [_shopScrollView addSubview:timeLab];\n        \n        max_Y = timeLab.maxY;\n    }\n    \n    //公告\n    UILabel *noticeLab = [UITool createLabelWithTextColor:kColor_TitleColor textSize:14 alignment:NSTextAlignmentLeft];\n    noticeLab.frame = CGRectMake(10, max_Y+15, 42, 14);\n    noticeLab.text = @\"公告:\";\n    [_shopScrollView addSubview:noticeLab];\n    \n    UILabel *contentLab = [UITool createLabelWithTextColor:kColor_GrayColor textSize:12 alignment:NSTextAlignmentLeft];\n    contentLab.frame = CGRectMake(10, noticeLab.maxY+10, self.width-20, 12);\n    [_shopScrollView addSubview:contentLab];\n    NSString *text = _shopModel.shopNotice;\n    if (text.length == 0||!text) {\n        text = @\"暂无公告\";\n    }\n    contentLab.text = text;\n    contentLab.font = kFont(12);\n    contentLab.numberOfLines = 0;\n    contentLab.mj_w = self.width - (noticeLab.maxX+20);\n    CGSize size = [AppMethods sizeWithFont:kFont(12) Str:text withMaxWidth:contentLab.mj_w];\n    contentLab.mj_h = size.height;\n    if (size.height < 18) {\n        contentLab.mj_h = 12;\n    }\n    \n    _shopScrollView.contentSize = CGSizeMake(self.width, contentLab.maxY+10);\n}\n\n- (void)setBottomView{\n    UIView *bottomView = [[UIView alloc]initWithFrame:CGRectMake(0, 25, self.width, 63)];\n    [_shopScrollView addSubview:bottomView];\n    bottomView.alpha = 0.0;\n    _bottomView = bottomView;\n    //店铺名称\n    UILabel *shopNameLab = [UITool createLabelWithTextColor:kColor_darkBlackColor textSize:kScreenWidth<375?Size(18):18 alignment:NSTextAlignmentCenter];\n    shopNameLab.text = _shopModel.shopName;\n    [bottomView addSubview:shopNameLab];\n    [shopNameLab mas_makeConstraints:^(MASConstraintMaker *make) {\n        make.centerX.mas_equalTo(bottomView);\n        make.height.mas_offset(26);\n        make.top.mas_equalTo(0);\n    }];\n    //店铺图标\n    UIImageView *shopIcon = [[UIImageView alloc]init];\n    shopIcon.image = kImage_Name(@\"icon_brd_big\");\n    [bottomView addSubview:shopIcon];\n    [shopIcon mas_makeConstraints:^(MASConstraintMaker *make) {\n        make.right.mas_equalTo(shopNameLab.mas_left).offset(-6);\n        make.height.mas_offset(16);\n        make.centerY.mas_equalTo(shopNameLab);\n        \n    }];\n    //店铺认证\n    UIView *cerView = [self setShopGradeAndCerViewWithType:@\"2\"];\n    [bottomView addSubview:cerView];\n    [cerView mas_makeConstraints:^(MASConstraintMaker *make) {\n        make.top.mas_equalTo(shopNameLab.mas_bottom).offset(6);\n        make.centerX.mas_equalTo(bottomView);\n        make.height.mas_offset(18);\n        make.width.mas_offset(cerView.width);\n    }];\n}\n\n#pragma mark - 店铺评分视图\n- (UIView *)setShopGradeAndCerViewWithType:(NSString *)type {\n    \n    CGFloat max_X = 0;\n    UIView *cerView = [[UIView alloc]init];\n    //店铺评价\n    //分数\n    UILabel *gradeLab = [UITool createLabelWithTextColor:UIColorFromRGB(0xFFCD20) textSize:kScreenWidth<375?Size(18):18 alignment:NSTextAlignmentLeft];\n    NSString *grade = [NSString stringWithFormat:@\"%@分\",@\"4.9\"];\n    NSMutableAttributedString *str = [AppDefaultUtil returnStringSize:grade rang:NSMakeRange(grade.length - 1,1) size:12];\n    gradeLab.attributedText = str;\n    gradeLab.adjustsFontSizeToFitWidth = YES;\n    CGSize gradeSize = [AppMethods sizeWithFont:kFont(12) Str:grade withMaxWidth:100];\n    gradeLab.frame = CGRectMake(max_X, 0, gradeSize.width+2, 18);\n    [cerView addSubview:gradeLab];\n    //超出预期\n    UILabel *yuQiLab = [UITool createLabelWithTextColor:UIColorFromRGB(0xFFCD20) textSize:12 alignment:NSTextAlignmentLeft];\n    yuQiLab.text = [ToolManager returnYuQiType:@\"4.9\"];\n    CGSize yuQiSize = [AppMethods sizeWithFont:kFont(12) Str:yuQiLab.text withMaxWidth:100];\n    yuQiLab.frame = CGRectMake(gradeLab.maxX+5, 4, yuQiSize.width+5, 14);\n    \n    [cerView addSubview:yuQiLab];\n\n    \n    //月售\n    UILabel *line = [UITool lineLabWithFrame:CGRectMake(yuQiLab.maxX+8, 1, 2, 16)];\n    line.backgroundColor = UIColorFromRGB(0xF4F4F4);\n    [cerView addSubview:line];\n    \n    UILabel *sellCountLab = [UITool createLabelWithTextColor:kColor_ButonCornerColor textSize:12 alignment:NSTextAlignmentLeft];\n    sellCountLab.text = @\"月售1088\";\n    CGSize sellSize = [AppMethods sizeWithFont:kFont(12) Str:sellCountLab.text withMaxWidth:100];\n    sellCountLab.frame = CGRectMake(line.maxX+8, 2, sellSize.width, 16);\n    [cerView addSubview:sellCountLab];\n    \n    cerView.mj_w = sellCountLab.maxX;\n    \n    return cerView;\n}\n\n- (void)createMoveUpView\n{\n    //渐变\n    CAGradientLayer *gradientLayer = [CAGradientLayer layer];\n    gradientLayer.colors = @[(__bridge id)[UIColor clearColor].CGColor, (__bridge id)[[UIColor blackColor] colorWithAlphaComponent:0.5].CGColor];\n    gradientLayer.locations = @[@0.0, @1.0];\n    gradientLayer.startPoint = CGPointMake(0, 0);\n    gradientLayer.endPoint = CGPointMake(0, 1.5);\n    gradientLayer.frame = CGRectMake(0, self.height-30, self.width, 30);\n    [self.layer addSublayer:gradientLayer];\n    \n    UIImageView *imageView = [[UIImageView alloc]init];\n    imageView.frame = CGRectMake((self.width - 20)/2, self.height-27, 20, 20);\n    imageView.userInteractionEnabled = YES;\n    imageView.image = kImage_Name(@\"icon-Slidingback\");\n    [self addSubview:imageView];\n    \n    UIView *view = [[UIView alloc]init];\n    view.frame = CGRectMake(0, self.height-90, self.width, 90);\n    [self addSubview:view];\n    \n    UISwipeGestureRecognizer *swipe = [[UISwipeGestureRecognizer alloc]initWithTarget:self action:@selector(swipeClick:)];\n    swipe.delegate = self;\n    swipe.direction = UISwipeGestureRecognizerDirectionUp;\n    [view addGestureRecognizer:swipe];\n    \n    UITapGestureRecognizer *tap = [[UITapGestureRecognizer alloc]initWithTarget:self action:@selector(moveUpTap:)];\n    tap.delegate = self;\n    [view addGestureRecognizer:tap];\n}\n\n#pragma mark - ShopProductListViewDelegate  --滚动监听\n//滚动\n- (void)ListScrollViewDidScroll:(UIScrollView *)scrollView\n{\n    CGFloat offset = scrollView.contentOffset.y;\n    if (scrollView == _productListView ) {\n        if (offset <= 0 && !_isStopAnimation) {\n            //满减活动的透明度\n            CGFloat rate = -offset/30;\n            if (rate >= 1) {\n                rate = 1;\n            }\n            if (rate <= 0) {\n                rate = 0;\n            }\n            _activityView.alpha = 1.0 * (1.0-rate);\n            //店铺信息的透明度\n            CGFloat infoViewRate = -offset/50;\n            _infoView.alpha = 1.0 *(1.0-infoViewRate);\n            //店铺名称和认证的透明度\n            CGFloat nameRate = -offset/65;\n            if (nameRate >= 1) {\n                nameRate = 1;\n            }\n            if (_infoView.alpha <0.5) {\n                _bottomView.alpha = 1.0 *nameRate;\n            }else{\n                _bottomView.alpha = 0;\n            }\n            //店铺照片的平移动画\n            CGFloat distance = self.width/2 - 55;\n            CGFloat imgRate = -offset/65;\n            if (imgRate >=1.0) {\n                imgRate = 1.0;\n            }\n            _shopImgView.mj_x = imgRate*distance +10;\n        }else{\n            //满减活动的透明度\n            _activityView.alpha = 1.0;\n            //店铺信息的透明度\n            _infoView.alpha = 1.0 ;\n            //店铺名称和认证的透明度\n            _bottomView.alpha = 0.0;\n            //店铺照片的平移动画\n            _shopImgView.mj_x = 10;\n            _isStopAnimation = NO;\n        }\n    }\n    \n    [self didScorll:scrollView];\n}\n\n- (void)ListScrollViewDidEndDragging:(UIScrollView *)scrollView\n{\n    CGFloat offset = scrollView.contentOffset.y;\n    if (offset <= -80) {\n        //如果下滑偏移量小于-80,禁止动画执行\n        _isStopAnimation = YES;\n    }else{\n        _isStopAnimation = NO;\n    }\n}\n\n- (void)ListScrollViewDropDown:(UIScrollView *)scrollView\n{\n    [UIView animateWithDuration:0.3 animations:^{\n        scrollView.transform = CGAffineTransformMakeTranslation(0, self.height);\n        //满减活动的透明度\n        _activityView.alpha = 0.0;\n        //店铺信息的透明度\n        _infoView.alpha = 0.0 ;\n        //店铺照片的平移动画\n        CGFloat distance = self.width/2 - 55;\n        _shopImgView.mj_x = distance + 10;\n        _isStopAnimation = NO;\n    } completion:^(BOOL finished) {\n        [UIView animateWithDuration:0.1 animations:^{\n            //店铺名称和认证的透明度\n            _bottomView.alpha = 1.0;\n        }];\n        _productListView.isStopAnimation = YES;\n        _productListView.contentOffset = CGPointZero;\n    }];\n    \n    //导航条恢复原状\n    [self navBarState];\n}\n\n#pragma mark - 商品、评价、商家列表视图\n- (ShopScrollView *)productListView\n{\n    if (!_productListView) {\n        _productListView = [[ShopScrollView alloc]initWithFrame:CGRectMake(0, kDefaultNavBarHeight, self.width, self.height - kDefaultNavBarHeight) withShopModel:_shopModel withGroupID:_groupId currentVC:[self viewController]];\n        _productListView.showsVerticalScrollIndicator = NO;\n        _productListView.scrollDelegate = self;\n    }\n    return _productListView;\n}\n\n#pragma mark - 导航条\n- (void)setUpNavBarView\n{\n    UIView *navBarView = [[UIView alloc]initWithFrame:CGRectMake(0, 0, self.width, kDefaultNavBarHeight)];\n    navBarView.backgroundColor = [[UIColor whiteColor] colorWithAlphaComponent:0];//透明度\n    [self addSubview:navBarView];\n    self.navBarView = navBarView;\n    //返回按钮\n    UIButton *backBT = [UIButton buttonWithType:UIButtonTypeCustom];\n    backBT.frame = CGRectMake(0, 20+kDefaultNavBar_SubView_MinY, 54, 44);\n    [backBT setImage:[UIImage imageNamed:@\"icon_back_white\"] forState:UIControlStateNormal];\n    [backBT setImage:[UIImage imageNamed:@\"icon_back_white\"] forState:UIControlStateHighlighted];\n    backBT.titleLabel.font=[UIFont systemFontOfSize:16];\n    [backBT setTitleColor:[UIColor whiteColor] forState:UIControlStateNormal];\n    [backBT setImageEdgeInsets:UIEdgeInsetsMake(0, 0, 0 ,0)];\n    [backBT setTitleEdgeInsets:UIEdgeInsetsMake(0, 8, 0, 0)];\n    [backBT addTarget:self action:@selector(backAction) forControlEvents:UIControlEventTouchUpInside];\n    [navBarView addSubview:backBT];\n    _backBT = backBT;\n    \n    //搜索框\n    UIView *searchView = [[UIView alloc]initWithFrame:CGRectMake(self.width-37*4-10, 20+kDefaultNavBar_SubView_MinY+ 5 + 5, 37, 24)];\n    searchView.backgroundColor =[UIColorFromRGB(0xF4F4F4) colorWithAlphaComponent:0.0];\n    [navBarView addSubview:searchView];\n    _searchView = searchView;\n    \n    UITapGestureRecognizer *tap = [[UITapGestureRecognizer alloc]initWithTarget:self action:@selector(searchClick:)];\n    [searchView addGestureRecognizer:tap];\n    \n    _searchLab = [UITool createLabelWithFrame:CGRectMake(30, 2, 120, 20) backgroundColor:[UIColor clearColor] textColor:kColor_GrayColor textSize:Size(12) alignment:NSTextAlignmentLeft lines:1];\n    _searchLab.text = @\"请输入商品名称\";\n    [_searchView addSubview:_searchLab];\n    _searchLab.textColor = [kColor_GrayColor colorWithAlphaComponent:0];\n    \n    //搜索 信息  收藏 更多\n    NSArray *imgAray = @[@\"sousuo_white\",@\"collect_white\",@\"more_white\"];\n    for (int i = 0; i<3; i++) {\n        UIButton *itemBT  = [UIButton buttonWithType:UIButtonTypeCustom];\n        itemBT.frame = CGRectMake(self.width-37*(3-i)-5, 20+kDefaultNavBar_SubView_MinY+5, 37, 34);\n        [itemBT setImage:kImage_Name(imgAray[i]) forState:UIControlStateNormal];\n        [itemBT addTarget:self action:@selector(btnClick:) forControlEvents:UIControlEventTouchUpInside];\n        itemBT.tag = i + 1;\n        [navBarView addSubview:itemBT];\n        if (i == 2) {\n            if (_isCollect) {\n                //已经收藏\n                [itemBT setImage:kImage_Name(@\"Already collected\")   forState:UIControlStateNormal];\n            }\n        }\n        if (i == 3) {\n            //            UILabel *redLab = [[UILabel alloc]init];\n            //            redLab.backgroundColor = [UIColor redColor];\n            //            redLab.layer.cornerRadius = 2;\n            //            redLab.layer.masksToBounds = YES;\n            //            redLab.frame = CGRectMake(31, 8, 4, 4);\n            //            [itemBT addSubview:redLab];\n        }\n    }\n}\n\n#pragma mark - YBPopupMenuDelegate\n- (void)ybPopupMenu:(YBPopupMenu *)ybPopupMenu didSelectedAtIndex:(NSInteger)index\n{\n    //推荐回调\n    if (index == 0) {\n        //购物车\n        NSLog(@\"购物车\");\n    }else{\n        //消息中心\n        NSLog(@\"消息中心\");\n    }\n}\n\n-(void)shopCartBtn{\n    \n}\n\n- (void)ybPopupMenuBeganDismiss\n{\n    \n}\n\n- (UITableViewCell *)ybPopupMenu:(YBPopupMenu *)ybPopupMenu cellForRowAtIndex:(NSInteger)index\n{\n    static NSString * identifier = @\"customCell\";\n    CustomTestCell * cell = [ybPopupMenu.tableView dequeueReusableCellWithIdentifier:identifier];\n    if (!cell) {\n        cell = [[[NSBundle mainBundle] loadNibNamed:@\"CustomTestCell\" owner:self options:nil] firstObject];\n    }\n    cell.titleLabel.text = TITLES[index];\n    cell.iconImageView.image = [UIImage imageNamed:ICONS[index]];\n    switch (index) {\n        case 0:\n            cell.redLab.hidden = YES;\n            break;\n        case 1:\n            cell.redLab.hidden = YES;\n            break;\n    }\n    return cell;\n}\n\n#pragma mark - 导航栏渐变\n- (void)didScorll:(UIScrollView *)scorllView\n{\n    CGFloat offsetY = scorllView.contentOffset.y;\n    \n    _alpha = offsetY/_maxOffset_Y;\n    if (_alpha > 1) {\n        _alpha = 1;\n    }\n    if (_alpha < 0) {\n        _alpha = 0;\n    }\n    \n    CGFloat alpha2 = 0;\n    if (_alpha >= 0.6) {\n        alpha2 = (_alpha - 0.6)/0.4;\n    }\n    if (offsetY > NAVBAR_CHANGE_POINT) {\n        self.navBarView.backgroundColor = [styleColor  colorWithAlphaComponent:_alpha];\n    } else {\n        self.navBarView.backgroundColor = [styleColor  colorWithAlphaComponent:0];\n    }\n    UIButton *sousuBT = (UIButton *)[_navBarView viewWithTag:1];\n    UIButton *collectBT = (UIButton *)[_navBarView viewWithTag:2];\n    UIButton *messageBT = (UIButton *)[_navBarView viewWithTag:3];\n    \n    CGFloat startLoc = self.width-37*3-5;\n    CGFloat endLoc = _backBT.maxX;\n    CGFloat distance =  startLoc  -  endLoc;\n    if (offsetY <= _maxOffset_Y && offsetY >= 0) {\n        //18x18\n        if (offsetY >= _startChange_Y) {\n            CGFloat imgRate = (offsetY - _startChange_Y)/(_maxOffset_Y - _startChange_Y);\n            if (imgRate >= 1) {\n                imgRate = 1;\n            }\n            sousuBT.frame = CGRectMake(startLoc - imgRate*distance, 20+kDefaultNavBar_SubView_MinY+5, 37, 34);\n            CGFloat imgRate2 = imgRate*3.5;\n            if (imgRate2 >= 1) {\n                imgRate2 = 1;\n            }\n            if (imgRate2  >= 1) {\n                [sousuBT setImage:kImage_Name(@\"icon-search box\") forState:UIControlStateNormal];\n            }else{\n                [sousuBT setImage:kImage_Name(@\"sousuo_white\") forState:UIControlStateNormal];\n            }\n            sousuBT.imageEdgeInsets = UIEdgeInsetsMake(8*imgRate2, 8*imgRate2, 8*imgRate2, 8*imgRate2);\n            _searchView.mj_x = sousuBT.mj_x;\n            _searchLab.mj_x = 30;\n            _searchView.backgroundColor = [UIColorFromRGB(0xF4F4F4) colorWithAlphaComponent:alpha2];\n            if (_alpha >= 0.8) {\n                _searchLab.textColor = [kColor_GrayColor colorWithAlphaComponent:_alpha];\n            }else{\n                _searchLab.textColor = [kColor_GrayColor colorWithAlphaComponent:0];\n            }\n            CGFloat sousuoBgRate = (offsetY - _startChange_Y)/(_maxOffset_Y- _startChange_Y);\n            if (sousuoBgRate >= 1) {\n                sousuoBgRate = 1;\n            }\n            _searchView.mj_w = distance*sousuoBgRate + 37;\n        }\n    }else{\n        sousuBT.frame = CGRectMake(startLoc, 20+kDefaultNavBar_SubView_MinY+5, 37, 34);\n        [sousuBT setImage:kImage_Name(@\"sousuo_white\") forState:UIControlStateNormal];\n        sousuBT.imageEdgeInsets = UIEdgeInsetsMake(0, 0, 0, 0);\n        _searchView.backgroundColor = [UIColorFromRGB(0xF4F4F4) colorWithAlphaComponent:0];\n        _searchView.mj_x = sousuBT.mj_x;\n        _searchView.mj_w =  37;\n        _searchLab.mj_x = 30;\n        _searchLab.textColor = [kColor_GrayColor colorWithAlphaComponent:0];\n    }\n    \n    if (_alpha >= 0.5) {\n        [_backBT   setImage:kImage_Name(@\"back_grey\")    forState:UIControlStateNormal];\n        [messageBT setImage:kImage_Name(@\"more_grey\") forState:UIControlStateNormal];\n        [collectBT setImage:kImage_Name(@\"collect_grey\") forState:UIControlStateNormal];\n    }else{\n        [_backBT   setImage:kImage_Name(@\"icon_back_white\") forState:UIControlStateNormal];\n        [messageBT setImage:kImage_Name(@\"more_white\")   forState:UIControlStateNormal];\n        [collectBT setImage:kImage_Name(@\"collect_white\")   forState:UIControlStateNormal];\n    }\n    if (_isCollect) {\n        //已经收藏\n        [collectBT setImage:kImage_Name(@\"Already collected\")   forState:UIControlStateNormal];\n    }\n    if (_alpha >= 0.8) {\n        //         [UIApplication sharedApplication].statusBarStyle = UIStatusBarStyleDefault;\n    }else{\n        //        [UIApplication sharedApplication].statusBarStyle = UIStatusBarStyleLightContent;\n    }\n}\n\n//导航条颜色\n- (void)setupViews\n{\n    styleColor = [UIColor whiteColor];\n    self.navBarView.backgroundColor = [styleColor  colorWithAlphaComponent:0];\n}\n\n- (void)navBarState\n{\n    UIButton *sousuBT = (UIButton *)[_navBarView viewWithTag:1];\n     UIButton *collectBT = (UIButton *)[_navBarView viewWithTag:2];\n    UIButton *moreBT = (UIButton *)[_navBarView viewWithTag:3];\n    CGFloat startLoc = self.width-37*3-5;\n    [UIView animateWithDuration:0.1 animations:^{\n        _searchLab.textColor = [kColor_GrayColor colorWithAlphaComponent:0];\n    }];\n    \n    [UIView animateWithDuration:0.3 animations:^{\n        self.navBarView.backgroundColor = [styleColor  colorWithAlphaComponent:0];\n        sousuBT.frame = CGRectMake(startLoc, 20+kDefaultNavBar_SubView_MinY+5, 37, 34);\n        sousuBT.imageEdgeInsets = UIEdgeInsetsMake(0, 0, 0, 0);\n        _searchView.mj_x = sousuBT.mj_x;\n        _searchLab.mj_x = 30;\n        _searchView.backgroundColor = [UIColorFromRGB(0xF4F4F4) colorWithAlphaComponent:0];\n        _searchView.mj_w =  37;\n        [sousuBT   setImage:kImage_Name(@\"sousuo_white\") forState:UIControlStateNormal];\n        [moreBT setImage:kImage_Name(@\"more_white\")   forState:UIControlStateNormal];\n        [collectBT setImage:kImage_Name(@\"collect_white\")   forState:UIControlStateNormal];\n        if (_isCollect) {\n            //已经收藏\n            [collectBT setImage:kImage_Name(@\"Already collected\")   forState:UIControlStateNormal];\n        }\n    } completion:^(BOOL finished) {\n        [UIApplication sharedApplication].statusBarStyle = UIStatusBarStyleLightContent;\n    }];\n}\n\n#pragma mark -  [店铺详情]\n//根据容器ID,获取对应的源ID\n-(void)requestGetProductGroupInfo_new {\n\n    NSDictionary *dataDict = [NSDictionary dictionaryWithContentsOfFile:[[NSBundle mainBundle] pathForResource:@\"shop.json\" ofType:nil]];\n    [self analysisData:dataDict];\n    \n}\n\n- (void)analysisData:(NSDictionary *)dic\n{\n    /*\n     #define maxOffsetY (200 + 48 - kDefaultNavBarHeight)\n     #define maxOffsetY2 (200 + 48 - kDefaultNavBarHeight - 28)\n     */\n    _shopModel = [[NewShopModel alloc]initWithDictionary:dic error:nil];\n    NSArray *activityList = _shopModel.activityList;\n    if (activityList.count > 0) {\n        _maxOffset_Y = (Size(150) + 48 - kDefaultNavBarHeight);\n        _startChange_Y = 21 + 28;\n    }else{\n        _maxOffset_Y = (Size(150) + 48 - kDefaultNavBarHeight - 28);\n        _startChange_Y = 21;\n    }\n    _isCollect = [_shopModel.isCollection integerValue];\n    [self setHeaderView];//顶部视图\n    [self setShopInfoView];//店铺信息视图\n    [self createDeatailInfoView]; //优惠券、满减活动等信息视图\n    [self setBottomView];//认证、店铺评分\n    [self setActivityView];//店铺照片下面的满减活动视图\n    [self createMoveUpView];//点击按钮弹出滚动视图\n    [self setUpNavBarView];//创建导航栏\n    //创建滚动视图\n    [self addSubview:self.productListView];\n}\n\n#pragma mark 手势 多个手势共存\n- (BOOL)gestureRecognizer:(UIGestureRecognizer *)gestureRecognizer shouldRecognizeSimultaneouslyWithGestureRecognizer:(UIGestureRecognizer *)otherGestureRecognizer {\n    return YES;\n}\n\n@end\n"
  },
  {
    "path": "CKMeiTuanShopView/CKMeiTuanShopView/ThridParty/FXBlurView/FXBlurView.h",
    "content": "//\n//  FXBlurView.h\n//\n//  Version 1.6.4\n//\n//  Created by Nick Lockwood on 25/08/2013.\n//  Copyright (c) 2013 Charcoal Design\n//\n//  Distributed under the permissive zlib License\n//  Get the latest version from here:\n//\n//  https://github.com/nicklockwood/FXBlurView\n//\n//  This software is provided 'as-is', without any express or implied\n//  warranty.  In no event will the authors be held liable for any damages\n//  arising from the use of this software.\n//\n//  Permission is granted to anyone to use this software for any purpose,\n//  including commercial applications, and to alter it and redistribute it\n//  freely, subject to the following restrictions:\n//\n//  1. The origin of this software must not be misrepresented; you must not\n//  claim that you wrote the original software. If you use this software\n//  in a product, an acknowledgment in the product documentation would be\n//  appreciated but is not required.\n//\n//  2. Altered source versions must be plainly marked as such, and must not be\n//  misrepresented as being the original software.\n//\n//  3. This notice may not be removed or altered from any source distribution.\n//\n\n\n#import <UIKit/UIKit.h>\n#import <QuartzCore/QuartzCore.h>\n#import <Accelerate/Accelerate.h>\n\n\n#pragma GCC diagnostic push\n#pragma GCC diagnostic ignored \"-Wobjc-missing-property-synthesis\"\n\n\n#import <Availability.h>\n#undef weak_ref\n#if __has_feature(objc_arc) && __has_feature(objc_arc_weak)\n#define weak_ref weak\n#else\n#define weak_ref unsafe_unretained\n#endif\n\n\n@interface UIImage (FXBlurView)\n\n- (UIImage *)blurredImageWithRadius:(CGFloat)radius iterations:(NSUInteger)iterations tintColor:(UIColor *)tintColor;\n\n@end\n\n\n@interface FXBlurView : UIView\n\n+ (void)setBlurEnabled:(BOOL)blurEnabled;\n+ (void)setUpdatesEnabled;\n+ (void)setUpdatesDisabled;\n\n@property (nonatomic, getter = isBlurEnabled) BOOL blurEnabled;\n@property (nonatomic, getter = isDynamic) BOOL dynamic;\n@property (nonatomic, assign) NSUInteger iterations;\n@property (nonatomic, assign) NSTimeInterval updateInterval;\n@property (nonatomic, assign) CGFloat blurRadius;\n@property (nonatomic, strong) UIColor *tintColor;\n@property (nonatomic, weak_ref) IBOutlet UIView *underlyingView;\n\n- (void)updateAsynchronously:(BOOL)async completion:(void (^)())completion;\n\n- (void)clearImage;\n\n@end\n\n\n#pragma GCC diagnostic pop\n\n"
  },
  {
    "path": "CKMeiTuanShopView/CKMeiTuanShopView/ThridParty/FXBlurView/FXBlurView.m",
    "content": "//\n//  FXBlurView.m\n//\n//  Version 1.6.4\n//\n//  Created by Nick Lockwood on 25/08/2013.\n//  Copyright (c) 2013 Charcoal Design\n//\n//  Distributed under the permissive zlib License\n//  Get the latest version from here:\n//\n//  https://github.com/nicklockwood/FXBlurView\n//\n//  This software is provided 'as-is', without any express or implied\n//  warranty.  In no event will the authors be held liable for any damages\n//  arising from the use of this software.\n//\n//  Permission is granted to anyone to use this software for any purpose,\n//  including commercial applications, and to alter it and redistribute it\n//  freely, subject to the following restrictions:\n//\n//  1. The origin of this software must not be misrepresented; you must not\n//  claim that you wrote the original software. If you use this software\n//  in a product, an acknowledgment in the product documentation would be\n//  appreciated but is not required.\n//\n//  2. Altered source versions must be plainly marked as such, and must not be\n//  misrepresented as being the original software.\n//\n//  3. This notice may not be removed or altered from any source distribution.\n//\n\n\n#import \"FXBlurView.h\"\n#import <objc/runtime.h>\n\n\n#pragma GCC diagnostic ignored \"-Wobjc-missing-property-synthesis\"\n#pragma GCC diagnostic ignored \"-Wdirect-ivar-access\"\n#pragma GCC diagnostic ignored \"-Wgnu\"\n\n\n#import <Availability.h>\n#if !__has_feature(objc_arc)\n#error This class requires automatic reference counting\n#endif\n\n\n@implementation UIImage (FXBlurView)\n\n- (UIImage *)blurredImageWithRadius:(CGFloat)radius iterations:(NSUInteger)iterations tintColor:(UIColor *)tintColor\n{\n    //image must be nonzero size\n    if (floorf(self.size.width) * floorf(self.size.height) <= 0.0f) return self;\n\n    //boxsize must be an odd integer\n    uint32_t boxSize = (uint32_t)(radius * self.scale);\n    if (boxSize % 2 == 0) boxSize ++;\n\n    //create image buffers\n    CGImageRef imageRef = self.CGImage;\n\n    //convert to ARGB if it isn't\n    if (CGImageGetBitsPerPixel(imageRef) != 32 ||\n        CGImageGetBitsPerComponent(imageRef) != 8 ||\n        !((CGImageGetBitmapInfo(imageRef) & kCGBitmapAlphaInfoMask)))\n    {\n        UIGraphicsBeginImageContextWithOptions(self.size, NO, self.scale);\n        [self drawAtPoint:CGPointZero];\n        imageRef = UIGraphicsGetImageFromCurrentImageContext().CGImage;\n        UIGraphicsEndImageContext();\n    }\n\n    vImage_Buffer buffer1, buffer2;\n    buffer1.width = buffer2.width = CGImageGetWidth(imageRef);\n    buffer1.height = buffer2.height = CGImageGetHeight(imageRef);\n    buffer1.rowBytes = buffer2.rowBytes = CGImageGetBytesPerRow(imageRef);\n    size_t bytes = buffer1.rowBytes * buffer1.height;\n    buffer1.data = malloc(bytes);\n    buffer2.data = malloc(bytes);\n  \n    if (NULL == buffer1.data || NULL == buffer2.data) \n    {\n        free(buffer1.data);\n        free(buffer2.data);\n        return self;\n    }\n\n    //create temp buffer\n    void *tempBuffer = malloc((size_t)vImageBoxConvolve_ARGB8888(&buffer1, &buffer2, NULL, 0, 0, boxSize, boxSize,\n                                                                 NULL, kvImageEdgeExtend + kvImageGetTempBufferSize));\n\n    //copy image data\n    CGDataProviderRef provider = CGImageGetDataProvider(imageRef);\n    CFDataRef dataSource = CGDataProviderCopyData(provider);\n    if (NULL == dataSource) \n    {\n        return self;\n    }\n    const UInt8 *dataSourceData = CFDataGetBytePtr(dataSource);\n    CFIndex dataSourceLength = CFDataGetLength(dataSource);\n    memcpy(buffer1.data, dataSourceData, MIN(bytes, dataSourceLength));\n    CFRelease(dataSource);\n\n    for (NSUInteger i = 0; i < iterations; i++)\n    {\n        //perform blur\n        vImageBoxConvolve_ARGB8888(&buffer1, &buffer2, tempBuffer, 0, 0, boxSize, boxSize, NULL, kvImageEdgeExtend);\n\n        //swap buffers\n        void *temp = buffer1.data;\n        buffer1.data = buffer2.data;\n        buffer2.data = temp;\n    }\n\n    //free buffers\n    free(buffer2.data);\n    free(tempBuffer);\n\n    //create image context from buffer\n    CGContextRef ctx = CGBitmapContextCreate(buffer1.data, buffer1.width, buffer1.height,\n                                             8, buffer1.rowBytes, CGImageGetColorSpace(imageRef),\n                                             CGImageGetBitmapInfo(imageRef));\n\n    //apply tint\n    if (tintColor && CGColorGetAlpha(tintColor.CGColor) > 0.0f)\n    {\n        CGContextSetFillColorWithColor(ctx, [tintColor colorWithAlphaComponent:0.25].CGColor);\n        CGContextSetBlendMode(ctx, kCGBlendModePlusLighter);\n        CGContextFillRect(ctx, CGRectMake(0, 0, buffer1.width, buffer1.height));\n    }\n\n    //create image from context\n    imageRef = CGBitmapContextCreateImage(ctx);\n    UIImage *image = [UIImage imageWithCGImage:imageRef scale:self.scale orientation:self.imageOrientation];\n    CGImageRelease(imageRef);\n    CGContextRelease(ctx);\n    free(buffer1.data);\n    return image;\n}\n\n@end\n\n\n@interface FXBlurScheduler : NSObject\n\n@property (nonatomic, strong) NSMutableArray *views;\n@property (nonatomic, assign) NSUInteger viewIndex;\n@property (nonatomic, assign) NSUInteger updatesEnabled;\n@property (nonatomic, assign) BOOL blurEnabled;\n@property (nonatomic, assign) BOOL updating;\n\n@end\n\n\n@interface FXBlurLayer: CALayer\n\n@property (nonatomic, assign) CGFloat blurRadius;\n\n@end\n\n\n@implementation FXBlurLayer\n\n@dynamic blurRadius;\n\n+ (BOOL)needsDisplayForKey:(NSString *)key\n{\n    if ([@[@\"blurRadius\", @\"bounds\", @\"position\"] containsObject:key])\n    {\n        return YES;\n    }\n    return [super needsDisplayForKey:key];\n}\n\n@end\n\n\n@interface FXBlurView ()\n\n@property (nonatomic, assign) BOOL iterationsSet;\n@property (nonatomic, assign) BOOL blurRadiusSet;\n@property (nonatomic, assign) BOOL dynamicSet;\n@property (nonatomic, assign) BOOL blurEnabledSet;\n@property (nonatomic, strong) NSDate *lastUpdate;\n@property (nonatomic, assign) BOOL needsDrawViewHierarchy;\n\n- (UIImage *)snapshotOfUnderlyingView;\n- (BOOL)shouldUpdate;\n\n@end\n\n\n@implementation FXBlurScheduler\n\n+ (instancetype)sharedInstance\n{\n    static FXBlurScheduler *sharedInstance = nil;\n    if (!sharedInstance)\n    {\n        sharedInstance = [[FXBlurScheduler alloc] init];\n    }\n    return sharedInstance;\n}\n\n- (instancetype)init\n{\n    if ((self = [super init]))\n    {\n        _updatesEnabled = 1;\n        _blurEnabled = YES;\n        _views = [[NSMutableArray alloc] init];\n    }\n    return self;\n}\n\n- (void)setBlurEnabled:(BOOL)blurEnabled\n{\n    _blurEnabled = blurEnabled;\n    if (blurEnabled)\n    {\n        for (FXBlurView *view in self.views)\n        {\n            [view setNeedsDisplay];\n        }\n        [self updateAsynchronously];\n    }\n}\n\n- (void)setUpdatesEnabled\n{\n    _updatesEnabled ++;\n    [self updateAsynchronously];\n}\n\n- (void)setUpdatesDisabled\n{\n    _updatesEnabled --;\n}\n\n- (void)addView:(FXBlurView *)view\n{\n    if (![self.views containsObject:view])\n    {\n        [self.views addObject:view];\n        [self updateAsynchronously];\n    }\n}\n\n- (void)removeView:(FXBlurView *)view\n{\n    NSUInteger index = [self.views indexOfObject:view];\n    if (index != NSNotFound)\n    {\n        if (index <= self.viewIndex)\n        {\n            self.viewIndex --;\n        }\n        [self.views removeObjectAtIndex:index];\n    }\n}\n\n- (void)updateAsynchronously\n{\n    if (self.blurEnabled && !self.updating && self.updatesEnabled > 0 && [self.views count])\n    {\n        NSTimeInterval timeUntilNextUpdate = 1.0 / 60;\n\n        //loop through until we find a view that's ready to be drawn\n        self.viewIndex = self.viewIndex % [self.views count];\n        for (NSUInteger i = self.viewIndex; i < [self.views count]; i++)\n        {\n            FXBlurView *view = self.views[i];\n            if (view.dynamic && !view.hidden && view.window && [view shouldUpdate])\n            {\n                NSTimeInterval nextUpdate = [view.lastUpdate timeIntervalSinceNow] + view.updateInterval;\n                if (!view.lastUpdate || nextUpdate <= 0)\n                {\n                    self.updating = YES;\n                    [view updateAsynchronously:YES completion:^{\n\n                        //render next view\n                        self.updating = NO;\n                        self.viewIndex = i + 1;\n                        [self updateAsynchronously];\n                    }];\n                    return;\n                }\n                else\n                {\n                    timeUntilNextUpdate = MIN(timeUntilNextUpdate, nextUpdate);\n                }\n            }\n        }\n\n        //try again, delaying until the time when the next view needs an update.\n        self.viewIndex = 0;\n        [self performSelector:@selector(updateAsynchronously)\n                   withObject:nil\n                   afterDelay:timeUntilNextUpdate\n                      inModes:@[NSDefaultRunLoopMode, UITrackingRunLoopMode]];\n    }\n}\n\n@end\n\n\n@implementation FXBlurView\n\n@synthesize underlyingView = _underlyingView;\n\n+ (void)setBlurEnabled:(BOOL)blurEnabled\n{\n    [FXBlurScheduler sharedInstance].blurEnabled = blurEnabled;\n}\n\n+ (void)setUpdatesEnabled\n{\n    [[FXBlurScheduler sharedInstance] setUpdatesEnabled];\n}\n\n+ (void)setUpdatesDisabled\n{\n    [[FXBlurScheduler sharedInstance] setUpdatesDisabled];\n}\n\n+ (Class)layerClass\n{\n    return [FXBlurLayer class];\n}\n\n- (void)setUp\n{\n    if (!_iterationsSet) _iterations = 3;\n    if (!_blurRadiusSet) [self blurLayer].blurRadius = 40;\n    if (!_dynamicSet) _dynamic = YES;\n    if (!_blurEnabledSet) _blurEnabled = YES;\n    self.updateInterval = _updateInterval;\n    self.layer.magnificationFilter = @\"linear\"; // kCAFilterLinear\n\n    unsigned int numberOfMethods;\n    Method *methods = class_copyMethodList([UIView class], &numberOfMethods);\n    for (unsigned int i = 0; i < numberOfMethods; i++)\n    {\n        Method method = methods[i];\n        SEL selector = method_getName(method);\n        if (selector == @selector(tintColor))\n        {\n            _tintColor = ((id (*)(id,SEL))method_getImplementation(method))(self, selector);\n            break;\n        }\n    }\n    free(methods);\n\n}\n\n- (id)initWithFrame:(CGRect)frame\n{\n    if ((self = [super initWithFrame:frame]))\n    {\n        [self setUp];\n        self.clipsToBounds = YES;\n    }\n    return self;\n}\n\n- (id)initWithCoder:(NSCoder *)aDecoder\n{\n    if ((self = [super initWithCoder:aDecoder]))\n    {\n        [self setUp];\n    }\n    return self;\n}\n\n- (void)dealloc\n{\n    [[NSNotificationCenter defaultCenter] removeObserver:self];\n}\n\n\n- (BOOL)viewOrSubviewNeedsDrawViewHierarchy:(UIView *)view\n{\n    if ([view isKindOfClass:NSClassFromString(@\"SKView\")] ||\n        [view.layer isKindOfClass:NSClassFromString(@\"CAEAGLLayer\")] ||\n        [view.layer isKindOfClass:NSClassFromString(@\"AVPlayerLayer\")] ||\n        ABS(view.layer.transform.m34) > 0)\n    {\n        return YES;\n    }\n    for (UIView *subview in view.subviews)\n    {\n        if ([self viewOrSubviewNeedsDrawViewHierarchy:subview])\n        {\n            return YES;\n        }\n    }\n    return  NO;\n}\n\n- (void)willMoveToSuperview:(UIView *)newSuperview\n{\n    [super willMoveToSuperview:newSuperview];\n    if (!_underlyingView)\n    {\n        _needsDrawViewHierarchy = [self viewOrSubviewNeedsDrawViewHierarchy:newSuperview];\n    }\n}\n\n- (void)setIterations:(NSUInteger)iterations\n{\n    _iterationsSet = YES;\n    _iterations = iterations;\n    [self setNeedsDisplay];\n}\n\n- (void)setBlurRadius:(CGFloat)blurRadius\n{\n    _blurRadiusSet = YES;\n    [self blurLayer].blurRadius = blurRadius;\n}\n\n- (CGFloat)blurRadius\n{\n    return [self blurLayer].blurRadius;\n}\n\n- (void)setBlurEnabled:(BOOL)blurEnabled\n{\n    _blurEnabledSet = YES;\n    if (_blurEnabled != blurEnabled)\n    {\n        _blurEnabled = blurEnabled;\n        [self schedule];\n        if (_blurEnabled)\n        {\n            [self setNeedsDisplay];\n        }\n    }\n}\n\n- (void)setDynamic:(BOOL)dynamic\n{\n    _dynamicSet = YES;\n    if (_dynamic != dynamic)\n    {\n        _dynamic = dynamic;\n        [self schedule];\n        if (!dynamic)\n        {\n            [self setNeedsDisplay];\n        }\n    }\n}\n\n- (UIView *)underlyingView\n{\n    return _underlyingView ?: self.superview;\n}\n\n- (void)setUnderlyingView:(UIView *)underlyingView\n{\n    _underlyingView = underlyingView;\n    _needsDrawViewHierarchy = [self viewOrSubviewNeedsDrawViewHierarchy:self.underlyingView];\n    [self setNeedsDisplay];\n}\n\n- (CALayer *)underlyingLayer\n{\n    return self.underlyingView.layer;\n}\n\n- (FXBlurLayer *)blurLayer\n{\n    return (FXBlurLayer *)self.layer;\n}\n\n- (FXBlurLayer *)blurPresentationLayer\n{\n    FXBlurLayer *blurLayer = [self blurLayer];\n    return (FXBlurLayer *)blurLayer.presentationLayer ?: blurLayer;\n}\n\n- (void)setUpdateInterval:(NSTimeInterval)updateInterval\n{\n    _updateInterval = updateInterval;\n    if (_updateInterval <= 0) _updateInterval = 1.0/60;\n}\n\n- (void)setTintColor:(UIColor *)tintColor\n{\n    _tintColor = tintColor;\n    [self setNeedsDisplay];\n}\n\n- (void)clearImage {\n    self.layer.contents = nil;\n    [self setNeedsDisplay];\n}\n\n- (void)didMoveToSuperview\n{\n    [super didMoveToSuperview];\n    [self.layer setNeedsDisplay];\n}\n\n- (void)didMoveToWindow\n{\n    [super didMoveToWindow];\n    [self schedule];\n}\n\n- (void)schedule\n{\n    if (self.window && self.dynamic && self.blurEnabled)\n    {\n        [[FXBlurScheduler sharedInstance] addView:self];\n    }\n    else\n    {\n        [[FXBlurScheduler sharedInstance] removeView:self];\n    }\n}\n\n- (void)setNeedsDisplay\n{\n    [super setNeedsDisplay];\n    [self.layer setNeedsDisplay];\n}\n\n- (BOOL)shouldUpdate\n{\n    __strong CALayer *underlyingLayer = [self underlyingLayer];\n\n    return\n    underlyingLayer && !underlyingLayer.hidden &&\n    self.blurEnabled && [FXBlurScheduler sharedInstance].blurEnabled &&\n    !CGRectIsEmpty([self.layer.presentationLayer ?: self.layer bounds]) && !CGRectIsEmpty(underlyingLayer.bounds);\n}\n\n- (void)displayLayer:(__unused CALayer *)layer\n{\n    [self updateAsynchronously:NO completion:NULL];\n}\n\n- (id<CAAction>)actionForLayer:(CALayer *)layer forKey:(NSString *)key\n{\n    if ([key isEqualToString:@\"blurRadius\"])\n    {\n        //animations are enabled\n        CAAnimation *action = (CAAnimation *)[super actionForLayer:layer forKey:@\"backgroundColor\"];\n        if ((NSNull *)action != [NSNull null])\n        {\n            CABasicAnimation *animation = [CABasicAnimation animationWithKeyPath:key];\n            animation.fromValue = [layer.presentationLayer valueForKey:key];\n\n            //CAMediatiming attributes\n            animation.beginTime = action.beginTime;\n            animation.duration = action.duration;\n            animation.speed = action.speed;\n            animation.timeOffset = action.timeOffset;\n            animation.repeatCount = action.repeatCount;\n            animation.repeatDuration = action.repeatDuration;\n            animation.autoreverses = action.autoreverses;\n            animation.fillMode = action.fillMode;\n\n            //CAAnimation attributes\n            animation.timingFunction = action.timingFunction;\n            animation.delegate = action.delegate;\n\n            return animation;\n        }\n    }\n    return [super actionForLayer:layer forKey:key];\n}\n\n- (UIImage *)snapshotOfUnderlyingView\n{\n    __strong FXBlurLayer *blurLayer = [self blurPresentationLayer];\n    __strong CALayer *underlyingLayer = [self underlyingLayer];\n    CGRect bounds = [blurLayer convertRect:blurLayer.bounds toLayer:underlyingLayer];\n\n    self.lastUpdate = [NSDate date];\n    CGFloat scale = 0.5;\n    if (self.iterations)\n    {\n        CGFloat blockSize = 12.0/self.iterations;\n        scale = blockSize/MAX(blockSize * 2, blurLayer.blurRadius);\n        scale = 1.0/floor(1.0/scale);\n    }\n    CGSize size = bounds.size;\n    if (self.contentMode == UIViewContentModeScaleToFill ||\n        self.contentMode == UIViewContentModeScaleAspectFill ||\n        self.contentMode == UIViewContentModeScaleAspectFit ||\n        self.contentMode == UIViewContentModeRedraw)\n    {\n        //prevents edge artefacts\n        size.width = floor(size.width * scale) / scale;\n        size.height = floor(size.height * scale) / scale;\n    }\n    else if ([[UIDevice currentDevice].systemVersion floatValue] < 7.0 && [UIScreen mainScreen].scale == 1.0)\n    {\n        //prevents pixelation on old devices\n        scale = 1.0;\n    }\n    UIGraphicsBeginImageContextWithOptions(size, NO, scale);\n    CGContextRef context = UIGraphicsGetCurrentContext();\n    if (context)\n    {\n        CGContextTranslateCTM(context, -bounds.origin.x, -bounds.origin.y);\n\n        NSArray *hiddenViews = [self prepareUnderlyingViewForSnapshot];\n        if (self.needsDrawViewHierarchy)\n        {\n            __strong UIView *underlyingView = self.underlyingView;\n            [underlyingView drawViewHierarchyInRect:underlyingView.bounds afterScreenUpdates:YES];\n        }\n        else\n        {\n            [underlyingLayer renderInContext:context];\n        }\n        [self restoreSuperviewAfterSnapshot:hiddenViews];\n        UIImage *snapshot = UIGraphicsGetImageFromCurrentImageContext();\n        UIGraphicsEndImageContext();\n        return snapshot;\n    }\n    return nil;\n}\n\n- (NSArray *)hideEmptyLayers:(CALayer *)layer\n{\n    NSMutableArray *layers = [NSMutableArray array];\n    if (CGRectIsEmpty(layer.bounds) && !layer.isHidden)\n    {\n        layer.hidden = YES;\n        [layers addObject:layer];\n    }\n    for (CALayer *sublayer in layer.sublayers)\n    {\n        [layers addObjectsFromArray:[self hideEmptyLayers:sublayer]];\n    }\n    return layers;\n}\n\n- (NSArray *)prepareUnderlyingViewForSnapshot\n{\n    __strong CALayer *blurlayer = [self blurLayer];\n    __strong CALayer *underlyingLayer = [self underlyingLayer];\n    while (blurlayer.superlayer && blurlayer.superlayer != underlyingLayer)\n    {\n        blurlayer = blurlayer.superlayer;\n    }\n    NSMutableArray *layers = [NSMutableArray array];\n    NSUInteger index = [underlyingLayer.sublayers indexOfObject:blurlayer];\n    if (index != NSNotFound)\n    {\n        for (NSUInteger i = index; i < [underlyingLayer.sublayers count]; i++)\n        {\n            CALayer *layer = underlyingLayer.sublayers[i];\n            if (!layer.hidden)\n            {\n                layer.hidden = YES;\n                [layers addObject:layer];\n            }\n        }\n    }\n\n    //also hide any sublayers with empty bounds to prevent a crash on iOS 8\n    [layers addObjectsFromArray:[self hideEmptyLayers:underlyingLayer]];\n\n    return layers;\n}\n\n- (void)restoreSuperviewAfterSnapshot:(NSArray *)hiddenLayers\n{\n    for (CALayer *layer in hiddenLayers)\n    {\n        layer.hidden = NO;\n    }\n}\n\n- (UIImage *)blurredSnapshot:(UIImage *)snapshot radius:(CGFloat)blurRadius\n{\n    return [snapshot blurredImageWithRadius:blurRadius\n                                 iterations:self.iterations\n                                  tintColor:self.tintColor];\n}\n\n- (void)setLayerContents:(UIImage *)image\n{\n    self.layer.contents = (id)image.CGImage;\n    self.layer.contentsScale = image.scale;\n}\n\n- (void)updateAsynchronously:(BOOL)async completion:(void (^)())completion\n{\n    if ([self shouldUpdate])\n    {\n        UIImage *snapshot = [self snapshotOfUnderlyingView];\n        if (async)\n        {\n            dispatch_async(dispatch_get_global_queue(DISPATCH_QUEUE_PRIORITY_DEFAULT, 0), ^{\n\n                UIImage *blurredImage = [self blurredSnapshot:snapshot radius:self.blurRadius];\n                dispatch_sync(dispatch_get_main_queue(), ^{\n\n                    [self setLayerContents:blurredImage];\n                    if (completion) completion();\n                });\n            });\n        }\n        else\n        {\n            [self setLayerContents:[self blurredSnapshot:snapshot radius:[self blurPresentationLayer].blurRadius]];\n            if (completion) completion();\n        }\n    }\n    else if (completion)\n    {\n        completion();\n    }\n}\n\n@end\n"
  },
  {
    "path": "CKMeiTuanShopView/CKMeiTuanShopView/ThridParty/SDPhotoBrowser/SDBrowserImageView.h",
    "content": "//\n//  SDBrowserImageView.h\n//  SDPhotoBrowser\n//\n//  Created by aier on 15-2-6.\n//  Copyright (c) 2015年 GSD. All rights reserved.\n//\n\n#import <UIKit/UIKit.h>\n#import \"SDWaitingView.h\"\n\n\n@interface SDBrowserImageView : UIImageView <UIGestureRecognizerDelegate>\n\n@property (nonatomic, assign) CGFloat progress;\n@property (nonatomic, assign, readonly) BOOL isScaled;\n@property (nonatomic, assign) BOOL hasLoadedImage;\n\n- (void)eliminateScale; // 清除缩放\n\n- (void)setImageWithURL:(NSURL *)url placeholderImage:(UIImage *)placeholder;\n\n- (void)doubleTapToZommWithScale:(CGFloat)scale;\n\n- (void)clear;\n\n@end\n"
  },
  {
    "path": "CKMeiTuanShopView/CKMeiTuanShopView/ThridParty/SDPhotoBrowser/SDBrowserImageView.m",
    "content": "//\n//  SDBrowserImageView.m\n//  SDPhotoBrowser\n//\n//  Created by aier on 15-2-6.\n//  Copyright (c) 2015年 GSD. All rights reserved.\n//\n\n#import \"SDBrowserImageView.h\"\n#import \"UIImageView+WebCache.h\"\n#import \"SDPhotoBrowserConfig.h\"\n\n@implementation SDBrowserImageView\n{\n    __weak SDWaitingView *_waitingView;\n    BOOL _didCheckSize;\n    UIScrollView *_scroll;\n    UIImageView *_scrollImageView;\n    UIScrollView *_zoomingScroolView;\n    UIImageView *_zoomingImageView;\n    CGFloat _totalScale;\n}\n\n\n- (id)initWithFrame:(CGRect)frame\n{\n    self = [super initWithFrame:frame];\n    if (self) {\n        self.userInteractionEnabled = YES;\n        self.contentMode = UIViewContentModeScaleAspectFit;\n        _totalScale = 1.0;\n        \n        // 捏合手势缩放图片\n        UIPinchGestureRecognizer *pinch = [[UIPinchGestureRecognizer alloc] initWithTarget:self action:@selector(zoomImage:)];\n        pinch.delegate = self;\n        [self addGestureRecognizer:pinch];\n        \n\n    \n    }\n    return self;\n}\n\n- (BOOL)isScaled\n{\n    return  1.0 != _totalScale;\n}\n\n- (void)layoutSubviews\n{\n    [super layoutSubviews];\n    _waitingView.center = CGPointMake(self.frame.size.width * 0.5, self.frame.size.height * 0.5);\n    \n    CGSize imageSize = self.image.size;\n    \n    if (self.bounds.size.width * (imageSize.height / imageSize.width) > self.bounds.size.height) {\n        if (!_scroll) {\n            UIScrollView *scroll = [[UIScrollView alloc] init];\n            scroll.backgroundColor = [UIColor whiteColor];\n            UIImageView *imageView = [[UIImageView alloc] init];\n            imageView.image = self.image;\n            _scrollImageView = imageView;\n            [scroll addSubview:imageView];\n            scroll.backgroundColor = SDPhotoBrowserBackgrounColor;\n            _scroll = scroll;\n            [self addSubview:scroll];\n            if (_waitingView) {\n                [self bringSubviewToFront:_waitingView];\n            }\n        }\n        _scroll.frame = self.bounds;\n\n        CGFloat imageViewH = self.bounds.size.width * (imageSize.height / imageSize.width);\n\n        _scrollImageView.bounds = CGRectMake(0, 0, _scroll.frame.size.width, imageViewH);\n        _scrollImageView.center = CGPointMake(_scroll.frame.size.width * 0.5, _scrollImageView.frame.size.height * 0.5);\n        _scroll.contentSize = CGSizeMake(0, _scrollImageView.bounds.size.height);\n        \n    } else {\n        if (_scroll) [_scroll removeFromSuperview]; // 防止旋转时适配的scrollView的影响\n    }\n    \n}\n\n\n\n- (void)setProgress:(CGFloat)progress\n{\n    _progress = progress;\n    _waitingView.progress = progress;\n\n}\n\n- (void)setImageWithURL:(NSURL *)url placeholderImage:(UIImage *)placeholder\n{\n    SDWaitingView *waiting = [[SDWaitingView alloc] init];\n    waiting.bounds = CGRectMake(0, 0, 100, 100);\n    waiting.mode = SDWaitingViewProgressMode;\n    _waitingView = waiting;\n    [self addSubview:waiting];\n    \n    \n    __weak SDBrowserImageView *imageViewWeak = self;\n    [self sd_setImageWithURL:url placeholderImage:placeholder options:SDWebImageRetryFailed progress:^(NSInteger receivedSize, NSInteger expectedSize, NSURL * _Nullable targetURL) {\n        imageViewWeak.progress = (CGFloat)receivedSize / expectedSize;\n        \n    } completed:^(UIImage *image, NSError *error, SDImageCacheType cacheType, NSURL *imageURL) {\n        [imageViewWeak removeWaitingView];\n        \n        \n        if (error) {\n            UILabel *label = [[UILabel alloc] init];\n            label.bounds = CGRectMake(0, 0, 160, 30);\n            label.center = CGPointMake(imageViewWeak.bounds.size.width * 0.5, imageViewWeak.bounds.size.height * 0.5);\n            label.text = @\"图片加载失败\";\n            label.font = [UIFont systemFontOfSize:16];\n            label.textColor = [UIColor whiteColor];\n            label.backgroundColor = [UIColor colorWithRed:0 green:0 blue:0 alpha:0.8];\n            label.layer.cornerRadius = 5;\n            label.clipsToBounds = YES;\n            label.textAlignment = NSTextAlignmentCenter;\n            [imageViewWeak addSubview:label];\n        } else {\n            _scrollImageView.image = image;\n            [_scrollImageView setNeedsDisplay];\n        }\n   \n    }];\n}\n\n- (void)zoomImage:(UIPinchGestureRecognizer *)recognizer\n{\n    [self prepareForImageViewScaling];\n    CGFloat scale = recognizer.scale;\n    CGFloat temp = _totalScale + (scale - 1);\n    [self setTotalScale:temp];\n    recognizer.scale = 1.0;\n}\n\n- (void)setTotalScale:(CGFloat)totalScale\n{\n    if ((_totalScale < 0.5 && totalScale < _totalScale) || (_totalScale > 2.0 && totalScale > _totalScale)) return; // 最大缩放 2倍,最小0.5倍\n    \n    [self zoomWithScale:totalScale];\n}\n\n- (void)zoomWithScale:(CGFloat)scale\n{\n    _totalScale = scale;\n    \n    _zoomingImageView.transform = CGAffineTransformMakeScale(scale, scale);\n    \n    if (scale > 1) {\n        CGFloat contentW = _zoomingImageView.frame.size.width;\n        CGFloat contentH = MAX(_zoomingImageView.frame.size.height, self.frame.size.height);\n        \n        _zoomingImageView.center = CGPointMake(contentW * 0.5, contentH * 0.5);\n        _zoomingScroolView.contentSize = CGSizeMake(contentW, contentH);\n\n        \n        CGPoint offset = _zoomingScroolView.contentOffset;\n        offset.x = (contentW - _zoomingScroolView.frame.size.width) * 0.5;\n//        offset.y = (contentH - _zoomingImageView.frame.size.height) * 0.5;\n        _zoomingScroolView.contentOffset = offset;\n        \n    } else {\n        _zoomingScroolView.contentSize = _zoomingScroolView.frame.size;\n        _zoomingScroolView.contentInset = UIEdgeInsetsMake(0, 0, 0, 0);\n        _zoomingImageView.center = _zoomingScroolView.center;\n    }\n}\n\n- (void)doubleTapToZommWithScale:(CGFloat)scale\n{\n    [self prepareForImageViewScaling];\n    [UIView animateWithDuration:0.5 animations:^{\n        [self zoomWithScale:scale];\n    } completion:^(BOOL finished) {\n        if (scale == 1) {\n            [self clear];\n        }\n    }];\n}\n\n- (void)prepareForImageViewScaling\n{\n    if (!_zoomingScroolView) {\n        _zoomingScroolView = [[UIScrollView alloc] initWithFrame:self.bounds];\n        _zoomingScroolView.backgroundColor = SDPhotoBrowserBackgrounColor;\n        _zoomingScroolView.contentSize = self.bounds.size;\n        UIImageView *zoomingImageView = [[UIImageView alloc] initWithImage:self.image];\n        CGSize imageSize = zoomingImageView.image.size;\n        CGFloat imageViewH = self.bounds.size.height;\n        if (imageSize.width > 0) {\n            imageViewH = self.bounds.size.width * (imageSize.height / imageSize.width);\n        }\n        zoomingImageView.bounds = CGRectMake(0, 0, self.bounds.size.width, imageViewH);\n        zoomingImageView.center = _zoomingScroolView.center;\n        zoomingImageView.contentMode = UIViewContentModeScaleAspectFit;\n        _zoomingImageView = zoomingImageView;\n        [_zoomingScroolView addSubview:zoomingImageView];\n        [self addSubview:_zoomingScroolView];\n    }\n}\n\n- (void)scaleImage:(CGFloat)scale\n{\n    [self prepareForImageViewScaling];\n    [self setTotalScale:scale];\n}\n\n// 清除缩放\n- (void)eliminateScale\n{\n    [self clear];\n    _totalScale = 1.0;\n}\n\n- (void)clear\n{\n    [_zoomingScroolView removeFromSuperview];\n    _zoomingScroolView = nil;\n    _zoomingImageView = nil;\n\n}\n\n- (void)removeWaitingView\n{\n    [_waitingView removeFromSuperview];\n}\n\n\n\n\n@end\n"
  },
  {
    "path": "CKMeiTuanShopView/CKMeiTuanShopView/ThridParty/SDPhotoBrowser/SDPhotoBrowser.h",
    "content": "//\n//  SDPhotoBrowser.h\n//  photobrowser\n//\n//  Created by aier on 15-2-3.\n//  Copyright (c) 2015年 aier. All rights reserved.\n//\n\n#import <UIKit/UIKit.h>\n\n\n@class SDButton, SDPhotoBrowser;\n\n@protocol SDPhotoBrowserDelegate <NSObject>\n\n@required\n\n- (UIImage *)photoBrowser:(SDPhotoBrowser *)browser placeholderImageForIndex:(NSInteger)index;\n\n@optional\n\n- (NSURL *)photoBrowser:(SDPhotoBrowser *)browser highQualityImageURLForIndex:(NSInteger)index;\n\n@end\n\n\n@interface SDPhotoBrowser : UIView <UIScrollViewDelegate>\n\n@property (nonatomic, weak) UIView *sourceImagesContainerView;\n@property (nonatomic, assign) NSInteger currentImageIndex;\n@property (nonatomic, assign) NSInteger imageCount;\n\n@property (nonatomic, weak) id<SDPhotoBrowserDelegate> delegate;\n\n- (void)show;\n\n@end\n"
  },
  {
    "path": "CKMeiTuanShopView/CKMeiTuanShopView/ThridParty/SDPhotoBrowser/SDPhotoBrowser.m",
    "content": "//\n//  SDPhotoBrowser.m\n//  photobrowser\n//\n//  Created by aier on 15-2-3.\n//  Copyright (c) 2015年 aier. All rights reserved.\n//\n\n#import \"SDPhotoBrowser.h\"\n#import \"UIImageView+WebCache.h\"\n#import \"SDBrowserImageView.h\"\n\n \n//  ============在这里方便配置样式相关设置===========\n\n//                      ||\n//                      ||\n//                      ||\n//                     \\\\//\n//                      \\/\n\n#import \"SDPhotoBrowserConfig.h\"\n\n//  =============================================\n\n@implementation SDPhotoBrowser \n{\n    UIScrollView *_scrollView;\n    BOOL _hasShowedFistView;\n    UILabel *_indexLabel;\n    UIButton *_saveButton;\n    UIActivityIndicatorView *_indicatorView;\n    BOOL _willDisappear;\n}\n\n- (id)initWithFrame:(CGRect)frame\n{\n    self = [super initWithFrame:frame];\n    if (self) {\n        self.backgroundColor = SDPhotoBrowserBackgrounColor;\n    }\n    return self;\n}\n\n\n- (void)didMoveToSuperview\n{\n    [self setupScrollView];\n    \n    [self setupToolbars];\n}\n\n- (void)dealloc\n{\n    [[UIApplication sharedApplication].keyWindow removeObserver:self forKeyPath:@\"frame\"];\n}\n\n- (void)setupToolbars\n{\n    // 1. 序标\n    UILabel *indexLabel = [[UILabel alloc] init];\n    indexLabel.bounds = CGRectMake(0, 0, 80, 30);\n    indexLabel.textAlignment = NSTextAlignmentCenter;\n    indexLabel.textColor = [UIColor whiteColor];\n    indexLabel.font = [UIFont boldSystemFontOfSize:20];\n    indexLabel.backgroundColor = [[UIColor blackColor] colorWithAlphaComponent:0.5];\n    indexLabel.layer.cornerRadius = indexLabel.bounds.size.height * 0.5;\n    indexLabel.clipsToBounds = YES;\n    if (self.imageCount > 1) {\n        indexLabel.text = [NSString stringWithFormat:@\"1/%ld\", (long)self.imageCount];\n    }\n    _indexLabel = indexLabel;\n    [self addSubview:indexLabel];\n    \n    // 2.保存按钮\n    UIButton *saveButton = [[UIButton alloc] init];\n    [saveButton setTitle:@\"保存\" forState:UIControlStateNormal];\n    [saveButton setTitleColor:[UIColor whiteColor] forState:UIControlStateNormal];\n    saveButton.backgroundColor = [UIColor colorWithRed:0.1f green:0.1f blue:0.1f alpha:0.90f];\n    saveButton.layer.cornerRadius = 5;\n    saveButton.clipsToBounds = YES;\n    [saveButton addTarget:self action:@selector(saveImage) forControlEvents:UIControlEventTouchUpInside];\n    _saveButton = saveButton;\n    [self addSubview:saveButton];\n}\n\n- (void)saveImage\n{\n    int index = _scrollView.contentOffset.x / _scrollView.bounds.size.width;\n    UIImageView *currentImageView = _scrollView.subviews[index];\n    \n    UIImageWriteToSavedPhotosAlbum(currentImageView.image, self, @selector(image:didFinishSavingWithError:contextInfo:), NULL);\n    \n    UIActivityIndicatorView *indicator = [[UIActivityIndicatorView alloc] init];\n    indicator.activityIndicatorViewStyle = UIActivityIndicatorViewStyleWhiteLarge;\n    indicator.center = self.center;\n    _indicatorView = indicator;\n    [[UIApplication sharedApplication].keyWindow addSubview:indicator];\n    [indicator startAnimating];\n}\n\n- (void)image:(UIImage *)image didFinishSavingWithError:(NSError *)error contextInfo:(void *)contextInfo;\n{\n    [_indicatorView removeFromSuperview];\n    \n    UILabel *label = [[UILabel alloc] init];\n    label.textColor = [UIColor whiteColor];\n    label.backgroundColor = [UIColor colorWithRed:0.1f green:0.1f blue:0.1f alpha:0.90f];\n    label.layer.cornerRadius = 5;\n    label.clipsToBounds = YES;\n    label.bounds = CGRectMake(0, 0, 150, 30);\n    label.center = self.center;\n    label.textAlignment = NSTextAlignmentCenter;\n    label.font = [UIFont boldSystemFontOfSize:17];\n    [[UIApplication sharedApplication].keyWindow addSubview:label];\n    [[UIApplication sharedApplication].keyWindow bringSubviewToFront:label];\n    if (error) {\n        label.text = SDPhotoBrowserSaveImageFailText;\n    }   else {\n        label.text = SDPhotoBrowserSaveImageSuccessText;\n    }\n    [label performSelector:@selector(removeFromSuperview) withObject:nil afterDelay:1.0];\n}\n\n- (void)setupScrollView\n{\n    _scrollView = [[UIScrollView alloc] init];\n    _scrollView.delegate = self;\n    _scrollView.showsHorizontalScrollIndicator = NO;\n    _scrollView.showsVerticalScrollIndicator = NO;\n    _scrollView.pagingEnabled = YES;\n    [self addSubview:_scrollView];\n    \n    for (int i = 0; i < self.imageCount; i++) {\n        SDBrowserImageView *imageView = [[SDBrowserImageView alloc] init];\n        imageView.tag = i;\n\n        // 单击图片\n        UITapGestureRecognizer *singleTap = [[UITapGestureRecognizer alloc] initWithTarget:self action:@selector(photoClick:)];\n        \n        // 双击放大图片\n        UITapGestureRecognizer *doubleTap = [[UITapGestureRecognizer alloc] initWithTarget:self action:@selector(imageViewDoubleTaped:)];\n        doubleTap.numberOfTapsRequired = 2;\n        \n        [singleTap requireGestureRecognizerToFail:doubleTap];\n        \n        [imageView addGestureRecognizer:singleTap];\n        [imageView addGestureRecognizer:doubleTap];\n        [_scrollView addSubview:imageView];\n    }\n    \n    [self setupImageOfImageViewForIndex:self.currentImageIndex];\n    \n}\n\n// 加载图片\n- (void)setupImageOfImageViewForIndex:(NSInteger)index\n{\n    SDBrowserImageView *imageView = _scrollView.subviews[index];\n    self.currentImageIndex = index;\n    if (imageView.hasLoadedImage) return;\n    if ([self highQualityImageURLForIndex:index]) {\n        [imageView setImageWithURL:[self highQualityImageURLForIndex:index] placeholderImage:[self placeholderImageForIndex:index]];\n    } else {\n        imageView.image = [self placeholderImageForIndex:index];\n    }\n    imageView.hasLoadedImage = YES;\n}\n\n- (void)photoClick:(UITapGestureRecognizer *)recognizer\n{\n    _scrollView.hidden = YES;\n    _willDisappear = YES;\n    \n    SDBrowserImageView *currentImageView = (SDBrowserImageView *)recognizer.view;\n    NSInteger currentIndex = currentImageView.tag;\n   \n    // ******************* 池康 修改 以 适用 UITableView 上的 Cell *******************\n    UIView *sourceView = nil;\n     CGRect targetTemp = CGRectZero;\n    if (self.sourceImagesContainerView.subviews.count == 0) {//触发的View 只 适用 UITableView 上的 Cell\n        sourceView = self.sourceImagesContainerView;\n        targetTemp = [sourceView.superview convertRect:sourceView.frame toView:self];\n    }else{\n        \n        if ([self.sourceImagesContainerView isKindOfClass:UICollectionView.class]) {\n            UICollectionView *view = (UICollectionView *)self.sourceImagesContainerView;\n            NSIndexPath *path = [NSIndexPath indexPathForItem:currentIndex inSection:0];\n            sourceView = [view cellForItemAtIndexPath:path];\n        }else {\n            sourceView = self.sourceImagesContainerView.subviews[currentIndex];\n        }\n        \n         targetTemp = [self.sourceImagesContainerView convertRect:sourceView.frame toView:self];\n        \n    }\n\n    UIImageView *tempView = [[UIImageView alloc] init];\n    tempView.contentMode = sourceView.contentMode;\n    tempView.clipsToBounds = YES;\n    tempView.image = currentImageView.image;\n    CGFloat h = (self.bounds.size.width / currentImageView.image.size.width) * currentImageView.image.size.height;\n    \n    if (!currentImageView.image) { // 防止 因imageview的image加载失败 导致 崩溃\n        h = self.bounds.size.height;\n    }\n    \n    tempView.bounds = CGRectMake(0, 0, self.bounds.size.width, h);\n    tempView.center = self.center;\n    \n    [self addSubview:tempView];\n\n    _saveButton.hidden = YES;\n    \n    [UIView animateWithDuration:SDPhotoBrowserHideImageAnimationDuration animations:^{\n        tempView.frame = targetTemp;\n        self.backgroundColor = [UIColor clearColor];\n        _indexLabel.alpha = 0.1;\n    } completion:^(BOOL finished) {\n        [self removeFromSuperview];\n    }];\n}\n\n- (void)imageViewDoubleTaped:(UITapGestureRecognizer *)recognizer\n{\n    SDBrowserImageView *imageView = (SDBrowserImageView *)recognizer.view;\n    CGFloat scale;\n    if (imageView.isScaled) {\n        scale = 1.0;\n    } else {\n        scale = 2.0;\n    }\n    \n    SDBrowserImageView *view = (SDBrowserImageView *)recognizer.view;\n\n    [view doubleTapToZommWithScale:scale];\n}\n\n- (void)layoutSubviews\n{\n    [super layoutSubviews];\n    \n    CGRect rect = self.bounds;\n    rect.size.width += SDPhotoBrowserImageViewMargin * 2;\n    \n    _scrollView.bounds = rect;\n    _scrollView.center = self.center;\n    \n    CGFloat y = 0;\n    CGFloat w = _scrollView.frame.size.width - SDPhotoBrowserImageViewMargin * 2;\n    CGFloat h = _scrollView.frame.size.height;\n    \n    \n    \n    [_scrollView.subviews enumerateObjectsUsingBlock:^(SDBrowserImageView *obj, NSUInteger idx, BOOL *stop) {\n        CGFloat x = SDPhotoBrowserImageViewMargin + idx * (SDPhotoBrowserImageViewMargin * 2 + w);\n        obj.frame = CGRectMake(x, y, w, h);\n    }];\n    \n    _scrollView.contentSize = CGSizeMake(_scrollView.subviews.count * _scrollView.frame.size.width, 0);\n    _scrollView.contentOffset = CGPointMake(self.currentImageIndex * _scrollView.frame.size.width, 0);\n    \n    \n    if (!_hasShowedFistView) {\n        [self showFirstImage];\n    }\n    \n    _indexLabel.center = CGPointMake(self.bounds.size.width * 0.5, 35);\n    _saveButton.frame = CGRectMake(30, self.bounds.size.height - 70, 50, 25);\n}\n\n- (void)show\n{\n    UIWindow *window = [UIApplication sharedApplication].keyWindow;\n    self.frame = window.bounds;\n    [window addObserver:self forKeyPath:@\"frame\" options:0 context:nil];\n    [window addSubview:self];\n}\n\n- (void)observeValueForKeyPath:(NSString *)keyPath ofObject:(UIView *)object change:(NSDictionary *)change context:(void *)context\n{\n    if ([keyPath isEqualToString:@\"frame\"]) {\n        self.frame = object.bounds;\n        SDBrowserImageView *currentImageView = _scrollView.subviews[_currentImageIndex];\n        if ([currentImageView isKindOfClass:[SDBrowserImageView class]]) {\n            [currentImageView clear];\n        }\n    }\n}\n\n- (void)showFirstImage\n{\n    // ******************* 池康 修改 以 适用 UITableView 上的 Cell *******************\n    UIView *sourceView = nil;\n    CGRect rect = CGRectZero;\n    if (self.sourceImagesContainerView.subviews.count == 0) {//触发的View 只 适用 UITableView 上的 Cell\n        sourceView = self.sourceImagesContainerView;\n        rect = [sourceView.superview convertRect:sourceView.frame toView:self];\n    }else{\n        \n        if ([self.sourceImagesContainerView isKindOfClass:UICollectionView.class]) {\n            UICollectionView *view = (UICollectionView *)self.sourceImagesContainerView;\n            NSIndexPath *path = [NSIndexPath indexPathForItem:self.currentImageIndex inSection:0];\n            sourceView = [view cellForItemAtIndexPath:path];\n        }else {\n            sourceView = self.sourceImagesContainerView.subviews[self.currentImageIndex];\n        }\n         rect = [self.sourceImagesContainerView convertRect:sourceView.frame toView:self];\n    }\n    // ******************* 池康 修改 以 适用 UITableView 上的 Cell *******************\n    \n   \n    UIImageView *tempView = [[UIImageView alloc] init];\n    tempView.image = [self placeholderImageForIndex:self.currentImageIndex];\n    \n    [self addSubview:tempView];\n    \n    CGRect targetTemp = [_scrollView.subviews[self.currentImageIndex] bounds];\n    \n    tempView.frame = rect;\n    tempView.contentMode = [_scrollView.subviews[self.currentImageIndex] contentMode];\n    _scrollView.hidden = YES;\n    \n    \n    [UIView animateWithDuration:SDPhotoBrowserShowImageAnimationDuration animations:^{\n        tempView.center = self.center;\n        tempView.bounds = (CGRect){CGPointZero, targetTemp.size};\n    } completion:^(BOOL finished) {\n        _hasShowedFistView = YES;\n        [tempView removeFromSuperview];\n        _scrollView.hidden = NO;\n    }];\n}\n\n- (UIImage *)placeholderImageForIndex:(NSInteger)index\n{\n    if ([self.delegate respondsToSelector:@selector(photoBrowser:placeholderImageForIndex:)]) {\n        return [self.delegate photoBrowser:self placeholderImageForIndex:index];\n    }\n    return nil;\n}\n\n- (NSURL *)highQualityImageURLForIndex:(NSInteger)index\n{\n    if ([self.delegate respondsToSelector:@selector(photoBrowser:highQualityImageURLForIndex:)]) {\n        return [self.delegate photoBrowser:self highQualityImageURLForIndex:index];\n    }\n    return nil;\n}\n\n#pragma mark - scrollview代理方法\n\n- (void)scrollViewDidScroll:(UIScrollView *)scrollView\n{\n    int index = (scrollView.contentOffset.x + _scrollView.bounds.size.width * 0.5) / _scrollView.bounds.size.width;\n    \n    // 有过缩放的图片在拖动一定距离后清除缩放\n    CGFloat margin = 150;\n    CGFloat x = scrollView.contentOffset.x;\n    if ((x - index * self.bounds.size.width) > margin || (x - index * self.bounds.size.width) < - margin) {\n        SDBrowserImageView *imageView = _scrollView.subviews[index];\n        if (imageView.isScaled) {\n            [UIView animateWithDuration:0.5 animations:^{\n                imageView.transform = CGAffineTransformIdentity;\n            } completion:^(BOOL finished) {\n                [imageView eliminateScale];\n            }];\n        }\n    }\n    \n    \n    if (!_willDisappear) {\n        _indexLabel.text = [NSString stringWithFormat:@\"%d/%ld\", index + 1, (long)self.imageCount];\n    }\n    [self setupImageOfImageViewForIndex:index];\n}\n\n\n\n@end\n"
  },
  {
    "path": "CKMeiTuanShopView/CKMeiTuanShopView/ThridParty/SDPhotoBrowser/SDPhotoBrowserConfig.h",
    "content": "//\n//  SDPhotoBrowserConfig.h\n//  SDPhotoBrowser\n//\n//  Created by aier on 15-2-9.\n//  Copyright (c) 2015年 GSD. All rights reserved.\n//\n\n\ntypedef enum {\n    SDWaitingViewModeLoopDiagram, // 环形\n    SDWaitingViewModePieDiagram // 饼型\n} SDWaitingViewMode;\n\n// 图片保存成功提示文字\n#define SDPhotoBrowserSaveImageSuccessText @\" ^_^ 保存成功 \";\n\n// 图片保存失败提示文字\n#define SDPhotoBrowserSaveImageFailText @\" >_< 保存失败 \";\n\n// browser背景颜色\n#define SDPhotoBrowserBackgrounColor [UIColor colorWithRed:0 green:0 blue:0 alpha:0.95]\n\n// browser中图片间的margin\n#define SDPhotoBrowserImageViewMargin 10\n\n// browser中显示图片动画时长\n#define SDPhotoBrowserShowImageAnimationDuration 0.4f\n\n// browser中显示图片动画时长\n#define SDPhotoBrowserHideImageAnimationDuration 0.4f\n\n// 图片下载进度指示进度显示样式（SDWaitingViewModeLoopDiagram 环形，SDWaitingViewModePieDiagram 饼型）\n#define SDWaitingViewProgressMode SDWaitingViewModeLoopDiagram\n\n// 图片下载进度指示器背景色\n#define SDWaitingViewBackgroundColor [UIColor colorWithRed:0 green:0 blue:0 alpha:0.7]\n\n// 图片下载进度指示器内部控件间的间距\n#define SDWaitingViewItemMargin 10\n\n\n"
  },
  {
    "path": "CKMeiTuanShopView/CKMeiTuanShopView/ThridParty/SDPhotoBrowser/SDWaitingView.h",
    "content": "//\n//  SDWaitingView.h\n//  SDPhotoBrowser\n//\n//  Created by aier on 15-2-6.\n//  Copyright (c) 2015年 GSD. All rights reserved.\n//\n\n#import <UIKit/UIKit.h>\n#import \"SDPhotoBrowserConfig.h\"\n\n@interface SDWaitingView : UIView\n\n@property (nonatomic, assign) CGFloat progress;\n@property (nonatomic, assign) int mode;\n\n@end\n"
  },
  {
    "path": "CKMeiTuanShopView/CKMeiTuanShopView/ThridParty/SDPhotoBrowser/SDWaitingView.m",
    "content": "//\n//  SDWaitingView.m\n//  SDPhotoBrowser\n//\n//  Created by aier on 15-2-6.\n//  Copyright (c) 2015年 GSD. All rights reserved.\n//\n\n#import \"SDWaitingView.h\"\n\n//// 图片下载进度指示器背景色\n//#define SDWaitingViewBackgroundColor [UIColor colorWithRed:0 green:0 blue:0 alpha:0.7]\n//\n//// 图片下载进度指示器内部控件间的间距\n//\n//#define SDWaitingViewItemMargin 10\n\n\n@implementation SDWaitingView\n\n\n- (id)initWithFrame:(CGRect)frame\n{\n    self = [super initWithFrame:frame];\n    if (self) {\n        self.backgroundColor = SDWaitingViewBackgroundColor;\n        self.layer.cornerRadius = 5;\n        self.clipsToBounds = YES;\n        self.mode = SDWaitingViewModeLoopDiagram;\n    }\n    return self;\n}\n\n- (void)setProgress:(CGFloat)progress\n{\n    _progress = progress;\n//    NSLog(@\"%@\",[NSThread currentThread]);\n    //将重绘操作放在主线程，解决自动布局控制台报错的问题\n    dispatch_async(dispatch_get_main_queue(), ^{\n        \n        [self setNeedsDisplay];\n        if (progress >= 1) {\n            [self removeFromSuperview];\n        }\n    });\n}\n\n- (void)drawRect:(CGRect)rect\n{\n    CGContextRef ctx = UIGraphicsGetCurrentContext();\n    \n    CGFloat xCenter = rect.size.width * 0.5;\n    CGFloat yCenter = rect.size.height * 0.5;\n    [[UIColor whiteColor] set];\n    \n    switch (self.mode) {\n        case SDWaitingViewModePieDiagram:\n            {\n                CGFloat radius = MIN(rect.size.width * 0.5, rect.size.height * 0.5) - SDWaitingViewItemMargin;\n                \n                \n                CGFloat w = radius * 2 + SDWaitingViewItemMargin;\n                CGFloat h = w;\n                CGFloat x = (rect.size.width - w) * 0.5;\n                CGFloat y = (rect.size.height - h) * 0.5;\n                CGContextAddEllipseInRect(ctx, CGRectMake(x, y, w, h));\n                CGContextFillPath(ctx);\n                \n                [SDWaitingViewBackgroundColor set];\n                CGContextMoveToPoint(ctx, xCenter, yCenter);\n                CGContextAddLineToPoint(ctx, xCenter, 0);\n                CGFloat to = - M_PI * 0.5 + self.progress * M_PI * 2 + 0.001; // 初始值\n                CGContextAddArc(ctx, xCenter, yCenter, radius, - M_PI * 0.5, to, 1);\n                CGContextClosePath(ctx);\n                \n                CGContextFillPath(ctx);\n            }\n            break;\n            \n        default:\n            {\n                CGContextSetLineWidth(ctx, 15);\n                CGContextSetLineCap(ctx, kCGLineCapRound);\n                CGFloat to = - M_PI * 0.5 + self.progress * M_PI * 2 + 0.05; // 初始值0.05\n                CGFloat radius = MIN(rect.size.width, rect.size.height) * 0.5 - SDWaitingViewItemMargin;\n                CGContextAddArc(ctx, xCenter, yCenter, radius, - M_PI * 0.5, to, 0);\n                CGContextStrokePath(ctx);\n            }\n            break;\n    }\n}\n\n@end\n"
  },
  {
    "path": "CKMeiTuanShopView/CKMeiTuanShopView/ThridParty/YBPopupMenu/CustomTestCell.h",
    "content": "//\n//  CustomTestCell.h\n//  YBPopupMenuDemo\n//\n//  Created by lyb on 2017/12/20.\n//  Copyright © 2017年 LYB. All rights reserved.\n//\n\n#import <UIKit/UIKit.h>\n\n@interface CustomTestCell : UITableViewCell\n\n@property (weak, nonatomic) IBOutlet UIImageView *iconImageView;\n@property (weak, nonatomic) IBOutlet UILabel *redLab;\n@property (weak, nonatomic) IBOutlet UILabel *titleLabel;\n\n@end\n"
  },
  {
    "path": "CKMeiTuanShopView/CKMeiTuanShopView/ThridParty/YBPopupMenu/CustomTestCell.m",
    "content": "//\n//  CustomTestCell.m\n//  YBPopupMenuDemo\n//\n//  Created by lyb on 2017/12/20.\n//  Copyright © 2017年 LYB. All rights reserved.\n//\n\n#import \"CustomTestCell.h\"\n\n@implementation CustomTestCell\n\n- (void)awakeFromNib {\n    [super awakeFromNib];\n    self.redLab.layer.cornerRadius = 2;\n    self.redLab.layer.masksToBounds = YES;\n}\n\n- (void)setSelected:(BOOL)selected animated:(BOOL)animated {\n    [super setSelected:selected animated:animated];\n\n    // Configure the view for the selected state\n}\n\n@end\n"
  },
  {
    "path": "CKMeiTuanShopView/CKMeiTuanShopView/ThridParty/YBPopupMenu/CustomTestCell.xib",
    "content": "<?xml version=\"1.0\" encoding=\"UTF-8\"?>\n<document type=\"com.apple.InterfaceBuilder3.CocoaTouch.XIB\" version=\"3.0\" toolsVersion=\"13771\" targetRuntime=\"iOS.CocoaTouch\" propertyAccessControl=\"none\" useAutolayout=\"YES\" useTraitCollections=\"YES\" colorMatched=\"YES\">\n    <device id=\"retina4_7\" orientation=\"portrait\">\n        <adaptation id=\"fullscreen\"/>\n    </device>\n    <dependencies>\n        <deployment identifier=\"iOS\"/>\n        <plugIn identifier=\"com.apple.InterfaceBuilder.IBCocoaTouchPlugin\" version=\"13772\"/>\n        <capability name=\"documents saved in the Xcode 8 format\" minToolsVersion=\"8.0\"/>\n    </dependencies>\n    <objects>\n        <placeholder placeholderIdentifier=\"IBFilesOwner\" id=\"-1\" userLabel=\"File's Owner\"/>\n        <placeholder placeholderIdentifier=\"IBFirstResponder\" id=\"-2\" customClass=\"UIResponder\"/>\n        <tableViewCell contentMode=\"scaleToFill\" selectionStyle=\"default\" indentationWidth=\"10\" reuseIdentifier=\"customCell\" rowHeight=\"34\" id=\"KGk-i7-Jjw\" customClass=\"CustomTestCell\">\n            <rect key=\"frame\" x=\"0.0\" y=\"0.0\" width=\"322\" height=\"34\"/>\n            <autoresizingMask key=\"autoresizingMask\" flexibleMaxX=\"YES\" flexibleMaxY=\"YES\"/>\n            <tableViewCellContentView key=\"contentView\" opaque=\"NO\" clipsSubviews=\"YES\" multipleTouchEnabled=\"YES\" contentMode=\"center\" tableViewCell=\"KGk-i7-Jjw\" id=\"H2p-sc-9uM\">\n                <rect key=\"frame\" x=\"0.0\" y=\"0.0\" width=\"322\" height=\"33.5\"/>\n                <autoresizingMask key=\"autoresizingMask\"/>\n                <subviews>\n                    <imageView userInteractionEnabled=\"NO\" contentMode=\"scaleToFill\" horizontalHuggingPriority=\"251\" verticalHuggingPriority=\"251\" fixedFrame=\"YES\" translatesAutoresizingMaskIntoConstraints=\"NO\" id=\"OhW-dg-P7a\">\n                        <rect key=\"frame\" x=\"10\" y=\"10\" width=\"14\" height=\"14\"/>\n                        <autoresizingMask key=\"autoresizingMask\" flexibleMaxX=\"YES\" flexibleMaxY=\"YES\"/>\n                    </imageView>\n                    <label opaque=\"NO\" userInteractionEnabled=\"NO\" contentMode=\"left\" horizontalHuggingPriority=\"251\" verticalHuggingPriority=\"251\" fixedFrame=\"YES\" text=\"\" textAlignment=\"natural\" lineBreakMode=\"tailTruncation\" baselineAdjustment=\"alignBaselines\" adjustsFontSizeToFit=\"NO\" translatesAutoresizingMaskIntoConstraints=\"NO\" id=\"1cO-dA-W83\">\n                        <rect key=\"frame\" x=\"80\" y=\"9\" width=\"4\" height=\"4\"/>\n                        <autoresizingMask key=\"autoresizingMask\" flexibleMaxX=\"YES\" flexibleMaxY=\"YES\"/>\n                        <color key=\"backgroundColor\" red=\"0.97237414121627808\" green=\"0.37282097339630127\" blue=\"0.31133478879928589\" alpha=\"1\" colorSpace=\"custom\" customColorSpace=\"sRGB\"/>\n                        <fontDescription key=\"fontDescription\" type=\"system\" pointSize=\"17\"/>\n                        <nil key=\"textColor\"/>\n                        <nil key=\"highlightedColor\"/>\n                    </label>\n                    <label opaque=\"NO\" userInteractionEnabled=\"NO\" contentMode=\"left\" horizontalHuggingPriority=\"251\" verticalHuggingPriority=\"251\" fixedFrame=\"YES\" text=\"消息中心\" textAlignment=\"natural\" lineBreakMode=\"tailTruncation\" baselineAdjustment=\"alignBaselines\" adjustsFontSizeToFit=\"NO\" translatesAutoresizingMaskIntoConstraints=\"NO\" id=\"48c-Fz-XN8\">\n                        <rect key=\"frame\" x=\"29\" y=\"6\" width=\"110\" height=\"21\"/>\n                        <autoresizingMask key=\"autoresizingMask\" flexibleMaxX=\"YES\" flexibleMaxY=\"YES\"/>\n                        <fontDescription key=\"fontDescription\" type=\"system\" pointSize=\"12\"/>\n                        <color key=\"textColor\" red=\"0.59867078065872192\" green=\"0.59913903474807739\" blue=\"0.59874337911605835\" alpha=\"1\" colorSpace=\"custom\" customColorSpace=\"sRGB\"/>\n                        <nil key=\"highlightedColor\"/>\n                    </label>\n                </subviews>\n                <color key=\"backgroundColor\" white=\"0.0\" alpha=\"0.0\" colorSpace=\"custom\" customColorSpace=\"genericGamma22GrayColorSpace\"/>\n            </tableViewCellContentView>\n            <color key=\"backgroundColor\" white=\"0.0\" alpha=\"0.0\" colorSpace=\"custom\" customColorSpace=\"genericGamma22GrayColorSpace\"/>\n            <connections>\n                <outlet property=\"iconImageView\" destination=\"OhW-dg-P7a\" id=\"OQU-Rx-9Hw\"/>\n                <outlet property=\"redLab\" destination=\"1cO-dA-W83\" id=\"2LN-qD-aPk\"/>\n                <outlet property=\"titleLabel\" destination=\"48c-Fz-XN8\" id=\"KWW-zq-gEZ\"/>\n            </connections>\n            <point key=\"canvasLocation\" x=\"33\" y=\"57\"/>\n        </tableViewCell>\n    </objects>\n</document>\n"
  },
  {
    "path": "CKMeiTuanShopView/CKMeiTuanShopView/ThridParty/YBPopupMenu/YBPopupMenu.h",
    "content": "//\n//  YBPopupMenu.h\n//  YBPopupMenu\n//\n//  Created by lyb on 2017/5/10.\n//  Copyright © 2017年 lyb. All rights reserved.\n//\n\n#import <UIKit/UIKit.h>\n#import \"YBPopupMenuPath.h\"\n\n// 过期提醒\n#define YBDeprecated(instead) NS_DEPRECATED(2_0, 2_0, 2_0, 2_0, instead)\n\ntypedef NS_ENUM(NSInteger , YBPopupMenuType) {\n    YBPopupMenuTypeDefault = 0,\n    YBPopupMenuTypeDark\n};\n\n/**\n 箭头方向优先级\n\n 当控件超出屏幕时会自动调整成反方向\n */\ntypedef NS_ENUM(NSInteger , YBPopupMenuPriorityDirection) {\n    YBPopupMenuPriorityDirectionTop = 0,  //Default\n    YBPopupMenuPriorityDirectionBottom,\n    YBPopupMenuPriorityDirectionLeft,\n    YBPopupMenuPriorityDirectionRight,\n    YBPopupMenuPriorityDirectionNone      //不自动调整\n};\n\n@class YBPopupMenu;\n@protocol YBPopupMenuDelegate <NSObject>\n\n@optional\n\n///////旧版本/////////\n/**\n 点击事件回调\n */\n- (void)ybPopupMenuDidSelectedAtIndex:(NSInteger)index ybPopupMenu:(YBPopupMenu *)ybPopupMenu YBDeprecated(\"请替用 ybPopupMenu: didSelectedAtIndex: 方法\");\n- (void)ybPopupMenuBeganDismiss;\n- (void)ybPopupMenuDidDismiss;\n- (void)ybPopupMenuBeganShow;\n- (void)ybPopupMenuDidShow;\n\n///////新版本/////////\n- (void)ybPopupMenu:(YBPopupMenu *)ybPopupMenu didSelectedAtIndex:(NSInteger)index;\n\n/**\n 自定义cell\n \n 可以自定义cell，设置后会忽略 fontSize textColor backColor type 属性\n cell 的高度是根据 itemHeight 的，直接设置无效\n 建议cell 背景色设置为透明色，不然切的圆角显示不出来\n */\n- (UITableViewCell *)ybPopupMenu:(YBPopupMenu *)ybPopupMenu cellForRowAtIndex:(NSInteger)index;\n\n@end\n\n@interface YBPopupMenu : UIView\n\n/**\n 标题数组 只读属性\n */\n@property (nonatomic, strong, readonly) NSArray  * titles;\n\n/**\n 图片数组 只读属性\n */\n@property (nonatomic, strong, readonly) NSArray  * images;\n\n/**\n tableView  Default separatorStyle is UITableViewCellSeparatorStyleNone\n */\n@property (nonatomic, strong) UITableView * tableView;\n\n/**\n 圆角半径 Default is 5.0\n */\n@property (nonatomic, assign) CGFloat cornerRadius;\n\n/**\n 自定义圆角 Default is UIRectCornerAllCorners\n \n 当自动调整方向时corner会自动转换至镜像方向\n */\n@property (nonatomic, assign) UIRectCorner rectCorner;\n\n/**\n 是否显示阴影 Default is YES\n */\n@property (nonatomic, assign , getter=isShadowShowing) BOOL isShowShadow;\n\n/**\n 是否显示灰色覆盖层 Default is YES\n */\n@property (nonatomic, assign) BOOL showMaskView;\n\n/**\n 选择菜单项后消失 Default is YES\n */\n@property (nonatomic, assign) BOOL dismissOnSelected;\n\n/**\n 点击菜单外消失  Default is YES\n */\n@property (nonatomic, assign) BOOL dismissOnTouchOutside;\n\n/**\n 设置字体大小 自定义cell时忽略 Default is 15\n */\n@property (nonatomic, assign) CGFloat fontSize;\n\n/**\n 设置字体颜色 自定义cell时忽略 Default is [UIColor blackColor]\n */\n@property (nonatomic, strong) UIColor * textColor;\n\n/**\n 设置偏移距离 (>= 0) Default is 0.0\n */\n@property (nonatomic, assign) CGFloat offset;\n\n/**\n 边框宽度 Default is 0.0\n \n 设置边框需 > 0\n */\n@property (nonatomic, assign) CGFloat borderWidth;\n\n/**\n 边框颜色 Default is LightGrayColor\n \n borderWidth <= 0 无效\n */\n@property (nonatomic, strong) UIColor * borderColor;\n\n/**\n 箭头宽度 Default is 15\n */\n@property (nonatomic, assign) CGFloat arrowWidth;\n\n/**\n 箭头高度 Default is 10\n */\n@property (nonatomic, assign) CGFloat arrowHeight;\n\n/**\n 箭头位置 Default is center\n \n 只有箭头优先级是YBPopupMenuPriorityDirectionLeft/YBPopupMenuPriorityDirectionRight/YBPopupMenuPriorityDirectionNone时需要设置\n */\n@property (nonatomic, assign) CGFloat arrowPosition;\n\n/**\n 箭头方向 Default is YBPopupMenuArrowDirectionTop\n */\n@property (nonatomic, assign) YBPopupMenuArrowDirection arrowDirection;\n\n/**\n 箭头优先方向 Default is YBPopupMenuPriorityDirectionTop\n \n 当控件超出屏幕时会自动调整箭头位置\n */\n@property (nonatomic, assign) YBPopupMenuPriorityDirection priorityDirection;\n\n/**\n 可见的最大行数 Default is 5;\n */\n@property (nonatomic, assign) NSInteger maxVisibleCount;\n\n/**\n menu背景色 自定义cell时忽略 Default is WhiteColor\n */\n@property (nonatomic, strong) UIColor * backColor;\n\n/**\n item的高度 Default is 44;\n */\n@property (nonatomic, assign) CGFloat itemHeight;\n\n/**\n popupMenu距离最近的Screen的距离 Default is 10\n */\n@property (nonatomic, assign) CGFloat minSpace;\n\n/**\n 设置显示模式 自定义cell时忽略 Default is YBPopupMenuTypeDefault\n */\n@property (nonatomic, assign) YBPopupMenuType type;\n\n/**\n 代理\n */\n@property (nonatomic, weak) id <YBPopupMenuDelegate> delegate;\n\n/**\n 在指定位置弹出\n \n @param titles    标题数组  数组里是NSString/NSAttributedString\n @param icons     图标数组  数组里是NSString/UIImage\n @param itemWidth 菜单宽度\n @param delegate  代理\n */\n+ (YBPopupMenu *)showAtPoint:(CGPoint)point\n                     titles:(NSArray *)titles\n                      icons:(NSArray *)icons\n                  menuWidth:(CGFloat)itemWidth\n                   delegate:(id<YBPopupMenuDelegate>)delegate;\n\n/**\n 在指定位置弹出(推荐方法)\n \n @param point          弹出的位置\n @param titles         标题数组  数组里是NSString/NSAttributedString\n @param icons          图标数组  数组里是NSString/UIImage\n @param itemWidth      菜单宽度\n @param otherSetting   其他设置\n */\n+ (YBPopupMenu *)showAtPoint:(CGPoint)point\n                      titles:(NSArray *)titles\n                       icons:(NSArray *)icons\n                   menuWidth:(CGFloat)itemWidth\n               otherSettings:(void (^) (YBPopupMenu * popupMenu))otherSetting;\n\n/**\n 依赖指定view弹出\n \n @param titles    标题数组  数组里是NSString/NSAttributedString\n @param icons     图标数组  数组里是NSString/UIImage\n @param itemWidth 菜单宽度\n @param delegate  代理\n */\n+ (YBPopupMenu *)showRelyOnView:(UIView *)view\n                        titles:(NSArray *)titles\n                         icons:(NSArray *)icons\n                     menuWidth:(CGFloat)itemWidth\n                      delegate:(id<YBPopupMenuDelegate>)delegate;\n\n/**\n 依赖指定view弹出(推荐方法)\n\n @param titles         标题数组  数组里是NSString/NSAttributedString\n @param icons          图标数组  数组里是NSString/UIImage\n @param itemWidth      菜单宽度\n @param otherSetting   其他设置\n */\n+ (YBPopupMenu *)showRelyOnView:(UIView *)view\n                         titles:(NSArray *)titles\n                          icons:(NSArray *)icons\n                      menuWidth:(CGFloat)itemWidth\n                  otherSettings:(void (^) (YBPopupMenu * popupMenu))otherSetting;\n\n/**\n 消失\n */\n- (void)dismiss;\n\n@end\n"
  },
  {
    "path": "CKMeiTuanShopView/CKMeiTuanShopView/ThridParty/YBPopupMenu/YBPopupMenu.m",
    "content": "//\n//  YBPopupMenu.m\n//  YBPopupMenu\n//\n//  Created by lyb on 2017/5/10.\n//  Copyright © 2017年 lyb. All rights reserved.\n//\n\n#import \"YBPopupMenu.h\"\n#import \"YBPopupMenuPath.h\"\n\n#define YBScreenWidth [UIScreen mainScreen].bounds.size.width\n#define YBScreenHeight [UIScreen mainScreen].bounds.size.height\n#define YBMainWindow  [UIApplication sharedApplication].keyWindow\n#define YB_SAFE_BLOCK(BlockName, ...) ({ !BlockName ? nil : BlockName(__VA_ARGS__); })\n\n#pragma mark - /////////////\n#pragma mark - private cell\n\n@interface YBPopupMenuCell : UITableViewCell\n@property (nonatomic, assign) BOOL isShowSeparator;\n@property (nonatomic, strong) UIColor * separatorColor;\n@end\n\n@implementation YBPopupMenuCell\n\n- (instancetype)initWithStyle:(UITableViewCellStyle)style reuseIdentifier:(NSString *)reuseIdentifier\n{\n    self = [super initWithStyle:style reuseIdentifier:reuseIdentifier];\n    if (self) {\n        _isShowSeparator = YES;\n        _separatorColor = [UIColor lightGrayColor];\n        [self setNeedsDisplay];\n    }\n    return self;\n}\n\n- (void)setIsShowSeparator:(BOOL)isShowSeparator\n{\n    _isShowSeparator = isShowSeparator;\n    [self setNeedsDisplay];\n}\n\n- (void)setSeparatorColor:(UIColor *)separatorColor\n{\n    _separatorColor = separatorColor;\n    [self setNeedsDisplay];\n}\n\n- (void)drawRect:(CGRect)rect\n{\n    if (!_isShowSeparator) return;\n    UIBezierPath *bezierPath = [UIBezierPath bezierPathWithRect:CGRectMake(0, rect.size.height - 0.5, rect.size.width, 0.5)];\n    [_separatorColor setFill];\n    [bezierPath fillWithBlendMode:kCGBlendModeNormal alpha:1];\n    [bezierPath closePath];\n}\n\n@end\n\n\n\n@interface YBPopupMenu ()\n<\nUITableViewDelegate,\nUITableViewDataSource\n>\n\n@property (nonatomic, strong) UIView      * menuBackView;\n@property (nonatomic) CGRect                relyRect;\n@property (nonatomic, assign) CGFloat       itemWidth;\n@property (nonatomic) CGPoint               point;\n@property (nonatomic, assign) BOOL          isCornerChanged;\n@property (nonatomic, strong) UIColor     * separatorColor;\n@property (nonatomic, assign) BOOL          isChangeDirection;\n@end\n\n@implementation YBPopupMenu\n\n- (instancetype)init\n{\n    self = [super init];\n    if (self) {\n        [self setDefaultSettings];\n    }\n    return self;\n}\n\n#pragma mark - publics\n+ (YBPopupMenu *)showAtPoint:(CGPoint)point titles:(NSArray *)titles icons:(NSArray *)icons menuWidth:(CGFloat)itemWidth delegate:(id<YBPopupMenuDelegate>)delegate\n{\n    YBPopupMenu *popupMenu = [[YBPopupMenu alloc] init];\n    popupMenu.point = point;\n    popupMenu.titles = titles;\n    popupMenu.images = icons;\n    popupMenu.itemWidth = itemWidth;\n    popupMenu.delegate = delegate;\n    [popupMenu show];\n    return popupMenu;\n}\n\n+ (YBPopupMenu *)showRelyOnView:(UIView *)view titles:(NSArray *)titles icons:(NSArray *)icons menuWidth:(CGFloat)itemWidth delegate:(id<YBPopupMenuDelegate>)delegate\n{\n    CGRect absoluteRect = [view convertRect:view.bounds toView:YBMainWindow];\n    CGPoint relyPoint = CGPointMake(absoluteRect.origin.x + absoluteRect.size.width / 2, absoluteRect.origin.y + absoluteRect.size.height);\n    YBPopupMenu *popupMenu = [[YBPopupMenu alloc] init];\n    popupMenu.point = relyPoint;\n    popupMenu.relyRect = absoluteRect;\n    popupMenu.titles = titles;\n    popupMenu.images = icons;\n    popupMenu.itemWidth = itemWidth;\n    popupMenu.delegate = delegate;\n    [popupMenu show];\n    return popupMenu;\n}\n\n+ (YBPopupMenu *)showAtPoint:(CGPoint)point titles:(NSArray *)titles icons:(NSArray *)icons menuWidth:(CGFloat)itemWidth otherSettings:(void (^) (YBPopupMenu * popupMenu))otherSetting\n{\n    YBPopupMenu *popupMenu = [[YBPopupMenu alloc] init];\n    popupMenu.point = point;\n    popupMenu.titles = titles;\n    popupMenu.images = icons;\n    popupMenu.itemWidth = itemWidth;\n    YB_SAFE_BLOCK(otherSetting,popupMenu);\n    [popupMenu show];\n    return popupMenu;\n}\n\n+ (YBPopupMenu *)showRelyOnView:(UIView *)view titles:(NSArray *)titles icons:(NSArray *)icons menuWidth:(CGFloat)itemWidth otherSettings:(void (^) (YBPopupMenu * popupMenu))otherSetting\n{\n    CGRect absoluteRect = [view convertRect:view.bounds toView:YBMainWindow];\n    CGPoint relyPoint = CGPointMake(absoluteRect.origin.x + absoluteRect.size.width / 2, absoluteRect.origin.y + absoluteRect.size.height);\n    YBPopupMenu *popupMenu = [[YBPopupMenu alloc] init];\n    popupMenu.point = relyPoint;\n    popupMenu.relyRect = absoluteRect;\n    popupMenu.titles = titles;\n    popupMenu.images = icons;\n    popupMenu.itemWidth = itemWidth;\n    YB_SAFE_BLOCK(otherSetting,popupMenu);\n    [popupMenu show];\n    return popupMenu;\n}\n\n- (void)dismiss\n{\n    if (self.delegate && [self.delegate respondsToSelector:@selector(ybPopupMenuBeganDismiss)]) {\n        [self.delegate ybPopupMenuBeganDismiss];\n    }\n    [UIView animateWithDuration: 0.25 animations:^{\n        self.layer.affineTransform = CGAffineTransformMakeScale(0.1, 0.1);\n        self.alpha = 0;\n        _menuBackView.alpha = 0;\n    } completion:^(BOOL finished) {\n        if (self.delegate && [self.delegate respondsToSelector:@selector(ybPopupMenuDidDismiss)]) {\n            [self.delegate ybPopupMenuDidDismiss];\n        }\n        self.delegate = nil;\n        [self removeFromSuperview];\n        [_menuBackView removeFromSuperview];\n    }];\n}\n\n#pragma mark tableViewDelegate & dataSource\n- (NSInteger)tableView:(UITableView *)tableView numberOfRowsInSection:(NSInteger)section\n{\n    return _titles.count;\n}\n\n- (UITableViewCell *)tableView:(UITableView *)tableView cellForRowAtIndexPath:(NSIndexPath *)indexPath\n{\n    UITableViewCell * tableViewCell = nil;\n    if (self.delegate && [self.delegate respondsToSelector:@selector(ybPopupMenu:cellForRowAtIndex:)]) {\n        tableViewCell = [self.delegate ybPopupMenu:self cellForRowAtIndex:indexPath.row];\n    }\n    \n    if (tableViewCell) {\n        return tableViewCell;\n    }\n    \n    static NSString * identifier = @\"ybPopupMenu\";\n    YBPopupMenuCell *cell = [tableView dequeueReusableCellWithIdentifier:identifier];\n    if (!cell) {\n        cell = [[YBPopupMenuCell alloc] initWithStyle:UITableViewCellStyleValue1 reuseIdentifier:identifier];\n        cell.textLabel.numberOfLines = 1;\n    }\n    cell.backgroundColor = [UIColor clearColor];\n    cell.textLabel.textColor = _textColor;\n    cell.textLabel.font = [UIFont systemFontOfSize:_fontSize];\n    if ([_titles[indexPath.row] isKindOfClass:[NSAttributedString class]]) {\n        cell.textLabel.attributedText = _titles[indexPath.row];\n    }else if ([_titles[indexPath.row] isKindOfClass:[NSString class]]) {\n        cell.textLabel.text = _titles[indexPath.row];\n    }else {\n        cell.textLabel.text = nil;\n    }\n    cell.separatorColor = _separatorColor;\n    if (_images.count >= indexPath.row + 1) {\n        if ([_images[indexPath.row] isKindOfClass:[NSString class]]) {\n            cell.imageView.image = [UIImage imageNamed:_images[indexPath.row]];\n        }else if ([_images[indexPath.row] isKindOfClass:[UIImage class]]){\n            cell.imageView.image = _images[indexPath.row];\n        }else {\n            cell.imageView.image = nil;\n        }\n    }else {\n        cell.imageView.image = nil;\n    }\n    return cell;\n}\n\n- (CGFloat)tableView:(UITableView *)tableView heightForRowAtIndexPath:(NSIndexPath *)indexPath\n{\n    return _itemHeight;\n}\n\n- (void)tableView:(UITableView *)tableView didSelectRowAtIndexPath:(NSIndexPath *)indexPath\n{\n    [tableView deselectRowAtIndexPath:indexPath animated:YES];\n    if (_dismissOnSelected) [self dismiss];\n    \n    if (self.delegate && [self.delegate respondsToSelector:@selector(ybPopupMenuDidSelectedAtIndex:ybPopupMenu:)]) {\n        \n        [self.delegate ybPopupMenuDidSelectedAtIndex:indexPath.row ybPopupMenu:self];\n    }\n    \n    if (self.delegate && [self.delegate respondsToSelector:@selector(ybPopupMenu:didSelectedAtIndex:)]) {\n        [self.delegate ybPopupMenu:self didSelectedAtIndex:indexPath.row];\n    }\n}\n\n#pragma mark - scrollViewDelegate\n- (void)scrollViewWillBeginDragging:(UIScrollView *)scrollView\n{\n    if ([[self getLastVisibleCell] isKindOfClass:[YBPopupMenuCell class]]) {\n        YBPopupMenuCell *cell = [self getLastVisibleCell];\n        cell.isShowSeparator = YES;\n    }\n}\n\n- (void)scrollViewDidEndDecelerating:(UIScrollView *)scrollView\n{\n    if ([[self getLastVisibleCell] isKindOfClass:[YBPopupMenuCell class]]) {\n        YBPopupMenuCell *cell = [self getLastVisibleCell];\n        cell.isShowSeparator = NO;\n    }\n}\n\n- (YBPopupMenuCell *)getLastVisibleCell\n{\n    NSArray <NSIndexPath *>*indexPaths = [self.tableView indexPathsForVisibleRows];\n    indexPaths = [indexPaths sortedArrayUsingComparator:^NSComparisonResult(NSIndexPath *  _Nonnull obj1, NSIndexPath *  _Nonnull obj2) {\n        return obj1.row < obj2.row;\n    }];\n    NSIndexPath *indexPath = indexPaths.firstObject;\n    return [self.tableView cellForRowAtIndexPath:indexPath];\n}\n\n#pragma mark - privates\n- (void)show\n{\n    [YBMainWindow addSubview:_menuBackView];\n    [YBMainWindow addSubview:self];\n    if ([[self getLastVisibleCell] isKindOfClass:[YBPopupMenuCell class]]) {\n        YBPopupMenuCell *cell = [self getLastVisibleCell];\n        cell.isShowSeparator = NO;\n    }\n    if (self.delegate && [self.delegate respondsToSelector:@selector(ybPopupMenuBeganShow)]) {\n        [self.delegate ybPopupMenuBeganShow];\n    }\n    self.layer.affineTransform = CGAffineTransformMakeScale(0.1, 0.1);\n    [UIView animateWithDuration: 0.25 animations:^{\n        self.layer.affineTransform = CGAffineTransformMakeScale(1.0, 1.0);\n        self.alpha = 1;\n        _menuBackView.alpha = 1;\n    } completion:^(BOOL finished) {\n        if (self.delegate && [self.delegate respondsToSelector:@selector(ybPopupMenuDidShow)]) {\n            [self.delegate ybPopupMenuDidShow];\n        }\n    }];\n}\n\n- (void)setDefaultSettings\n{\n    _cornerRadius = 5.0;\n    _rectCorner = UIRectCornerAllCorners;\n    self.isShowShadow = YES;\n    _dismissOnSelected = YES;\n    _dismissOnTouchOutside = YES;\n    _fontSize = 15;\n    _textColor = [UIColor blackColor];\n    _offset = 0.0;\n    _relyRect = CGRectZero;\n    _point = CGPointZero;\n    _borderWidth = 0.0;\n    _borderColor = [UIColor lightGrayColor];\n    _arrowWidth = 15.0;\n    _arrowHeight = 10.0;\n    _backColor = [UIColor whiteColor];\n    _type = YBPopupMenuTypeDefault;\n    _arrowDirection = YBPopupMenuArrowDirectionTop;\n    _priorityDirection = YBPopupMenuPriorityDirectionTop;\n    _minSpace = 10.0;\n    _maxVisibleCount = 5;\n    _itemHeight = 44;\n    _isCornerChanged = NO;\n    _showMaskView = YES;\n    _menuBackView = [[UIView alloc] initWithFrame:CGRectMake(0, 0, YBScreenWidth, YBScreenHeight)];\n    _menuBackView.backgroundColor = [[UIColor blackColor] colorWithAlphaComponent:0.1];\n    _menuBackView.alpha = 0;\n    UITapGestureRecognizer *tap = [[UITapGestureRecognizer alloc] initWithTarget: self action: @selector(touchOutSide)];\n    [_menuBackView addGestureRecognizer: tap];\n    self.alpha = 0;\n    self.backgroundColor = [UIColor clearColor];\n    [self addSubview:self.tableView];\n}\n\n- (UITableView *)tableView\n{\n    if (!_tableView) {\n        _tableView = [[UITableView alloc] initWithFrame:CGRectZero style:UITableViewStylePlain];\n        _tableView.backgroundColor = [UIColor clearColor];\n        _tableView.tableFooterView = [UIView new];\n        _tableView.delegate = self;\n        _tableView.dataSource = self;\n        _tableView.separatorStyle = UITableViewCellSeparatorStyleNone;\n    }\n    return _tableView;\n}\n\n- (void)touchOutSide\n{\n    if (_dismissOnTouchOutside) {\n        [self dismiss];\n    }\n}\n\n- (void)setIsShowShadow:(BOOL)isShowShadow\n{\n    _isShowShadow = isShowShadow;\n    self.layer.shadowOpacity = isShowShadow ? 0.5 : 0;\n    self.layer.shadowOffset = CGSizeMake(0, 0);\n    self.layer.shadowRadius = isShowShadow ? 2.0 : 0;\n}\n\n- (void)setShowMaskView:(BOOL)showMaskView\n{\n    _showMaskView = showMaskView;\n    _menuBackView.backgroundColor = showMaskView ? [[UIColor blackColor] colorWithAlphaComponent:0.1] : [UIColor clearColor];\n}\n\n- (void)setType:(YBPopupMenuType)type\n{\n    _type = type;\n    switch (type) {\n        case YBPopupMenuTypeDark:\n        {\n            _textColor = [UIColor lightGrayColor];\n            _backColor = [UIColor colorWithRed:0.25 green:0.27 blue:0.29 alpha:1];\n            _separatorColor = [UIColor lightGrayColor];\n        }\n            break;\n            \n        default:\n        {\n            _textColor = [UIColor blackColor];\n            _backColor = [UIColor whiteColor];\n            _separatorColor = [UIColor lightGrayColor];\n        }\n            break;\n    }\n    [self updateUI];\n}\n\n- (void)setFontSize:(CGFloat)fontSize\n{\n    _fontSize = fontSize;\n    [self.tableView reloadData];\n}\n\n- (void)setTextColor:(UIColor *)textColor\n{\n    _textColor = textColor;\n    [self.tableView reloadData];\n}\n\n- (void)setPoint:(CGPoint)point\n{\n    _point = point;\n    [self updateUI];\n}\n\n- (void)setItemWidth:(CGFloat)itemWidth\n{\n    _itemWidth = itemWidth;\n    [self updateUI];\n}\n\n- (void)setItemHeight:(CGFloat)itemHeight\n{\n    _itemHeight = itemHeight;\n    [self updateUI];\n}\n\n- (void)setBorderWidth:(CGFloat)borderWidth\n{\n    _borderWidth = borderWidth;\n    [self updateUI];\n}\n\n- (void)setBorderColor:(UIColor *)borderColor\n{\n    _borderColor = borderColor;\n    [self updateUI];\n}\n\n- (void)setArrowPosition:(CGFloat)arrowPosition\n{\n    _arrowPosition = arrowPosition;\n    [self updateUI];\n}\n\n- (void)setArrowWidth:(CGFloat)arrowWidth\n{\n    _arrowWidth = arrowWidth;\n    [self updateUI];\n}\n\n- (void)setArrowHeight:(CGFloat)arrowHeight\n{\n    _arrowHeight = arrowHeight;\n    [self updateUI];\n}\n\n- (void)setArrowDirection:(YBPopupMenuArrowDirection)arrowDirection\n{\n    _arrowDirection = arrowDirection;\n    [self updateUI];\n}\n\n- (void)setMaxVisibleCount:(NSInteger)maxVisibleCount\n{\n    _maxVisibleCount = maxVisibleCount;\n    [self updateUI];\n}\n\n- (void)setBackColor:(UIColor *)backColor\n{\n    _backColor = backColor;\n    [self updateUI];\n}\n\n- (void)setTitles:(NSArray *)titles\n{\n    _titles = titles;\n    [self updateUI];\n}\n\n- (void)setImages:(NSArray *)images\n{\n    _images = images;\n    [self updateUI];\n}\n\n- (void)setPriorityDirection:(YBPopupMenuPriorityDirection)priorityDirection\n{\n    _priorityDirection = priorityDirection;\n    [self updateUI];\n}\n\n- (void)setRectCorner:(UIRectCorner)rectCorner\n{\n    _rectCorner = rectCorner;\n    [self updateUI];\n}\n\n- (void)setCornerRadius:(CGFloat)cornerRadius\n{\n    _cornerRadius = cornerRadius;\n    [self updateUI];\n}\n\n- (void)setOffset:(CGFloat)offset\n{\n    _offset = offset;\n    [self updateUI];\n}\n\n- (void)updateUI\n{\n    CGFloat height;\n    if (_titles.count > _maxVisibleCount) {\n        height = _itemHeight * _maxVisibleCount + _borderWidth * 2;\n        self.tableView.bounces = YES;\n    }else {\n        height = _itemHeight * _titles.count + _borderWidth * 2;\n        self.tableView.bounces = NO;\n    }\n     _isChangeDirection = NO;\n    if (_priorityDirection == YBPopupMenuPriorityDirectionTop) {\n        if (_point.y + height + _arrowHeight > YBScreenHeight - _minSpace) {\n            _arrowDirection = YBPopupMenuArrowDirectionBottom;\n            _isChangeDirection = YES;\n        }else {\n            _arrowDirection = YBPopupMenuArrowDirectionTop;\n            _isChangeDirection = NO;\n        }\n    }else if (_priorityDirection == YBPopupMenuPriorityDirectionBottom) {\n        if (_point.y - height - _arrowHeight < _minSpace) {\n            _arrowDirection = YBPopupMenuArrowDirectionTop;\n            _isChangeDirection = YES;\n        }else {\n            _arrowDirection = YBPopupMenuArrowDirectionBottom;\n            _isChangeDirection = NO;\n        }\n    }else if (_priorityDirection == YBPopupMenuPriorityDirectionLeft) {\n        if (_point.x + _itemWidth + _arrowHeight > YBScreenWidth - _minSpace) {\n            _arrowDirection = YBPopupMenuArrowDirectionRight;\n            _isChangeDirection = YES;\n        }else {\n            _arrowDirection = YBPopupMenuArrowDirectionLeft;\n            _isChangeDirection = NO;\n        }\n    }else if (_priorityDirection == YBPopupMenuPriorityDirectionRight) {\n        if (_point.x - _itemWidth - _arrowHeight < _minSpace) {\n            _arrowDirection = YBPopupMenuArrowDirectionLeft;\n            _isChangeDirection = YES;\n        }else {\n            _arrowDirection = YBPopupMenuArrowDirectionRight;\n            _isChangeDirection = NO;\n        }\n    }\n    [self setArrowPosition];\n    [self setRelyRect];\n    if (_arrowDirection == YBPopupMenuArrowDirectionTop) {\n        CGFloat y = _isChangeDirection ? _point.y  : _point.y;\n        if (_arrowPosition > _itemWidth / 2) {\n            self.frame = CGRectMake(YBScreenWidth - _minSpace - _itemWidth, y, _itemWidth, height + _arrowHeight);\n        }else if (_arrowPosition < _itemWidth / 2) {\n            self.frame = CGRectMake(_minSpace, y, _itemWidth, height + _arrowHeight);\n        }else {\n            self.frame = CGRectMake(_point.x - _itemWidth / 2, y, _itemWidth, height + _arrowHeight);\n        }\n    }else if (_arrowDirection == YBPopupMenuArrowDirectionBottom) {\n        CGFloat y = _isChangeDirection ? _point.y - _arrowHeight - height : _point.y - _arrowHeight - height;\n        if (_arrowPosition > _itemWidth / 2) {\n            self.frame = CGRectMake(YBScreenWidth - _minSpace - _itemWidth, y, _itemWidth, height + _arrowHeight);\n        }else if (_arrowPosition < _itemWidth / 2) {\n            self.frame = CGRectMake(_minSpace, y, _itemWidth, height + _arrowHeight);\n        }else {\n            self.frame = CGRectMake(_point.x - _itemWidth / 2, y, _itemWidth, height + _arrowHeight);\n        }\n    }else if (_arrowDirection == YBPopupMenuArrowDirectionLeft) {\n        CGFloat x = _isChangeDirection ? _point.x : _point.x;\n        if (_arrowPosition < _itemHeight / 2) {\n            self.frame = CGRectMake(x, _point.y - _arrowPosition, _itemWidth + _arrowHeight, height);\n        }else if (_arrowPosition > _itemHeight / 2) {\n            self.frame = CGRectMake(x, _point.y - _arrowPosition, _itemWidth + _arrowHeight, height);\n        }else {\n            self.frame = CGRectMake(x, _point.y - _arrowPosition, _itemWidth + _arrowHeight, height);\n        }\n    }else if (_arrowDirection == YBPopupMenuArrowDirectionRight) {\n        CGFloat x = _isChangeDirection ? _point.x - _itemWidth - _arrowHeight : _point.x - _itemWidth - _arrowHeight;\n        if (_arrowPosition < _itemHeight / 2) {\n            self.frame = CGRectMake(x, _point.y - _arrowPosition, _itemWidth + _arrowHeight, height);\n        }else if (_arrowPosition > _itemHeight / 2) {\n            self.frame = CGRectMake(x, _point.y - _arrowPosition, _itemWidth + _arrowHeight, height);\n        }else {\n            self.frame = CGRectMake(x, _point.y - _arrowPosition, _itemWidth + _arrowHeight, height);\n        }\n    }else if (_arrowDirection == YBPopupMenuArrowDirectionNone) {\n        \n    }\n    \n    if (_isChangeDirection) {\n        [self changeRectCorner];\n    }\n    [self setAnchorPoint];\n    [self setOffset];\n    [self.tableView reloadData];\n    [self setNeedsDisplay];\n}\n\n- (void)setRelyRect\n{\n    if (CGRectEqualToRect(_relyRect, CGRectZero)) {\n        return;\n    }\n    if (_arrowDirection == YBPopupMenuArrowDirectionTop) {\n        _point.y = _relyRect.size.height + _relyRect.origin.y;\n    }else if (_arrowDirection == YBPopupMenuArrowDirectionBottom) {\n        _point.y = _relyRect.origin.y;\n    }else if (_arrowDirection == YBPopupMenuArrowDirectionLeft) {\n        _point = CGPointMake(_relyRect.origin.x + _relyRect.size.width, _relyRect.origin.y + _relyRect.size.height / 2);\n    }else {\n        _point = CGPointMake(_relyRect.origin.x, _relyRect.origin.y + _relyRect.size.height / 2);\n    }\n}\n\n\n- (void)setFrame:(CGRect)frame\n{\n    [super setFrame:frame];\n    if (_arrowDirection == YBPopupMenuArrowDirectionTop) {\n        self.tableView.frame = CGRectMake(_borderWidth, _borderWidth + _arrowHeight, frame.size.width - _borderWidth * 2, frame.size.height - _arrowHeight);\n    }else if (_arrowDirection == YBPopupMenuArrowDirectionBottom) {\n        self.tableView.frame = CGRectMake(_borderWidth, _borderWidth, frame.size.width - _borderWidth * 2, frame.size.height - _arrowHeight);\n    }else if (_arrowDirection == YBPopupMenuArrowDirectionLeft) {\n        self.tableView.frame = CGRectMake(_borderWidth + _arrowHeight, _borderWidth , frame.size.width - _borderWidth * 2 - _arrowHeight, frame.size.height);\n    }else if (_arrowDirection == YBPopupMenuArrowDirectionRight) {\n        self.tableView.frame = CGRectMake(_borderWidth , _borderWidth , frame.size.width - _borderWidth * 2 - _arrowHeight, frame.size.height);\n    }\n}\n\n- (void)changeRectCorner\n{\n    if (_isCornerChanged || _rectCorner == UIRectCornerAllCorners) {\n        return;\n    }\n    BOOL haveTopLeftCorner = NO, haveTopRightCorner = NO, haveBottomLeftCorner = NO, haveBottomRightCorner = NO;\n    if (_rectCorner & UIRectCornerTopLeft) {\n        haveTopLeftCorner = YES;\n    }\n    if (_rectCorner & UIRectCornerTopRight) {\n        haveTopRightCorner = YES;\n    }\n    if (_rectCorner & UIRectCornerBottomLeft) {\n        haveBottomLeftCorner = YES;\n    }\n    if (_rectCorner & UIRectCornerBottomRight) {\n        haveBottomRightCorner = YES;\n    }\n    \n    if (_arrowDirection == YBPopupMenuArrowDirectionTop || _arrowDirection == YBPopupMenuArrowDirectionBottom) {\n        \n        if (haveTopLeftCorner) {\n            _rectCorner = _rectCorner | UIRectCornerBottomLeft;\n        }else {\n            _rectCorner = _rectCorner & (~UIRectCornerBottomLeft);\n        }\n        if (haveTopRightCorner) {\n            _rectCorner = _rectCorner | UIRectCornerBottomRight;\n        }else {\n            _rectCorner = _rectCorner & (~UIRectCornerBottomRight);\n        }\n        if (haveBottomLeftCorner) {\n            _rectCorner = _rectCorner | UIRectCornerTopLeft;\n        }else {\n            _rectCorner = _rectCorner & (~UIRectCornerTopLeft);\n        }\n        if (haveBottomRightCorner) {\n            _rectCorner = _rectCorner | UIRectCornerTopRight;\n        }else {\n            _rectCorner = _rectCorner & (~UIRectCornerTopRight);\n        }\n        \n    }else if (_arrowDirection == YBPopupMenuArrowDirectionLeft || _arrowDirection == YBPopupMenuArrowDirectionRight) {\n        if (haveTopLeftCorner) {\n            _rectCorner = _rectCorner | UIRectCornerTopRight;\n        }else {\n            _rectCorner = _rectCorner & (~UIRectCornerTopRight);\n        }\n        if (haveTopRightCorner) {\n            _rectCorner = _rectCorner | UIRectCornerTopLeft;\n        }else {\n            _rectCorner = _rectCorner & (~UIRectCornerTopLeft);\n        }\n        if (haveBottomLeftCorner) {\n            _rectCorner = _rectCorner | UIRectCornerBottomRight;\n        }else {\n            _rectCorner = _rectCorner & (~UIRectCornerBottomRight);\n        }\n        if (haveBottomRightCorner) {\n            _rectCorner = _rectCorner | UIRectCornerBottomLeft;\n        }else {\n            _rectCorner = _rectCorner & (~UIRectCornerBottomLeft);\n        }\n    }\n    \n    _isCornerChanged = YES;\n}\n\n- (void)setOffset\n{\n    if (_itemWidth == 0) return;\n    \n    CGRect originRect = self.frame;\n    \n    if (_arrowDirection == YBPopupMenuArrowDirectionTop) {\n        originRect.origin.y += _offset;\n    }else if (_arrowDirection == YBPopupMenuArrowDirectionBottom) {\n        originRect.origin.y -= _offset;\n    }else if (_arrowDirection == YBPopupMenuArrowDirectionLeft) {\n        originRect.origin.x += _offset;\n    }else if (_arrowDirection == YBPopupMenuArrowDirectionRight) {\n        originRect.origin.x -= _offset;\n    }\n    self.frame = originRect;\n}\n\n- (void)setAnchorPoint\n{\n    if (_itemWidth == 0) return;\n    \n    CGPoint point = CGPointMake(0.5, 0.5);\n    if (_arrowDirection == YBPopupMenuArrowDirectionTop) {\n        point = CGPointMake(_arrowPosition / _itemWidth, 0);\n    }else if (_arrowDirection == YBPopupMenuArrowDirectionBottom) {\n        point = CGPointMake(_arrowPosition / _itemWidth, 1);\n    }else if (_arrowDirection == YBPopupMenuArrowDirectionLeft) {\n        point = CGPointMake(0, (_itemHeight - _arrowPosition) / _itemHeight);\n    }else if (_arrowDirection == YBPopupMenuArrowDirectionRight) {\n        point = CGPointMake(1, (_itemHeight - _arrowPosition) / _itemHeight);\n    }\n    CGRect originRect = self.frame;\n    self.layer.anchorPoint = point;\n    self.frame = originRect;\n}\n\n- (void)setArrowPosition\n{\n    if (_priorityDirection == YBPopupMenuPriorityDirectionNone) {\n        return;\n    }\n    if (_arrowDirection == YBPopupMenuArrowDirectionTop || _arrowDirection == YBPopupMenuArrowDirectionBottom) {\n        if (_point.x + _itemWidth / 2 > YBScreenWidth - _minSpace) {\n            _arrowPosition = _itemWidth - (YBScreenWidth - _minSpace - _point.x);\n        }else if (_point.x < _itemWidth / 2 + _minSpace) {\n            _arrowPosition = _point.x - _minSpace;\n        }else {\n            _arrowPosition = _itemWidth / 2;\n        }\n        \n    }else if (_arrowDirection == YBPopupMenuArrowDirectionLeft || _arrowDirection == YBPopupMenuArrowDirectionRight) {\n//        if (_point.y + _itemHeight / 2 > YBScreenHeight - _minSpace) {\n//            _arrowPosition = _itemHeight - (YBScreenHeight - _minSpace - _point.y);\n//        }else if (_point.y < _itemHeight / 2 + _minSpace) {\n//            _arrowPosition = _point.y - _minSpace;\n//        }else {\n//            _arrowPosition = _itemHeight / 2;\n//        }\n    }\n}\n\n- (void)drawRect:(CGRect)rect\n{\n    UIBezierPath *bezierPath = [YBPopupMenuPath yb_bezierPathWithRect:rect rectCorner:_rectCorner cornerRadius:_cornerRadius borderWidth:_borderWidth borderColor:_borderColor backgroundColor:_backColor arrowWidth:_arrowWidth arrowHeight:_arrowHeight arrowPosition:_arrowPosition arrowDirection:_arrowDirection];\n    [bezierPath fill];\n    [bezierPath stroke];\n}\n\n@end\n"
  },
  {
    "path": "CKMeiTuanShopView/CKMeiTuanShopView/ThridParty/YBPopupMenu/YBPopupMenuPath.h",
    "content": "//\n//  YBPopupMenuPath.h\n//  YBPopupMenu\n//\n//  Created by lyb on 2017/5/9.\n//  Copyright © 2017年 lyb. All rights reserved.\n//\n\n#import <UIKit/UIKit.h>\n\ntypedef NS_ENUM(NSInteger, YBPopupMenuArrowDirection) {\n    YBPopupMenuArrowDirectionTop = 0,  //箭头朝上\n    YBPopupMenuArrowDirectionBottom,   //箭头朝下\n    YBPopupMenuArrowDirectionLeft,     //箭头朝左\n    YBPopupMenuArrowDirectionRight,    //箭头朝右\n    YBPopupMenuArrowDirectionNone      //没有箭头\n};\n\n@interface YBPopupMenuPath : NSObject\n\n+ (CAShapeLayer *)yb_maskLayerWithRect:(CGRect)rect\n                            rectCorner:(UIRectCorner)rectCorner\n                          cornerRadius:(CGFloat)cornerRadius\n                            arrowWidth:(CGFloat)arrowWidth\n                           arrowHeight:(CGFloat)arrowHeight\n                         arrowPosition:(CGFloat)arrowPosition\n                        arrowDirection:(YBPopupMenuArrowDirection)arrowDirection;\n\n+ (UIBezierPath *)yb_bezierPathWithRect:(CGRect)rect\n                             rectCorner:(UIRectCorner)rectCorner\n                           cornerRadius:(CGFloat)cornerRadius\n                            borderWidth:(CGFloat)borderWidth\n                            borderColor:(UIColor *)borderColor\n                        backgroundColor:(UIColor *)backgroundColor\n                             arrowWidth:(CGFloat)arrowWidth\n                            arrowHeight:(CGFloat)arrowHeight\n                          arrowPosition:(CGFloat)arrowPosition\n                         arrowDirection:(YBPopupMenuArrowDirection)arrowDirection;\n@end\n"
  },
  {
    "path": "CKMeiTuanShopView/CKMeiTuanShopView/ThridParty/YBPopupMenu/YBPopupMenuPath.m",
    "content": "//\n//  YBPopupMenuPath.m\n//  YBPopupMenu\n//\n//  Created by lyb on 2017/5/9.\n//  Copyright © 2017年 lyb. All rights reserved.\n//\n\n#import \"YBPopupMenuPath.h\"\n#import \"YBRectConst.h\"\n\n@implementation YBPopupMenuPath\n\n+ (CAShapeLayer *)yb_maskLayerWithRect:(CGRect)rect\n                            rectCorner:(UIRectCorner)rectCorner\n                          cornerRadius:(CGFloat)cornerRadius\n                            arrowWidth:(CGFloat)arrowWidth\n                           arrowHeight:(CGFloat)arrowHeight\n                         arrowPosition:(CGFloat)arrowPosition\n                        arrowDirection:(YBPopupMenuArrowDirection)arrowDirection\n{\n    CAShapeLayer *shapeLayer = [CAShapeLayer layer];\n    shapeLayer.path = [self yb_bezierPathWithRect:rect rectCorner:rectCorner cornerRadius:cornerRadius borderWidth:0 borderColor:nil backgroundColor:nil arrowWidth:arrowWidth arrowHeight:arrowHeight arrowPosition:arrowPosition arrowDirection:arrowDirection].CGPath;\n    return shapeLayer;\n}\n\n\n+ (UIBezierPath *)yb_bezierPathWithRect:(CGRect)rect\n                             rectCorner:(UIRectCorner)rectCorner\n                           cornerRadius:(CGFloat)cornerRadius\n                            borderWidth:(CGFloat)borderWidth\n                            borderColor:(UIColor *)borderColor\n                        backgroundColor:(UIColor *)backgroundColor\n                             arrowWidth:(CGFloat)arrowWidth\n                            arrowHeight:(CGFloat)arrowHeight\n                          arrowPosition:(CGFloat)arrowPosition\n                         arrowDirection:(YBPopupMenuArrowDirection)arrowDirection\n{\n    UIBezierPath *bezierPath = [UIBezierPath bezierPath];\n    if (borderColor) {\n        [borderColor setStroke];\n    }\n    if (backgroundColor) {\n        [backgroundColor setFill];\n    }\n    bezierPath.lineWidth = borderWidth;\n    rect = CGRectMake(borderWidth / 2, borderWidth / 2, YBRectWidth(rect) - borderWidth, YBRectHeight(rect) - borderWidth);\n    CGFloat topRightRadius = 0,topLeftRadius = 0,bottomRightRadius = 0,bottomLeftRadius = 0;\n    CGPoint topRightArcCenter,topLeftArcCenter,bottomRightArcCenter,bottomLeftArcCenter;\n    \n    if (rectCorner & UIRectCornerTopLeft) {\n        topLeftRadius = cornerRadius;\n    }\n    if (rectCorner & UIRectCornerTopRight) {\n        topRightRadius = cornerRadius;\n    }\n    if (rectCorner & UIRectCornerBottomLeft) {\n        bottomLeftRadius = cornerRadius;\n    }\n    if (rectCorner & UIRectCornerBottomRight) {\n        bottomRightRadius = cornerRadius;\n    }\n    \n    if (arrowDirection == YBPopupMenuArrowDirectionTop) {\n        topLeftArcCenter = CGPointMake(topLeftRadius + YBRectX(rect), arrowHeight + topLeftRadius + YBRectX(rect));\n        topRightArcCenter = CGPointMake(YBRectWidth(rect) - topRightRadius + YBRectX(rect), arrowHeight + topRightRadius + YBRectX(rect));\n        bottomLeftArcCenter = CGPointMake(bottomLeftRadius + YBRectX(rect), YBRectHeight(rect) - bottomLeftRadius + YBRectX(rect));\n        bottomRightArcCenter = CGPointMake(YBRectWidth(rect) - bottomRightRadius + YBRectX(rect), YBRectHeight(rect) - bottomRightRadius + YBRectX(rect));\n        if (arrowPosition < topLeftRadius + arrowWidth / 2) {\n            arrowPosition = topLeftRadius + arrowWidth / 2;\n        }else if (arrowPosition > YBRectWidth(rect) - topRightRadius - arrowWidth / 2) {\n            arrowPosition = YBRectWidth(rect) - topRightRadius - arrowWidth / 2;\n        }\n        [bezierPath moveToPoint:CGPointMake(arrowPosition - arrowWidth / 2, arrowHeight + YBRectX(rect))];\n        [bezierPath addLineToPoint:CGPointMake(arrowPosition, YBRectTop(rect) + YBRectX(rect))];\n        [bezierPath addLineToPoint:CGPointMake(arrowPosition + arrowWidth / 2, arrowHeight + YBRectX(rect))];\n        [bezierPath addLineToPoint:CGPointMake(YBRectWidth(rect) - topRightRadius, arrowHeight + YBRectX(rect))];\n        [bezierPath addArcWithCenter:topRightArcCenter radius:topRightRadius startAngle:M_PI * 3 / 2 endAngle:2 * M_PI clockwise:YES];\n        [bezierPath addLineToPoint:CGPointMake(YBRectWidth(rect) + YBRectX(rect), YBRectHeight(rect) - bottomRightRadius - YBRectX(rect))];\n        [bezierPath addArcWithCenter:bottomRightArcCenter radius:bottomRightRadius startAngle:0 endAngle:M_PI_2 clockwise:YES];\n        [bezierPath addLineToPoint:CGPointMake(bottomLeftRadius + YBRectX(rect), YBRectHeight(rect) + YBRectX(rect))];\n        [bezierPath addArcWithCenter:bottomLeftArcCenter radius:bottomLeftRadius startAngle:M_PI_2 endAngle:M_PI clockwise:YES];\n        [bezierPath addLineToPoint:CGPointMake(YBRectX(rect), arrowHeight + topLeftRadius + YBRectX(rect))];\n        [bezierPath addArcWithCenter:topLeftArcCenter radius:topLeftRadius startAngle:M_PI endAngle:M_PI * 3 / 2 clockwise:YES];\n        \n    }else if (arrowDirection == YBPopupMenuArrowDirectionBottom) {\n        topLeftArcCenter = CGPointMake(topLeftRadius + YBRectX(rect),topLeftRadius + YBRectX(rect));\n        topRightArcCenter = CGPointMake(YBRectWidth(rect) - topRightRadius + YBRectX(rect), topRightRadius + YBRectX(rect));\n        bottomLeftArcCenter = CGPointMake(bottomLeftRadius + YBRectX(rect), YBRectHeight(rect) - bottomLeftRadius + YBRectX(rect) - arrowHeight);\n        bottomRightArcCenter = CGPointMake(YBRectWidth(rect) - bottomRightRadius + YBRectX(rect), YBRectHeight(rect) - bottomRightRadius + YBRectX(rect) - arrowHeight);\n        if (arrowPosition < bottomLeftRadius + arrowWidth / 2) {\n            arrowPosition = bottomLeftRadius + arrowWidth / 2;\n        }else if (arrowPosition > YBRectWidth(rect) - bottomRightRadius - arrowWidth / 2) {\n            arrowPosition = YBRectWidth(rect) - bottomRightRadius - arrowWidth / 2;\n        }\n        [bezierPath moveToPoint:CGPointMake(arrowPosition + arrowWidth / 2, YBRectHeight(rect) - arrowHeight + YBRectX(rect))];\n        [bezierPath addLineToPoint:CGPointMake(arrowPosition, YBRectHeight(rect) + YBRectX(rect))];\n        [bezierPath addLineToPoint:CGPointMake(arrowPosition - arrowWidth / 2, YBRectHeight(rect) - arrowHeight + YBRectX(rect))];\n        [bezierPath addLineToPoint:CGPointMake(bottomLeftRadius + YBRectX(rect), YBRectHeight(rect) - arrowHeight + YBRectX(rect))];\n        [bezierPath addArcWithCenter:bottomLeftArcCenter radius:bottomLeftRadius startAngle:M_PI_2 endAngle:M_PI clockwise:YES];\n        [bezierPath addLineToPoint:CGPointMake(YBRectX(rect), topLeftRadius + YBRectX(rect))];\n        [bezierPath addArcWithCenter:topLeftArcCenter radius:topLeftRadius startAngle:M_PI endAngle:M_PI * 3 / 2 clockwise:YES];\n        [bezierPath addLineToPoint:CGPointMake(YBRectWidth(rect) - topRightRadius + YBRectX(rect), YBRectX(rect))];\n        [bezierPath addArcWithCenter:topRightArcCenter radius:topRightRadius startAngle:M_PI * 3 / 2 endAngle:2 * M_PI clockwise:YES];\n        [bezierPath addLineToPoint:CGPointMake(YBRectWidth(rect) + YBRectX(rect), YBRectHeight(rect) - bottomRightRadius - YBRectX(rect) - arrowHeight)];\n        [bezierPath addArcWithCenter:bottomRightArcCenter radius:bottomRightRadius startAngle:0 endAngle:M_PI_2 clockwise:YES];\n        \n    }else if (arrowDirection == YBPopupMenuArrowDirectionLeft) {\n        topLeftArcCenter = CGPointMake(topLeftRadius + YBRectX(rect) + arrowHeight,topLeftRadius + YBRectX(rect));\n        topRightArcCenter = CGPointMake(YBRectWidth(rect) - topRightRadius + YBRectX(rect), topRightRadius + YBRectX(rect));\n        bottomLeftArcCenter = CGPointMake(bottomLeftRadius + YBRectX(rect) + arrowHeight, YBRectHeight(rect) - bottomLeftRadius + YBRectX(rect));\n        bottomRightArcCenter = CGPointMake(YBRectWidth(rect) - bottomRightRadius + YBRectX(rect), YBRectHeight(rect) - bottomRightRadius + YBRectX(rect));\n        if (arrowPosition < topLeftRadius + arrowWidth / 2) {\n            arrowPosition = topLeftRadius + arrowWidth / 2;\n        }else if (arrowPosition > YBRectHeight(rect) - bottomLeftRadius - arrowWidth / 2) {\n            arrowPosition = YBRectHeight(rect) - bottomLeftRadius - arrowWidth / 2;\n        }\n        [bezierPath moveToPoint:CGPointMake(arrowHeight + YBRectX(rect), arrowPosition + arrowWidth / 2)];\n        [bezierPath addLineToPoint:CGPointMake(YBRectX(rect), arrowPosition)];\n        [bezierPath addLineToPoint:CGPointMake(arrowHeight + YBRectX(rect), arrowPosition - arrowWidth / 2)];\n        [bezierPath addLineToPoint:CGPointMake(arrowHeight + YBRectX(rect), topLeftRadius + YBRectX(rect))];\n        [bezierPath addArcWithCenter:topLeftArcCenter radius:topLeftRadius startAngle:M_PI endAngle:M_PI * 3 / 2 clockwise:YES];\n        [bezierPath addLineToPoint:CGPointMake(YBRectWidth(rect) - topRightRadius, YBRectX(rect))];\n        [bezierPath addArcWithCenter:topRightArcCenter radius:topRightRadius startAngle:M_PI * 3 / 2 endAngle:2 * M_PI clockwise:YES];\n        [bezierPath addLineToPoint:CGPointMake(YBRectWidth(rect) + YBRectX(rect), YBRectHeight(rect) - bottomRightRadius - YBRectX(rect))];\n        [bezierPath addArcWithCenter:bottomRightArcCenter radius:bottomRightRadius startAngle:0 endAngle:M_PI_2 clockwise:YES];\n        [bezierPath addLineToPoint:CGPointMake(arrowHeight + bottomLeftRadius + YBRectX(rect), YBRectHeight(rect) + YBRectX(rect))];\n        [bezierPath addArcWithCenter:bottomLeftArcCenter radius:bottomLeftRadius startAngle:M_PI_2 endAngle:M_PI clockwise:YES];\n        \n    }else if (arrowDirection == YBPopupMenuArrowDirectionRight) {\n        topLeftArcCenter = CGPointMake(topLeftRadius + YBRectX(rect),topLeftRadius + YBRectX(rect));\n        topRightArcCenter = CGPointMake(YBRectWidth(rect) - topRightRadius + YBRectX(rect) - arrowHeight, topRightRadius + YBRectX(rect));\n        bottomLeftArcCenter = CGPointMake(bottomLeftRadius + YBRectX(rect), YBRectHeight(rect) - bottomLeftRadius + YBRectX(rect));\n        bottomRightArcCenter = CGPointMake(YBRectWidth(rect) - bottomRightRadius + YBRectX(rect) - arrowHeight, YBRectHeight(rect) - bottomRightRadius + YBRectX(rect));\n        if (arrowPosition < topRightRadius + arrowWidth / 2) {\n            arrowPosition = topRightRadius + arrowWidth / 2;\n        }else if (arrowPosition > YBRectHeight(rect) - bottomRightRadius - arrowWidth / 2) {\n            arrowPosition = YBRectHeight(rect) - bottomRightRadius - arrowWidth / 2;\n        }\n        [bezierPath moveToPoint:CGPointMake(YBRectWidth(rect) - arrowHeight + YBRectX(rect), arrowPosition - arrowWidth / 2)];\n        [bezierPath addLineToPoint:CGPointMake(YBRectWidth(rect) + YBRectX(rect), arrowPosition)];\n        [bezierPath addLineToPoint:CGPointMake(YBRectWidth(rect) - arrowHeight + YBRectX(rect), arrowPosition + arrowWidth / 2)];\n        [bezierPath addLineToPoint:CGPointMake(YBRectWidth(rect) - arrowHeight + YBRectX(rect), YBRectHeight(rect) - bottomRightRadius - YBRectX(rect))];\n        [bezierPath addArcWithCenter:bottomRightArcCenter radius:bottomRightRadius startAngle:0 endAngle:M_PI_2 clockwise:YES];\n        [bezierPath addLineToPoint:CGPointMake(bottomLeftRadius + YBRectX(rect), YBRectHeight(rect) + YBRectX(rect))];\n        [bezierPath addArcWithCenter:bottomLeftArcCenter radius:bottomLeftRadius startAngle:M_PI_2 endAngle:M_PI clockwise:YES];\n        [bezierPath addLineToPoint:CGPointMake(YBRectX(rect), arrowHeight + topLeftRadius + YBRectX(rect))];\n        [bezierPath addArcWithCenter:topLeftArcCenter radius:topLeftRadius startAngle:M_PI endAngle:M_PI * 3 / 2 clockwise:YES];\n        [bezierPath addLineToPoint:CGPointMake(YBRectWidth(rect) - topRightRadius + YBRectX(rect) - arrowHeight, YBRectX(rect))];\n        [bezierPath addArcWithCenter:topRightArcCenter radius:topRightRadius startAngle:M_PI * 3 / 2 endAngle:2 * M_PI clockwise:YES];\n        \n    }else if (arrowDirection == YBPopupMenuArrowDirectionNone) {\n        topLeftArcCenter = CGPointMake(topLeftRadius + YBRectX(rect),  topLeftRadius + YBRectX(rect));\n        topRightArcCenter = CGPointMake(YBRectWidth(rect) - topRightRadius + YBRectX(rect),  topRightRadius + YBRectX(rect));\n        bottomLeftArcCenter = CGPointMake(bottomLeftRadius + YBRectX(rect), YBRectHeight(rect) - bottomLeftRadius + YBRectX(rect));\n        bottomRightArcCenter = CGPointMake(YBRectWidth(rect) - bottomRightRadius + YBRectX(rect), YBRectHeight(rect) - bottomRightRadius + YBRectX(rect));\n        [bezierPath moveToPoint:CGPointMake(topLeftRadius + YBRectX(rect), YBRectX(rect))];\n        [bezierPath addLineToPoint:CGPointMake(YBRectWidth(rect) - topRightRadius, YBRectX(rect))];\n        [bezierPath addArcWithCenter:topRightArcCenter radius:topRightRadius startAngle:M_PI * 3 / 2 endAngle:2 * M_PI clockwise:YES];\n        [bezierPath addLineToPoint:CGPointMake(YBRectWidth(rect) + YBRectX(rect), YBRectHeight(rect) - bottomRightRadius - YBRectX(rect))];\n        [bezierPath addArcWithCenter:bottomRightArcCenter radius:bottomRightRadius startAngle:0 endAngle:M_PI_2 clockwise:YES];\n        [bezierPath addLineToPoint:CGPointMake(bottomLeftRadius + YBRectX(rect), YBRectHeight(rect) + YBRectX(rect))];\n        [bezierPath addArcWithCenter:bottomLeftArcCenter radius:bottomLeftRadius startAngle:M_PI_2 endAngle:M_PI clockwise:YES];\n        [bezierPath addLineToPoint:CGPointMake(YBRectX(rect), arrowHeight + topLeftRadius + YBRectX(rect))];\n        [bezierPath addArcWithCenter:topLeftArcCenter radius:topLeftRadius startAngle:M_PI endAngle:M_PI * 3 / 2 clockwise:YES];\n    }\n    \n    [bezierPath closePath];\n    return bezierPath;\n}\n\n@end\n"
  },
  {
    "path": "CKMeiTuanShopView/CKMeiTuanShopView/ThridParty/YBPopupMenu/YBRectConst.h",
    "content": "//\n//  YBRectMake.h\n//  YBPopupMenu\n//\n//  Created by lyb on 2017/5/9.\n//  Copyright © 2017年 lyb. All rights reserved.\n//\n\n#import <UIKit/UIKit.h>\n\nUIKIT_STATIC_INLINE CGFloat YBRectWidth(CGRect rect)\n{\n    return rect.size.width;\n}\n\nUIKIT_STATIC_INLINE CGFloat YBRectHeight(CGRect rect)\n{\n    return rect.size.height;\n}\n\nUIKIT_STATIC_INLINE CGFloat YBRectX(CGRect rect)\n{\n    return rect.origin.x;\n}\n\nUIKIT_STATIC_INLINE CGFloat YBRectY(CGRect rect)\n{\n    return rect.origin.y;\n}\n\nUIKIT_STATIC_INLINE CGFloat YBRectTop(CGRect rect)\n{\n    return rect.origin.y;\n}\n\nUIKIT_STATIC_INLINE CGFloat YBRectBottom(CGRect rect)\n{\n    return rect.origin.y + rect.size.height;\n}\n\nUIKIT_STATIC_INLINE CGFloat YBRectLeft(CGRect rect)\n{\n    return rect.origin.x;\n}\n\nUIKIT_STATIC_INLINE CGFloat YBRectRight(CGRect rect)\n{\n    return rect.origin.x + rect.size.width;\n}\n\n\n\n\n\n"
  },
  {
    "path": "CKMeiTuanShopView/CKMeiTuanShopView/ThridParty/YBPopupMenu/YBRectConst.m",
    "content": "//\n//  YBRectMake.m\n//  YBPopupMenu\n//\n//  Created by lyb on 2017/5/9.\n//  Copyright © 2017年 lyb. All rights reserved.\n//\n\n#import \"YBRectConst.h\"\n\n\n"
  },
  {
    "path": "CKMeiTuanShopView/CKMeiTuanShopView/Utils/AppDefaultUtil.h",
    "content": "//\n//  AppDefaultUtil.h\n//  SP2P_6.1\n//\n//  Created by 李小斌 on 14-9-30.\n//  Copyright (c) 2014年 EIMS. All rights reserved.\n//\n\n#import <Foundation/Foundation.h>\n\n\n\n@interface AppDefaultUtil : NSObject\n\n/**\n 单例模式，实例化对象\n */\n+ (instancetype)sharedInstance;\n\n\n//图文混排，插入图片\n+ (NSMutableAttributedString *)addAttribute:(NSString *)name withImg:(UIImage *)image withImgSize:(CGRect)bounds insertIndex:(NSInteger)index;\n\n/**行间距*/\n+(NSMutableAttributedString *)returnLineSpacingWithStr:(NSString *)labelText  withLineSpacing:(CGFloat)lineCount withTextAlignmentCenter:(NSTextAlignment )alignment;\n\n+(NSMutableAttributedString *)returnLineSpacingWithStr22:(NSMutableAttributedString *)labelText  withLineSpacing:(CGFloat)lineCount withTextAlignmentCenter:(NSTextAlignment )alignment;\n\n/**\n  字符串两边字体的颜色设置\n\n @param string 字符串\n @param rang 范围\n @param color 颜色\n @return 返回富文本\n */\n+ (NSMutableAttributedString *)returnStringColor:(NSString *)string rang:(NSRange)rang color:(UIColor *)color;\n//字符串两边字体的大小设置\n+ (NSMutableAttributedString *)returnStringSize:(NSString *)string rang:(NSRange)rang size:(CGFloat)size;\n\n\n@end\n"
  },
  {
    "path": "CKMeiTuanShopView/CKMeiTuanShopView/Utils/AppDefaultUtil.m",
    "content": "//\n//  AppDefaultUtil.m\n//  SP2P_6.1\n//\n//\n\n#import \"AppDefaultUtil.h\"\n#import <arpa/inet.h>\n#import <ifaddrs.h>\n\nstatic AppDefaultUtil *_sharedClient = nil;\nstatic dispatch_once_t onceToken;\n\n\n@interface AppDefaultUtil()\n\n\n@end\n\n@implementation AppDefaultUtil\n\n//+ (void)clear {\n//    onceToken = 0;\n//}\n\n+ (instancetype)sharedInstance {\n    \n    dispatch_once(&onceToken, ^{\n        \n        _sharedClient = [[AppDefaultUtil alloc] init];\n    \n    });\n    \n    return _sharedClient;\n}\n\n//图文混排，插入图片\n+ (NSMutableAttributedString *)addAttribute:(NSString *)name withImg:(UIImage *)image withImgSize:(CGRect)bounds insertIndex:(NSInteger)index\n{\n    //1：先创建富文本\n    NSMutableAttributedString * attriStr = [[NSMutableAttributedString alloc] initWithString:name];\n    //设置富文本中的不同文字的样式\n    //    [attriStr addAttribute:NSForegroundColorAttributeName value:[UIColor blueColor] range:NSMakeRange(0, 5)];\n    //    [attriStr addAttribute:NSFontAttributeName value:[UIFont systemFontOfSize:20] range:NSMakeRange(0, 5)];\n    NSTextAttachment *attchImage = [[NSTextAttachment alloc] init];\n    // 表情图片\n    attchImage.image = image;\n    // 设置图片大小\n    attchImage.bounds = bounds;\n    NSAttributedString *stringImage = [NSAttributedString attributedStringWithAttachment:attchImage];\n    [attriStr insertAttributedString:stringImage atIndex:index];\n    return  attriStr;\n}\n\n+(NSMutableAttributedString *)returnLineSpacingWithStr:(NSString *)labelText  withLineSpacing:(CGFloat)lineCount withTextAlignmentCenter:(NSTextAlignment )alignment\n{\n    NSMutableAttributedString *attributedString = [[NSMutableAttributedString alloc] initWithString:labelText];\n    NSMutableParagraphStyle *paragraphStyle = [[NSMutableParagraphStyle alloc] init];\n    \n    [paragraphStyle setLineSpacing:lineCount];//调整行间距\n    [paragraphStyle setAlignment:alignment];\n    [attributedString addAttribute:NSParagraphStyleAttributeName value:paragraphStyle range:NSMakeRange(0, [labelText length])];\n    return attributedString;\n}\n\n+(NSMutableAttributedString *)returnLineSpacingWithStr22:(NSMutableAttributedString *)labelText  withLineSpacing:(CGFloat)lineCount withTextAlignmentCenter:(NSTextAlignment )alignment\n{\n    NSMutableParagraphStyle *paragraphStyle = [[NSMutableParagraphStyle alloc] init];\n    [paragraphStyle setLineSpacing:lineCount];//调整行间距\n    [paragraphStyle setAlignment:alignment];\n    [labelText addAttribute:NSParagraphStyleAttributeName value:paragraphStyle range:NSMakeRange(0, [labelText length])];\n    return labelText;\n}\n\n\n+ (NSMutableAttributedString *)returnStringColor:(NSString *)string rang:(NSRange)rang color:(UIColor *)color\n{\n    NSMutableAttributedString *str = [[NSMutableAttributedString alloc]initWithString:string];\n    [str addAttribute:NSForegroundColorAttributeName value:color range:rang];\n//    [str setAttributes:@{NSFontAttributeName:[UIFont systemFontOfSize:TextSize(15)],NSForegroundColorAttributeName:BLACK_COLOR} range:NSMakeRange(7, timeString.length-7)];\n    return  str;\n}\n\n+ (NSMutableAttributedString *)returnStringSize:(NSString *)string rang:(NSRange)rang size:(CGFloat)size\n{\n    NSMutableAttributedString *str = [[NSMutableAttributedString alloc]initWithString:string];\n    \n    [str addAttribute:NSFontAttributeName value:[UIFont systemFontOfSize:size ] range:rang];\n    return  str;\n}\n\n@end\n"
  },
  {
    "path": "CKMeiTuanShopView/CKMeiTuanShopView/Utils/AppMethods.h",
    "content": "//\n//  AppMethods.h\n//  exsd\n//\n//  Created by CK on 2017/3/1.\n//  Copyright © 2017年 CK. All rights reserved.\n//\n\n#import <Foundation/Foundation.h>\n\n\n@interface AppMethods : NSObject\n// 测试用 2017-10-11\n/**\n 打印Json,便于JsonModel属性生成\n **/\n+ (void)printJsonData:(NSData *)jsonData;\n\n\n\n/**\n  纯色Image 20*20 的素材\n **/\n+ (UIImage *)createImageWithColor:(UIColor *)color;\n//30x30\n+ (UIImage *)createImageWithColor22:(UIColor *)color;\n\n+ (UIImage *)createImageWithColor:(UIColor *)color withSize:(CGSize)size;\n\n#pragma mark - 颜色相关\n+ (UIColor *)colorWithHexString: (NSString *)color;\n+ (UIColor *)colorWithHexString: (NSString *)color WithAlpha:(float)alpha;\n\n\n#pragma mark - 计算字符串宽高\n+ (CGSize)sizeWithFont:(UIFont*)font Str:(NSString*)str withMaxWidth:(CGFloat)maxWidth;\n#pragma mark - 计算富文本字符串宽高\n+ (CGSize)sizeAttributedWithFont:(UIFont*)font Str:(NSMutableAttributedString*)str withMaxWidth:(CGFloat)maxWidth;\n\n#pragma mark - 上传图片相关\n/**\n 将image转成NSData，在进行base64加密\n **/\n+ (NSString *)getImageDataBase64:(UIImage *)image;\n\n#pragma mark - 银行卡账号形式转换\n/**\n 正常号转银行卡号 － 增加4位间的空格\n **/\n+ (NSString *)normalNumToBankNum:(NSString *)normalNum;\n\n/**\n 银行卡号转正常号 － 去除4位间的空格\n **/\n+ (NSString *)bankNumToNormalNum:(NSString *)bankNum;\n\n/**\n 银行卡号中间部分星号 － 左右4位正常显示\n **/\n+ (NSString *)bankNumToSecret:(NSString *)bankNum;\n\n/**\n 通过 parentId 筛选 城市或区（县）\n **/\n+ (NSArray *)filterAraeFromAreaArray:(NSArray *)areaArray useParentId:(NSInteger)parentId;\n/**\n 通过 parentNo 筛选 商家分类\n **/\n+ (NSArray *)filterClassFromAreaArray:(NSArray *)areaArray useParentNo:(NSString *)parentNo;\n/**\n 限制只能输入数字输入 (针对 - (BOOL)textField:(UITextField *)textField shouldChangeCharactersInRange:(NSRange)range replacementString:(NSString *)string)\n **/\n+ (BOOL)validateNumber:(NSString*)number;\n/**\n  压缩图片\n **/\n+ (UIImage *)compressImageWith:(UIImage *)image;\n\n/**\n  去除 “emoji表情” 的方法\n **/\n+ (NSString*)disable_EmojiString:(NSString *)text;\n\n/**\n 去除 “非中文” 的方法\n **/\n+ (NSString*)disable_Non_CineseString:(NSString *)text;\n\n/**\n  判断沙盒文件是否存在\n **/\n+ (BOOL)fileExistingWithFileName:(NSString *)fileName;\n\n#pragma mark - 正则只能输入数字和字母\n+ (BOOL) checkTeshuZifuNumber:(NSString *) CheJiaNumber;\n\n#pragma mark - 将数字转成货币格式字符串\n+ (NSString *)getMoneyStringWithMoneyNumber:(double)money;\n\n\n#pragma mark - 去除掉首尾的空白字符和换行字符\n+ (NSString *)connectedTogetherWithString:(NSString *)string;\n\n@end\n"
  },
  {
    "path": "CKMeiTuanShopView/CKMeiTuanShopView/Utils/AppMethods.m",
    "content": "//\n//  AppMethods.m\n//  exsd\n//\n//  Created by CK on 2017/3/1.\n//  Copyright © 2017年 CK. All rights reserved.\n//  集合 APP 一些公共方法\n\n#import \"AppMethods.h\"\n\n@implementation AppMethods\n\n+ (void)printJsonData:(NSData *)jsonData\n{\n    DMLog(@\"json Str: %@\", [[NSString alloc] initWithData:jsonData encoding:NSUTF8StringEncoding]);\n}\n\n\n+ (UIImage *)createImageWithColor:(UIColor *)color\n{\n    UIGraphicsBeginImageContext(CGSizeMake(20, 20));\n    CGContextRef context = UIGraphicsGetCurrentContext();\n    CGContextSetFillColorWithColor(context, [color CGColor]);\n    CGContextFillRect(context, CGRectMake(0, 0, 20, 20));\n    UIImage *theImage = UIGraphicsGetImageFromCurrentImageContext();\n    UIGraphicsEndImageContext();\n    return [theImage resizableImageWithCapInsets:UIEdgeInsetsMake(5, 5, 5, 5) resizingMode:UIImageResizingModeStretch];\n}\n\n+ (UIImage *)createImageWithColor:(UIColor *)color withSize:(CGSize)size\n{\n    UIGraphicsBeginImageContext(CGSizeMake(size.width, size.height));\n    CGContextRef context = UIGraphicsGetCurrentContext();\n    CGContextSetFillColorWithColor(context, [color CGColor]);\n    CGContextFillRect(context, CGRectMake(0, 0, size.width, size.height));\n    UIImage *theImage = UIGraphicsGetImageFromCurrentImageContext();\n    UIGraphicsEndImageContext();\n    return [theImage resizableImageWithCapInsets:UIEdgeInsetsMake(5, 5, 5, 5) resizingMode:UIImageResizingModeStretch];\n}\n\n+ (UIImage *)createImageWithColor22:(UIColor *)color\n{\n    UIGraphicsBeginImageContext(CGSizeMake(20, 30));\n    CGContextRef context = UIGraphicsGetCurrentContext();\n    CGContextSetFillColorWithColor(context, [color CGColor]);\n    CGContextFillRect(context, CGRectMake(0, 0, 20, 30));\n    UIImage *theImage = UIGraphicsGetImageFromCurrentImageContext();\n    UIGraphicsEndImageContext();\n    return [theImage resizableImageWithCapInsets:UIEdgeInsetsMake(5, 5, 5, 5) resizingMode:UIImageResizingModeStretch];\n}\n\n\n\n#pragma mark - 颜色相关\n+ (UIColor *)colorWithHexString: (NSString *)color\n{\n    NSString *cString = [[color stringByTrimmingCharactersInSet:[NSCharacterSet whitespaceAndNewlineCharacterSet]] uppercaseString];\n    \n    // String should be 6 or 8 characters\n    if ([cString length] < 6) {\n        return [UIColor clearColor];\n    }\n    \n    // strip 0X if it appears\n    if ([cString hasPrefix:@\"0X\"])\n        cString = [cString substringFromIndex:2];\n    if ([cString hasPrefix:@\"#\"])\n        cString = [cString substringFromIndex:1];\n    if ([cString length] != 6)\n        return [UIColor clearColor];\n    \n    // Separate into r, g, b substrings\n    NSRange range;\n    range.location = 0;\n    range.length = 2;\n    \n    //r\n    NSString *rString = [cString substringWithRange:range];\n    \n    //g\n    range.location = 2;\n    NSString *gString = [cString substringWithRange:range];\n    \n    //b\n    range.location = 4;\n    NSString *bString = [cString substringWithRange:range];\n    \n    // Scan values\n    unsigned int r, g, b;\n    [[NSScanner scannerWithString:rString] scanHexInt:&r];\n    [[NSScanner scannerWithString:gString] scanHexInt:&g];\n    [[NSScanner scannerWithString:bString] scanHexInt:&b];\n    \n    return [UIColor colorWithRed:((float) r / 255.0f) green:((float) g / 255.0f) blue:((float) b / 255.0f) alpha:1.0f];\n}\n\n\n+ (UIColor *)colorWithHexString: (NSString *)color WithAlpha:(float)alpha\n{\n    NSString *cString = [[color stringByTrimmingCharactersInSet:[NSCharacterSet whitespaceAndNewlineCharacterSet]] uppercaseString];\n    \n    // String should be 6 or 8 characters\n    if ([cString length] < 6) {\n        return [UIColor clearColor];\n    }\n    \n    // strip 0X if it appears\n    if ([cString hasPrefix:@\"0X\"])\n        cString = [cString substringFromIndex:2];\n    if ([cString hasPrefix:@\"#\"])\n        cString = [cString substringFromIndex:1];\n    if ([cString length] != 6)\n        return [UIColor clearColor];\n    \n    // Separate into r, g, b substrings\n    NSRange range;\n    range.location = 0;\n    range.length = 2;\n    \n    //r\n    NSString *rString = [cString substringWithRange:range];\n    \n    //g\n    range.location = 2;\n    NSString *gString = [cString substringWithRange:range];\n    \n    //b\n    range.location = 4;\n    NSString *bString = [cString substringWithRange:range];\n    \n    // Scan values\n    unsigned int r, g, b;\n    [[NSScanner scannerWithString:rString] scanHexInt:&r];\n    [[NSScanner scannerWithString:gString] scanHexInt:&g];\n    [[NSScanner scannerWithString:bString] scanHexInt:&b];\n    \n    return [UIColor colorWithRed:((float) r / 255.0f) green:((float) g / 255.0f) blue:((float) b / 255.0f) alpha:alpha];\n}\n\n#pragma mark - 计算字符串宽高\n+ (CGSize)sizeWithFont:(UIFont*)font Str:(NSString*)str withMaxWidth:(CGFloat)maxWidth\n{\n    NSDictionary *attribute = @{NSFontAttributeName: font};\n    CGSize strSize = [str boundingRectWithSize:CGSizeMake(maxWidth, CGFLOAT_MAX)\n                                       options:(NSStringDrawingUsesLineFragmentOrigin | NSStringDrawingUsesFontLeading)\n                                    attributes:attribute\n                                       context:nil].size;\n    \n    return strSize;\n}\n\n+ (CGSize)sizeAttributedWithFont:(UIFont*)font Str:(NSMutableAttributedString*)str withMaxWidth:(CGFloat)maxWidth\n{\n    CGSize strSize = [str boundingRectWithSize:CGSizeMake(maxWidth, CGFLOAT_MAX) options:(NSStringDrawingUsesLineFragmentOrigin | NSStringDrawingUsesFontLeading) context:nil].size;\n    return strSize;\n}\n\n\n+ (NSString *)getImageDataBase64:(UIImage *)image\n{\n    NSData *imageData =nil;\n    \n    //图片要压缩的比例，此处100根据需求，自行设置\n    CGFloat x =100 / image.size.height;\n    if (x >1)\n    {\n        x = 1.0;\n    }\n    \n    imageData = UIImageJPEGRepresentation(image, x);\n    \n    return [@\"data:image/png;base64,\" stringByAppendingString:[imageData base64EncodedStringWithOptions:0]];\n}\n\n#pragma mark - 银行卡账号形式转换\n// 正常号转银行卡号 － 增加4位间的空格\n+ (NSString *)normalNumToBankNum:(NSString *)normalNum\n{\n    if (normalNum == nil || normalNum.length == 0) {\n        return @\"\";\n    }\n    \n    NSString *tmpStr = [AppMethods bankNumToNormalNum:normalNum];\n    \n    NSInteger size = (tmpStr.length / 4);\n    \n    NSMutableArray *tmpStrArr = [[NSMutableArray alloc] init];\n    for (int n = 0;n < size; n++)\n    {\n        [tmpStrArr addObject:[tmpStr substringWithRange:NSMakeRange(n*4, 4)]];\n    }\n    \n    [tmpStrArr addObject:[tmpStr substringWithRange:NSMakeRange(size*4, (tmpStr.length % 4))]];\n    \n    tmpStr = [tmpStrArr componentsJoinedByString:@\" \"];\n    //去掉前后的空格\n    if ([tmpStr hasPrefix:@\" \"] || [tmpStr hasSuffix:@\" \"] == YES)\n    {\n        tmpStr = [tmpStr stringByTrimmingCharactersInSet:[NSCharacterSet whitespaceCharacterSet]];\n    }\n    \n    return tmpStr;\n}\n\n// 银行卡号转正常号 － 去除4位间的空格\n+ (NSString *)bankNumToNormalNum:(NSString *)bankNum\n{\n    return [bankNum stringByReplacingOccurrencesOfString:@\" \" withString:@\"\"];\n}\n\n+ (NSString *)bankNumToSecret:(NSString *)bankNum\n{\n    if (bankNum.length < 8 || bankNum == nil)\n    {\n        return bankNum;\n    }\n    NSString *star = @\"\";\n    for (int i = 0; i < (bankNum.length-8) ; i++)\n    {\n        star = [star stringByAppendingString:@\"*\"];\n    }\n    \n    NSString *tmpStr = [bankNum stringByReplacingCharactersInRange:NSMakeRange(4, bankNum.length-8) withString:star];\n    return tmpStr;\n}\n\n#pragma mark - 通过 parentId 筛选 城市或区（县）\n+ (NSArray *)filterAraeFromAreaArray:(NSArray *)areaArray useParentId:(NSInteger)parentId\n{\n    NSPredicate *pred = [NSPredicate predicateWithFormat:@\"parentId == %@\", @(parentId)];\n    NSArray *resultArray = [areaArray filteredArrayUsingPredicate:pred];\n    return resultArray;\n}\n\n#pragma mark - 通过 parentNo 筛选 分类\n+ (NSArray *)filterClassFromAreaArray:(NSArray *)areaArray useParentNo:(NSString *)parentNo\n{\n    NSPredicate *pred = [NSPredicate predicateWithFormat:@\"parentNo == %@\",parentNo];\n    NSArray *resultArray = [areaArray filteredArrayUsingPredicate:pred];\n    return resultArray;\n}\n\n#pragma mark - 限制只能输入数字输入\n+ (BOOL)validateNumber:(NSString*)number\n{\n    BOOL res = YES;\n    NSCharacterSet* tmpSet = [NSCharacterSet characterSetWithCharactersInString:@\"0123456789\"];\n    int i = 0;\n    while (i < number.length) {\n        NSString * string = [number substringWithRange:NSMakeRange(i, 1)];\n        NSRange range = [string rangeOfCharacterFromSet:tmpSet];\n        if (range.length == 0) {\n            res = NO;\n            break;\n        }\n        i++;\n    }\n    return res;\n}\n\n//压缩图片\n+ (UIImage *)compressImageWith:(UIImage *)image\n{\n    float imageWidth = image.size.width;\n    float imageHeight = image.size.height;\n    float width = 640;\n    float height = image.size.height/(image.size.width/width);\n    \n    float widthScale = imageWidth /width;\n    float heightScale = imageHeight /height;\n    \n    // 创建一个bitmap的context\n    // 并把它设置成为当前正在使用的context\n    UIGraphicsBeginImageContext(CGSizeMake(width, height));\n    \n    if (widthScale > heightScale) {\n        [image drawInRect:CGRectMake(0, 0, imageWidth /heightScale , height)];\n    }\n    else {\n        [image drawInRect:CGRectMake(0, 0, width , imageHeight /widthScale)];\n    }\n    \n    // 从当前context中创建一个改变大小后的图片\n    UIImage *newImage = UIGraphicsGetImageFromCurrentImageContext();\n    // 使当前的context出堆栈\n    UIGraphicsEndImageContext();\n    \n    return newImage;\n    \n}\n\n\n//去除emoji表情的方法\n+ (NSString*)disable_EmojiString:(NSString *)text\n{\n    //去除表情规则\n    //  \\u0020-\\\\u007E  标点符号，大小写字母，数字\n    //  \\u00A0-\\\\u00BE  特殊标点  (¡¢£¤¥¦§¨©ª«¬­®¯°±²³´µ¶·¸¹º»¼½¾)\n    //  \\u2E80-\\\\uA4CF  繁简中文,日文，韩文 彝族文字\n    //  \\uF900-\\\\uFAFF  部分汉字\n    //  \\uFE30-\\\\uFE4F  特殊标点(︴︵︶︷︸︹)\n    //  \\uFF00-\\\\uFFEF  日文  (ｵｶｷｸｹｺｻ)\n    //  \\u2000-\\\\u201f  特殊字符(‐‑‒–—―‖‗‘’‚‛“”„‟)\n    // 注：对照表 http://blog.csdn.net/hherima/article/details/9045765\n    \n    NSRegularExpression* expression = [NSRegularExpression regularExpressionWithPattern:@\"[^\\\\u0020-\\\\u007E\\\\u00A0-\\\\u00BE\\\\u2E80-\\\\uA4CF\\\\uF900-\\\\uFAFF\\\\uFE30-\\\\uFE4F\\\\uFF00-\\\\uFFEF\\\\u2000-\\\\u201f\\r\\n]\"\n                                                                                options:NSRegularExpressionCaseInsensitive\n                                                                                  error:nil];\n    \n    \n    NSString* result = [expression stringByReplacingMatchesInString:text options:0 range:NSMakeRange(0, text.length) withTemplate:@\"\"];\n    \n    return result;\n}\n\n//去除非中文的方法\n+ (NSString*)disable_Non_CineseString:(NSString *)text\n{\n    NSRegularExpression* expression = [NSRegularExpression regularExpressionWithPattern:@\"[^\\u4e00-\\u9fa5]\"\n                                                                                options:NSRegularExpressionCaseInsensitive\n                                                                                  error:nil];\n    \n    \n    NSString* result = [expression stringByReplacingMatchesInString:text options:0 range:NSMakeRange(0, text.length) withTemplate:@\"\"];\n    \n    return result;\n}\n\n#pragma mark - 判断沙盒文件是否存在\n+ (BOOL)fileExistingWithFileName:(NSString *)fileName {\n    \n    NSArray *path = NSSearchPathForDirectoriesInDomains(NSDocumentDirectory, NSUserDomainMask, YES);\n    NSString *documentsPath = [path objectAtIndex:0];\n    NSString *plistPath = [documentsPath stringByAppendingPathComponent:fileName];\n    NSFileManager *fileManager = [NSFileManager defaultManager];\n    return [fileManager fileExistsAtPath:plistPath];\n}\n\n\n#pragma 正则匹配用户密码6-18位数字和字母组合\n+ (BOOL)checkPassword:(NSString *) password\n{\n    NSString *pattern = @\"^(?![0-9]+$)(?![a-zA-Z]+$)[a-zA-Z0-9]{6,18}\";\n    NSPredicate *pred = [NSPredicate predicateWithFormat:@\"SELF MATCHES %@\", pattern];\n    BOOL isMatch = [pred evaluateWithObject:password];\n    return isMatch;\n    \n}\n\n#pragma 正则只能输入数字和字母\n+ (BOOL) checkTeshuZifuNumber:(NSString *) CheJiaNumber{\n    NSString *bankNum=@\"^[A-Za-z0-9]+$\";\n    NSPredicate *pred = [NSPredicate predicateWithFormat:@\"SELF MATCHES %@\",bankNum];\n    BOOL isMatch = [pred evaluateWithObject:CheJiaNumber];\n    return isMatch;\n}\n\n+ (NSString *) nullDefultString: (NSString *)fromString null:(NSString *)nullStr{\n    if ([fromString isEqualToString:@\"\"] || [fromString isEqualToString:@\"(null)\"] || [fromString isEqualToString:@\"<null>\"] || [fromString isEqualToString:@\"null\"] || fromString==nil) {\n        return nullStr;\n    }else{\n        return fromString;\n    }\n}\n\n// 判断字符串为空或只为空格\n+(BOOL)isBlankString:(NSString *)string\n{\n    if (string == nil) {\n        return YES;\n    }\n    if (string == NULL) {\n        return YES;\n    }\n    if([string isKindOfClass:[NSString class]] == NO)\n    {\n        return YES;\n    }\n    if(string.length == 0)\n    {\n        return YES;\n    }\n    if ([[string stringByTrimmingCharactersInSet:[NSCharacterSet whitespaceAndNewlineCharacterSet]] length] == 0) {\n        return YES;\n    }\n    if ([string.lowercaseString isEqualToString:@\"(null)\"] || [string.lowercaseString isEqualToString:@\"null\"] || [string.lowercaseString isEqualToString:@\"<null>\"])\n    {\n        return YES;\n    }\n    return NO;\n}\n\n+ (NSString *)getMoneyStringWithMoneyNumber:(double)money {\n    NSNumberFormatter *numberFormatter = [[NSNumberFormatter alloc] init];\n    // 设置格式\n    [numberFormatter setPositiveFormat:@\"###,##0.00;\"];\n    NSString *formattedNumberString = [numberFormatter stringFromNumber:[NSNumber numberWithDouble:money]];\n    return formattedNumberString;\n}\n\n\n+ (NSString *)connectedTogetherWithString:(NSString *)string {\n    string = [string stringByTrimmingCharactersInSet:[NSCharacterSet whitespaceAndNewlineCharacterSet]]; //去除掉首尾的空白字符和换行字符\n    string = [string stringByReplacingOccurrencesOfString:@\"\\r\" withString:@\"\"];\n    string = [string stringByReplacingOccurrencesOfString:@\"\\n\" withString:@\"\"];\n    return string;\n}\n\n@end\n"
  },
  {
    "path": "CKMeiTuanShopView/CKMeiTuanShopView/Utils/ToolManager.h",
    "content": "//\n//  ToolManager.h\n//  AppPark\n//\n//  Created by 池康 on 2017/11/22.\n//\n\n#import <Foundation/Foundation.h>\n\n@interface ToolManager : NSObject\n\n\n//小写数字转汉字大写\n+ (NSString *)ChineseWithInteger:(NSInteger)integer;\n\n+ (NSString *)returnBreakfastType:(NSString *)BreakfastType;\n\n+ (NSString *)returnCancelType:(NSString *)cancelType;\n\n//豪华程度\n+ (NSString *)returnRoomType:(NSString *)RoomType  withTime:(NSString *)timeString;\n//预期程度\n+ (NSString *)returnYuQiType:(NSString *)YuQiType;\n\n\n//URL  解码\n+ (NSString *)URLDecodedString:(NSString *)str;\n\n//返回具体的时间\n+ (NSString *)returnTime:(NSString *)time format:(NSString *)format;\n\n//返回APP图标\n+ (NSData *)returnIconImage;\n\n\n//生成高清二维码图片\n+ (UIImage *)createNonInterpolatedUIImageWithText:(NSString *)text withSize:(CGFloat) size;\n\n#pragma mark 公用方法\n//通过字符串返回颜色FFFFFF\n+ (UIColor *)getColor:(NSString *)colorValue andAlpha:(CGFloat)alphaValue;\n@end\n"
  },
  {
    "path": "CKMeiTuanShopView/CKMeiTuanShopView/Utils/ToolManager.m",
    "content": "//\n//  ToolManager.m\n//  AppPark\n//\n//  Created by 池康 on 2017/11/22.\n//\n\n#import \"ToolManager.h\"\n#import <CommonCrypto/CommonDigest.h>\n@implementation ToolManager\n/** 直接传入精度丢失有问题的Double类型*/\nNSString *decimalNumberWithDouble(double conversionValue){\n    NSString *doubleString        = [NSString stringWithFormat:@\"%lf\", conversionValue];\n    NSDecimalNumber *decNumber    = [NSDecimalNumber decimalNumberWithString:doubleString];\n    return [decNumber stringValue];\n}\n\n+ (NSString *)ChineseWithInteger:(NSInteger)integer\n{\n    NSNumberFormatter *formatter = [[NSNumberFormatter alloc] init];\n    formatter.numberStyle = kCFNumberFormatterRoundHalfDown;\n    NSString *string = [formatter stringFromNumber:[NSNumber numberWithInt:(int)integer]];\n    return string;\n}  \n\n\n+ (NSString *)returnBreakfastType:(NSString *)BreakfastType\n{\n    NSString *string = @\"\";\n    //早餐：0-无早，1-双早，2-三早，3-四早，4-单早\n    switch ([BreakfastType integerValue]) {\n        case 0:\n        {\n            string = @\"无早\";\n        }\n            break;\n        case 1:\n        {\n            string = @\"双早\";\n        }\n            break;\n        case 2:\n        {\n            string = @\"三早\";\n        }\n            break;\n        case 3:\n        {\n           string = @\"四早\";\n        }\n            break;\n        case 4:\n        {\n           string = @\"单早\";\n        }\n            break;\n            \n        default:\n            break;\n    }\n    return string;\n}\n\n+ (NSString *)returnCancelType:(NSString *)cancelType\n{\n    NSString *string = @\"\";\n    //1-不可取消，2-限时取消，3-免费取消\n    switch ([cancelType integerValue]) {\n        case 1:\n        {\n            string = @\"不可取消\";\n        }\n            break;\n        case 2:\n        {\n            string = @\"限时取消\";\n        }\n            break;\n        case 3:\n        {\n            string = @\"免费取消\";\n        }\n            break;\n            \n        default:\n            break;\n    }\n    return string;\n}\n\n+ (NSString *)returnRoomType:(NSString *)RoomType withTime:(NSString *)timeString\n{\n    \n    NSString *string = @\"\";\n    switch ([RoomType integerValue]) {\n        case 1:\n        {\n            string = [NSString stringWithFormat:@\"%@ | %@\",@\"公寓\",timeString];\n        }\n            break;\n        case 2:\n        {\n            string = [NSString stringWithFormat:@\"%@ | %@\",@\"经济连锁\",timeString];\n        }\n            break;\n        case 3:\n        {\n            string = [NSString stringWithFormat:@\"%@ | %@\",@\"其他\",timeString];\n        }\n            break;\n        case 4:\n        {\n            string = [NSString stringWithFormat:@\"%@ | %@\",@\"舒适型\",timeString];\n        }\n            break;\n        case 5:\n        {\n            string = [NSString stringWithFormat:@\"%@ | %@\",@\"高档型\",timeString];\n        }\n            break;\n        case 6:\n        {\n            string = [NSString stringWithFormat:@\"%@ | %@\",@\"豪华型\",timeString];\n        }\n            break;\n        default:\n            break;\n    }\n    return string;\n}\n//预期程度\n+ (NSString *)returnYuQiType:(NSString *)YuQiType\n{\n    NSString *string = @\"\";\n    if ([YuQiType floatValue] >= 4.8) {\n        string = @\"超出预期\";\n    }else if ([YuQiType floatValue]>=4.5&&[YuQiType floatValue] < 4.8){\n        string = @\"极好\";\n    }else if ([YuQiType floatValue]>=4.0&&[YuQiType floatValue] < 4.5)\n    {\n        string = @\"不错\";\n    }else if ([YuQiType floatValue]>=3.0&&[YuQiType floatValue] < 4.0)\n    {\n       string = @\"一般\";\n    }else if ([YuQiType floatValue]>=2.0&&[YuQiType floatValue] < 3.0)\n    {\n        string = @\"较差\";\n    }else\n    {\n       string = @\"很差\";\n    }\n    return string;\n}\n\n+ (NSString *)URLDecodedString:(NSString *)str\n{\n    NSString *decodedString=(__bridge_transfer NSString *)CFURLCreateStringByReplacingPercentEscapesUsingEncoding(NULL, (__bridge CFStringRef)str, CFSTR(\"\"), CFStringConvertNSStringEncodingToEncoding(NSUTF8StringEncoding));\n    \n    return decodedString;\n}\n\n+ (NSString *)returnTime:(NSString *)time format:(NSString *)format\n{\n    NSDateFormatter * dateFormatter = [[NSDateFormatter alloc] init];\n    [dateFormatter setDateFormat:@\"yyyy-MM-dd HH:mm:ss\"];\n    NSDate *date = [dateFormatter dateFromString:time];\n    NSString *timeString = [date stringWithFormat:format];\n    return timeString;\n}\n\n\n//返回APP图标\n+ (NSData *)returnIconImage\n{\n    NSDictionary *infoPlist = [[NSBundle mainBundle] infoDictionary];\n    NSString *icon = [[infoPlist valueForKeyPath:@\"CFBundleIcons.CFBundlePrimaryIcon.CFBundleIconFiles\"] lastObject];\n    UIImage* image = [UIImage imageNamed:icon];\n    NSData *data = UIImagePNGRepresentation(image);\n    return data;\n}\n\n\n+ (UIImage *)createNonInterpolatedUIImageWithText:(NSString *)text withSize:(CGFloat) size\n{\n    // 1. 实例化二维码滤镜\n    CIFilter *filter = [CIFilter filterWithName:@\"CIQRCodeGenerator\"];\n    // 2. 恢复滤镜的默认属性\n    [filter setDefaults];\n    // 3. 将字符串转换成NSData\n    NSString *urlStr = text;\n    NSData *data = [urlStr dataUsingEncoding:NSUTF8StringEncoding];\n    // 4. 通过KVO设置滤镜inputMessage数据\n    [filter setValue:data forKey:@\"inputMessage\"];\n    // 5. 获得滤镜输出的图像\n    CIImage *outputImage = [filter outputImage];\n    // 6. 将CIImage转换成UIImage，并放大显示 (此时获取到的二维码比较模糊,所以需要用下面的createNonInterpolatedUIImageFormCIImage方法重绘二维码)\n    UIImage *codeImage = [self createNonInterpolatedUIImageFormCIImage:outputImage withSize:size];\n    return codeImage;\n}\n\n/**\n* 根据CIImage生成指定大小的UIImage\n*\n* @param image CIImage\n* @param size 图片宽度\n*/\n+ (UIImage *)createNonInterpolatedUIImageFormCIImage:(CIImage *)image withSize:(CGFloat) size\n{\n    CGRect extent = CGRectIntegral(image.extent);\n    CGFloat scale = MIN(size/CGRectGetWidth(extent), size/CGRectGetHeight(extent));\n    // 1.创建bitmap;\n    size_t width = CGRectGetWidth(extent) * scale;\n    size_t height = CGRectGetHeight(extent) * scale;\n    CGColorSpaceRef cs = CGColorSpaceCreateDeviceGray();\n    CGContextRef bitmapRef = CGBitmapContextCreate(nil, width, height, 8, 0, cs, (CGBitmapInfo)kCGImageAlphaNone);\n    CIContext *context = [CIContext contextWithOptions:nil];\n    CGImageRef bitmapImage = [context createCGImage:image fromRect:extent];\n    CGContextSetInterpolationQuality(bitmapRef, kCGInterpolationNone);\n    CGContextScaleCTM(bitmapRef, scale, scale);\n    CGContextDrawImage(bitmapRef, extent, bitmapImage);\n    // 2.保存bitmap到图片\n    CGImageRef scaledImage = CGBitmapContextCreateImage(bitmapRef);\n    CGContextRelease(bitmapRef);\n    CGImageRelease(bitmapImage);\n    return [UIImage imageWithCGImage:scaledImage];\n}\n\n#pragma mark 公用方法\n//通过字符串返回颜色FFFFFF\n+ (UIColor *)getColor:(NSString *)colorValue andAlpha:(CGFloat)alphaValue\n{\n    unsigned int rf = 0, gf = 0, bf = 0;\n    if ([colorValue length] == 6)\n    {\n        NSString *cString = [[colorValue stringByTrimmingCharactersInSet:[NSCharacterSet whitespaceAndNewlineCharacterSet]] uppercaseString];\n        [[NSScanner scannerWithString:[cString substringWithRange:NSMakeRange(0,2)]] scanHexInt:&rf];\n        [[NSScanner scannerWithString:[cString substringWithRange:NSMakeRange(2,2)]] scanHexInt:&gf];\n        [[NSScanner scannerWithString:[cString substringWithRange:NSMakeRange(4,2)]] scanHexInt:&bf];\n    }\n    else if([colorValue length] == 8)\n    {\n        NSString *cString = [[colorValue stringByTrimmingCharactersInSet:[NSCharacterSet whitespaceAndNewlineCharacterSet]] uppercaseString];\n        [[NSScanner scannerWithString:[cString substringWithRange:NSMakeRange(2,2)]] scanHexInt:&rf];\n        [[NSScanner scannerWithString:[cString substringWithRange:NSMakeRange(4,2)]] scanHexInt:&gf];\n        [[NSScanner scannerWithString:[cString substringWithRange:NSMakeRange(6,2)]] scanHexInt:&bf];\n    }\n    //DMLog(@\"rf=%f  gf=%f bf=%f\", rf, gf, bf);\n    return [UIColor colorWithRed:rf/255.0f green:gf/255.0f blue:bf/255.0f alpha:alphaValue];\n}\n\n@end\n"
  },
  {
    "path": "CKMeiTuanShopView/CKMeiTuanShopView/Utils/UITool.h",
    "content": "//\n//  UITool.h\n//\n//  Created by md003 on 15-10-31.\n//  Copyright (c) 2015年 emis. All rights reserved.\n//\n\n#import <Foundation/Foundation.h>\n#import <UIKit/UIKit.h>\n#import \"MJRefresh.h\"\n//#import \"CustomLabel.h\"\ntypedef void(^naviBarsubViews)(UIImageView *iv,UIButton *leftButton,UIButton * rightButton);\n\ntypedef NS_ENUM(NSInteger,ButtonTag){\n    ButtonTagLeft,\n    ButtonTagRight\n};\n\ntypedef void (^httpRequest)();//刷新请求\n\n@interface UITool : NSObject\n\n@property (nonatomic,copy)httpRequest headRequest;\n\n+ (UITextField *)createTextFieldWithFrame:(CGRect)frame\n                          backgroundColor:(UIColor *)backgroundColor\n                              placeholder:(NSString *)placeholder\n                                      tag:(int)tag;\n+ (UITextField *)createTextFieldWithFrame:(CGRect)frame\n                          backgroundColor:(UIColor *)backgroundColor\n                              placeholder:(NSString *)placeholder\n                                      tag:(int)tag\n                                textColor:(UIColor *)textColor\n                                leftImage:(UIImage *)image;\n+ (UILabel *)createLabelWithFrame:(CGRect)frame\n                  backgroundColor:(UIColor *)backgroundColor\n                        textColor:(UIColor *)textColor;\n\n\n+ (UIImageView *)createImageViewWithFrame:(CGRect)frame\n                                 UIImage :(NSString *)image\n                            cornerRadius :(int)cornerRadius;\n\n+ (UIButton *)createButtonWithFrame:(CGRect)frame\n                              title:(NSString *)title\n                    backgroundColor:(UIColor *)backgroundColor\n                         titleColor:(UIColor *)titleColor\n                             target:(id)target\n                           selector:(SEL)selector\n                                tag:(int)tag;\n\n+ (UIScrollView *)createScrollViewWithFrame:(CGRect)frame\n                                contentSize:(CGSize)contentSize\n                                    bounces:(BOOL)bounces;\n\n+ (UILabel *)createLabelWithFrame:(CGRect)frame\n                      backgroundColor:(UIColor *)backgroundColor\n                            textColor:(UIColor *)textColor\n                             textSize:(CGFloat)size\n                            alignment:(NSTextAlignment)alignment\n                                lines:(NSInteger)lines;\n\n+ (UILabel *)createLabelWithTextColor:(UIColor *)textColor\n                             textSize:(CGFloat)size\n                            alignment:(NSTextAlignment)alignment;\n\n+ (id)lineLabWithFrame:(CGRect)frame;\n\n//#pragma mark  -----上拉和下拉刷新\n//+ (MJRefreshGifHeader *)addBaseMJRefreshGifHeader:(httpRequest )request;\n//\n//+ (MJRefreshBackGifFooter *)addBaseMJRefreshGifFooter:(httpRequest )request;\n@end\n"
  },
  {
    "path": "CKMeiTuanShopView/CKMeiTuanShopView/Utils/UITool.m",
    "content": "//\n//  UITool.m\n//  WuXianJi\n//\n//  Created by md003 on 15-10-31.\n//  Copyright (c) 2015年 emis. All rights reserved.\n//\n\n#import \"UITool.h\"\n\ntypedef void(^leftButtonAction)(UIButton *button);\ntypedef void(^rightButtonAction)(UIButton *button);\n\n\n@implementation UITool\n+ (UITextField *)createTextFieldWithFrame:(CGRect)frame\n                          backgroundColor:(UIColor *)backgroundColor\n                              placeholder:(NSString *)placeholder\n                                      tag:(int)tag\n\n{\n    UITextField *textField = [[UITextField alloc]init];\n    \n    textField.tag                  = tag;\n    textField.frame                = frame;\n    textField.placeholder          = placeholder;\n    textField.borderStyle          = UITextBorderStyleNone;\n    textField.backgroundColor      = backgroundColor;\n    textField.clearsOnBeginEditing = NO;\n    \n    return textField;\n}\n\n\n//label封装\n+ (UILabel *)createLabelWithFrame:(CGRect)frame\n                  backgroundColor:(UIColor *)backgroundColor\n                        textColor:(UIColor *)textColor\n\n{\n    UILabel *label = [[UILabel alloc]init];\n    //创建对象\n    label.frame = frame;\n    //设置多行显示\n//    label.numberOfLines = 1;\n    //设置字体颜色\n    label.textColor = textColor;\n    //开启字体高亮\n    label.highlighted = YES;\n    //开启字体大小自动缩放\n    //    label.adjustsFontSizeToFitWidth=YES;\n    //设置颜色\n    label.backgroundColor = backgroundColor;\n    //对齐方式,默认左对齐\n    label.textAlignment = NSTextAlignmentLeft;\n    //把label返回给对象\n    return label;\n}\n\n+ (UILabel *)createLabelWithFrame:(CGRect)frame\n                  backgroundColor:(UIColor *)backgroundColor\n                        textColor:(UIColor *)textColor\n                         textSize:(CGFloat)size\n                        alignment:(NSTextAlignment)alignment\n                            lines:(NSInteger)lines\n\n{\n    UILabel *label = [[UILabel alloc]init];\n    label.frame = frame;\n    label.textColor = textColor;\n    //开启字体大小自动缩放\n    //label.adjustsFontSizeToFitWidth=YES;\n    label.backgroundColor = backgroundColor;\n    label.font = [UIFont systemFontOfSize:size];\n    label.textAlignment = alignment;\n    label.numberOfLines = lines;\n    return label;\n}\n\n\n+ (UILabel *)createLabelWithTextColor:(UIColor *)textColor\n                         textSize:(CGFloat)size\n                        alignment:(NSTextAlignment)alignment\n\n{\n    UILabel *label = [[UILabel alloc]init];\n    label.textColor = textColor;\n    label.font = [UIFont systemFontOfSize:size];\n    label.textAlignment = alignment;\n    return label;\n}\n\n\n+ (id)lineLabWithFrame:(CGRect)frame\n{\n    UILabel *label = [[UILabel alloc]initWithFrame:frame];\n    label.backgroundColor = kColor_borderColor;\n    return label;\n}\n\n+ (UIImageView *)createImageViewWithFrame:(CGRect)frame\n                                UIImage :(NSString *)image\n                           cornerRadius :(int)cornerRadius\n\n\n{\n    UIImageView *imageView = [[UIImageView alloc]initWithImage:[UIImage imageNamed:image]];\n    imageView.frame               = frame;\n    //图片切成圆角\n    imageView.layer.cornerRadius  = cornerRadius;\n    //遮罩后面的图片\n    imageView.layer.masksToBounds = YES;\n    //加入视图里面\n    imageView.contentMode         = UIViewContentModeScaleAspectFit;\n    \n    \n    return imageView;\n    \n}\n\n/**\n * 封装方法\n */\n+ (UIButton *)createButtonWithFrame:(CGRect)frame\n                              title:(NSString *)title\n                    backgroundColor:(UIColor *)backgroundColor\n                         titleColor:(UIColor *)titleColor\n                             target:(id)target\n                           selector:(SEL)selector\n                                tag:(int)tag\n{\n    UIButton *button = [UIButton buttonWithType:UIButtonTypeCustom];\n    \n    button.tag                = tag;\n    button.frame              = frame;\n    \n    [button setBackgroundImage:[AppMethods createImageWithColor:backgroundColor] forState:UIControlStateNormal];\n    \n    button.layer.borderWidth  = 0;\n    button.layer.cornerRadius = 0;\n    button.layer.masksToBounds = YES;\n    \n    [button setTitle:title forState:UIControlStateNormal];\n    [button setTitleColor:titleColor forState:UIControlStateNormal];\n    [button addTarget:target action:selector forControlEvents:UIControlEventTouchUpInside];\n    \n    return button;\n}\n\n+ (UIScrollView *)createScrollViewWithFrame:(CGRect)frame\n                                contentSize:(CGSize)contentSize\n                                    bounces:(BOOL)bounces\n\n{\n    UIScrollView *scrollView = [[UIScrollView alloc]init];\n    \n    scrollView.frame = frame;\n    scrollView.bounces = bounces;//是否可以拖到边缘\n    scrollView.contentSize = contentSize;\n    scrollView.pagingEnabled = NO;\n    scrollView.showsHorizontalScrollIndicator = NO;//是否隐藏进度条\n    scrollView.showsVerticalScrollIndicator = NO; //\n    \n    return scrollView;\n}\n\n\n+ (UITextField *)createTextFieldWithFrame:(CGRect)frame\n                          backgroundColor:(UIColor *)backgroundColor\n                              placeholder:(NSString *)placeholder\n                                      tag:(int)tag\n                                textColor:(UIColor *)textColor\n                                leftImage:(UIImage *)image\n{\n    UITextField *textField = [[UITextField alloc]init];\n    textField.leftViewMode         = UITextFieldViewModeAlways;\n    textField.tag                  = tag;\n    textField.frame                = frame;\n    textField.placeholder          = placeholder;\n    textField.borderStyle          = UITextBorderStyleNone;\n    textField.backgroundColor      = backgroundColor;\n    textField.clearsOnBeginEditing = NO;\n    textField.textColor            = textColor;\n    UIView *backView = [[UIView alloc]initWithFrame:CGRectMake(0, 0, 50, frame.size.height)];\n//    backView.backgroundColor = [UIColor lightGrayColor];\n    UIImageView *iv = [[UIImageView alloc]initWithFrame:CGRectMake(5, 5, 39, 39)];\n    iv.image = image;\n    [backView addSubview:iv];\n    textField.leftView = backView;\n    return textField;\n}\n\n#pragma mark  -----上拉和下拉刷新\n//+ (MJRefreshGifHeader *)addBaseMJRefreshGifHeader:(httpRequest )request\n//{\n//    // 设置回调（一旦进入刷新状态，就调用target的action，也就是调用self的loadNewData方法）\n//    MJRefreshGifHeader *header = [MJRefreshGifHeader headerWithRefreshingBlock:^{\n//        request();\n//    }];\n//    NSArray *idleImages = @[[UIImage imageNamed:@\"loading1\"],[UIImage imageNamed:@\"loading2\"],[UIImage imageNamed:@\"loading3\"],[UIImage imageNamed:@\"loading4\"],[UIImage imageNamed:@\"loading5\"],[UIImage imageNamed:@\"loading6\"],[UIImage imageNamed:@\"loading7\"],[UIImage imageNamed:@\"loading8\"],[UIImage imageNamed:@\"loading9\"],[UIImage imageNamed:@\"loading10\"]];\n//    // 设置普通状态的动画图片\n//    [header setImages:idleImages forState:MJRefreshStateIdle];\n//    // 设置即将刷新状态的动画图片（一松开就会刷新的状态）\n//    [header setImages:idleImages forState:MJRefreshStatePulling];\n//    // 设置正在刷新状态的动画图片\n//    [header setImages:idleImages forState:MJRefreshStateRefreshing];\n//    // 隐藏时间\n//    header.lastUpdatedTimeLabel.hidden = YES;\n//    // 隐藏状态\n//    header.stateLabel.hidden = YES;\n//\n//    return header;\n//}\n//+ (MJRefreshBackGifFooter *)addBaseMJRefreshGifFooter:(httpRequest )request\n//{\n//    MJRefreshBackGifFooter *footer = [MJRefreshBackGifFooter footerWithRefreshingBlock:^{\n//        request();\n//    }];\n//    NSArray *idleImages = @[[UIImage imageNamed:@\"loading1\"],[UIImage imageNamed:@\"loading2\"],[UIImage imageNamed:@\"loading3\"],[UIImage imageNamed:@\"loading4\"],[UIImage imageNamed:@\"loading5\"],[UIImage imageNamed:@\"loading6\"],[UIImage imageNamed:@\"loading7\"],[UIImage imageNamed:@\"loading8\"],[UIImage imageNamed:@\"loading9\"],[UIImage imageNamed:@\"loading10\"]];\n//    [footer setImages:idleImages forState:MJRefreshStateIdle];\n//    // 设置即将刷新状态的动画图片（一松开就会刷新的状态）\n//    [footer setImages:idleImages forState:MJRefreshStatePulling];\n//    // 设置正在刷新状态的动画图片\n//    [footer setImages:idleImages forState:MJRefreshStateRefreshing];\n//    // 设置尾部\n//    // 隐藏状态\n//    footer.stateLabel.hidden = YES;\n//\n//    return footer;\n//}\n\n@end\n"
  },
  {
    "path": "CKMeiTuanShopView/CKMeiTuanShopView.xcodeproj/project.pbxproj",
    "content": "// !$*UTF8*$!\n{\n\tarchiveVersion = 1;\n\tclasses = {\n\t};\n\tobjectVersion = 50;\n\tobjects = {\n\n/* Begin PBXBuildFile section */\n\t\t5C358AC5212ED58F00A37184 /* FXBlurView.m in Sources */ = {isa = PBXBuildFile; fileRef = 5C358AC4212ED58F00A37184 /* FXBlurView.m */; };\n\t\t5C70FB782111C07E001DB333 /* pizza.json in Resources */ = {isa = PBXBuildFile; fileRef = 5C70FB772111C07E001DB333 /* pizza.json */; };\n\t\t5CAE1232210FF6CD003EAC76 /* AppDelegate.m in Sources */ = {isa = PBXBuildFile; fileRef = 5CAE1231210FF6CD003EAC76 /* AppDelegate.m */; };\n\t\t5CAE124A210FF6D1003EAC76 /* CKMeiTuanShopViewTests.m in Sources */ = {isa = PBXBuildFile; fileRef = 5CAE1249210FF6D1003EAC76 /* CKMeiTuanShopViewTests.m */; };\n\t\t5CAE1255210FF6D1003EAC76 /* CKMeiTuanShopViewUITests.m in Sources */ = {isa = PBXBuildFile; fileRef = 5CAE1254210FF6D1003EAC76 /* CKMeiTuanShopViewUITests.m */; };\n\t\t5CAE12B7210FF765003EAC76 /* TakeawayProductCollectionCell.m in Sources */ = {isa = PBXBuildFile; fileRef = 5CAE12B1210FF764003EAC76 /* TakeawayProductCollectionCell.m */; };\n\t\t5CAE12B8210FF765003EAC76 /* TakeawayProductListCell.m in Sources */ = {isa = PBXBuildFile; fileRef = 5CAE12B2210FF764003EAC76 /* TakeawayProductListCell.m */; };\n\t\t5CAE12B9210FF765003EAC76 /* TakeawayProductCardCell.m in Sources */ = {isa = PBXBuildFile; fileRef = 5CAE12B5210FF764003EAC76 /* TakeawayProductCardCell.m */; };\n\t\t5CAE1327210FFD84003EAC76 /* ShopMerchantView.m in Sources */ = {isa = PBXBuildFile; fileRef = 5CAE131C210FFD83003EAC76 /* ShopMerchantView.m */; };\n\t\t5CAE1328210FFD84003EAC76 /* ShopEvaluateView.m in Sources */ = {isa = PBXBuildFile; fileRef = 5CAE131E210FFD83003EAC76 /* ShopEvaluateView.m */; };\n\t\t5CAE1329210FFD84003EAC76 /* ShopHomePageView.m in Sources */ = {isa = PBXBuildFile; fileRef = 5CAE1320210FFD83003EAC76 /* ShopHomePageView.m */; };\n\t\t5CAE132A210FFD84003EAC76 /* TakeawayShopMainVC.m in Sources */ = {isa = PBXBuildFile; fileRef = 5CAE1321210FFD83003EAC76 /* TakeawayShopMainVC.m */; };\n\t\t5CAE132B210FFD84003EAC76 /* ShopScrollView.m in Sources */ = {isa = PBXBuildFile; fileRef = 5CAE1324210FFD83003EAC76 /* ShopScrollView.m */; };\n\t\t5CAE132C210FFD84003EAC76 /* TakeawayShopView.m in Sources */ = {isa = PBXBuildFile; fileRef = 5CAE1326210FFD84003EAC76 /* TakeawayShopView.m */; };\n\t\t5CAE1335210FFDC1003EAC76 /* Assets.xcassets in Resources */ = {isa = PBXBuildFile; fileRef = 5CAE132F210FFDC1003EAC76 /* Assets.xcassets */; };\n\t\t5CAE1336210FFDC1003EAC76 /* LaunchScreen.storyboard in Resources */ = {isa = PBXBuildFile; fileRef = 5CAE1330210FFDC1003EAC76 /* LaunchScreen.storyboard */; };\n\t\t5CAE1337210FFDC1003EAC76 /* Main.storyboard in Resources */ = {isa = PBXBuildFile; fileRef = 5CAE1332210FFDC1003EAC76 /* Main.storyboard */; };\n\t\t5CAE1338210FFDC1003EAC76 /* main.m in Sources */ = {isa = PBXBuildFile; fileRef = 5CAE1334210FFDC1003EAC76 /* main.m */; };\n\t\t5CAE133B210FFEF9003EAC76 /* ReserveEvluateCell.m in Sources */ = {isa = PBXBuildFile; fileRef = 5CAE1339210FFEF9003EAC76 /* ReserveEvluateCell.m */; };\n\t\t5CAE133F210FFFCA003EAC76 /* UIView+Helper.m in Sources */ = {isa = PBXBuildFile; fileRef = 5CAE133E210FFFCA003EAC76 /* UIView+Helper.m */; };\n\t\t5CAE13512110007B003EAC76 /* YBRectConst.m in Sources */ = {isa = PBXBuildFile; fileRef = 5CAE13492110007B003EAC76 /* YBRectConst.m */; };\n\t\t5CAE13522110007B003EAC76 /* YBPopupMenuPath.m in Sources */ = {isa = PBXBuildFile; fileRef = 5CAE134B2110007B003EAC76 /* YBPopupMenuPath.m */; };\n\t\t5CAE13532110007B003EAC76 /* CustomTestCell.m in Sources */ = {isa = PBXBuildFile; fileRef = 5CAE134C2110007B003EAC76 /* CustomTestCell.m */; };\n\t\t5CAE13542110007B003EAC76 /* CustomTestCell.xib in Resources */ = {isa = PBXBuildFile; fileRef = 5CAE134E2110007B003EAC76 /* CustomTestCell.xib */; };\n\t\t5CAE13552110007B003EAC76 /* YBPopupMenu.m in Sources */ = {isa = PBXBuildFile; fileRef = 5CAE134F2110007B003EAC76 /* YBPopupMenu.m */; };\n\t\t5CAE1359211000C3003EAC76 /* NewShopModel.m in Sources */ = {isa = PBXBuildFile; fileRef = 5CAE1358211000C3003EAC76 /* NewShopModel.m */; };\n\t\t5CAE136221100333003EAC76 /* SDPhotoBrowser.m in Sources */ = {isa = PBXBuildFile; fileRef = 5CAE135C21100333003EAC76 /* SDPhotoBrowser.m */; };\n\t\t5CAE136321100333003EAC76 /* SDWaitingView.m in Sources */ = {isa = PBXBuildFile; fileRef = 5CAE135D21100333003EAC76 /* SDWaitingView.m */; };\n\t\t5CAE136421100333003EAC76 /* SDBrowserImageView.m in Sources */ = {isa = PBXBuildFile; fileRef = 5CAE135E21100333003EAC76 /* SDBrowserImageView.m */; };\n\t\t5CAE136F21100431003EAC76 /* AppMethods.m in Sources */ = {isa = PBXBuildFile; fileRef = 5CAE136E21100431003EAC76 /* AppMethods.m */; };\n\t\t5CAE137221100508003EAC76 /* EvaluateModel.m in Sources */ = {isa = PBXBuildFile; fileRef = 5CAE137121100507003EAC76 /* EvaluateModel.m */; };\n\t\t5CAE137521100626003EAC76 /* NewShopListModel.m in Sources */ = {isa = PBXBuildFile; fileRef = 5CAE137421100625003EAC76 /* NewShopListModel.m */; };\n\t\t5CAE1378211006D8003EAC76 /* ShoppingCartOrderListInfo.m in Sources */ = {isa = PBXBuildFile; fileRef = 5CAE1377211006D8003EAC76 /* ShoppingCartOrderListInfo.m */; };\n\t\t5CAE137B211007AA003EAC76 /* UITool.m in Sources */ = {isa = PBXBuildFile; fileRef = 5CAE137A211007AA003EAC76 /* UITool.m */; };\n\t\t5CAE138321100ABE003EAC76 /* LJDynamicItem.m in Sources */ = {isa = PBXBuildFile; fileRef = 5CAE137E21100ABD003EAC76 /* LJDynamicItem.m */; };\n\t\t5CAE138421100ABE003EAC76 /* HeaderReusableView.m in Sources */ = {isa = PBXBuildFile; fileRef = 5CAE138021100ABE003EAC76 /* HeaderReusableView.m */; };\n\t\t5CAE138521100ABE003EAC76 /* JHHeaderFlowLayout.m in Sources */ = {isa = PBXBuildFile; fileRef = 5CAE138221100ABE003EAC76 /* JHHeaderFlowLayout.m */; };\n\t\t5CAE138821100AEB003EAC76 /* AppDefaultUtil.m in Sources */ = {isa = PBXBuildFile; fileRef = 5CAE138621100AEB003EAC76 /* AppDefaultUtil.m */; };\n\t\t5CAE138B21100C37003EAC76 /* UIView+Extension.m in Sources */ = {isa = PBXBuildFile; fileRef = 5CAE138A21100C37003EAC76 /* UIView+Extension.m */; };\n\t\t5CAE139121100DB0003EAC76 /* UILabel+Extensions.m in Sources */ = {isa = PBXBuildFile; fileRef = 5CAE138F21100DB0003EAC76 /* UILabel+Extensions.m */; };\n\t\t5CAE139421100DB5003EAC76 /* UILabel+ChangeLineSpaceAndWordSpace.m in Sources */ = {isa = PBXBuildFile; fileRef = 5CAE139321100DB5003EAC76 /* UILabel+ChangeLineSpaceAndWordSpace.m */; };\n\t\t5CAE139721100E46003EAC76 /* UIImage+BlurImage.m in Sources */ = {isa = PBXBuildFile; fileRef = 5CAE139521100E45003EAC76 /* UIImage+BlurImage.m */; };\n\t\t5CAE139A21100EBA003EAC76 /* NSString+Extension.m in Sources */ = {isa = PBXBuildFile; fileRef = 5CAE139921100EBA003EAC76 /* NSString+Extension.m */; };\n\t\t5CAE139D21101060003EAC76 /* ToolManager.m in Sources */ = {isa = PBXBuildFile; fileRef = 5CAE139C21101060003EAC76 /* ToolManager.m */; };\n\t\t5CAE13A021101197003EAC76 /* NSDate+Utilities.m in Sources */ = {isa = PBXBuildFile; fileRef = 5CAE139F21101197003EAC76 /* NSDate+Utilities.m */; };\n\t\t5CAE13A5211056F5003EAC76 /* shop.json in Resources */ = {isa = PBXBuildFile; fileRef = 5CAE13A4211056F4003EAC76 /* shop.json */; };\n\t\t5CAE13A7211166A2003EAC76 /* food.png in Resources */ = {isa = PBXBuildFile; fileRef = 5CAE13A6211166A2003EAC76 /* food.png */; };\n\t\t98CF9291DA1DBEE3213D043C /* libPods-CKMeiTuanShopView.a in Frameworks */ = {isa = PBXBuildFile; fileRef = E15BCFEB869C01F49E7A73A6 /* libPods-CKMeiTuanShopView.a */; };\n/* End PBXBuildFile section */\n\n/* Begin PBXContainerItemProxy section */\n\t\t5CAE1246210FF6D1003EAC76 /* PBXContainerItemProxy */ = {\n\t\t\tisa = PBXContainerItemProxy;\n\t\t\tcontainerPortal = 5CAE1225210FF6CD003EAC76 /* Project object */;\n\t\t\tproxyType = 1;\n\t\t\tremoteGlobalIDString = 5CAE122C210FF6CD003EAC76;\n\t\t\tremoteInfo = CKMeiTuanShopView;\n\t\t};\n\t\t5CAE1251210FF6D1003EAC76 /* PBXContainerItemProxy */ = {\n\t\t\tisa = PBXContainerItemProxy;\n\t\t\tcontainerPortal = 5CAE1225210FF6CD003EAC76 /* Project object */;\n\t\t\tproxyType = 1;\n\t\t\tremoteGlobalIDString = 5CAE122C210FF6CD003EAC76;\n\t\t\tremoteInfo = CKMeiTuanShopView;\n\t\t};\n/* End PBXContainerItemProxy section */\n\n/* Begin PBXFileReference section */\n\t\t02B270344967263C29ABD8F0 /* Pods-CKMeiTuanShopView.release.xcconfig */ = {isa = PBXFileReference; includeInIndex = 1; lastKnownFileType = text.xcconfig; name = \"Pods-CKMeiTuanShopView.release.xcconfig\"; path = \"Pods/Target Support Files/Pods-CKMeiTuanShopView/Pods-CKMeiTuanShopView.release.xcconfig\"; sourceTree = \"<group>\"; };\n\t\t5C358AC3212ED58F00A37184 /* FXBlurView.h */ = {isa = PBXFileReference; fileEncoding = 4; lastKnownFileType = sourcecode.c.h; path = FXBlurView.h; sourceTree = \"<group>\"; };\n\t\t5C358AC4212ED58F00A37184 /* FXBlurView.m */ = {isa = PBXFileReference; fileEncoding = 4; lastKnownFileType = sourcecode.c.objc; path = FXBlurView.m; sourceTree = \"<group>\"; };\n\t\t5C70FB772111C07E001DB333 /* pizza.json */ = {isa = PBXFileReference; fileEncoding = 4; lastKnownFileType = text.json; path = pizza.json; sourceTree = \"<group>\"; };\n\t\t5CAE122D210FF6CD003EAC76 /* CKMeiTuanShopView.app */ = {isa = PBXFileReference; explicitFileType = wrapper.application; includeInIndex = 0; path = CKMeiTuanShopView.app; sourceTree = BUILT_PRODUCTS_DIR; };\n\t\t5CAE1230210FF6CD003EAC76 /* AppDelegate.h */ = {isa = PBXFileReference; lastKnownFileType = sourcecode.c.h; path = AppDelegate.h; sourceTree = \"<group>\"; };\n\t\t5CAE1231210FF6CD003EAC76 /* AppDelegate.m */ = {isa = PBXFileReference; lastKnownFileType = sourcecode.c.objc; path = AppDelegate.m; sourceTree = \"<group>\"; };\n\t\t5CAE123E210FF6D0003EAC76 /* Info.plist */ = {isa = PBXFileReference; lastKnownFileType = text.plist.xml; path = Info.plist; sourceTree = \"<group>\"; };\n\t\t5CAE1245210FF6D1003EAC76 /* CKMeiTuanShopViewTests.xctest */ = {isa = PBXFileReference; explicitFileType = wrapper.cfbundle; includeInIndex = 0; path = CKMeiTuanShopViewTests.xctest; sourceTree = BUILT_PRODUCTS_DIR; };\n\t\t5CAE1249210FF6D1003EAC76 /* CKMeiTuanShopViewTests.m */ = {isa = PBXFileReference; lastKnownFileType = sourcecode.c.objc; path = CKMeiTuanShopViewTests.m; sourceTree = \"<group>\"; };\n\t\t5CAE124B210FF6D1003EAC76 /* Info.plist */ = {isa = PBXFileReference; lastKnownFileType = text.plist.xml; path = Info.plist; sourceTree = \"<group>\"; };\n\t\t5CAE1250210FF6D1003EAC76 /* CKMeiTuanShopViewUITests.xctest */ = {isa = PBXFileReference; explicitFileType = wrapper.cfbundle; includeInIndex = 0; path = CKMeiTuanShopViewUITests.xctest; sourceTree = BUILT_PRODUCTS_DIR; };\n\t\t5CAE1254210FF6D1003EAC76 /* CKMeiTuanShopViewUITests.m */ = {isa = PBXFileReference; lastKnownFileType = sourcecode.c.objc; path = CKMeiTuanShopViewUITests.m; sourceTree = \"<group>\"; };\n\t\t5CAE1256210FF6D1003EAC76 /* Info.plist */ = {isa = PBXFileReference; lastKnownFileType = text.plist.xml; path = Info.plist; sourceTree = \"<group>\"; };\n\t\t5CAE12B1210FF764003EAC76 /* TakeawayProductCollectionCell.m */ = {isa = PBXFileReference; fileEncoding = 4; lastKnownFileType = sourcecode.c.objc; path = TakeawayProductCollectionCell.m; sourceTree = \"<group>\"; };\n\t\t5CAE12B2210FF764003EAC76 /* TakeawayProductListCell.m */ = {isa = PBXFileReference; fileEncoding = 4; lastKnownFileType = sourcecode.c.objc; path = TakeawayProductListCell.m; sourceTree = \"<group>\"; };\n\t\t5CAE12B3210FF764003EAC76 /* TakeawayProductCollectionCell.h */ = {isa = PBXFileReference; fileEncoding = 4; lastKnownFileType = sourcecode.c.h; path = TakeawayProductCollectionCell.h; sourceTree = \"<group>\"; };\n\t\t5CAE12B4210FF764003EAC76 /* TakeawayProductCardCell.h */ = {isa = PBXFileReference; fileEncoding = 4; lastKnownFileType = sourcecode.c.h; path = TakeawayProductCardCell.h; sourceTree = \"<group>\"; };\n\t\t5CAE12B5210FF764003EAC76 /* TakeawayProductCardCell.m */ = {isa = PBXFileReference; fileEncoding = 4; lastKnownFileType = sourcecode.c.objc; path = TakeawayProductCardCell.m; sourceTree = \"<group>\"; };\n\t\t5CAE12B6210FF765003EAC76 /* TakeawayProductListCell.h */ = {isa = PBXFileReference; fileEncoding = 4; lastKnownFileType = sourcecode.c.h; path = TakeawayProductListCell.h; sourceTree = \"<group>\"; };\n\t\t5CAE131B210FFD83003EAC76 /* TakeawayShopMainVC.h */ = {isa = PBXFileReference; fileEncoding = 4; lastKnownFileType = sourcecode.c.h; path = TakeawayShopMainVC.h; sourceTree = \"<group>\"; };\n\t\t5CAE131C210FFD83003EAC76 /* ShopMerchantView.m */ = {isa = PBXFileReference; fileEncoding = 4; lastKnownFileType = sourcecode.c.objc; path = ShopMerchantView.m; sourceTree = \"<group>\"; };\n\t\t5CAE131D210FFD83003EAC76 /* ShopScrollView.h */ = {isa = PBXFileReference; fileEncoding = 4; lastKnownFileType = sourcecode.c.h; path = ShopScrollView.h; sourceTree = \"<group>\"; };\n\t\t5CAE131E210FFD83003EAC76 /* ShopEvaluateView.m */ = {isa = PBXFileReference; fileEncoding = 4; lastKnownFileType = sourcecode.c.objc; path = ShopEvaluateView.m; sourceTree = \"<group>\"; };\n\t\t5CAE131F210FFD83003EAC76 /* TakeawayShopView.h */ = {isa = PBXFileReference; fileEncoding = 4; lastKnownFileType = sourcecode.c.h; path = TakeawayShopView.h; sourceTree = \"<group>\"; };\n\t\t5CAE1320210FFD83003EAC76 /* ShopHomePageView.m */ = {isa = PBXFileReference; fileEncoding = 4; lastKnownFileType = sourcecode.c.objc; path = ShopHomePageView.m; sourceTree = \"<group>\"; };\n\t\t5CAE1321210FFD83003EAC76 /* TakeawayShopMainVC.m */ = {isa = PBXFileReference; fileEncoding = 4; lastKnownFileType = sourcecode.c.objc; path = TakeawayShopMainVC.m; sourceTree = \"<group>\"; };\n\t\t5CAE1322210FFD83003EAC76 /* ShopMerchantView.h */ = {isa = PBXFileReference; fileEncoding = 4; lastKnownFileType = sourcecode.c.h; path = ShopMerchantView.h; sourceTree = \"<group>\"; };\n\t\t5CAE1323210FFD83003EAC76 /* ShopEvaluateView.h */ = {isa = PBXFileReference; fileEncoding = 4; lastKnownFileType = sourcecode.c.h; path = ShopEvaluateView.h; sourceTree = \"<group>\"; };\n\t\t5CAE1324210FFD83003EAC76 /* ShopScrollView.m */ = {isa = PBXFileReference; fileEncoding = 4; lastKnownFileType = sourcecode.c.objc; path = ShopScrollView.m; sourceTree = \"<group>\"; };\n\t\t5CAE1325210FFD83003EAC76 /* ShopHomePageView.h */ = {isa = PBXFileReference; fileEncoding = 4; lastKnownFileType = sourcecode.c.h; path = ShopHomePageView.h; sourceTree = \"<group>\"; };\n\t\t5CAE1326210FFD84003EAC76 /* TakeawayShopView.m */ = {isa = PBXFileReference; fileEncoding = 4; lastKnownFileType = sourcecode.c.objc; path = TakeawayShopView.m; sourceTree = \"<group>\"; };\n\t\t5CAE132E210FFDC1003EAC76 /* CKPrefixHeader.pch */ = {isa = PBXFileReference; fileEncoding = 4; lastKnownFileType = sourcecode.c.h; path = CKPrefixHeader.pch; sourceTree = \"<group>\"; };\n\t\t5CAE132F210FFDC1003EAC76 /* Assets.xcassets */ = {isa = PBXFileReference; lastKnownFileType = folder.assetcatalog; path = Assets.xcassets; sourceTree = \"<group>\"; };\n\t\t5CAE1331210FFDC1003EAC76 /* Base */ = {isa = PBXFileReference; lastKnownFileType = file.storyboard; name = Base; path = Base.lproj/LaunchScreen.storyboard; sourceTree = \"<group>\"; };\n\t\t5CAE1333210FFDC1003EAC76 /* Base */ = {isa = PBXFileReference; lastKnownFileType = file.storyboard; name = Base; path = Base.lproj/Main.storyboard; sourceTree = \"<group>\"; };\n\t\t5CAE1334210FFDC1003EAC76 /* main.m */ = {isa = PBXFileReference; fileEncoding = 4; lastKnownFileType = sourcecode.c.objc; path = main.m; sourceTree = \"<group>\"; };\n\t\t5CAE1339210FFEF9003EAC76 /* ReserveEvluateCell.m */ = {isa = PBXFileReference; fileEncoding = 4; lastKnownFileType = sourcecode.c.objc; path = ReserveEvluateCell.m; sourceTree = \"<group>\"; };\n\t\t5CAE133A210FFEF9003EAC76 /* ReserveEvluateCell.h */ = {isa = PBXFileReference; fileEncoding = 4; lastKnownFileType = sourcecode.c.h; path = ReserveEvluateCell.h; sourceTree = \"<group>\"; };\n\t\t5CAE133D210FFFCA003EAC76 /* UIView+Helper.h */ = {isa = PBXFileReference; fileEncoding = 4; lastKnownFileType = sourcecode.c.h; path = \"UIView+Helper.h\"; sourceTree = \"<group>\"; };\n\t\t5CAE133E210FFFCA003EAC76 /* UIView+Helper.m */ = {isa = PBXFileReference; fileEncoding = 4; lastKnownFileType = sourcecode.c.objc; path = \"UIView+Helper.m\"; sourceTree = \"<group>\"; };\n\t\t5CAE134621100049003EAC76 /* CommonMacro.h */ = {isa = PBXFileReference; fileEncoding = 4; lastKnownFileType = sourcecode.c.h; path = CommonMacro.h; sourceTree = \"<group>\"; };\n\t\t5CAE13482110007B003EAC76 /* YBPopupMenu.h */ = {isa = PBXFileReference; fileEncoding = 4; lastKnownFileType = sourcecode.c.h; path = YBPopupMenu.h; sourceTree = \"<group>\"; };\n\t\t5CAE13492110007B003EAC76 /* YBRectConst.m */ = {isa = PBXFileReference; fileEncoding = 4; lastKnownFileType = sourcecode.c.objc; path = YBRectConst.m; sourceTree = \"<group>\"; };\n\t\t5CAE134A2110007B003EAC76 /* CustomTestCell.h */ = {isa = PBXFileReference; fileEncoding = 4; lastKnownFileType = sourcecode.c.h; path = CustomTestCell.h; sourceTree = \"<group>\"; };\n\t\t5CAE134B2110007B003EAC76 /* YBPopupMenuPath.m */ = {isa = PBXFileReference; fileEncoding = 4; lastKnownFileType = sourcecode.c.objc; path = YBPopupMenuPath.m; sourceTree = \"<group>\"; };\n\t\t5CAE134C2110007B003EAC76 /* CustomTestCell.m */ = {isa = PBXFileReference; fileEncoding = 4; lastKnownFileType = sourcecode.c.objc; path = CustomTestCell.m; sourceTree = \"<group>\"; };\n\t\t5CAE134D2110007B003EAC76 /* YBRectConst.h */ = {isa = PBXFileReference; fileEncoding = 4; lastKnownFileType = sourcecode.c.h; path = YBRectConst.h; sourceTree = \"<group>\"; };\n\t\t5CAE134E2110007B003EAC76 /* CustomTestCell.xib */ = {isa = PBXFileReference; fileEncoding = 4; lastKnownFileType = file.xib; path = CustomTestCell.xib; sourceTree = \"<group>\"; };\n\t\t5CAE134F2110007B003EAC76 /* YBPopupMenu.m */ = {isa = PBXFileReference; fileEncoding = 4; lastKnownFileType = sourcecode.c.objc; path = YBPopupMenu.m; sourceTree = \"<group>\"; };\n\t\t5CAE13502110007B003EAC76 /* YBPopupMenuPath.h */ = {isa = PBXFileReference; fileEncoding = 4; lastKnownFileType = sourcecode.c.h; path = YBPopupMenuPath.h; sourceTree = \"<group>\"; };\n\t\t5CAE1357211000C3003EAC76 /* NewShopModel.h */ = {isa = PBXFileReference; fileEncoding = 4; lastKnownFileType = sourcecode.c.h; path = NewShopModel.h; sourceTree = \"<group>\"; };\n\t\t5CAE1358211000C3003EAC76 /* NewShopModel.m */ = {isa = PBXFileReference; fileEncoding = 4; lastKnownFileType = sourcecode.c.objc; path = NewShopModel.m; sourceTree = \"<group>\"; };\n\t\t5CAE135B21100333003EAC76 /* SDPhotoBrowserConfig.h */ = {isa = PBXFileReference; fileEncoding = 4; lastKnownFileType = sourcecode.c.h; path = SDPhotoBrowserConfig.h; sourceTree = \"<group>\"; };\n\t\t5CAE135C21100333003EAC76 /* SDPhotoBrowser.m */ = {isa = PBXFileReference; fileEncoding = 4; lastKnownFileType = sourcecode.c.objc; path = SDPhotoBrowser.m; sourceTree = \"<group>\"; };\n\t\t5CAE135D21100333003EAC76 /* SDWaitingView.m */ = {isa = PBXFileReference; fileEncoding = 4; lastKnownFileType = sourcecode.c.objc; path = SDWaitingView.m; sourceTree = \"<group>\"; };\n\t\t5CAE135E21100333003EAC76 /* SDBrowserImageView.m */ = {isa = PBXFileReference; fileEncoding = 4; lastKnownFileType = sourcecode.c.objc; path = SDBrowserImageView.m; sourceTree = \"<group>\"; };\n\t\t5CAE135F21100333003EAC76 /* SDWaitingView.h */ = {isa = PBXFileReference; fileEncoding = 4; lastKnownFileType = sourcecode.c.h; path = SDWaitingView.h; sourceTree = \"<group>\"; };\n\t\t5CAE136021100333003EAC76 /* SDPhotoBrowser.h */ = {isa = PBXFileReference; fileEncoding = 4; lastKnownFileType = sourcecode.c.h; path = SDPhotoBrowser.h; sourceTree = \"<group>\"; };\n\t\t5CAE136121100333003EAC76 /* SDBrowserImageView.h */ = {isa = PBXFileReference; fileEncoding = 4; lastKnownFileType = sourcecode.c.h; path = SDBrowserImageView.h; sourceTree = \"<group>\"; };\n\t\t5CAE13682110037C003EAC76 /* ColorMacro.h */ = {isa = PBXFileReference; fileEncoding = 4; lastKnownFileType = sourcecode.c.h; path = ColorMacro.h; sourceTree = \"<group>\"; };\n\t\t5CAE136D21100431003EAC76 /* AppMethods.h */ = {isa = PBXFileReference; fileEncoding = 4; lastKnownFileType = sourcecode.c.h; path = AppMethods.h; sourceTree = \"<group>\"; };\n\t\t5CAE136E21100431003EAC76 /* AppMethods.m */ = {isa = PBXFileReference; fileEncoding = 4; lastKnownFileType = sourcecode.c.objc; path = AppMethods.m; sourceTree = \"<group>\"; };\n\t\t5CAE137021100507003EAC76 /* EvaluateModel.h */ = {isa = PBXFileReference; fileEncoding = 4; lastKnownFileType = sourcecode.c.h; path = EvaluateModel.h; sourceTree = \"<group>\"; };\n\t\t5CAE137121100507003EAC76 /* EvaluateModel.m */ = {isa = PBXFileReference; fileEncoding = 4; lastKnownFileType = sourcecode.c.objc; path = EvaluateModel.m; sourceTree = \"<group>\"; };\n\t\t5CAE137321100625003EAC76 /* NewShopListModel.h */ = {isa = PBXFileReference; fileEncoding = 4; lastKnownFileType = sourcecode.c.h; path = NewShopListModel.h; sourceTree = \"<group>\"; };\n\t\t5CAE137421100625003EAC76 /* NewShopListModel.m */ = {isa = PBXFileReference; fileEncoding = 4; lastKnownFileType = sourcecode.c.objc; path = NewShopListModel.m; sourceTree = \"<group>\"; };\n\t\t5CAE1376211006D7003EAC76 /* ShoppingCartOrderListInfo.h */ = {isa = PBXFileReference; fileEncoding = 4; lastKnownFileType = sourcecode.c.h; path = ShoppingCartOrderListInfo.h; sourceTree = \"<group>\"; };\n\t\t5CAE1377211006D8003EAC76 /* ShoppingCartOrderListInfo.m */ = {isa = PBXFileReference; fileEncoding = 4; lastKnownFileType = sourcecode.c.objc; path = ShoppingCartOrderListInfo.m; sourceTree = \"<group>\"; };\n\t\t5CAE1379211007AA003EAC76 /* UITool.h */ = {isa = PBXFileReference; fileEncoding = 4; lastKnownFileType = sourcecode.c.h; path = UITool.h; sourceTree = \"<group>\"; };\n\t\t5CAE137A211007AA003EAC76 /* UITool.m */ = {isa = PBXFileReference; fileEncoding = 4; lastKnownFileType = sourcecode.c.objc; path = UITool.m; sourceTree = \"<group>\"; };\n\t\t5CAE137C21100A62003EAC76 /* ParmMacro.h */ = {isa = PBXFileReference; fileEncoding = 4; lastKnownFileType = sourcecode.c.h; path = ParmMacro.h; sourceTree = \"<group>\"; };\n\t\t5CAE137D21100ABD003EAC76 /* HeaderReusableView.h */ = {isa = PBXFileReference; fileEncoding = 4; lastKnownFileType = sourcecode.c.h; path = HeaderReusableView.h; sourceTree = \"<group>\"; };\n\t\t5CAE137E21100ABD003EAC76 /* LJDynamicItem.m */ = {isa = PBXFileReference; fileEncoding = 4; lastKnownFileType = sourcecode.c.objc; path = LJDynamicItem.m; sourceTree = \"<group>\"; };\n\t\t5CAE137F21100ABD003EAC76 /* LJDynamicItem.h */ = {isa = PBXFileReference; fileEncoding = 4; lastKnownFileType = sourcecode.c.h; path = LJDynamicItem.h; sourceTree = \"<group>\"; };\n\t\t5CAE138021100ABE003EAC76 /* HeaderReusableView.m */ = {isa = PBXFileReference; fileEncoding = 4; lastKnownFileType = sourcecode.c.objc; path = HeaderReusableView.m; sourceTree = \"<group>\"; };\n\t\t5CAE138121100ABE003EAC76 /* JHHeaderFlowLayout.h */ = {isa = PBXFileReference; fileEncoding = 4; lastKnownFileType = sourcecode.c.h; path = JHHeaderFlowLayout.h; sourceTree = \"<group>\"; };\n\t\t5CAE138221100ABE003EAC76 /* JHHeaderFlowLayout.m */ = {isa = PBXFileReference; fileEncoding = 4; lastKnownFileType = sourcecode.c.objc; path = JHHeaderFlowLayout.m; sourceTree = \"<group>\"; };\n\t\t5CAE138621100AEB003EAC76 /* AppDefaultUtil.m */ = {isa = PBXFileReference; fileEncoding = 4; lastKnownFileType = sourcecode.c.objc; path = AppDefaultUtil.m; sourceTree = \"<group>\"; };\n\t\t5CAE138721100AEB003EAC76 /* AppDefaultUtil.h */ = {isa = PBXFileReference; fileEncoding = 4; lastKnownFileType = sourcecode.c.h; path = AppDefaultUtil.h; sourceTree = \"<group>\"; };\n\t\t5CAE138921100C36003EAC76 /* UIView+Extension.h */ = {isa = PBXFileReference; fileEncoding = 4; lastKnownFileType = sourcecode.c.h; path = \"UIView+Extension.h\"; sourceTree = \"<group>\"; };\n\t\t5CAE138A21100C37003EAC76 /* UIView+Extension.m */ = {isa = PBXFileReference; fileEncoding = 4; lastKnownFileType = sourcecode.c.objc; path = \"UIView+Extension.m\"; sourceTree = \"<group>\"; };\n\t\t5CAE138F21100DB0003EAC76 /* UILabel+Extensions.m */ = {isa = PBXFileReference; fileEncoding = 4; lastKnownFileType = sourcecode.c.objc; path = \"UILabel+Extensions.m\"; sourceTree = \"<group>\"; };\n\t\t5CAE139021100DB0003EAC76 /* UILabel+Extensions.h */ = {isa = PBXFileReference; fileEncoding = 4; lastKnownFileType = sourcecode.c.h; path = \"UILabel+Extensions.h\"; sourceTree = \"<group>\"; };\n\t\t5CAE139221100DB5003EAC76 /* UILabel+ChangeLineSpaceAndWordSpace.h */ = {isa = PBXFileReference; fileEncoding = 4; lastKnownFileType = sourcecode.c.h; path = \"UILabel+ChangeLineSpaceAndWordSpace.h\"; sourceTree = \"<group>\"; };\n\t\t5CAE139321100DB5003EAC76 /* UILabel+ChangeLineSpaceAndWordSpace.m */ = {isa = PBXFileReference; fileEncoding = 4; lastKnownFileType = sourcecode.c.objc; path = \"UILabel+ChangeLineSpaceAndWordSpace.m\"; sourceTree = \"<group>\"; };\n\t\t5CAE139521100E45003EAC76 /* UIImage+BlurImage.m */ = {isa = PBXFileReference; fileEncoding = 4; lastKnownFileType = sourcecode.c.objc; path = \"UIImage+BlurImage.m\"; sourceTree = \"<group>\"; };\n\t\t5CAE139621100E46003EAC76 /* UIImage+BlurImage.h */ = {isa = PBXFileReference; fileEncoding = 4; lastKnownFileType = sourcecode.c.h; path = \"UIImage+BlurImage.h\"; sourceTree = \"<group>\"; };\n\t\t5CAE139821100EBA003EAC76 /* NSString+Extension.h */ = {isa = PBXFileReference; fileEncoding = 4; lastKnownFileType = sourcecode.c.h; path = \"NSString+Extension.h\"; sourceTree = \"<group>\"; };\n\t\t5CAE139921100EBA003EAC76 /* NSString+Extension.m */ = {isa = PBXFileReference; fileEncoding = 4; lastKnownFileType = sourcecode.c.objc; path = \"NSString+Extension.m\"; sourceTree = \"<group>\"; };\n\t\t5CAE139B21101060003EAC76 /* ToolManager.h */ = {isa = PBXFileReference; fileEncoding = 4; lastKnownFileType = sourcecode.c.h; path = ToolManager.h; sourceTree = \"<group>\"; };\n\t\t5CAE139C21101060003EAC76 /* ToolManager.m */ = {isa = PBXFileReference; fileEncoding = 4; lastKnownFileType = sourcecode.c.objc; path = ToolManager.m; sourceTree = \"<group>\"; };\n\t\t5CAE139E21101196003EAC76 /* NSDate+Utilities.h */ = {isa = PBXFileReference; fileEncoding = 4; lastKnownFileType = sourcecode.c.h; path = \"NSDate+Utilities.h\"; sourceTree = \"<group>\"; };\n\t\t5CAE139F21101197003EAC76 /* NSDate+Utilities.m */ = {isa = PBXFileReference; fileEncoding = 4; lastKnownFileType = sourcecode.c.objc; path = \"NSDate+Utilities.m\"; sourceTree = \"<group>\"; };\n\t\t5CAE13A4211056F4003EAC76 /* shop.json */ = {isa = PBXFileReference; fileEncoding = 4; lastKnownFileType = text.json; path = shop.json; sourceTree = \"<group>\"; };\n\t\t5CAE13A6211166A2003EAC76 /* food.png */ = {isa = PBXFileReference; lastKnownFileType = image.png; path = food.png; sourceTree = \"<group>\"; };\n\t\t8B4BBC87A982D7A9BDCB7D1F /* Pods-CKMeiTuanShopView.debug.xcconfig */ = {isa = PBXFileReference; includeInIndex = 1; lastKnownFileType = text.xcconfig; name = \"Pods-CKMeiTuanShopView.debug.xcconfig\"; path = \"Pods/Target Support Files/Pods-CKMeiTuanShopView/Pods-CKMeiTuanShopView.debug.xcconfig\"; sourceTree = \"<group>\"; };\n\t\tE15BCFEB869C01F49E7A73A6 /* libPods-CKMeiTuanShopView.a */ = {isa = PBXFileReference; explicitFileType = archive.ar; includeInIndex = 0; path = \"libPods-CKMeiTuanShopView.a\"; sourceTree = BUILT_PRODUCTS_DIR; };\n/* End PBXFileReference section */\n\n/* Begin PBXFrameworksBuildPhase section */\n\t\t5CAE122A210FF6CD003EAC76 /* Frameworks */ = {\n\t\t\tisa = PBXFrameworksBuildPhase;\n\t\t\tbuildActionMask = 2147483647;\n\t\t\tfiles = (\n\t\t\t\t98CF9291DA1DBEE3213D043C /* libPods-CKMeiTuanShopView.a in Frameworks */,\n\t\t\t);\n\t\t\trunOnlyForDeploymentPostprocessing = 0;\n\t\t};\n\t\t5CAE1242210FF6D1003EAC76 /* Frameworks */ = {\n\t\t\tisa = PBXFrameworksBuildPhase;\n\t\t\tbuildActionMask = 2147483647;\n\t\t\tfiles = (\n\t\t\t);\n\t\t\trunOnlyForDeploymentPostprocessing = 0;\n\t\t};\n\t\t5CAE124D210FF6D1003EAC76 /* Frameworks */ = {\n\t\t\tisa = PBXFrameworksBuildPhase;\n\t\t\tbuildActionMask = 2147483647;\n\t\t\tfiles = (\n\t\t\t);\n\t\t\trunOnlyForDeploymentPostprocessing = 0;\n\t\t};\n/* End PBXFrameworksBuildPhase section */\n\n/* Begin PBXGroup section */\n\t\t5C358AC2212ED58F00A37184 /* FXBlurView */ = {\n\t\t\tisa = PBXGroup;\n\t\t\tchildren = (\n\t\t\t\t5C358AC3212ED58F00A37184 /* FXBlurView.h */,\n\t\t\t\t5C358AC4212ED58F00A37184 /* FXBlurView.m */,\n\t\t\t);\n\t\t\tpath = FXBlurView;\n\t\t\tsourceTree = \"<group>\";\n\t\t};\n\t\t5CAE1224210FF6CD003EAC76 = {\n\t\t\tisa = PBXGroup;\n\t\t\tchildren = (\n\t\t\t\t5CAE122F210FF6CD003EAC76 /* CKMeiTuanShopView */,\n\t\t\t\t5CAE1248210FF6D1003EAC76 /* CKMeiTuanShopViewTests */,\n\t\t\t\t5CAE1253210FF6D1003EAC76 /* CKMeiTuanShopViewUITests */,\n\t\t\t\t5CAE122E210FF6CD003EAC76 /* Products */,\n\t\t\t\tC4462004D74506EFC98897AA /* Pods */,\n\t\t\t\tED37B15E2F50D39641B8B111 /* Frameworks */,\n\t\t\t);\n\t\t\tsourceTree = \"<group>\";\n\t\t};\n\t\t5CAE122E210FF6CD003EAC76 /* Products */ = {\n\t\t\tisa = PBXGroup;\n\t\t\tchildren = (\n\t\t\t\t5CAE122D210FF6CD003EAC76 /* CKMeiTuanShopView.app */,\n\t\t\t\t5CAE1245210FF6D1003EAC76 /* CKMeiTuanShopViewTests.xctest */,\n\t\t\t\t5CAE1250210FF6D1003EAC76 /* CKMeiTuanShopViewUITests.xctest */,\n\t\t\t);\n\t\t\tname = Products;\n\t\t\tsourceTree = \"<group>\";\n\t\t};\n\t\t5CAE122F210FF6CD003EAC76 /* CKMeiTuanShopView */ = {\n\t\t\tisa = PBXGroup;\n\t\t\tchildren = (\n\t\t\t\t5CAE130E210FF7BA003EAC76 /* AppDelegate */,\n\t\t\t\t5CAE134521100040003EAC76 /* Define */,\n\t\t\t\t5CAE136C21100426003EAC76 /* Utils */,\n\t\t\t\t5CAE131A210FFD83003EAC76 /* TakeawayShopView */,\n\t\t\t\t5CAE1356211000B6003EAC76 /* Model */,\n\t\t\t\t5CAE128F210FF740003EAC76 /* Cell */,\n\t\t\t\t5CAE133C210FFFB5003EAC76 /* Category */,\n\t\t\t\t5CAE134021100009003EAC76 /* ThridParty */,\n\t\t\t\t5CAE132D210FFDC1003EAC76 /* Supporting Flies */,\n\t\t\t\t5CAE123E210FF6D0003EAC76 /* Info.plist */,\n\t\t\t);\n\t\t\tpath = CKMeiTuanShopView;\n\t\t\tsourceTree = \"<group>\";\n\t\t};\n\t\t5CAE1248210FF6D1003EAC76 /* CKMeiTuanShopViewTests */ = {\n\t\t\tisa = PBXGroup;\n\t\t\tchildren = (\n\t\t\t\t5CAE1249210FF6D1003EAC76 /* CKMeiTuanShopViewTests.m */,\n\t\t\t\t5CAE124B210FF6D1003EAC76 /* Info.plist */,\n\t\t\t);\n\t\t\tpath = CKMeiTuanShopViewTests;\n\t\t\tsourceTree = \"<group>\";\n\t\t};\n\t\t5CAE1253210FF6D1003EAC76 /* CKMeiTuanShopViewUITests */ = {\n\t\t\tisa = PBXGroup;\n\t\t\tchildren = (\n\t\t\t\t5CAE1254210FF6D1003EAC76 /* CKMeiTuanShopViewUITests.m */,\n\t\t\t\t5CAE1256210FF6D1003EAC76 /* Info.plist */,\n\t\t\t);\n\t\t\tpath = CKMeiTuanShopViewUITests;\n\t\t\tsourceTree = \"<group>\";\n\t\t};\n\t\t5CAE128F210FF740003EAC76 /* Cell */ = {\n\t\t\tisa = PBXGroup;\n\t\t\tchildren = (\n\t\t\t\t5CAE133A210FFEF9003EAC76 /* ReserveEvluateCell.h */,\n\t\t\t\t5CAE1339210FFEF9003EAC76 /* ReserveEvluateCell.m */,\n\t\t\t\t5CAE12B4210FF764003EAC76 /* TakeawayProductCardCell.h */,\n\t\t\t\t5CAE12B5210FF764003EAC76 /* TakeawayProductCardCell.m */,\n\t\t\t\t5CAE12B3210FF764003EAC76 /* TakeawayProductCollectionCell.h */,\n\t\t\t\t5CAE12B1210FF764003EAC76 /* TakeawayProductCollectionCell.m */,\n\t\t\t\t5CAE12B6210FF765003EAC76 /* TakeawayProductListCell.h */,\n\t\t\t\t5CAE12B2210FF764003EAC76 /* TakeawayProductListCell.m */,\n\t\t\t);\n\t\t\tpath = Cell;\n\t\t\tsourceTree = \"<group>\";\n\t\t};\n\t\t5CAE130E210FF7BA003EAC76 /* AppDelegate */ = {\n\t\t\tisa = PBXGroup;\n\t\t\tchildren = (\n\t\t\t\t5CAE1230210FF6CD003EAC76 /* AppDelegate.h */,\n\t\t\t\t5CAE1231210FF6CD003EAC76 /* AppDelegate.m */,\n\t\t\t);\n\t\t\tpath = AppDelegate;\n\t\t\tsourceTree = \"<group>\";\n\t\t};\n\t\t5CAE131A210FFD83003EAC76 /* TakeawayShopView */ = {\n\t\t\tisa = PBXGroup;\n\t\t\tchildren = (\n\t\t\t\t5CAE131B210FFD83003EAC76 /* TakeawayShopMainVC.h */,\n\t\t\t\t5CAE1321210FFD83003EAC76 /* TakeawayShopMainVC.m */,\n\t\t\t\t5CAE131F210FFD83003EAC76 /* TakeawayShopView.h */,\n\t\t\t\t5CAE1326210FFD84003EAC76 /* TakeawayShopView.m */,\n\t\t\t\t5CAE131D210FFD83003EAC76 /* ShopScrollView.h */,\n\t\t\t\t5CAE1324210FFD83003EAC76 /* ShopScrollView.m */,\n\t\t\t\t5CAE1325210FFD83003EAC76 /* ShopHomePageView.h */,\n\t\t\t\t5CAE1320210FFD83003EAC76 /* ShopHomePageView.m */,\n\t\t\t\t5CAE1323210FFD83003EAC76 /* ShopEvaluateView.h */,\n\t\t\t\t5CAE131E210FFD83003EAC76 /* ShopEvaluateView.m */,\n\t\t\t\t5CAE1322210FFD83003EAC76 /* ShopMerchantView.h */,\n\t\t\t\t5CAE131C210FFD83003EAC76 /* ShopMerchantView.m */,\n\t\t\t\t5CAE137D21100ABD003EAC76 /* HeaderReusableView.h */,\n\t\t\t\t5CAE138021100ABE003EAC76 /* HeaderReusableView.m */,\n\t\t\t\t5CAE138121100ABE003EAC76 /* JHHeaderFlowLayout.h */,\n\t\t\t\t5CAE138221100ABE003EAC76 /* JHHeaderFlowLayout.m */,\n\t\t\t\t5CAE137F21100ABD003EAC76 /* LJDynamicItem.h */,\n\t\t\t\t5CAE137E21100ABD003EAC76 /* LJDynamicItem.m */,\n\t\t\t);\n\t\t\tpath = TakeawayShopView;\n\t\t\tsourceTree = \"<group>\";\n\t\t};\n\t\t5CAE132D210FFDC1003EAC76 /* Supporting Flies */ = {\n\t\t\tisa = PBXGroup;\n\t\t\tchildren = (\n\t\t\t\t5CAE13A6211166A2003EAC76 /* food.png */,\n\t\t\t\t5CAE13A4211056F4003EAC76 /* shop.json */,\n\t\t\t\t5C70FB772111C07E001DB333 /* pizza.json */,\n\t\t\t\t5CAE132E210FFDC1003EAC76 /* CKPrefixHeader.pch */,\n\t\t\t\t5CAE132F210FFDC1003EAC76 /* Assets.xcassets */,\n\t\t\t\t5CAE1330210FFDC1003EAC76 /* LaunchScreen.storyboard */,\n\t\t\t\t5CAE1332210FFDC1003EAC76 /* Main.storyboard */,\n\t\t\t\t5CAE1334210FFDC1003EAC76 /* main.m */,\n\t\t\t);\n\t\t\tpath = \"Supporting Flies\";\n\t\t\tsourceTree = \"<group>\";\n\t\t};\n\t\t5CAE133C210FFFB5003EAC76 /* Category */ = {\n\t\t\tisa = PBXGroup;\n\t\t\tchildren = (\n\t\t\t\t5CAE139821100EBA003EAC76 /* NSString+Extension.h */,\n\t\t\t\t5CAE139921100EBA003EAC76 /* NSString+Extension.m */,\n\t\t\t\t5CAE139621100E46003EAC76 /* UIImage+BlurImage.h */,\n\t\t\t\t5CAE139521100E45003EAC76 /* UIImage+BlurImage.m */,\n\t\t\t\t5CAE133D210FFFCA003EAC76 /* UIView+Helper.h */,\n\t\t\t\t5CAE133E210FFFCA003EAC76 /* UIView+Helper.m */,\n\t\t\t\t5CAE138921100C36003EAC76 /* UIView+Extension.h */,\n\t\t\t\t5CAE138A21100C37003EAC76 /* UIView+Extension.m */,\n\t\t\t\t5CAE139021100DB0003EAC76 /* UILabel+Extensions.h */,\n\t\t\t\t5CAE138F21100DB0003EAC76 /* UILabel+Extensions.m */,\n\t\t\t\t5CAE139221100DB5003EAC76 /* UILabel+ChangeLineSpaceAndWordSpace.h */,\n\t\t\t\t5CAE139321100DB5003EAC76 /* UILabel+ChangeLineSpaceAndWordSpace.m */,\n\t\t\t\t5CAE139E21101196003EAC76 /* NSDate+Utilities.h */,\n\t\t\t\t5CAE139F21101197003EAC76 /* NSDate+Utilities.m */,\n\t\t\t);\n\t\t\tpath = Category;\n\t\t\tsourceTree = \"<group>\";\n\t\t};\n\t\t5CAE134021100009003EAC76 /* ThridParty */ = {\n\t\t\tisa = PBXGroup;\n\t\t\tchildren = (\n\t\t\t\t5C358AC2212ED58F00A37184 /* FXBlurView */,\n\t\t\t\t5CAE135A21100333003EAC76 /* SDPhotoBrowser */,\n\t\t\t\t5CAE13472110007B003EAC76 /* YBPopupMenu */,\n\t\t\t);\n\t\t\tpath = ThridParty;\n\t\t\tsourceTree = \"<group>\";\n\t\t};\n\t\t5CAE134521100040003EAC76 /* Define */ = {\n\t\t\tisa = PBXGroup;\n\t\t\tchildren = (\n\t\t\t\t5CAE134621100049003EAC76 /* CommonMacro.h */,\n\t\t\t\t5CAE13682110037C003EAC76 /* ColorMacro.h */,\n\t\t\t\t5CAE137C21100A62003EAC76 /* ParmMacro.h */,\n\t\t\t);\n\t\t\tpath = Define;\n\t\t\tsourceTree = \"<group>\";\n\t\t};\n\t\t5CAE13472110007B003EAC76 /* YBPopupMenu */ = {\n\t\t\tisa = PBXGroup;\n\t\t\tchildren = (\n\t\t\t\t5CAE13482110007B003EAC76 /* YBPopupMenu.h */,\n\t\t\t\t5CAE13492110007B003EAC76 /* YBRectConst.m */,\n\t\t\t\t5CAE134A2110007B003EAC76 /* CustomTestCell.h */,\n\t\t\t\t5CAE134B2110007B003EAC76 /* YBPopupMenuPath.m */,\n\t\t\t\t5CAE134C2110007B003EAC76 /* CustomTestCell.m */,\n\t\t\t\t5CAE134D2110007B003EAC76 /* YBRectConst.h */,\n\t\t\t\t5CAE134E2110007B003EAC76 /* CustomTestCell.xib */,\n\t\t\t\t5CAE134F2110007B003EAC76 /* YBPopupMenu.m */,\n\t\t\t\t5CAE13502110007B003EAC76 /* YBPopupMenuPath.h */,\n\t\t\t);\n\t\t\tpath = YBPopupMenu;\n\t\t\tsourceTree = \"<group>\";\n\t\t};\n\t\t5CAE1356211000B6003EAC76 /* Model */ = {\n\t\t\tisa = PBXGroup;\n\t\t\tchildren = (\n\t\t\t\t5CAE137021100507003EAC76 /* EvaluateModel.h */,\n\t\t\t\t5CAE137121100507003EAC76 /* EvaluateModel.m */,\n\t\t\t\t5CAE1357211000C3003EAC76 /* NewShopModel.h */,\n\t\t\t\t5CAE1358211000C3003EAC76 /* NewShopModel.m */,\n\t\t\t\t5CAE137321100625003EAC76 /* NewShopListModel.h */,\n\t\t\t\t5CAE137421100625003EAC76 /* NewShopListModel.m */,\n\t\t\t\t5CAE1376211006D7003EAC76 /* ShoppingCartOrderListInfo.h */,\n\t\t\t\t5CAE1377211006D8003EAC76 /* ShoppingCartOrderListInfo.m */,\n\t\t\t);\n\t\t\tpath = Model;\n\t\t\tsourceTree = \"<group>\";\n\t\t};\n\t\t5CAE135A21100333003EAC76 /* SDPhotoBrowser */ = {\n\t\t\tisa = PBXGroup;\n\t\t\tchildren = (\n\t\t\t\t5CAE135B21100333003EAC76 /* SDPhotoBrowserConfig.h */,\n\t\t\t\t5CAE135C21100333003EAC76 /* SDPhotoBrowser.m */,\n\t\t\t\t5CAE135D21100333003EAC76 /* SDWaitingView.m */,\n\t\t\t\t5CAE135E21100333003EAC76 /* SDBrowserImageView.m */,\n\t\t\t\t5CAE135F21100333003EAC76 /* SDWaitingView.h */,\n\t\t\t\t5CAE136021100333003EAC76 /* SDPhotoBrowser.h */,\n\t\t\t\t5CAE136121100333003EAC76 /* SDBrowserImageView.h */,\n\t\t\t);\n\t\t\tpath = SDPhotoBrowser;\n\t\t\tsourceTree = \"<group>\";\n\t\t};\n\t\t5CAE136C21100426003EAC76 /* Utils */ = {\n\t\t\tisa = PBXGroup;\n\t\t\tchildren = (\n\t\t\t\t5CAE1379211007AA003EAC76 /* UITool.h */,\n\t\t\t\t5CAE137A211007AA003EAC76 /* UITool.m */,\n\t\t\t\t5CAE136D21100431003EAC76 /* AppMethods.h */,\n\t\t\t\t5CAE136E21100431003EAC76 /* AppMethods.m */,\n\t\t\t\t5CAE138721100AEB003EAC76 /* AppDefaultUtil.h */,\n\t\t\t\t5CAE138621100AEB003EAC76 /* AppDefaultUtil.m */,\n\t\t\t\t5CAE139B21101060003EAC76 /* ToolManager.h */,\n\t\t\t\t5CAE139C21101060003EAC76 /* ToolManager.m */,\n\t\t\t);\n\t\t\tpath = Utils;\n\t\t\tsourceTree = \"<group>\";\n\t\t};\n\t\tC4462004D74506EFC98897AA /* Pods */ = {\n\t\t\tisa = PBXGroup;\n\t\t\tchildren = (\n\t\t\t\t8B4BBC87A982D7A9BDCB7D1F /* Pods-CKMeiTuanShopView.debug.xcconfig */,\n\t\t\t\t02B270344967263C29ABD8F0 /* Pods-CKMeiTuanShopView.release.xcconfig */,\n\t\t\t);\n\t\t\tname = Pods;\n\t\t\tsourceTree = \"<group>\";\n\t\t};\n\t\tED37B15E2F50D39641B8B111 /* Frameworks */ = {\n\t\t\tisa = PBXGroup;\n\t\t\tchildren = (\n\t\t\t\tE15BCFEB869C01F49E7A73A6 /* libPods-CKMeiTuanShopView.a */,\n\t\t\t);\n\t\t\tname = Frameworks;\n\t\t\tsourceTree = \"<group>\";\n\t\t};\n/* End PBXGroup section */\n\n/* Begin PBXNativeTarget section */\n\t\t5CAE122C210FF6CD003EAC76 /* CKMeiTuanShopView */ = {\n\t\t\tisa = PBXNativeTarget;\n\t\t\tbuildConfigurationList = 5CAE1259210FF6D1003EAC76 /* Build configuration list for PBXNativeTarget \"CKMeiTuanShopView\" */;\n\t\t\tbuildPhases = (\n\t\t\t\tBD36D0D1CD0F4124D246F679 /* [CP] Check Pods Manifest.lock */,\n\t\t\t\t5CAE1229210FF6CD003EAC76 /* Sources */,\n\t\t\t\t5CAE122A210FF6CD003EAC76 /* Frameworks */,\n\t\t\t\t5CAE122B210FF6CD003EAC76 /* Resources */,\n\t\t\t\t97F918F93F92FFB896CCAB6C /* [CP] Copy Pods Resources */,\n\t\t\t);\n\t\t\tbuildRules = (\n\t\t\t);\n\t\t\tdependencies = (\n\t\t\t);\n\t\t\tname = CKMeiTuanShopView;\n\t\t\tproductName = CKMeiTuanShopView;\n\t\t\tproductReference = 5CAE122D210FF6CD003EAC76 /* CKMeiTuanShopView.app */;\n\t\t\tproductType = \"com.apple.product-type.application\";\n\t\t};\n\t\t5CAE1244210FF6D1003EAC76 /* CKMeiTuanShopViewTests */ = {\n\t\t\tisa = PBXNativeTarget;\n\t\t\tbuildConfigurationList = 5CAE125C210FF6D1003EAC76 /* Build configuration list for PBXNativeTarget \"CKMeiTuanShopViewTests\" */;\n\t\t\tbuildPhases = (\n\t\t\t\t5CAE1241210FF6D1003EAC76 /* Sources */,\n\t\t\t\t5CAE1242210FF6D1003EAC76 /* Frameworks */,\n\t\t\t\t5CAE1243210FF6D1003EAC76 /* Resources */,\n\t\t\t);\n\t\t\tbuildRules = (\n\t\t\t);\n\t\t\tdependencies = (\n\t\t\t\t5CAE1247210FF6D1003EAC76 /* PBXTargetDependency */,\n\t\t\t);\n\t\t\tname = CKMeiTuanShopViewTests;\n\t\t\tproductName = CKMeiTuanShopViewTests;\n\t\t\tproductReference = 5CAE1245210FF6D1003EAC76 /* CKMeiTuanShopViewTests.xctest */;\n\t\t\tproductType = \"com.apple.product-type.bundle.unit-test\";\n\t\t};\n\t\t5CAE124F210FF6D1003EAC76 /* CKMeiTuanShopViewUITests */ = {\n\t\t\tisa = PBXNativeTarget;\n\t\t\tbuildConfigurationList = 5CAE125F210FF6D1003EAC76 /* Build configuration list for PBXNativeTarget \"CKMeiTuanShopViewUITests\" */;\n\t\t\tbuildPhases = (\n\t\t\t\t5CAE124C210FF6D1003EAC76 /* Sources */,\n\t\t\t\t5CAE124D210FF6D1003EAC76 /* Frameworks */,\n\t\t\t\t5CAE124E210FF6D1003EAC76 /* Resources */,\n\t\t\t);\n\t\t\tbuildRules = (\n\t\t\t);\n\t\t\tdependencies = (\n\t\t\t\t5CAE1252210FF6D1003EAC76 /* PBXTargetDependency */,\n\t\t\t);\n\t\t\tname = CKMeiTuanShopViewUITests;\n\t\t\tproductName = CKMeiTuanShopViewUITests;\n\t\t\tproductReference = 5CAE1250210FF6D1003EAC76 /* CKMeiTuanShopViewUITests.xctest */;\n\t\t\tproductType = \"com.apple.product-type.bundle.ui-testing\";\n\t\t};\n/* End PBXNativeTarget section */\n\n/* Begin PBXProject section */\n\t\t5CAE1225210FF6CD003EAC76 /* Project object */ = {\n\t\t\tisa = PBXProject;\n\t\t\tattributes = {\n\t\t\t\tLastUpgradeCheck = 0940;\n\t\t\t\tORGANIZATIONNAME = CK;\n\t\t\t\tTargetAttributes = {\n\t\t\t\t\t5CAE122C210FF6CD003EAC76 = {\n\t\t\t\t\t\tCreatedOnToolsVersion = 9.4.1;\n\t\t\t\t\t};\n\t\t\t\t\t5CAE1244210FF6D1003EAC76 = {\n\t\t\t\t\t\tCreatedOnToolsVersion = 9.4.1;\n\t\t\t\t\t\tTestTargetID = 5CAE122C210FF6CD003EAC76;\n\t\t\t\t\t};\n\t\t\t\t\t5CAE124F210FF6D1003EAC76 = {\n\t\t\t\t\t\tCreatedOnToolsVersion = 9.4.1;\n\t\t\t\t\t\tTestTargetID = 5CAE122C210FF6CD003EAC76;\n\t\t\t\t\t};\n\t\t\t\t};\n\t\t\t};\n\t\t\tbuildConfigurationList = 5CAE1228210FF6CD003EAC76 /* Build configuration list for PBXProject \"CKMeiTuanShopView\" */;\n\t\t\tcompatibilityVersion = \"Xcode 9.3\";\n\t\t\tdevelopmentRegion = en;\n\t\t\thasScannedForEncodings = 0;\n\t\t\tknownRegions = (\n\t\t\t\ten,\n\t\t\t\tBase,\n\t\t\t);\n\t\t\tmainGroup = 5CAE1224210FF6CD003EAC76;\n\t\t\tproductRefGroup = 5CAE122E210FF6CD003EAC76 /* Products */;\n\t\t\tprojectDirPath = \"\";\n\t\t\tprojectRoot = \"\";\n\t\t\ttargets = (\n\t\t\t\t5CAE122C210FF6CD003EAC76 /* CKMeiTuanShopView */,\n\t\t\t\t5CAE1244210FF6D1003EAC76 /* CKMeiTuanShopViewTests */,\n\t\t\t\t5CAE124F210FF6D1003EAC76 /* CKMeiTuanShopViewUITests */,\n\t\t\t);\n\t\t};\n/* End PBXProject section */\n\n/* Begin PBXResourcesBuildPhase section */\n\t\t5CAE122B210FF6CD003EAC76 /* Resources */ = {\n\t\t\tisa = PBXResourcesBuildPhase;\n\t\t\tbuildActionMask = 2147483647;\n\t\t\tfiles = (\n\t\t\t\t5CAE13A5211056F5003EAC76 /* shop.json in Resources */,\n\t\t\t\t5CAE13A7211166A2003EAC76 /* food.png in Resources */,\n\t\t\t\t5CAE1335210FFDC1003EAC76 /* Assets.xcassets in Resources */,\n\t\t\t\t5CAE1337210FFDC1003EAC76 /* Main.storyboard in Resources */,\n\t\t\t\t5CAE13542110007B003EAC76 /* CustomTestCell.xib in Resources */,\n\t\t\t\t5C70FB782111C07E001DB333 /* pizza.json in Resources */,\n\t\t\t\t5CAE1336210FFDC1003EAC76 /* LaunchScreen.storyboard in Resources */,\n\t\t\t);\n\t\t\trunOnlyForDeploymentPostprocessing = 0;\n\t\t};\n\t\t5CAE1243210FF6D1003EAC76 /* Resources */ = {\n\t\t\tisa = PBXResourcesBuildPhase;\n\t\t\tbuildActionMask = 2147483647;\n\t\t\tfiles = (\n\t\t\t);\n\t\t\trunOnlyForDeploymentPostprocessing = 0;\n\t\t};\n\t\t5CAE124E210FF6D1003EAC76 /* Resources */ = {\n\t\t\tisa = PBXResourcesBuildPhase;\n\t\t\tbuildActionMask = 2147483647;\n\t\t\tfiles = (\n\t\t\t);\n\t\t\trunOnlyForDeploymentPostprocessing = 0;\n\t\t};\n/* End PBXResourcesBuildPhase section */\n\n/* Begin PBXShellScriptBuildPhase section */\n\t\t97F918F93F92FFB896CCAB6C /* [CP] Copy Pods Resources */ = {\n\t\t\tisa = PBXShellScriptBuildPhase;\n\t\t\tbuildActionMask = 2147483647;\n\t\t\tfiles = (\n\t\t\t);\n\t\t\tinputPaths = (\n\t\t\t\t\"${SRCROOT}/Pods/Target Support Files/Pods-CKMeiTuanShopView/Pods-CKMeiTuanShopView-resources.sh\",\n\t\t\t\t\"${PODS_ROOT}/IQKeyboardManager/IQKeyboardManager/Resources/IQKeyboardManager.bundle\",\n\t\t\t\t\"${PODS_ROOT}/MJRefresh/MJRefresh/MJRefresh.bundle\",\n\t\t\t);\n\t\t\tname = \"[CP] Copy Pods Resources\";\n\t\t\toutputPaths = (\n\t\t\t\t\"${TARGET_BUILD_DIR}/${UNLOCALIZED_RESOURCES_FOLDER_PATH}/IQKeyboardManager.bundle\",\n\t\t\t\t\"${TARGET_BUILD_DIR}/${UNLOCALIZED_RESOURCES_FOLDER_PATH}/MJRefresh.bundle\",\n\t\t\t);\n\t\t\trunOnlyForDeploymentPostprocessing = 0;\n\t\t\tshellPath = /bin/sh;\n\t\t\tshellScript = \"\\\"${SRCROOT}/Pods/Target Support Files/Pods-CKMeiTuanShopView/Pods-CKMeiTuanShopView-resources.sh\\\"\\n\";\n\t\t\tshowEnvVarsInLog = 0;\n\t\t};\n\t\tBD36D0D1CD0F4124D246F679 /* [CP] Check Pods Manifest.lock */ = {\n\t\t\tisa = PBXShellScriptBuildPhase;\n\t\t\tbuildActionMask = 2147483647;\n\t\t\tfiles = (\n\t\t\t);\n\t\t\tinputPaths = (\n\t\t\t\t\"${PODS_PODFILE_DIR_PATH}/Podfile.lock\",\n\t\t\t\t\"${PODS_ROOT}/Manifest.lock\",\n\t\t\t);\n\t\t\tname = \"[CP] Check Pods Manifest.lock\";\n\t\t\toutputPaths = (\n\t\t\t\t\"$(DERIVED_FILE_DIR)/Pods-CKMeiTuanShopView-checkManifestLockResult.txt\",\n\t\t\t);\n\t\t\trunOnlyForDeploymentPostprocessing = 0;\n\t\t\tshellPath = /bin/sh;\n\t\t\tshellScript = \"diff \\\"${PODS_PODFILE_DIR_PATH}/Podfile.lock\\\" \\\"${PODS_ROOT}/Manifest.lock\\\" > /dev/null\\nif [ $? != 0 ] ; then\\n    # print error to STDERR\\n    echo \\\"error: The sandbox is not in sync with the Podfile.lock. Run 'pod install' or update your CocoaPods installation.\\\" >&2\\n    exit 1\\nfi\\n# This output is used by Xcode 'outputs' to avoid re-running this script phase.\\necho \\\"SUCCESS\\\" > \\\"${SCRIPT_OUTPUT_FILE_0}\\\"\\n\";\n\t\t\tshowEnvVarsInLog = 0;\n\t\t};\n/* End PBXShellScriptBuildPhase section */\n\n/* Begin PBXSourcesBuildPhase section */\n\t\t5CAE1229210FF6CD003EAC76 /* Sources */ = {\n\t\t\tisa = PBXSourcesBuildPhase;\n\t\t\tbuildActionMask = 2147483647;\n\t\t\tfiles = (\n\t\t\t\t5CAE136221100333003EAC76 /* SDPhotoBrowser.m in Sources */,\n\t\t\t\t5CAE1378211006D8003EAC76 /* ShoppingCartOrderListInfo.m in Sources */,\n\t\t\t\t5CAE138321100ABE003EAC76 /* LJDynamicItem.m in Sources */,\n\t\t\t\t5CAE13552110007B003EAC76 /* YBPopupMenu.m in Sources */,\n\t\t\t\t5CAE1338210FFDC1003EAC76 /* main.m in Sources */,\n\t\t\t\t5CAE1327210FFD84003EAC76 /* ShopMerchantView.m in Sources */,\n\t\t\t\t5CAE1328210FFD84003EAC76 /* ShopEvaluateView.m in Sources */,\n\t\t\t\t5CAE139A21100EBA003EAC76 /* NSString+Extension.m in Sources */,\n\t\t\t\t5CAE132A210FFD84003EAC76 /* TakeawayShopMainVC.m in Sources */,\n\t\t\t\t5CAE137521100626003EAC76 /* NewShopListModel.m in Sources */,\n\t\t\t\t5CAE136421100333003EAC76 /* SDBrowserImageView.m in Sources */,\n\t\t\t\t5CAE139421100DB5003EAC76 /* UILabel+ChangeLineSpaceAndWordSpace.m in Sources */,\n\t\t\t\t5CAE12B9210FF765003EAC76 /* TakeawayProductCardCell.m in Sources */,\n\t\t\t\t5CAE1329210FFD84003EAC76 /* ShopHomePageView.m in Sources */,\n\t\t\t\t5CAE12B7210FF765003EAC76 /* TakeawayProductCollectionCell.m in Sources */,\n\t\t\t\t5CAE132B210FFD84003EAC76 /* ShopScrollView.m in Sources */,\n\t\t\t\t5CAE133F210FFFCA003EAC76 /* UIView+Helper.m in Sources */,\n\t\t\t\t5CAE138821100AEB003EAC76 /* AppDefaultUtil.m in Sources */,\n\t\t\t\t5CAE136321100333003EAC76 /* SDWaitingView.m in Sources */,\n\t\t\t\t5CAE132C210FFD84003EAC76 /* TakeawayShopView.m in Sources */,\n\t\t\t\t5CAE13A021101197003EAC76 /* NSDate+Utilities.m in Sources */,\n\t\t\t\t5CAE13532110007B003EAC76 /* CustomTestCell.m in Sources */,\n\t\t\t\t5CAE138521100ABE003EAC76 /* JHHeaderFlowLayout.m in Sources */,\n\t\t\t\t5CAE133B210FFEF9003EAC76 /* ReserveEvluateCell.m in Sources */,\n\t\t\t\t5CAE139121100DB0003EAC76 /* UILabel+Extensions.m in Sources */,\n\t\t\t\t5CAE137B211007AA003EAC76 /* UITool.m in Sources */,\n\t\t\t\t5CAE12B8210FF765003EAC76 /* TakeawayProductListCell.m in Sources */,\n\t\t\t\t5CAE138B21100C37003EAC76 /* UIView+Extension.m in Sources */,\n\t\t\t\t5C358AC5212ED58F00A37184 /* FXBlurView.m in Sources */,\n\t\t\t\t5CAE13522110007B003EAC76 /* YBPopupMenuPath.m in Sources */,\n\t\t\t\t5CAE1232210FF6CD003EAC76 /* AppDelegate.m in Sources */,\n\t\t\t\t5CAE138421100ABE003EAC76 /* HeaderReusableView.m in Sources */,\n\t\t\t\t5CAE136F21100431003EAC76 /* AppMethods.m in Sources */,\n\t\t\t\t5CAE1359211000C3003EAC76 /* NewShopModel.m in Sources */,\n\t\t\t\t5CAE137221100508003EAC76 /* EvaluateModel.m in Sources */,\n\t\t\t\t5CAE13512110007B003EAC76 /* YBRectConst.m in Sources */,\n\t\t\t\t5CAE139721100E46003EAC76 /* UIImage+BlurImage.m in Sources */,\n\t\t\t\t5CAE139D21101060003EAC76 /* ToolManager.m in Sources */,\n\t\t\t);\n\t\t\trunOnlyForDeploymentPostprocessing = 0;\n\t\t};\n\t\t5CAE1241210FF6D1003EAC76 /* Sources */ = {\n\t\t\tisa = PBXSourcesBuildPhase;\n\t\t\tbuildActionMask = 2147483647;\n\t\t\tfiles = (\n\t\t\t\t5CAE124A210FF6D1003EAC76 /* CKMeiTuanShopViewTests.m in Sources */,\n\t\t\t);\n\t\t\trunOnlyForDeploymentPostprocessing = 0;\n\t\t};\n\t\t5CAE124C210FF6D1003EAC76 /* Sources */ = {\n\t\t\tisa = PBXSourcesBuildPhase;\n\t\t\tbuildActionMask = 2147483647;\n\t\t\tfiles = (\n\t\t\t\t5CAE1255210FF6D1003EAC76 /* CKMeiTuanShopViewUITests.m in Sources */,\n\t\t\t);\n\t\t\trunOnlyForDeploymentPostprocessing = 0;\n\t\t};\n/* End PBXSourcesBuildPhase section */\n\n/* Begin PBXTargetDependency section */\n\t\t5CAE1247210FF6D1003EAC76 /* PBXTargetDependency */ = {\n\t\t\tisa = PBXTargetDependency;\n\t\t\ttarget = 5CAE122C210FF6CD003EAC76 /* CKMeiTuanShopView */;\n\t\t\ttargetProxy = 5CAE1246210FF6D1003EAC76 /* PBXContainerItemProxy */;\n\t\t};\n\t\t5CAE1252210FF6D1003EAC76 /* PBXTargetDependency */ = {\n\t\t\tisa = PBXTargetDependency;\n\t\t\ttarget = 5CAE122C210FF6CD003EAC76 /* CKMeiTuanShopView */;\n\t\t\ttargetProxy = 5CAE1251210FF6D1003EAC76 /* PBXContainerItemProxy */;\n\t\t};\n/* End PBXTargetDependency section */\n\n/* Begin PBXVariantGroup section */\n\t\t5CAE1330210FFDC1003EAC76 /* LaunchScreen.storyboard */ = {\n\t\t\tisa = PBXVariantGroup;\n\t\t\tchildren = (\n\t\t\t\t5CAE1331210FFDC1003EAC76 /* Base */,\n\t\t\t);\n\t\t\tname = LaunchScreen.storyboard;\n\t\t\tsourceTree = \"<group>\";\n\t\t};\n\t\t5CAE1332210FFDC1003EAC76 /* Main.storyboard */ = {\n\t\t\tisa = PBXVariantGroup;\n\t\t\tchildren = (\n\t\t\t\t5CAE1333210FFDC1003EAC76 /* Base */,\n\t\t\t);\n\t\t\tname = Main.storyboard;\n\t\t\tsourceTree = \"<group>\";\n\t\t};\n/* End PBXVariantGroup section */\n\n/* Begin XCBuildConfiguration section */\n\t\t5CAE1257210FF6D1003EAC76 /* Debug */ = {\n\t\t\tisa = XCBuildConfiguration;\n\t\t\tbuildSettings = {\n\t\t\t\tALWAYS_SEARCH_USER_PATHS = NO;\n\t\t\t\tCLANG_ANALYZER_NONNULL = YES;\n\t\t\t\tCLANG_ANALYZER_NUMBER_OBJECT_CONVERSION = YES_AGGRESSIVE;\n\t\t\t\tCLANG_CXX_LANGUAGE_STANDARD = \"gnu++14\";\n\t\t\t\tCLANG_CXX_LIBRARY = \"libc++\";\n\t\t\t\tCLANG_ENABLE_MODULES = YES;\n\t\t\t\tCLANG_ENABLE_OBJC_ARC = YES;\n\t\t\t\tCLANG_ENABLE_OBJC_WEAK = YES;\n\t\t\t\tCLANG_WARN_BLOCK_CAPTURE_AUTORELEASING = YES;\n\t\t\t\tCLANG_WARN_BOOL_CONVERSION = YES;\n\t\t\t\tCLANG_WARN_COMMA = YES;\n\t\t\t\tCLANG_WARN_CONSTANT_CONVERSION = YES;\n\t\t\t\tCLANG_WARN_DEPRECATED_OBJC_IMPLEMENTATIONS = YES;\n\t\t\t\tCLANG_WARN_DIRECT_OBJC_ISA_USAGE = YES_ERROR;\n\t\t\t\tCLANG_WARN_DOCUMENTATION_COMMENTS = YES;\n\t\t\t\tCLANG_WARN_EMPTY_BODY = YES;\n\t\t\t\tCLANG_WARN_ENUM_CONVERSION = YES;\n\t\t\t\tCLANG_WARN_INFINITE_RECURSION = YES;\n\t\t\t\tCLANG_WARN_INT_CONVERSION = YES;\n\t\t\t\tCLANG_WARN_NON_LITERAL_NULL_CONVERSION = YES;\n\t\t\t\tCLANG_WARN_OBJC_IMPLICIT_RETAIN_SELF = YES;\n\t\t\t\tCLANG_WARN_OBJC_LITERAL_CONVERSION = YES;\n\t\t\t\tCLANG_WARN_OBJC_ROOT_CLASS = YES_ERROR;\n\t\t\t\tCLANG_WARN_RANGE_LOOP_ANALYSIS = YES;\n\t\t\t\tCLANG_WARN_STRICT_PROTOTYPES = YES;\n\t\t\t\tCLANG_WARN_SUSPICIOUS_MOVE = YES;\n\t\t\t\tCLANG_WARN_UNGUARDED_AVAILABILITY = YES_AGGRESSIVE;\n\t\t\t\tCLANG_WARN_UNREACHABLE_CODE = YES;\n\t\t\t\tCLANG_WARN__DUPLICATE_METHOD_MATCH = YES;\n\t\t\t\tCODE_SIGN_IDENTITY = \"iPhone Developer\";\n\t\t\t\tCOPY_PHASE_STRIP = NO;\n\t\t\t\tDEBUG_INFORMATION_FORMAT = dwarf;\n\t\t\t\tENABLE_STRICT_OBJC_MSGSEND = YES;\n\t\t\t\tENABLE_TESTABILITY = YES;\n\t\t\t\tGCC_C_LANGUAGE_STANDARD = gnu11;\n\t\t\t\tGCC_DYNAMIC_NO_PIC = NO;\n\t\t\t\tGCC_NO_COMMON_BLOCKS = YES;\n\t\t\t\tGCC_OPTIMIZATION_LEVEL = 0;\n\t\t\t\tGCC_PREPROCESSOR_DEFINITIONS = (\n\t\t\t\t\t\"DEBUG=1\",\n\t\t\t\t\t\"$(inherited)\",\n\t\t\t\t);\n\t\t\t\tGCC_WARN_64_TO_32_BIT_CONVERSION = YES;\n\t\t\t\tGCC_WARN_ABOUT_RETURN_TYPE = YES_ERROR;\n\t\t\t\tGCC_WARN_UNDECLARED_SELECTOR = YES;\n\t\t\t\tGCC_WARN_UNINITIALIZED_AUTOS = YES_AGGRESSIVE;\n\t\t\t\tGCC_WARN_UNUSED_FUNCTION = YES;\n\t\t\t\tGCC_WARN_UNUSED_VARIABLE = YES;\n\t\t\t\tIPHONEOS_DEPLOYMENT_TARGET = 11.4;\n\t\t\t\tMTL_ENABLE_DEBUG_INFO = YES;\n\t\t\t\tONLY_ACTIVE_ARCH = YES;\n\t\t\t\tSDKROOT = iphoneos;\n\t\t\t};\n\t\t\tname = Debug;\n\t\t};\n\t\t5CAE1258210FF6D1003EAC76 /* Release */ = {\n\t\t\tisa = XCBuildConfiguration;\n\t\t\tbuildSettings = {\n\t\t\t\tALWAYS_SEARCH_USER_PATHS = NO;\n\t\t\t\tCLANG_ANALYZER_NONNULL = YES;\n\t\t\t\tCLANG_ANALYZER_NUMBER_OBJECT_CONVERSION = YES_AGGRESSIVE;\n\t\t\t\tCLANG_CXX_LANGUAGE_STANDARD = \"gnu++14\";\n\t\t\t\tCLANG_CXX_LIBRARY = \"libc++\";\n\t\t\t\tCLANG_ENABLE_MODULES = YES;\n\t\t\t\tCLANG_ENABLE_OBJC_ARC = YES;\n\t\t\t\tCLANG_ENABLE_OBJC_WEAK = YES;\n\t\t\t\tCLANG_WARN_BLOCK_CAPTURE_AUTORELEASING = YES;\n\t\t\t\tCLANG_WARN_BOOL_CONVERSION = YES;\n\t\t\t\tCLANG_WARN_COMMA = YES;\n\t\t\t\tCLANG_WARN_CONSTANT_CONVERSION = YES;\n\t\t\t\tCLANG_WARN_DEPRECATED_OBJC_IMPLEMENTATIONS = YES;\n\t\t\t\tCLANG_WARN_DIRECT_OBJC_ISA_USAGE = YES_ERROR;\n\t\t\t\tCLANG_WARN_DOCUMENTATION_COMMENTS = YES;\n\t\t\t\tCLANG_WARN_EMPTY_BODY = YES;\n\t\t\t\tCLANG_WARN_ENUM_CONVERSION = YES;\n\t\t\t\tCLANG_WARN_INFINITE_RECURSION = YES;\n\t\t\t\tCLANG_WARN_INT_CONVERSION = YES;\n\t\t\t\tCLANG_WARN_NON_LITERAL_NULL_CONVERSION = YES;\n\t\t\t\tCLANG_WARN_OBJC_IMPLICIT_RETAIN_SELF = YES;\n\t\t\t\tCLANG_WARN_OBJC_LITERAL_CONVERSION = YES;\n\t\t\t\tCLANG_WARN_OBJC_ROOT_CLASS = YES_ERROR;\n\t\t\t\tCLANG_WARN_RANGE_LOOP_ANALYSIS = YES;\n\t\t\t\tCLANG_WARN_STRICT_PROTOTYPES = YES;\n\t\t\t\tCLANG_WARN_SUSPICIOUS_MOVE = YES;\n\t\t\t\tCLANG_WARN_UNGUARDED_AVAILABILITY = YES_AGGRESSIVE;\n\t\t\t\tCLANG_WARN_UNREACHABLE_CODE = YES;\n\t\t\t\tCLANG_WARN__DUPLICATE_METHOD_MATCH = YES;\n\t\t\t\tCODE_SIGN_IDENTITY = \"iPhone Developer\";\n\t\t\t\tCOPY_PHASE_STRIP = NO;\n\t\t\t\tDEBUG_INFORMATION_FORMAT = \"dwarf-with-dsym\";\n\t\t\t\tENABLE_NS_ASSERTIONS = NO;\n\t\t\t\tENABLE_STRICT_OBJC_MSGSEND = YES;\n\t\t\t\tGCC_C_LANGUAGE_STANDARD = gnu11;\n\t\t\t\tGCC_NO_COMMON_BLOCKS = YES;\n\t\t\t\tGCC_WARN_64_TO_32_BIT_CONVERSION = YES;\n\t\t\t\tGCC_WARN_ABOUT_RETURN_TYPE = YES_ERROR;\n\t\t\t\tGCC_WARN_UNDECLARED_SELECTOR = YES;\n\t\t\t\tGCC_WARN_UNINITIALIZED_AUTOS = YES_AGGRESSIVE;\n\t\t\t\tGCC_WARN_UNUSED_FUNCTION = YES;\n\t\t\t\tGCC_WARN_UNUSED_VARIABLE = YES;\n\t\t\t\tIPHONEOS_DEPLOYMENT_TARGET = 11.4;\n\t\t\t\tMTL_ENABLE_DEBUG_INFO = NO;\n\t\t\t\tSDKROOT = iphoneos;\n\t\t\t\tVALIDATE_PRODUCT = YES;\n\t\t\t};\n\t\t\tname = Release;\n\t\t};\n\t\t5CAE125A210FF6D1003EAC76 /* Debug */ = {\n\t\t\tisa = XCBuildConfiguration;\n\t\t\tbaseConfigurationReference = 8B4BBC87A982D7A9BDCB7D1F /* Pods-CKMeiTuanShopView.debug.xcconfig */;\n\t\t\tbuildSettings = {\n\t\t\t\tASSETCATALOG_COMPILER_APPICON_NAME = AppIcon;\n\t\t\t\tCLANG_WARN_OBJC_IMPLICIT_RETAIN_SELF = NO;\n\t\t\t\tCODE_SIGN_STYLE = Automatic;\n\t\t\t\tDEVELOPMENT_TEAM = 9QT7JM7PL9;\n\t\t\t\tGCC_PREFIX_HEADER = \"CKMeiTuanShopView/Supporting Flies/CKPrefixHeader.pch\";\n\t\t\t\tINFOPLIST_FILE = CKMeiTuanShopView/Info.plist;\n\t\t\t\tLD_RUNPATH_SEARCH_PATHS = (\n\t\t\t\t\t\"$(inherited)\",\n\t\t\t\t\t\"@executable_path/Frameworks\",\n\t\t\t\t);\n\t\t\t\tPRODUCT_BUNDLE_IDENTIFIER = ck.com.CKMeiTuanShopView;\n\t\t\t\tPRODUCT_NAME = \"$(TARGET_NAME)\";\n\t\t\t\tTARGETED_DEVICE_FAMILY = \"1,2\";\n\t\t\t};\n\t\t\tname = Debug;\n\t\t};\n\t\t5CAE125B210FF6D1003EAC76 /* Release */ = {\n\t\t\tisa = XCBuildConfiguration;\n\t\t\tbaseConfigurationReference = 02B270344967263C29ABD8F0 /* Pods-CKMeiTuanShopView.release.xcconfig */;\n\t\t\tbuildSettings = {\n\t\t\t\tASSETCATALOG_COMPILER_APPICON_NAME = AppIcon;\n\t\t\t\tCLANG_WARN_OBJC_IMPLICIT_RETAIN_SELF = NO;\n\t\t\t\tCODE_SIGN_STYLE = Automatic;\n\t\t\t\tDEVELOPMENT_TEAM = 9QT7JM7PL9;\n\t\t\t\tGCC_PREFIX_HEADER = \"CKMeiTuanShopView/Supporting Flies/CKPrefixHeader.pch\";\n\t\t\t\tINFOPLIST_FILE = CKMeiTuanShopView/Info.plist;\n\t\t\t\tLD_RUNPATH_SEARCH_PATHS = (\n\t\t\t\t\t\"$(inherited)\",\n\t\t\t\t\t\"@executable_path/Frameworks\",\n\t\t\t\t);\n\t\t\t\tPRODUCT_BUNDLE_IDENTIFIER = ck.com.CKMeiTuanShopView;\n\t\t\t\tPRODUCT_NAME = \"$(TARGET_NAME)\";\n\t\t\t\tTARGETED_DEVICE_FAMILY = \"1,2\";\n\t\t\t};\n\t\t\tname = Release;\n\t\t};\n\t\t5CAE125D210FF6D1003EAC76 /* Debug */ = {\n\t\t\tisa = XCBuildConfiguration;\n\t\t\tbuildSettings = {\n\t\t\t\tBUNDLE_LOADER = \"$(TEST_HOST)\";\n\t\t\t\tCODE_SIGN_STYLE = Automatic;\n\t\t\t\tINFOPLIST_FILE = CKMeiTuanShopViewTests/Info.plist;\n\t\t\t\tLD_RUNPATH_SEARCH_PATHS = (\n\t\t\t\t\t\"$(inherited)\",\n\t\t\t\t\t\"@executable_path/Frameworks\",\n\t\t\t\t\t\"@loader_path/Frameworks\",\n\t\t\t\t);\n\t\t\t\tPRODUCT_BUNDLE_IDENTIFIER = ck.com.CKMeiTuanShopViewTests;\n\t\t\t\tPRODUCT_NAME = \"$(TARGET_NAME)\";\n\t\t\t\tTARGETED_DEVICE_FAMILY = \"1,2\";\n\t\t\t\tTEST_HOST = \"$(BUILT_PRODUCTS_DIR)/CKMeiTuanShopView.app/CKMeiTuanShopView\";\n\t\t\t};\n\t\t\tname = Debug;\n\t\t};\n\t\t5CAE125E210FF6D1003EAC76 /* Release */ = {\n\t\t\tisa = XCBuildConfiguration;\n\t\t\tbuildSettings = {\n\t\t\t\tBUNDLE_LOADER = \"$(TEST_HOST)\";\n\t\t\t\tCODE_SIGN_STYLE = Automatic;\n\t\t\t\tINFOPLIST_FILE = CKMeiTuanShopViewTests/Info.plist;\n\t\t\t\tLD_RUNPATH_SEARCH_PATHS = (\n\t\t\t\t\t\"$(inherited)\",\n\t\t\t\t\t\"@executable_path/Frameworks\",\n\t\t\t\t\t\"@loader_path/Frameworks\",\n\t\t\t\t);\n\t\t\t\tPRODUCT_BUNDLE_IDENTIFIER = ck.com.CKMeiTuanShopViewTests;\n\t\t\t\tPRODUCT_NAME = \"$(TARGET_NAME)\";\n\t\t\t\tTARGETED_DEVICE_FAMILY = \"1,2\";\n\t\t\t\tTEST_HOST = \"$(BUILT_PRODUCTS_DIR)/CKMeiTuanShopView.app/CKMeiTuanShopView\";\n\t\t\t};\n\t\t\tname = Release;\n\t\t};\n\t\t5CAE1260210FF6D1003EAC76 /* Debug */ = {\n\t\t\tisa = XCBuildConfiguration;\n\t\t\tbuildSettings = {\n\t\t\t\tCODE_SIGN_STYLE = Automatic;\n\t\t\t\tINFOPLIST_FILE = CKMeiTuanShopViewUITests/Info.plist;\n\t\t\t\tLD_RUNPATH_SEARCH_PATHS = (\n\t\t\t\t\t\"$(inherited)\",\n\t\t\t\t\t\"@executable_path/Frameworks\",\n\t\t\t\t\t\"@loader_path/Frameworks\",\n\t\t\t\t);\n\t\t\t\tPRODUCT_BUNDLE_IDENTIFIER = ck.com.CKMeiTuanShopViewUITests;\n\t\t\t\tPRODUCT_NAME = \"$(TARGET_NAME)\";\n\t\t\t\tTARGETED_DEVICE_FAMILY = \"1,2\";\n\t\t\t\tTEST_TARGET_NAME = CKMeiTuanShopView;\n\t\t\t};\n\t\t\tname = Debug;\n\t\t};\n\t\t5CAE1261210FF6D1003EAC76 /* Release */ = {\n\t\t\tisa = XCBuildConfiguration;\n\t\t\tbuildSettings = {\n\t\t\t\tCODE_SIGN_STYLE = Automatic;\n\t\t\t\tINFOPLIST_FILE = CKMeiTuanShopViewUITests/Info.plist;\n\t\t\t\tLD_RUNPATH_SEARCH_PATHS = (\n\t\t\t\t\t\"$(inherited)\",\n\t\t\t\t\t\"@executable_path/Frameworks\",\n\t\t\t\t\t\"@loader_path/Frameworks\",\n\t\t\t\t);\n\t\t\t\tPRODUCT_BUNDLE_IDENTIFIER = ck.com.CKMeiTuanShopViewUITests;\n\t\t\t\tPRODUCT_NAME = \"$(TARGET_NAME)\";\n\t\t\t\tTARGETED_DEVICE_FAMILY = \"1,2\";\n\t\t\t\tTEST_TARGET_NAME = CKMeiTuanShopView;\n\t\t\t};\n\t\t\tname = Release;\n\t\t};\n/* End XCBuildConfiguration section */\n\n/* Begin XCConfigurationList section */\n\t\t5CAE1228210FF6CD003EAC76 /* Build configuration list for PBXProject \"CKMeiTuanShopView\" */ = {\n\t\t\tisa = XCConfigurationList;\n\t\t\tbuildConfigurations = (\n\t\t\t\t5CAE1257210FF6D1003EAC76 /* Debug */,\n\t\t\t\t5CAE1258210FF6D1003EAC76 /* Release */,\n\t\t\t);\n\t\t\tdefaultConfigurationIsVisible = 0;\n\t\t\tdefaultConfigurationName = Release;\n\t\t};\n\t\t5CAE1259210FF6D1003EAC76 /* Build configuration list for PBXNativeTarget \"CKMeiTuanShopView\" */ = {\n\t\t\tisa = XCConfigurationList;\n\t\t\tbuildConfigurations = (\n\t\t\t\t5CAE125A210FF6D1003EAC76 /* Debug */,\n\t\t\t\t5CAE125B210FF6D1003EAC76 /* Release */,\n\t\t\t);\n\t\t\tdefaultConfigurationIsVisible = 0;\n\t\t\tdefaultConfigurationName = Release;\n\t\t};\n\t\t5CAE125C210FF6D1003EAC76 /* Build configuration list for PBXNativeTarget \"CKMeiTuanShopViewTests\" */ = {\n\t\t\tisa = XCConfigurationList;\n\t\t\tbuildConfigurations = (\n\t\t\t\t5CAE125D210FF6D1003EAC76 /* Debug */,\n\t\t\t\t5CAE125E210FF6D1003EAC76 /* Release */,\n\t\t\t);\n\t\t\tdefaultConfigurationIsVisible = 0;\n\t\t\tdefaultConfigurationName = Release;\n\t\t};\n\t\t5CAE125F210FF6D1003EAC76 /* Build configuration list for PBXNativeTarget \"CKMeiTuanShopViewUITests\" */ = {\n\t\t\tisa = XCConfigurationList;\n\t\t\tbuildConfigurations = (\n\t\t\t\t5CAE1260210FF6D1003EAC76 /* Debug */,\n\t\t\t\t5CAE1261210FF6D1003EAC76 /* Release */,\n\t\t\t);\n\t\t\tdefaultConfigurationIsVisible = 0;\n\t\t\tdefaultConfigurationName = Release;\n\t\t};\n/* End XCConfigurationList section */\n\t};\n\trootObject = 5CAE1225210FF6CD003EAC76 /* Project object */;\n}\n"
  },
  {
    "path": "CKMeiTuanShopView/CKMeiTuanShopView.xcodeproj/project.xcworkspace/contents.xcworkspacedata",
    "content": "<?xml version=\"1.0\" encoding=\"UTF-8\"?>\n<Workspace\n   version = \"1.0\">\n   <FileRef\n      location = \"self:CKMeiTuanShopView.xcodeproj\">\n   </FileRef>\n</Workspace>\n"
  },
  {
    "path": "CKMeiTuanShopView/CKMeiTuanShopView.xcodeproj/project.xcworkspace/xcshareddata/IDEWorkspaceChecks.plist",
    "content": "<?xml version=\"1.0\" encoding=\"UTF-8\"?>\n<!DOCTYPE plist PUBLIC \"-//Apple//DTD PLIST 1.0//EN\" \"http://www.apple.com/DTDs/PropertyList-1.0.dtd\">\n<plist version=\"1.0\">\n<dict>\n\t<key>IDEDidComputeMac32BitWarning</key>\n\t<true/>\n</dict>\n</plist>\n"
  },
  {
    "path": "CKMeiTuanShopView/CKMeiTuanShopView.xcworkspace/contents.xcworkspacedata",
    "content": "<?xml version=\"1.0\" encoding=\"UTF-8\"?>\n<Workspace\n   version = \"1.0\">\n   <FileRef\n      location = \"group:CKMeiTuanShopView.xcodeproj\">\n   </FileRef>\n   <FileRef\n      location = \"group:Pods/Pods.xcodeproj\">\n   </FileRef>\n</Workspace>\n"
  },
  {
    "path": "CKMeiTuanShopView/CKMeiTuanShopView.xcworkspace/xcshareddata/IDEWorkspaceChecks.plist",
    "content": "<?xml version=\"1.0\" encoding=\"UTF-8\"?>\n<!DOCTYPE plist PUBLIC \"-//Apple//DTD PLIST 1.0//EN\" \"http://www.apple.com/DTDs/PropertyList-1.0.dtd\">\n<plist version=\"1.0\">\n<dict>\n\t<key>IDEDidComputeMac32BitWarning</key>\n\t<true/>\n</dict>\n</plist>\n"
  },
  {
    "path": "CKMeiTuanShopView/CKMeiTuanShopViewTests/CKMeiTuanShopViewTests.m",
    "content": "//\n//  CKMeiTuanShopViewTests.m\n//  CKMeiTuanShopViewTests\n//\n//  Created by 池康 on 2018/7/31.\n//  Copyright © 2018年 CK. All rights reserved.\n//\n\n#import <XCTest/XCTest.h>\n\n@interface CKMeiTuanShopViewTests : XCTestCase\n\n@end\n\n@implementation CKMeiTuanShopViewTests\n\n- (void)setUp {\n    [super setUp];\n    // Put setup code here. This method is called before the invocation of each test method in the class.\n}\n\n- (void)tearDown {\n    // Put teardown code here. This method is called after the invocation of each test method in the class.\n    [super tearDown];\n}\n\n- (void)testExample {\n    // This is an example of a functional test case.\n    // Use XCTAssert and related functions to verify your tests produce the correct results.\n}\n\n- (void)testPerformanceExample {\n    // This is an example of a performance test case.\n    [self measureBlock:^{\n        // Put the code you want to measure the time of here.\n    }];\n}\n\n@end\n"
  },
  {
    "path": "CKMeiTuanShopView/CKMeiTuanShopViewTests/Info.plist",
    "content": "<?xml version=\"1.0\" encoding=\"UTF-8\"?>\n<!DOCTYPE plist PUBLIC \"-//Apple//DTD PLIST 1.0//EN\" \"http://www.apple.com/DTDs/PropertyList-1.0.dtd\">\n<plist version=\"1.0\">\n<dict>\n\t<key>CFBundleDevelopmentRegion</key>\n\t<string>$(DEVELOPMENT_LANGUAGE)</string>\n\t<key>CFBundleExecutable</key>\n\t<string>$(EXECUTABLE_NAME)</string>\n\t<key>CFBundleIdentifier</key>\n\t<string>$(PRODUCT_BUNDLE_IDENTIFIER)</string>\n\t<key>CFBundleInfoDictionaryVersion</key>\n\t<string>6.0</string>\n\t<key>CFBundleName</key>\n\t<string>$(PRODUCT_NAME)</string>\n\t<key>CFBundlePackageType</key>\n\t<string>BNDL</string>\n\t<key>CFBundleShortVersionString</key>\n\t<string>1.0</string>\n\t<key>CFBundleVersion</key>\n\t<string>1</string>\n</dict>\n</plist>\n"
  },
  {
    "path": "CKMeiTuanShopView/CKMeiTuanShopViewUITests/CKMeiTuanShopViewUITests.m",
    "content": "//\n//  CKMeiTuanShopViewUITests.m\n//  CKMeiTuanShopViewUITests\n//\n//  Created by 池康 on 2018/7/31.\n//  Copyright © 2018年 CK. All rights reserved.\n//\n\n#import <XCTest/XCTest.h>\n\n@interface CKMeiTuanShopViewUITests : XCTestCase\n\n@end\n\n@implementation CKMeiTuanShopViewUITests\n\n- (void)setUp {\n    [super setUp];\n    \n    // Put setup code here. This method is called before the invocation of each test method in the class.\n    \n    // In UI tests it is usually best to stop immediately when a failure occurs.\n    self.continueAfterFailure = NO;\n    // UI tests must launch the application that they test. Doing this in setup will make sure it happens for each test method.\n    [[[XCUIApplication alloc] init] launch];\n    \n    // In UI tests it’s important to set the initial state - such as interface orientation - required for your tests before they run. The setUp method is a good place to do this.\n}\n\n- (void)tearDown {\n    // Put teardown code here. This method is called after the invocation of each test method in the class.\n    [super tearDown];\n}\n\n- (void)testExample {\n    // Use recording to get started writing UI tests.\n    // Use XCTAssert and related functions to verify your tests produce the correct results.\n}\n\n@end\n"
  },
  {
    "path": "CKMeiTuanShopView/CKMeiTuanShopViewUITests/Info.plist",
    "content": "<?xml version=\"1.0\" encoding=\"UTF-8\"?>\n<!DOCTYPE plist PUBLIC \"-//Apple//DTD PLIST 1.0//EN\" \"http://www.apple.com/DTDs/PropertyList-1.0.dtd\">\n<plist version=\"1.0\">\n<dict>\n\t<key>CFBundleDevelopmentRegion</key>\n\t<string>$(DEVELOPMENT_LANGUAGE)</string>\n\t<key>CFBundleExecutable</key>\n\t<string>$(EXECUTABLE_NAME)</string>\n\t<key>CFBundleIdentifier</key>\n\t<string>$(PRODUCT_BUNDLE_IDENTIFIER)</string>\n\t<key>CFBundleInfoDictionaryVersion</key>\n\t<string>6.0</string>\n\t<key>CFBundleName</key>\n\t<string>$(PRODUCT_NAME)</string>\n\t<key>CFBundlePackageType</key>\n\t<string>BNDL</string>\n\t<key>CFBundleShortVersionString</key>\n\t<string>1.0</string>\n\t<key>CFBundleVersion</key>\n\t<string>1</string>\n</dict>\n</plist>\n"
  },
  {
    "path": "CKMeiTuanShopView/Podfile",
    "content": "platform:ios, '8.0'\ntarget 'CKMeiTuanShopView' do\n\npod 'SDWebImage', '~> 4.0'\npod 'IQKeyboardManager'\npod 'Masonry' #屏幕适配\npod 'MBProgressHUD' #提示框\npod 'AFNetworking', '~> 3.0'\npod 'JSONModel'\npod 'MJRefresh'\nend\n"
  },
  {
    "path": "CKMeiTuanShopView/Pods/AFNetworking/AFNetworking/AFCompatibilityMacros.h",
    "content": "// AFCompatibilityMacros.h\n// Copyright (c) 2011–2016 Alamofire Software Foundation ( http://alamofire.org/ )\n//\n// Permission is hereby granted, free of charge, to any person obtaining a copy\n// of this software and associated documentation files (the \"Software\"), to deal\n// in the Software without restriction, including without limitation the rights\n// to use, copy, modify, merge, publish, distribute, sublicense, and/or sell\n// copies of the Software, and to permit persons to whom the Software is\n// furnished to do so, subject to the following conditions:\n//\n// The above copyright notice and this permission notice shall be included in\n// all copies or substantial portions of the Software.\n//\n// THE SOFTWARE IS PROVIDED \"AS IS\", WITHOUT WARRANTY OF ANY KIND, EXPRESS OR\n// IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF MERCHANTABILITY,\n// FITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT. IN NO EVENT SHALL THE\n// AUTHORS OR COPYRIGHT HOLDERS BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER\n// LIABILITY, WHETHER IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING FROM,\n// OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN\n// THE SOFTWARE.\n\n#ifndef AFCompatibilityMacros_h\n#define AFCompatibilityMacros_h\n\n#ifdef API_UNAVAILABLE\n    #define AF_API_UNAVAILABLE(x) API_UNAVAILABLE(x)\n#else\n    #define AF_API_UNAVAILABLE(x)\n#endif // API_UNAVAILABLE\n\n#if __has_warning(\"-Wunguarded-availability-new\")\n    #define AF_CAN_USE_AT_AVAILABLE 1\n#else\n    #define AF_CAN_USE_AT_AVAILABLE 0\n#endif\n\n#endif /* AFCompatibilityMacros_h */\n"
  },
  {
    "path": "CKMeiTuanShopView/Pods/AFNetworking/AFNetworking/AFHTTPSessionManager.h",
    "content": "// AFHTTPSessionManager.h\n// Copyright (c) 2011–2016 Alamofire Software Foundation ( http://alamofire.org/ )\n//\n// Permission is hereby granted, free of charge, to any person obtaining a copy\n// of this software and associated documentation files (the \"Software\"), to deal\n// in the Software without restriction, including without limitation the rights\n// to use, copy, modify, merge, publish, distribute, sublicense, and/or sell\n// copies of the Software, and to permit persons to whom the Software is\n// furnished to do so, subject to the following conditions:\n//\n// The above copyright notice and this permission notice shall be included in\n// all copies or substantial portions of the Software.\n//\n// THE SOFTWARE IS PROVIDED \"AS IS\", WITHOUT WARRANTY OF ANY KIND, EXPRESS OR\n// IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF MERCHANTABILITY,\n// FITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT. IN NO EVENT SHALL THE\n// AUTHORS OR COPYRIGHT HOLDERS BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER\n// LIABILITY, WHETHER IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING FROM,\n// OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN\n// THE SOFTWARE.\n\n#import <Foundation/Foundation.h>\n#if !TARGET_OS_WATCH\n#import <SystemConfiguration/SystemConfiguration.h>\n#endif\n#import <TargetConditionals.h>\n\n#if TARGET_OS_IOS || TARGET_OS_WATCH || TARGET_OS_TV\n#import <MobileCoreServices/MobileCoreServices.h>\n#else\n#import <CoreServices/CoreServices.h>\n#endif\n\n#import \"AFURLSessionManager.h\"\n\n/**\n `AFHTTPSessionManager` is a subclass of `AFURLSessionManager` with convenience methods for making HTTP requests. When a `baseURL` is provided, requests made with the `GET` / `POST` / et al. convenience methods can be made with relative paths.\n\n ## Subclassing Notes\n\n Developers targeting iOS 7 or Mac OS X 10.9 or later that deal extensively with a web service are encouraged to subclass `AFHTTPSessionManager`, providing a class method that returns a shared singleton object on which authentication and other configuration can be shared across the application.\n\n For developers targeting iOS 6 or Mac OS X 10.8 or earlier, `AFHTTPRequestOperationManager` may be used to similar effect.\n\n ## Methods to Override\n\n To change the behavior of all data task operation construction, which is also used in the `GET` / `POST` / et al. convenience methods, override `dataTaskWithRequest:uploadProgress:downloadProgress:completionHandler:`.\n\n ## Serialization\n\n Requests created by an HTTP client will contain default headers and encode parameters according to the `requestSerializer` property, which is an object conforming to `<AFURLRequestSerialization>`.\n\n Responses received from the server are automatically validated and serialized by the `responseSerializers` property, which is an object conforming to `<AFURLResponseSerialization>`\n\n ## URL Construction Using Relative Paths\n\n For HTTP convenience methods, the request serializer constructs URLs from the path relative to the `-baseURL`, using `NSURL +URLWithString:relativeToURL:`, when provided. If `baseURL` is `nil`, `path` needs to resolve to a valid `NSURL` object using `NSURL +URLWithString:`.\n\n Below are a few examples of how `baseURL` and relative paths interact:\n\n    NSURL *baseURL = [NSURL URLWithString:@\"http://example.com/v1/\"];\n    [NSURL URLWithString:@\"foo\" relativeToURL:baseURL];                  // http://example.com/v1/foo\n    [NSURL URLWithString:@\"foo?bar=baz\" relativeToURL:baseURL];          // http://example.com/v1/foo?bar=baz\n    [NSURL URLWithString:@\"/foo\" relativeToURL:baseURL];                 // http://example.com/foo\n    [NSURL URLWithString:@\"foo/\" relativeToURL:baseURL];                 // http://example.com/v1/foo\n    [NSURL URLWithString:@\"/foo/\" relativeToURL:baseURL];                // http://example.com/foo/\n    [NSURL URLWithString:@\"http://example2.com/\" relativeToURL:baseURL]; // http://example2.com/\n\n Also important to note is that a trailing slash will be added to any `baseURL` without one. This would otherwise cause unexpected behavior when constructing URLs using paths without a leading slash.\n\n @warning Managers for background sessions must be owned for the duration of their use. This can be accomplished by creating an application-wide or shared singleton instance.\n */\n\nNS_ASSUME_NONNULL_BEGIN\n\n@interface AFHTTPSessionManager : AFURLSessionManager <NSSecureCoding, NSCopying>\n\n/**\n The URL used to construct requests from relative paths in methods like `requestWithMethod:URLString:parameters:`, and the `GET` / `POST` / et al. convenience methods.\n */\n@property (readonly, nonatomic, strong, nullable) NSURL *baseURL;\n\n/**\n Requests created with `requestWithMethod:URLString:parameters:` & `multipartFormRequestWithMethod:URLString:parameters:constructingBodyWithBlock:` are constructed with a set of default headers using a parameter serialization specified by this property. By default, this is set to an instance of `AFHTTPRequestSerializer`, which serializes query string parameters for `GET`, `HEAD`, and `DELETE` requests, or otherwise URL-form-encodes HTTP message bodies.\n\n @warning `requestSerializer` must not be `nil`.\n */\n@property (nonatomic, strong) AFHTTPRequestSerializer <AFURLRequestSerialization> * requestSerializer;\n\n/**\n Responses sent from the server in data tasks created with `dataTaskWithRequest:success:failure:` and run using the `GET` / `POST` / et al. convenience methods are automatically validated and serialized by the response serializer. By default, this property is set to an instance of `AFJSONResponseSerializer`.\n\n @warning `responseSerializer` must not be `nil`.\n */\n@property (nonatomic, strong) AFHTTPResponseSerializer <AFURLResponseSerialization> * responseSerializer;\n\n///-------------------------------\n/// @name Managing Security Policy\n///-------------------------------\n\n/**\n The security policy used by created session to evaluate server trust for secure connections. `AFURLSessionManager` uses the `defaultPolicy` unless otherwise specified. A security policy configured with `AFSSLPinningModePublicKey` or `AFSSLPinningModeCertificate` can only be applied on a session manager initialized with a secure base URL (i.e. https). Applying a security policy with pinning enabled on an insecure session manager throws an `Invalid Security Policy` exception.\n */\n@property (nonatomic, strong) AFSecurityPolicy *securityPolicy;\n\n///---------------------\n/// @name Initialization\n///---------------------\n\n/**\n Creates and returns an `AFHTTPSessionManager` object.\n */\n+ (instancetype)manager;\n\n/**\n Initializes an `AFHTTPSessionManager` object with the specified base URL.\n\n @param url The base URL for the HTTP client.\n\n @return The newly-initialized HTTP client\n */\n- (instancetype)initWithBaseURL:(nullable NSURL *)url;\n\n/**\n Initializes an `AFHTTPSessionManager` object with the specified base URL.\n\n This is the designated initializer.\n\n @param url The base URL for the HTTP client.\n @param configuration The configuration used to create the managed session.\n\n @return The newly-initialized HTTP client\n */\n- (instancetype)initWithBaseURL:(nullable NSURL *)url\n           sessionConfiguration:(nullable NSURLSessionConfiguration *)configuration NS_DESIGNATED_INITIALIZER;\n\n///---------------------------\n/// @name Making HTTP Requests\n///---------------------------\n\n/**\n Creates and runs an `NSURLSessionDataTask` with a `GET` request.\n\n @param URLString The URL string used to create the request URL.\n @param parameters The parameters to be encoded according to the client request serializer.\n @param success A block object to be executed when the task finishes successfully. This block has no return value and takes two arguments: the data task, and the response object created by the client response serializer.\n @param failure A block object to be executed when the task finishes unsuccessfully, or that finishes successfully, but encountered an error while parsing the response data. This block has no return value and takes a two arguments: the data task and the error describing the network or parsing error that occurred.\n\n @see -dataTaskWithRequest:completionHandler:\n */\n- (nullable NSURLSessionDataTask *)GET:(NSString *)URLString\n                   parameters:(nullable id)parameters\n                      success:(nullable void (^)(NSURLSessionDataTask *task, id _Nullable responseObject))success\n                      failure:(nullable void (^)(NSURLSessionDataTask * _Nullable task, NSError *error))failure DEPRECATED_ATTRIBUTE;\n\n\n/**\n Creates and runs an `NSURLSessionDataTask` with a `GET` request.\n\n @param URLString The URL string used to create the request URL.\n @param parameters The parameters to be encoded according to the client request serializer.\n @param downloadProgress A block object to be executed when the download progress is updated. Note this block is called on the session queue, not the main queue.\n @param success A block object to be executed when the task finishes successfully. This block has no return value and takes two arguments: the data task, and the response object created by the client response serializer.\n @param failure A block object to be executed when the task finishes unsuccessfully, or that finishes successfully, but encountered an error while parsing the response data. This block has no return value and takes a two arguments: the data task and the error describing the network or parsing error that occurred.\n\n @see -dataTaskWithRequest:uploadProgress:downloadProgress:completionHandler:\n */\n- (nullable NSURLSessionDataTask *)GET:(NSString *)URLString\n                            parameters:(nullable id)parameters\n                              progress:(nullable void (^)(NSProgress *downloadProgress))downloadProgress\n                               success:(nullable void (^)(NSURLSessionDataTask *task, id _Nullable responseObject))success\n                               failure:(nullable void (^)(NSURLSessionDataTask * _Nullable task, NSError *error))failure;\n\n/**\n Creates and runs an `NSURLSessionDataTask` with a `HEAD` request.\n\n @param URLString The URL string used to create the request URL.\n @param parameters The parameters to be encoded according to the client request serializer.\n @param success A block object to be executed when the task finishes successfully. This block has no return value and takes a single arguments: the data task.\n @param failure A block object to be executed when the task finishes unsuccessfully, or that finishes successfully, but encountered an error while parsing the response data. This block has no return value and takes a two arguments: the data task and the error describing the network or parsing error that occurred.\n\n @see -dataTaskWithRequest:completionHandler:\n */\n- (nullable NSURLSessionDataTask *)HEAD:(NSString *)URLString\n                    parameters:(nullable id)parameters\n                       success:(nullable void (^)(NSURLSessionDataTask *task))success\n                       failure:(nullable void (^)(NSURLSessionDataTask * _Nullable task, NSError *error))failure;\n\n/**\n Creates and runs an `NSURLSessionDataTask` with a `POST` request.\n\n @param URLString The URL string used to create the request URL.\n @param parameters The parameters to be encoded according to the client request serializer.\n @param success A block object to be executed when the task finishes successfully. This block has no return value and takes two arguments: the data task, and the response object created by the client response serializer.\n @param failure A block object to be executed when the task finishes unsuccessfully, or that finishes successfully, but encountered an error while parsing the response data. This block has no return value and takes a two arguments: the data task and the error describing the network or parsing error that occurred.\n\n @see -dataTaskWithRequest:completionHandler:\n */\n- (nullable NSURLSessionDataTask *)POST:(NSString *)URLString\n                    parameters:(nullable id)parameters\n                       success:(nullable void (^)(NSURLSessionDataTask *task, id _Nullable responseObject))success\n                       failure:(nullable void (^)(NSURLSessionDataTask * _Nullable task, NSError *error))failure DEPRECATED_ATTRIBUTE;\n\n/**\n Creates and runs an `NSURLSessionDataTask` with a `POST` request.\n\n @param URLString The URL string used to create the request URL.\n @param parameters The parameters to be encoded according to the client request serializer.\n @param uploadProgress A block object to be executed when the upload progress is updated. Note this block is called on the session queue, not the main queue.\n @param success A block object to be executed when the task finishes successfully. This block has no return value and takes two arguments: the data task, and the response object created by the client response serializer.\n @param failure A block object to be executed when the task finishes unsuccessfully, or that finishes successfully, but encountered an error while parsing the response data. This block has no return value and takes a two arguments: the data task and the error describing the network or parsing error that occurred.\n\n @see -dataTaskWithRequest:uploadProgress:downloadProgress:completionHandler:\n */\n- (nullable NSURLSessionDataTask *)POST:(NSString *)URLString\n                             parameters:(nullable id)parameters\n                               progress:(nullable void (^)(NSProgress *uploadProgress))uploadProgress\n                                success:(nullable void (^)(NSURLSessionDataTask *task, id _Nullable responseObject))success\n                                failure:(nullable void (^)(NSURLSessionDataTask * _Nullable task, NSError *error))failure;\n\n/**\n Creates and runs an `NSURLSessionDataTask` with a multipart `POST` request.\n\n @param URLString The URL string used to create the request URL.\n @param parameters The parameters to be encoded according to the client request serializer.\n @param block A block that takes a single argument and appends data to the HTTP body. The block argument is an object adopting the `AFMultipartFormData` protocol.\n @param success A block object to be executed when the task finishes successfully. This block has no return value and takes two arguments: the data task, and the response object created by the client response serializer.\n @param failure A block object to be executed when the task finishes unsuccessfully, or that finishes successfully, but encountered an error while parsing the response data. This block has no return value and takes a two arguments: the data task and the error describing the network or parsing error that occurred.\n\n @see -dataTaskWithRequest:completionHandler:\n */\n- (nullable NSURLSessionDataTask *)POST:(NSString *)URLString\n                    parameters:(nullable id)parameters\n     constructingBodyWithBlock:(nullable void (^)(id <AFMultipartFormData> formData))block\n                       success:(nullable void (^)(NSURLSessionDataTask *task, id _Nullable responseObject))success\n                       failure:(nullable void (^)(NSURLSessionDataTask * _Nullable task, NSError *error))failure DEPRECATED_ATTRIBUTE;\n\n/**\n Creates and runs an `NSURLSessionDataTask` with a multipart `POST` request.\n\n @param URLString The URL string used to create the request URL.\n @param parameters The parameters to be encoded according to the client request serializer.\n @param block A block that takes a single argument and appends data to the HTTP body. The block argument is an object adopting the `AFMultipartFormData` protocol.\n @param uploadProgress A block object to be executed when the upload progress is updated. Note this block is called on the session queue, not the main queue.\n @param success A block object to be executed when the task finishes successfully. This block has no return value and takes two arguments: the data task, and the response object created by the client response serializer.\n @param failure A block object to be executed when the task finishes unsuccessfully, or that finishes successfully, but encountered an error while parsing the response data. This block has no return value and takes a two arguments: the data task and the error describing the network or parsing error that occurred.\n\n @see -dataTaskWithRequest:uploadProgress:downloadProgress:completionHandler:\n */\n- (nullable NSURLSessionDataTask *)POST:(NSString *)URLString\n                             parameters:(nullable id)parameters\n              constructingBodyWithBlock:(nullable void (^)(id <AFMultipartFormData> formData))block\n                               progress:(nullable void (^)(NSProgress *uploadProgress))uploadProgress\n                                success:(nullable void (^)(NSURLSessionDataTask *task, id _Nullable responseObject))success\n                                failure:(nullable void (^)(NSURLSessionDataTask * _Nullable task, NSError *error))failure;\n\n/**\n Creates and runs an `NSURLSessionDataTask` with a `PUT` request.\n\n @param URLString The URL string used to create the request URL.\n @param parameters The parameters to be encoded according to the client request serializer.\n @param success A block object to be executed when the task finishes successfully. This block has no return value and takes two arguments: the data task, and the response object created by the client response serializer.\n @param failure A block object to be executed when the task finishes unsuccessfully, or that finishes successfully, but encountered an error while parsing the response data. This block has no return value and takes a two arguments: the data task and the error describing the network or parsing error that occurred.\n\n @see -dataTaskWithRequest:completionHandler:\n */\n- (nullable NSURLSessionDataTask *)PUT:(NSString *)URLString\n                   parameters:(nullable id)parameters\n                      success:(nullable void (^)(NSURLSessionDataTask *task, id _Nullable responseObject))success\n                      failure:(nullable void (^)(NSURLSessionDataTask * _Nullable task, NSError *error))failure;\n\n/**\n Creates and runs an `NSURLSessionDataTask` with a `PATCH` request.\n\n @param URLString The URL string used to create the request URL.\n @param parameters The parameters to be encoded according to the client request serializer.\n @param success A block object to be executed when the task finishes successfully. This block has no return value and takes two arguments: the data task, and the response object created by the client response serializer.\n @param failure A block object to be executed when the task finishes unsuccessfully, or that finishes successfully, but encountered an error while parsing the response data. This block has no return value and takes a two arguments: the data task and the error describing the network or parsing error that occurred.\n\n @see -dataTaskWithRequest:completionHandler:\n */\n- (nullable NSURLSessionDataTask *)PATCH:(NSString *)URLString\n                     parameters:(nullable id)parameters\n                        success:(nullable void (^)(NSURLSessionDataTask *task, id _Nullable responseObject))success\n                        failure:(nullable void (^)(NSURLSessionDataTask * _Nullable task, NSError *error))failure;\n\n/**\n Creates and runs an `NSURLSessionDataTask` with a `DELETE` request.\n\n @param URLString The URL string used to create the request URL.\n @param parameters The parameters to be encoded according to the client request serializer.\n @param success A block object to be executed when the task finishes successfully. This block has no return value and takes two arguments: the data task, and the response object created by the client response serializer.\n @param failure A block object to be executed when the task finishes unsuccessfully, or that finishes successfully, but encountered an error while parsing the response data. This block has no return value and takes a two arguments: the data task and the error describing the network or parsing error that occurred.\n\n @see -dataTaskWithRequest:completionHandler:\n */\n- (nullable NSURLSessionDataTask *)DELETE:(NSString *)URLString\n                      parameters:(nullable id)parameters\n                         success:(nullable void (^)(NSURLSessionDataTask *task, id _Nullable responseObject))success\n                         failure:(nullable void (^)(NSURLSessionDataTask * _Nullable task, NSError *error))failure;\n\n@end\n\nNS_ASSUME_NONNULL_END\n"
  },
  {
    "path": "CKMeiTuanShopView/Pods/AFNetworking/AFNetworking/AFHTTPSessionManager.m",
    "content": "// AFHTTPSessionManager.m\n// Copyright (c) 2011–2016 Alamofire Software Foundation ( http://alamofire.org/ )\n//\n// Permission is hereby granted, free of charge, to any person obtaining a copy\n// of this software and associated documentation files (the \"Software\"), to deal\n// in the Software without restriction, including without limitation the rights\n// to use, copy, modify, merge, publish, distribute, sublicense, and/or sell\n// copies of the Software, and to permit persons to whom the Software is\n// furnished to do so, subject to the following conditions:\n//\n// The above copyright notice and this permission notice shall be included in\n// all copies or substantial portions of the Software.\n//\n// THE SOFTWARE IS PROVIDED \"AS IS\", WITHOUT WARRANTY OF ANY KIND, EXPRESS OR\n// IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF MERCHANTABILITY,\n// FITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT. IN NO EVENT SHALL THE\n// AUTHORS OR COPYRIGHT HOLDERS BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER\n// LIABILITY, WHETHER IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING FROM,\n// OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN\n// THE SOFTWARE.\n\n#import \"AFHTTPSessionManager.h\"\n\n#import \"AFURLRequestSerialization.h\"\n#import \"AFURLResponseSerialization.h\"\n\n#import <Availability.h>\n#import <TargetConditionals.h>\n#import <Security/Security.h>\n\n#import <netinet/in.h>\n#import <netinet6/in6.h>\n#import <arpa/inet.h>\n#import <ifaddrs.h>\n#import <netdb.h>\n\n#if TARGET_OS_IOS || TARGET_OS_TV\n#import <UIKit/UIKit.h>\n#elif TARGET_OS_WATCH\n#import <WatchKit/WatchKit.h>\n#endif\n\n@interface AFHTTPSessionManager ()\n@property (readwrite, nonatomic, strong) NSURL *baseURL;\n@end\n\n@implementation AFHTTPSessionManager\n@dynamic responseSerializer;\n\n+ (instancetype)manager {\n    return [[[self class] alloc] initWithBaseURL:nil];\n}\n\n- (instancetype)init {\n    return [self initWithBaseURL:nil];\n}\n\n- (instancetype)initWithBaseURL:(NSURL *)url {\n    return [self initWithBaseURL:url sessionConfiguration:nil];\n}\n\n- (instancetype)initWithSessionConfiguration:(NSURLSessionConfiguration *)configuration {\n    return [self initWithBaseURL:nil sessionConfiguration:configuration];\n}\n\n- (instancetype)initWithBaseURL:(NSURL *)url\n           sessionConfiguration:(NSURLSessionConfiguration *)configuration\n{\n    self = [super initWithSessionConfiguration:configuration];\n    if (!self) {\n        return nil;\n    }\n\n    // Ensure terminal slash for baseURL path, so that NSURL +URLWithString:relativeToURL: works as expected\n    if ([[url path] length] > 0 && ![[url absoluteString] hasSuffix:@\"/\"]) {\n        url = [url URLByAppendingPathComponent:@\"\"];\n    }\n\n    self.baseURL = url;\n\n    self.requestSerializer = [AFHTTPRequestSerializer serializer];\n    self.responseSerializer = [AFJSONResponseSerializer serializer];\n\n    return self;\n}\n\n#pragma mark -\n\n- (void)setRequestSerializer:(AFHTTPRequestSerializer <AFURLRequestSerialization> *)requestSerializer {\n    NSParameterAssert(requestSerializer);\n\n    _requestSerializer = requestSerializer;\n}\n\n- (void)setResponseSerializer:(AFHTTPResponseSerializer <AFURLResponseSerialization> *)responseSerializer {\n    NSParameterAssert(responseSerializer);\n\n    [super setResponseSerializer:responseSerializer];\n}\n\n@dynamic securityPolicy;\n\n- (void)setSecurityPolicy:(AFSecurityPolicy *)securityPolicy {\n    if (securityPolicy.SSLPinningMode != AFSSLPinningModeNone && ![self.baseURL.scheme isEqualToString:@\"https\"]) {\n        NSString *pinningMode = @\"Unknown Pinning Mode\";\n        switch (securityPolicy.SSLPinningMode) {\n            case AFSSLPinningModeNone:        pinningMode = @\"AFSSLPinningModeNone\"; break;\n            case AFSSLPinningModeCertificate: pinningMode = @\"AFSSLPinningModeCertificate\"; break;\n            case AFSSLPinningModePublicKey:   pinningMode = @\"AFSSLPinningModePublicKey\"; break;\n        }\n        NSString *reason = [NSString stringWithFormat:@\"A security policy configured with `%@` can only be applied on a manager with a secure base URL (i.e. https)\", pinningMode];\n        @throw [NSException exceptionWithName:@\"Invalid Security Policy\" reason:reason userInfo:nil];\n    }\n\n    [super setSecurityPolicy:securityPolicy];\n}\n\n#pragma mark -\n\n- (NSURLSessionDataTask *)GET:(NSString *)URLString\n                   parameters:(id)parameters\n                      success:(void (^)(NSURLSessionDataTask *task, id responseObject))success\n                      failure:(void (^)(NSURLSessionDataTask *task, NSError *error))failure\n{\n\n    return [self GET:URLString parameters:parameters progress:nil success:success failure:failure];\n}\n\n- (NSURLSessionDataTask *)GET:(NSString *)URLString\n                   parameters:(id)parameters\n                     progress:(void (^)(NSProgress * _Nonnull))downloadProgress\n                      success:(void (^)(NSURLSessionDataTask * _Nonnull, id _Nullable))success\n                      failure:(void (^)(NSURLSessionDataTask * _Nullable, NSError * _Nonnull))failure\n{\n\n    NSURLSessionDataTask *dataTask = [self dataTaskWithHTTPMethod:@\"GET\"\n                                                        URLString:URLString\n                                                       parameters:parameters\n                                                   uploadProgress:nil\n                                                 downloadProgress:downloadProgress\n                                                          success:success\n                                                          failure:failure];\n\n    [dataTask resume];\n\n    return dataTask;\n}\n\n- (NSURLSessionDataTask *)HEAD:(NSString *)URLString\n                    parameters:(id)parameters\n                       success:(void (^)(NSURLSessionDataTask *task))success\n                       failure:(void (^)(NSURLSessionDataTask *task, NSError *error))failure\n{\n    NSURLSessionDataTask *dataTask = [self dataTaskWithHTTPMethod:@\"HEAD\" URLString:URLString parameters:parameters uploadProgress:nil downloadProgress:nil success:^(NSURLSessionDataTask *task, __unused id responseObject) {\n        if (success) {\n            success(task);\n        }\n    } failure:failure];\n\n    [dataTask resume];\n\n    return dataTask;\n}\n\n- (NSURLSessionDataTask *)POST:(NSString *)URLString\n                    parameters:(id)parameters\n                       success:(void (^)(NSURLSessionDataTask *task, id responseObject))success\n                       failure:(void (^)(NSURLSessionDataTask *task, NSError *error))failure\n{\n    return [self POST:URLString parameters:parameters progress:nil success:success failure:failure];\n}\n\n- (NSURLSessionDataTask *)POST:(NSString *)URLString\n                    parameters:(id)parameters\n                      progress:(void (^)(NSProgress * _Nonnull))uploadProgress\n                       success:(void (^)(NSURLSessionDataTask * _Nonnull, id _Nullable))success\n                       failure:(void (^)(NSURLSessionDataTask * _Nullable, NSError * _Nonnull))failure\n{\n    NSURLSessionDataTask *dataTask = [self dataTaskWithHTTPMethod:@\"POST\" URLString:URLString parameters:parameters uploadProgress:uploadProgress downloadProgress:nil success:success failure:failure];\n\n    [dataTask resume];\n\n    return dataTask;\n}\n\n- (NSURLSessionDataTask *)POST:(NSString *)URLString\n                    parameters:(nullable id)parameters\n     constructingBodyWithBlock:(nullable void (^)(id<AFMultipartFormData> _Nonnull))block\n                       success:(nullable void (^)(NSURLSessionDataTask * _Nonnull, id _Nullable))success\n                       failure:(nullable void (^)(NSURLSessionDataTask * _Nullable, NSError * _Nonnull))failure\n{\n    return [self POST:URLString parameters:parameters constructingBodyWithBlock:block progress:nil success:success failure:failure];\n}\n\n- (NSURLSessionDataTask *)POST:(NSString *)URLString\n                    parameters:(id)parameters\n     constructingBodyWithBlock:(void (^)(id <AFMultipartFormData> formData))block\n                      progress:(nullable void (^)(NSProgress * _Nonnull))uploadProgress\n                       success:(void (^)(NSURLSessionDataTask *task, id responseObject))success\n                       failure:(void (^)(NSURLSessionDataTask *task, NSError *error))failure\n{\n    NSError *serializationError = nil;\n    NSMutableURLRequest *request = [self.requestSerializer multipartFormRequestWithMethod:@\"POST\" URLString:[[NSURL URLWithString:URLString relativeToURL:self.baseURL] absoluteString] parameters:parameters constructingBodyWithBlock:block error:&serializationError];\n    if (serializationError) {\n        if (failure) {\n            dispatch_async(self.completionQueue ?: dispatch_get_main_queue(), ^{\n                failure(nil, serializationError);\n            });\n        }\n\n        return nil;\n    }\n\n    __block NSURLSessionDataTask *task = [self uploadTaskWithStreamedRequest:request progress:uploadProgress completionHandler:^(NSURLResponse * __unused response, id responseObject, NSError *error) {\n        if (error) {\n            if (failure) {\n                failure(task, error);\n            }\n        } else {\n            if (success) {\n                success(task, responseObject);\n            }\n        }\n    }];\n\n    [task resume];\n\n    return task;\n}\n\n- (NSURLSessionDataTask *)PUT:(NSString *)URLString\n                   parameters:(id)parameters\n                      success:(void (^)(NSURLSessionDataTask *task, id responseObject))success\n                      failure:(void (^)(NSURLSessionDataTask *task, NSError *error))failure\n{\n    NSURLSessionDataTask *dataTask = [self dataTaskWithHTTPMethod:@\"PUT\" URLString:URLString parameters:parameters uploadProgress:nil downloadProgress:nil success:success failure:failure];\n\n    [dataTask resume];\n\n    return dataTask;\n}\n\n- (NSURLSessionDataTask *)PATCH:(NSString *)URLString\n                     parameters:(id)parameters\n                        success:(void (^)(NSURLSessionDataTask *task, id responseObject))success\n                        failure:(void (^)(NSURLSessionDataTask *task, NSError *error))failure\n{\n    NSURLSessionDataTask *dataTask = [self dataTaskWithHTTPMethod:@\"PATCH\" URLString:URLString parameters:parameters uploadProgress:nil downloadProgress:nil success:success failure:failure];\n\n    [dataTask resume];\n\n    return dataTask;\n}\n\n- (NSURLSessionDataTask *)DELETE:(NSString *)URLString\n                      parameters:(id)parameters\n                         success:(void (^)(NSURLSessionDataTask *task, id responseObject))success\n                         failure:(void (^)(NSURLSessionDataTask *task, NSError *error))failure\n{\n    NSURLSessionDataTask *dataTask = [self dataTaskWithHTTPMethod:@\"DELETE\" URLString:URLString parameters:parameters uploadProgress:nil downloadProgress:nil success:success failure:failure];\n\n    [dataTask resume];\n\n    return dataTask;\n}\n\n- (NSURLSessionDataTask *)dataTaskWithHTTPMethod:(NSString *)method\n                                       URLString:(NSString *)URLString\n                                      parameters:(id)parameters\n                                  uploadProgress:(nullable void (^)(NSProgress *uploadProgress)) uploadProgress\n                                downloadProgress:(nullable void (^)(NSProgress *downloadProgress)) downloadProgress\n                                         success:(void (^)(NSURLSessionDataTask *, id))success\n                                         failure:(void (^)(NSURLSessionDataTask *, NSError *))failure\n{\n    NSError *serializationError = nil;\n    NSMutableURLRequest *request = [self.requestSerializer requestWithMethod:method URLString:[[NSURL URLWithString:URLString relativeToURL:self.baseURL] absoluteString] parameters:parameters error:&serializationError];\n    if (serializationError) {\n        if (failure) {\n            dispatch_async(self.completionQueue ?: dispatch_get_main_queue(), ^{\n                failure(nil, serializationError);\n            });\n        }\n\n        return nil;\n    }\n\n    __block NSURLSessionDataTask *dataTask = nil;\n    dataTask = [self dataTaskWithRequest:request\n                          uploadProgress:uploadProgress\n                        downloadProgress:downloadProgress\n                       completionHandler:^(NSURLResponse * __unused response, id responseObject, NSError *error) {\n        if (error) {\n            if (failure) {\n                failure(dataTask, error);\n            }\n        } else {\n            if (success) {\n                success(dataTask, responseObject);\n            }\n        }\n    }];\n\n    return dataTask;\n}\n\n#pragma mark - NSObject\n\n- (NSString *)description {\n    return [NSString stringWithFormat:@\"<%@: %p, baseURL: %@, session: %@, operationQueue: %@>\", NSStringFromClass([self class]), self, [self.baseURL absoluteString], self.session, self.operationQueue];\n}\n\n#pragma mark - NSSecureCoding\n\n+ (BOOL)supportsSecureCoding {\n    return YES;\n}\n\n- (instancetype)initWithCoder:(NSCoder *)decoder {\n    NSURL *baseURL = [decoder decodeObjectOfClass:[NSURL class] forKey:NSStringFromSelector(@selector(baseURL))];\n    NSURLSessionConfiguration *configuration = [decoder decodeObjectOfClass:[NSURLSessionConfiguration class] forKey:@\"sessionConfiguration\"];\n    if (!configuration) {\n        NSString *configurationIdentifier = [decoder decodeObjectOfClass:[NSString class] forKey:@\"identifier\"];\n        if (configurationIdentifier) {\n#if (defined(__IPHONE_OS_VERSION_MIN_REQUIRED) && __IPHONE_OS_VERSION_MIN_REQUIRED >= 80000) || (defined(__MAC_OS_X_VERSION_MIN_REQUIRED) && __MAC_OS_X_VERSION_MIN_REQUIRED >= 1100)\n            configuration = [NSURLSessionConfiguration backgroundSessionConfigurationWithIdentifier:configurationIdentifier];\n#else\n            configuration = [NSURLSessionConfiguration backgroundSessionConfiguration:configurationIdentifier];\n#endif\n        }\n    }\n\n    self = [self initWithBaseURL:baseURL sessionConfiguration:configuration];\n    if (!self) {\n        return nil;\n    }\n\n    self.requestSerializer = [decoder decodeObjectOfClass:[AFHTTPRequestSerializer class] forKey:NSStringFromSelector(@selector(requestSerializer))];\n    self.responseSerializer = [decoder decodeObjectOfClass:[AFHTTPResponseSerializer class] forKey:NSStringFromSelector(@selector(responseSerializer))];\n    AFSecurityPolicy *decodedPolicy = [decoder decodeObjectOfClass:[AFSecurityPolicy class] forKey:NSStringFromSelector(@selector(securityPolicy))];\n    if (decodedPolicy) {\n        self.securityPolicy = decodedPolicy;\n    }\n\n    return self;\n}\n\n- (void)encodeWithCoder:(NSCoder *)coder {\n    [super encodeWithCoder:coder];\n\n    [coder encodeObject:self.baseURL forKey:NSStringFromSelector(@selector(baseURL))];\n    if ([self.session.configuration conformsToProtocol:@protocol(NSCoding)]) {\n        [coder encodeObject:self.session.configuration forKey:@\"sessionConfiguration\"];\n    } else {\n        [coder encodeObject:self.session.configuration.identifier forKey:@\"identifier\"];\n    }\n    [coder encodeObject:self.requestSerializer forKey:NSStringFromSelector(@selector(requestSerializer))];\n    [coder encodeObject:self.responseSerializer forKey:NSStringFromSelector(@selector(responseSerializer))];\n    [coder encodeObject:self.securityPolicy forKey:NSStringFromSelector(@selector(securityPolicy))];\n}\n\n#pragma mark - NSCopying\n\n- (instancetype)copyWithZone:(NSZone *)zone {\n    AFHTTPSessionManager *HTTPClient = [[[self class] allocWithZone:zone] initWithBaseURL:self.baseURL sessionConfiguration:self.session.configuration];\n\n    HTTPClient.requestSerializer = [self.requestSerializer copyWithZone:zone];\n    HTTPClient.responseSerializer = [self.responseSerializer copyWithZone:zone];\n    HTTPClient.securityPolicy = [self.securityPolicy copyWithZone:zone];\n    return HTTPClient;\n}\n\n@end\n"
  },
  {
    "path": "CKMeiTuanShopView/Pods/AFNetworking/AFNetworking/AFNetworkReachabilityManager.h",
    "content": "// AFNetworkReachabilityManager.h\n// Copyright (c) 2011–2016 Alamofire Software Foundation ( http://alamofire.org/ )\n//\n// Permission is hereby granted, free of charge, to any person obtaining a copy\n// of this software and associated documentation files (the \"Software\"), to deal\n// in the Software without restriction, including without limitation the rights\n// to use, copy, modify, merge, publish, distribute, sublicense, and/or sell\n// copies of the Software, and to permit persons to whom the Software is\n// furnished to do so, subject to the following conditions:\n//\n// The above copyright notice and this permission notice shall be included in\n// all copies or substantial portions of the Software.\n//\n// THE SOFTWARE IS PROVIDED \"AS IS\", WITHOUT WARRANTY OF ANY KIND, EXPRESS OR\n// IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF MERCHANTABILITY,\n// FITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT. IN NO EVENT SHALL THE\n// AUTHORS OR COPYRIGHT HOLDERS BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER\n// LIABILITY, WHETHER IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING FROM,\n// OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN\n// THE SOFTWARE.\n\n#import <Foundation/Foundation.h>\n\n#if !TARGET_OS_WATCH\n#import <SystemConfiguration/SystemConfiguration.h>\n\ntypedef NS_ENUM(NSInteger, AFNetworkReachabilityStatus) {\n    AFNetworkReachabilityStatusUnknown          = -1,\n    AFNetworkReachabilityStatusNotReachable     = 0,\n    AFNetworkReachabilityStatusReachableViaWWAN = 1,\n    AFNetworkReachabilityStatusReachableViaWiFi = 2,\n};\n\nNS_ASSUME_NONNULL_BEGIN\n\n/**\n `AFNetworkReachabilityManager` monitors the reachability of domains, and addresses for both WWAN and WiFi network interfaces.\n\n Reachability can be used to determine background information about why a network operation failed, or to trigger a network operation retrying when a connection is established. It should not be used to prevent a user from initiating a network request, as it's possible that an initial request may be required to establish reachability.\n\n See Apple's Reachability Sample Code ( https://developer.apple.com/library/ios/samplecode/reachability/ )\n\n @warning Instances of `AFNetworkReachabilityManager` must be started with `-startMonitoring` before reachability status can be determined.\n */\n@interface AFNetworkReachabilityManager : NSObject\n\n/**\n The current network reachability status.\n */\n@property (readonly, nonatomic, assign) AFNetworkReachabilityStatus networkReachabilityStatus;\n\n/**\n Whether or not the network is currently reachable.\n */\n@property (readonly, nonatomic, assign, getter = isReachable) BOOL reachable;\n\n/**\n Whether or not the network is currently reachable via WWAN.\n */\n@property (readonly, nonatomic, assign, getter = isReachableViaWWAN) BOOL reachableViaWWAN;\n\n/**\n Whether or not the network is currently reachable via WiFi.\n */\n@property (readonly, nonatomic, assign, getter = isReachableViaWiFi) BOOL reachableViaWiFi;\n\n///---------------------\n/// @name Initialization\n///---------------------\n\n/**\n Returns the shared network reachability manager.\n */\n+ (instancetype)sharedManager;\n\n/**\n Creates and returns a network reachability manager with the default socket address.\n \n @return An initialized network reachability manager, actively monitoring the default socket address.\n */\n+ (instancetype)manager;\n\n/**\n Creates and returns a network reachability manager for the specified domain.\n\n @param domain The domain used to evaluate network reachability.\n\n @return An initialized network reachability manager, actively monitoring the specified domain.\n */\n+ (instancetype)managerForDomain:(NSString *)domain;\n\n/**\n Creates and returns a network reachability manager for the socket address.\n\n @param address The socket address (`sockaddr_in6`) used to evaluate network reachability.\n\n @return An initialized network reachability manager, actively monitoring the specified socket address.\n */\n+ (instancetype)managerForAddress:(const void *)address;\n\n/**\n Initializes an instance of a network reachability manager from the specified reachability object.\n\n @param reachability The reachability object to monitor.\n\n @return An initialized network reachability manager, actively monitoring the specified reachability.\n */\n- (instancetype)initWithReachability:(SCNetworkReachabilityRef)reachability NS_DESIGNATED_INITIALIZER;\n\n/**\n *  Unavailable initializer\n */\n+ (instancetype)new NS_UNAVAILABLE;\n\n/**\n *  Unavailable initializer\n */\n- (instancetype)init NS_UNAVAILABLE;\n\n///--------------------------------------------------\n/// @name Starting & Stopping Reachability Monitoring\n///--------------------------------------------------\n\n/**\n Starts monitoring for changes in network reachability status.\n */\n- (void)startMonitoring;\n\n/**\n Stops monitoring for changes in network reachability status.\n */\n- (void)stopMonitoring;\n\n///-------------------------------------------------\n/// @name Getting Localized Reachability Description\n///-------------------------------------------------\n\n/**\n Returns a localized string representation of the current network reachability status.\n */\n- (NSString *)localizedNetworkReachabilityStatusString;\n\n///---------------------------------------------------\n/// @name Setting Network Reachability Change Callback\n///---------------------------------------------------\n\n/**\n Sets a callback to be executed when the network availability of the `baseURL` host changes.\n\n @param block A block object to be executed when the network availability of the `baseURL` host changes.. This block has no return value and takes a single argument which represents the various reachability states from the device to the `baseURL`.\n */\n- (void)setReachabilityStatusChangeBlock:(nullable void (^)(AFNetworkReachabilityStatus status))block;\n\n@end\n\n///----------------\n/// @name Constants\n///----------------\n\n/**\n ## Network Reachability\n\n The following constants are provided by `AFNetworkReachabilityManager` as possible network reachability statuses.\n\n enum {\n AFNetworkReachabilityStatusUnknown,\n AFNetworkReachabilityStatusNotReachable,\n AFNetworkReachabilityStatusReachableViaWWAN,\n AFNetworkReachabilityStatusReachableViaWiFi,\n }\n\n `AFNetworkReachabilityStatusUnknown`\n The `baseURL` host reachability is not known.\n\n `AFNetworkReachabilityStatusNotReachable`\n The `baseURL` host cannot be reached.\n\n `AFNetworkReachabilityStatusReachableViaWWAN`\n The `baseURL` host can be reached via a cellular connection, such as EDGE or GPRS.\n\n `AFNetworkReachabilityStatusReachableViaWiFi`\n The `baseURL` host can be reached via a Wi-Fi connection.\n\n ### Keys for Notification UserInfo Dictionary\n\n Strings that are used as keys in a `userInfo` dictionary in a network reachability status change notification.\n\n `AFNetworkingReachabilityNotificationStatusItem`\n A key in the userInfo dictionary in a `AFNetworkingReachabilityDidChangeNotification` notification.\n The corresponding value is an `NSNumber` object representing the `AFNetworkReachabilityStatus` value for the current reachability status.\n */\n\n///--------------------\n/// @name Notifications\n///--------------------\n\n/**\n Posted when network reachability changes.\n This notification assigns no notification object. The `userInfo` dictionary contains an `NSNumber` object under the `AFNetworkingReachabilityNotificationStatusItem` key, representing the `AFNetworkReachabilityStatus` value for the current network reachability.\n\n @warning In order for network reachability to be monitored, include the `SystemConfiguration` framework in the active target's \"Link Binary With Library\" build phase, and add `#import <SystemConfiguration/SystemConfiguration.h>` to the header prefix of the project (`Prefix.pch`).\n */\nFOUNDATION_EXPORT NSString * const AFNetworkingReachabilityDidChangeNotification;\nFOUNDATION_EXPORT NSString * const AFNetworkingReachabilityNotificationStatusItem;\n\n///--------------------\n/// @name Functions\n///--------------------\n\n/**\n Returns a localized string representation of an `AFNetworkReachabilityStatus` value.\n */\nFOUNDATION_EXPORT NSString * AFStringFromNetworkReachabilityStatus(AFNetworkReachabilityStatus status);\n\nNS_ASSUME_NONNULL_END\n#endif\n"
  },
  {
    "path": "CKMeiTuanShopView/Pods/AFNetworking/AFNetworking/AFNetworkReachabilityManager.m",
    "content": "// AFNetworkReachabilityManager.m\n// Copyright (c) 2011–2016 Alamofire Software Foundation ( http://alamofire.org/ )\n//\n// Permission is hereby granted, free of charge, to any person obtaining a copy\n// of this software and associated documentation files (the \"Software\"), to deal\n// in the Software without restriction, including without limitation the rights\n// to use, copy, modify, merge, publish, distribute, sublicense, and/or sell\n// copies of the Software, and to permit persons to whom the Software is\n// furnished to do so, subject to the following conditions:\n//\n// The above copyright notice and this permission notice shall be included in\n// all copies or substantial portions of the Software.\n//\n// THE SOFTWARE IS PROVIDED \"AS IS\", WITHOUT WARRANTY OF ANY KIND, EXPRESS OR\n// IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF MERCHANTABILITY,\n// FITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT. IN NO EVENT SHALL THE\n// AUTHORS OR COPYRIGHT HOLDERS BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER\n// LIABILITY, WHETHER IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING FROM,\n// OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN\n// THE SOFTWARE.\n\n#import \"AFNetworkReachabilityManager.h\"\n#if !TARGET_OS_WATCH\n\n#import <netinet/in.h>\n#import <netinet6/in6.h>\n#import <arpa/inet.h>\n#import <ifaddrs.h>\n#import <netdb.h>\n\nNSString * const AFNetworkingReachabilityDidChangeNotification = @\"com.alamofire.networking.reachability.change\";\nNSString * const AFNetworkingReachabilityNotificationStatusItem = @\"AFNetworkingReachabilityNotificationStatusItem\";\n\ntypedef void (^AFNetworkReachabilityStatusBlock)(AFNetworkReachabilityStatus status);\n\nNSString * AFStringFromNetworkReachabilityStatus(AFNetworkReachabilityStatus status) {\n    switch (status) {\n        case AFNetworkReachabilityStatusNotReachable:\n            return NSLocalizedStringFromTable(@\"Not Reachable\", @\"AFNetworking\", nil);\n        case AFNetworkReachabilityStatusReachableViaWWAN:\n            return NSLocalizedStringFromTable(@\"Reachable via WWAN\", @\"AFNetworking\", nil);\n        case AFNetworkReachabilityStatusReachableViaWiFi:\n            return NSLocalizedStringFromTable(@\"Reachable via WiFi\", @\"AFNetworking\", nil);\n        case AFNetworkReachabilityStatusUnknown:\n        default:\n            return NSLocalizedStringFromTable(@\"Unknown\", @\"AFNetworking\", nil);\n    }\n}\n\nstatic AFNetworkReachabilityStatus AFNetworkReachabilityStatusForFlags(SCNetworkReachabilityFlags flags) {\n    BOOL isReachable = ((flags & kSCNetworkReachabilityFlagsReachable) != 0);\n    BOOL needsConnection = ((flags & kSCNetworkReachabilityFlagsConnectionRequired) != 0);\n    BOOL canConnectionAutomatically = (((flags & kSCNetworkReachabilityFlagsConnectionOnDemand ) != 0) || ((flags & kSCNetworkReachabilityFlagsConnectionOnTraffic) != 0));\n    BOOL canConnectWithoutUserInteraction = (canConnectionAutomatically && (flags & kSCNetworkReachabilityFlagsInterventionRequired) == 0);\n    BOOL isNetworkReachable = (isReachable && (!needsConnection || canConnectWithoutUserInteraction));\n\n    AFNetworkReachabilityStatus status = AFNetworkReachabilityStatusUnknown;\n    if (isNetworkReachable == NO) {\n        status = AFNetworkReachabilityStatusNotReachable;\n    }\n#if\tTARGET_OS_IPHONE\n    else if ((flags & kSCNetworkReachabilityFlagsIsWWAN) != 0) {\n        status = AFNetworkReachabilityStatusReachableViaWWAN;\n    }\n#endif\n    else {\n        status = AFNetworkReachabilityStatusReachableViaWiFi;\n    }\n\n    return status;\n}\n\n/**\n * Queue a status change notification for the main thread.\n *\n * This is done to ensure that the notifications are received in the same order\n * as they are sent. If notifications are sent directly, it is possible that\n * a queued notification (for an earlier status condition) is processed after\n * the later update, resulting in the listener being left in the wrong state.\n */\nstatic void AFPostReachabilityStatusChange(SCNetworkReachabilityFlags flags, AFNetworkReachabilityStatusBlock block) {\n    AFNetworkReachabilityStatus status = AFNetworkReachabilityStatusForFlags(flags);\n    dispatch_async(dispatch_get_main_queue(), ^{\n        if (block) {\n            block(status);\n        }\n        NSNotificationCenter *notificationCenter = [NSNotificationCenter defaultCenter];\n        NSDictionary *userInfo = @{ AFNetworkingReachabilityNotificationStatusItem: @(status) };\n        [notificationCenter postNotificationName:AFNetworkingReachabilityDidChangeNotification object:nil userInfo:userInfo];\n    });\n}\n\nstatic void AFNetworkReachabilityCallback(SCNetworkReachabilityRef __unused target, SCNetworkReachabilityFlags flags, void *info) {\n    AFPostReachabilityStatusChange(flags, (__bridge AFNetworkReachabilityStatusBlock)info);\n}\n\n\nstatic const void * AFNetworkReachabilityRetainCallback(const void *info) {\n    return Block_copy(info);\n}\n\nstatic void AFNetworkReachabilityReleaseCallback(const void *info) {\n    if (info) {\n        Block_release(info);\n    }\n}\n\n@interface AFNetworkReachabilityManager ()\n@property (readonly, nonatomic, assign) SCNetworkReachabilityRef networkReachability;\n@property (readwrite, nonatomic, assign) AFNetworkReachabilityStatus networkReachabilityStatus;\n@property (readwrite, nonatomic, copy) AFNetworkReachabilityStatusBlock networkReachabilityStatusBlock;\n@end\n\n@implementation AFNetworkReachabilityManager\n\n+ (instancetype)sharedManager {\n    static AFNetworkReachabilityManager *_sharedManager = nil;\n    static dispatch_once_t onceToken;\n    dispatch_once(&onceToken, ^{\n        _sharedManager = [self manager];\n    });\n\n    return _sharedManager;\n}\n\n+ (instancetype)managerForDomain:(NSString *)domain {\n    SCNetworkReachabilityRef reachability = SCNetworkReachabilityCreateWithName(kCFAllocatorDefault, [domain UTF8String]);\n\n    AFNetworkReachabilityManager *manager = [[self alloc] initWithReachability:reachability];\n    \n    CFRelease(reachability);\n\n    return manager;\n}\n\n+ (instancetype)managerForAddress:(const void *)address {\n    SCNetworkReachabilityRef reachability = SCNetworkReachabilityCreateWithAddress(kCFAllocatorDefault, (const struct sockaddr *)address);\n    AFNetworkReachabilityManager *manager = [[self alloc] initWithReachability:reachability];\n\n    CFRelease(reachability);\n    \n    return manager;\n}\n\n+ (instancetype)manager\n{\n#if (defined(__IPHONE_OS_VERSION_MIN_REQUIRED) && __IPHONE_OS_VERSION_MIN_REQUIRED >= 90000) || (defined(__MAC_OS_X_VERSION_MIN_REQUIRED) && __MAC_OS_X_VERSION_MIN_REQUIRED >= 101100)\n    struct sockaddr_in6 address;\n    bzero(&address, sizeof(address));\n    address.sin6_len = sizeof(address);\n    address.sin6_family = AF_INET6;\n#else\n    struct sockaddr_in address;\n    bzero(&address, sizeof(address));\n    address.sin_len = sizeof(address);\n    address.sin_family = AF_INET;\n#endif\n    return [self managerForAddress:&address];\n}\n\n- (instancetype)initWithReachability:(SCNetworkReachabilityRef)reachability {\n    self = [super init];\n    if (!self) {\n        return nil;\n    }\n\n    _networkReachability = CFRetain(reachability);\n    self.networkReachabilityStatus = AFNetworkReachabilityStatusUnknown;\n\n    return self;\n}\n\n- (instancetype)init\n{\n    @throw [NSException exceptionWithName:NSGenericException\n                                   reason:@\"`-init` unavailable. Use `-initWithReachability:` instead\"\n                                 userInfo:nil];\n    return nil;\n}\n\n- (void)dealloc {\n    [self stopMonitoring];\n    \n    if (_networkReachability != NULL) {\n        CFRelease(_networkReachability);\n    }\n}\n\n#pragma mark -\n\n- (BOOL)isReachable {\n    return [self isReachableViaWWAN] || [self isReachableViaWiFi];\n}\n\n- (BOOL)isReachableViaWWAN {\n    return self.networkReachabilityStatus == AFNetworkReachabilityStatusReachableViaWWAN;\n}\n\n- (BOOL)isReachableViaWiFi {\n    return self.networkReachabilityStatus == AFNetworkReachabilityStatusReachableViaWiFi;\n}\n\n#pragma mark -\n\n- (void)startMonitoring {\n    [self stopMonitoring];\n\n    if (!self.networkReachability) {\n        return;\n    }\n\n    __weak __typeof(self)weakSelf = self;\n    AFNetworkReachabilityStatusBlock callback = ^(AFNetworkReachabilityStatus status) {\n        __strong __typeof(weakSelf)strongSelf = weakSelf;\n\n        strongSelf.networkReachabilityStatus = status;\n        if (strongSelf.networkReachabilityStatusBlock) {\n            strongSelf.networkReachabilityStatusBlock(status);\n        }\n\n    };\n\n    SCNetworkReachabilityContext context = {0, (__bridge void *)callback, AFNetworkReachabilityRetainCallback, AFNetworkReachabilityReleaseCallback, NULL};\n    SCNetworkReachabilitySetCallback(self.networkReachability, AFNetworkReachabilityCallback, &context);\n    SCNetworkReachabilityScheduleWithRunLoop(self.networkReachability, CFRunLoopGetMain(), kCFRunLoopCommonModes);\n\n    dispatch_async(dispatch_get_global_queue(DISPATCH_QUEUE_PRIORITY_BACKGROUND, 0),^{\n        SCNetworkReachabilityFlags flags;\n        if (SCNetworkReachabilityGetFlags(self.networkReachability, &flags)) {\n            AFPostReachabilityStatusChange(flags, callback);\n        }\n    });\n}\n\n- (void)stopMonitoring {\n    if (!self.networkReachability) {\n        return;\n    }\n\n    SCNetworkReachabilityUnscheduleFromRunLoop(self.networkReachability, CFRunLoopGetMain(), kCFRunLoopCommonModes);\n}\n\n#pragma mark -\n\n- (NSString *)localizedNetworkReachabilityStatusString {\n    return AFStringFromNetworkReachabilityStatus(self.networkReachabilityStatus);\n}\n\n#pragma mark -\n\n- (void)setReachabilityStatusChangeBlock:(void (^)(AFNetworkReachabilityStatus status))block {\n    self.networkReachabilityStatusBlock = block;\n}\n\n#pragma mark - NSKeyValueObserving\n\n+ (NSSet *)keyPathsForValuesAffectingValueForKey:(NSString *)key {\n    if ([key isEqualToString:@\"reachable\"] || [key isEqualToString:@\"reachableViaWWAN\"] || [key isEqualToString:@\"reachableViaWiFi\"]) {\n        return [NSSet setWithObject:@\"networkReachabilityStatus\"];\n    }\n\n    return [super keyPathsForValuesAffectingValueForKey:key];\n}\n\n@end\n#endif\n"
  },
  {
    "path": "CKMeiTuanShopView/Pods/AFNetworking/AFNetworking/AFNetworking.h",
    "content": "// AFNetworking.h\n//\n// Copyright (c) 2013 AFNetworking (http://afnetworking.com/)\n// \n// Permission is hereby granted, free of charge, to any person obtaining a copy\n// of this software and associated documentation files (the \"Software\"), to deal\n// in the Software without restriction, including without limitation the rights\n// to use, copy, modify, merge, publish, distribute, sublicense, and/or sell\n// copies of the Software, and to permit persons to whom the Software is\n// furnished to do so, subject to the following conditions:\n// \n// The above copyright notice and this permission notice shall be included in\n// all copies or substantial portions of the Software.\n// \n// THE SOFTWARE IS PROVIDED \"AS IS\", WITHOUT WARRANTY OF ANY KIND, EXPRESS OR\n// IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF MERCHANTABILITY,\n// FITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT. IN NO EVENT SHALL THE\n// AUTHORS OR COPYRIGHT HOLDERS BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER\n// LIABILITY, WHETHER IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING FROM,\n// OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN\n// THE SOFTWARE.\n\n#import <Foundation/Foundation.h>\n#import <Availability.h>\n#import <TargetConditionals.h>\n\n#ifndef _AFNETWORKING_\n    #define _AFNETWORKING_\n\n    #import \"AFURLRequestSerialization.h\"\n    #import \"AFURLResponseSerialization.h\"\n    #import \"AFSecurityPolicy.h\"\n\n#if !TARGET_OS_WATCH\n    #import \"AFNetworkReachabilityManager.h\"\n#endif\n\n    #import \"AFURLSessionManager.h\"\n    #import \"AFHTTPSessionManager.h\"\n\n#endif /* _AFNETWORKING_ */\n"
  },
  {
    "path": "CKMeiTuanShopView/Pods/AFNetworking/AFNetworking/AFSecurityPolicy.h",
    "content": "// AFSecurityPolicy.h\n// Copyright (c) 2011–2016 Alamofire Software Foundation ( http://alamofire.org/ )\n//\n// Permission is hereby granted, free of charge, to any person obtaining a copy\n// of this software and associated documentation files (the \"Software\"), to deal\n// in the Software without restriction, including without limitation the rights\n// to use, copy, modify, merge, publish, distribute, sublicense, and/or sell\n// copies of the Software, and to permit persons to whom the Software is\n// furnished to do so, subject to the following conditions:\n//\n// The above copyright notice and this permission notice shall be included in\n// all copies or substantial portions of the Software.\n//\n// THE SOFTWARE IS PROVIDED \"AS IS\", WITHOUT WARRANTY OF ANY KIND, EXPRESS OR\n// IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF MERCHANTABILITY,\n// FITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT. IN NO EVENT SHALL THE\n// AUTHORS OR COPYRIGHT HOLDERS BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER\n// LIABILITY, WHETHER IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING FROM,\n// OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN\n// THE SOFTWARE.\n\n#import <Foundation/Foundation.h>\n#import <Security/Security.h>\n\ntypedef NS_ENUM(NSUInteger, AFSSLPinningMode) {\n    AFSSLPinningModeNone,\n    AFSSLPinningModePublicKey,\n    AFSSLPinningModeCertificate,\n};\n\n/**\n `AFSecurityPolicy` evaluates server trust against pinned X.509 certificates and public keys over secure connections.\n\n Adding pinned SSL certificates to your app helps prevent man-in-the-middle attacks and other vulnerabilities. Applications dealing with sensitive customer data or financial information are strongly encouraged to route all communication over an HTTPS connection with SSL pinning configured and enabled.\n */\n\nNS_ASSUME_NONNULL_BEGIN\n\n@interface AFSecurityPolicy : NSObject <NSSecureCoding, NSCopying>\n\n/**\n The criteria by which server trust should be evaluated against the pinned SSL certificates. Defaults to `AFSSLPinningModeNone`.\n */\n@property (readonly, nonatomic, assign) AFSSLPinningMode SSLPinningMode;\n\n/**\n The certificates used to evaluate server trust according to the SSL pinning mode. \n\n  By default, this property is set to any (`.cer`) certificates included in the target compiling AFNetworking. Note that if you are using AFNetworking as embedded framework, no certificates will be pinned by default. Use `certificatesInBundle` to load certificates from your target, and then create a new policy by calling `policyWithPinningMode:withPinnedCertificates`.\n \n Note that if pinning is enabled, `evaluateServerTrust:forDomain:` will return true if any pinned certificate matches.\n */\n@property (nonatomic, strong, nullable) NSSet <NSData *> *pinnedCertificates;\n\n/**\n Whether or not to trust servers with an invalid or expired SSL certificates. Defaults to `NO`.\n */\n@property (nonatomic, assign) BOOL allowInvalidCertificates;\n\n/**\n Whether or not to validate the domain name in the certificate's CN field. Defaults to `YES`.\n */\n@property (nonatomic, assign) BOOL validatesDomainName;\n\n///-----------------------------------------\n/// @name Getting Certificates from the Bundle\n///-----------------------------------------\n\n/**\n Returns any certificates included in the bundle. If you are using AFNetworking as an embedded framework, you must use this method to find the certificates you have included in your app bundle, and use them when creating your security policy by calling `policyWithPinningMode:withPinnedCertificates`.\n\n @return The certificates included in the given bundle.\n */\n+ (NSSet <NSData *> *)certificatesInBundle:(NSBundle *)bundle;\n\n///-----------------------------------------\n/// @name Getting Specific Security Policies\n///-----------------------------------------\n\n/**\n Returns the shared default security policy, which does not allow invalid certificates, validates domain name, and does not validate against pinned certificates or public keys.\n\n @return The default security policy.\n */\n+ (instancetype)defaultPolicy;\n\n///---------------------\n/// @name Initialization\n///---------------------\n\n/**\n Creates and returns a security policy with the specified pinning mode.\n\n @param pinningMode The SSL pinning mode.\n\n @return A new security policy.\n */\n+ (instancetype)policyWithPinningMode:(AFSSLPinningMode)pinningMode;\n\n/**\n Creates and returns a security policy with the specified pinning mode.\n\n @param pinningMode The SSL pinning mode.\n @param pinnedCertificates The certificates to pin against.\n\n @return A new security policy.\n */\n+ (instancetype)policyWithPinningMode:(AFSSLPinningMode)pinningMode withPinnedCertificates:(NSSet <NSData *> *)pinnedCertificates;\n\n///------------------------------\n/// @name Evaluating Server Trust\n///------------------------------\n\n/**\n Whether or not the specified server trust should be accepted, based on the security policy.\n\n This method should be used when responding to an authentication challenge from a server.\n\n @param serverTrust The X.509 certificate trust of the server.\n @param domain The domain of serverTrust. If `nil`, the domain will not be validated.\n\n @return Whether or not to trust the server.\n */\n- (BOOL)evaluateServerTrust:(SecTrustRef)serverTrust\n                  forDomain:(nullable NSString *)domain;\n\n@end\n\nNS_ASSUME_NONNULL_END\n\n///----------------\n/// @name Constants\n///----------------\n\n/**\n ## SSL Pinning Modes\n\n The following constants are provided by `AFSSLPinningMode` as possible SSL pinning modes.\n\n enum {\n AFSSLPinningModeNone,\n AFSSLPinningModePublicKey,\n AFSSLPinningModeCertificate,\n }\n\n `AFSSLPinningModeNone`\n Do not used pinned certificates to validate servers.\n\n `AFSSLPinningModePublicKey`\n Validate host certificates against public keys of pinned certificates.\n\n `AFSSLPinningModeCertificate`\n Validate host certificates against pinned certificates.\n*/\n"
  },
  {
    "path": "CKMeiTuanShopView/Pods/AFNetworking/AFNetworking/AFSecurityPolicy.m",
    "content": "// AFSecurityPolicy.m\n// Copyright (c) 2011–2016 Alamofire Software Foundation ( http://alamofire.org/ )\n//\n// Permission is hereby granted, free of charge, to any person obtaining a copy\n// of this software and associated documentation files (the \"Software\"), to deal\n// in the Software without restriction, including without limitation the rights\n// to use, copy, modify, merge, publish, distribute, sublicense, and/or sell\n// copies of the Software, and to permit persons to whom the Software is\n// furnished to do so, subject to the following conditions:\n//\n// The above copyright notice and this permission notice shall be included in\n// all copies or substantial portions of the Software.\n//\n// THE SOFTWARE IS PROVIDED \"AS IS\", WITHOUT WARRANTY OF ANY KIND, EXPRESS OR\n// IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF MERCHANTABILITY,\n// FITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT. IN NO EVENT SHALL THE\n// AUTHORS OR COPYRIGHT HOLDERS BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER\n// LIABILITY, WHETHER IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING FROM,\n// OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN\n// THE SOFTWARE.\n\n#import \"AFSecurityPolicy.h\"\n\n#import <AssertMacros.h>\n\n#if !TARGET_OS_IOS && !TARGET_OS_WATCH && !TARGET_OS_TV\nstatic NSData * AFSecKeyGetData(SecKeyRef key) {\n    CFDataRef data = NULL;\n\n    __Require_noErr_Quiet(SecItemExport(key, kSecFormatUnknown, kSecItemPemArmour, NULL, &data), _out);\n\n    return (__bridge_transfer NSData *)data;\n\n_out:\n    if (data) {\n        CFRelease(data);\n    }\n\n    return nil;\n}\n#endif\n\nstatic BOOL AFSecKeyIsEqualToKey(SecKeyRef key1, SecKeyRef key2) {\n#if TARGET_OS_IOS || TARGET_OS_WATCH || TARGET_OS_TV\n    return [(__bridge id)key1 isEqual:(__bridge id)key2];\n#else\n    return [AFSecKeyGetData(key1) isEqual:AFSecKeyGetData(key2)];\n#endif\n}\n\nstatic id AFPublicKeyForCertificate(NSData *certificate) {\n    id allowedPublicKey = nil;\n    SecCertificateRef allowedCertificate;\n    SecPolicyRef policy = nil;\n    SecTrustRef allowedTrust = nil;\n    SecTrustResultType result;\n\n    allowedCertificate = SecCertificateCreateWithData(NULL, (__bridge CFDataRef)certificate);\n    __Require_Quiet(allowedCertificate != NULL, _out);\n\n    policy = SecPolicyCreateBasicX509();\n    __Require_noErr_Quiet(SecTrustCreateWithCertificates(allowedCertificate, policy, &allowedTrust), _out);\n    __Require_noErr_Quiet(SecTrustEvaluate(allowedTrust, &result), _out);\n\n    allowedPublicKey = (__bridge_transfer id)SecTrustCopyPublicKey(allowedTrust);\n\n_out:\n    if (allowedTrust) {\n        CFRelease(allowedTrust);\n    }\n\n    if (policy) {\n        CFRelease(policy);\n    }\n\n    if (allowedCertificate) {\n        CFRelease(allowedCertificate);\n    }\n\n    return allowedPublicKey;\n}\n\nstatic BOOL AFServerTrustIsValid(SecTrustRef serverTrust) {\n    BOOL isValid = NO;\n    SecTrustResultType result;\n    __Require_noErr_Quiet(SecTrustEvaluate(serverTrust, &result), _out);\n\n    isValid = (result == kSecTrustResultUnspecified || result == kSecTrustResultProceed);\n\n_out:\n    return isValid;\n}\n\nstatic NSArray * AFCertificateTrustChainForServerTrust(SecTrustRef serverTrust) {\n    CFIndex certificateCount = SecTrustGetCertificateCount(serverTrust);\n    NSMutableArray *trustChain = [NSMutableArray arrayWithCapacity:(NSUInteger)certificateCount];\n\n    for (CFIndex i = 0; i < certificateCount; i++) {\n        SecCertificateRef certificate = SecTrustGetCertificateAtIndex(serverTrust, i);\n        [trustChain addObject:(__bridge_transfer NSData *)SecCertificateCopyData(certificate)];\n    }\n\n    return [NSArray arrayWithArray:trustChain];\n}\n\nstatic NSArray * AFPublicKeyTrustChainForServerTrust(SecTrustRef serverTrust) {\n    SecPolicyRef policy = SecPolicyCreateBasicX509();\n    CFIndex certificateCount = SecTrustGetCertificateCount(serverTrust);\n    NSMutableArray *trustChain = [NSMutableArray arrayWithCapacity:(NSUInteger)certificateCount];\n    for (CFIndex i = 0; i < certificateCount; i++) {\n        SecCertificateRef certificate = SecTrustGetCertificateAtIndex(serverTrust, i);\n\n        SecCertificateRef someCertificates[] = {certificate};\n        CFArrayRef certificates = CFArrayCreate(NULL, (const void **)someCertificates, 1, NULL);\n\n        SecTrustRef trust;\n        __Require_noErr_Quiet(SecTrustCreateWithCertificates(certificates, policy, &trust), _out);\n\n        SecTrustResultType result;\n        __Require_noErr_Quiet(SecTrustEvaluate(trust, &result), _out);\n\n        [trustChain addObject:(__bridge_transfer id)SecTrustCopyPublicKey(trust)];\n\n    _out:\n        if (trust) {\n            CFRelease(trust);\n        }\n\n        if (certificates) {\n            CFRelease(certificates);\n        }\n\n        continue;\n    }\n    CFRelease(policy);\n\n    return [NSArray arrayWithArray:trustChain];\n}\n\n#pragma mark -\n\n@interface AFSecurityPolicy()\n@property (readwrite, nonatomic, assign) AFSSLPinningMode SSLPinningMode;\n@property (readwrite, nonatomic, strong) NSSet *pinnedPublicKeys;\n@end\n\n@implementation AFSecurityPolicy\n\n+ (NSSet *)certificatesInBundle:(NSBundle *)bundle {\n    NSArray *paths = [bundle pathsForResourcesOfType:@\"cer\" inDirectory:@\".\"];\n\n    NSMutableSet *certificates = [NSMutableSet setWithCapacity:[paths count]];\n    for (NSString *path in paths) {\n        NSData *certificateData = [NSData dataWithContentsOfFile:path];\n        [certificates addObject:certificateData];\n    }\n\n    return [NSSet setWithSet:certificates];\n}\n\n+ (NSSet *)defaultPinnedCertificates {\n    static NSSet *_defaultPinnedCertificates = nil;\n    static dispatch_once_t onceToken;\n    dispatch_once(&onceToken, ^{\n        NSBundle *bundle = [NSBundle bundleForClass:[self class]];\n        _defaultPinnedCertificates = [self certificatesInBundle:bundle];\n    });\n\n    return _defaultPinnedCertificates;\n}\n\n+ (instancetype)defaultPolicy {\n    AFSecurityPolicy *securityPolicy = [[self alloc] init];\n    securityPolicy.SSLPinningMode = AFSSLPinningModeNone;\n\n    return securityPolicy;\n}\n\n+ (instancetype)policyWithPinningMode:(AFSSLPinningMode)pinningMode {\n    return [self policyWithPinningMode:pinningMode withPinnedCertificates:[self defaultPinnedCertificates]];\n}\n\n+ (instancetype)policyWithPinningMode:(AFSSLPinningMode)pinningMode withPinnedCertificates:(NSSet *)pinnedCertificates {\n    AFSecurityPolicy *securityPolicy = [[self alloc] init];\n    securityPolicy.SSLPinningMode = pinningMode;\n\n    [securityPolicy setPinnedCertificates:pinnedCertificates];\n\n    return securityPolicy;\n}\n\n- (instancetype)init {\n    self = [super init];\n    if (!self) {\n        return nil;\n    }\n\n    self.validatesDomainName = YES;\n\n    return self;\n}\n\n- (void)setPinnedCertificates:(NSSet *)pinnedCertificates {\n    _pinnedCertificates = pinnedCertificates;\n\n    if (self.pinnedCertificates) {\n        NSMutableSet *mutablePinnedPublicKeys = [NSMutableSet setWithCapacity:[self.pinnedCertificates count]];\n        for (NSData *certificate in self.pinnedCertificates) {\n            id publicKey = AFPublicKeyForCertificate(certificate);\n            if (!publicKey) {\n                continue;\n            }\n            [mutablePinnedPublicKeys addObject:publicKey];\n        }\n        self.pinnedPublicKeys = [NSSet setWithSet:mutablePinnedPublicKeys];\n    } else {\n        self.pinnedPublicKeys = nil;\n    }\n}\n\n#pragma mark -\n\n- (BOOL)evaluateServerTrust:(SecTrustRef)serverTrust\n                  forDomain:(NSString *)domain\n{\n    if (domain && self.allowInvalidCertificates && self.validatesDomainName && (self.SSLPinningMode == AFSSLPinningModeNone || [self.pinnedCertificates count] == 0)) {\n        // https://developer.apple.com/library/mac/documentation/NetworkingInternet/Conceptual/NetworkingTopics/Articles/OverridingSSLChainValidationCorrectly.html\n        //  According to the docs, you should only trust your provided certs for evaluation.\n        //  Pinned certificates are added to the trust. Without pinned certificates,\n        //  there is nothing to evaluate against.\n        //\n        //  From Apple Docs:\n        //          \"Do not implicitly trust self-signed certificates as anchors (kSecTrustOptionImplicitAnchors).\n        //           Instead, add your own (self-signed) CA certificate to the list of trusted anchors.\"\n        NSLog(@\"In order to validate a domain name for self signed certificates, you MUST use pinning.\");\n        return NO;\n    }\n\n    NSMutableArray *policies = [NSMutableArray array];\n    if (self.validatesDomainName) {\n        [policies addObject:(__bridge_transfer id)SecPolicyCreateSSL(true, (__bridge CFStringRef)domain)];\n    } else {\n        [policies addObject:(__bridge_transfer id)SecPolicyCreateBasicX509()];\n    }\n\n    SecTrustSetPolicies(serverTrust, (__bridge CFArrayRef)policies);\n\n    if (self.SSLPinningMode == AFSSLPinningModeNone) {\n        return self.allowInvalidCertificates || AFServerTrustIsValid(serverTrust);\n    } else if (!AFServerTrustIsValid(serverTrust) && !self.allowInvalidCertificates) {\n        return NO;\n    }\n\n    switch (self.SSLPinningMode) {\n        case AFSSLPinningModeNone:\n        default:\n            return NO;\n        case AFSSLPinningModeCertificate: {\n            NSMutableArray *pinnedCertificates = [NSMutableArray array];\n            for (NSData *certificateData in self.pinnedCertificates) {\n                [pinnedCertificates addObject:(__bridge_transfer id)SecCertificateCreateWithData(NULL, (__bridge CFDataRef)certificateData)];\n            }\n            SecTrustSetAnchorCertificates(serverTrust, (__bridge CFArrayRef)pinnedCertificates);\n\n            if (!AFServerTrustIsValid(serverTrust)) {\n                return NO;\n            }\n\n            // obtain the chain after being validated, which *should* contain the pinned certificate in the last position (if it's the Root CA)\n            NSArray *serverCertificates = AFCertificateTrustChainForServerTrust(serverTrust);\n            \n            for (NSData *trustChainCertificate in [serverCertificates reverseObjectEnumerator]) {\n                if ([self.pinnedCertificates containsObject:trustChainCertificate]) {\n                    return YES;\n                }\n            }\n            \n            return NO;\n        }\n        case AFSSLPinningModePublicKey: {\n            NSUInteger trustedPublicKeyCount = 0;\n            NSArray *publicKeys = AFPublicKeyTrustChainForServerTrust(serverTrust);\n\n            for (id trustChainPublicKey in publicKeys) {\n                for (id pinnedPublicKey in self.pinnedPublicKeys) {\n                    if (AFSecKeyIsEqualToKey((__bridge SecKeyRef)trustChainPublicKey, (__bridge SecKeyRef)pinnedPublicKey)) {\n                        trustedPublicKeyCount += 1;\n                    }\n                }\n            }\n            return trustedPublicKeyCount > 0;\n        }\n    }\n    \n    return NO;\n}\n\n#pragma mark - NSKeyValueObserving\n\n+ (NSSet *)keyPathsForValuesAffectingPinnedPublicKeys {\n    return [NSSet setWithObject:@\"pinnedCertificates\"];\n}\n\n#pragma mark - NSSecureCoding\n\n+ (BOOL)supportsSecureCoding {\n    return YES;\n}\n\n- (instancetype)initWithCoder:(NSCoder *)decoder {\n\n    self = [self init];\n    if (!self) {\n        return nil;\n    }\n\n    self.SSLPinningMode = [[decoder decodeObjectOfClass:[NSNumber class] forKey:NSStringFromSelector(@selector(SSLPinningMode))] unsignedIntegerValue];\n    self.allowInvalidCertificates = [decoder decodeBoolForKey:NSStringFromSelector(@selector(allowInvalidCertificates))];\n    self.validatesDomainName = [decoder decodeBoolForKey:NSStringFromSelector(@selector(validatesDomainName))];\n    self.pinnedCertificates = [decoder decodeObjectOfClass:[NSArray class] forKey:NSStringFromSelector(@selector(pinnedCertificates))];\n\n    return self;\n}\n\n- (void)encodeWithCoder:(NSCoder *)coder {\n    [coder encodeObject:[NSNumber numberWithUnsignedInteger:self.SSLPinningMode] forKey:NSStringFromSelector(@selector(SSLPinningMode))];\n    [coder encodeBool:self.allowInvalidCertificates forKey:NSStringFromSelector(@selector(allowInvalidCertificates))];\n    [coder encodeBool:self.validatesDomainName forKey:NSStringFromSelector(@selector(validatesDomainName))];\n    [coder encodeObject:self.pinnedCertificates forKey:NSStringFromSelector(@selector(pinnedCertificates))];\n}\n\n#pragma mark - NSCopying\n\n- (instancetype)copyWithZone:(NSZone *)zone {\n    AFSecurityPolicy *securityPolicy = [[[self class] allocWithZone:zone] init];\n    securityPolicy.SSLPinningMode = self.SSLPinningMode;\n    securityPolicy.allowInvalidCertificates = self.allowInvalidCertificates;\n    securityPolicy.validatesDomainName = self.validatesDomainName;\n    securityPolicy.pinnedCertificates = [self.pinnedCertificates copyWithZone:zone];\n\n    return securityPolicy;\n}\n\n@end\n"
  },
  {
    "path": "CKMeiTuanShopView/Pods/AFNetworking/AFNetworking/AFURLRequestSerialization.h",
    "content": "// AFURLRequestSerialization.h\n// Copyright (c) 2011–2016 Alamofire Software Foundation ( http://alamofire.org/ )\n//\n// Permission is hereby granted, free of charge, to any person obtaining a copy\n// of this software and associated documentation files (the \"Software\"), to deal\n// in the Software without restriction, including without limitation the rights\n// to use, copy, modify, merge, publish, distribute, sublicense, and/or sell\n// copies of the Software, and to permit persons to whom the Software is\n// furnished to do so, subject to the following conditions:\n//\n// The above copyright notice and this permission notice shall be included in\n// all copies or substantial portions of the Software.\n//\n// THE SOFTWARE IS PROVIDED \"AS IS\", WITHOUT WARRANTY OF ANY KIND, EXPRESS OR\n// IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF MERCHANTABILITY,\n// FITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT. IN NO EVENT SHALL THE\n// AUTHORS OR COPYRIGHT HOLDERS BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER\n// LIABILITY, WHETHER IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING FROM,\n// OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN\n// THE SOFTWARE.\n\n#import <Foundation/Foundation.h>\n#import <TargetConditionals.h>\n\n#if TARGET_OS_IOS || TARGET_OS_TV\n#import <UIKit/UIKit.h>\n#elif TARGET_OS_WATCH\n#import <WatchKit/WatchKit.h>\n#endif\n\nNS_ASSUME_NONNULL_BEGIN\n\n/**\n Returns a percent-escaped string following RFC 3986 for a query string key or value.\n RFC 3986 states that the following characters are \"reserved\" characters.\n - General Delimiters: \":\", \"#\", \"[\", \"]\", \"@\", \"?\", \"/\"\n - Sub-Delimiters: \"!\", \"$\", \"&\", \"'\", \"(\", \")\", \"*\", \"+\", \",\", \";\", \"=\"\n\n In RFC 3986 - Section 3.4, it states that the \"?\" and \"/\" characters should not be escaped to allow\n query strings to include a URL. Therefore, all \"reserved\" characters with the exception of \"?\" and \"/\"\n should be percent-escaped in the query string.\n \n @param string The string to be percent-escaped.\n \n @return The percent-escaped string.\n */\nFOUNDATION_EXPORT NSString * AFPercentEscapedStringFromString(NSString *string);\n\n/**\n A helper method to generate encoded url query parameters for appending to the end of a URL.\n\n @param parameters A dictionary of key/values to be encoded.\n\n @return A url encoded query string\n */\nFOUNDATION_EXPORT NSString * AFQueryStringFromParameters(NSDictionary *parameters);\n\n/**\n The `AFURLRequestSerialization` protocol is adopted by an object that encodes parameters for a specified HTTP requests. Request serializers may encode parameters as query strings, HTTP bodies, setting the appropriate HTTP header fields as necessary.\n\n For example, a JSON request serializer may set the HTTP body of the request to a JSON representation, and set the `Content-Type` HTTP header field value to `application/json`.\n */\n@protocol AFURLRequestSerialization <NSObject, NSSecureCoding, NSCopying>\n\n/**\n Returns a request with the specified parameters encoded into a copy of the original request.\n\n @param request The original request.\n @param parameters The parameters to be encoded.\n @param error The error that occurred while attempting to encode the request parameters.\n\n @return A serialized request.\n */\n- (nullable NSURLRequest *)requestBySerializingRequest:(NSURLRequest *)request\n                               withParameters:(nullable id)parameters\n                                        error:(NSError * _Nullable __autoreleasing *)error NS_SWIFT_NOTHROW;\n\n@end\n\n#pragma mark -\n\n/**\n\n */\ntypedef NS_ENUM(NSUInteger, AFHTTPRequestQueryStringSerializationStyle) {\n    AFHTTPRequestQueryStringDefaultStyle = 0,\n};\n\n@protocol AFMultipartFormData;\n\n/**\n `AFHTTPRequestSerializer` conforms to the `AFURLRequestSerialization` & `AFURLResponseSerialization` protocols, offering a concrete base implementation of query string / URL form-encoded parameter serialization and default request headers, as well as response status code and content type validation.\n\n Any request or response serializer dealing with HTTP is encouraged to subclass `AFHTTPRequestSerializer` in order to ensure consistent default behavior.\n */\n@interface AFHTTPRequestSerializer : NSObject <AFURLRequestSerialization>\n\n/**\n The string encoding used to serialize parameters. `NSUTF8StringEncoding` by default.\n */\n@property (nonatomic, assign) NSStringEncoding stringEncoding;\n\n/**\n Whether created requests can use the device’s cellular radio (if present). `YES` by default.\n\n @see NSMutableURLRequest -setAllowsCellularAccess:\n */\n@property (nonatomic, assign) BOOL allowsCellularAccess;\n\n/**\n The cache policy of created requests. `NSURLRequestUseProtocolCachePolicy` by default.\n\n @see NSMutableURLRequest -setCachePolicy:\n */\n@property (nonatomic, assign) NSURLRequestCachePolicy cachePolicy;\n\n/**\n Whether created requests should use the default cookie handling. `YES` by default.\n\n @see NSMutableURLRequest -setHTTPShouldHandleCookies:\n */\n@property (nonatomic, assign) BOOL HTTPShouldHandleCookies;\n\n/**\n Whether created requests can continue transmitting data before receiving a response from an earlier transmission. `NO` by default\n\n @see NSMutableURLRequest -setHTTPShouldUsePipelining:\n */\n@property (nonatomic, assign) BOOL HTTPShouldUsePipelining;\n\n/**\n The network service type for created requests. `NSURLNetworkServiceTypeDefault` by default.\n\n @see NSMutableURLRequest -setNetworkServiceType:\n */\n@property (nonatomic, assign) NSURLRequestNetworkServiceType networkServiceType;\n\n/**\n The timeout interval, in seconds, for created requests. The default timeout interval is 60 seconds.\n\n @see NSMutableURLRequest -setTimeoutInterval:\n */\n@property (nonatomic, assign) NSTimeInterval timeoutInterval;\n\n///---------------------------------------\n/// @name Configuring HTTP Request Headers\n///---------------------------------------\n\n/**\n Default HTTP header field values to be applied to serialized requests. By default, these include the following:\n\n - `Accept-Language` with the contents of `NSLocale +preferredLanguages`\n - `User-Agent` with the contents of various bundle identifiers and OS designations\n\n @discussion To add or remove default request headers, use `setValue:forHTTPHeaderField:`.\n */\n@property (readonly, nonatomic, strong) NSDictionary <NSString *, NSString *> *HTTPRequestHeaders;\n\n/**\n Creates and returns a serializer with default configuration.\n */\n+ (instancetype)serializer;\n\n/**\n Sets the value for the HTTP headers set in request objects made by the HTTP client. If `nil`, removes the existing value for that header.\n\n @param field The HTTP header to set a default value for\n @param value The value set as default for the specified header, or `nil`\n */\n- (void)setValue:(nullable NSString *)value\nforHTTPHeaderField:(NSString *)field;\n\n/**\n Returns the value for the HTTP headers set in the request serializer.\n\n @param field The HTTP header to retrieve the default value for\n\n @return The value set as default for the specified header, or `nil`\n */\n- (nullable NSString *)valueForHTTPHeaderField:(NSString *)field;\n\n/**\n Sets the \"Authorization\" HTTP header set in request objects made by the HTTP client to a basic authentication value with Base64-encoded username and password. This overwrites any existing value for this header.\n\n @param username The HTTP basic auth username\n @param password The HTTP basic auth password\n */\n- (void)setAuthorizationHeaderFieldWithUsername:(NSString *)username\n                                       password:(NSString *)password;\n\n/**\n Clears any existing value for the \"Authorization\" HTTP header.\n */\n- (void)clearAuthorizationHeader;\n\n///-------------------------------------------------------\n/// @name Configuring Query String Parameter Serialization\n///-------------------------------------------------------\n\n/**\n HTTP methods for which serialized requests will encode parameters as a query string. `GET`, `HEAD`, and `DELETE` by default.\n */\n@property (nonatomic, strong) NSSet <NSString *> *HTTPMethodsEncodingParametersInURI;\n\n/**\n Set the method of query string serialization according to one of the pre-defined styles.\n\n @param style The serialization style.\n\n @see AFHTTPRequestQueryStringSerializationStyle\n */\n- (void)setQueryStringSerializationWithStyle:(AFHTTPRequestQueryStringSerializationStyle)style;\n\n/**\n Set the a custom method of query string serialization according to the specified block.\n\n @param block A block that defines a process of encoding parameters into a query string. This block returns the query string and takes three arguments: the request, the parameters to encode, and the error that occurred when attempting to encode parameters for the given request.\n */\n- (void)setQueryStringSerializationWithBlock:(nullable NSString * (^)(NSURLRequest *request, id parameters, NSError * __autoreleasing *error))block;\n\n///-------------------------------\n/// @name Creating Request Objects\n///-------------------------------\n\n/**\n Creates an `NSMutableURLRequest` object with the specified HTTP method and URL string.\n\n If the HTTP method is `GET`, `HEAD`, or `DELETE`, the parameters will be used to construct a url-encoded query string that is appended to the request's URL. Otherwise, the parameters will be encoded according to the value of the `parameterEncoding` property, and set as the request body.\n\n @param method The HTTP method for the request, such as `GET`, `POST`, `PUT`, or `DELETE`. This parameter must not be `nil`.\n @param URLString The URL string used to create the request URL.\n @param parameters The parameters to be either set as a query string for `GET` requests, or the request HTTP body.\n @param error The error that occurred while constructing the request.\n\n @return An `NSMutableURLRequest` object.\n */\n- (NSMutableURLRequest *)requestWithMethod:(NSString *)method\n                                 URLString:(NSString *)URLString\n                                parameters:(nullable id)parameters\n                                     error:(NSError * _Nullable __autoreleasing *)error;\n\n/**\n Creates an `NSMutableURLRequest` object with the specified HTTP method and URLString, and constructs a `multipart/form-data` HTTP body, using the specified parameters and multipart form data block. See http://www.w3.org/TR/html4/interact/forms.html#h-17.13.4.2\n\n Multipart form requests are automatically streamed, reading files directly from disk along with in-memory data in a single HTTP body. The resulting `NSMutableURLRequest` object has an `HTTPBodyStream` property, so refrain from setting `HTTPBodyStream` or `HTTPBody` on this request object, as it will clear out the multipart form body stream.\n\n @param method The HTTP method for the request. This parameter must not be `GET` or `HEAD`, or `nil`.\n @param URLString The URL string used to create the request URL.\n @param parameters The parameters to be encoded and set in the request HTTP body.\n @param block A block that takes a single argument and appends data to the HTTP body. The block argument is an object adopting the `AFMultipartFormData` protocol.\n @param error The error that occurred while constructing the request.\n\n @return An `NSMutableURLRequest` object\n */\n- (NSMutableURLRequest *)multipartFormRequestWithMethod:(NSString *)method\n                                              URLString:(NSString *)URLString\n                                             parameters:(nullable NSDictionary <NSString *, id> *)parameters\n                              constructingBodyWithBlock:(nullable void (^)(id <AFMultipartFormData> formData))block\n                                                  error:(NSError * _Nullable __autoreleasing *)error;\n\n/**\n Creates an `NSMutableURLRequest` by removing the `HTTPBodyStream` from a request, and asynchronously writing its contents into the specified file, invoking the completion handler when finished.\n\n @param request The multipart form request. The `HTTPBodyStream` property of `request` must not be `nil`.\n @param fileURL The file URL to write multipart form contents to.\n @param handler A handler block to execute.\n\n @discussion There is a bug in `NSURLSessionTask` that causes requests to not send a `Content-Length` header when streaming contents from an HTTP body, which is notably problematic when interacting with the Amazon S3 webservice. As a workaround, this method takes a request constructed with `multipartFormRequestWithMethod:URLString:parameters:constructingBodyWithBlock:error:`, or any other request with an `HTTPBodyStream`, writes the contents to the specified file and returns a copy of the original request with the `HTTPBodyStream` property set to `nil`. From here, the file can either be passed to `AFURLSessionManager -uploadTaskWithRequest:fromFile:progress:completionHandler:`, or have its contents read into an `NSData` that's assigned to the `HTTPBody` property of the request.\n\n @see https://github.com/AFNetworking/AFNetworking/issues/1398\n */\n- (NSMutableURLRequest *)requestWithMultipartFormRequest:(NSURLRequest *)request\n                             writingStreamContentsToFile:(NSURL *)fileURL\n                                       completionHandler:(nullable void (^)(NSError * _Nullable error))handler;\n\n@end\n\n#pragma mark -\n\n/**\n The `AFMultipartFormData` protocol defines the methods supported by the parameter in the block argument of `AFHTTPRequestSerializer -multipartFormRequestWithMethod:URLString:parameters:constructingBodyWithBlock:`.\n */\n@protocol AFMultipartFormData\n\n/**\n Appends the HTTP header `Content-Disposition: file; filename=#{generated filename}; name=#{name}\"` and `Content-Type: #{generated mimeType}`, followed by the encoded file data and the multipart form boundary.\n\n The filename and MIME type for this data in the form will be automatically generated, using the last path component of the `fileURL` and system associated MIME type for the `fileURL` extension, respectively.\n\n @param fileURL The URL corresponding to the file whose content will be appended to the form. This parameter must not be `nil`.\n @param name The name to be associated with the specified data. This parameter must not be `nil`.\n @param error If an error occurs, upon return contains an `NSError` object that describes the problem.\n\n @return `YES` if the file data was successfully appended, otherwise `NO`.\n */\n- (BOOL)appendPartWithFileURL:(NSURL *)fileURL\n                         name:(NSString *)name\n                        error:(NSError * _Nullable __autoreleasing *)error;\n\n/**\n Appends the HTTP header `Content-Disposition: file; filename=#{filename}; name=#{name}\"` and `Content-Type: #{mimeType}`, followed by the encoded file data and the multipart form boundary.\n\n @param fileURL The URL corresponding to the file whose content will be appended to the form. This parameter must not be `nil`.\n @param name The name to be associated with the specified data. This parameter must not be `nil`.\n @param fileName The file name to be used in the `Content-Disposition` header. This parameter must not be `nil`.\n @param mimeType The declared MIME type of the file data. This parameter must not be `nil`.\n @param error If an error occurs, upon return contains an `NSError` object that describes the problem.\n\n @return `YES` if the file data was successfully appended otherwise `NO`.\n */\n- (BOOL)appendPartWithFileURL:(NSURL *)fileURL\n                         name:(NSString *)name\n                     fileName:(NSString *)fileName\n                     mimeType:(NSString *)mimeType\n                        error:(NSError * _Nullable __autoreleasing *)error;\n\n/**\n Appends the HTTP header `Content-Disposition: file; filename=#{filename}; name=#{name}\"` and `Content-Type: #{mimeType}`, followed by the data from the input stream and the multipart form boundary.\n\n @param inputStream The input stream to be appended to the form data\n @param name The name to be associated with the specified input stream. This parameter must not be `nil`.\n @param fileName The filename to be associated with the specified input stream. This parameter must not be `nil`.\n @param length The length of the specified input stream in bytes.\n @param mimeType The MIME type of the specified data. (For example, the MIME type for a JPEG image is image/jpeg.) For a list of valid MIME types, see http://www.iana.org/assignments/media-types/. This parameter must not be `nil`.\n */\n- (void)appendPartWithInputStream:(nullable NSInputStream *)inputStream\n                             name:(NSString *)name\n                         fileName:(NSString *)fileName\n                           length:(int64_t)length\n                         mimeType:(NSString *)mimeType;\n\n/**\n Appends the HTTP header `Content-Disposition: file; filename=#{filename}; name=#{name}\"` and `Content-Type: #{mimeType}`, followed by the encoded file data and the multipart form boundary.\n\n @param data The data to be encoded and appended to the form data.\n @param name The name to be associated with the specified data. This parameter must not be `nil`.\n @param fileName The filename to be associated with the specified data. This parameter must not be `nil`.\n @param mimeType The MIME type of the specified data. (For example, the MIME type for a JPEG image is image/jpeg.) For a list of valid MIME types, see http://www.iana.org/assignments/media-types/. This parameter must not be `nil`.\n */\n- (void)appendPartWithFileData:(NSData *)data\n                          name:(NSString *)name\n                      fileName:(NSString *)fileName\n                      mimeType:(NSString *)mimeType;\n\n/**\n Appends the HTTP headers `Content-Disposition: form-data; name=#{name}\"`, followed by the encoded data and the multipart form boundary.\n\n @param data The data to be encoded and appended to the form data.\n @param name The name to be associated with the specified data. This parameter must not be `nil`.\n */\n\n- (void)appendPartWithFormData:(NSData *)data\n                          name:(NSString *)name;\n\n\n/**\n Appends HTTP headers, followed by the encoded data and the multipart form boundary.\n\n @param headers The HTTP headers to be appended to the form data.\n @param body The data to be encoded and appended to the form data. This parameter must not be `nil`.\n */\n- (void)appendPartWithHeaders:(nullable NSDictionary <NSString *, NSString *> *)headers\n                         body:(NSData *)body;\n\n/**\n Throttles request bandwidth by limiting the packet size and adding a delay for each chunk read from the upload stream.\n\n When uploading over a 3G or EDGE connection, requests may fail with \"request body stream exhausted\". Setting a maximum packet size and delay according to the recommended values (`kAFUploadStream3GSuggestedPacketSize` and `kAFUploadStream3GSuggestedDelay`) lowers the risk of the input stream exceeding its allocated bandwidth. Unfortunately, there is no definite way to distinguish between a 3G, EDGE, or LTE connection over `NSURLConnection`. As such, it is not recommended that you throttle bandwidth based solely on network reachability. Instead, you should consider checking for the \"request body stream exhausted\" in a failure block, and then retrying the request with throttled bandwidth.\n\n @param numberOfBytes Maximum packet size, in number of bytes. The default packet size for an input stream is 16kb.\n @param delay Duration of delay each time a packet is read. By default, no delay is set.\n */\n- (void)throttleBandwidthWithPacketSize:(NSUInteger)numberOfBytes\n                                  delay:(NSTimeInterval)delay;\n\n@end\n\n#pragma mark -\n\n/**\n `AFJSONRequestSerializer` is a subclass of `AFHTTPRequestSerializer` that encodes parameters as JSON using `NSJSONSerialization`, setting the `Content-Type` of the encoded request to `application/json`.\n */\n@interface AFJSONRequestSerializer : AFHTTPRequestSerializer\n\n/**\n Options for writing the request JSON data from Foundation objects. For possible values, see the `NSJSONSerialization` documentation section \"NSJSONWritingOptions\". `0` by default.\n */\n@property (nonatomic, assign) NSJSONWritingOptions writingOptions;\n\n/**\n Creates and returns a JSON serializer with specified reading and writing options.\n\n @param writingOptions The specified JSON writing options.\n */\n+ (instancetype)serializerWithWritingOptions:(NSJSONWritingOptions)writingOptions;\n\n@end\n\n#pragma mark -\n\n/**\n `AFPropertyListRequestSerializer` is a subclass of `AFHTTPRequestSerializer` that encodes parameters as JSON using `NSPropertyListSerializer`, setting the `Content-Type` of the encoded request to `application/x-plist`.\n */\n@interface AFPropertyListRequestSerializer : AFHTTPRequestSerializer\n\n/**\n The property list format. Possible values are described in \"NSPropertyListFormat\".\n */\n@property (nonatomic, assign) NSPropertyListFormat format;\n\n/**\n @warning The `writeOptions` property is currently unused.\n */\n@property (nonatomic, assign) NSPropertyListWriteOptions writeOptions;\n\n/**\n Creates and returns a property list serializer with a specified format, read options, and write options.\n\n @param format The property list format.\n @param writeOptions The property list write options.\n\n @warning The `writeOptions` property is currently unused.\n */\n+ (instancetype)serializerWithFormat:(NSPropertyListFormat)format\n                        writeOptions:(NSPropertyListWriteOptions)writeOptions;\n\n@end\n\n#pragma mark -\n\n///----------------\n/// @name Constants\n///----------------\n\n/**\n ## Error Domains\n\n The following error domain is predefined.\n\n - `NSString * const AFURLRequestSerializationErrorDomain`\n\n ### Constants\n\n `AFURLRequestSerializationErrorDomain`\n AFURLRequestSerializer errors. Error codes for `AFURLRequestSerializationErrorDomain` correspond to codes in `NSURLErrorDomain`.\n */\nFOUNDATION_EXPORT NSString * const AFURLRequestSerializationErrorDomain;\n\n/**\n ## User info dictionary keys\n\n These keys may exist in the user info dictionary, in addition to those defined for NSError.\n\n - `NSString * const AFNetworkingOperationFailingURLRequestErrorKey`\n\n ### Constants\n\n `AFNetworkingOperationFailingURLRequestErrorKey`\n The corresponding value is an `NSURLRequest` containing the request of the operation associated with an error. This key is only present in the `AFURLRequestSerializationErrorDomain`.\n */\nFOUNDATION_EXPORT NSString * const AFNetworkingOperationFailingURLRequestErrorKey;\n\n/**\n ## Throttling Bandwidth for HTTP Request Input Streams\n\n @see -throttleBandwidthWithPacketSize:delay:\n\n ### Constants\n\n `kAFUploadStream3GSuggestedPacketSize`\n Maximum packet size, in number of bytes. Equal to 16kb.\n\n `kAFUploadStream3GSuggestedDelay`\n Duration of delay each time a packet is read. Equal to 0.2 seconds.\n */\nFOUNDATION_EXPORT NSUInteger const kAFUploadStream3GSuggestedPacketSize;\nFOUNDATION_EXPORT NSTimeInterval const kAFUploadStream3GSuggestedDelay;\n\nNS_ASSUME_NONNULL_END\n"
  },
  {
    "path": "CKMeiTuanShopView/Pods/AFNetworking/AFNetworking/AFURLRequestSerialization.m",
    "content": "// AFURLRequestSerialization.m\n// Copyright (c) 2011–2016 Alamofire Software Foundation ( http://alamofire.org/ )\n//\n// Permission is hereby granted, free of charge, to any person obtaining a copy\n// of this software and associated documentation files (the \"Software\"), to deal\n// in the Software without restriction, including without limitation the rights\n// to use, copy, modify, merge, publish, distribute, sublicense, and/or sell\n// copies of the Software, and to permit persons to whom the Software is\n// furnished to do so, subject to the following conditions:\n//\n// The above copyright notice and this permission notice shall be included in\n// all copies or substantial portions of the Software.\n//\n// THE SOFTWARE IS PROVIDED \"AS IS\", WITHOUT WARRANTY OF ANY KIND, EXPRESS OR\n// IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF MERCHANTABILITY,\n// FITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT. IN NO EVENT SHALL THE\n// AUTHORS OR COPYRIGHT HOLDERS BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER\n// LIABILITY, WHETHER IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING FROM,\n// OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN\n// THE SOFTWARE.\n\n#import \"AFURLRequestSerialization.h\"\n\n#if TARGET_OS_IOS || TARGET_OS_WATCH || TARGET_OS_TV\n#import <MobileCoreServices/MobileCoreServices.h>\n#else\n#import <CoreServices/CoreServices.h>\n#endif\n\nNSString * const AFURLRequestSerializationErrorDomain = @\"com.alamofire.error.serialization.request\";\nNSString * const AFNetworkingOperationFailingURLRequestErrorKey = @\"com.alamofire.serialization.request.error.response\";\n\ntypedef NSString * (^AFQueryStringSerializationBlock)(NSURLRequest *request, id parameters, NSError *__autoreleasing *error);\n\n/**\n Returns a percent-escaped string following RFC 3986 for a query string key or value.\n RFC 3986 states that the following characters are \"reserved\" characters.\n    - General Delimiters: \":\", \"#\", \"[\", \"]\", \"@\", \"?\", \"/\"\n    - Sub-Delimiters: \"!\", \"$\", \"&\", \"'\", \"(\", \")\", \"*\", \"+\", \",\", \";\", \"=\"\n\n In RFC 3986 - Section 3.4, it states that the \"?\" and \"/\" characters should not be escaped to allow\n query strings to include a URL. Therefore, all \"reserved\" characters with the exception of \"?\" and \"/\"\n should be percent-escaped in the query string.\n    - parameter string: The string to be percent-escaped.\n    - returns: The percent-escaped string.\n */\nNSString * AFPercentEscapedStringFromString(NSString *string) {\n    static NSString * const kAFCharactersGeneralDelimitersToEncode = @\":#[]@\"; // does not include \"?\" or \"/\" due to RFC 3986 - Section 3.4\n    static NSString * const kAFCharactersSubDelimitersToEncode = @\"!$&'()*+,;=\";\n\n    NSMutableCharacterSet * allowedCharacterSet = [[NSCharacterSet URLQueryAllowedCharacterSet] mutableCopy];\n    [allowedCharacterSet removeCharactersInString:[kAFCharactersGeneralDelimitersToEncode stringByAppendingString:kAFCharactersSubDelimitersToEncode]];\n\n\t// FIXME: https://github.com/AFNetworking/AFNetworking/pull/3028\n    // return [string stringByAddingPercentEncodingWithAllowedCharacters:allowedCharacterSet];\n\n    static NSUInteger const batchSize = 50;\n\n    NSUInteger index = 0;\n    NSMutableString *escaped = @\"\".mutableCopy;\n\n    while (index < string.length) {\n        NSUInteger length = MIN(string.length - index, batchSize);\n        NSRange range = NSMakeRange(index, length);\n\n        // To avoid breaking up character sequences such as 👴🏻👮🏽\n        range = [string rangeOfComposedCharacterSequencesForRange:range];\n\n        NSString *substring = [string substringWithRange:range];\n        NSString *encoded = [substring stringByAddingPercentEncodingWithAllowedCharacters:allowedCharacterSet];\n        [escaped appendString:encoded];\n\n        index += range.length;\n    }\n\n\treturn escaped;\n}\n\n#pragma mark -\n\n@interface AFQueryStringPair : NSObject\n@property (readwrite, nonatomic, strong) id field;\n@property (readwrite, nonatomic, strong) id value;\n\n- (instancetype)initWithField:(id)field value:(id)value;\n\n- (NSString *)URLEncodedStringValue;\n@end\n\n@implementation AFQueryStringPair\n\n- (instancetype)initWithField:(id)field value:(id)value {\n    self = [super init];\n    if (!self) {\n        return nil;\n    }\n\n    self.field = field;\n    self.value = value;\n\n    return self;\n}\n\n- (NSString *)URLEncodedStringValue {\n    if (!self.value || [self.value isEqual:[NSNull null]]) {\n        return AFPercentEscapedStringFromString([self.field description]);\n    } else {\n        return [NSString stringWithFormat:@\"%@=%@\", AFPercentEscapedStringFromString([self.field description]), AFPercentEscapedStringFromString([self.value description])];\n    }\n}\n\n@end\n\n#pragma mark -\n\nFOUNDATION_EXPORT NSArray * AFQueryStringPairsFromDictionary(NSDictionary *dictionary);\nFOUNDATION_EXPORT NSArray * AFQueryStringPairsFromKeyAndValue(NSString *key, id value);\n\nNSString * AFQueryStringFromParameters(NSDictionary *parameters) {\n    NSMutableArray *mutablePairs = [NSMutableArray array];\n    for (AFQueryStringPair *pair in AFQueryStringPairsFromDictionary(parameters)) {\n        [mutablePairs addObject:[pair URLEncodedStringValue]];\n    }\n\n    return [mutablePairs componentsJoinedByString:@\"&\"];\n}\n\nNSArray * AFQueryStringPairsFromDictionary(NSDictionary *dictionary) {\n    return AFQueryStringPairsFromKeyAndValue(nil, dictionary);\n}\n\nNSArray * AFQueryStringPairsFromKeyAndValue(NSString *key, id value) {\n    NSMutableArray *mutableQueryStringComponents = [NSMutableArray array];\n\n    NSSortDescriptor *sortDescriptor = [NSSortDescriptor sortDescriptorWithKey:@\"description\" ascending:YES selector:@selector(compare:)];\n\n    if ([value isKindOfClass:[NSDictionary class]]) {\n        NSDictionary *dictionary = value;\n        // Sort dictionary keys to ensure consistent ordering in query string, which is important when deserializing potentially ambiguous sequences, such as an array of dictionaries\n        for (id nestedKey in [dictionary.allKeys sortedArrayUsingDescriptors:@[ sortDescriptor ]]) {\n            id nestedValue = dictionary[nestedKey];\n            if (nestedValue) {\n                [mutableQueryStringComponents addObjectsFromArray:AFQueryStringPairsFromKeyAndValue((key ? [NSString stringWithFormat:@\"%@[%@]\", key, nestedKey] : nestedKey), nestedValue)];\n            }\n        }\n    } else if ([value isKindOfClass:[NSArray class]]) {\n        NSArray *array = value;\n        for (id nestedValue in array) {\n            [mutableQueryStringComponents addObjectsFromArray:AFQueryStringPairsFromKeyAndValue([NSString stringWithFormat:@\"%@[]\", key], nestedValue)];\n        }\n    } else if ([value isKindOfClass:[NSSet class]]) {\n        NSSet *set = value;\n        for (id obj in [set sortedArrayUsingDescriptors:@[ sortDescriptor ]]) {\n            [mutableQueryStringComponents addObjectsFromArray:AFQueryStringPairsFromKeyAndValue(key, obj)];\n        }\n    } else {\n        [mutableQueryStringComponents addObject:[[AFQueryStringPair alloc] initWithField:key value:value]];\n    }\n\n    return mutableQueryStringComponents;\n}\n\n#pragma mark -\n\n@interface AFStreamingMultipartFormData : NSObject <AFMultipartFormData>\n- (instancetype)initWithURLRequest:(NSMutableURLRequest *)urlRequest\n                    stringEncoding:(NSStringEncoding)encoding;\n\n- (NSMutableURLRequest *)requestByFinalizingMultipartFormData;\n@end\n\n#pragma mark -\n\nstatic NSArray * AFHTTPRequestSerializerObservedKeyPaths() {\n    static NSArray *_AFHTTPRequestSerializerObservedKeyPaths = nil;\n    static dispatch_once_t onceToken;\n    dispatch_once(&onceToken, ^{\n        _AFHTTPRequestSerializerObservedKeyPaths = @[NSStringFromSelector(@selector(allowsCellularAccess)), NSStringFromSelector(@selector(cachePolicy)), NSStringFromSelector(@selector(HTTPShouldHandleCookies)), NSStringFromSelector(@selector(HTTPShouldUsePipelining)), NSStringFromSelector(@selector(networkServiceType)), NSStringFromSelector(@selector(timeoutInterval))];\n    });\n\n    return _AFHTTPRequestSerializerObservedKeyPaths;\n}\n\nstatic void *AFHTTPRequestSerializerObserverContext = &AFHTTPRequestSerializerObserverContext;\n\n@interface AFHTTPRequestSerializer ()\n@property (readwrite, nonatomic, strong) NSMutableSet *mutableObservedChangedKeyPaths;\n@property (readwrite, nonatomic, strong) NSMutableDictionary *mutableHTTPRequestHeaders;\n@property (readwrite, nonatomic, strong) dispatch_queue_t requestHeaderModificationQueue;\n@property (readwrite, nonatomic, assign) AFHTTPRequestQueryStringSerializationStyle queryStringSerializationStyle;\n@property (readwrite, nonatomic, copy) AFQueryStringSerializationBlock queryStringSerialization;\n@end\n\n@implementation AFHTTPRequestSerializer\n\n+ (instancetype)serializer {\n    return [[self alloc] init];\n}\n\n- (instancetype)init {\n    self = [super init];\n    if (!self) {\n        return nil;\n    }\n\n    self.stringEncoding = NSUTF8StringEncoding;\n\n    self.mutableHTTPRequestHeaders = [NSMutableDictionary dictionary];\n    self.requestHeaderModificationQueue = dispatch_queue_create(\"requestHeaderModificationQueue\", DISPATCH_QUEUE_CONCURRENT);\n\n    // Accept-Language HTTP Header; see http://www.w3.org/Protocols/rfc2616/rfc2616-sec14.html#sec14.4\n    NSMutableArray *acceptLanguagesComponents = [NSMutableArray array];\n    [[NSLocale preferredLanguages] enumerateObjectsUsingBlock:^(id obj, NSUInteger idx, BOOL *stop) {\n        float q = 1.0f - (idx * 0.1f);\n        [acceptLanguagesComponents addObject:[NSString stringWithFormat:@\"%@;q=%0.1g\", obj, q]];\n        *stop = q <= 0.5f;\n    }];\n    [self setValue:[acceptLanguagesComponents componentsJoinedByString:@\", \"] forHTTPHeaderField:@\"Accept-Language\"];\n\n    NSString *userAgent = nil;\n#if TARGET_OS_IOS\n    // User-Agent Header; see http://www.w3.org/Protocols/rfc2616/rfc2616-sec14.html#sec14.43\n    userAgent = [NSString stringWithFormat:@\"%@/%@ (%@; iOS %@; Scale/%0.2f)\", [[NSBundle mainBundle] infoDictionary][(__bridge NSString *)kCFBundleExecutableKey] ?: [[NSBundle mainBundle] infoDictionary][(__bridge NSString *)kCFBundleIdentifierKey], [[NSBundle mainBundle] infoDictionary][@\"CFBundleShortVersionString\"] ?: [[NSBundle mainBundle] infoDictionary][(__bridge NSString *)kCFBundleVersionKey], [[UIDevice currentDevice] model], [[UIDevice currentDevice] systemVersion], [[UIScreen mainScreen] scale]];\n#elif TARGET_OS_WATCH\n    // User-Agent Header; see http://www.w3.org/Protocols/rfc2616/rfc2616-sec14.html#sec14.43\n    userAgent = [NSString stringWithFormat:@\"%@/%@ (%@; watchOS %@; Scale/%0.2f)\", [[NSBundle mainBundle] infoDictionary][(__bridge NSString *)kCFBundleExecutableKey] ?: [[NSBundle mainBundle] infoDictionary][(__bridge NSString *)kCFBundleIdentifierKey], [[NSBundle mainBundle] infoDictionary][@\"CFBundleShortVersionString\"] ?: [[NSBundle mainBundle] infoDictionary][(__bridge NSString *)kCFBundleVersionKey], [[WKInterfaceDevice currentDevice] model], [[WKInterfaceDevice currentDevice] systemVersion], [[WKInterfaceDevice currentDevice] screenScale]];\n#elif defined(__MAC_OS_X_VERSION_MIN_REQUIRED)\n    userAgent = [NSString stringWithFormat:@\"%@/%@ (Mac OS X %@)\", [[NSBundle mainBundle] infoDictionary][(__bridge NSString *)kCFBundleExecutableKey] ?: [[NSBundle mainBundle] infoDictionary][(__bridge NSString *)kCFBundleIdentifierKey], [[NSBundle mainBundle] infoDictionary][@\"CFBundleShortVersionString\"] ?: [[NSBundle mainBundle] infoDictionary][(__bridge NSString *)kCFBundleVersionKey], [[NSProcessInfo processInfo] operatingSystemVersionString]];\n#endif\n    if (userAgent) {\n        if (![userAgent canBeConvertedToEncoding:NSASCIIStringEncoding]) {\n            NSMutableString *mutableUserAgent = [userAgent mutableCopy];\n            if (CFStringTransform((__bridge CFMutableStringRef)(mutableUserAgent), NULL, (__bridge CFStringRef)@\"Any-Latin; Latin-ASCII; [:^ASCII:] Remove\", false)) {\n                userAgent = mutableUserAgent;\n            }\n        }\n        [self setValue:userAgent forHTTPHeaderField:@\"User-Agent\"];\n    }\n\n    // HTTP Method Definitions; see http://www.w3.org/Protocols/rfc2616/rfc2616-sec9.html\n    self.HTTPMethodsEncodingParametersInURI = [NSSet setWithObjects:@\"GET\", @\"HEAD\", @\"DELETE\", nil];\n\n    self.mutableObservedChangedKeyPaths = [NSMutableSet set];\n    for (NSString *keyPath in AFHTTPRequestSerializerObservedKeyPaths()) {\n        if ([self respondsToSelector:NSSelectorFromString(keyPath)]) {\n            [self addObserver:self forKeyPath:keyPath options:NSKeyValueObservingOptionNew context:AFHTTPRequestSerializerObserverContext];\n        }\n    }\n\n    return self;\n}\n\n- (void)dealloc {\n    for (NSString *keyPath in AFHTTPRequestSerializerObservedKeyPaths()) {\n        if ([self respondsToSelector:NSSelectorFromString(keyPath)]) {\n            [self removeObserver:self forKeyPath:keyPath context:AFHTTPRequestSerializerObserverContext];\n        }\n    }\n}\n\n#pragma mark -\n\n// Workarounds for crashing behavior using Key-Value Observing with XCTest\n// See https://github.com/AFNetworking/AFNetworking/issues/2523\n\n- (void)setAllowsCellularAccess:(BOOL)allowsCellularAccess {\n    [self willChangeValueForKey:NSStringFromSelector(@selector(allowsCellularAccess))];\n    _allowsCellularAccess = allowsCellularAccess;\n    [self didChangeValueForKey:NSStringFromSelector(@selector(allowsCellularAccess))];\n}\n\n- (void)setCachePolicy:(NSURLRequestCachePolicy)cachePolicy {\n    [self willChangeValueForKey:NSStringFromSelector(@selector(cachePolicy))];\n    _cachePolicy = cachePolicy;\n    [self didChangeValueForKey:NSStringFromSelector(@selector(cachePolicy))];\n}\n\n- (void)setHTTPShouldHandleCookies:(BOOL)HTTPShouldHandleCookies {\n    [self willChangeValueForKey:NSStringFromSelector(@selector(HTTPShouldHandleCookies))];\n    _HTTPShouldHandleCookies = HTTPShouldHandleCookies;\n    [self didChangeValueForKey:NSStringFromSelector(@selector(HTTPShouldHandleCookies))];\n}\n\n- (void)setHTTPShouldUsePipelining:(BOOL)HTTPShouldUsePipelining {\n    [self willChangeValueForKey:NSStringFromSelector(@selector(HTTPShouldUsePipelining))];\n    _HTTPShouldUsePipelining = HTTPShouldUsePipelining;\n    [self didChangeValueForKey:NSStringFromSelector(@selector(HTTPShouldUsePipelining))];\n}\n\n- (void)setNetworkServiceType:(NSURLRequestNetworkServiceType)networkServiceType {\n    [self willChangeValueForKey:NSStringFromSelector(@selector(networkServiceType))];\n    _networkServiceType = networkServiceType;\n    [self didChangeValueForKey:NSStringFromSelector(@selector(networkServiceType))];\n}\n\n- (void)setTimeoutInterval:(NSTimeInterval)timeoutInterval {\n    [self willChangeValueForKey:NSStringFromSelector(@selector(timeoutInterval))];\n    _timeoutInterval = timeoutInterval;\n    [self didChangeValueForKey:NSStringFromSelector(@selector(timeoutInterval))];\n}\n\n#pragma mark -\n\n- (NSDictionary *)HTTPRequestHeaders {\n    NSDictionary __block *value;\n    dispatch_sync(self.requestHeaderModificationQueue, ^{\n        value = [NSDictionary dictionaryWithDictionary:self.mutableHTTPRequestHeaders];\n    });\n    return value;\n}\n\n- (void)setValue:(NSString *)value\nforHTTPHeaderField:(NSString *)field\n{\n    dispatch_barrier_async(self.requestHeaderModificationQueue, ^{\n        [self.mutableHTTPRequestHeaders setValue:value forKey:field];\n    });\n}\n\n- (NSString *)valueForHTTPHeaderField:(NSString *)field {\n    NSString __block *value;\n    dispatch_sync(self.requestHeaderModificationQueue, ^{\n        value = [self.mutableHTTPRequestHeaders valueForKey:field];\n    });\n    return value;\n}\n\n- (void)setAuthorizationHeaderFieldWithUsername:(NSString *)username\n                                       password:(NSString *)password\n{\n    NSData *basicAuthCredentials = [[NSString stringWithFormat:@\"%@:%@\", username, password] dataUsingEncoding:NSUTF8StringEncoding];\n    NSString *base64AuthCredentials = [basicAuthCredentials base64EncodedStringWithOptions:(NSDataBase64EncodingOptions)0];\n    [self setValue:[NSString stringWithFormat:@\"Basic %@\", base64AuthCredentials] forHTTPHeaderField:@\"Authorization\"];\n}\n\n- (void)clearAuthorizationHeader {\n    dispatch_barrier_async(self.requestHeaderModificationQueue, ^{\n        [self.mutableHTTPRequestHeaders removeObjectForKey:@\"Authorization\"];\n    });\n}\n\n#pragma mark -\n\n- (void)setQueryStringSerializationWithStyle:(AFHTTPRequestQueryStringSerializationStyle)style {\n    self.queryStringSerializationStyle = style;\n    self.queryStringSerialization = nil;\n}\n\n- (void)setQueryStringSerializationWithBlock:(NSString *(^)(NSURLRequest *, id, NSError *__autoreleasing *))block {\n    self.queryStringSerialization = block;\n}\n\n#pragma mark -\n\n- (NSMutableURLRequest *)requestWithMethod:(NSString *)method\n                                 URLString:(NSString *)URLString\n                                parameters:(id)parameters\n                                     error:(NSError *__autoreleasing *)error\n{\n    NSParameterAssert(method);\n    NSParameterAssert(URLString);\n\n    NSURL *url = [NSURL URLWithString:URLString];\n\n    NSParameterAssert(url);\n\n    NSMutableURLRequest *mutableRequest = [[NSMutableURLRequest alloc] initWithURL:url];\n    mutableRequest.HTTPMethod = method;\n\n    for (NSString *keyPath in AFHTTPRequestSerializerObservedKeyPaths()) {\n        if ([self.mutableObservedChangedKeyPaths containsObject:keyPath]) {\n            [mutableRequest setValue:[self valueForKeyPath:keyPath] forKey:keyPath];\n        }\n    }\n\n    mutableRequest = [[self requestBySerializingRequest:mutableRequest withParameters:parameters error:error] mutableCopy];\n\n\treturn mutableRequest;\n}\n\n- (NSMutableURLRequest *)multipartFormRequestWithMethod:(NSString *)method\n                                              URLString:(NSString *)URLString\n                                             parameters:(NSDictionary *)parameters\n                              constructingBodyWithBlock:(void (^)(id <AFMultipartFormData> formData))block\n                                                  error:(NSError *__autoreleasing *)error\n{\n    NSParameterAssert(method);\n    NSParameterAssert(![method isEqualToString:@\"GET\"] && ![method isEqualToString:@\"HEAD\"]);\n\n    NSMutableURLRequest *mutableRequest = [self requestWithMethod:method URLString:URLString parameters:nil error:error];\n\n    __block AFStreamingMultipartFormData *formData = [[AFStreamingMultipartFormData alloc] initWithURLRequest:mutableRequest stringEncoding:NSUTF8StringEncoding];\n\n    if (parameters) {\n        for (AFQueryStringPair *pair in AFQueryStringPairsFromDictionary(parameters)) {\n            NSData *data = nil;\n            if ([pair.value isKindOfClass:[NSData class]]) {\n                data = pair.value;\n            } else if ([pair.value isEqual:[NSNull null]]) {\n                data = [NSData data];\n            } else {\n                data = [[pair.value description] dataUsingEncoding:self.stringEncoding];\n            }\n\n            if (data) {\n                [formData appendPartWithFormData:data name:[pair.field description]];\n            }\n        }\n    }\n\n    if (block) {\n        block(formData);\n    }\n\n    return [formData requestByFinalizingMultipartFormData];\n}\n\n- (NSMutableURLRequest *)requestWithMultipartFormRequest:(NSURLRequest *)request\n                             writingStreamContentsToFile:(NSURL *)fileURL\n                                       completionHandler:(void (^)(NSError *error))handler\n{\n    NSParameterAssert(request.HTTPBodyStream);\n    NSParameterAssert([fileURL isFileURL]);\n\n    NSInputStream *inputStream = request.HTTPBodyStream;\n    NSOutputStream *outputStream = [[NSOutputStream alloc] initWithURL:fileURL append:NO];\n    __block NSError *error = nil;\n\n    dispatch_async(dispatch_get_global_queue(DISPATCH_QUEUE_PRIORITY_DEFAULT, 0), ^{\n        [inputStream scheduleInRunLoop:[NSRunLoop currentRunLoop] forMode:NSDefaultRunLoopMode];\n        [outputStream scheduleInRunLoop:[NSRunLoop currentRunLoop] forMode:NSDefaultRunLoopMode];\n\n        [inputStream open];\n        [outputStream open];\n\n        while ([inputStream hasBytesAvailable] && [outputStream hasSpaceAvailable]) {\n            uint8_t buffer[1024];\n\n            NSInteger bytesRead = [inputStream read:buffer maxLength:1024];\n            if (inputStream.streamError || bytesRead < 0) {\n                error = inputStream.streamError;\n                break;\n            }\n\n            NSInteger bytesWritten = [outputStream write:buffer maxLength:(NSUInteger)bytesRead];\n            if (outputStream.streamError || bytesWritten < 0) {\n                error = outputStream.streamError;\n                break;\n            }\n\n            if (bytesRead == 0 && bytesWritten == 0) {\n                break;\n            }\n        }\n\n        [outputStream close];\n        [inputStream close];\n\n        if (handler) {\n            dispatch_async(dispatch_get_main_queue(), ^{\n                handler(error);\n            });\n        }\n    });\n\n    NSMutableURLRequest *mutableRequest = [request mutableCopy];\n    mutableRequest.HTTPBodyStream = nil;\n\n    return mutableRequest;\n}\n\n#pragma mark - AFURLRequestSerialization\n\n- (NSURLRequest *)requestBySerializingRequest:(NSURLRequest *)request\n                               withParameters:(id)parameters\n                                        error:(NSError *__autoreleasing *)error\n{\n    NSParameterAssert(request);\n\n    NSMutableURLRequest *mutableRequest = [request mutableCopy];\n\n    [self.HTTPRequestHeaders enumerateKeysAndObjectsUsingBlock:^(id field, id value, BOOL * __unused stop) {\n        if (![request valueForHTTPHeaderField:field]) {\n            [mutableRequest setValue:value forHTTPHeaderField:field];\n        }\n    }];\n\n    NSString *query = nil;\n    if (parameters) {\n        if (self.queryStringSerialization) {\n            NSError *serializationError;\n            query = self.queryStringSerialization(request, parameters, &serializationError);\n\n            if (serializationError) {\n                if (error) {\n                    *error = serializationError;\n                }\n\n                return nil;\n            }\n        } else {\n            switch (self.queryStringSerializationStyle) {\n                case AFHTTPRequestQueryStringDefaultStyle:\n                    query = AFQueryStringFromParameters(parameters);\n                    break;\n            }\n        }\n    }\n\n    if ([self.HTTPMethodsEncodingParametersInURI containsObject:[[request HTTPMethod] uppercaseString]]) {\n        if (query && query.length > 0) {\n            mutableRequest.URL = [NSURL URLWithString:[[mutableRequest.URL absoluteString] stringByAppendingFormat:mutableRequest.URL.query ? @\"&%@\" : @\"?%@\", query]];\n        }\n    } else {\n        // #2864: an empty string is a valid x-www-form-urlencoded payload\n        if (!query) {\n            query = @\"\";\n        }\n        if (![mutableRequest valueForHTTPHeaderField:@\"Content-Type\"]) {\n            [mutableRequest setValue:@\"application/x-www-form-urlencoded\" forHTTPHeaderField:@\"Content-Type\"];\n        }\n        [mutableRequest setHTTPBody:[query dataUsingEncoding:self.stringEncoding]];\n    }\n\n    return mutableRequest;\n}\n\n#pragma mark - NSKeyValueObserving\n\n+ (BOOL)automaticallyNotifiesObserversForKey:(NSString *)key {\n    if ([AFHTTPRequestSerializerObservedKeyPaths() containsObject:key]) {\n        return NO;\n    }\n\n    return [super automaticallyNotifiesObserversForKey:key];\n}\n\n- (void)observeValueForKeyPath:(NSString *)keyPath\n                      ofObject:(__unused id)object\n                        change:(NSDictionary *)change\n                       context:(void *)context\n{\n    if (context == AFHTTPRequestSerializerObserverContext) {\n        if ([change[NSKeyValueChangeNewKey] isEqual:[NSNull null]]) {\n            [self.mutableObservedChangedKeyPaths removeObject:keyPath];\n        } else {\n            [self.mutableObservedChangedKeyPaths addObject:keyPath];\n        }\n    }\n}\n\n#pragma mark - NSSecureCoding\n\n+ (BOOL)supportsSecureCoding {\n    return YES;\n}\n\n- (instancetype)initWithCoder:(NSCoder *)decoder {\n    self = [self init];\n    if (!self) {\n        return nil;\n    }\n\n    self.mutableHTTPRequestHeaders = [[decoder decodeObjectOfClass:[NSDictionary class] forKey:NSStringFromSelector(@selector(mutableHTTPRequestHeaders))] mutableCopy];\n    self.queryStringSerializationStyle = (AFHTTPRequestQueryStringSerializationStyle)[[decoder decodeObjectOfClass:[NSNumber class] forKey:NSStringFromSelector(@selector(queryStringSerializationStyle))] unsignedIntegerValue];\n\n    return self;\n}\n\n- (void)encodeWithCoder:(NSCoder *)coder {\n    dispatch_sync(self.requestHeaderModificationQueue, ^{\n        [coder encodeObject:self.mutableHTTPRequestHeaders forKey:NSStringFromSelector(@selector(mutableHTTPRequestHeaders))];\n    });\n    [coder encodeInteger:self.queryStringSerializationStyle forKey:NSStringFromSelector(@selector(queryStringSerializationStyle))];\n}\n\n#pragma mark - NSCopying\n\n- (instancetype)copyWithZone:(NSZone *)zone {\n    AFHTTPRequestSerializer *serializer = [[[self class] allocWithZone:zone] init];\n    dispatch_sync(self.requestHeaderModificationQueue, ^{\n        serializer.mutableHTTPRequestHeaders = [self.mutableHTTPRequestHeaders mutableCopyWithZone:zone];\n    });\n    serializer.queryStringSerializationStyle = self.queryStringSerializationStyle;\n    serializer.queryStringSerialization = self.queryStringSerialization;\n\n    return serializer;\n}\n\n@end\n\n#pragma mark -\n\nstatic NSString * AFCreateMultipartFormBoundary() {\n    return [NSString stringWithFormat:@\"Boundary+%08X%08X\", arc4random(), arc4random()];\n}\n\nstatic NSString * const kAFMultipartFormCRLF = @\"\\r\\n\";\n\nstatic inline NSString * AFMultipartFormInitialBoundary(NSString *boundary) {\n    return [NSString stringWithFormat:@\"--%@%@\", boundary, kAFMultipartFormCRLF];\n}\n\nstatic inline NSString * AFMultipartFormEncapsulationBoundary(NSString *boundary) {\n    return [NSString stringWithFormat:@\"%@--%@%@\", kAFMultipartFormCRLF, boundary, kAFMultipartFormCRLF];\n}\n\nstatic inline NSString * AFMultipartFormFinalBoundary(NSString *boundary) {\n    return [NSString stringWithFormat:@\"%@--%@--%@\", kAFMultipartFormCRLF, boundary, kAFMultipartFormCRLF];\n}\n\nstatic inline NSString * AFContentTypeForPathExtension(NSString *extension) {\n    NSString *UTI = (__bridge_transfer NSString *)UTTypeCreatePreferredIdentifierForTag(kUTTagClassFilenameExtension, (__bridge CFStringRef)extension, NULL);\n    NSString *contentType = (__bridge_transfer NSString *)UTTypeCopyPreferredTagWithClass((__bridge CFStringRef)UTI, kUTTagClassMIMEType);\n    if (!contentType) {\n        return @\"application/octet-stream\";\n    } else {\n        return contentType;\n    }\n}\n\nNSUInteger const kAFUploadStream3GSuggestedPacketSize = 1024 * 16;\nNSTimeInterval const kAFUploadStream3GSuggestedDelay = 0.2;\n\n@interface AFHTTPBodyPart : NSObject\n@property (nonatomic, assign) NSStringEncoding stringEncoding;\n@property (nonatomic, strong) NSDictionary *headers;\n@property (nonatomic, copy) NSString *boundary;\n@property (nonatomic, strong) id body;\n@property (nonatomic, assign) unsigned long long bodyContentLength;\n@property (nonatomic, strong) NSInputStream *inputStream;\n\n@property (nonatomic, assign) BOOL hasInitialBoundary;\n@property (nonatomic, assign) BOOL hasFinalBoundary;\n\n@property (readonly, nonatomic, assign, getter = hasBytesAvailable) BOOL bytesAvailable;\n@property (readonly, nonatomic, assign) unsigned long long contentLength;\n\n- (NSInteger)read:(uint8_t *)buffer\n        maxLength:(NSUInteger)length;\n@end\n\n@interface AFMultipartBodyStream : NSInputStream <NSStreamDelegate>\n@property (nonatomic, assign) NSUInteger numberOfBytesInPacket;\n@property (nonatomic, assign) NSTimeInterval delay;\n@property (nonatomic, strong) NSInputStream *inputStream;\n@property (readonly, nonatomic, assign) unsigned long long contentLength;\n@property (readonly, nonatomic, assign, getter = isEmpty) BOOL empty;\n\n- (instancetype)initWithStringEncoding:(NSStringEncoding)encoding;\n- (void)setInitialAndFinalBoundaries;\n- (void)appendHTTPBodyPart:(AFHTTPBodyPart *)bodyPart;\n@end\n\n#pragma mark -\n\n@interface AFStreamingMultipartFormData ()\n@property (readwrite, nonatomic, copy) NSMutableURLRequest *request;\n@property (readwrite, nonatomic, assign) NSStringEncoding stringEncoding;\n@property (readwrite, nonatomic, copy) NSString *boundary;\n@property (readwrite, nonatomic, strong) AFMultipartBodyStream *bodyStream;\n@end\n\n@implementation AFStreamingMultipartFormData\n\n- (instancetype)initWithURLRequest:(NSMutableURLRequest *)urlRequest\n                    stringEncoding:(NSStringEncoding)encoding\n{\n    self = [super init];\n    if (!self) {\n        return nil;\n    }\n\n    self.request = urlRequest;\n    self.stringEncoding = encoding;\n    self.boundary = AFCreateMultipartFormBoundary();\n    self.bodyStream = [[AFMultipartBodyStream alloc] initWithStringEncoding:encoding];\n\n    return self;\n}\n\n- (void)setRequest:(NSMutableURLRequest *)request\n{\n    _request = [request mutableCopy];\n}\n\n- (BOOL)appendPartWithFileURL:(NSURL *)fileURL\n                         name:(NSString *)name\n                        error:(NSError * __autoreleasing *)error\n{\n    NSParameterAssert(fileURL);\n    NSParameterAssert(name);\n\n    NSString *fileName = [fileURL lastPathComponent];\n    NSString *mimeType = AFContentTypeForPathExtension([fileURL pathExtension]);\n\n    return [self appendPartWithFileURL:fileURL name:name fileName:fileName mimeType:mimeType error:error];\n}\n\n- (BOOL)appendPartWithFileURL:(NSURL *)fileURL\n                         name:(NSString *)name\n                     fileName:(NSString *)fileName\n                     mimeType:(NSString *)mimeType\n                        error:(NSError * __autoreleasing *)error\n{\n    NSParameterAssert(fileURL);\n    NSParameterAssert(name);\n    NSParameterAssert(fileName);\n    NSParameterAssert(mimeType);\n\n    if (![fileURL isFileURL]) {\n        NSDictionary *userInfo = @{NSLocalizedFailureReasonErrorKey: NSLocalizedStringFromTable(@\"Expected URL to be a file URL\", @\"AFNetworking\", nil)};\n        if (error) {\n            *error = [[NSError alloc] initWithDomain:AFURLRequestSerializationErrorDomain code:NSURLErrorBadURL userInfo:userInfo];\n        }\n\n        return NO;\n    } else if ([fileURL checkResourceIsReachableAndReturnError:error] == NO) {\n        NSDictionary *userInfo = @{NSLocalizedFailureReasonErrorKey: NSLocalizedStringFromTable(@\"File URL not reachable.\", @\"AFNetworking\", nil)};\n        if (error) {\n            *error = [[NSError alloc] initWithDomain:AFURLRequestSerializationErrorDomain code:NSURLErrorBadURL userInfo:userInfo];\n        }\n\n        return NO;\n    }\n\n    NSDictionary *fileAttributes = [[NSFileManager defaultManager] attributesOfItemAtPath:[fileURL path] error:error];\n    if (!fileAttributes) {\n        return NO;\n    }\n\n    NSMutableDictionary *mutableHeaders = [NSMutableDictionary dictionary];\n    [mutableHeaders setValue:[NSString stringWithFormat:@\"form-data; name=\\\"%@\\\"; filename=\\\"%@\\\"\", name, fileName] forKey:@\"Content-Disposition\"];\n    [mutableHeaders setValue:mimeType forKey:@\"Content-Type\"];\n\n    AFHTTPBodyPart *bodyPart = [[AFHTTPBodyPart alloc] init];\n    bodyPart.stringEncoding = self.stringEncoding;\n    bodyPart.headers = mutableHeaders;\n    bodyPart.boundary = self.boundary;\n    bodyPart.body = fileURL;\n    bodyPart.bodyContentLength = [fileAttributes[NSFileSize] unsignedLongLongValue];\n    [self.bodyStream appendHTTPBodyPart:bodyPart];\n\n    return YES;\n}\n\n- (void)appendPartWithInputStream:(NSInputStream *)inputStream\n                             name:(NSString *)name\n                         fileName:(NSString *)fileName\n                           length:(int64_t)length\n                         mimeType:(NSString *)mimeType\n{\n    NSParameterAssert(name);\n    NSParameterAssert(fileName);\n    NSParameterAssert(mimeType);\n\n    NSMutableDictionary *mutableHeaders = [NSMutableDictionary dictionary];\n    [mutableHeaders setValue:[NSString stringWithFormat:@\"form-data; name=\\\"%@\\\"; filename=\\\"%@\\\"\", name, fileName] forKey:@\"Content-Disposition\"];\n    [mutableHeaders setValue:mimeType forKey:@\"Content-Type\"];\n\n    AFHTTPBodyPart *bodyPart = [[AFHTTPBodyPart alloc] init];\n    bodyPart.stringEncoding = self.stringEncoding;\n    bodyPart.headers = mutableHeaders;\n    bodyPart.boundary = self.boundary;\n    bodyPart.body = inputStream;\n\n    bodyPart.bodyContentLength = (unsigned long long)length;\n\n    [self.bodyStream appendHTTPBodyPart:bodyPart];\n}\n\n- (void)appendPartWithFileData:(NSData *)data\n                          name:(NSString *)name\n                      fileName:(NSString *)fileName\n                      mimeType:(NSString *)mimeType\n{\n    NSParameterAssert(name);\n    NSParameterAssert(fileName);\n    NSParameterAssert(mimeType);\n\n    NSMutableDictionary *mutableHeaders = [NSMutableDictionary dictionary];\n    [mutableHeaders setValue:[NSString stringWithFormat:@\"form-data; name=\\\"%@\\\"; filename=\\\"%@\\\"\", name, fileName] forKey:@\"Content-Disposition\"];\n    [mutableHeaders setValue:mimeType forKey:@\"Content-Type\"];\n\n    [self appendPartWithHeaders:mutableHeaders body:data];\n}\n\n- (void)appendPartWithFormData:(NSData *)data\n                          name:(NSString *)name\n{\n    NSParameterAssert(name);\n\n    NSMutableDictionary *mutableHeaders = [NSMutableDictionary dictionary];\n    [mutableHeaders setValue:[NSString stringWithFormat:@\"form-data; name=\\\"%@\\\"\", name] forKey:@\"Content-Disposition\"];\n\n    [self appendPartWithHeaders:mutableHeaders body:data];\n}\n\n- (void)appendPartWithHeaders:(NSDictionary *)headers\n                         body:(NSData *)body\n{\n    NSParameterAssert(body);\n\n    AFHTTPBodyPart *bodyPart = [[AFHTTPBodyPart alloc] init];\n    bodyPart.stringEncoding = self.stringEncoding;\n    bodyPart.headers = headers;\n    bodyPart.boundary = self.boundary;\n    bodyPart.bodyContentLength = [body length];\n    bodyPart.body = body;\n\n    [self.bodyStream appendHTTPBodyPart:bodyPart];\n}\n\n- (void)throttleBandwidthWithPacketSize:(NSUInteger)numberOfBytes\n                                  delay:(NSTimeInterval)delay\n{\n    self.bodyStream.numberOfBytesInPacket = numberOfBytes;\n    self.bodyStream.delay = delay;\n}\n\n- (NSMutableURLRequest *)requestByFinalizingMultipartFormData {\n    if ([self.bodyStream isEmpty]) {\n        return self.request;\n    }\n\n    // Reset the initial and final boundaries to ensure correct Content-Length\n    [self.bodyStream setInitialAndFinalBoundaries];\n    [self.request setHTTPBodyStream:self.bodyStream];\n\n    [self.request setValue:[NSString stringWithFormat:@\"multipart/form-data; boundary=%@\", self.boundary] forHTTPHeaderField:@\"Content-Type\"];\n    [self.request setValue:[NSString stringWithFormat:@\"%llu\", [self.bodyStream contentLength]] forHTTPHeaderField:@\"Content-Length\"];\n\n    return self.request;\n}\n\n@end\n\n#pragma mark -\n\n@interface NSStream ()\n@property (readwrite) NSStreamStatus streamStatus;\n@property (readwrite, copy) NSError *streamError;\n@end\n\n@interface AFMultipartBodyStream () <NSCopying>\n@property (readwrite, nonatomic, assign) NSStringEncoding stringEncoding;\n@property (readwrite, nonatomic, strong) NSMutableArray *HTTPBodyParts;\n@property (readwrite, nonatomic, strong) NSEnumerator *HTTPBodyPartEnumerator;\n@property (readwrite, nonatomic, strong) AFHTTPBodyPart *currentHTTPBodyPart;\n@property (readwrite, nonatomic, strong) NSOutputStream *outputStream;\n@property (readwrite, nonatomic, strong) NSMutableData *buffer;\n@end\n\n@implementation AFMultipartBodyStream\n#if (defined(__IPHONE_OS_VERSION_MAX_ALLOWED) && __IPHONE_OS_VERSION_MAX_ALLOWED >= 80000) || (defined(__MAC_OS_X_VERSION_MAX_ALLOWED) && __MAC_OS_X_VERSION_MAX_ALLOWED >= 1100)\n@synthesize delegate;\n#endif\n@synthesize streamStatus;\n@synthesize streamError;\n\n- (instancetype)initWithStringEncoding:(NSStringEncoding)encoding {\n    self = [super init];\n    if (!self) {\n        return nil;\n    }\n\n    self.stringEncoding = encoding;\n    self.HTTPBodyParts = [NSMutableArray array];\n    self.numberOfBytesInPacket = NSIntegerMax;\n\n    return self;\n}\n\n- (void)setInitialAndFinalBoundaries {\n    if ([self.HTTPBodyParts count] > 0) {\n        for (AFHTTPBodyPart *bodyPart in self.HTTPBodyParts) {\n            bodyPart.hasInitialBoundary = NO;\n            bodyPart.hasFinalBoundary = NO;\n        }\n\n        [[self.HTTPBodyParts firstObject] setHasInitialBoundary:YES];\n        [[self.HTTPBodyParts lastObject] setHasFinalBoundary:YES];\n    }\n}\n\n- (void)appendHTTPBodyPart:(AFHTTPBodyPart *)bodyPart {\n    [self.HTTPBodyParts addObject:bodyPart];\n}\n\n- (BOOL)isEmpty {\n    return [self.HTTPBodyParts count] == 0;\n}\n\n#pragma mark - NSInputStream\n\n- (NSInteger)read:(uint8_t *)buffer\n        maxLength:(NSUInteger)length\n{\n    if ([self streamStatus] == NSStreamStatusClosed) {\n        return 0;\n    }\n\n    NSInteger totalNumberOfBytesRead = 0;\n\n    while ((NSUInteger)totalNumberOfBytesRead < MIN(length, self.numberOfBytesInPacket)) {\n        if (!self.currentHTTPBodyPart || ![self.currentHTTPBodyPart hasBytesAvailable]) {\n            if (!(self.currentHTTPBodyPart = [self.HTTPBodyPartEnumerator nextObject])) {\n                break;\n            }\n        } else {\n            NSUInteger maxLength = MIN(length, self.numberOfBytesInPacket) - (NSUInteger)totalNumberOfBytesRead;\n            NSInteger numberOfBytesRead = [self.currentHTTPBodyPart read:&buffer[totalNumberOfBytesRead] maxLength:maxLength];\n            if (numberOfBytesRead == -1) {\n                self.streamError = self.currentHTTPBodyPart.inputStream.streamError;\n                break;\n            } else {\n                totalNumberOfBytesRead += numberOfBytesRead;\n\n                if (self.delay > 0.0f) {\n                    [NSThread sleepForTimeInterval:self.delay];\n                }\n            }\n        }\n    }\n\n    return totalNumberOfBytesRead;\n}\n\n- (BOOL)getBuffer:(__unused uint8_t **)buffer\n           length:(__unused NSUInteger *)len\n{\n    return NO;\n}\n\n- (BOOL)hasBytesAvailable {\n    return [self streamStatus] == NSStreamStatusOpen;\n}\n\n#pragma mark - NSStream\n\n- (void)open {\n    if (self.streamStatus == NSStreamStatusOpen) {\n        return;\n    }\n\n    self.streamStatus = NSStreamStatusOpen;\n\n    [self setInitialAndFinalBoundaries];\n    self.HTTPBodyPartEnumerator = [self.HTTPBodyParts objectEnumerator];\n}\n\n- (void)close {\n    self.streamStatus = NSStreamStatusClosed;\n}\n\n- (id)propertyForKey:(__unused NSString *)key {\n    return nil;\n}\n\n- (BOOL)setProperty:(__unused id)property\n             forKey:(__unused NSString *)key\n{\n    return NO;\n}\n\n- (void)scheduleInRunLoop:(__unused NSRunLoop *)aRunLoop\n                  forMode:(__unused NSString *)mode\n{}\n\n- (void)removeFromRunLoop:(__unused NSRunLoop *)aRunLoop\n                  forMode:(__unused NSString *)mode\n{}\n\n- (unsigned long long)contentLength {\n    unsigned long long length = 0;\n    for (AFHTTPBodyPart *bodyPart in self.HTTPBodyParts) {\n        length += [bodyPart contentLength];\n    }\n\n    return length;\n}\n\n#pragma mark - Undocumented CFReadStream Bridged Methods\n\n- (void)_scheduleInCFRunLoop:(__unused CFRunLoopRef)aRunLoop\n                     forMode:(__unused CFStringRef)aMode\n{}\n\n- (void)_unscheduleFromCFRunLoop:(__unused CFRunLoopRef)aRunLoop\n                         forMode:(__unused CFStringRef)aMode\n{}\n\n- (BOOL)_setCFClientFlags:(__unused CFOptionFlags)inFlags\n                 callback:(__unused CFReadStreamClientCallBack)inCallback\n                  context:(__unused CFStreamClientContext *)inContext {\n    return NO;\n}\n\n#pragma mark - NSCopying\n\n- (instancetype)copyWithZone:(NSZone *)zone {\n    AFMultipartBodyStream *bodyStreamCopy = [[[self class] allocWithZone:zone] initWithStringEncoding:self.stringEncoding];\n\n    for (AFHTTPBodyPart *bodyPart in self.HTTPBodyParts) {\n        [bodyStreamCopy appendHTTPBodyPart:[bodyPart copy]];\n    }\n\n    [bodyStreamCopy setInitialAndFinalBoundaries];\n\n    return bodyStreamCopy;\n}\n\n@end\n\n#pragma mark -\n\ntypedef enum {\n    AFEncapsulationBoundaryPhase = 1,\n    AFHeaderPhase                = 2,\n    AFBodyPhase                  = 3,\n    AFFinalBoundaryPhase         = 4,\n} AFHTTPBodyPartReadPhase;\n\n@interface AFHTTPBodyPart () <NSCopying> {\n    AFHTTPBodyPartReadPhase _phase;\n    NSInputStream *_inputStream;\n    unsigned long long _phaseReadOffset;\n}\n\n- (BOOL)transitionToNextPhase;\n- (NSInteger)readData:(NSData *)data\n           intoBuffer:(uint8_t *)buffer\n            maxLength:(NSUInteger)length;\n@end\n\n@implementation AFHTTPBodyPart\n\n- (instancetype)init {\n    self = [super init];\n    if (!self) {\n        return nil;\n    }\n\n    [self transitionToNextPhase];\n\n    return self;\n}\n\n- (void)dealloc {\n    if (_inputStream) {\n        [_inputStream close];\n        _inputStream = nil;\n    }\n}\n\n- (NSInputStream *)inputStream {\n    if (!_inputStream) {\n        if ([self.body isKindOfClass:[NSData class]]) {\n            _inputStream = [NSInputStream inputStreamWithData:self.body];\n        } else if ([self.body isKindOfClass:[NSURL class]]) {\n            _inputStream = [NSInputStream inputStreamWithURL:self.body];\n        } else if ([self.body isKindOfClass:[NSInputStream class]]) {\n            _inputStream = self.body;\n        } else {\n            _inputStream = [NSInputStream inputStreamWithData:[NSData data]];\n        }\n    }\n\n    return _inputStream;\n}\n\n- (NSString *)stringForHeaders {\n    NSMutableString *headerString = [NSMutableString string];\n    for (NSString *field in [self.headers allKeys]) {\n        [headerString appendString:[NSString stringWithFormat:@\"%@: %@%@\", field, [self.headers valueForKey:field], kAFMultipartFormCRLF]];\n    }\n    [headerString appendString:kAFMultipartFormCRLF];\n\n    return [NSString stringWithString:headerString];\n}\n\n- (unsigned long long)contentLength {\n    unsigned long long length = 0;\n\n    NSData *encapsulationBoundaryData = [([self hasInitialBoundary] ? AFMultipartFormInitialBoundary(self.boundary) : AFMultipartFormEncapsulationBoundary(self.boundary)) dataUsingEncoding:self.stringEncoding];\n    length += [encapsulationBoundaryData length];\n\n    NSData *headersData = [[self stringForHeaders] dataUsingEncoding:self.stringEncoding];\n    length += [headersData length];\n\n    length += _bodyContentLength;\n\n    NSData *closingBoundaryData = ([self hasFinalBoundary] ? [AFMultipartFormFinalBoundary(self.boundary) dataUsingEncoding:self.stringEncoding] : [NSData data]);\n    length += [closingBoundaryData length];\n\n    return length;\n}\n\n- (BOOL)hasBytesAvailable {\n    // Allows `read:maxLength:` to be called again if `AFMultipartFormFinalBoundary` doesn't fit into the available buffer\n    if (_phase == AFFinalBoundaryPhase) {\n        return YES;\n    }\n\n    switch (self.inputStream.streamStatus) {\n        case NSStreamStatusNotOpen:\n        case NSStreamStatusOpening:\n        case NSStreamStatusOpen:\n        case NSStreamStatusReading:\n        case NSStreamStatusWriting:\n            return YES;\n        case NSStreamStatusAtEnd:\n        case NSStreamStatusClosed:\n        case NSStreamStatusError:\n        default:\n            return NO;\n    }\n}\n\n- (NSInteger)read:(uint8_t *)buffer\n        maxLength:(NSUInteger)length\n{\n    NSInteger totalNumberOfBytesRead = 0;\n\n    if (_phase == AFEncapsulationBoundaryPhase) {\n        NSData *encapsulationBoundaryData = [([self hasInitialBoundary] ? AFMultipartFormInitialBoundary(self.boundary) : AFMultipartFormEncapsulationBoundary(self.boundary)) dataUsingEncoding:self.stringEncoding];\n        totalNumberOfBytesRead += [self readData:encapsulationBoundaryData intoBuffer:&buffer[totalNumberOfBytesRead] maxLength:(length - (NSUInteger)totalNumberOfBytesRead)];\n    }\n\n    if (_phase == AFHeaderPhase) {\n        NSData *headersData = [[self stringForHeaders] dataUsingEncoding:self.stringEncoding];\n        totalNumberOfBytesRead += [self readData:headersData intoBuffer:&buffer[totalNumberOfBytesRead] maxLength:(length - (NSUInteger)totalNumberOfBytesRead)];\n    }\n\n    if (_phase == AFBodyPhase) {\n        NSInteger numberOfBytesRead = 0;\n\n        numberOfBytesRead = [self.inputStream read:&buffer[totalNumberOfBytesRead] maxLength:(length - (NSUInteger)totalNumberOfBytesRead)];\n        if (numberOfBytesRead == -1) {\n            return -1;\n        } else {\n            totalNumberOfBytesRead += numberOfBytesRead;\n\n            if ([self.inputStream streamStatus] >= NSStreamStatusAtEnd) {\n                [self transitionToNextPhase];\n            }\n        }\n    }\n\n    if (_phase == AFFinalBoundaryPhase) {\n        NSData *closingBoundaryData = ([self hasFinalBoundary] ? [AFMultipartFormFinalBoundary(self.boundary) dataUsingEncoding:self.stringEncoding] : [NSData data]);\n        totalNumberOfBytesRead += [self readData:closingBoundaryData intoBuffer:&buffer[totalNumberOfBytesRead] maxLength:(length - (NSUInteger)totalNumberOfBytesRead)];\n    }\n\n    return totalNumberOfBytesRead;\n}\n\n- (NSInteger)readData:(NSData *)data\n           intoBuffer:(uint8_t *)buffer\n            maxLength:(NSUInteger)length\n{\n    NSRange range = NSMakeRange((NSUInteger)_phaseReadOffset, MIN([data length] - ((NSUInteger)_phaseReadOffset), length));\n    [data getBytes:buffer range:range];\n\n    _phaseReadOffset += range.length;\n\n    if (((NSUInteger)_phaseReadOffset) >= [data length]) {\n        [self transitionToNextPhase];\n    }\n\n    return (NSInteger)range.length;\n}\n\n- (BOOL)transitionToNextPhase {\n    if (![[NSThread currentThread] isMainThread]) {\n        dispatch_sync(dispatch_get_main_queue(), ^{\n            [self transitionToNextPhase];\n        });\n        return YES;\n    }\n\n    switch (_phase) {\n        case AFEncapsulationBoundaryPhase:\n            _phase = AFHeaderPhase;\n            break;\n        case AFHeaderPhase:\n            [self.inputStream scheduleInRunLoop:[NSRunLoop currentRunLoop] forMode:NSRunLoopCommonModes];\n            [self.inputStream open];\n            _phase = AFBodyPhase;\n            break;\n        case AFBodyPhase:\n            [self.inputStream close];\n            _phase = AFFinalBoundaryPhase;\n            break;\n        case AFFinalBoundaryPhase:\n        default:\n            _phase = AFEncapsulationBoundaryPhase;\n            break;\n    }\n    _phaseReadOffset = 0;\n\n    return YES;\n}\n\n#pragma mark - NSCopying\n\n- (instancetype)copyWithZone:(NSZone *)zone {\n    AFHTTPBodyPart *bodyPart = [[[self class] allocWithZone:zone] init];\n\n    bodyPart.stringEncoding = self.stringEncoding;\n    bodyPart.headers = self.headers;\n    bodyPart.bodyContentLength = self.bodyContentLength;\n    bodyPart.body = self.body;\n    bodyPart.boundary = self.boundary;\n\n    return bodyPart;\n}\n\n@end\n\n#pragma mark -\n\n@implementation AFJSONRequestSerializer\n\n+ (instancetype)serializer {\n    return [self serializerWithWritingOptions:(NSJSONWritingOptions)0];\n}\n\n+ (instancetype)serializerWithWritingOptions:(NSJSONWritingOptions)writingOptions\n{\n    AFJSONRequestSerializer *serializer = [[self alloc] init];\n    serializer.writingOptions = writingOptions;\n\n    return serializer;\n}\n\n#pragma mark - AFURLRequestSerialization\n\n- (NSURLRequest *)requestBySerializingRequest:(NSURLRequest *)request\n                               withParameters:(id)parameters\n                                        error:(NSError *__autoreleasing *)error\n{\n    NSParameterAssert(request);\n\n    if ([self.HTTPMethodsEncodingParametersInURI containsObject:[[request HTTPMethod] uppercaseString]]) {\n        return [super requestBySerializingRequest:request withParameters:parameters error:error];\n    }\n\n    NSMutableURLRequest *mutableRequest = [request mutableCopy];\n\n    [self.HTTPRequestHeaders enumerateKeysAndObjectsUsingBlock:^(id field, id value, BOOL * __unused stop) {\n        if (![request valueForHTTPHeaderField:field]) {\n            [mutableRequest setValue:value forHTTPHeaderField:field];\n        }\n    }];\n\n    if (parameters) {\n        if (![mutableRequest valueForHTTPHeaderField:@\"Content-Type\"]) {\n            [mutableRequest setValue:@\"application/json\" forHTTPHeaderField:@\"Content-Type\"];\n        }\n\n        if (![NSJSONSerialization isValidJSONObject:parameters]) {\n            if (error) {\n                NSDictionary *userInfo = @{NSLocalizedFailureReasonErrorKey: NSLocalizedStringFromTable(@\"The `parameters` argument is not valid JSON.\", @\"AFNetworking\", nil)};\n                *error = [[NSError alloc] initWithDomain:AFURLRequestSerializationErrorDomain code:NSURLErrorCannotDecodeContentData userInfo:userInfo];\n            }\n            return nil;\n        }\n\n        NSData *jsonData = [NSJSONSerialization dataWithJSONObject:parameters options:self.writingOptions error:error];\n        \n        if (!jsonData) {\n            return nil;\n        }\n        \n        [mutableRequest setHTTPBody:jsonData];\n    }\n\n    return mutableRequest;\n}\n\n#pragma mark - NSSecureCoding\n\n- (instancetype)initWithCoder:(NSCoder *)decoder {\n    self = [super initWithCoder:decoder];\n    if (!self) {\n        return nil;\n    }\n\n    self.writingOptions = [[decoder decodeObjectOfClass:[NSNumber class] forKey:NSStringFromSelector(@selector(writingOptions))] unsignedIntegerValue];\n\n    return self;\n}\n\n- (void)encodeWithCoder:(NSCoder *)coder {\n    [super encodeWithCoder:coder];\n\n    [coder encodeInteger:self.writingOptions forKey:NSStringFromSelector(@selector(writingOptions))];\n}\n\n#pragma mark - NSCopying\n\n- (instancetype)copyWithZone:(NSZone *)zone {\n    AFJSONRequestSerializer *serializer = [super copyWithZone:zone];\n    serializer.writingOptions = self.writingOptions;\n\n    return serializer;\n}\n\n@end\n\n#pragma mark -\n\n@implementation AFPropertyListRequestSerializer\n\n+ (instancetype)serializer {\n    return [self serializerWithFormat:NSPropertyListXMLFormat_v1_0 writeOptions:0];\n}\n\n+ (instancetype)serializerWithFormat:(NSPropertyListFormat)format\n                        writeOptions:(NSPropertyListWriteOptions)writeOptions\n{\n    AFPropertyListRequestSerializer *serializer = [[self alloc] init];\n    serializer.format = format;\n    serializer.writeOptions = writeOptions;\n\n    return serializer;\n}\n\n#pragma mark - AFURLRequestSerializer\n\n- (NSURLRequest *)requestBySerializingRequest:(NSURLRequest *)request\n                               withParameters:(id)parameters\n                                        error:(NSError *__autoreleasing *)error\n{\n    NSParameterAssert(request);\n\n    if ([self.HTTPMethodsEncodingParametersInURI containsObject:[[request HTTPMethod] uppercaseString]]) {\n        return [super requestBySerializingRequest:request withParameters:parameters error:error];\n    }\n\n    NSMutableURLRequest *mutableRequest = [request mutableCopy];\n\n    [self.HTTPRequestHeaders enumerateKeysAndObjectsUsingBlock:^(id field, id value, BOOL * __unused stop) {\n        if (![request valueForHTTPHeaderField:field]) {\n            [mutableRequest setValue:value forHTTPHeaderField:field];\n        }\n    }];\n\n    if (parameters) {\n        if (![mutableRequest valueForHTTPHeaderField:@\"Content-Type\"]) {\n            [mutableRequest setValue:@\"application/x-plist\" forHTTPHeaderField:@\"Content-Type\"];\n        }\n\n        NSData *plistData = [NSPropertyListSerialization dataWithPropertyList:parameters format:self.format options:self.writeOptions error:error];\n        \n        if (!plistData) {\n            return nil;\n        }\n        \n        [mutableRequest setHTTPBody:plistData];\n    }\n\n    return mutableRequest;\n}\n\n#pragma mark - NSSecureCoding\n\n- (instancetype)initWithCoder:(NSCoder *)decoder {\n    self = [super initWithCoder:decoder];\n    if (!self) {\n        return nil;\n    }\n\n    self.format = (NSPropertyListFormat)[[decoder decodeObjectOfClass:[NSNumber class] forKey:NSStringFromSelector(@selector(format))] unsignedIntegerValue];\n    self.writeOptions = [[decoder decodeObjectOfClass:[NSNumber class] forKey:NSStringFromSelector(@selector(writeOptions))] unsignedIntegerValue];\n\n    return self;\n}\n\n- (void)encodeWithCoder:(NSCoder *)coder {\n    [super encodeWithCoder:coder];\n\n    [coder encodeInteger:self.format forKey:NSStringFromSelector(@selector(format))];\n    [coder encodeObject:@(self.writeOptions) forKey:NSStringFromSelector(@selector(writeOptions))];\n}\n\n#pragma mark - NSCopying\n\n- (instancetype)copyWithZone:(NSZone *)zone {\n    AFPropertyListRequestSerializer *serializer = [super copyWithZone:zone];\n    serializer.format = self.format;\n    serializer.writeOptions = self.writeOptions;\n\n    return serializer;\n}\n\n@end\n"
  },
  {
    "path": "CKMeiTuanShopView/Pods/AFNetworking/AFNetworking/AFURLResponseSerialization.h",
    "content": "// AFURLResponseSerialization.h\n// Copyright (c) 2011–2016 Alamofire Software Foundation ( http://alamofire.org/ )\n//\n// Permission is hereby granted, free of charge, to any person obtaining a copy\n// of this software and associated documentation files (the \"Software\"), to deal\n// in the Software without restriction, including without limitation the rights\n// to use, copy, modify, merge, publish, distribute, sublicense, and/or sell\n// copies of the Software, and to permit persons to whom the Software is\n// furnished to do so, subject to the following conditions:\n//\n// The above copyright notice and this permission notice shall be included in\n// all copies or substantial portions of the Software.\n//\n// THE SOFTWARE IS PROVIDED \"AS IS\", WITHOUT WARRANTY OF ANY KIND, EXPRESS OR\n// IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF MERCHANTABILITY,\n// FITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT. IN NO EVENT SHALL THE\n// AUTHORS OR COPYRIGHT HOLDERS BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER\n// LIABILITY, WHETHER IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING FROM,\n// OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN\n// THE SOFTWARE.\n\n#import <Foundation/Foundation.h>\n#import <CoreGraphics/CoreGraphics.h>\n\nNS_ASSUME_NONNULL_BEGIN\n\n/**\n The `AFURLResponseSerialization` protocol is adopted by an object that decodes data into a more useful object representation, according to details in the server response. Response serializers may additionally perform validation on the incoming response and data.\n\n For example, a JSON response serializer may check for an acceptable status code (`2XX` range) and content type (`application/json`), decoding a valid JSON response into an object.\n */\n@protocol AFURLResponseSerialization <NSObject, NSSecureCoding, NSCopying>\n\n/**\n The response object decoded from the data associated with a specified response.\n\n @param response The response to be processed.\n @param data The response data to be decoded.\n @param error The error that occurred while attempting to decode the response data.\n\n @return The object decoded from the specified response data.\n */\n- (nullable id)responseObjectForResponse:(nullable NSURLResponse *)response\n                           data:(nullable NSData *)data\n                          error:(NSError * _Nullable __autoreleasing *)error NS_SWIFT_NOTHROW;\n\n@end\n\n#pragma mark -\n\n/**\n `AFHTTPResponseSerializer` conforms to the `AFURLRequestSerialization` & `AFURLResponseSerialization` protocols, offering a concrete base implementation of query string / URL form-encoded parameter serialization and default request headers, as well as response status code and content type validation.\n\n Any request or response serializer dealing with HTTP is encouraged to subclass `AFHTTPResponseSerializer` in order to ensure consistent default behavior.\n */\n@interface AFHTTPResponseSerializer : NSObject <AFURLResponseSerialization>\n\n- (instancetype)init;\n\n@property (nonatomic, assign) NSStringEncoding stringEncoding DEPRECATED_MSG_ATTRIBUTE(\"The string encoding is never used. AFHTTPResponseSerializer only validates status codes and content types but does not try to decode the received data in any way.\");\n\n/**\n Creates and returns a serializer with default configuration.\n */\n+ (instancetype)serializer;\n\n///-----------------------------------------\n/// @name Configuring Response Serialization\n///-----------------------------------------\n\n/**\n The acceptable HTTP status codes for responses. When non-`nil`, responses with status codes not contained by the set will result in an error during validation.\n\n See http://www.w3.org/Protocols/rfc2616/rfc2616-sec10.html\n */\n@property (nonatomic, copy, nullable) NSIndexSet *acceptableStatusCodes;\n\n/**\n The acceptable MIME types for responses. When non-`nil`, responses with a `Content-Type` with MIME types that do not intersect with the set will result in an error during validation.\n */\n@property (nonatomic, copy, nullable) NSSet <NSString *> *acceptableContentTypes;\n\n/**\n Validates the specified response and data.\n\n In its base implementation, this method checks for an acceptable status code and content type. Subclasses may wish to add other domain-specific checks.\n\n @param response The response to be validated.\n @param data The data associated with the response.\n @param error The error that occurred while attempting to validate the response.\n\n @return `YES` if the response is valid, otherwise `NO`.\n */\n- (BOOL)validateResponse:(nullable NSHTTPURLResponse *)response\n                    data:(nullable NSData *)data\n                   error:(NSError * _Nullable __autoreleasing *)error;\n\n@end\n\n#pragma mark -\n\n\n/**\n `AFJSONResponseSerializer` is a subclass of `AFHTTPResponseSerializer` that validates and decodes JSON responses.\n\n By default, `AFJSONResponseSerializer` accepts the following MIME types, which includes the official standard, `application/json`, as well as other commonly-used types:\n\n - `application/json`\n - `text/json`\n - `text/javascript`\n\n In RFC 7159 - Section 8.1, it states that JSON text is required to be encoded in UTF-8, UTF-16, or UTF-32, and the default encoding is UTF-8. NSJSONSerialization provides support for all the encodings listed in the specification, and recommends UTF-8 for efficiency. Using an unsupported encoding will result in serialization error. See the `NSJSONSerialization` documentation for more details.\n */\n@interface AFJSONResponseSerializer : AFHTTPResponseSerializer\n\n- (instancetype)init;\n\n/**\n Options for reading the response JSON data and creating the Foundation objects. For possible values, see the `NSJSONSerialization` documentation section \"NSJSONReadingOptions\". `0` by default.\n */\n@property (nonatomic, assign) NSJSONReadingOptions readingOptions;\n\n/**\n Whether to remove keys with `NSNull` values from response JSON. Defaults to `NO`.\n */\n@property (nonatomic, assign) BOOL removesKeysWithNullValues;\n\n/**\n Creates and returns a JSON serializer with specified reading and writing options.\n\n @param readingOptions The specified JSON reading options.\n */\n+ (instancetype)serializerWithReadingOptions:(NSJSONReadingOptions)readingOptions;\n\n@end\n\n#pragma mark -\n\n/**\n `AFXMLParserResponseSerializer` is a subclass of `AFHTTPResponseSerializer` that validates and decodes XML responses as an `NSXMLParser` objects.\n\n By default, `AFXMLParserResponseSerializer` accepts the following MIME types, which includes the official standard, `application/xml`, as well as other commonly-used types:\n\n - `application/xml`\n - `text/xml`\n */\n@interface AFXMLParserResponseSerializer : AFHTTPResponseSerializer\n\n@end\n\n#pragma mark -\n\n#ifdef __MAC_OS_X_VERSION_MIN_REQUIRED\n\n/**\n `AFXMLDocumentResponseSerializer` is a subclass of `AFHTTPResponseSerializer` that validates and decodes XML responses as an `NSXMLDocument` objects.\n\n By default, `AFXMLDocumentResponseSerializer` accepts the following MIME types, which includes the official standard, `application/xml`, as well as other commonly-used types:\n\n - `application/xml`\n - `text/xml`\n */\n@interface AFXMLDocumentResponseSerializer : AFHTTPResponseSerializer\n\n- (instancetype)init;\n\n/**\n Input and output options specifically intended for `NSXMLDocument` objects. For possible values, see the `NSXMLDocument` documentation section \"Input and Output Options\". `0` by default.\n */\n@property (nonatomic, assign) NSUInteger options;\n\n/**\n Creates and returns an XML document serializer with the specified options.\n\n @param mask The XML document options.\n */\n+ (instancetype)serializerWithXMLDocumentOptions:(NSUInteger)mask;\n\n@end\n\n#endif\n\n#pragma mark -\n\n/**\n `AFPropertyListResponseSerializer` is a subclass of `AFHTTPResponseSerializer` that validates and decodes XML responses as an `NSXMLDocument` objects.\n\n By default, `AFPropertyListResponseSerializer` accepts the following MIME types:\n\n - `application/x-plist`\n */\n@interface AFPropertyListResponseSerializer : AFHTTPResponseSerializer\n\n- (instancetype)init;\n\n/**\n The property list format. Possible values are described in \"NSPropertyListFormat\".\n */\n@property (nonatomic, assign) NSPropertyListFormat format;\n\n/**\n The property list reading options. Possible values are described in \"NSPropertyListMutabilityOptions.\"\n */\n@property (nonatomic, assign) NSPropertyListReadOptions readOptions;\n\n/**\n Creates and returns a property list serializer with a specified format, read options, and write options.\n\n @param format The property list format.\n @param readOptions The property list reading options.\n */\n+ (instancetype)serializerWithFormat:(NSPropertyListFormat)format\n                         readOptions:(NSPropertyListReadOptions)readOptions;\n\n@end\n\n#pragma mark -\n\n/**\n `AFImageResponseSerializer` is a subclass of `AFHTTPResponseSerializer` that validates and decodes image responses.\n\n By default, `AFImageResponseSerializer` accepts the following MIME types, which correspond to the image formats supported by UIImage or NSImage:\n\n - `image/tiff`\n - `image/jpeg`\n - `image/gif`\n - `image/png`\n - `image/ico`\n - `image/x-icon`\n - `image/bmp`\n - `image/x-bmp`\n - `image/x-xbitmap`\n - `image/x-win-bitmap`\n */\n@interface AFImageResponseSerializer : AFHTTPResponseSerializer\n\n#if TARGET_OS_IOS || TARGET_OS_TV || TARGET_OS_WATCH\n/**\n The scale factor used when interpreting the image data to construct `responseImage`. Specifying a scale factor of 1.0 results in an image whose size matches the pixel-based dimensions of the image. Applying a different scale factor changes the size of the image as reported by the size property. This is set to the value of scale of the main screen by default, which automatically scales images for retina displays, for instance.\n */\n@property (nonatomic, assign) CGFloat imageScale;\n\n/**\n Whether to automatically inflate response image data for compressed formats (such as PNG or JPEG). Enabling this can significantly improve drawing performance on iOS when used with `setCompletionBlockWithSuccess:failure:`, as it allows a bitmap representation to be constructed in the background rather than on the main thread. `YES` by default.\n */\n@property (nonatomic, assign) BOOL automaticallyInflatesResponseImage;\n#endif\n\n@end\n\n#pragma mark -\n\n/**\n `AFCompoundSerializer` is a subclass of `AFHTTPResponseSerializer` that delegates the response serialization to the first `AFHTTPResponseSerializer` object that returns an object for `responseObjectForResponse:data:error:`, falling back on the default behavior of `AFHTTPResponseSerializer`. This is useful for supporting multiple potential types and structures of server responses with a single serializer.\n */\n@interface AFCompoundResponseSerializer : AFHTTPResponseSerializer\n\n/**\n The component response serializers.\n */\n@property (readonly, nonatomic, copy) NSArray <id<AFURLResponseSerialization>> *responseSerializers;\n\n/**\n Creates and returns a compound serializer comprised of the specified response serializers.\n\n @warning Each response serializer specified must be a subclass of `AFHTTPResponseSerializer`, and response to `-validateResponse:data:error:`.\n */\n+ (instancetype)compoundSerializerWithResponseSerializers:(NSArray <id<AFURLResponseSerialization>> *)responseSerializers;\n\n@end\n\n///----------------\n/// @name Constants\n///----------------\n\n/**\n ## Error Domains\n\n The following error domain is predefined.\n\n - `NSString * const AFURLResponseSerializationErrorDomain`\n\n ### Constants\n\n `AFURLResponseSerializationErrorDomain`\n AFURLResponseSerializer errors. Error codes for `AFURLResponseSerializationErrorDomain` correspond to codes in `NSURLErrorDomain`.\n */\nFOUNDATION_EXPORT NSString * const AFURLResponseSerializationErrorDomain;\n\n/**\n ## User info dictionary keys\n\n These keys may exist in the user info dictionary, in addition to those defined for NSError.\n\n - `NSString * const AFNetworkingOperationFailingURLResponseErrorKey`\n - `NSString * const AFNetworkingOperationFailingURLResponseDataErrorKey`\n\n ### Constants\n\n `AFNetworkingOperationFailingURLResponseErrorKey`\n The corresponding value is an `NSURLResponse` containing the response of the operation associated with an error. This key is only present in the `AFURLResponseSerializationErrorDomain`.\n\n `AFNetworkingOperationFailingURLResponseDataErrorKey`\n The corresponding value is an `NSData` containing the original data of the operation associated with an error. This key is only present in the `AFURLResponseSerializationErrorDomain`.\n */\nFOUNDATION_EXPORT NSString * const AFNetworkingOperationFailingURLResponseErrorKey;\n\nFOUNDATION_EXPORT NSString * const AFNetworkingOperationFailingURLResponseDataErrorKey;\n\nNS_ASSUME_NONNULL_END\n"
  },
  {
    "path": "CKMeiTuanShopView/Pods/AFNetworking/AFNetworking/AFURLResponseSerialization.m",
    "content": "// AFURLResponseSerialization.m\n// Copyright (c) 2011–2016 Alamofire Software Foundation ( http://alamofire.org/ )\n//\n// Permission is hereby granted, free of charge, to any person obtaining a copy\n// of this software and associated documentation files (the \"Software\"), to deal\n// in the Software without restriction, including without limitation the rights\n// to use, copy, modify, merge, publish, distribute, sublicense, and/or sell\n// copies of the Software, and to permit persons to whom the Software is\n// furnished to do so, subject to the following conditions:\n//\n// The above copyright notice and this permission notice shall be included in\n// all copies or substantial portions of the Software.\n//\n// THE SOFTWARE IS PROVIDED \"AS IS\", WITHOUT WARRANTY OF ANY KIND, EXPRESS OR\n// IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF MERCHANTABILITY,\n// FITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT. IN NO EVENT SHALL THE\n// AUTHORS OR COPYRIGHT HOLDERS BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER\n// LIABILITY, WHETHER IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING FROM,\n// OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN\n// THE SOFTWARE.\n\n#import \"AFURLResponseSerialization.h\"\n\n#import <TargetConditionals.h>\n\n#if TARGET_OS_IOS\n#import <UIKit/UIKit.h>\n#elif TARGET_OS_WATCH\n#import <WatchKit/WatchKit.h>\n#elif defined(__MAC_OS_X_VERSION_MIN_REQUIRED)\n#import <Cocoa/Cocoa.h>\n#endif\n\nNSString * const AFURLResponseSerializationErrorDomain = @\"com.alamofire.error.serialization.response\";\nNSString * const AFNetworkingOperationFailingURLResponseErrorKey = @\"com.alamofire.serialization.response.error.response\";\nNSString * const AFNetworkingOperationFailingURLResponseDataErrorKey = @\"com.alamofire.serialization.response.error.data\";\n\nstatic NSError * AFErrorWithUnderlyingError(NSError *error, NSError *underlyingError) {\n    if (!error) {\n        return underlyingError;\n    }\n\n    if (!underlyingError || error.userInfo[NSUnderlyingErrorKey]) {\n        return error;\n    }\n\n    NSMutableDictionary *mutableUserInfo = [error.userInfo mutableCopy];\n    mutableUserInfo[NSUnderlyingErrorKey] = underlyingError;\n\n    return [[NSError alloc] initWithDomain:error.domain code:error.code userInfo:mutableUserInfo];\n}\n\nstatic BOOL AFErrorOrUnderlyingErrorHasCodeInDomain(NSError *error, NSInteger code, NSString *domain) {\n    if ([error.domain isEqualToString:domain] && error.code == code) {\n        return YES;\n    } else if (error.userInfo[NSUnderlyingErrorKey]) {\n        return AFErrorOrUnderlyingErrorHasCodeInDomain(error.userInfo[NSUnderlyingErrorKey], code, domain);\n    }\n\n    return NO;\n}\n\nstatic id AFJSONObjectByRemovingKeysWithNullValues(id JSONObject, NSJSONReadingOptions readingOptions) {\n    if ([JSONObject isKindOfClass:[NSArray class]]) {\n        NSMutableArray *mutableArray = [NSMutableArray arrayWithCapacity:[(NSArray *)JSONObject count]];\n        for (id value in (NSArray *)JSONObject) {\n            [mutableArray addObject:AFJSONObjectByRemovingKeysWithNullValues(value, readingOptions)];\n        }\n\n        return (readingOptions & NSJSONReadingMutableContainers) ? mutableArray : [NSArray arrayWithArray:mutableArray];\n    } else if ([JSONObject isKindOfClass:[NSDictionary class]]) {\n        NSMutableDictionary *mutableDictionary = [NSMutableDictionary dictionaryWithDictionary:JSONObject];\n        for (id <NSCopying> key in [(NSDictionary *)JSONObject allKeys]) {\n            id value = (NSDictionary *)JSONObject[key];\n            if (!value || [value isEqual:[NSNull null]]) {\n                [mutableDictionary removeObjectForKey:key];\n            } else if ([value isKindOfClass:[NSArray class]] || [value isKindOfClass:[NSDictionary class]]) {\n                mutableDictionary[key] = AFJSONObjectByRemovingKeysWithNullValues(value, readingOptions);\n            }\n        }\n\n        return (readingOptions & NSJSONReadingMutableContainers) ? mutableDictionary : [NSDictionary dictionaryWithDictionary:mutableDictionary];\n    }\n\n    return JSONObject;\n}\n\n@implementation AFHTTPResponseSerializer\n\n+ (instancetype)serializer {\n    return [[self alloc] init];\n}\n\n- (instancetype)init {\n    self = [super init];\n    if (!self) {\n        return nil;\n    }\n\n    self.acceptableStatusCodes = [NSIndexSet indexSetWithIndexesInRange:NSMakeRange(200, 100)];\n    self.acceptableContentTypes = nil;\n\n    return self;\n}\n\n#pragma mark -\n\n- (BOOL)validateResponse:(NSHTTPURLResponse *)response\n                    data:(NSData *)data\n                   error:(NSError * __autoreleasing *)error\n{\n    BOOL responseIsValid = YES;\n    NSError *validationError = nil;\n\n    if (response && [response isKindOfClass:[NSHTTPURLResponse class]]) {\n        if (self.acceptableContentTypes && ![self.acceptableContentTypes containsObject:[response MIMEType]] &&\n            !([response MIMEType] == nil && [data length] == 0)) {\n\n            if ([data length] > 0 && [response URL]) {\n                NSMutableDictionary *mutableUserInfo = [@{\n                                                          NSLocalizedDescriptionKey: [NSString stringWithFormat:NSLocalizedStringFromTable(@\"Request failed: unacceptable content-type: %@\", @\"AFNetworking\", nil), [response MIMEType]],\n                                                          NSURLErrorFailingURLErrorKey:[response URL],\n                                                          AFNetworkingOperationFailingURLResponseErrorKey: response,\n                                                        } mutableCopy];\n                if (data) {\n                    mutableUserInfo[AFNetworkingOperationFailingURLResponseDataErrorKey] = data;\n                }\n\n                validationError = AFErrorWithUnderlyingError([NSError errorWithDomain:AFURLResponseSerializationErrorDomain code:NSURLErrorCannotDecodeContentData userInfo:mutableUserInfo], validationError);\n            }\n\n            responseIsValid = NO;\n        }\n\n        if (self.acceptableStatusCodes && ![self.acceptableStatusCodes containsIndex:(NSUInteger)response.statusCode] && [response URL]) {\n            NSMutableDictionary *mutableUserInfo = [@{\n                                               NSLocalizedDescriptionKey: [NSString stringWithFormat:NSLocalizedStringFromTable(@\"Request failed: %@ (%ld)\", @\"AFNetworking\", nil), [NSHTTPURLResponse localizedStringForStatusCode:response.statusCode], (long)response.statusCode],\n                                               NSURLErrorFailingURLErrorKey:[response URL],\n                                               AFNetworkingOperationFailingURLResponseErrorKey: response,\n                                       } mutableCopy];\n\n            if (data) {\n                mutableUserInfo[AFNetworkingOperationFailingURLResponseDataErrorKey] = data;\n            }\n\n            validationError = AFErrorWithUnderlyingError([NSError errorWithDomain:AFURLResponseSerializationErrorDomain code:NSURLErrorBadServerResponse userInfo:mutableUserInfo], validationError);\n\n            responseIsValid = NO;\n        }\n    }\n\n    if (error && !responseIsValid) {\n        *error = validationError;\n    }\n\n    return responseIsValid;\n}\n\n#pragma mark - AFURLResponseSerialization\n\n- (id)responseObjectForResponse:(NSURLResponse *)response\n                           data:(NSData *)data\n                          error:(NSError *__autoreleasing *)error\n{\n    [self validateResponse:(NSHTTPURLResponse *)response data:data error:error];\n\n    return data;\n}\n\n#pragma mark - NSSecureCoding\n\n+ (BOOL)supportsSecureCoding {\n    return YES;\n}\n\n- (instancetype)initWithCoder:(NSCoder *)decoder {\n    self = [self init];\n    if (!self) {\n        return nil;\n    }\n\n    self.acceptableStatusCodes = [decoder decodeObjectOfClass:[NSIndexSet class] forKey:NSStringFromSelector(@selector(acceptableStatusCodes))];\n    self.acceptableContentTypes = [decoder decodeObjectOfClass:[NSIndexSet class] forKey:NSStringFromSelector(@selector(acceptableContentTypes))];\n\n    return self;\n}\n\n- (void)encodeWithCoder:(NSCoder *)coder {\n    [coder encodeObject:self.acceptableStatusCodes forKey:NSStringFromSelector(@selector(acceptableStatusCodes))];\n    [coder encodeObject:self.acceptableContentTypes forKey:NSStringFromSelector(@selector(acceptableContentTypes))];\n}\n\n#pragma mark - NSCopying\n\n- (instancetype)copyWithZone:(NSZone *)zone {\n    AFHTTPResponseSerializer *serializer = [[[self class] allocWithZone:zone] init];\n    serializer.acceptableStatusCodes = [self.acceptableStatusCodes copyWithZone:zone];\n    serializer.acceptableContentTypes = [self.acceptableContentTypes copyWithZone:zone];\n\n    return serializer;\n}\n\n@end\n\n#pragma mark -\n\n@implementation AFJSONResponseSerializer\n\n+ (instancetype)serializer {\n    return [self serializerWithReadingOptions:(NSJSONReadingOptions)0];\n}\n\n+ (instancetype)serializerWithReadingOptions:(NSJSONReadingOptions)readingOptions {\n    AFJSONResponseSerializer *serializer = [[self alloc] init];\n    serializer.readingOptions = readingOptions;\n\n    return serializer;\n}\n\n- (instancetype)init {\n    self = [super init];\n    if (!self) {\n        return nil;\n    }\n\n    self.acceptableContentTypes = [NSSet setWithObjects:@\"application/json\", @\"text/json\", @\"text/javascript\", nil];\n\n    return self;\n}\n\n#pragma mark - AFURLResponseSerialization\n\n- (id)responseObjectForResponse:(NSURLResponse *)response\n                           data:(NSData *)data\n                          error:(NSError *__autoreleasing *)error\n{\n    if (![self validateResponse:(NSHTTPURLResponse *)response data:data error:error]) {\n        if (!error || AFErrorOrUnderlyingErrorHasCodeInDomain(*error, NSURLErrorCannotDecodeContentData, AFURLResponseSerializationErrorDomain)) {\n            return nil;\n        }\n    }\n\n    // Workaround for behavior of Rails to return a single space for `head :ok` (a workaround for a bug in Safari), which is not interpreted as valid input by NSJSONSerialization.\n    // See https://github.com/rails/rails/issues/1742\n    BOOL isSpace = [data isEqualToData:[NSData dataWithBytes:\" \" length:1]];\n    \n    if (data.length == 0 || isSpace) {\n        return nil;\n    }\n    \n    NSError *serializationError = nil;\n    \n    id responseObject = [NSJSONSerialization JSONObjectWithData:data options:self.readingOptions error:&serializationError];\n\n    if (!responseObject)\n    {\n        if (error) {\n            *error = AFErrorWithUnderlyingError(serializationError, *error);\n        }\n        return nil;\n    }\n    \n    if (self.removesKeysWithNullValues) {\n        return AFJSONObjectByRemovingKeysWithNullValues(responseObject, self.readingOptions);\n    }\n\n    return responseObject;\n}\n\n#pragma mark - NSSecureCoding\n\n- (instancetype)initWithCoder:(NSCoder *)decoder {\n    self = [super initWithCoder:decoder];\n    if (!self) {\n        return nil;\n    }\n\n    self.readingOptions = [[decoder decodeObjectOfClass:[NSNumber class] forKey:NSStringFromSelector(@selector(readingOptions))] unsignedIntegerValue];\n    self.removesKeysWithNullValues = [[decoder decodeObjectOfClass:[NSNumber class] forKey:NSStringFromSelector(@selector(removesKeysWithNullValues))] boolValue];\n\n    return self;\n}\n\n- (void)encodeWithCoder:(NSCoder *)coder {\n    [super encodeWithCoder:coder];\n\n    [coder encodeObject:@(self.readingOptions) forKey:NSStringFromSelector(@selector(readingOptions))];\n    [coder encodeObject:@(self.removesKeysWithNullValues) forKey:NSStringFromSelector(@selector(removesKeysWithNullValues))];\n}\n\n#pragma mark - NSCopying\n\n- (instancetype)copyWithZone:(NSZone *)zone {\n    AFJSONResponseSerializer *serializer = [super copyWithZone:zone];\n    serializer.readingOptions = self.readingOptions;\n    serializer.removesKeysWithNullValues = self.removesKeysWithNullValues;\n\n    return serializer;\n}\n\n@end\n\n#pragma mark -\n\n@implementation AFXMLParserResponseSerializer\n\n+ (instancetype)serializer {\n    AFXMLParserResponseSerializer *serializer = [[self alloc] init];\n\n    return serializer;\n}\n\n- (instancetype)init {\n    self = [super init];\n    if (!self) {\n        return nil;\n    }\n\n    self.acceptableContentTypes = [[NSSet alloc] initWithObjects:@\"application/xml\", @\"text/xml\", nil];\n\n    return self;\n}\n\n#pragma mark - AFURLResponseSerialization\n\n- (id)responseObjectForResponse:(NSHTTPURLResponse *)response\n                           data:(NSData *)data\n                          error:(NSError *__autoreleasing *)error\n{\n    if (![self validateResponse:(NSHTTPURLResponse *)response data:data error:error]) {\n        if (!error || AFErrorOrUnderlyingErrorHasCodeInDomain(*error, NSURLErrorCannotDecodeContentData, AFURLResponseSerializationErrorDomain)) {\n            return nil;\n        }\n    }\n\n    return [[NSXMLParser alloc] initWithData:data];\n}\n\n@end\n\n#pragma mark -\n\n#ifdef __MAC_OS_X_VERSION_MIN_REQUIRED\n\n@implementation AFXMLDocumentResponseSerializer\n\n+ (instancetype)serializer {\n    return [self serializerWithXMLDocumentOptions:0];\n}\n\n+ (instancetype)serializerWithXMLDocumentOptions:(NSUInteger)mask {\n    AFXMLDocumentResponseSerializer *serializer = [[self alloc] init];\n    serializer.options = mask;\n\n    return serializer;\n}\n\n- (instancetype)init {\n    self = [super init];\n    if (!self) {\n        return nil;\n    }\n\n    self.acceptableContentTypes = [[NSSet alloc] initWithObjects:@\"application/xml\", @\"text/xml\", nil];\n\n    return self;\n}\n\n#pragma mark - AFURLResponseSerialization\n\n- (id)responseObjectForResponse:(NSURLResponse *)response\n                           data:(NSData *)data\n                          error:(NSError *__autoreleasing *)error\n{\n    if (![self validateResponse:(NSHTTPURLResponse *)response data:data error:error]) {\n        if (!error || AFErrorOrUnderlyingErrorHasCodeInDomain(*error, NSURLErrorCannotDecodeContentData, AFURLResponseSerializationErrorDomain)) {\n            return nil;\n        }\n    }\n\n    NSError *serializationError = nil;\n    NSXMLDocument *document = [[NSXMLDocument alloc] initWithData:data options:self.options error:&serializationError];\n\n    if (!document)\n    {\n        if (error) {\n            *error = AFErrorWithUnderlyingError(serializationError, *error);\n        }\n        return nil;\n    }\n    \n    return document;\n}\n\n#pragma mark - NSSecureCoding\n\n- (instancetype)initWithCoder:(NSCoder *)decoder {\n    self = [super initWithCoder:decoder];\n    if (!self) {\n        return nil;\n    }\n\n    self.options = [[decoder decodeObjectOfClass:[NSNumber class] forKey:NSStringFromSelector(@selector(options))] unsignedIntegerValue];\n\n    return self;\n}\n\n- (void)encodeWithCoder:(NSCoder *)coder {\n    [super encodeWithCoder:coder];\n\n    [coder encodeObject:@(self.options) forKey:NSStringFromSelector(@selector(options))];\n}\n\n#pragma mark - NSCopying\n\n- (instancetype)copyWithZone:(NSZone *)zone {\n    AFXMLDocumentResponseSerializer *serializer = [super copyWithZone:zone];\n    serializer.options = self.options;\n\n    return serializer;\n}\n\n@end\n\n#endif\n\n#pragma mark -\n\n@implementation AFPropertyListResponseSerializer\n\n+ (instancetype)serializer {\n    return [self serializerWithFormat:NSPropertyListXMLFormat_v1_0 readOptions:0];\n}\n\n+ (instancetype)serializerWithFormat:(NSPropertyListFormat)format\n                         readOptions:(NSPropertyListReadOptions)readOptions\n{\n    AFPropertyListResponseSerializer *serializer = [[self alloc] init];\n    serializer.format = format;\n    serializer.readOptions = readOptions;\n\n    return serializer;\n}\n\n- (instancetype)init {\n    self = [super init];\n    if (!self) {\n        return nil;\n    }\n\n    self.acceptableContentTypes = [[NSSet alloc] initWithObjects:@\"application/x-plist\", nil];\n\n    return self;\n}\n\n#pragma mark - AFURLResponseSerialization\n\n- (id)responseObjectForResponse:(NSURLResponse *)response\n                           data:(NSData *)data\n                          error:(NSError *__autoreleasing *)error\n{\n    if (![self validateResponse:(NSHTTPURLResponse *)response data:data error:error]) {\n        if (!error || AFErrorOrUnderlyingErrorHasCodeInDomain(*error, NSURLErrorCannotDecodeContentData, AFURLResponseSerializationErrorDomain)) {\n            return nil;\n        }\n    }\n\n    if (!data) {\n        return nil;\n    }\n    \n    NSError *serializationError = nil;\n    \n    id responseObject = [NSPropertyListSerialization propertyListWithData:data options:self.readOptions format:NULL error:&serializationError];\n    \n    if (!responseObject)\n    {\n        if (error) {\n            *error = AFErrorWithUnderlyingError(serializationError, *error);\n        }\n        return nil;\n    }\n\n    return responseObject;\n}\n\n#pragma mark - NSSecureCoding\n\n- (instancetype)initWithCoder:(NSCoder *)decoder {\n    self = [super initWithCoder:decoder];\n    if (!self) {\n        return nil;\n    }\n\n    self.format = (NSPropertyListFormat)[[decoder decodeObjectOfClass:[NSNumber class] forKey:NSStringFromSelector(@selector(format))] unsignedIntegerValue];\n    self.readOptions = [[decoder decodeObjectOfClass:[NSNumber class] forKey:NSStringFromSelector(@selector(readOptions))] unsignedIntegerValue];\n\n    return self;\n}\n\n- (void)encodeWithCoder:(NSCoder *)coder {\n    [super encodeWithCoder:coder];\n\n    [coder encodeObject:@(self.format) forKey:NSStringFromSelector(@selector(format))];\n    [coder encodeObject:@(self.readOptions) forKey:NSStringFromSelector(@selector(readOptions))];\n}\n\n#pragma mark - NSCopying\n\n- (instancetype)copyWithZone:(NSZone *)zone {\n    AFPropertyListResponseSerializer *serializer = [super copyWithZone:zone];\n    serializer.format = self.format;\n    serializer.readOptions = self.readOptions;\n\n    return serializer;\n}\n\n@end\n\n#pragma mark -\n\n#if TARGET_OS_IOS || TARGET_OS_TV || TARGET_OS_WATCH\n#import <CoreGraphics/CoreGraphics.h>\n#import <UIKit/UIKit.h>\n\n@interface UIImage (AFNetworkingSafeImageLoading)\n+ (UIImage *)af_safeImageWithData:(NSData *)data;\n@end\n\nstatic NSLock* imageLock = nil;\n\n@implementation UIImage (AFNetworkingSafeImageLoading)\n\n+ (UIImage *)af_safeImageWithData:(NSData *)data {\n    UIImage* image = nil;\n    static dispatch_once_t onceToken;\n    dispatch_once(&onceToken, ^{\n        imageLock = [[NSLock alloc] init];\n    });\n    \n    [imageLock lock];\n    image = [UIImage imageWithData:data];\n    [imageLock unlock];\n    return image;\n}\n\n@end\n\nstatic UIImage * AFImageWithDataAtScale(NSData *data, CGFloat scale) {\n    UIImage *image = [UIImage af_safeImageWithData:data];\n    if (image.images) {\n        return image;\n    }\n    \n    return [[UIImage alloc] initWithCGImage:[image CGImage] scale:scale orientation:image.imageOrientation];\n}\n\nstatic UIImage * AFInflatedImageFromResponseWithDataAtScale(NSHTTPURLResponse *response, NSData *data, CGFloat scale) {\n    if (!data || [data length] == 0) {\n        return nil;\n    }\n\n    CGImageRef imageRef = NULL;\n    CGDataProviderRef dataProvider = CGDataProviderCreateWithCFData((__bridge CFDataRef)data);\n\n    if ([response.MIMEType isEqualToString:@\"image/png\"]) {\n        imageRef = CGImageCreateWithPNGDataProvider(dataProvider,  NULL, true, kCGRenderingIntentDefault);\n    } else if ([response.MIMEType isEqualToString:@\"image/jpeg\"]) {\n        imageRef = CGImageCreateWithJPEGDataProvider(dataProvider, NULL, true, kCGRenderingIntentDefault);\n\n        if (imageRef) {\n            CGColorSpaceRef imageColorSpace = CGImageGetColorSpace(imageRef);\n            CGColorSpaceModel imageColorSpaceModel = CGColorSpaceGetModel(imageColorSpace);\n\n            // CGImageCreateWithJPEGDataProvider does not properly handle CMKY, so fall back to AFImageWithDataAtScale\n            if (imageColorSpaceModel == kCGColorSpaceModelCMYK) {\n                CGImageRelease(imageRef);\n                imageRef = NULL;\n            }\n        }\n    }\n\n    CGDataProviderRelease(dataProvider);\n\n    UIImage *image = AFImageWithDataAtScale(data, scale);\n    if (!imageRef) {\n        if (image.images || !image) {\n            return image;\n        }\n\n        imageRef = CGImageCreateCopy([image CGImage]);\n        if (!imageRef) {\n            return nil;\n        }\n    }\n\n    size_t width = CGImageGetWidth(imageRef);\n    size_t height = CGImageGetHeight(imageRef);\n    size_t bitsPerComponent = CGImageGetBitsPerComponent(imageRef);\n\n    if (width * height > 1024 * 1024 || bitsPerComponent > 8) {\n        CGImageRelease(imageRef);\n\n        return image;\n    }\n\n    // CGImageGetBytesPerRow() calculates incorrectly in iOS 5.0, so defer to CGBitmapContextCreate\n    size_t bytesPerRow = 0;\n    CGColorSpaceRef colorSpace = CGColorSpaceCreateDeviceRGB();\n    CGColorSpaceModel colorSpaceModel = CGColorSpaceGetModel(colorSpace);\n    CGBitmapInfo bitmapInfo = CGImageGetBitmapInfo(imageRef);\n\n    if (colorSpaceModel == kCGColorSpaceModelRGB) {\n        uint32_t alpha = (bitmapInfo & kCGBitmapAlphaInfoMask);\n#pragma clang diagnostic push\n#pragma clang diagnostic ignored \"-Wassign-enum\"\n        if (alpha == kCGImageAlphaNone) {\n            bitmapInfo &= ~kCGBitmapAlphaInfoMask;\n            bitmapInfo |= kCGImageAlphaNoneSkipFirst;\n        } else if (!(alpha == kCGImageAlphaNoneSkipFirst || alpha == kCGImageAlphaNoneSkipLast)) {\n            bitmapInfo &= ~kCGBitmapAlphaInfoMask;\n            bitmapInfo |= kCGImageAlphaPremultipliedFirst;\n        }\n#pragma clang diagnostic pop\n    }\n\n    CGContextRef context = CGBitmapContextCreate(NULL, width, height, bitsPerComponent, bytesPerRow, colorSpace, bitmapInfo);\n\n    CGColorSpaceRelease(colorSpace);\n\n    if (!context) {\n        CGImageRelease(imageRef);\n\n        return image;\n    }\n\n    CGContextDrawImage(context, CGRectMake(0.0f, 0.0f, width, height), imageRef);\n    CGImageRef inflatedImageRef = CGBitmapContextCreateImage(context);\n\n    CGContextRelease(context);\n\n    UIImage *inflatedImage = [[UIImage alloc] initWithCGImage:inflatedImageRef scale:scale orientation:image.imageOrientation];\n\n    CGImageRelease(inflatedImageRef);\n    CGImageRelease(imageRef);\n\n    return inflatedImage;\n}\n#endif\n\n\n@implementation AFImageResponseSerializer\n\n- (instancetype)init {\n    self = [super init];\n    if (!self) {\n        return nil;\n    }\n\n    self.acceptableContentTypes = [[NSSet alloc] initWithObjects:@\"image/tiff\", @\"image/jpeg\", @\"image/gif\", @\"image/png\", @\"image/ico\", @\"image/x-icon\", @\"image/bmp\", @\"image/x-bmp\", @\"image/x-xbitmap\", @\"image/x-win-bitmap\", nil];\n\n#if TARGET_OS_IOS || TARGET_OS_TV\n    self.imageScale = [[UIScreen mainScreen] scale];\n    self.automaticallyInflatesResponseImage = YES;\n#elif TARGET_OS_WATCH\n    self.imageScale = [[WKInterfaceDevice currentDevice] screenScale];\n    self.automaticallyInflatesResponseImage = YES;\n#endif\n\n    return self;\n}\n\n#pragma mark - AFURLResponseSerializer\n\n- (id)responseObjectForResponse:(NSURLResponse *)response\n                           data:(NSData *)data\n                          error:(NSError *__autoreleasing *)error\n{\n    if (![self validateResponse:(NSHTTPURLResponse *)response data:data error:error]) {\n        if (!error || AFErrorOrUnderlyingErrorHasCodeInDomain(*error, NSURLErrorCannotDecodeContentData, AFURLResponseSerializationErrorDomain)) {\n            return nil;\n        }\n    }\n\n#if TARGET_OS_IOS || TARGET_OS_TV || TARGET_OS_WATCH\n    if (self.automaticallyInflatesResponseImage) {\n        return AFInflatedImageFromResponseWithDataAtScale((NSHTTPURLResponse *)response, data, self.imageScale);\n    } else {\n        return AFImageWithDataAtScale(data, self.imageScale);\n    }\n#else\n    // Ensure that the image is set to it's correct pixel width and height\n    NSBitmapImageRep *bitimage = [[NSBitmapImageRep alloc] initWithData:data];\n    NSImage *image = [[NSImage alloc] initWithSize:NSMakeSize([bitimage pixelsWide], [bitimage pixelsHigh])];\n    [image addRepresentation:bitimage];\n\n    return image;\n#endif\n\n    return nil;\n}\n\n#pragma mark - NSSecureCoding\n\n- (instancetype)initWithCoder:(NSCoder *)decoder {\n    self = [super initWithCoder:decoder];\n    if (!self) {\n        return nil;\n    }\n\n#if TARGET_OS_IOS  || TARGET_OS_TV || TARGET_OS_WATCH\n    NSNumber *imageScale = [decoder decodeObjectOfClass:[NSNumber class] forKey:NSStringFromSelector(@selector(imageScale))];\n#if CGFLOAT_IS_DOUBLE\n    self.imageScale = [imageScale doubleValue];\n#else\n    self.imageScale = [imageScale floatValue];\n#endif\n\n    self.automaticallyInflatesResponseImage = [decoder decodeBoolForKey:NSStringFromSelector(@selector(automaticallyInflatesResponseImage))];\n#endif\n\n    return self;\n}\n\n- (void)encodeWithCoder:(NSCoder *)coder {\n    [super encodeWithCoder:coder];\n\n#if TARGET_OS_IOS || TARGET_OS_TV || TARGET_OS_WATCH\n    [coder encodeObject:@(self.imageScale) forKey:NSStringFromSelector(@selector(imageScale))];\n    [coder encodeBool:self.automaticallyInflatesResponseImage forKey:NSStringFromSelector(@selector(automaticallyInflatesResponseImage))];\n#endif\n}\n\n#pragma mark - NSCopying\n\n- (instancetype)copyWithZone:(NSZone *)zone {\n    AFImageResponseSerializer *serializer = [super copyWithZone:zone];\n\n#if TARGET_OS_IOS || TARGET_OS_TV || TARGET_OS_WATCH\n    serializer.imageScale = self.imageScale;\n    serializer.automaticallyInflatesResponseImage = self.automaticallyInflatesResponseImage;\n#endif\n\n    return serializer;\n}\n\n@end\n\n#pragma mark -\n\n@interface AFCompoundResponseSerializer ()\n@property (readwrite, nonatomic, copy) NSArray *responseSerializers;\n@end\n\n@implementation AFCompoundResponseSerializer\n\n+ (instancetype)compoundSerializerWithResponseSerializers:(NSArray *)responseSerializers {\n    AFCompoundResponseSerializer *serializer = [[self alloc] init];\n    serializer.responseSerializers = responseSerializers;\n\n    return serializer;\n}\n\n#pragma mark - AFURLResponseSerialization\n\n- (id)responseObjectForResponse:(NSURLResponse *)response\n                           data:(NSData *)data\n                          error:(NSError *__autoreleasing *)error\n{\n    for (id <AFURLResponseSerialization> serializer in self.responseSerializers) {\n        if (![serializer isKindOfClass:[AFHTTPResponseSerializer class]]) {\n            continue;\n        }\n\n        NSError *serializerError = nil;\n        id responseObject = [serializer responseObjectForResponse:response data:data error:&serializerError];\n        if (responseObject) {\n            if (error) {\n                *error = AFErrorWithUnderlyingError(serializerError, *error);\n            }\n\n            return responseObject;\n        }\n    }\n\n    return [super responseObjectForResponse:response data:data error:error];\n}\n\n#pragma mark - NSSecureCoding\n\n- (instancetype)initWithCoder:(NSCoder *)decoder {\n    self = [super initWithCoder:decoder];\n    if (!self) {\n        return nil;\n    }\n\n    self.responseSerializers = [decoder decodeObjectOfClass:[NSArray class] forKey:NSStringFromSelector(@selector(responseSerializers))];\n\n    return self;\n}\n\n- (void)encodeWithCoder:(NSCoder *)coder {\n    [super encodeWithCoder:coder];\n\n    [coder encodeObject:self.responseSerializers forKey:NSStringFromSelector(@selector(responseSerializers))];\n}\n\n#pragma mark - NSCopying\n\n- (instancetype)copyWithZone:(NSZone *)zone {\n    AFCompoundResponseSerializer *serializer = [super copyWithZone:zone];\n    serializer.responseSerializers = self.responseSerializers;\n\n    return serializer;\n}\n\n@end\n"
  },
  {
    "path": "CKMeiTuanShopView/Pods/AFNetworking/AFNetworking/AFURLSessionManager.h",
    "content": "// AFURLSessionManager.h\n// Copyright (c) 2011–2016 Alamofire Software Foundation ( http://alamofire.org/ )\n//\n// Permission is hereby granted, free of charge, to any person obtaining a copy\n// of this software and associated documentation files (the \"Software\"), to deal\n// in the Software without restriction, including without limitation the rights\n// to use, copy, modify, merge, publish, distribute, sublicense, and/or sell\n// copies of the Software, and to permit persons to whom the Software is\n// furnished to do so, subject to the following conditions:\n//\n// The above copyright notice and this permission notice shall be included in\n// all copies or substantial portions of the Software.\n//\n// THE SOFTWARE IS PROVIDED \"AS IS\", WITHOUT WARRANTY OF ANY KIND, EXPRESS OR\n// IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF MERCHANTABILITY,\n// FITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT. IN NO EVENT SHALL THE\n// AUTHORS OR COPYRIGHT HOLDERS BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER\n// LIABILITY, WHETHER IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING FROM,\n// OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN\n// THE SOFTWARE.\n\n\n#import <Foundation/Foundation.h>\n\n#import \"AFURLResponseSerialization.h\"\n#import \"AFURLRequestSerialization.h\"\n#import \"AFSecurityPolicy.h\"\n#import \"AFCompatibilityMacros.h\"\n#if !TARGET_OS_WATCH\n#import \"AFNetworkReachabilityManager.h\"\n#endif\n\n/**\n `AFURLSessionManager` creates and manages an `NSURLSession` object based on a specified `NSURLSessionConfiguration` object, which conforms to `<NSURLSessionTaskDelegate>`, `<NSURLSessionDataDelegate>`, `<NSURLSessionDownloadDelegate>`, and `<NSURLSessionDelegate>`.\n\n ## Subclassing Notes\n\n This is the base class for `AFHTTPSessionManager`, which adds functionality specific to making HTTP requests. If you are looking to extend `AFURLSessionManager` specifically for HTTP, consider subclassing `AFHTTPSessionManager` instead.\n\n ## NSURLSession & NSURLSessionTask Delegate Methods\n\n `AFURLSessionManager` implements the following delegate methods:\n\n ### `NSURLSessionDelegate`\n\n - `URLSession:didBecomeInvalidWithError:`\n - `URLSession:didReceiveChallenge:completionHandler:`\n - `URLSessionDidFinishEventsForBackgroundURLSession:`\n\n ### `NSURLSessionTaskDelegate`\n\n - `URLSession:willPerformHTTPRedirection:newRequest:completionHandler:`\n - `URLSession:task:didReceiveChallenge:completionHandler:`\n - `URLSession:task:didSendBodyData:totalBytesSent:totalBytesExpectedToSend:`\n - `URLSession:task:needNewBodyStream:`\n - `URLSession:task:didCompleteWithError:`\n\n ### `NSURLSessionDataDelegate`\n\n - `URLSession:dataTask:didReceiveResponse:completionHandler:`\n - `URLSession:dataTask:didBecomeDownloadTask:`\n - `URLSession:dataTask:didReceiveData:`\n - `URLSession:dataTask:willCacheResponse:completionHandler:`\n\n ### `NSURLSessionDownloadDelegate`\n\n - `URLSession:downloadTask:didFinishDownloadingToURL:`\n - `URLSession:downloadTask:didWriteData:totalBytesWritten:totalBytesWritten:totalBytesExpectedToWrite:`\n - `URLSession:downloadTask:didResumeAtOffset:expectedTotalBytes:`\n\n If any of these methods are overridden in a subclass, they _must_ call the `super` implementation first.\n\n ## Network Reachability Monitoring\n\n Network reachability status and change monitoring is available through the `reachabilityManager` property. Applications may choose to monitor network reachability conditions in order to prevent or suspend any outbound requests. See `AFNetworkReachabilityManager` for more details.\n\n ## NSCoding Caveats\n\n - Encoded managers do not include any block properties. Be sure to set delegate callback blocks when using `-initWithCoder:` or `NSKeyedUnarchiver`.\n\n ## NSCopying Caveats\n\n - `-copy` and `-copyWithZone:` return a new manager with a new `NSURLSession` created from the configuration of the original.\n - Operation copies do not include any delegate callback blocks, as they often strongly captures a reference to `self`, which would otherwise have the unintuitive side-effect of pointing to the _original_ session manager when copied.\n\n @warning Managers for background sessions must be owned for the duration of their use. This can be accomplished by creating an application-wide or shared singleton instance.\n */\n\nNS_ASSUME_NONNULL_BEGIN\n\n@interface AFURLSessionManager : NSObject <NSURLSessionDelegate, NSURLSessionTaskDelegate, NSURLSessionDataDelegate, NSURLSessionDownloadDelegate, NSSecureCoding, NSCopying>\n\n/**\n The managed session.\n */\n@property (readonly, nonatomic, strong) NSURLSession *session;\n\n/**\n The operation queue on which delegate callbacks are run.\n */\n@property (readonly, nonatomic, strong) NSOperationQueue *operationQueue;\n\n/**\n Responses sent from the server in data tasks created with `dataTaskWithRequest:success:failure:` and run using the `GET` / `POST` / et al. convenience methods are automatically validated and serialized by the response serializer. By default, this property is set to an instance of `AFJSONResponseSerializer`.\n\n @warning `responseSerializer` must not be `nil`.\n */\n@property (nonatomic, strong) id <AFURLResponseSerialization> responseSerializer;\n\n///-------------------------------\n/// @name Managing Security Policy\n///-------------------------------\n\n/**\n The security policy used by created session to evaluate server trust for secure connections. `AFURLSessionManager` uses the `defaultPolicy` unless otherwise specified.\n */\n@property (nonatomic, strong) AFSecurityPolicy *securityPolicy;\n\n#if !TARGET_OS_WATCH\n///--------------------------------------\n/// @name Monitoring Network Reachability\n///--------------------------------------\n\n/**\n The network reachability manager. `AFURLSessionManager` uses the `sharedManager` by default.\n */\n@property (readwrite, nonatomic, strong) AFNetworkReachabilityManager *reachabilityManager;\n#endif\n\n///----------------------------\n/// @name Getting Session Tasks\n///----------------------------\n\n/**\n The data, upload, and download tasks currently run by the managed session.\n */\n@property (readonly, nonatomic, strong) NSArray <NSURLSessionTask *> *tasks;\n\n/**\n The data tasks currently run by the managed session.\n */\n@property (readonly, nonatomic, strong) NSArray <NSURLSessionDataTask *> *dataTasks;\n\n/**\n The upload tasks currently run by the managed session.\n */\n@property (readonly, nonatomic, strong) NSArray <NSURLSessionUploadTask *> *uploadTasks;\n\n/**\n The download tasks currently run by the managed session.\n */\n@property (readonly, nonatomic, strong) NSArray <NSURLSessionDownloadTask *> *downloadTasks;\n\n///-------------------------------\n/// @name Managing Callback Queues\n///-------------------------------\n\n/**\n The dispatch queue for `completionBlock`. If `NULL` (default), the main queue is used.\n */\n@property (nonatomic, strong, nullable) dispatch_queue_t completionQueue;\n\n/**\n The dispatch group for `completionBlock`. If `NULL` (default), a private dispatch group is used.\n */\n@property (nonatomic, strong, nullable) dispatch_group_t completionGroup;\n\n///---------------------------------\n/// @name Working Around System Bugs\n///---------------------------------\n\n/**\n Whether to attempt to retry creation of upload tasks for background sessions when initial call returns `nil`. `NO` by default.\n\n @bug As of iOS 7.0, there is a bug where upload tasks created for background tasks are sometimes `nil`. As a workaround, if this property is `YES`, AFNetworking will follow Apple's recommendation to try creating the task again.\n\n @see https://github.com/AFNetworking/AFNetworking/issues/1675\n */\n@property (nonatomic, assign) BOOL attemptsToRecreateUploadTasksForBackgroundSessions;\n\n///---------------------\n/// @name Initialization\n///---------------------\n\n/**\n Creates and returns a manager for a session created with the specified configuration. This is the designated initializer.\n\n @param configuration The configuration used to create the managed session.\n\n @return A manager for a newly-created session.\n */\n- (instancetype)initWithSessionConfiguration:(nullable NSURLSessionConfiguration *)configuration NS_DESIGNATED_INITIALIZER;\n\n/**\n Invalidates the managed session, optionally canceling pending tasks.\n\n @param cancelPendingTasks Whether or not to cancel pending tasks.\n */\n- (void)invalidateSessionCancelingTasks:(BOOL)cancelPendingTasks;\n\n///-------------------------\n/// @name Running Data Tasks\n///-------------------------\n\n/**\n Creates an `NSURLSessionDataTask` with the specified request.\n\n @param request The HTTP request for the request.\n @param completionHandler A block object to be executed when the task finishes. This block has no return value and takes three arguments: the server response, the response object created by that serializer, and the error that occurred, if any.\n */\n- (NSURLSessionDataTask *)dataTaskWithRequest:(NSURLRequest *)request\n                            completionHandler:(nullable void (^)(NSURLResponse *response, id _Nullable responseObject,  NSError * _Nullable error))completionHandler DEPRECATED_ATTRIBUTE;\n\n/**\n Creates an `NSURLSessionDataTask` with the specified request.\n\n @param request The HTTP request for the request.\n @param uploadProgressBlock A block object to be executed when the upload progress is updated. Note this block is called on the session queue, not the main queue.\n @param downloadProgressBlock A block object to be executed when the download progress is updated. Note this block is called on the session queue, not the main queue.\n @param completionHandler A block object to be executed when the task finishes. This block has no return value and takes three arguments: the server response, the response object created by that serializer, and the error that occurred, if any.\n */\n- (NSURLSessionDataTask *)dataTaskWithRequest:(NSURLRequest *)request\n                               uploadProgress:(nullable void (^)(NSProgress *uploadProgress))uploadProgressBlock\n                             downloadProgress:(nullable void (^)(NSProgress *downloadProgress))downloadProgressBlock\n                            completionHandler:(nullable void (^)(NSURLResponse *response, id _Nullable responseObject,  NSError * _Nullable error))completionHandler;\n\n///---------------------------\n/// @name Running Upload Tasks\n///---------------------------\n\n/**\n Creates an `NSURLSessionUploadTask` with the specified request for a local file.\n\n @param request The HTTP request for the request.\n @param fileURL A URL to the local file to be uploaded.\n @param uploadProgressBlock A block object to be executed when the upload progress is updated. Note this block is called on the session queue, not the main queue.\n @param completionHandler A block object to be executed when the task finishes. This block has no return value and takes three arguments: the server response, the response object created by that serializer, and the error that occurred, if any.\n\n @see `attemptsToRecreateUploadTasksForBackgroundSessions`\n */\n- (NSURLSessionUploadTask *)uploadTaskWithRequest:(NSURLRequest *)request\n                                         fromFile:(NSURL *)fileURL\n                                         progress:(nullable void (^)(NSProgress *uploadProgress))uploadProgressBlock\n                                completionHandler:(nullable void (^)(NSURLResponse *response, id _Nullable responseObject, NSError  * _Nullable error))completionHandler;\n\n/**\n Creates an `NSURLSessionUploadTask` with the specified request for an HTTP body.\n\n @param request The HTTP request for the request.\n @param bodyData A data object containing the HTTP body to be uploaded.\n @param uploadProgressBlock A block object to be executed when the upload progress is updated. Note this block is called on the session queue, not the main queue.\n @param completionHandler A block object to be executed when the task finishes. This block has no return value and takes three arguments: the server response, the response object created by that serializer, and the error that occurred, if any.\n */\n- (NSURLSessionUploadTask *)uploadTaskWithRequest:(NSURLRequest *)request\n                                         fromData:(nullable NSData *)bodyData\n                                         progress:(nullable void (^)(NSProgress *uploadProgress))uploadProgressBlock\n                                completionHandler:(nullable void (^)(NSURLResponse *response, id _Nullable responseObject, NSError * _Nullable error))completionHandler;\n\n/**\n Creates an `NSURLSessionUploadTask` with the specified streaming request.\n\n @param request The HTTP request for the request.\n @param uploadProgressBlock A block object to be executed when the upload progress is updated. Note this block is called on the session queue, not the main queue.\n @param completionHandler A block object to be executed when the task finishes. This block has no return value and takes three arguments: the server response, the response object created by that serializer, and the error that occurred, if any.\n */\n- (NSURLSessionUploadTask *)uploadTaskWithStreamedRequest:(NSURLRequest *)request\n                                                 progress:(nullable void (^)(NSProgress *uploadProgress))uploadProgressBlock\n                                        completionHandler:(nullable void (^)(NSURLResponse *response, id _Nullable responseObject, NSError * _Nullable error))completionHandler;\n\n///-----------------------------\n/// @name Running Download Tasks\n///-----------------------------\n\n/**\n Creates an `NSURLSessionDownloadTask` with the specified request.\n\n @param request The HTTP request for the request.\n @param downloadProgressBlock A block object to be executed when the download progress is updated. Note this block is called on the session queue, not the main queue.\n @param destination A block object to be executed in order to determine the destination of the downloaded file. This block takes two arguments, the target path & the server response, and returns the desired file URL of the resulting download. The temporary file used during the download will be automatically deleted after being moved to the returned URL.\n @param completionHandler A block to be executed when a task finishes. This block has no return value and takes three arguments: the server response, the path of the downloaded file, and the error describing the network or parsing error that occurred, if any.\n\n @warning If using a background `NSURLSessionConfiguration` on iOS, these blocks will be lost when the app is terminated. Background sessions may prefer to use `-setDownloadTaskDidFinishDownloadingBlock:` to specify the URL for saving the downloaded file, rather than the destination block of this method.\n */\n- (NSURLSessionDownloadTask *)downloadTaskWithRequest:(NSURLRequest *)request\n                                             progress:(nullable void (^)(NSProgress *downloadProgress))downloadProgressBlock\n                                          destination:(nullable NSURL * (^)(NSURL *targetPath, NSURLResponse *response))destination\n                                    completionHandler:(nullable void (^)(NSURLResponse *response, NSURL * _Nullable filePath, NSError * _Nullable error))completionHandler;\n\n/**\n Creates an `NSURLSessionDownloadTask` with the specified resume data.\n\n @param resumeData The data used to resume downloading.\n @param downloadProgressBlock A block object to be executed when the download progress is updated. Note this block is called on the session queue, not the main queue.\n @param destination A block object to be executed in order to determine the destination of the downloaded file. This block takes two arguments, the target path & the server response, and returns the desired file URL of the resulting download. The temporary file used during the download will be automatically deleted after being moved to the returned URL.\n @param completionHandler A block to be executed when a task finishes. This block has no return value and takes three arguments: the server response, the path of the downloaded file, and the error describing the network or parsing error that occurred, if any.\n */\n- (NSURLSessionDownloadTask *)downloadTaskWithResumeData:(NSData *)resumeData\n                                                progress:(nullable void (^)(NSProgress *downloadProgress))downloadProgressBlock\n                                             destination:(nullable NSURL * (^)(NSURL *targetPath, NSURLResponse *response))destination\n                                       completionHandler:(nullable void (^)(NSURLResponse *response, NSURL * _Nullable filePath, NSError * _Nullable error))completionHandler;\n\n///---------------------------------\n/// @name Getting Progress for Tasks\n///---------------------------------\n\n/**\n Returns the upload progress of the specified task.\n\n @param task The session task. Must not be `nil`.\n\n @return An `NSProgress` object reporting the upload progress of a task, or `nil` if the progress is unavailable.\n */\n- (nullable NSProgress *)uploadProgressForTask:(NSURLSessionTask *)task;\n\n/**\n Returns the download progress of the specified task.\n\n @param task The session task. Must not be `nil`.\n\n @return An `NSProgress` object reporting the download progress of a task, or `nil` if the progress is unavailable.\n */\n- (nullable NSProgress *)downloadProgressForTask:(NSURLSessionTask *)task;\n\n///-----------------------------------------\n/// @name Setting Session Delegate Callbacks\n///-----------------------------------------\n\n/**\n Sets a block to be executed when the managed session becomes invalid, as handled by the `NSURLSessionDelegate` method `URLSession:didBecomeInvalidWithError:`.\n\n @param block A block object to be executed when the managed session becomes invalid. The block has no return value, and takes two arguments: the session, and the error related to the cause of invalidation.\n */\n- (void)setSessionDidBecomeInvalidBlock:(nullable void (^)(NSURLSession *session, NSError *error))block;\n\n/**\n Sets a block to be executed when a connection level authentication challenge has occurred, as handled by the `NSURLSessionDelegate` method `URLSession:didReceiveChallenge:completionHandler:`.\n\n @param block A block object to be executed when a connection level authentication challenge has occurred. The block returns the disposition of the authentication challenge, and takes three arguments: the session, the authentication challenge, and a pointer to the credential that should be used to resolve the challenge.\n */\n- (void)setSessionDidReceiveAuthenticationChallengeBlock:(nullable NSURLSessionAuthChallengeDisposition (^)(NSURLSession *session, NSURLAuthenticationChallenge *challenge, NSURLCredential * _Nullable __autoreleasing * _Nullable credential))block;\n\n///--------------------------------------\n/// @name Setting Task Delegate Callbacks\n///--------------------------------------\n\n/**\n Sets a block to be executed when a task requires a new request body stream to send to the remote server, as handled by the `NSURLSessionTaskDelegate` method `URLSession:task:needNewBodyStream:`.\n\n @param block A block object to be executed when a task requires a new request body stream.\n */\n- (void)setTaskNeedNewBodyStreamBlock:(nullable NSInputStream * (^)(NSURLSession *session, NSURLSessionTask *task))block;\n\n/**\n Sets a block to be executed when an HTTP request is attempting to perform a redirection to a different URL, as handled by the `NSURLSessionTaskDelegate` method `URLSession:willPerformHTTPRedirection:newRequest:completionHandler:`.\n\n @param block A block object to be executed when an HTTP request is attempting to perform a redirection to a different URL. The block returns the request to be made for the redirection, and takes four arguments: the session, the task, the redirection response, and the request corresponding to the redirection response.\n */\n- (void)setTaskWillPerformHTTPRedirectionBlock:(nullable NSURLRequest * _Nullable (^)(NSURLSession *session, NSURLSessionTask *task, NSURLResponse *response, NSURLRequest *request))block;\n\n/**\n Sets a block to be executed when a session task has received a request specific authentication challenge, as handled by the `NSURLSessionTaskDelegate` method `URLSession:task:didReceiveChallenge:completionHandler:`.\n\n @param block A block object to be executed when a session task has received a request specific authentication challenge. The block returns the disposition of the authentication challenge, and takes four arguments: the session, the task, the authentication challenge, and a pointer to the credential that should be used to resolve the challenge.\n */\n- (void)setTaskDidReceiveAuthenticationChallengeBlock:(nullable NSURLSessionAuthChallengeDisposition (^)(NSURLSession *session, NSURLSessionTask *task, NSURLAuthenticationChallenge *challenge, NSURLCredential * _Nullable __autoreleasing * _Nullable credential))block;\n\n/**\n Sets a block to be executed periodically to track upload progress, as handled by the `NSURLSessionTaskDelegate` method `URLSession:task:didSendBodyData:totalBytesSent:totalBytesExpectedToSend:`.\n\n @param block A block object to be called when an undetermined number of bytes have been uploaded to the server. This block has no return value and takes five arguments: the session, the task, the number of bytes written since the last time the upload progress block was called, the total bytes written, and the total bytes expected to be written during the request, as initially determined by the length of the HTTP body. This block may be called multiple times, and will execute on the main thread.\n */\n- (void)setTaskDidSendBodyDataBlock:(nullable void (^)(NSURLSession *session, NSURLSessionTask *task, int64_t bytesSent, int64_t totalBytesSent, int64_t totalBytesExpectedToSend))block;\n\n/**\n Sets a block to be executed as the last message related to a specific task, as handled by the `NSURLSessionTaskDelegate` method `URLSession:task:didCompleteWithError:`.\n\n @param block A block object to be executed when a session task is completed. The block has no return value, and takes three arguments: the session, the task, and any error that occurred in the process of executing the task.\n */\n- (void)setTaskDidCompleteBlock:(nullable void (^)(NSURLSession *session, NSURLSessionTask *task, NSError * _Nullable error))block;\n\n///-------------------------------------------\n/// @name Setting Data Task Delegate Callbacks\n///-------------------------------------------\n\n/**\n Sets a block to be executed when a data task has received a response, as handled by the `NSURLSessionDataDelegate` method `URLSession:dataTask:didReceiveResponse:completionHandler:`.\n\n @param block A block object to be executed when a data task has received a response. The block returns the disposition of the session response, and takes three arguments: the session, the data task, and the received response.\n */\n- (void)setDataTaskDidReceiveResponseBlock:(nullable NSURLSessionResponseDisposition (^)(NSURLSession *session, NSURLSessionDataTask *dataTask, NSURLResponse *response))block;\n\n/**\n Sets a block to be executed when a data task has become a download task, as handled by the `NSURLSessionDataDelegate` method `URLSession:dataTask:didBecomeDownloadTask:`.\n\n @param block A block object to be executed when a data task has become a download task. The block has no return value, and takes three arguments: the session, the data task, and the download task it has become.\n */\n- (void)setDataTaskDidBecomeDownloadTaskBlock:(nullable void (^)(NSURLSession *session, NSURLSessionDataTask *dataTask, NSURLSessionDownloadTask *downloadTask))block;\n\n/**\n Sets a block to be executed when a data task receives data, as handled by the `NSURLSessionDataDelegate` method `URLSession:dataTask:didReceiveData:`.\n\n @param block A block object to be called when an undetermined number of bytes have been downloaded from the server. This block has no return value and takes three arguments: the session, the data task, and the data received. This block may be called multiple times, and will execute on the session manager operation queue.\n */\n- (void)setDataTaskDidReceiveDataBlock:(nullable void (^)(NSURLSession *session, NSURLSessionDataTask *dataTask, NSData *data))block;\n\n/**\n Sets a block to be executed to determine the caching behavior of a data task, as handled by the `NSURLSessionDataDelegate` method `URLSession:dataTask:willCacheResponse:completionHandler:`.\n\n @param block A block object to be executed to determine the caching behavior of a data task. The block returns the response to cache, and takes three arguments: the session, the data task, and the proposed cached URL response.\n */\n- (void)setDataTaskWillCacheResponseBlock:(nullable NSCachedURLResponse * (^)(NSURLSession *session, NSURLSessionDataTask *dataTask, NSCachedURLResponse *proposedResponse))block;\n\n/**\n Sets a block to be executed once all messages enqueued for a session have been delivered, as handled by the `NSURLSessionDataDelegate` method `URLSessionDidFinishEventsForBackgroundURLSession:`.\n\n @param block A block object to be executed once all messages enqueued for a session have been delivered. The block has no return value and takes a single argument: the session.\n */\n- (void)setDidFinishEventsForBackgroundURLSessionBlock:(nullable void (^)(NSURLSession *session))block AF_API_UNAVAILABLE(macos);\n\n///-----------------------------------------------\n/// @name Setting Download Task Delegate Callbacks\n///-----------------------------------------------\n\n/**\n Sets a block to be executed when a download task has completed a download, as handled by the `NSURLSessionDownloadDelegate` method `URLSession:downloadTask:didFinishDownloadingToURL:`.\n\n @param block A block object to be executed when a download task has completed. The block returns the URL the download should be moved to, and takes three arguments: the session, the download task, and the temporary location of the downloaded file. If the file manager encounters an error while attempting to move the temporary file to the destination, an `AFURLSessionDownloadTaskDidFailToMoveFileNotification` will be posted, with the download task as its object, and the user info of the error.\n */\n- (void)setDownloadTaskDidFinishDownloadingBlock:(nullable NSURL * _Nullable  (^)(NSURLSession *session, NSURLSessionDownloadTask *downloadTask, NSURL *location))block;\n\n/**\n Sets a block to be executed periodically to track download progress, as handled by the `NSURLSessionDownloadDelegate` method `URLSession:downloadTask:didWriteData:totalBytesWritten:totalBytesWritten:totalBytesExpectedToWrite:`.\n\n @param block A block object to be called when an undetermined number of bytes have been downloaded from the server. This block has no return value and takes five arguments: the session, the download task, the number of bytes read since the last time the download progress block was called, the total bytes read, and the total bytes expected to be read during the request, as initially determined by the expected content size of the `NSHTTPURLResponse` object. This block may be called multiple times, and will execute on the session manager operation queue.\n */\n- (void)setDownloadTaskDidWriteDataBlock:(nullable void (^)(NSURLSession *session, NSURLSessionDownloadTask *downloadTask, int64_t bytesWritten, int64_t totalBytesWritten, int64_t totalBytesExpectedToWrite))block;\n\n/**\n Sets a block to be executed when a download task has been resumed, as handled by the `NSURLSessionDownloadDelegate` method `URLSession:downloadTask:didResumeAtOffset:expectedTotalBytes:`.\n\n @param block A block object to be executed when a download task has been resumed. The block has no return value and takes four arguments: the session, the download task, the file offset of the resumed download, and the total number of bytes expected to be downloaded.\n */\n- (void)setDownloadTaskDidResumeBlock:(nullable void (^)(NSURLSession *session, NSURLSessionDownloadTask *downloadTask, int64_t fileOffset, int64_t expectedTotalBytes))block;\n\n@end\n\n///--------------------\n/// @name Notifications\n///--------------------\n\n/**\n Posted when a task resumes.\n */\nFOUNDATION_EXPORT NSString * const AFNetworkingTaskDidResumeNotification;\n\n/**\n Posted when a task finishes executing. Includes a userInfo dictionary with additional information about the task.\n */\nFOUNDATION_EXPORT NSString * const AFNetworkingTaskDidCompleteNotification;\n\n/**\n Posted when a task suspends its execution.\n */\nFOUNDATION_EXPORT NSString * const AFNetworkingTaskDidSuspendNotification;\n\n/**\n Posted when a session is invalidated.\n */\nFOUNDATION_EXPORT NSString * const AFURLSessionDidInvalidateNotification;\n\n/**\n Posted when a session download task encountered an error when moving the temporary download file to a specified destination.\n */\nFOUNDATION_EXPORT NSString * const AFURLSessionDownloadTaskDidFailToMoveFileNotification;\n\n/**\n The raw response data of the task. Included in the userInfo dictionary of the `AFNetworkingTaskDidCompleteNotification` if response data exists for the task.\n */\nFOUNDATION_EXPORT NSString * const AFNetworkingTaskDidCompleteResponseDataKey;\n\n/**\n The serialized response object of the task. Included in the userInfo dictionary of the `AFNetworkingTaskDidCompleteNotification` if the response was serialized.\n */\nFOUNDATION_EXPORT NSString * const AFNetworkingTaskDidCompleteSerializedResponseKey;\n\n/**\n The response serializer used to serialize the response. Included in the userInfo dictionary of the `AFNetworkingTaskDidCompleteNotification` if the task has an associated response serializer.\n */\nFOUNDATION_EXPORT NSString * const AFNetworkingTaskDidCompleteResponseSerializerKey;\n\n/**\n The file path associated with the download task. Included in the userInfo dictionary of the `AFNetworkingTaskDidCompleteNotification` if an the response data has been stored directly to disk.\n */\nFOUNDATION_EXPORT NSString * const AFNetworkingTaskDidCompleteAssetPathKey;\n\n/**\n Any error associated with the task, or the serialization of the response. Included in the userInfo dictionary of the `AFNetworkingTaskDidCompleteNotification` if an error exists.\n */\nFOUNDATION_EXPORT NSString * const AFNetworkingTaskDidCompleteErrorKey;\n\nNS_ASSUME_NONNULL_END\n"
  },
  {
    "path": "CKMeiTuanShopView/Pods/AFNetworking/AFNetworking/AFURLSessionManager.m",
    "content": "// AFURLSessionManager.m\n// Copyright (c) 2011–2016 Alamofire Software Foundation ( http://alamofire.org/ )\n//\n// Permission is hereby granted, free of charge, to any person obtaining a copy\n// of this software and associated documentation files (the \"Software\"), to deal\n// in the Software without restriction, including without limitation the rights\n// to use, copy, modify, merge, publish, distribute, sublicense, and/or sell\n// copies of the Software, and to permit persons to whom the Software is\n// furnished to do so, subject to the following conditions:\n//\n// The above copyright notice and this permission notice shall be included in\n// all copies or substantial portions of the Software.\n//\n// THE SOFTWARE IS PROVIDED \"AS IS\", WITHOUT WARRANTY OF ANY KIND, EXPRESS OR\n// IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF MERCHANTABILITY,\n// FITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT. IN NO EVENT SHALL THE\n// AUTHORS OR COPYRIGHT HOLDERS BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER\n// LIABILITY, WHETHER IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING FROM,\n// OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN\n// THE SOFTWARE.\n\n#import \"AFURLSessionManager.h\"\n#import <objc/runtime.h>\n\n#ifndef NSFoundationVersionNumber_iOS_8_0\n#define NSFoundationVersionNumber_With_Fixed_5871104061079552_bug 1140.11\n#else\n#define NSFoundationVersionNumber_With_Fixed_5871104061079552_bug NSFoundationVersionNumber_iOS_8_0\n#endif\n\nstatic dispatch_queue_t url_session_manager_creation_queue() {\n    static dispatch_queue_t af_url_session_manager_creation_queue;\n    static dispatch_once_t onceToken;\n    dispatch_once(&onceToken, ^{\n        af_url_session_manager_creation_queue = dispatch_queue_create(\"com.alamofire.networking.session.manager.creation\", DISPATCH_QUEUE_SERIAL);\n    });\n\n    return af_url_session_manager_creation_queue;\n}\n\nstatic void url_session_manager_create_task_safely(dispatch_block_t block) {\n    if (NSFoundationVersionNumber < NSFoundationVersionNumber_With_Fixed_5871104061079552_bug) {\n        // Fix of bug\n        // Open Radar:http://openradar.appspot.com/radar?id=5871104061079552 (status: Fixed in iOS8)\n        // Issue about:https://github.com/AFNetworking/AFNetworking/issues/2093\n        dispatch_sync(url_session_manager_creation_queue(), block);\n    } else {\n        block();\n    }\n}\n\nstatic dispatch_queue_t url_session_manager_processing_queue() {\n    static dispatch_queue_t af_url_session_manager_processing_queue;\n    static dispatch_once_t onceToken;\n    dispatch_once(&onceToken, ^{\n        af_url_session_manager_processing_queue = dispatch_queue_create(\"com.alamofire.networking.session.manager.processing\", DISPATCH_QUEUE_CONCURRENT);\n    });\n\n    return af_url_session_manager_processing_queue;\n}\n\nstatic dispatch_group_t url_session_manager_completion_group() {\n    static dispatch_group_t af_url_session_manager_completion_group;\n    static dispatch_once_t onceToken;\n    dispatch_once(&onceToken, ^{\n        af_url_session_manager_completion_group = dispatch_group_create();\n    });\n\n    return af_url_session_manager_completion_group;\n}\n\nNSString * const AFNetworkingTaskDidResumeNotification = @\"com.alamofire.networking.task.resume\";\nNSString * const AFNetworkingTaskDidCompleteNotification = @\"com.alamofire.networking.task.complete\";\nNSString * const AFNetworkingTaskDidSuspendNotification = @\"com.alamofire.networking.task.suspend\";\nNSString * const AFURLSessionDidInvalidateNotification = @\"com.alamofire.networking.session.invalidate\";\nNSString * const AFURLSessionDownloadTaskDidFailToMoveFileNotification = @\"com.alamofire.networking.session.download.file-manager-error\";\n\nNSString * const AFNetworkingTaskDidCompleteSerializedResponseKey = @\"com.alamofire.networking.task.complete.serializedresponse\";\nNSString * const AFNetworkingTaskDidCompleteResponseSerializerKey = @\"com.alamofire.networking.task.complete.responseserializer\";\nNSString * const AFNetworkingTaskDidCompleteResponseDataKey = @\"com.alamofire.networking.complete.finish.responsedata\";\nNSString * const AFNetworkingTaskDidCompleteErrorKey = @\"com.alamofire.networking.task.complete.error\";\nNSString * const AFNetworkingTaskDidCompleteAssetPathKey = @\"com.alamofire.networking.task.complete.assetpath\";\n\nstatic NSString * const AFURLSessionManagerLockName = @\"com.alamofire.networking.session.manager.lock\";\n\nstatic NSUInteger const AFMaximumNumberOfAttemptsToRecreateBackgroundSessionUploadTask = 3;\n\ntypedef void (^AFURLSessionDidBecomeInvalidBlock)(NSURLSession *session, NSError *error);\ntypedef NSURLSessionAuthChallengeDisposition (^AFURLSessionDidReceiveAuthenticationChallengeBlock)(NSURLSession *session, NSURLAuthenticationChallenge *challenge, NSURLCredential * __autoreleasing *credential);\n\ntypedef NSURLRequest * (^AFURLSessionTaskWillPerformHTTPRedirectionBlock)(NSURLSession *session, NSURLSessionTask *task, NSURLResponse *response, NSURLRequest *request);\ntypedef NSURLSessionAuthChallengeDisposition (^AFURLSessionTaskDidReceiveAuthenticationChallengeBlock)(NSURLSession *session, NSURLSessionTask *task, NSURLAuthenticationChallenge *challenge, NSURLCredential * __autoreleasing *credential);\ntypedef void (^AFURLSessionDidFinishEventsForBackgroundURLSessionBlock)(NSURLSession *session);\n\ntypedef NSInputStream * (^AFURLSessionTaskNeedNewBodyStreamBlock)(NSURLSession *session, NSURLSessionTask *task);\ntypedef void (^AFURLSessionTaskDidSendBodyDataBlock)(NSURLSession *session, NSURLSessionTask *task, int64_t bytesSent, int64_t totalBytesSent, int64_t totalBytesExpectedToSend);\ntypedef void (^AFURLSessionTaskDidCompleteBlock)(NSURLSession *session, NSURLSessionTask *task, NSError *error);\n\ntypedef NSURLSessionResponseDisposition (^AFURLSessionDataTaskDidReceiveResponseBlock)(NSURLSession *session, NSURLSessionDataTask *dataTask, NSURLResponse *response);\ntypedef void (^AFURLSessionDataTaskDidBecomeDownloadTaskBlock)(NSURLSession *session, NSURLSessionDataTask *dataTask, NSURLSessionDownloadTask *downloadTask);\ntypedef void (^AFURLSessionDataTaskDidReceiveDataBlock)(NSURLSession *session, NSURLSessionDataTask *dataTask, NSData *data);\ntypedef NSCachedURLResponse * (^AFURLSessionDataTaskWillCacheResponseBlock)(NSURLSession *session, NSURLSessionDataTask *dataTask, NSCachedURLResponse *proposedResponse);\n\ntypedef NSURL * (^AFURLSessionDownloadTaskDidFinishDownloadingBlock)(NSURLSession *session, NSURLSessionDownloadTask *downloadTask, NSURL *location);\ntypedef void (^AFURLSessionDownloadTaskDidWriteDataBlock)(NSURLSession *session, NSURLSessionDownloadTask *downloadTask, int64_t bytesWritten, int64_t totalBytesWritten, int64_t totalBytesExpectedToWrite);\ntypedef void (^AFURLSessionDownloadTaskDidResumeBlock)(NSURLSession *session, NSURLSessionDownloadTask *downloadTask, int64_t fileOffset, int64_t expectedTotalBytes);\ntypedef void (^AFURLSessionTaskProgressBlock)(NSProgress *);\n\ntypedef void (^AFURLSessionTaskCompletionHandler)(NSURLResponse *response, id responseObject, NSError *error);\n\n\n#pragma mark -\n\n@interface AFURLSessionManagerTaskDelegate : NSObject <NSURLSessionTaskDelegate, NSURLSessionDataDelegate, NSURLSessionDownloadDelegate>\n- (instancetype)initWithTask:(NSURLSessionTask *)task;\n@property (nonatomic, weak) AFURLSessionManager *manager;\n@property (nonatomic, strong) NSMutableData *mutableData;\n@property (nonatomic, strong) NSProgress *uploadProgress;\n@property (nonatomic, strong) NSProgress *downloadProgress;\n@property (nonatomic, copy) NSURL *downloadFileURL;\n@property (nonatomic, copy) AFURLSessionDownloadTaskDidFinishDownloadingBlock downloadTaskDidFinishDownloading;\n@property (nonatomic, copy) AFURLSessionTaskProgressBlock uploadProgressBlock;\n@property (nonatomic, copy) AFURLSessionTaskProgressBlock downloadProgressBlock;\n@property (nonatomic, copy) AFURLSessionTaskCompletionHandler completionHandler;\n@end\n\n@implementation AFURLSessionManagerTaskDelegate\n\n- (instancetype)initWithTask:(NSURLSessionTask *)task {\n    self = [super init];\n    if (!self) {\n        return nil;\n    }\n    \n    _mutableData = [NSMutableData data];\n    _uploadProgress = [[NSProgress alloc] initWithParent:nil userInfo:nil];\n    _downloadProgress = [[NSProgress alloc] initWithParent:nil userInfo:nil];\n    \n    __weak __typeof__(task) weakTask = task;\n    for (NSProgress *progress in @[ _uploadProgress, _downloadProgress ])\n    {\n        progress.totalUnitCount = NSURLSessionTransferSizeUnknown;\n        progress.cancellable = YES;\n        progress.cancellationHandler = ^{\n            [weakTask cancel];\n        };\n        progress.pausable = YES;\n        progress.pausingHandler = ^{\n            [weakTask suspend];\n        };\n#if AF_CAN_USE_AT_AVAILABLE\n        if (@available(iOS 9, macOS 10.11, *))\n#else\n        if ([progress respondsToSelector:@selector(setResumingHandler:)])\n#endif\n        {\n            progress.resumingHandler = ^{\n                [weakTask resume];\n            };\n        }\n        \n        [progress addObserver:self\n                   forKeyPath:NSStringFromSelector(@selector(fractionCompleted))\n                      options:NSKeyValueObservingOptionNew\n                      context:NULL];\n    }\n    return self;\n}\n\n- (void)dealloc {\n    [self.downloadProgress removeObserver:self forKeyPath:NSStringFromSelector(@selector(fractionCompleted))];\n    [self.uploadProgress removeObserver:self forKeyPath:NSStringFromSelector(@selector(fractionCompleted))];\n}\n\n#pragma mark - NSProgress Tracking\n\n- (void)observeValueForKeyPath:(NSString *)keyPath ofObject:(id)object change:(NSDictionary<NSString *,id> *)change context:(void *)context {\n   if ([object isEqual:self.downloadProgress]) {\n        if (self.downloadProgressBlock) {\n            self.downloadProgressBlock(object);\n        }\n    }\n    else if ([object isEqual:self.uploadProgress]) {\n        if (self.uploadProgressBlock) {\n            self.uploadProgressBlock(object);\n        }\n    }\n}\n\n#pragma mark - NSURLSessionTaskDelegate\n\n- (void)URLSession:(__unused NSURLSession *)session\n              task:(NSURLSessionTask *)task\ndidCompleteWithError:(NSError *)error\n{\n    __strong AFURLSessionManager *manager = self.manager;\n\n    __block id responseObject = nil;\n\n    __block NSMutableDictionary *userInfo = [NSMutableDictionary dictionary];\n    userInfo[AFNetworkingTaskDidCompleteResponseSerializerKey] = manager.responseSerializer;\n\n    //Performance Improvement from #2672\n    NSData *data = nil;\n    if (self.mutableData) {\n        data = [self.mutableData copy];\n        //We no longer need the reference, so nil it out to gain back some memory.\n        self.mutableData = nil;\n    }\n\n    if (self.downloadFileURL) {\n        userInfo[AFNetworkingTaskDidCompleteAssetPathKey] = self.downloadFileURL;\n    } else if (data) {\n        userInfo[AFNetworkingTaskDidCompleteResponseDataKey] = data;\n    }\n\n    if (error) {\n        userInfo[AFNetworkingTaskDidCompleteErrorKey] = error;\n\n        dispatch_group_async(manager.completionGroup ?: url_session_manager_completion_group(), manager.completionQueue ?: dispatch_get_main_queue(), ^{\n            if (self.completionHandler) {\n                self.completionHandler(task.response, responseObject, error);\n            }\n\n            dispatch_async(dispatch_get_main_queue(), ^{\n                [[NSNotificationCenter defaultCenter] postNotificationName:AFNetworkingTaskDidCompleteNotification object:task userInfo:userInfo];\n            });\n        });\n    } else {\n        dispatch_async(url_session_manager_processing_queue(), ^{\n            NSError *serializationError = nil;\n            responseObject = [manager.responseSerializer responseObjectForResponse:task.response data:data error:&serializationError];\n\n            if (self.downloadFileURL) {\n                responseObject = self.downloadFileURL;\n            }\n\n            if (responseObject) {\n                userInfo[AFNetworkingTaskDidCompleteSerializedResponseKey] = responseObject;\n            }\n\n            if (serializationError) {\n                userInfo[AFNetworkingTaskDidCompleteErrorKey] = serializationError;\n            }\n\n            dispatch_group_async(manager.completionGroup ?: url_session_manager_completion_group(), manager.completionQueue ?: dispatch_get_main_queue(), ^{\n                if (self.completionHandler) {\n                    self.completionHandler(task.response, responseObject, serializationError);\n                }\n\n                dispatch_async(dispatch_get_main_queue(), ^{\n                    [[NSNotificationCenter defaultCenter] postNotificationName:AFNetworkingTaskDidCompleteNotification object:task userInfo:userInfo];\n                });\n            });\n        });\n    }\n}\n\n#pragma mark - NSURLSessionDataDelegate\n\n- (void)URLSession:(__unused NSURLSession *)session\n          dataTask:(__unused NSURLSessionDataTask *)dataTask\n    didReceiveData:(NSData *)data\n{\n    self.downloadProgress.totalUnitCount = dataTask.countOfBytesExpectedToReceive;\n    self.downloadProgress.completedUnitCount = dataTask.countOfBytesReceived;\n\n    [self.mutableData appendData:data];\n}\n\n- (void)URLSession:(NSURLSession *)session task:(NSURLSessionTask *)task\n   didSendBodyData:(int64_t)bytesSent\n    totalBytesSent:(int64_t)totalBytesSent\ntotalBytesExpectedToSend:(int64_t)totalBytesExpectedToSend{\n    \n    self.uploadProgress.totalUnitCount = task.countOfBytesExpectedToSend;\n    self.uploadProgress.completedUnitCount = task.countOfBytesSent;\n}\n\n#pragma mark - NSURLSessionDownloadDelegate\n\n- (void)URLSession:(NSURLSession *)session downloadTask:(NSURLSessionDownloadTask *)downloadTask\n      didWriteData:(int64_t)bytesWritten\n totalBytesWritten:(int64_t)totalBytesWritten\ntotalBytesExpectedToWrite:(int64_t)totalBytesExpectedToWrite{\n    \n    self.downloadProgress.totalUnitCount = totalBytesExpectedToWrite;\n    self.downloadProgress.completedUnitCount = totalBytesWritten;\n}\n\n- (void)URLSession:(NSURLSession *)session downloadTask:(NSURLSessionDownloadTask *)downloadTask\n didResumeAtOffset:(int64_t)fileOffset\nexpectedTotalBytes:(int64_t)expectedTotalBytes{\n    \n    self.downloadProgress.totalUnitCount = expectedTotalBytes;\n    self.downloadProgress.completedUnitCount = fileOffset;\n}\n\n- (void)URLSession:(NSURLSession *)session\n      downloadTask:(NSURLSessionDownloadTask *)downloadTask\ndidFinishDownloadingToURL:(NSURL *)location\n{\n    self.downloadFileURL = nil;\n\n    if (self.downloadTaskDidFinishDownloading) {\n        self.downloadFileURL = self.downloadTaskDidFinishDownloading(session, downloadTask, location);\n        if (self.downloadFileURL) {\n            NSError *fileManagerError = nil;\n\n            if (![[NSFileManager defaultManager] moveItemAtURL:location toURL:self.downloadFileURL error:&fileManagerError]) {\n                [[NSNotificationCenter defaultCenter] postNotificationName:AFURLSessionDownloadTaskDidFailToMoveFileNotification object:downloadTask userInfo:fileManagerError.userInfo];\n            }\n        }\n    }\n}\n\n@end\n\n#pragma mark -\n\n/**\n *  A workaround for issues related to key-value observing the `state` of an `NSURLSessionTask`.\n *\n *  See:\n *  - https://github.com/AFNetworking/AFNetworking/issues/1477\n *  - https://github.com/AFNetworking/AFNetworking/issues/2638\n *  - https://github.com/AFNetworking/AFNetworking/pull/2702\n */\n\nstatic inline void af_swizzleSelector(Class theClass, SEL originalSelector, SEL swizzledSelector) {\n    Method originalMethod = class_getInstanceMethod(theClass, originalSelector);\n    Method swizzledMethod = class_getInstanceMethod(theClass, swizzledSelector);\n    method_exchangeImplementations(originalMethod, swizzledMethod);\n}\n\nstatic inline BOOL af_addMethod(Class theClass, SEL selector, Method method) {\n    return class_addMethod(theClass, selector,  method_getImplementation(method),  method_getTypeEncoding(method));\n}\n\nstatic NSString * const AFNSURLSessionTaskDidResumeNotification  = @\"com.alamofire.networking.nsurlsessiontask.resume\";\nstatic NSString * const AFNSURLSessionTaskDidSuspendNotification = @\"com.alamofire.networking.nsurlsessiontask.suspend\";\n\n@interface _AFURLSessionTaskSwizzling : NSObject\n\n@end\n\n@implementation _AFURLSessionTaskSwizzling\n\n+ (void)load {\n    /**\n     WARNING: Trouble Ahead\n     https://github.com/AFNetworking/AFNetworking/pull/2702\n     */\n\n    if (NSClassFromString(@\"NSURLSessionTask\")) {\n        /**\n         iOS 7 and iOS 8 differ in NSURLSessionTask implementation, which makes the next bit of code a bit tricky.\n         Many Unit Tests have been built to validate as much of this behavior has possible.\n         Here is what we know:\n            - NSURLSessionTasks are implemented with class clusters, meaning the class you request from the API isn't actually the type of class you will get back.\n            - Simply referencing `[NSURLSessionTask class]` will not work. You need to ask an `NSURLSession` to actually create an object, and grab the class from there.\n            - On iOS 7, `localDataTask` is a `__NSCFLocalDataTask`, which inherits from `__NSCFLocalSessionTask`, which inherits from `__NSCFURLSessionTask`.\n            - On iOS 8, `localDataTask` is a `__NSCFLocalDataTask`, which inherits from `__NSCFLocalSessionTask`, which inherits from `NSURLSessionTask`.\n            - On iOS 7, `__NSCFLocalSessionTask` and `__NSCFURLSessionTask` are the only two classes that have their own implementations of `resume` and `suspend`, and `__NSCFLocalSessionTask` DOES NOT CALL SUPER. This means both classes need to be swizzled.\n            - On iOS 8, `NSURLSessionTask` is the only class that implements `resume` and `suspend`. This means this is the only class that needs to be swizzled.\n            - Because `NSURLSessionTask` is not involved in the class hierarchy for every version of iOS, its easier to add the swizzled methods to a dummy class and manage them there.\n        \n         Some Assumptions:\n            - No implementations of `resume` or `suspend` call super. If this were to change in a future version of iOS, we'd need to handle it.\n            - No background task classes override `resume` or `suspend`\n         \n         The current solution:\n            1) Grab an instance of `__NSCFLocalDataTask` by asking an instance of `NSURLSession` for a data task.\n            2) Grab a pointer to the original implementation of `af_resume`\n            3) Check to see if the current class has an implementation of resume. If so, continue to step 4.\n            4) Grab the super class of the current class.\n            5) Grab a pointer for the current class to the current implementation of `resume`.\n            6) Grab a pointer for the super class to the current implementation of `resume`.\n            7) If the current class implementation of `resume` is not equal to the super class implementation of `resume` AND the current implementation of `resume` is not equal to the original implementation of `af_resume`, THEN swizzle the methods\n            8) Set the current class to the super class, and repeat steps 3-8\n         */\n        NSURLSessionConfiguration *configuration = [NSURLSessionConfiguration ephemeralSessionConfiguration];\n        NSURLSession * session = [NSURLSession sessionWithConfiguration:configuration];\n#pragma GCC diagnostic push\n#pragma GCC diagnostic ignored \"-Wnonnull\"\n        NSURLSessionDataTask *localDataTask = [session dataTaskWithURL:nil];\n#pragma clang diagnostic pop\n        IMP originalAFResumeIMP = method_getImplementation(class_getInstanceMethod([self class], @selector(af_resume)));\n        Class currentClass = [localDataTask class];\n        \n        while (class_getInstanceMethod(currentClass, @selector(resume))) {\n            Class superClass = [currentClass superclass];\n            IMP classResumeIMP = method_getImplementation(class_getInstanceMethod(currentClass, @selector(resume)));\n            IMP superclassResumeIMP = method_getImplementation(class_getInstanceMethod(superClass, @selector(resume)));\n            if (classResumeIMP != superclassResumeIMP &&\n                originalAFResumeIMP != classResumeIMP) {\n                [self swizzleResumeAndSuspendMethodForClass:currentClass];\n            }\n            currentClass = [currentClass superclass];\n        }\n        \n        [localDataTask cancel];\n        [session finishTasksAndInvalidate];\n    }\n}\n\n+ (void)swizzleResumeAndSuspendMethodForClass:(Class)theClass {\n    Method afResumeMethod = class_getInstanceMethod(self, @selector(af_resume));\n    Method afSuspendMethod = class_getInstanceMethod(self, @selector(af_suspend));\n\n    if (af_addMethod(theClass, @selector(af_resume), afResumeMethod)) {\n        af_swizzleSelector(theClass, @selector(resume), @selector(af_resume));\n    }\n\n    if (af_addMethod(theClass, @selector(af_suspend), afSuspendMethod)) {\n        af_swizzleSelector(theClass, @selector(suspend), @selector(af_suspend));\n    }\n}\n\n- (NSURLSessionTaskState)state {\n    NSAssert(NO, @\"State method should never be called in the actual dummy class\");\n    return NSURLSessionTaskStateCanceling;\n}\n\n- (void)af_resume {\n    NSAssert([self respondsToSelector:@selector(state)], @\"Does not respond to state\");\n    NSURLSessionTaskState state = [self state];\n    [self af_resume];\n    \n    if (state != NSURLSessionTaskStateRunning) {\n        [[NSNotificationCenter defaultCenter] postNotificationName:AFNSURLSessionTaskDidResumeNotification object:self];\n    }\n}\n\n- (void)af_suspend {\n    NSAssert([self respondsToSelector:@selector(state)], @\"Does not respond to state\");\n    NSURLSessionTaskState state = [self state];\n    [self af_suspend];\n    \n    if (state != NSURLSessionTaskStateSuspended) {\n        [[NSNotificationCenter defaultCenter] postNotificationName:AFNSURLSessionTaskDidSuspendNotification object:self];\n    }\n}\n@end\n\n#pragma mark -\n\n@interface AFURLSessionManager ()\n@property (readwrite, nonatomic, strong) NSURLSessionConfiguration *sessionConfiguration;\n@property (readwrite, nonatomic, strong) NSOperationQueue *operationQueue;\n@property (readwrite, nonatomic, strong) NSURLSession *session;\n@property (readwrite, nonatomic, strong) NSMutableDictionary *mutableTaskDelegatesKeyedByTaskIdentifier;\n@property (readonly, nonatomic, copy) NSString *taskDescriptionForSessionTasks;\n@property (readwrite, nonatomic, strong) NSLock *lock;\n@property (readwrite, nonatomic, copy) AFURLSessionDidBecomeInvalidBlock sessionDidBecomeInvalid;\n@property (readwrite, nonatomic, copy) AFURLSessionDidReceiveAuthenticationChallengeBlock sessionDidReceiveAuthenticationChallenge;\n@property (readwrite, nonatomic, copy) AFURLSessionDidFinishEventsForBackgroundURLSessionBlock didFinishEventsForBackgroundURLSession AF_API_UNAVAILABLE(macos);\n@property (readwrite, nonatomic, copy) AFURLSessionTaskWillPerformHTTPRedirectionBlock taskWillPerformHTTPRedirection;\n@property (readwrite, nonatomic, copy) AFURLSessionTaskDidReceiveAuthenticationChallengeBlock taskDidReceiveAuthenticationChallenge;\n@property (readwrite, nonatomic, copy) AFURLSessionTaskNeedNewBodyStreamBlock taskNeedNewBodyStream;\n@property (readwrite, nonatomic, copy) AFURLSessionTaskDidSendBodyDataBlock taskDidSendBodyData;\n@property (readwrite, nonatomic, copy) AFURLSessionTaskDidCompleteBlock taskDidComplete;\n@property (readwrite, nonatomic, copy) AFURLSessionDataTaskDidReceiveResponseBlock dataTaskDidReceiveResponse;\n@property (readwrite, nonatomic, copy) AFURLSessionDataTaskDidBecomeDownloadTaskBlock dataTaskDidBecomeDownloadTask;\n@property (readwrite, nonatomic, copy) AFURLSessionDataTaskDidReceiveDataBlock dataTaskDidReceiveData;\n@property (readwrite, nonatomic, copy) AFURLSessionDataTaskWillCacheResponseBlock dataTaskWillCacheResponse;\n@property (readwrite, nonatomic, copy) AFURLSessionDownloadTaskDidFinishDownloadingBlock downloadTaskDidFinishDownloading;\n@property (readwrite, nonatomic, copy) AFURLSessionDownloadTaskDidWriteDataBlock downloadTaskDidWriteData;\n@property (readwrite, nonatomic, copy) AFURLSessionDownloadTaskDidResumeBlock downloadTaskDidResume;\n@end\n\n@implementation AFURLSessionManager\n\n- (instancetype)init {\n    return [self initWithSessionConfiguration:nil];\n}\n\n- (instancetype)initWithSessionConfiguration:(NSURLSessionConfiguration *)configuration {\n    self = [super init];\n    if (!self) {\n        return nil;\n    }\n\n    if (!configuration) {\n        configuration = [NSURLSessionConfiguration defaultSessionConfiguration];\n    }\n\n    self.sessionConfiguration = configuration;\n\n    self.operationQueue = [[NSOperationQueue alloc] init];\n    self.operationQueue.maxConcurrentOperationCount = 1;\n\n    self.session = [NSURLSession sessionWithConfiguration:self.sessionConfiguration delegate:self delegateQueue:self.operationQueue];\n\n    self.responseSerializer = [AFJSONResponseSerializer serializer];\n\n    self.securityPolicy = [AFSecurityPolicy defaultPolicy];\n\n#if !TARGET_OS_WATCH\n    self.reachabilityManager = [AFNetworkReachabilityManager sharedManager];\n#endif\n\n    self.mutableTaskDelegatesKeyedByTaskIdentifier = [[NSMutableDictionary alloc] init];\n\n    self.lock = [[NSLock alloc] init];\n    self.lock.name = AFURLSessionManagerLockName;\n\n    [self.session getTasksWithCompletionHandler:^(NSArray *dataTasks, NSArray *uploadTasks, NSArray *downloadTasks) {\n        for (NSURLSessionDataTask *task in dataTasks) {\n            [self addDelegateForDataTask:task uploadProgress:nil downloadProgress:nil completionHandler:nil];\n        }\n\n        for (NSURLSessionUploadTask *uploadTask in uploadTasks) {\n            [self addDelegateForUploadTask:uploadTask progress:nil completionHandler:nil];\n        }\n\n        for (NSURLSessionDownloadTask *downloadTask in downloadTasks) {\n            [self addDelegateForDownloadTask:downloadTask progress:nil destination:nil completionHandler:nil];\n        }\n    }];\n\n    return self;\n}\n\n- (void)dealloc {\n    [[NSNotificationCenter defaultCenter] removeObserver:self];\n}\n\n#pragma mark -\n\n- (NSString *)taskDescriptionForSessionTasks {\n    return [NSString stringWithFormat:@\"%p\", self];\n}\n\n- (void)taskDidResume:(NSNotification *)notification {\n    NSURLSessionTask *task = notification.object;\n    if ([task respondsToSelector:@selector(taskDescription)]) {\n        if ([task.taskDescription isEqualToString:self.taskDescriptionForSessionTasks]) {\n            dispatch_async(dispatch_get_main_queue(), ^{\n                [[NSNotificationCenter defaultCenter] postNotificationName:AFNetworkingTaskDidResumeNotification object:task];\n            });\n        }\n    }\n}\n\n- (void)taskDidSuspend:(NSNotification *)notification {\n    NSURLSessionTask *task = notification.object;\n    if ([task respondsToSelector:@selector(taskDescription)]) {\n        if ([task.taskDescription isEqualToString:self.taskDescriptionForSessionTasks]) {\n            dispatch_async(dispatch_get_main_queue(), ^{\n                [[NSNotificationCenter defaultCenter] postNotificationName:AFNetworkingTaskDidSuspendNotification object:task];\n            });\n        }\n    }\n}\n\n#pragma mark -\n\n- (AFURLSessionManagerTaskDelegate *)delegateForTask:(NSURLSessionTask *)task {\n    NSParameterAssert(task);\n\n    AFURLSessionManagerTaskDelegate *delegate = nil;\n    [self.lock lock];\n    delegate = self.mutableTaskDelegatesKeyedByTaskIdentifier[@(task.taskIdentifier)];\n    [self.lock unlock];\n\n    return delegate;\n}\n\n- (void)setDelegate:(AFURLSessionManagerTaskDelegate *)delegate\n            forTask:(NSURLSessionTask *)task\n{\n    NSParameterAssert(task);\n    NSParameterAssert(delegate);\n\n    [self.lock lock];\n    self.mutableTaskDelegatesKeyedByTaskIdentifier[@(task.taskIdentifier)] = delegate;\n    [self addNotificationObserverForTask:task];\n    [self.lock unlock];\n}\n\n- (void)addDelegateForDataTask:(NSURLSessionDataTask *)dataTask\n                uploadProgress:(nullable void (^)(NSProgress *uploadProgress)) uploadProgressBlock\n              downloadProgress:(nullable void (^)(NSProgress *downloadProgress)) downloadProgressBlock\n             completionHandler:(void (^)(NSURLResponse *response, id responseObject, NSError *error))completionHandler\n{\n    AFURLSessionManagerTaskDelegate *delegate = [[AFURLSessionManagerTaskDelegate alloc] initWithTask:dataTask];\n    delegate.manager = self;\n    delegate.completionHandler = completionHandler;\n\n    dataTask.taskDescription = self.taskDescriptionForSessionTasks;\n    [self setDelegate:delegate forTask:dataTask];\n\n    delegate.uploadProgressBlock = uploadProgressBlock;\n    delegate.downloadProgressBlock = downloadProgressBlock;\n}\n\n- (void)addDelegateForUploadTask:(NSURLSessionUploadTask *)uploadTask\n                        progress:(void (^)(NSProgress *uploadProgress)) uploadProgressBlock\n               completionHandler:(void (^)(NSURLResponse *response, id responseObject, NSError *error))completionHandler\n{\n    AFURLSessionManagerTaskDelegate *delegate = [[AFURLSessionManagerTaskDelegate alloc] initWithTask:uploadTask];\n    delegate.manager = self;\n    delegate.completionHandler = completionHandler;\n\n    uploadTask.taskDescription = self.taskDescriptionForSessionTasks;\n\n    [self setDelegate:delegate forTask:uploadTask];\n\n    delegate.uploadProgressBlock = uploadProgressBlock;\n}\n\n- (void)addDelegateForDownloadTask:(NSURLSessionDownloadTask *)downloadTask\n                          progress:(void (^)(NSProgress *downloadProgress)) downloadProgressBlock\n                       destination:(NSURL * (^)(NSURL *targetPath, NSURLResponse *response))destination\n                 completionHandler:(void (^)(NSURLResponse *response, NSURL *filePath, NSError *error))completionHandler\n{\n    AFURLSessionManagerTaskDelegate *delegate = [[AFURLSessionManagerTaskDelegate alloc] initWithTask:downloadTask];\n    delegate.manager = self;\n    delegate.completionHandler = completionHandler;\n\n    if (destination) {\n        delegate.downloadTaskDidFinishDownloading = ^NSURL * (NSURLSession * __unused session, NSURLSessionDownloadTask *task, NSURL *location) {\n            return destination(location, task.response);\n        };\n    }\n\n    downloadTask.taskDescription = self.taskDescriptionForSessionTasks;\n\n    [self setDelegate:delegate forTask:downloadTask];\n\n    delegate.downloadProgressBlock = downloadProgressBlock;\n}\n\n- (void)removeDelegateForTask:(NSURLSessionTask *)task {\n    NSParameterAssert(task);\n\n    [self.lock lock];\n    [self removeNotificationObserverForTask:task];\n    [self.mutableTaskDelegatesKeyedByTaskIdentifier removeObjectForKey:@(task.taskIdentifier)];\n    [self.lock unlock];\n}\n\n#pragma mark -\n\n- (NSArray *)tasksForKeyPath:(NSString *)keyPath {\n    __block NSArray *tasks = nil;\n    dispatch_semaphore_t semaphore = dispatch_semaphore_create(0);\n    [self.session getTasksWithCompletionHandler:^(NSArray *dataTasks, NSArray *uploadTasks, NSArray *downloadTasks) {\n        if ([keyPath isEqualToString:NSStringFromSelector(@selector(dataTasks))]) {\n            tasks = dataTasks;\n        } else if ([keyPath isEqualToString:NSStringFromSelector(@selector(uploadTasks))]) {\n            tasks = uploadTasks;\n        } else if ([keyPath isEqualToString:NSStringFromSelector(@selector(downloadTasks))]) {\n            tasks = downloadTasks;\n        } else if ([keyPath isEqualToString:NSStringFromSelector(@selector(tasks))]) {\n            tasks = [@[dataTasks, uploadTasks, downloadTasks] valueForKeyPath:@\"@unionOfArrays.self\"];\n        }\n\n        dispatch_semaphore_signal(semaphore);\n    }];\n\n    dispatch_semaphore_wait(semaphore, DISPATCH_TIME_FOREVER);\n\n    return tasks;\n}\n\n- (NSArray *)tasks {\n    return [self tasksForKeyPath:NSStringFromSelector(_cmd)];\n}\n\n- (NSArray *)dataTasks {\n    return [self tasksForKeyPath:NSStringFromSelector(_cmd)];\n}\n\n- (NSArray *)uploadTasks {\n    return [self tasksForKeyPath:NSStringFromSelector(_cmd)];\n}\n\n- (NSArray *)downloadTasks {\n    return [self tasksForKeyPath:NSStringFromSelector(_cmd)];\n}\n\n#pragma mark -\n\n- (void)invalidateSessionCancelingTasks:(BOOL)cancelPendingTasks {\n    if (cancelPendingTasks) {\n        [self.session invalidateAndCancel];\n    } else {\n        [self.session finishTasksAndInvalidate];\n    }\n}\n\n#pragma mark -\n\n- (void)setResponseSerializer:(id <AFURLResponseSerialization>)responseSerializer {\n    NSParameterAssert(responseSerializer);\n\n    _responseSerializer = responseSerializer;\n}\n\n#pragma mark -\n- (void)addNotificationObserverForTask:(NSURLSessionTask *)task {\n    [[NSNotificationCenter defaultCenter] addObserver:self selector:@selector(taskDidResume:) name:AFNSURLSessionTaskDidResumeNotification object:task];\n    [[NSNotificationCenter defaultCenter] addObserver:self selector:@selector(taskDidSuspend:) name:AFNSURLSessionTaskDidSuspendNotification object:task];\n}\n\n- (void)removeNotificationObserverForTask:(NSURLSessionTask *)task {\n    [[NSNotificationCenter defaultCenter] removeObserver:self name:AFNSURLSessionTaskDidSuspendNotification object:task];\n    [[NSNotificationCenter defaultCenter] removeObserver:self name:AFNSURLSessionTaskDidResumeNotification object:task];\n}\n\n#pragma mark -\n\n- (NSURLSessionDataTask *)dataTaskWithRequest:(NSURLRequest *)request\n                            completionHandler:(void (^)(NSURLResponse *response, id responseObject, NSError *error))completionHandler\n{\n    return [self dataTaskWithRequest:request uploadProgress:nil downloadProgress:nil completionHandler:completionHandler];\n}\n\n- (NSURLSessionDataTask *)dataTaskWithRequest:(NSURLRequest *)request\n                               uploadProgress:(nullable void (^)(NSProgress *uploadProgress)) uploadProgressBlock\n                             downloadProgress:(nullable void (^)(NSProgress *downloadProgress)) downloadProgressBlock\n                            completionHandler:(nullable void (^)(NSURLResponse *response, id _Nullable responseObject,  NSError * _Nullable error))completionHandler {\n\n    __block NSURLSessionDataTask *dataTask = nil;\n    url_session_manager_create_task_safely(^{\n        dataTask = [self.session dataTaskWithRequest:request];\n    });\n\n    [self addDelegateForDataTask:dataTask uploadProgress:uploadProgressBlock downloadProgress:downloadProgressBlock completionHandler:completionHandler];\n\n    return dataTask;\n}\n\n#pragma mark -\n\n- (NSURLSessionUploadTask *)uploadTaskWithRequest:(NSURLRequest *)request\n                                         fromFile:(NSURL *)fileURL\n                                         progress:(void (^)(NSProgress *uploadProgress)) uploadProgressBlock\n                                completionHandler:(void (^)(NSURLResponse *response, id responseObject, NSError *error))completionHandler\n{\n    __block NSURLSessionUploadTask *uploadTask = nil;\n    url_session_manager_create_task_safely(^{\n        uploadTask = [self.session uploadTaskWithRequest:request fromFile:fileURL];\n        \n        // uploadTask may be nil on iOS7 because uploadTaskWithRequest:fromFile: may return nil despite being documented as nonnull (https://devforums.apple.com/message/926113#926113)\n        if (!uploadTask && self.attemptsToRecreateUploadTasksForBackgroundSessions && self.session.configuration.identifier) {\n            for (NSUInteger attempts = 0; !uploadTask && attempts < AFMaximumNumberOfAttemptsToRecreateBackgroundSessionUploadTask; attempts++) {\n                uploadTask = [self.session uploadTaskWithRequest:request fromFile:fileURL];\n            }\n        }\n    });\n    \n    if (uploadTask) {\n        [self addDelegateForUploadTask:uploadTask\n                              progress:uploadProgressBlock\n                     completionHandler:completionHandler];\n    }\n\n    return uploadTask;\n}\n\n- (NSURLSessionUploadTask *)uploadTaskWithRequest:(NSURLRequest *)request\n                                         fromData:(NSData *)bodyData\n                                         progress:(void (^)(NSProgress *uploadProgress)) uploadProgressBlock\n                                completionHandler:(void (^)(NSURLResponse *response, id responseObject, NSError *error))completionHandler\n{\n    __block NSURLSessionUploadTask *uploadTask = nil;\n    url_session_manager_create_task_safely(^{\n        uploadTask = [self.session uploadTaskWithRequest:request fromData:bodyData];\n    });\n\n    [self addDelegateForUploadTask:uploadTask progress:uploadProgressBlock completionHandler:completionHandler];\n\n    return uploadTask;\n}\n\n- (NSURLSessionUploadTask *)uploadTaskWithStreamedRequest:(NSURLRequest *)request\n                                                 progress:(void (^)(NSProgress *uploadProgress)) uploadProgressBlock\n                                        completionHandler:(void (^)(NSURLResponse *response, id responseObject, NSError *error))completionHandler\n{\n    __block NSURLSessionUploadTask *uploadTask = nil;\n    url_session_manager_create_task_safely(^{\n        uploadTask = [self.session uploadTaskWithStreamedRequest:request];\n    });\n\n    [self addDelegateForUploadTask:uploadTask progress:uploadProgressBlock completionHandler:completionHandler];\n\n    return uploadTask;\n}\n\n#pragma mark -\n\n- (NSURLSessionDownloadTask *)downloadTaskWithRequest:(NSURLRequest *)request\n                                             progress:(void (^)(NSProgress *downloadProgress)) downloadProgressBlock\n                                          destination:(NSURL * (^)(NSURL *targetPath, NSURLResponse *response))destination\n                                    completionHandler:(void (^)(NSURLResponse *response, NSURL *filePath, NSError *error))completionHandler\n{\n    __block NSURLSessionDownloadTask *downloadTask = nil;\n    url_session_manager_create_task_safely(^{\n        downloadTask = [self.session downloadTaskWithRequest:request];\n    });\n\n    [self addDelegateForDownloadTask:downloadTask progress:downloadProgressBlock destination:destination completionHandler:completionHandler];\n\n    return downloadTask;\n}\n\n- (NSURLSessionDownloadTask *)downloadTaskWithResumeData:(NSData *)resumeData\n                                                progress:(void (^)(NSProgress *downloadProgress)) downloadProgressBlock\n                                             destination:(NSURL * (^)(NSURL *targetPath, NSURLResponse *response))destination\n                                       completionHandler:(void (^)(NSURLResponse *response, NSURL *filePath, NSError *error))completionHandler\n{\n    __block NSURLSessionDownloadTask *downloadTask = nil;\n    url_session_manager_create_task_safely(^{\n        downloadTask = [self.session downloadTaskWithResumeData:resumeData];\n    });\n\n    [self addDelegateForDownloadTask:downloadTask progress:downloadProgressBlock destination:destination completionHandler:completionHandler];\n\n    return downloadTask;\n}\n\n#pragma mark -\n- (NSProgress *)uploadProgressForTask:(NSURLSessionTask *)task {\n    return [[self delegateForTask:task] uploadProgress];\n}\n\n- (NSProgress *)downloadProgressForTask:(NSURLSessionTask *)task {\n    return [[self delegateForTask:task] downloadProgress];\n}\n\n#pragma mark -\n\n- (void)setSessionDidBecomeInvalidBlock:(void (^)(NSURLSession *session, NSError *error))block {\n    self.sessionDidBecomeInvalid = block;\n}\n\n- (void)setSessionDidReceiveAuthenticationChallengeBlock:(NSURLSessionAuthChallengeDisposition (^)(NSURLSession *session, NSURLAuthenticationChallenge *challenge, NSURLCredential * __autoreleasing *credential))block {\n    self.sessionDidReceiveAuthenticationChallenge = block;\n}\n\n#if !TARGET_OS_OSX\n- (void)setDidFinishEventsForBackgroundURLSessionBlock:(void (^)(NSURLSession *session))block {\n    self.didFinishEventsForBackgroundURLSession = block;\n}\n#endif\n\n#pragma mark -\n\n- (void)setTaskNeedNewBodyStreamBlock:(NSInputStream * (^)(NSURLSession *session, NSURLSessionTask *task))block {\n    self.taskNeedNewBodyStream = block;\n}\n\n- (void)setTaskWillPerformHTTPRedirectionBlock:(NSURLRequest * (^)(NSURLSession *session, NSURLSessionTask *task, NSURLResponse *response, NSURLRequest *request))block {\n    self.taskWillPerformHTTPRedirection = block;\n}\n\n- (void)setTaskDidReceiveAuthenticationChallengeBlock:(NSURLSessionAuthChallengeDisposition (^)(NSURLSession *session, NSURLSessionTask *task, NSURLAuthenticationChallenge *challenge, NSURLCredential * __autoreleasing *credential))block {\n    self.taskDidReceiveAuthenticationChallenge = block;\n}\n\n- (void)setTaskDidSendBodyDataBlock:(void (^)(NSURLSession *session, NSURLSessionTask *task, int64_t bytesSent, int64_t totalBytesSent, int64_t totalBytesExpectedToSend))block {\n    self.taskDidSendBodyData = block;\n}\n\n- (void)setTaskDidCompleteBlock:(void (^)(NSURLSession *session, NSURLSessionTask *task, NSError *error))block {\n    self.taskDidComplete = block;\n}\n\n#pragma mark -\n\n- (void)setDataTaskDidReceiveResponseBlock:(NSURLSessionResponseDisposition (^)(NSURLSession *session, NSURLSessionDataTask *dataTask, NSURLResponse *response))block {\n    self.dataTaskDidReceiveResponse = block;\n}\n\n- (void)setDataTaskDidBecomeDownloadTaskBlock:(void (^)(NSURLSession *session, NSURLSessionDataTask *dataTask, NSURLSessionDownloadTask *downloadTask))block {\n    self.dataTaskDidBecomeDownloadTask = block;\n}\n\n- (void)setDataTaskDidReceiveDataBlock:(void (^)(NSURLSession *session, NSURLSessionDataTask *dataTask, NSData *data))block {\n    self.dataTaskDidReceiveData = block;\n}\n\n- (void)setDataTaskWillCacheResponseBlock:(NSCachedURLResponse * (^)(NSURLSession *session, NSURLSessionDataTask *dataTask, NSCachedURLResponse *proposedResponse))block {\n    self.dataTaskWillCacheResponse = block;\n}\n\n#pragma mark -\n\n- (void)setDownloadTaskDidFinishDownloadingBlock:(NSURL * (^)(NSURLSession *session, NSURLSessionDownloadTask *downloadTask, NSURL *location))block {\n    self.downloadTaskDidFinishDownloading = block;\n}\n\n- (void)setDownloadTaskDidWriteDataBlock:(void (^)(NSURLSession *session, NSURLSessionDownloadTask *downloadTask, int64_t bytesWritten, int64_t totalBytesWritten, int64_t totalBytesExpectedToWrite))block {\n    self.downloadTaskDidWriteData = block;\n}\n\n- (void)setDownloadTaskDidResumeBlock:(void (^)(NSURLSession *session, NSURLSessionDownloadTask *downloadTask, int64_t fileOffset, int64_t expectedTotalBytes))block {\n    self.downloadTaskDidResume = block;\n}\n\n#pragma mark - NSObject\n\n- (NSString *)description {\n    return [NSString stringWithFormat:@\"<%@: %p, session: %@, operationQueue: %@>\", NSStringFromClass([self class]), self, self.session, self.operationQueue];\n}\n\n- (BOOL)respondsToSelector:(SEL)selector {\n    if (selector == @selector(URLSession:task:willPerformHTTPRedirection:newRequest:completionHandler:)) {\n        return self.taskWillPerformHTTPRedirection != nil;\n    } else if (selector == @selector(URLSession:dataTask:didReceiveResponse:completionHandler:)) {\n        return self.dataTaskDidReceiveResponse != nil;\n    } else if (selector == @selector(URLSession:dataTask:willCacheResponse:completionHandler:)) {\n        return self.dataTaskWillCacheResponse != nil;\n    }\n#if !TARGET_OS_OSX\n    else if (selector == @selector(URLSessionDidFinishEventsForBackgroundURLSession:)) {\n        return self.didFinishEventsForBackgroundURLSession != nil;\n    }\n#endif\n\n    return [[self class] instancesRespondToSelector:selector];\n}\n\n#pragma mark - NSURLSessionDelegate\n\n- (void)URLSession:(NSURLSession *)session\ndidBecomeInvalidWithError:(NSError *)error\n{\n    if (self.sessionDidBecomeInvalid) {\n        self.sessionDidBecomeInvalid(session, error);\n    }\n\n    [[NSNotificationCenter defaultCenter] postNotificationName:AFURLSessionDidInvalidateNotification object:session];\n}\n\n- (void)URLSession:(NSURLSession *)session\ndidReceiveChallenge:(NSURLAuthenticationChallenge *)challenge\n completionHandler:(void (^)(NSURLSessionAuthChallengeDisposition disposition, NSURLCredential *credential))completionHandler\n{\n    NSURLSessionAuthChallengeDisposition disposition = NSURLSessionAuthChallengePerformDefaultHandling;\n    __block NSURLCredential *credential = nil;\n\n    if (self.sessionDidReceiveAuthenticationChallenge) {\n        disposition = self.sessionDidReceiveAuthenticationChallenge(session, challenge, &credential);\n    } else {\n        if ([challenge.protectionSpace.authenticationMethod isEqualToString:NSURLAuthenticationMethodServerTrust]) {\n            if ([self.securityPolicy evaluateServerTrust:challenge.protectionSpace.serverTrust forDomain:challenge.protectionSpace.host]) {\n                credential = [NSURLCredential credentialForTrust:challenge.protectionSpace.serverTrust];\n                if (credential) {\n                    disposition = NSURLSessionAuthChallengeUseCredential;\n                } else {\n                    disposition = NSURLSessionAuthChallengePerformDefaultHandling;\n                }\n            } else {\n                disposition = NSURLSessionAuthChallengeCancelAuthenticationChallenge;\n            }\n        } else {\n            disposition = NSURLSessionAuthChallengePerformDefaultHandling;\n        }\n    }\n\n    if (completionHandler) {\n        completionHandler(disposition, credential);\n    }\n}\n\n#pragma mark - NSURLSessionTaskDelegate\n\n- (void)URLSession:(NSURLSession *)session\n              task:(NSURLSessionTask *)task\nwillPerformHTTPRedirection:(NSHTTPURLResponse *)response\n        newRequest:(NSURLRequest *)request\n completionHandler:(void (^)(NSURLRequest *))completionHandler\n{\n    NSURLRequest *redirectRequest = request;\n\n    if (self.taskWillPerformHTTPRedirection) {\n        redirectRequest = self.taskWillPerformHTTPRedirection(session, task, response, request);\n    }\n\n    if (completionHandler) {\n        completionHandler(redirectRequest);\n    }\n}\n\n- (void)URLSession:(NSURLSession *)session\n              task:(NSURLSessionTask *)task\ndidReceiveChallenge:(NSURLAuthenticationChallenge *)challenge\n completionHandler:(void (^)(NSURLSessionAuthChallengeDisposition disposition, NSURLCredential *credential))completionHandler\n{\n    NSURLSessionAuthChallengeDisposition disposition = NSURLSessionAuthChallengePerformDefaultHandling;\n    __block NSURLCredential *credential = nil;\n\n    if (self.taskDidReceiveAuthenticationChallenge) {\n        disposition = self.taskDidReceiveAuthenticationChallenge(session, task, challenge, &credential);\n    } else {\n        if ([challenge.protectionSpace.authenticationMethod isEqualToString:NSURLAuthenticationMethodServerTrust]) {\n            if ([self.securityPolicy evaluateServerTrust:challenge.protectionSpace.serverTrust forDomain:challenge.protectionSpace.host]) {\n                disposition = NSURLSessionAuthChallengeUseCredential;\n                credential = [NSURLCredential credentialForTrust:challenge.protectionSpace.serverTrust];\n            } else {\n                disposition = NSURLSessionAuthChallengeCancelAuthenticationChallenge;\n            }\n        } else {\n            disposition = NSURLSessionAuthChallengePerformDefaultHandling;\n        }\n    }\n\n    if (completionHandler) {\n        completionHandler(disposition, credential);\n    }\n}\n\n- (void)URLSession:(NSURLSession *)session\n              task:(NSURLSessionTask *)task\n needNewBodyStream:(void (^)(NSInputStream *bodyStream))completionHandler\n{\n    NSInputStream *inputStream = nil;\n\n    if (self.taskNeedNewBodyStream) {\n        inputStream = self.taskNeedNewBodyStream(session, task);\n    } else if (task.originalRequest.HTTPBodyStream && [task.originalRequest.HTTPBodyStream conformsToProtocol:@protocol(NSCopying)]) {\n        inputStream = [task.originalRequest.HTTPBodyStream copy];\n    }\n\n    if (completionHandler) {\n        completionHandler(inputStream);\n    }\n}\n\n- (void)URLSession:(NSURLSession *)session\n              task:(NSURLSessionTask *)task\n   didSendBodyData:(int64_t)bytesSent\n    totalBytesSent:(int64_t)totalBytesSent\ntotalBytesExpectedToSend:(int64_t)totalBytesExpectedToSend\n{\n\n    int64_t totalUnitCount = totalBytesExpectedToSend;\n    if(totalUnitCount == NSURLSessionTransferSizeUnknown) {\n        NSString *contentLength = [task.originalRequest valueForHTTPHeaderField:@\"Content-Length\"];\n        if(contentLength) {\n            totalUnitCount = (int64_t) [contentLength longLongValue];\n        }\n    }\n    \n    AFURLSessionManagerTaskDelegate *delegate = [self delegateForTask:task];\n    \n    if (delegate) {\n        [delegate URLSession:session task:task didSendBodyData:bytesSent totalBytesSent:totalBytesSent totalBytesExpectedToSend:totalBytesExpectedToSend];\n    }\n\n    if (self.taskDidSendBodyData) {\n        self.taskDidSendBodyData(session, task, bytesSent, totalBytesSent, totalUnitCount);\n    }\n}\n\n- (void)URLSession:(NSURLSession *)session\n              task:(NSURLSessionTask *)task\ndidCompleteWithError:(NSError *)error\n{\n    AFURLSessionManagerTaskDelegate *delegate = [self delegateForTask:task];\n\n    // delegate may be nil when completing a task in the background\n    if (delegate) {\n        [delegate URLSession:session task:task didCompleteWithError:error];\n\n        [self removeDelegateForTask:task];\n    }\n\n    if (self.taskDidComplete) {\n        self.taskDidComplete(session, task, error);\n    }\n}\n\n#pragma mark - NSURLSessionDataDelegate\n\n- (void)URLSession:(NSURLSession *)session\n          dataTask:(NSURLSessionDataTask *)dataTask\ndidReceiveResponse:(NSURLResponse *)response\n completionHandler:(void (^)(NSURLSessionResponseDisposition disposition))completionHandler\n{\n    NSURLSessionResponseDisposition disposition = NSURLSessionResponseAllow;\n\n    if (self.dataTaskDidReceiveResponse) {\n        disposition = self.dataTaskDidReceiveResponse(session, dataTask, response);\n    }\n\n    if (completionHandler) {\n        completionHandler(disposition);\n    }\n}\n\n- (void)URLSession:(NSURLSession *)session\n          dataTask:(NSURLSessionDataTask *)dataTask\ndidBecomeDownloadTask:(NSURLSessionDownloadTask *)downloadTask\n{\n    AFURLSessionManagerTaskDelegate *delegate = [self delegateForTask:dataTask];\n    if (delegate) {\n        [self removeDelegateForTask:dataTask];\n        [self setDelegate:delegate forTask:downloadTask];\n    }\n\n    if (self.dataTaskDidBecomeDownloadTask) {\n        self.dataTaskDidBecomeDownloadTask(session, dataTask, downloadTask);\n    }\n}\n\n- (void)URLSession:(NSURLSession *)session\n          dataTask:(NSURLSessionDataTask *)dataTask\n    didReceiveData:(NSData *)data\n{\n\n    AFURLSessionManagerTaskDelegate *delegate = [self delegateForTask:dataTask];\n    [delegate URLSession:session dataTask:dataTask didReceiveData:data];\n\n    if (self.dataTaskDidReceiveData) {\n        self.dataTaskDidReceiveData(session, dataTask, data);\n    }\n}\n\n- (void)URLSession:(NSURLSession *)session\n          dataTask:(NSURLSessionDataTask *)dataTask\n willCacheResponse:(NSCachedURLResponse *)proposedResponse\n completionHandler:(void (^)(NSCachedURLResponse *cachedResponse))completionHandler\n{\n    NSCachedURLResponse *cachedResponse = proposedResponse;\n\n    if (self.dataTaskWillCacheResponse) {\n        cachedResponse = self.dataTaskWillCacheResponse(session, dataTask, proposedResponse);\n    }\n\n    if (completionHandler) {\n        completionHandler(cachedResponse);\n    }\n}\n\n#if !TARGET_OS_OSX\n- (void)URLSessionDidFinishEventsForBackgroundURLSession:(NSURLSession *)session {\n    if (self.didFinishEventsForBackgroundURLSession) {\n        dispatch_async(dispatch_get_main_queue(), ^{\n            self.didFinishEventsForBackgroundURLSession(session);\n        });\n    }\n}\n#endif\n\n#pragma mark - NSURLSessionDownloadDelegate\n\n- (void)URLSession:(NSURLSession *)session\n      downloadTask:(NSURLSessionDownloadTask *)downloadTask\ndidFinishDownloadingToURL:(NSURL *)location\n{\n    AFURLSessionManagerTaskDelegate *delegate = [self delegateForTask:downloadTask];\n    if (self.downloadTaskDidFinishDownloading) {\n        NSURL *fileURL = self.downloadTaskDidFinishDownloading(session, downloadTask, location);\n        if (fileURL) {\n            delegate.downloadFileURL = fileURL;\n            NSError *error = nil;\n            \n            if (![[NSFileManager defaultManager] moveItemAtURL:location toURL:fileURL error:&error]) {\n                [[NSNotificationCenter defaultCenter] postNotificationName:AFURLSessionDownloadTaskDidFailToMoveFileNotification object:downloadTask userInfo:error.userInfo];\n            }\n\n            return;\n        }\n    }\n\n    if (delegate) {\n        [delegate URLSession:session downloadTask:downloadTask didFinishDownloadingToURL:location];\n    }\n}\n\n- (void)URLSession:(NSURLSession *)session\n      downloadTask:(NSURLSessionDownloadTask *)downloadTask\n      didWriteData:(int64_t)bytesWritten\n totalBytesWritten:(int64_t)totalBytesWritten\ntotalBytesExpectedToWrite:(int64_t)totalBytesExpectedToWrite\n{\n    \n    AFURLSessionManagerTaskDelegate *delegate = [self delegateForTask:downloadTask];\n    \n    if (delegate) {\n        [delegate URLSession:session downloadTask:downloadTask didWriteData:bytesWritten totalBytesWritten:totalBytesWritten totalBytesExpectedToWrite:totalBytesExpectedToWrite];\n    }\n\n    if (self.downloadTaskDidWriteData) {\n        self.downloadTaskDidWriteData(session, downloadTask, bytesWritten, totalBytesWritten, totalBytesExpectedToWrite);\n    }\n}\n\n- (void)URLSession:(NSURLSession *)session\n      downloadTask:(NSURLSessionDownloadTask *)downloadTask\n didResumeAtOffset:(int64_t)fileOffset\nexpectedTotalBytes:(int64_t)expectedTotalBytes\n{\n    \n    AFURLSessionManagerTaskDelegate *delegate = [self delegateForTask:downloadTask];\n    \n    if (delegate) {\n        [delegate URLSession:session downloadTask:downloadTask didResumeAtOffset:fileOffset expectedTotalBytes:expectedTotalBytes];\n    }\n\n    if (self.downloadTaskDidResume) {\n        self.downloadTaskDidResume(session, downloadTask, fileOffset, expectedTotalBytes);\n    }\n}\n\n#pragma mark - NSSecureCoding\n\n+ (BOOL)supportsSecureCoding {\n    return YES;\n}\n\n- (instancetype)initWithCoder:(NSCoder *)decoder {\n    NSURLSessionConfiguration *configuration = [decoder decodeObjectOfClass:[NSURLSessionConfiguration class] forKey:@\"sessionConfiguration\"];\n\n    self = [self initWithSessionConfiguration:configuration];\n    if (!self) {\n        return nil;\n    }\n\n    return self;\n}\n\n- (void)encodeWithCoder:(NSCoder *)coder {\n    [coder encodeObject:self.session.configuration forKey:@\"sessionConfiguration\"];\n}\n\n#pragma mark - NSCopying\n\n- (instancetype)copyWithZone:(NSZone *)zone {\n    return [[[self class] allocWithZone:zone] initWithSessionConfiguration:self.session.configuration];\n}\n\n@end\n"
  },
  {
    "path": "CKMeiTuanShopView/Pods/AFNetworking/LICENSE",
    "content": "Copyright (c) 2011-2016 Alamofire Software Foundation (http://alamofire.org/)\n\nPermission is hereby granted, free of charge, to any person obtaining a copy\nof this software and associated documentation files (the \"Software\"), to deal\nin the Software without restriction, including without limitation the rights\nto use, copy, modify, merge, publish, distribute, sublicense, and/or sell\ncopies of the Software, and to permit persons to whom the Software is\nfurnished to do so, subject to the following conditions:\n\nThe above copyright notice and this permission notice shall be included in\nall copies or substantial portions of the Software.\n\nTHE SOFTWARE IS PROVIDED \"AS IS\", WITHOUT WARRANTY OF ANY KIND, EXPRESS OR\nIMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF MERCHANTABILITY,\nFITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT. IN NO EVENT SHALL THE\nAUTHORS OR COPYRIGHT HOLDERS BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER\nLIABILITY, WHETHER IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING FROM,\nOUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN\nTHE SOFTWARE.\n"
  },
  {
    "path": "CKMeiTuanShopView/Pods/AFNetworking/README.md",
    "content": "<p align=\"center\" >\n  <img src=\"https://raw.github.com/AFNetworking/AFNetworking/assets/afnetworking-logo.png\" alt=\"AFNetworking\" title=\"AFNetworking\">\n</p>\n\n[![Build Status](https://travis-ci.org/AFNetworking/AFNetworking.svg)](https://travis-ci.org/AFNetworking/AFNetworking)\n[![codecov.io](https://codecov.io/github/AFNetworking/AFNetworking/coverage.svg?branch=master)](https://codecov.io/github/AFNetworking/AFNetworking?branch=master)\n[![CocoaPods Compatible](https://img.shields.io/cocoapods/v/AFNetworking.svg)](https://img.shields.io/cocoapods/v/AFNetworking.svg)\n[![Carthage Compatible](https://img.shields.io/badge/Carthage-compatible-4BC51D.svg?style=flat)](https://github.com/Carthage/Carthage)\n[![Platform](https://img.shields.io/cocoapods/p/AFNetworking.svg?style=flat)](http://cocoadocs.org/docsets/AFNetworking)\n[![Twitter](https://img.shields.io/badge/twitter-@AFNetworking-blue.svg?style=flat)](http://twitter.com/AFNetworking)\n\nAFNetworking is a delightful networking library for iOS, macOS, watchOS, and tvOS. It's built on top of the [Foundation URL Loading System](http://developer.apple.com/library/mac/#documentation/Cocoa/Conceptual/URLLoadingSystem/URLLoadingSystem.html), extending the powerful high-level networking abstractions built into Cocoa. It has a modular architecture with well-designed, feature-rich APIs that are a joy to use.\n\nPerhaps the most important feature of all, however, is the amazing community of developers who use and contribute to AFNetworking every day. AFNetworking powers some of the most popular and critically-acclaimed apps on the iPhone, iPad, and Mac.\n\nChoose AFNetworking for your next project, or migrate over your existing projects—you'll be happy you did!\n\n## How To Get Started\n\n- [Download AFNetworking](https://github.com/AFNetworking/AFNetworking/archive/master.zip) and try out the included Mac and iPhone example apps\n- Read the [\"Getting Started\" guide](https://github.com/AFNetworking/AFNetworking/wiki/Getting-Started-with-AFNetworking), [FAQ](https://github.com/AFNetworking/AFNetworking/wiki/AFNetworking-FAQ), or [other articles on the Wiki](https://github.com/AFNetworking/AFNetworking/wiki)\n- Check out the [documentation](http://cocoadocs.org/docsets/AFNetworking/) for a comprehensive look at all of the APIs available in AFNetworking\n- Read the [AFNetworking 3.0 Migration Guide](https://github.com/AFNetworking/AFNetworking/wiki/AFNetworking-3.0-Migration-Guide) for an overview of the architectural changes from 2.0.\n\n## Communication\n\n- If you **need help**, use [Stack Overflow](http://stackoverflow.com/questions/tagged/afnetworking). (Tag 'afnetworking')\n- If you'd like to **ask a general question**, use [Stack Overflow](http://stackoverflow.com/questions/tagged/afnetworking).\n- If you **found a bug**, _and can provide steps to reliably reproduce it_, open an issue.\n- If you **have a feature request**, open an issue.\n- If you **want to contribute**, submit a pull request.\n\n## Installation\nAFNetworking supports multiple methods for installing the library in a project.\n\n## Installation with CocoaPods\n\n[CocoaPods](http://cocoapods.org) is a dependency manager for Objective-C, which automates and simplifies the process of using 3rd-party libraries like AFNetworking in your projects. See the [\"Getting Started\" guide for more information](https://github.com/AFNetworking/AFNetworking/wiki/Getting-Started-with-AFNetworking). You can install it with the following command:\n\n```bash\n$ gem install cocoapods\n```\n\n> CocoaPods 0.39.0+ is required to build AFNetworking 3.0.0+.\n\n#### Podfile\n\nTo integrate AFNetworking into your Xcode project using CocoaPods, specify it in your `Podfile`:\n\n```ruby\nsource 'https://github.com/CocoaPods/Specs.git'\nplatform :ios, '8.0'\n\ntarget 'TargetName' do\npod 'AFNetworking', '~> 3.0'\nend\n```\n\nThen, run the following command:\n\n```bash\n$ pod install\n```\n\n### Installation with Carthage\n\n[Carthage](https://github.com/Carthage/Carthage) is a decentralized dependency manager that builds your dependencies and provides you with binary frameworks.\n\nYou can install Carthage with [Homebrew](http://brew.sh/) using the following command:\n\n```bash\n$ brew update\n$ brew install carthage\n```\n\nTo integrate AFNetworking into your Xcode project using Carthage, specify it in your `Cartfile`:\n\n```ogdl\ngithub \"AFNetworking/AFNetworking\" ~> 3.0\n```\n\nRun `carthage` to build the framework and drag the built `AFNetworking.framework` into your Xcode project.\n\n## Requirements\n\n| AFNetworking Version | Minimum iOS Target  | Minimum macOS Target  | Minimum watchOS Target  | Minimum tvOS Target  |                                   Notes                                   |\n|:--------------------:|:---------------------------:|:----------------------------:|:----------------------------:|:----------------------------:|:-------------------------------------------------------------------------:|\n| 3.x | iOS 7 | OS X 10.9 | watchOS 2.0 | tvOS 9.0 | Xcode 7+ is required. `NSURLConnectionOperation` support has been removed. |\n| 2.6 -> 2.6.3 | iOS 7 | OS X 10.9 | watchOS 2.0 | n/a | Xcode 7+ is required. |\n| 2.0 -> 2.5.4 | iOS 6 | OS X 10.8 | n/a | n/a | Xcode 5+ is required. `NSURLSession` subspec requires iOS 7 or OS X 10.9. |\n| 1.x | iOS 5 | Mac OS X 10.7 | n/a | n/a |\n| 0.10.x | iOS 4 | Mac OS X 10.6 | n/a | n/a |\n\n(macOS projects must support [64-bit with modern Cocoa runtime](https://developer.apple.com/library/mac/#documentation/Cocoa/Conceptual/ObjCRuntimeGuide/Articles/ocrtVersionsPlatforms.html)).\n\n> Programming in Swift? Try [Alamofire](https://github.com/Alamofire/Alamofire) for a more conventional set of APIs.\n\n## Architecture\n\n### NSURLSession\n\n- `AFURLSessionManager`\n- `AFHTTPSessionManager`\n\n### Serialization\n\n* `<AFURLRequestSerialization>`\n  - `AFHTTPRequestSerializer`\n  - `AFJSONRequestSerializer`\n  - `AFPropertyListRequestSerializer`\n* `<AFURLResponseSerialization>`\n  - `AFHTTPResponseSerializer`\n  - `AFJSONResponseSerializer`\n  - `AFXMLParserResponseSerializer`\n  - `AFXMLDocumentResponseSerializer` _(macOS)_\n  - `AFPropertyListResponseSerializer`\n  - `AFImageResponseSerializer`\n  - `AFCompoundResponseSerializer`\n\n### Additional Functionality\n\n- `AFSecurityPolicy`\n- `AFNetworkReachabilityManager`\n\n## Usage\n\n### AFURLSessionManager\n\n`AFURLSessionManager` creates and manages an `NSURLSession` object based on a specified `NSURLSessionConfiguration` object, which conforms to `<NSURLSessionTaskDelegate>`, `<NSURLSessionDataDelegate>`, `<NSURLSessionDownloadDelegate>`, and `<NSURLSessionDelegate>`.\n\n#### Creating a Download Task\n\n```objective-c\nNSURLSessionConfiguration *configuration = [NSURLSessionConfiguration defaultSessionConfiguration];\nAFURLSessionManager *manager = [[AFURLSessionManager alloc] initWithSessionConfiguration:configuration];\n\nNSURL *URL = [NSURL URLWithString:@\"http://example.com/download.zip\"];\nNSURLRequest *request = [NSURLRequest requestWithURL:URL];\n\nNSURLSessionDownloadTask *downloadTask = [manager downloadTaskWithRequest:request progress:nil destination:^NSURL *(NSURL *targetPath, NSURLResponse *response) {\n    NSURL *documentsDirectoryURL = [[NSFileManager defaultManager] URLForDirectory:NSDocumentDirectory inDomain:NSUserDomainMask appropriateForURL:nil create:NO error:nil];\n    return [documentsDirectoryURL URLByAppendingPathComponent:[response suggestedFilename]];\n} completionHandler:^(NSURLResponse *response, NSURL *filePath, NSError *error) {\n    NSLog(@\"File downloaded to: %@\", filePath);\n}];\n[downloadTask resume];\n```\n\n#### Creating an Upload Task\n\n```objective-c\nNSURLSessionConfiguration *configuration = [NSURLSessionConfiguration defaultSessionConfiguration];\nAFURLSessionManager *manager = [[AFURLSessionManager alloc] initWithSessionConfiguration:configuration];\n\nNSURL *URL = [NSURL URLWithString:@\"http://example.com/upload\"];\nNSURLRequest *request = [NSURLRequest requestWithURL:URL];\n\nNSURL *filePath = [NSURL fileURLWithPath:@\"file://path/to/image.png\"];\nNSURLSessionUploadTask *uploadTask = [manager uploadTaskWithRequest:request fromFile:filePath progress:nil completionHandler:^(NSURLResponse *response, id responseObject, NSError *error) {\n    if (error) {\n        NSLog(@\"Error: %@\", error);\n    } else {\n        NSLog(@\"Success: %@ %@\", response, responseObject);\n    }\n}];\n[uploadTask resume];\n```\n\n#### Creating an Upload Task for a Multi-Part Request, with Progress\n\n```objective-c\nNSMutableURLRequest *request = [[AFHTTPRequestSerializer serializer] multipartFormRequestWithMethod:@\"POST\" URLString:@\"http://example.com/upload\" parameters:nil constructingBodyWithBlock:^(id<AFMultipartFormData> formData) {\n        [formData appendPartWithFileURL:[NSURL fileURLWithPath:@\"file://path/to/image.jpg\"] name:@\"file\" fileName:@\"filename.jpg\" mimeType:@\"image/jpeg\" error:nil];\n    } error:nil];\n\nAFURLSessionManager *manager = [[AFURLSessionManager alloc] initWithSessionConfiguration:[NSURLSessionConfiguration defaultSessionConfiguration]];\n\nNSURLSessionUploadTask *uploadTask;\nuploadTask = [manager\n              uploadTaskWithStreamedRequest:request\n              progress:^(NSProgress * _Nonnull uploadProgress) {\n                  // This is not called back on the main queue.\n                  // You are responsible for dispatching to the main queue for UI updates\n                  dispatch_async(dispatch_get_main_queue(), ^{\n                      //Update the progress view\n                      [progressView setProgress:uploadProgress.fractionCompleted];\n                  });\n              }\n              completionHandler:^(NSURLResponse * _Nonnull response, id  _Nullable responseObject, NSError * _Nullable error) {\n                  if (error) {\n                      NSLog(@\"Error: %@\", error);\n                  } else {\n                      NSLog(@\"%@ %@\", response, responseObject);\n                  }\n              }];\n\n[uploadTask resume];\n```\n\n#### Creating a Data Task\n\n```objective-c\nNSURLSessionConfiguration *configuration = [NSURLSessionConfiguration defaultSessionConfiguration];\nAFURLSessionManager *manager = [[AFURLSessionManager alloc] initWithSessionConfiguration:configuration];\n\nNSURL *URL = [NSURL URLWithString:@\"http://httpbin.org/get\"];\nNSURLRequest *request = [NSURLRequest requestWithURL:URL];\n\nNSURLSessionDataTask *dataTask = [manager dataTaskWithRequest:request completionHandler:^(NSURLResponse *response, id responseObject, NSError *error) {\n    if (error) {\n        NSLog(@\"Error: %@\", error);\n    } else {\n        NSLog(@\"%@ %@\", response, responseObject);\n    }\n}];\n[dataTask resume];\n```\n\n---\n\n### Request Serialization\n\nRequest serializers create requests from URL strings, encoding parameters as either a query string or HTTP body.\n\n```objective-c\nNSString *URLString = @\"http://example.com\";\nNSDictionary *parameters = @{@\"foo\": @\"bar\", @\"baz\": @[@1, @2, @3]};\n```\n\n#### Query String Parameter Encoding\n\n```objective-c\n[[AFHTTPRequestSerializer serializer] requestWithMethod:@\"GET\" URLString:URLString parameters:parameters error:nil];\n```\n\n    GET http://example.com?foo=bar&baz[]=1&baz[]=2&baz[]=3\n\n#### URL Form Parameter Encoding\n\n```objective-c\n[[AFHTTPRequestSerializer serializer] requestWithMethod:@\"POST\" URLString:URLString parameters:parameters error:nil];\n```\n\n    POST http://example.com/\n    Content-Type: application/x-www-form-urlencoded\n\n    foo=bar&baz[]=1&baz[]=2&baz[]=3\n\n#### JSON Parameter Encoding\n\n```objective-c\n[[AFJSONRequestSerializer serializer] requestWithMethod:@\"POST\" URLString:URLString parameters:parameters error:nil];\n```\n\n    POST http://example.com/\n    Content-Type: application/json\n\n    {\"foo\": \"bar\", \"baz\": [1,2,3]}\n\n---\n\n### Network Reachability Manager\n\n`AFNetworkReachabilityManager` monitors the reachability of domains, and addresses for both WWAN and WiFi network interfaces.\n\n* Do not use Reachability to determine if the original request should be sent.\n\t* You should try to send it.\n* You can use Reachability to determine when a request should be automatically retried.\n\t* Although it may still fail, a Reachability notification that the connectivity is available is a good time to retry something.\n* Network reachability is a useful tool for determining why a request might have failed.\n\t* After a network request has failed, telling the user they're offline is better than giving them a more technical but accurate error, such as \"request timed out.\"\n\nSee also [WWDC 2012 session 706, \"Networking Best Practices.\"](https://developer.apple.com/videos/play/wwdc2012-706/).\n\n#### Shared Network Reachability\n\n```objective-c\n[[AFNetworkReachabilityManager sharedManager] setReachabilityStatusChangeBlock:^(AFNetworkReachabilityStatus status) {\n    NSLog(@\"Reachability: %@\", AFStringFromNetworkReachabilityStatus(status));\n}];\n\n[[AFNetworkReachabilityManager sharedManager] startMonitoring];\n```\n\n---\n\n### Security Policy\n\n`AFSecurityPolicy` evaluates server trust against pinned X.509 certificates and public keys over secure connections.\n\nAdding pinned SSL certificates to your app helps prevent man-in-the-middle attacks and other vulnerabilities. Applications dealing with sensitive customer data or financial information are strongly encouraged to route all communication over an HTTPS connection with SSL pinning configured and enabled.\n\n#### Allowing Invalid SSL Certificates\n\n```objective-c\nAFHTTPSessionManager *manager = [AFHTTPSessionManager manager];\nmanager.securityPolicy.allowInvalidCertificates = YES; // not recommended for production\n```\n\n---\n\n## Unit Tests\n\nAFNetworking includes a suite of unit tests within the Tests subdirectory. These tests can be run simply be executed the test action on the platform framework you would like to test.\n\n## Credits\n\nAFNetworking is owned and maintained by the [Alamofire Software Foundation](http://alamofire.org).\n\nAFNetworking was originally created by [Scott Raymond](https://github.com/sco/) and [Mattt Thompson](https://github.com/mattt/) in the development of [Gowalla for iPhone](http://en.wikipedia.org/wiki/Gowalla).\n\nAFNetworking's logo was designed by [Alan Defibaugh](http://www.alandefibaugh.com/).\n\nAnd most of all, thanks to AFNetworking's [growing list of contributors](https://github.com/AFNetworking/AFNetworking/contributors).\n\n### Security Disclosure\n\nIf you believe you have identified a security vulnerability with AFNetworking, you should report it as soon as possible via email to security@alamofire.org. Please do not post it to a public issue tracker.\n\n## License\n\nAFNetworking is released under the MIT license. See [LICENSE](https://github.com/AFNetworking/AFNetworking/blob/master/LICENSE) for details.\n"
  },
  {
    "path": "CKMeiTuanShopView/Pods/AFNetworking/UIKit+AFNetworking/AFAutoPurgingImageCache.h",
    "content": "// AFAutoPurgingImageCache.h\n// Copyright (c) 2011–2016 Alamofire Software Foundation ( http://alamofire.org/ )\n//\n// Permission is hereby granted, free of charge, to any person obtaining a copy\n// of this software and associated documentation files (the \"Software\"), to deal\n// in the Software without restriction, including without limitation the rights\n// to use, copy, modify, merge, publish, distribute, sublicense, and/or sell\n// copies of the Software, and to permit persons to whom the Software is\n// furnished to do so, subject to the following conditions:\n//\n// The above copyright notice and this permission notice shall be included in\n// all copies or substantial portions of the Software.\n//\n// THE SOFTWARE IS PROVIDED \"AS IS\", WITHOUT WARRANTY OF ANY KIND, EXPRESS OR\n// IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF MERCHANTABILITY,\n// FITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT. IN NO EVENT SHALL THE\n// AUTHORS OR COPYRIGHT HOLDERS BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER\n// LIABILITY, WHETHER IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING FROM,\n// OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN\n// THE SOFTWARE.\n\n#import <TargetConditionals.h>\n#import <Foundation/Foundation.h>\n\n#if TARGET_OS_IOS || TARGET_OS_TV\n#import <UIKit/UIKit.h>\n\nNS_ASSUME_NONNULL_BEGIN\n\n/**\n The `AFImageCache` protocol defines a set of APIs for adding, removing and fetching images from a cache synchronously.\n */\n@protocol AFImageCache <NSObject>\n\n/**\n Adds the image to the cache with the given identifier.\n\n @param image The image to cache.\n @param identifier The unique identifier for the image in the cache.\n */\n- (void)addImage:(UIImage *)image withIdentifier:(NSString *)identifier;\n\n/**\n Removes the image from the cache matching the given identifier.\n\n @param identifier The unique identifier for the image in the cache.\n\n @return A BOOL indicating whether or not the image was removed from the cache.\n */\n- (BOOL)removeImageWithIdentifier:(NSString *)identifier;\n\n/**\n Removes all images from the cache.\n\n @return A BOOL indicating whether or not all images were removed from the cache.\n */\n- (BOOL)removeAllImages;\n\n/**\n Returns the image in the cache associated with the given identifier.\n\n @param identifier The unique identifier for the image in the cache.\n\n @return An image for the matching identifier, or nil.\n */\n- (nullable UIImage *)imageWithIdentifier:(NSString *)identifier;\n@end\n\n\n/**\n The `ImageRequestCache` protocol extends the `ImageCache` protocol by adding methods for adding, removing and fetching images from a cache given an `NSURLRequest` and additional identifier.\n */\n@protocol AFImageRequestCache <AFImageCache>\n\n/**\n Asks if the image should be cached using an identifier created from the request and additional identifier.\n \n @param image The image to be cached.\n @param request The unique URL request identifing the image asset.\n @param identifier The additional identifier to apply to the URL request to identify the image.\n \n @return A BOOL indicating whether or not the image should be added to the cache. YES will cache, NO will prevent caching.\n */\n- (BOOL)shouldCacheImage:(UIImage *)image forRequest:(NSURLRequest *)request withAdditionalIdentifier:(nullable NSString *)identifier;\n\n/**\n Adds the image to the cache using an identifier created from the request and additional identifier.\n\n @param image The image to cache.\n @param request The unique URL request identifing the image asset.\n @param identifier The additional identifier to apply to the URL request to identify the image.\n */\n- (void)addImage:(UIImage *)image forRequest:(NSURLRequest *)request withAdditionalIdentifier:(nullable NSString *)identifier;\n\n/**\n Removes the image from the cache using an identifier created from the request and additional identifier.\n\n @param request The unique URL request identifing the image asset.\n @param identifier The additional identifier to apply to the URL request to identify the image.\n \n @return A BOOL indicating whether or not all images were removed from the cache.\n */\n- (BOOL)removeImageforRequest:(NSURLRequest *)request withAdditionalIdentifier:(nullable NSString *)identifier;\n\n/**\n Returns the image from the cache associated with an identifier created from the request and additional identifier.\n\n @param request The unique URL request identifing the image asset.\n @param identifier The additional identifier to apply to the URL request to identify the image.\n\n @return An image for the matching request and identifier, or nil.\n */\n- (nullable UIImage *)imageforRequest:(NSURLRequest *)request withAdditionalIdentifier:(nullable NSString *)identifier;\n\n@end\n\n/**\n The `AutoPurgingImageCache` in an in-memory image cache used to store images up to a given memory capacity. When the memory capacity is reached, the image cache is sorted by last access date, then the oldest image is continuously purged until the preferred memory usage after purge is met. Each time an image is accessed through the cache, the internal access date of the image is updated.\n */\n@interface AFAutoPurgingImageCache : NSObject <AFImageRequestCache>\n\n/**\n The total memory capacity of the cache in bytes.\n */\n@property (nonatomic, assign) UInt64 memoryCapacity;\n\n/**\n The preferred memory usage after purge in bytes. During a purge, images will be purged until the memory capacity drops below this limit.\n */\n@property (nonatomic, assign) UInt64 preferredMemoryUsageAfterPurge;\n\n/**\n The current total memory usage in bytes of all images stored within the cache.\n */\n@property (nonatomic, assign, readonly) UInt64 memoryUsage;\n\n/**\n Initialies the `AutoPurgingImageCache` instance with default values for memory capacity and preferred memory usage after purge limit. `memoryCapcity` defaults to `100 MB`. `preferredMemoryUsageAfterPurge` defaults to `60 MB`.\n\n @return The new `AutoPurgingImageCache` instance.\n */\n- (instancetype)init;\n\n/**\n Initialies the `AutoPurgingImageCache` instance with the given memory capacity and preferred memory usage\n after purge limit.\n\n @param memoryCapacity The total memory capacity of the cache in bytes.\n @param preferredMemoryCapacity The preferred memory usage after purge in bytes.\n\n @return The new `AutoPurgingImageCache` instance.\n */\n- (instancetype)initWithMemoryCapacity:(UInt64)memoryCapacity preferredMemoryCapacity:(UInt64)preferredMemoryCapacity;\n\n@end\n\nNS_ASSUME_NONNULL_END\n\n#endif\n\n"
  },
  {
    "path": "CKMeiTuanShopView/Pods/AFNetworking/UIKit+AFNetworking/AFAutoPurgingImageCache.m",
    "content": "// AFAutoPurgingImageCache.m\n// Copyright (c) 2011–2016 Alamofire Software Foundation ( http://alamofire.org/ )\n//\n// Permission is hereby granted, free of charge, to any person obtaining a copy\n// of this software and associated documentation files (the \"Software\"), to deal\n// in the Software without restriction, including without limitation the rights\n// to use, copy, modify, merge, publish, distribute, sublicense, and/or sell\n// copies of the Software, and to permit persons to whom the Software is\n// furnished to do so, subject to the following conditions:\n//\n// The above copyright notice and this permission notice shall be included in\n// all copies or substantial portions of the Software.\n//\n// THE SOFTWARE IS PROVIDED \"AS IS\", WITHOUT WARRANTY OF ANY KIND, EXPRESS OR\n// IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF MERCHANTABILITY,\n// FITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT. IN NO EVENT SHALL THE\n// AUTHORS OR COPYRIGHT HOLDERS BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER\n// LIABILITY, WHETHER IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING FROM,\n// OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN\n// THE SOFTWARE.\n\n#import <TargetConditionals.h>\n\n#if TARGET_OS_IOS || TARGET_OS_TV \n\n#import \"AFAutoPurgingImageCache.h\"\n\n@interface AFCachedImage : NSObject\n\n@property (nonatomic, strong) UIImage *image;\n@property (nonatomic, strong) NSString *identifier;\n@property (nonatomic, assign) UInt64 totalBytes;\n@property (nonatomic, strong) NSDate *lastAccessDate;\n@property (nonatomic, assign) UInt64 currentMemoryUsage;\n\n@end\n\n@implementation AFCachedImage\n\n-(instancetype)initWithImage:(UIImage *)image identifier:(NSString *)identifier {\n    if (self = [self init]) {\n        self.image = image;\n        self.identifier = identifier;\n\n        CGSize imageSize = CGSizeMake(image.size.width * image.scale, image.size.height * image.scale);\n        CGFloat bytesPerPixel = 4.0;\n        CGFloat bytesPerSize = imageSize.width * imageSize.height;\n        self.totalBytes = (UInt64)bytesPerPixel * (UInt64)bytesPerSize;\n        self.lastAccessDate = [NSDate date];\n    }\n    return self;\n}\n\n- (UIImage*)accessImage {\n    self.lastAccessDate = [NSDate date];\n    return self.image;\n}\n\n- (NSString *)description {\n    NSString *descriptionString = [NSString stringWithFormat:@\"Idenfitier: %@  lastAccessDate: %@ \", self.identifier, self.lastAccessDate];\n    return descriptionString;\n\n}\n\n@end\n\n@interface AFAutoPurgingImageCache ()\n@property (nonatomic, strong) NSMutableDictionary <NSString* , AFCachedImage*> *cachedImages;\n@property (nonatomic, assign) UInt64 currentMemoryUsage;\n@property (nonatomic, strong) dispatch_queue_t synchronizationQueue;\n@end\n\n@implementation AFAutoPurgingImageCache\n\n- (instancetype)init {\n    return [self initWithMemoryCapacity:100 * 1024 * 1024 preferredMemoryCapacity:60 * 1024 * 1024];\n}\n\n- (instancetype)initWithMemoryCapacity:(UInt64)memoryCapacity preferredMemoryCapacity:(UInt64)preferredMemoryCapacity {\n    if (self = [super init]) {\n        self.memoryCapacity = memoryCapacity;\n        self.preferredMemoryUsageAfterPurge = preferredMemoryCapacity;\n        self.cachedImages = [[NSMutableDictionary alloc] init];\n\n        NSString *queueName = [NSString stringWithFormat:@\"com.alamofire.autopurgingimagecache-%@\", [[NSUUID UUID] UUIDString]];\n        self.synchronizationQueue = dispatch_queue_create([queueName cStringUsingEncoding:NSASCIIStringEncoding], DISPATCH_QUEUE_CONCURRENT);\n\n        [[NSNotificationCenter defaultCenter]\n         addObserver:self\n         selector:@selector(removeAllImages)\n         name:UIApplicationDidReceiveMemoryWarningNotification\n         object:nil];\n\n    }\n    return self;\n}\n\n- (void)dealloc {\n    [[NSNotificationCenter defaultCenter] removeObserver:self];\n}\n\n- (UInt64)memoryUsage {\n    __block UInt64 result = 0;\n    dispatch_sync(self.synchronizationQueue, ^{\n        result = self.currentMemoryUsage;\n    });\n    return result;\n}\n\n- (void)addImage:(UIImage *)image withIdentifier:(NSString *)identifier {\n    dispatch_barrier_async(self.synchronizationQueue, ^{\n        AFCachedImage *cacheImage = [[AFCachedImage alloc] initWithImage:image identifier:identifier];\n\n        AFCachedImage *previousCachedImage = self.cachedImages[identifier];\n        if (previousCachedImage != nil) {\n            self.currentMemoryUsage -= previousCachedImage.totalBytes;\n        }\n\n        self.cachedImages[identifier] = cacheImage;\n        self.currentMemoryUsage += cacheImage.totalBytes;\n    });\n\n    dispatch_barrier_async(self.synchronizationQueue, ^{\n        if (self.currentMemoryUsage > self.memoryCapacity) {\n            UInt64 bytesToPurge = self.currentMemoryUsage - self.preferredMemoryUsageAfterPurge;\n            NSMutableArray <AFCachedImage*> *sortedImages = [NSMutableArray arrayWithArray:self.cachedImages.allValues];\n            NSSortDescriptor *sortDescriptor = [[NSSortDescriptor alloc] initWithKey:@\"lastAccessDate\"\n                                                                           ascending:YES];\n            [sortedImages sortUsingDescriptors:@[sortDescriptor]];\n\n            UInt64 bytesPurged = 0;\n\n            for (AFCachedImage *cachedImage in sortedImages) {\n                [self.cachedImages removeObjectForKey:cachedImage.identifier];\n                bytesPurged += cachedImage.totalBytes;\n                if (bytesPurged >= bytesToPurge) {\n                    break ;\n                }\n            }\n            self.currentMemoryUsage -= bytesPurged;\n        }\n    });\n}\n\n- (BOOL)removeImageWithIdentifier:(NSString *)identifier {\n    __block BOOL removed = NO;\n    dispatch_barrier_sync(self.synchronizationQueue, ^{\n        AFCachedImage *cachedImage = self.cachedImages[identifier];\n        if (cachedImage != nil) {\n            [self.cachedImages removeObjectForKey:identifier];\n            self.currentMemoryUsage -= cachedImage.totalBytes;\n            removed = YES;\n        }\n    });\n    return removed;\n}\n\n- (BOOL)removeAllImages {\n    __block BOOL removed = NO;\n    dispatch_barrier_sync(self.synchronizationQueue, ^{\n        if (self.cachedImages.count > 0) {\n            [self.cachedImages removeAllObjects];\n            self.currentMemoryUsage = 0;\n            removed = YES;\n        }\n    });\n    return removed;\n}\n\n- (nullable UIImage *)imageWithIdentifier:(NSString *)identifier {\n    __block UIImage *image = nil;\n    dispatch_sync(self.synchronizationQueue, ^{\n        AFCachedImage *cachedImage = self.cachedImages[identifier];\n        image = [cachedImage accessImage];\n    });\n    return image;\n}\n\n- (void)addImage:(UIImage *)image forRequest:(NSURLRequest *)request withAdditionalIdentifier:(NSString *)identifier {\n    [self addImage:image withIdentifier:[self imageCacheKeyFromURLRequest:request withAdditionalIdentifier:identifier]];\n}\n\n- (BOOL)removeImageforRequest:(NSURLRequest *)request withAdditionalIdentifier:(NSString *)identifier {\n    return [self removeImageWithIdentifier:[self imageCacheKeyFromURLRequest:request withAdditionalIdentifier:identifier]];\n}\n\n- (nullable UIImage *)imageforRequest:(NSURLRequest *)request withAdditionalIdentifier:(NSString *)identifier {\n    return [self imageWithIdentifier:[self imageCacheKeyFromURLRequest:request withAdditionalIdentifier:identifier]];\n}\n\n- (NSString *)imageCacheKeyFromURLRequest:(NSURLRequest *)request withAdditionalIdentifier:(NSString *)additionalIdentifier {\n    NSString *key = request.URL.absoluteString;\n    if (additionalIdentifier != nil) {\n        key = [key stringByAppendingString:additionalIdentifier];\n    }\n    return key;\n}\n\n- (BOOL)shouldCacheImage:(UIImage *)image forRequest:(NSURLRequest *)request withAdditionalIdentifier:(nullable NSString *)identifier {\n    return YES;\n}\n\n@end\n\n#endif\n"
  },
  {
    "path": "CKMeiTuanShopView/Pods/AFNetworking/UIKit+AFNetworking/AFImageDownloader.h",
    "content": "// AFImageDownloader.h\n// Copyright (c) 2011–2016 Alamofire Software Foundation ( http://alamofire.org/ )\n//\n// Permission is hereby granted, free of charge, to any person obtaining a copy\n// of this software and associated documentation files (the \"Software\"), to deal\n// in the Software without restriction, including without limitation the rights\n// to use, copy, modify, merge, publish, distribute, sublicense, and/or sell\n// copies of the Software, and to permit persons to whom the Software is\n// furnished to do so, subject to the following conditions:\n//\n// The above copyright notice and this permission notice shall be included in\n// all copies or substantial portions of the Software.\n//\n// THE SOFTWARE IS PROVIDED \"AS IS\", WITHOUT WARRANTY OF ANY KIND, EXPRESS OR\n// IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF MERCHANTABILITY,\n// FITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT. IN NO EVENT SHALL THE\n// AUTHORS OR COPYRIGHT HOLDERS BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER\n// LIABILITY, WHETHER IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING FROM,\n// OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN\n// THE SOFTWARE.\n\n#import <TargetConditionals.h>\n\n#if TARGET_OS_IOS || TARGET_OS_TV \n\n#import <Foundation/Foundation.h>\n#import \"AFAutoPurgingImageCache.h\"\n#import \"AFHTTPSessionManager.h\"\n\nNS_ASSUME_NONNULL_BEGIN\n\ntypedef NS_ENUM(NSInteger, AFImageDownloadPrioritization) {\n    AFImageDownloadPrioritizationFIFO,\n    AFImageDownloadPrioritizationLIFO\n};\n\n/**\n The `AFImageDownloadReceipt` is an object vended by the `AFImageDownloader` when starting a data task. It can be used to cancel active tasks running on the `AFImageDownloader` session. As a general rule, image data tasks should be cancelled using the `AFImageDownloadReceipt` instead of calling `cancel` directly on the `task` itself. The `AFImageDownloader` is optimized to handle duplicate task scenarios as well as pending versus active downloads.\n */\n@interface AFImageDownloadReceipt : NSObject\n\n/**\n The data task created by the `AFImageDownloader`.\n*/\n@property (nonatomic, strong) NSURLSessionDataTask *task;\n\n/**\n The unique identifier for the success and failure blocks when duplicate requests are made.\n */\n@property (nonatomic, strong) NSUUID *receiptID;\n@end\n\n/** The `AFImageDownloader` class is responsible for downloading images in parallel on a prioritized queue. Incoming downloads are added to the front or back of the queue depending on the download prioritization. Each downloaded image is cached in the underlying `NSURLCache` as well as the in-memory image cache. By default, any download request with a cached image equivalent in the image cache will automatically be served the cached image representation.\n */\n@interface AFImageDownloader : NSObject\n\n/**\n The image cache used to store all downloaded images in. `AFAutoPurgingImageCache` by default.\n */\n@property (nonatomic, strong, nullable) id <AFImageRequestCache> imageCache;\n\n/**\n The `AFHTTPSessionManager` used to download images. By default, this is configured with an `AFImageResponseSerializer`, and a shared `NSURLCache` for all image downloads.\n */\n@property (nonatomic, strong) AFHTTPSessionManager *sessionManager;\n\n/**\n Defines the order prioritization of incoming download requests being inserted into the queue. `AFImageDownloadPrioritizationFIFO` by default.\n */\n@property (nonatomic, assign) AFImageDownloadPrioritization downloadPrioritizaton;\n\n/**\n The shared default instance of `AFImageDownloader` initialized with default values.\n */\n+ (instancetype)defaultInstance;\n\n/**\n Creates a default `NSURLCache` with common usage parameter values.\n\n @returns The default `NSURLCache` instance.\n */\n+ (NSURLCache *)defaultURLCache;\n\n/**\n The default `NSURLSessionConfiguration` with common usage parameter values.\n */\n+ (NSURLSessionConfiguration *)defaultURLSessionConfiguration;\n\n/**\n Default initializer\n\n @return An instance of `AFImageDownloader` initialized with default values.\n */\n- (instancetype)init;\n\n/**\n Initializer with specific `URLSessionConfiguration`\n \n @param configuration The `NSURLSessionConfiguration` to be be used\n \n @return An instance of `AFImageDownloader` initialized with default values and custom `NSURLSessionConfiguration`\n */\n- (instancetype)initWithSessionConfiguration:(NSURLSessionConfiguration *)configuration;\n\n/**\n Initializes the `AFImageDownloader` instance with the given session manager, download prioritization, maximum active download count and image cache.\n\n @param sessionManager The session manager to use to download images.\n @param downloadPrioritization The download prioritization of the download queue.\n @param maximumActiveDownloads  The maximum number of active downloads allowed at any given time. Recommend `4`.\n @param imageCache The image cache used to store all downloaded images in.\n\n @return The new `AFImageDownloader` instance.\n */\n- (instancetype)initWithSessionManager:(AFHTTPSessionManager *)sessionManager\n                downloadPrioritization:(AFImageDownloadPrioritization)downloadPrioritization\n                maximumActiveDownloads:(NSInteger)maximumActiveDownloads\n                            imageCache:(nullable id <AFImageRequestCache>)imageCache;\n\n/**\n Creates a data task using the `sessionManager` instance for the specified URL request.\n\n If the same data task is already in the queue or currently being downloaded, the success and failure blocks are\n appended to the already existing task. Once the task completes, all success or failure blocks attached to the\n task are executed in the order they were added.\n\n @param request The URL request.\n @param success A block to be executed when the image data task finishes successfully. This block has no return value and takes three arguments: the request sent from the client, the response received from the server, and the image created from the response data of request. If the image was returned from cache, the response parameter will be `nil`.\n @param failure A block object to be executed when the image data task finishes unsuccessfully, or that finishes successfully. This block has no return value and takes three arguments: the request sent from the client, the response received from the server, and the error object describing the network or parsing error that occurred.\n\n @return The image download receipt for the data task if available. `nil` if the image is stored in the cache.\n cache and the URL request cache policy allows the cache to be used.\n */\n- (nullable AFImageDownloadReceipt *)downloadImageForURLRequest:(NSURLRequest *)request\n                                                        success:(nullable void (^)(NSURLRequest *request, NSHTTPURLResponse  * _Nullable response, UIImage *responseObject))success\n                                                        failure:(nullable void (^)(NSURLRequest *request, NSHTTPURLResponse * _Nullable response, NSError *error))failure;\n\n/**\n Creates a data task using the `sessionManager` instance for the specified URL request.\n\n If the same data task is already in the queue or currently being downloaded, the success and failure blocks are\n appended to the already existing task. Once the task completes, all success or failure blocks attached to the\n task are executed in the order they were added.\n\n @param request The URL request.\n @param receiptID The identifier to use for the download receipt that will be created for this request. This must be a unique identifier that does not represent any other request.\n @param success A block to be executed when the image data task finishes successfully. This block has no return value and takes three arguments: the request sent from the client, the response received from the server, and the image created from the response data of request. If the image was returned from cache, the response parameter will be `nil`.\n @param failure A block object to be executed when the image data task finishes unsuccessfully, or that finishes successfully. This block has no return value and takes three arguments: the request sent from the client, the response received from the server, and the error object describing the network or parsing error that occurred.\n\n @return The image download receipt for the data task if available. `nil` if the image is stored in the cache.\n cache and the URL request cache policy allows the cache to be used.\n */\n- (nullable AFImageDownloadReceipt *)downloadImageForURLRequest:(NSURLRequest *)request\n                                                 withReceiptID:(NSUUID *)receiptID\n                                                        success:(nullable void (^)(NSURLRequest *request, NSHTTPURLResponse  * _Nullable response, UIImage *responseObject))success\n                                                        failure:(nullable void (^)(NSURLRequest *request, NSHTTPURLResponse * _Nullable response, NSError *error))failure;\n\n/**\n Cancels the data task in the receipt by removing the corresponding success and failure blocks and cancelling the data task if necessary.\n\n If the data task is pending in the queue, it will be cancelled if no other success and failure blocks are registered with the data task. If the data task is currently executing or is already completed, the success and failure blocks are removed and will not be called when the task finishes.\n\n @param imageDownloadReceipt The image download receipt to cancel.\n */\n- (void)cancelTaskForImageDownloadReceipt:(AFImageDownloadReceipt *)imageDownloadReceipt;\n\n@end\n\n#endif\n\nNS_ASSUME_NONNULL_END\n"
  },
  {
    "path": "CKMeiTuanShopView/Pods/AFNetworking/UIKit+AFNetworking/AFImageDownloader.m",
    "content": "// AFImageDownloader.m\n// Copyright (c) 2011–2016 Alamofire Software Foundation ( http://alamofire.org/ )\n//\n// Permission is hereby granted, free of charge, to any person obtaining a copy\n// of this software and associated documentation files (the \"Software\"), to deal\n// in the Software without restriction, including without limitation the rights\n// to use, copy, modify, merge, publish, distribute, sublicense, and/or sell\n// copies of the Software, and to permit persons to whom the Software is\n// furnished to do so, subject to the following conditions:\n//\n// The above copyright notice and this permission notice shall be included in\n// all copies or substantial portions of the Software.\n//\n// THE SOFTWARE IS PROVIDED \"AS IS\", WITHOUT WARRANTY OF ANY KIND, EXPRESS OR\n// IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF MERCHANTABILITY,\n// FITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT. IN NO EVENT SHALL THE\n// AUTHORS OR COPYRIGHT HOLDERS BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER\n// LIABILITY, WHETHER IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING FROM,\n// OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN\n// THE SOFTWARE.\n\n#import <TargetConditionals.h>\n\n#if TARGET_OS_IOS || TARGET_OS_TV\n\n#import \"AFImageDownloader.h\"\n#import \"AFHTTPSessionManager.h\"\n\n@interface AFImageDownloaderResponseHandler : NSObject\n@property (nonatomic, strong) NSUUID *uuid;\n@property (nonatomic, copy) void (^successBlock)(NSURLRequest*, NSHTTPURLResponse*, UIImage*);\n@property (nonatomic, copy) void (^failureBlock)(NSURLRequest*, NSHTTPURLResponse*, NSError*);\n@end\n\n@implementation AFImageDownloaderResponseHandler\n\n- (instancetype)initWithUUID:(NSUUID *)uuid\n                     success:(nullable void (^)(NSURLRequest *request, NSHTTPURLResponse * _Nullable response, UIImage *responseObject))success\n                     failure:(nullable void (^)(NSURLRequest *request, NSHTTPURLResponse * _Nullable response, NSError *error))failure {\n    if (self = [self init]) {\n        self.uuid = uuid;\n        self.successBlock = success;\n        self.failureBlock = failure;\n    }\n    return self;\n}\n\n- (NSString *)description {\n    return [NSString stringWithFormat: @\"<AFImageDownloaderResponseHandler>UUID: %@\", [self.uuid UUIDString]];\n}\n\n@end\n\n@interface AFImageDownloaderMergedTask : NSObject\n@property (nonatomic, strong) NSString *URLIdentifier;\n@property (nonatomic, strong) NSUUID *identifier;\n@property (nonatomic, strong) NSURLSessionDataTask *task;\n@property (nonatomic, strong) NSMutableArray <AFImageDownloaderResponseHandler*> *responseHandlers;\n\n@end\n\n@implementation AFImageDownloaderMergedTask\n\n- (instancetype)initWithURLIdentifier:(NSString *)URLIdentifier identifier:(NSUUID *)identifier task:(NSURLSessionDataTask *)task {\n    if (self = [self init]) {\n        self.URLIdentifier = URLIdentifier;\n        self.task = task;\n        self.identifier = identifier;\n        self.responseHandlers = [[NSMutableArray alloc] init];\n    }\n    return self;\n}\n\n- (void)addResponseHandler:(AFImageDownloaderResponseHandler*)handler {\n    [self.responseHandlers addObject:handler];\n}\n\n- (void)removeResponseHandler:(AFImageDownloaderResponseHandler*)handler {\n    [self.responseHandlers removeObject:handler];\n}\n\n@end\n\n@implementation AFImageDownloadReceipt\n\n- (instancetype)initWithReceiptID:(NSUUID *)receiptID task:(NSURLSessionDataTask *)task {\n    if (self = [self init]) {\n        self.receiptID = receiptID;\n        self.task = task;\n    }\n    return self;\n}\n\n@end\n\n@interface AFImageDownloader ()\n\n@property (nonatomic, strong) dispatch_queue_t synchronizationQueue;\n@property (nonatomic, strong) dispatch_queue_t responseQueue;\n\n@property (nonatomic, assign) NSInteger maximumActiveDownloads;\n@property (nonatomic, assign) NSInteger activeRequestCount;\n\n@property (nonatomic, strong) NSMutableArray *queuedMergedTasks;\n@property (nonatomic, strong) NSMutableDictionary *mergedTasks;\n\n@end\n\n@implementation AFImageDownloader\n\n+ (NSURLCache *)defaultURLCache {\n    \n    // It's been discovered that a crash will occur on certain versions\n    // of iOS if you customize the cache.\n    //\n    // More info can be found here: https://devforums.apple.com/message/1102182#1102182\n    //\n    // When iOS 7 support is dropped, this should be modified to use\n    // NSProcessInfo methods instead.\n    if ([[[UIDevice currentDevice] systemVersion] compare:@\"8.2\" options:NSNumericSearch] == NSOrderedAscending) {\n        return [NSURLCache sharedURLCache];\n    }\n    return [[NSURLCache alloc] initWithMemoryCapacity:20 * 1024 * 1024\n                                         diskCapacity:150 * 1024 * 1024\n                                             diskPath:@\"com.alamofire.imagedownloader\"];\n}\n\n+ (NSURLSessionConfiguration *)defaultURLSessionConfiguration {\n    NSURLSessionConfiguration *configuration = [NSURLSessionConfiguration defaultSessionConfiguration];\n\n    //TODO set the default HTTP headers\n\n    configuration.HTTPShouldSetCookies = YES;\n    configuration.HTTPShouldUsePipelining = NO;\n\n    configuration.requestCachePolicy = NSURLRequestUseProtocolCachePolicy;\n    configuration.allowsCellularAccess = YES;\n    configuration.timeoutIntervalForRequest = 60.0;\n    configuration.URLCache = [AFImageDownloader defaultURLCache];\n\n    return configuration;\n}\n\n- (instancetype)init {\n    NSURLSessionConfiguration *defaultConfiguration = [self.class defaultURLSessionConfiguration];\n    return [self initWithSessionConfiguration:defaultConfiguration];\n}\n\n- (instancetype)initWithSessionConfiguration:(NSURLSessionConfiguration *)configuration {\n    AFHTTPSessionManager *sessionManager = [[AFHTTPSessionManager alloc] initWithSessionConfiguration:configuration];\n    sessionManager.responseSerializer = [AFImageResponseSerializer serializer];\n\n    return [self initWithSessionManager:sessionManager\n                 downloadPrioritization:AFImageDownloadPrioritizationFIFO\n                 maximumActiveDownloads:4\n                             imageCache:[[AFAutoPurgingImageCache alloc] init]];\n}\n\n- (instancetype)initWithSessionManager:(AFHTTPSessionManager *)sessionManager\n                downloadPrioritization:(AFImageDownloadPrioritization)downloadPrioritization\n                maximumActiveDownloads:(NSInteger)maximumActiveDownloads\n                            imageCache:(id <AFImageRequestCache>)imageCache {\n    if (self = [super init]) {\n        self.sessionManager = sessionManager;\n\n        self.downloadPrioritizaton = downloadPrioritization;\n        self.maximumActiveDownloads = maximumActiveDownloads;\n        self.imageCache = imageCache;\n\n        self.queuedMergedTasks = [[NSMutableArray alloc] init];\n        self.mergedTasks = [[NSMutableDictionary alloc] init];\n        self.activeRequestCount = 0;\n\n        NSString *name = [NSString stringWithFormat:@\"com.alamofire.imagedownloader.synchronizationqueue-%@\", [[NSUUID UUID] UUIDString]];\n        self.synchronizationQueue = dispatch_queue_create([name cStringUsingEncoding:NSASCIIStringEncoding], DISPATCH_QUEUE_SERIAL);\n\n        name = [NSString stringWithFormat:@\"com.alamofire.imagedownloader.responsequeue-%@\", [[NSUUID UUID] UUIDString]];\n        self.responseQueue = dispatch_queue_create([name cStringUsingEncoding:NSASCIIStringEncoding], DISPATCH_QUEUE_CONCURRENT);\n    }\n\n    return self;\n}\n\n+ (instancetype)defaultInstance {\n    static AFImageDownloader *sharedInstance = nil;\n    static dispatch_once_t onceToken;\n    dispatch_once(&onceToken, ^{\n        sharedInstance = [[self alloc] init];\n    });\n    return sharedInstance;\n}\n\n- (nullable AFImageDownloadReceipt *)downloadImageForURLRequest:(NSURLRequest *)request\n                                                        success:(void (^)(NSURLRequest * _Nonnull, NSHTTPURLResponse * _Nullable, UIImage * _Nonnull))success\n                                                        failure:(void (^)(NSURLRequest * _Nonnull, NSHTTPURLResponse * _Nullable, NSError * _Nonnull))failure {\n    return [self downloadImageForURLRequest:request withReceiptID:[NSUUID UUID] success:success failure:failure];\n}\n\n- (nullable AFImageDownloadReceipt *)downloadImageForURLRequest:(NSURLRequest *)request\n                                                  withReceiptID:(nonnull NSUUID *)receiptID\n                                                        success:(nullable void (^)(NSURLRequest *request, NSHTTPURLResponse  * _Nullable response, UIImage *responseObject))success\n                                                        failure:(nullable void (^)(NSURLRequest *request, NSHTTPURLResponse * _Nullable response, NSError *error))failure {\n    __block NSURLSessionDataTask *task = nil;\n    dispatch_sync(self.synchronizationQueue, ^{\n        NSString *URLIdentifier = request.URL.absoluteString;\n        if (URLIdentifier == nil) {\n            if (failure) {\n                NSError *error = [NSError errorWithDomain:NSURLErrorDomain code:NSURLErrorBadURL userInfo:nil];\n                dispatch_async(dispatch_get_main_queue(), ^{\n                    failure(request, nil, error);\n                });\n            }\n            return;\n        }\n\n        // 1) Append the success and failure blocks to a pre-existing request if it already exists\n        AFImageDownloaderMergedTask *existingMergedTask = self.mergedTasks[URLIdentifier];\n        if (existingMergedTask != nil) {\n            AFImageDownloaderResponseHandler *handler = [[AFImageDownloaderResponseHandler alloc] initWithUUID:receiptID success:success failure:failure];\n            [existingMergedTask addResponseHandler:handler];\n            task = existingMergedTask.task;\n            return;\n        }\n\n        // 2) Attempt to load the image from the image cache if the cache policy allows it\n        switch (request.cachePolicy) {\n            case NSURLRequestUseProtocolCachePolicy:\n            case NSURLRequestReturnCacheDataElseLoad:\n            case NSURLRequestReturnCacheDataDontLoad: {\n                UIImage *cachedImage = [self.imageCache imageforRequest:request withAdditionalIdentifier:nil];\n                if (cachedImage != nil) {\n                    if (success) {\n                        dispatch_async(dispatch_get_main_queue(), ^{\n                            success(request, nil, cachedImage);\n                        });\n                    }\n                    return;\n                }\n                break;\n            }\n            default:\n                break;\n        }\n\n        // 3) Create the request and set up authentication, validation and response serialization\n        NSUUID *mergedTaskIdentifier = [NSUUID UUID];\n        NSURLSessionDataTask *createdTask;\n        __weak __typeof__(self) weakSelf = self;\n\n        createdTask = [self.sessionManager\n                       dataTaskWithRequest:request\n                       uploadProgress:nil\n                       downloadProgress:nil\n                       completionHandler:^(NSURLResponse * _Nonnull response, id  _Nullable responseObject, NSError * _Nullable error) {\n                           dispatch_async(self.responseQueue, ^{\n                               __strong __typeof__(weakSelf) strongSelf = weakSelf;\n                               AFImageDownloaderMergedTask *mergedTask = strongSelf.mergedTasks[URLIdentifier];\n                               if ([mergedTask.identifier isEqual:mergedTaskIdentifier]) {\n                                   mergedTask = [strongSelf safelyRemoveMergedTaskWithURLIdentifier:URLIdentifier];\n                                   if (error) {\n                                       for (AFImageDownloaderResponseHandler *handler in mergedTask.responseHandlers) {\n                                           if (handler.failureBlock) {\n                                               dispatch_async(dispatch_get_main_queue(), ^{\n                                                   handler.failureBlock(request, (NSHTTPURLResponse*)response, error);\n                                               });\n                                           }\n                                       }\n                                   } else {\n                                       if ([strongSelf.imageCache shouldCacheImage:responseObject forRequest:request withAdditionalIdentifier:nil]) {\n                                           [strongSelf.imageCache addImage:responseObject forRequest:request withAdditionalIdentifier:nil];\n                                       }\n\n                                       for (AFImageDownloaderResponseHandler *handler in mergedTask.responseHandlers) {\n                                           if (handler.successBlock) {\n                                               dispatch_async(dispatch_get_main_queue(), ^{\n                                                   handler.successBlock(request, (NSHTTPURLResponse*)response, responseObject);\n                                               });\n                                           }\n                                       }\n                                       \n                                   }\n                               }\n                               [strongSelf safelyDecrementActiveTaskCount];\n                               [strongSelf safelyStartNextTaskIfNecessary];\n                           });\n                       }];\n\n        // 4) Store the response handler for use when the request completes\n        AFImageDownloaderResponseHandler *handler = [[AFImageDownloaderResponseHandler alloc] initWithUUID:receiptID\n                                                                                                   success:success\n                                                                                                   failure:failure];\n        AFImageDownloaderMergedTask *mergedTask = [[AFImageDownloaderMergedTask alloc]\n                                                   initWithURLIdentifier:URLIdentifier\n                                                   identifier:mergedTaskIdentifier\n                                                   task:createdTask];\n        [mergedTask addResponseHandler:handler];\n        self.mergedTasks[URLIdentifier] = mergedTask;\n\n        // 5) Either start the request or enqueue it depending on the current active request count\n        if ([self isActiveRequestCountBelowMaximumLimit]) {\n            [self startMergedTask:mergedTask];\n        } else {\n            [self enqueueMergedTask:mergedTask];\n        }\n\n        task = mergedTask.task;\n    });\n    if (task) {\n        return [[AFImageDownloadReceipt alloc] initWithReceiptID:receiptID task:task];\n    } else {\n        return nil;\n    }\n}\n\n- (void)cancelTaskForImageDownloadReceipt:(AFImageDownloadReceipt *)imageDownloadReceipt {\n    dispatch_sync(self.synchronizationQueue, ^{\n        NSString *URLIdentifier = imageDownloadReceipt.task.originalRequest.URL.absoluteString;\n        AFImageDownloaderMergedTask *mergedTask = self.mergedTasks[URLIdentifier];\n        NSUInteger index = [mergedTask.responseHandlers indexOfObjectPassingTest:^BOOL(AFImageDownloaderResponseHandler * _Nonnull handler, __unused NSUInteger idx, __unused BOOL * _Nonnull stop) {\n            return handler.uuid == imageDownloadReceipt.receiptID;\n        }];\n\n        if (index != NSNotFound) {\n            AFImageDownloaderResponseHandler *handler = mergedTask.responseHandlers[index];\n            [mergedTask removeResponseHandler:handler];\n            NSString *failureReason = [NSString stringWithFormat:@\"ImageDownloader cancelled URL request: %@\",imageDownloadReceipt.task.originalRequest.URL.absoluteString];\n            NSDictionary *userInfo = @{NSLocalizedFailureReasonErrorKey:failureReason};\n            NSError *error = [NSError errorWithDomain:NSURLErrorDomain code:NSURLErrorCancelled userInfo:userInfo];\n            if (handler.failureBlock) {\n                dispatch_async(dispatch_get_main_queue(), ^{\n                    handler.failureBlock(imageDownloadReceipt.task.originalRequest, nil, error);\n                });\n            }\n        }\n\n        if (mergedTask.responseHandlers.count == 0 && mergedTask.task.state == NSURLSessionTaskStateSuspended) {\n            [mergedTask.task cancel];\n            [self removeMergedTaskWithURLIdentifier:URLIdentifier];\n        }\n    });\n}\n\n- (AFImageDownloaderMergedTask*)safelyRemoveMergedTaskWithURLIdentifier:(NSString *)URLIdentifier {\n    __block AFImageDownloaderMergedTask *mergedTask = nil;\n    dispatch_sync(self.synchronizationQueue, ^{\n        mergedTask = [self removeMergedTaskWithURLIdentifier:URLIdentifier];\n    });\n    return mergedTask;\n}\n\n//This method should only be called from safely within the synchronizationQueue\n- (AFImageDownloaderMergedTask *)removeMergedTaskWithURLIdentifier:(NSString *)URLIdentifier {\n    AFImageDownloaderMergedTask *mergedTask = self.mergedTasks[URLIdentifier];\n    [self.mergedTasks removeObjectForKey:URLIdentifier];\n    return mergedTask;\n}\n\n- (void)safelyDecrementActiveTaskCount {\n    dispatch_sync(self.synchronizationQueue, ^{\n        if (self.activeRequestCount > 0) {\n            self.activeRequestCount -= 1;\n        }\n    });\n}\n\n- (void)safelyStartNextTaskIfNecessary {\n    dispatch_sync(self.synchronizationQueue, ^{\n        if ([self isActiveRequestCountBelowMaximumLimit]) {\n            while (self.queuedMergedTasks.count > 0) {\n                AFImageDownloaderMergedTask *mergedTask = [self dequeueMergedTask];\n                if (mergedTask.task.state == NSURLSessionTaskStateSuspended) {\n                    [self startMergedTask:mergedTask];\n                    break;\n                }\n            }\n        }\n    });\n}\n\n- (void)startMergedTask:(AFImageDownloaderMergedTask *)mergedTask {\n    [mergedTask.task resume];\n    ++self.activeRequestCount;\n}\n\n- (void)enqueueMergedTask:(AFImageDownloaderMergedTask *)mergedTask {\n    switch (self.downloadPrioritizaton) {\n        case AFImageDownloadPrioritizationFIFO:\n            [self.queuedMergedTasks addObject:mergedTask];\n            break;\n        case AFImageDownloadPrioritizationLIFO:\n            [self.queuedMergedTasks insertObject:mergedTask atIndex:0];\n            break;\n    }\n}\n\n- (AFImageDownloaderMergedTask *)dequeueMergedTask {\n    AFImageDownloaderMergedTask *mergedTask = nil;\n    mergedTask = [self.queuedMergedTasks firstObject];\n    [self.queuedMergedTasks removeObject:mergedTask];\n    return mergedTask;\n}\n\n- (BOOL)isActiveRequestCountBelowMaximumLimit {\n    return self.activeRequestCount < self.maximumActiveDownloads;\n}\n\n@end\n\n#endif\n"
  },
  {
    "path": "CKMeiTuanShopView/Pods/AFNetworking/UIKit+AFNetworking/AFNetworkActivityIndicatorManager.h",
    "content": "// AFNetworkActivityIndicatorManager.h\n// Copyright (c) 2011–2016 Alamofire Software Foundation ( http://alamofire.org/ )\n//\n// Permission is hereby granted, free of charge, to any person obtaining a copy\n// of this software and associated documentation files (the \"Software\"), to deal\n// in the Software without restriction, including without limitation the rights\n// to use, copy, modify, merge, publish, distribute, sublicense, and/or sell\n// copies of the Software, and to permit persons to whom the Software is\n// furnished to do so, subject to the following conditions:\n//\n// The above copyright notice and this permission notice shall be included in\n// all copies or substantial portions of the Software.\n//\n// THE SOFTWARE IS PROVIDED \"AS IS\", WITHOUT WARRANTY OF ANY KIND, EXPRESS OR\n// IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF MERCHANTABILITY,\n// FITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT. IN NO EVENT SHALL THE\n// AUTHORS OR COPYRIGHT HOLDERS BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER\n// LIABILITY, WHETHER IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING FROM,\n// OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN\n// THE SOFTWARE.\n\n#import <Foundation/Foundation.h>\n\n#import <TargetConditionals.h>\n\n#if TARGET_OS_IOS\n\n#import <UIKit/UIKit.h>\n\nNS_ASSUME_NONNULL_BEGIN\n\n/**\n `AFNetworkActivityIndicatorManager` manages the state of the network activity indicator in the status bar. When enabled, it will listen for notifications indicating that a session task has started or finished, and start or stop animating the indicator accordingly. The number of active requests is incremented and decremented much like a stack or a semaphore, and the activity indicator will animate so long as that number is greater than zero.\n\n You should enable the shared instance of `AFNetworkActivityIndicatorManager` when your application finishes launching. In `AppDelegate application:didFinishLaunchingWithOptions:` you can do so with the following code:\n\n    [[AFNetworkActivityIndicatorManager sharedManager] setEnabled:YES];\n\n By setting `enabled` to `YES` for `sharedManager`, the network activity indicator will show and hide automatically as requests start and finish. You should not ever need to call `incrementActivityCount` or `decrementActivityCount` yourself.\n\n See the Apple Human Interface Guidelines section about the Network Activity Indicator for more information:\n http://developer.apple.com/library/iOS/#documentation/UserExperience/Conceptual/MobileHIG/UIElementGuidelines/UIElementGuidelines.html#//apple_ref/doc/uid/TP40006556-CH13-SW44\n */\nNS_EXTENSION_UNAVAILABLE_IOS(\"Use view controller based solutions where appropriate instead.\")\n@interface AFNetworkActivityIndicatorManager : NSObject\n\n/**\n A Boolean value indicating whether the manager is enabled.\n\n If YES, the manager will change status bar network activity indicator according to network operation notifications it receives. The default value is NO.\n */\n@property (nonatomic, assign, getter = isEnabled) BOOL enabled;\n\n/**\n A Boolean value indicating whether the network activity indicator manager is currently active.\n*/\n@property (readonly, nonatomic, assign, getter=isNetworkActivityIndicatorVisible) BOOL networkActivityIndicatorVisible;\n\n/**\n A time interval indicating the minimum duration of networking activity that should occur before the activity indicator is displayed. The default value 1 second. If the network activity indicator should be displayed immediately when network activity occurs, this value should be set to 0 seconds.\n \n Apple's HIG describes the following:\n\n > Display the network activity indicator to provide feedback when your app accesses the network for more than a couple of seconds. If the operation finishes sooner than that, you don’t have to show the network activity indicator, because the indicator is likely to disappear before users notice its presence.\n\n */\n@property (nonatomic, assign) NSTimeInterval activationDelay;\n\n/**\n A time interval indicating the duration of time of no networking activity required before the activity indicator is disabled. This allows for continuous display of the network activity indicator across multiple requests. The default value is 0.17 seconds.\n */\n\n@property (nonatomic, assign) NSTimeInterval completionDelay;\n\n/**\n Returns the shared network activity indicator manager object for the system.\n\n @return The systemwide network activity indicator manager.\n */\n+ (instancetype)sharedManager;\n\n/**\n Increments the number of active network requests. If this number was zero before incrementing, this will start animating the status bar network activity indicator.\n */\n- (void)incrementActivityCount;\n\n/**\n Decrements the number of active network requests. If this number becomes zero after decrementing, this will stop animating the status bar network activity indicator.\n */\n- (void)decrementActivityCount;\n\n/**\n Set the a custom method to be executed when the network activity indicator manager should be hidden/shown. By default, this is null, and the UIApplication Network Activity Indicator will be managed automatically. If this block is set, it is the responsiblity of the caller to manager the network activity indicator going forward.\n\n @param block A block to be executed when the network activity indicator status changes.\n */\n- (void)setNetworkingActivityActionWithBlock:(nullable void (^)(BOOL networkActivityIndicatorVisible))block;\n\n@end\n\nNS_ASSUME_NONNULL_END\n\n#endif\n"
  },
  {
    "path": "CKMeiTuanShopView/Pods/AFNetworking/UIKit+AFNetworking/AFNetworkActivityIndicatorManager.m",
    "content": "// AFNetworkActivityIndicatorManager.m\n// Copyright (c) 2011–2016 Alamofire Software Foundation ( http://alamofire.org/ )\n//\n// Permission is hereby granted, free of charge, to any person obtaining a copy\n// of this software and associated documentation files (the \"Software\"), to deal\n// in the Software without restriction, including without limitation the rights\n// to use, copy, modify, merge, publish, distribute, sublicense, and/or sell\n// copies of the Software, and to permit persons to whom the Software is\n// furnished to do so, subject to the following conditions:\n//\n// The above copyright notice and this permission notice shall be included in\n// all copies or substantial portions of the Software.\n//\n// THE SOFTWARE IS PROVIDED \"AS IS\", WITHOUT WARRANTY OF ANY KIND, EXPRESS OR\n// IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF MERCHANTABILITY,\n// FITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT. IN NO EVENT SHALL THE\n// AUTHORS OR COPYRIGHT HOLDERS BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER\n// LIABILITY, WHETHER IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING FROM,\n// OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN\n// THE SOFTWARE.\n\n#import \"AFNetworkActivityIndicatorManager.h\"\n\n#if TARGET_OS_IOS\n#import \"AFURLSessionManager.h\"\n\ntypedef NS_ENUM(NSInteger, AFNetworkActivityManagerState) {\n    AFNetworkActivityManagerStateNotActive,\n    AFNetworkActivityManagerStateDelayingStart,\n    AFNetworkActivityManagerStateActive,\n    AFNetworkActivityManagerStateDelayingEnd\n};\n\nstatic NSTimeInterval const kDefaultAFNetworkActivityManagerActivationDelay = 1.0;\nstatic NSTimeInterval const kDefaultAFNetworkActivityManagerCompletionDelay = 0.17;\n\nstatic NSURLRequest * AFNetworkRequestFromNotification(NSNotification *notification) {\n    if ([[notification object] respondsToSelector:@selector(originalRequest)]) {\n        return [(NSURLSessionTask *)[notification object] originalRequest];\n    } else {\n        return nil;\n    }\n}\n\ntypedef void (^AFNetworkActivityActionBlock)(BOOL networkActivityIndicatorVisible);\n\n@interface AFNetworkActivityIndicatorManager ()\n@property (readwrite, nonatomic, assign) NSInteger activityCount;\n@property (readwrite, nonatomic, strong) NSTimer *activationDelayTimer;\n@property (readwrite, nonatomic, strong) NSTimer *completionDelayTimer;\n@property (readonly, nonatomic, getter = isNetworkActivityOccurring) BOOL networkActivityOccurring;\n@property (nonatomic, copy) AFNetworkActivityActionBlock networkActivityActionBlock;\n@property (nonatomic, assign) AFNetworkActivityManagerState currentState;\n@property (nonatomic, assign, getter=isNetworkActivityIndicatorVisible) BOOL networkActivityIndicatorVisible;\n\n- (void)updateCurrentStateForNetworkActivityChange;\n@end\n\n@implementation AFNetworkActivityIndicatorManager\n\n+ (instancetype)sharedManager {\n    static AFNetworkActivityIndicatorManager *_sharedManager = nil;\n    static dispatch_once_t oncePredicate;\n    dispatch_once(&oncePredicate, ^{\n        _sharedManager = [[self alloc] init];\n    });\n\n    return _sharedManager;\n}\n\n- (instancetype)init {\n    self = [super init];\n    if (!self) {\n        return nil;\n    }\n    self.currentState = AFNetworkActivityManagerStateNotActive;\n    [[NSNotificationCenter defaultCenter] addObserver:self selector:@selector(networkRequestDidStart:) name:AFNetworkingTaskDidResumeNotification object:nil];\n    [[NSNotificationCenter defaultCenter] addObserver:self selector:@selector(networkRequestDidFinish:) name:AFNetworkingTaskDidSuspendNotification object:nil];\n    [[NSNotificationCenter defaultCenter] addObserver:self selector:@selector(networkRequestDidFinish:) name:AFNetworkingTaskDidCompleteNotification object:nil];\n    self.activationDelay = kDefaultAFNetworkActivityManagerActivationDelay;\n    self.completionDelay = kDefaultAFNetworkActivityManagerCompletionDelay;\n\n    return self;\n}\n\n- (void)dealloc {\n    [[NSNotificationCenter defaultCenter] removeObserver:self];\n\n    [_activationDelayTimer invalidate];\n    [_completionDelayTimer invalidate];\n}\n\n- (void)setEnabled:(BOOL)enabled {\n    _enabled = enabled;\n    if (enabled == NO) {\n        [self setCurrentState:AFNetworkActivityManagerStateNotActive];\n    }\n}\n\n- (void)setNetworkingActivityActionWithBlock:(void (^)(BOOL networkActivityIndicatorVisible))block {\n    self.networkActivityActionBlock = block;\n}\n\n- (BOOL)isNetworkActivityOccurring {\n    @synchronized(self) {\n        return self.activityCount > 0;\n    }\n}\n\n- (void)setNetworkActivityIndicatorVisible:(BOOL)networkActivityIndicatorVisible {\n    if (_networkActivityIndicatorVisible != networkActivityIndicatorVisible) {\n        [self willChangeValueForKey:@\"networkActivityIndicatorVisible\"];\n        @synchronized(self) {\n             _networkActivityIndicatorVisible = networkActivityIndicatorVisible;\n        }\n        [self didChangeValueForKey:@\"networkActivityIndicatorVisible\"];\n        if (self.networkActivityActionBlock) {\n            self.networkActivityActionBlock(networkActivityIndicatorVisible);\n        } else {\n            [[UIApplication sharedApplication] setNetworkActivityIndicatorVisible:networkActivityIndicatorVisible];\n        }\n    }\n}\n\n- (void)setActivityCount:(NSInteger)activityCount {\n\t@synchronized(self) {\n\t\t_activityCount = activityCount;\n\t}\n\n    dispatch_async(dispatch_get_main_queue(), ^{\n        [self updateCurrentStateForNetworkActivityChange];\n    });\n}\n\n- (void)incrementActivityCount {\n    [self willChangeValueForKey:@\"activityCount\"];\n\t@synchronized(self) {\n\t\t_activityCount++;\n\t}\n    [self didChangeValueForKey:@\"activityCount\"];\n\n    dispatch_async(dispatch_get_main_queue(), ^{\n        [self updateCurrentStateForNetworkActivityChange];\n    });\n}\n\n- (void)decrementActivityCount {\n    [self willChangeValueForKey:@\"activityCount\"];\n\t@synchronized(self) {\n\t\t_activityCount = MAX(_activityCount - 1, 0);\n\t}\n    [self didChangeValueForKey:@\"activityCount\"];\n\n    dispatch_async(dispatch_get_main_queue(), ^{\n        [self updateCurrentStateForNetworkActivityChange];\n    });\n}\n\n- (void)networkRequestDidStart:(NSNotification *)notification {\n    if ([AFNetworkRequestFromNotification(notification) URL]) {\n        [self incrementActivityCount];\n    }\n}\n\n- (void)networkRequestDidFinish:(NSNotification *)notification {\n    if ([AFNetworkRequestFromNotification(notification) URL]) {\n        [self decrementActivityCount];\n    }\n}\n\n#pragma mark - Internal State Management\n- (void)setCurrentState:(AFNetworkActivityManagerState)currentState {\n    @synchronized(self) {\n        if (_currentState != currentState) {\n            [self willChangeValueForKey:@\"currentState\"];\n            _currentState = currentState;\n            switch (currentState) {\n                case AFNetworkActivityManagerStateNotActive:\n                    [self cancelActivationDelayTimer];\n                    [self cancelCompletionDelayTimer];\n                    [self setNetworkActivityIndicatorVisible:NO];\n                    break;\n                case AFNetworkActivityManagerStateDelayingStart:\n                    [self startActivationDelayTimer];\n                    break;\n                case AFNetworkActivityManagerStateActive:\n                    [self cancelCompletionDelayTimer];\n                    [self setNetworkActivityIndicatorVisible:YES];\n                    break;\n                case AFNetworkActivityManagerStateDelayingEnd:\n                    [self startCompletionDelayTimer];\n                    break;\n            }\n            [self didChangeValueForKey:@\"currentState\"];\n        }\n        \n    }\n}\n\n- (void)updateCurrentStateForNetworkActivityChange {\n    if (self.enabled) {\n        switch (self.currentState) {\n            case AFNetworkActivityManagerStateNotActive:\n                if (self.isNetworkActivityOccurring) {\n                    [self setCurrentState:AFNetworkActivityManagerStateDelayingStart];\n                }\n                break;\n            case AFNetworkActivityManagerStateDelayingStart:\n                //No op. Let the delay timer finish out.\n                break;\n            case AFNetworkActivityManagerStateActive:\n                if (!self.isNetworkActivityOccurring) {\n                    [self setCurrentState:AFNetworkActivityManagerStateDelayingEnd];\n                }\n                break;\n            case AFNetworkActivityManagerStateDelayingEnd:\n                if (self.isNetworkActivityOccurring) {\n                    [self setCurrentState:AFNetworkActivityManagerStateActive];\n                }\n                break;\n        }\n    }\n}\n\n- (void)startActivationDelayTimer {\n    self.activationDelayTimer = [NSTimer\n                                 timerWithTimeInterval:self.activationDelay target:self selector:@selector(activationDelayTimerFired) userInfo:nil repeats:NO];\n    [[NSRunLoop mainRunLoop] addTimer:self.activationDelayTimer forMode:NSRunLoopCommonModes];\n}\n\n- (void)activationDelayTimerFired {\n    if (self.networkActivityOccurring) {\n        [self setCurrentState:AFNetworkActivityManagerStateActive];\n    } else {\n        [self setCurrentState:AFNetworkActivityManagerStateNotActive];\n    }\n}\n\n- (void)startCompletionDelayTimer {\n    [self.completionDelayTimer invalidate];\n    self.completionDelayTimer = [NSTimer timerWithTimeInterval:self.completionDelay target:self selector:@selector(completionDelayTimerFired) userInfo:nil repeats:NO];\n    [[NSRunLoop mainRunLoop] addTimer:self.completionDelayTimer forMode:NSRunLoopCommonModes];\n}\n\n- (void)completionDelayTimerFired {\n    [self setCurrentState:AFNetworkActivityManagerStateNotActive];\n}\n\n- (void)cancelActivationDelayTimer {\n    [self.activationDelayTimer invalidate];\n}\n\n- (void)cancelCompletionDelayTimer {\n    [self.completionDelayTimer invalidate];\n}\n\n@end\n\n#endif\n"
  },
  {
    "path": "CKMeiTuanShopView/Pods/AFNetworking/UIKit+AFNetworking/UIActivityIndicatorView+AFNetworking.h",
    "content": "// UIActivityIndicatorView+AFNetworking.h\n// Copyright (c) 2011–2016 Alamofire Software Foundation ( http://alamofire.org/ )\n//\n// Permission is hereby granted, free of charge, to any person obtaining a copy\n// of this software and associated documentation files (the \"Software\"), to deal\n// in the Software without restriction, including without limitation the rights\n// to use, copy, modify, merge, publish, distribute, sublicense, and/or sell\n// copies of the Software, and to permit persons to whom the Software is\n// furnished to do so, subject to the following conditions:\n//\n// The above copyright notice and this permission notice shall be included in\n// all copies or substantial portions of the Software.\n//\n// THE SOFTWARE IS PROVIDED \"AS IS\", WITHOUT WARRANTY OF ANY KIND, EXPRESS OR\n// IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF MERCHANTABILITY,\n// FITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT. IN NO EVENT SHALL THE\n// AUTHORS OR COPYRIGHT HOLDERS BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER\n// LIABILITY, WHETHER IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING FROM,\n// OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN\n// THE SOFTWARE.\n\n#import <Foundation/Foundation.h>\n\n#import <TargetConditionals.h>\n\n#if TARGET_OS_IOS || TARGET_OS_TV\n\n#import <UIKit/UIKit.h>\n\n/**\n This category adds methods to the UIKit framework's `UIActivityIndicatorView` class. The methods in this category provide support for automatically starting and stopping animation depending on the loading state of a session task.\n */\n@interface UIActivityIndicatorView (AFNetworking)\n\n///----------------------------------\n/// @name Animating for Session Tasks\n///----------------------------------\n\n/**\n Binds the animating state to the state of the specified task.\n\n @param task The task. If `nil`, automatic updating from any previously specified operation will be disabled.\n */\n- (void)setAnimatingWithStateOfTask:(nullable NSURLSessionTask *)task;\n\n@end\n\n#endif\n"
  },
  {
    "path": "CKMeiTuanShopView/Pods/AFNetworking/UIKit+AFNetworking/UIActivityIndicatorView+AFNetworking.m",
    "content": "// UIActivityIndicatorView+AFNetworking.m\n// Copyright (c) 2011–2016 Alamofire Software Foundation ( http://alamofire.org/ )\n//\n// Permission is hereby granted, free of charge, to any person obtaining a copy\n// of this software and associated documentation files (the \"Software\"), to deal\n// in the Software without restriction, including without limitation the rights\n// to use, copy, modify, merge, publish, distribute, sublicense, and/or sell\n// copies of the Software, and to permit persons to whom the Software is\n// furnished to do so, subject to the following conditions:\n//\n// The above copyright notice and this permission notice shall be included in\n// all copies or substantial portions of the Software.\n//\n// THE SOFTWARE IS PROVIDED \"AS IS\", WITHOUT WARRANTY OF ANY KIND, EXPRESS OR\n// IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF MERCHANTABILITY,\n// FITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT. IN NO EVENT SHALL THE\n// AUTHORS OR COPYRIGHT HOLDERS BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER\n// LIABILITY, WHETHER IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING FROM,\n// OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN\n// THE SOFTWARE.\n\n#import \"UIActivityIndicatorView+AFNetworking.h\"\n#import <objc/runtime.h>\n\n#if TARGET_OS_IOS || TARGET_OS_TV\n\n#import \"AFURLSessionManager.h\"\n\n@interface AFActivityIndicatorViewNotificationObserver : NSObject\n@property (readonly, nonatomic, weak) UIActivityIndicatorView *activityIndicatorView;\n- (instancetype)initWithActivityIndicatorView:(UIActivityIndicatorView *)activityIndicatorView;\n\n- (void)setAnimatingWithStateOfTask:(NSURLSessionTask *)task;\n\n@end\n\n@implementation UIActivityIndicatorView (AFNetworking)\n\n- (AFActivityIndicatorViewNotificationObserver *)af_notificationObserver {\n    AFActivityIndicatorViewNotificationObserver *notificationObserver = objc_getAssociatedObject(self, @selector(af_notificationObserver));\n    if (notificationObserver == nil) {\n        notificationObserver = [[AFActivityIndicatorViewNotificationObserver alloc] initWithActivityIndicatorView:self];\n        objc_setAssociatedObject(self, @selector(af_notificationObserver), notificationObserver, OBJC_ASSOCIATION_RETAIN_NONATOMIC);\n    }\n    return notificationObserver;\n}\n\n- (void)setAnimatingWithStateOfTask:(NSURLSessionTask *)task {\n    [[self af_notificationObserver] setAnimatingWithStateOfTask:task];\n}\n\n@end\n\n@implementation AFActivityIndicatorViewNotificationObserver\n\n- (instancetype)initWithActivityIndicatorView:(UIActivityIndicatorView *)activityIndicatorView\n{\n    self = [super init];\n    if (self) {\n        _activityIndicatorView = activityIndicatorView;\n    }\n    return self;\n}\n\n- (void)setAnimatingWithStateOfTask:(NSURLSessionTask *)task {\n    NSNotificationCenter *notificationCenter = [NSNotificationCenter defaultCenter];\n\n    [notificationCenter removeObserver:self name:AFNetworkingTaskDidResumeNotification object:nil];\n    [notificationCenter removeObserver:self name:AFNetworkingTaskDidSuspendNotification object:nil];\n    [notificationCenter removeObserver:self name:AFNetworkingTaskDidCompleteNotification object:nil];\n    \n    if (task) {\n        if (task.state != NSURLSessionTaskStateCompleted) {\n            UIActivityIndicatorView *activityIndicatorView = self.activityIndicatorView;\n            if (task.state == NSURLSessionTaskStateRunning) {\n                [activityIndicatorView startAnimating];\n            } else {\n                [activityIndicatorView stopAnimating];\n            }\n\n            [notificationCenter addObserver:self selector:@selector(af_startAnimating) name:AFNetworkingTaskDidResumeNotification object:task];\n            [notificationCenter addObserver:self selector:@selector(af_stopAnimating) name:AFNetworkingTaskDidCompleteNotification object:task];\n            [notificationCenter addObserver:self selector:@selector(af_stopAnimating) name:AFNetworkingTaskDidSuspendNotification object:task];\n        }\n    }\n}\n\n#pragma mark -\n\n- (void)af_startAnimating {\n    dispatch_async(dispatch_get_main_queue(), ^{\n        [self.activityIndicatorView startAnimating];\n    });\n}\n\n- (void)af_stopAnimating {\n    dispatch_async(dispatch_get_main_queue(), ^{\n        [self.activityIndicatorView stopAnimating];\n    });\n}\n\n#pragma mark -\n\n- (void)dealloc {\n    NSNotificationCenter *notificationCenter = [NSNotificationCenter defaultCenter];\n    \n    [notificationCenter removeObserver:self name:AFNetworkingTaskDidCompleteNotification object:nil];\n    [notificationCenter removeObserver:self name:AFNetworkingTaskDidResumeNotification object:nil];\n    [notificationCenter removeObserver:self name:AFNetworkingTaskDidSuspendNotification object:nil];\n}\n\n@end\n\n#endif\n"
  },
  {
    "path": "CKMeiTuanShopView/Pods/AFNetworking/UIKit+AFNetworking/UIButton+AFNetworking.h",
    "content": "// UIButton+AFNetworking.h\n// Copyright (c) 2011–2016 Alamofire Software Foundation ( http://alamofire.org/ )\n//\n// Permission is hereby granted, free of charge, to any person obtaining a copy\n// of this software and associated documentation files (the \"Software\"), to deal\n// in the Software without restriction, including without limitation the rights\n// to use, copy, modify, merge, publish, distribute, sublicense, and/or sell\n// copies of the Software, and to permit persons to whom the Software is\n// furnished to do so, subject to the following conditions:\n//\n// The above copyright notice and this permission notice shall be included in\n// all copies or substantial portions of the Software.\n//\n// THE SOFTWARE IS PROVIDED \"AS IS\", WITHOUT WARRANTY OF ANY KIND, EXPRESS OR\n// IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF MERCHANTABILITY,\n// FITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT. IN NO EVENT SHALL THE\n// AUTHORS OR COPYRIGHT HOLDERS BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER\n// LIABILITY, WHETHER IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING FROM,\n// OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN\n// THE SOFTWARE.\n\n#import <Foundation/Foundation.h>\n\n#import <TargetConditionals.h>\n\n#if TARGET_OS_IOS || TARGET_OS_TV\n\n#import <UIKit/UIKit.h>\n\nNS_ASSUME_NONNULL_BEGIN\n\n@class AFImageDownloader;\n\n/**\n This category adds methods to the UIKit framework's `UIButton` class. The methods in this category provide support for loading remote images and background images asynchronously from a URL.\n\n @warning Compound values for control `state` (such as `UIControlStateHighlighted | UIControlStateDisabled`) are unsupported.\n */\n@interface UIButton (AFNetworking)\n\n///------------------------------------\n/// @name Accessing the Image Downloader\n///------------------------------------\n\n/**\n Set the shared image downloader used to download images.\n\n @param imageDownloader The shared image downloader used to download images.\n*/\n+ (void)setSharedImageDownloader:(AFImageDownloader *)imageDownloader;\n\n/**\n The shared image downloader used to download images.\n */\n+ (AFImageDownloader *)sharedImageDownloader;\n\n///--------------------\n/// @name Setting Image\n///--------------------\n\n/**\n Asynchronously downloads an image from the specified URL, and sets it as the image for the specified state once the request is finished. Any previous image request for the receiver will be cancelled.\n\n  If the image is cached locally, the image is set immediately, otherwise the specified placeholder image will be set immediately, and then the remote image will be set once the request is finished.\n\n @param state The control state.\n @param url The URL used for the image request.\n */\n- (void)setImageForState:(UIControlState)state\n                 withURL:(NSURL *)url;\n\n/**\n Asynchronously downloads an image from the specified URL, and sets it as the image for the specified state once the request is finished. Any previous image request for the receiver will be cancelled.\n\n If the image is cached locally, the image is set immediately, otherwise the specified placeholder image will be set immediately, and then the remote image will be set once the request is finished.\n\n @param state The control state.\n @param url The URL used for the image request.\n @param placeholderImage The image to be set initially, until the image request finishes. If `nil`, the button will not change its image until the image request finishes.\n */\n- (void)setImageForState:(UIControlState)state\n                 withURL:(NSURL *)url\n        placeholderImage:(nullable UIImage *)placeholderImage;\n\n/**\n Asynchronously downloads an image from the specified URL request, and sets it as the image for the specified state once the request is finished. Any previous image request for the receiver will be cancelled.\n\n If the image is cached locally, the image is set immediately, otherwise the specified placeholder image will be set immediately, and then the remote image will be set once the request is finished.\n\n If a success block is specified, it is the responsibility of the block to set the image of the button before returning. If no success block is specified, the default behavior of setting the image with `setImage:forState:` is applied.\n\n @param state The control state.\n @param urlRequest The URL request used for the image request.\n @param placeholderImage The image to be set initially, until the image request finishes. If `nil`, the button will not change its image until the image request finishes.\n @param success A block to be executed when the image data task finishes successfully. This block has no return value and takes three arguments: the request sent from the client, the response received from the server, and the image created from the response data of request. If the image was returned from cache, the response parameter will be `nil`.\n @param failure A block object to be executed when the image data task finishes unsuccessfully, or that finishes successfully. This block has no return value and takes three arguments: the request sent from the client, the response received from the server, and the error object describing the network or parsing error that occurred.\n */\n- (void)setImageForState:(UIControlState)state\n          withURLRequest:(NSURLRequest *)urlRequest\n        placeholderImage:(nullable UIImage *)placeholderImage\n                 success:(nullable void (^)(NSURLRequest *request, NSHTTPURLResponse * _Nullable response, UIImage *image))success\n                 failure:(nullable void (^)(NSURLRequest *request, NSHTTPURLResponse * _Nullable response, NSError *error))failure;\n\n\n///-------------------------------\n/// @name Setting Background Image\n///-------------------------------\n\n/**\n Asynchronously downloads an image from the specified URL, and sets it as the background image for the specified state once the request is finished. Any previous background image request for the receiver will be cancelled.\n\n If the background image is cached locally, the background image is set immediately, otherwise the specified placeholder background image will be set immediately, and then the remote background image will be set once the request is finished.\n\n @param state The control state.\n @param url The URL used for the background image request.\n */\n- (void)setBackgroundImageForState:(UIControlState)state\n                           withURL:(NSURL *)url;\n\n/**\n Asynchronously downloads an image from the specified URL, and sets it as the background image for the specified state once the request is finished. Any previous image request for the receiver will be cancelled.\n\n If the image is cached locally, the image is set immediately, otherwise the specified placeholder image will be set immediately, and then the remote image will be set once the request is finished.\n\n @param state The control state.\n @param url The URL used for the background image request.\n @param placeholderImage The background image to be set initially, until the background image request finishes. If `nil`, the button will not change its background image until the background image request finishes.\n */\n- (void)setBackgroundImageForState:(UIControlState)state\n                           withURL:(NSURL *)url\n                  placeholderImage:(nullable UIImage *)placeholderImage;\n\n/**\n Asynchronously downloads an image from the specified URL request, and sets it as the image for the specified state once the request is finished. Any previous image request for the receiver will be cancelled.\n\n If the image is cached locally, the image is set immediately, otherwise the specified placeholder image will be set immediately, and then the remote image will be set once the request is finished.\n\n If a success block is specified, it is the responsibility of the block to set the image of the button before returning. If no success block is specified, the default behavior of setting the image with `setBackgroundImage:forState:` is applied.\n\n @param state The control state.\n @param urlRequest The URL request used for the image request.\n @param placeholderImage The background image to be set initially, until the background image request finishes. If `nil`, the button will not change its background image until the background image request finishes.\n @param success A block to be executed when the image data task finishes successfully. This block has no return value and takes three arguments: the request sent from the client, the response received from the server, and the image created from the response data of request. If the image was returned from cache, the response parameter will be `nil`.\n @param failure A block object to be executed when the image data task finishes unsuccessfully, or that finishes successfully. This block has no return value and takes three arguments: the request sent from the client, the response received from the server, and the error object describing the network or parsing error that occurred.\n */\n- (void)setBackgroundImageForState:(UIControlState)state\n                    withURLRequest:(NSURLRequest *)urlRequest\n                  placeholderImage:(nullable UIImage *)placeholderImage\n                           success:(nullable void (^)(NSURLRequest *request, NSHTTPURLResponse * _Nullable response, UIImage *image))success\n                           failure:(nullable void (^)(NSURLRequest *request, NSHTTPURLResponse * _Nullable response, NSError *error))failure;\n\n\n///------------------------------\n/// @name Canceling Image Loading\n///------------------------------\n\n/**\n Cancels any executing image task for the specified control state of the receiver, if one exists.\n\n @param state The control state.\n */\n- (void)cancelImageDownloadTaskForState:(UIControlState)state;\n\n/**\n Cancels any executing background image task for the specified control state of the receiver, if one exists.\n\n @param state The control state.\n */\n- (void)cancelBackgroundImageDownloadTaskForState:(UIControlState)state;\n\n@end\n\nNS_ASSUME_NONNULL_END\n\n#endif\n"
  },
  {
    "path": "CKMeiTuanShopView/Pods/AFNetworking/UIKit+AFNetworking/UIButton+AFNetworking.m",
    "content": "// UIButton+AFNetworking.m\n// Copyright (c) 2011–2016 Alamofire Software Foundation ( http://alamofire.org/ )\n//\n// Permission is hereby granted, free of charge, to any person obtaining a copy\n// of this software and associated documentation files (the \"Software\"), to deal\n// in the Software without restriction, including without limitation the rights\n// to use, copy, modify, merge, publish, distribute, sublicense, and/or sell\n// copies of the Software, and to permit persons to whom the Software is\n// furnished to do so, subject to the following conditions:\n//\n// The above copyright notice and this permission notice shall be included in\n// all copies or substantial portions of the Software.\n//\n// THE SOFTWARE IS PROVIDED \"AS IS\", WITHOUT WARRANTY OF ANY KIND, EXPRESS OR\n// IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF MERCHANTABILITY,\n// FITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT. IN NO EVENT SHALL THE\n// AUTHORS OR COPYRIGHT HOLDERS BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER\n// LIABILITY, WHETHER IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING FROM,\n// OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN\n// THE SOFTWARE.\n\n#import \"UIButton+AFNetworking.h\"\n\n#import <objc/runtime.h>\n\n#if TARGET_OS_IOS || TARGET_OS_TV\n\n#import \"UIImageView+AFNetworking.h\"\n#import \"AFImageDownloader.h\"\n\n@interface UIButton (_AFNetworking)\n@end\n\n@implementation UIButton (_AFNetworking)\n\n#pragma mark -\n\nstatic char AFImageDownloadReceiptNormal;\nstatic char AFImageDownloadReceiptHighlighted;\nstatic char AFImageDownloadReceiptSelected;\nstatic char AFImageDownloadReceiptDisabled;\n\nstatic const char * af_imageDownloadReceiptKeyForState(UIControlState state) {\n    switch (state) {\n        case UIControlStateHighlighted:\n            return &AFImageDownloadReceiptHighlighted;\n        case UIControlStateSelected:\n            return &AFImageDownloadReceiptSelected;\n        case UIControlStateDisabled:\n            return &AFImageDownloadReceiptDisabled;\n        case UIControlStateNormal:\n        default:\n            return &AFImageDownloadReceiptNormal;\n    }\n}\n\n- (AFImageDownloadReceipt *)af_imageDownloadReceiptForState:(UIControlState)state {\n    return (AFImageDownloadReceipt *)objc_getAssociatedObject(self, af_imageDownloadReceiptKeyForState(state));\n}\n\n- (void)af_setImageDownloadReceipt:(AFImageDownloadReceipt *)imageDownloadReceipt\n                           forState:(UIControlState)state\n{\n    objc_setAssociatedObject(self, af_imageDownloadReceiptKeyForState(state), imageDownloadReceipt, OBJC_ASSOCIATION_RETAIN_NONATOMIC);\n}\n\n#pragma mark -\n\nstatic char AFBackgroundImageDownloadReceiptNormal;\nstatic char AFBackgroundImageDownloadReceiptHighlighted;\nstatic char AFBackgroundImageDownloadReceiptSelected;\nstatic char AFBackgroundImageDownloadReceiptDisabled;\n\nstatic const char * af_backgroundImageDownloadReceiptKeyForState(UIControlState state) {\n    switch (state) {\n        case UIControlStateHighlighted:\n            return &AFBackgroundImageDownloadReceiptHighlighted;\n        case UIControlStateSelected:\n            return &AFBackgroundImageDownloadReceiptSelected;\n        case UIControlStateDisabled:\n            return &AFBackgroundImageDownloadReceiptDisabled;\n        case UIControlStateNormal:\n        default:\n            return &AFBackgroundImageDownloadReceiptNormal;\n    }\n}\n\n- (AFImageDownloadReceipt *)af_backgroundImageDownloadReceiptForState:(UIControlState)state {\n    return (AFImageDownloadReceipt *)objc_getAssociatedObject(self, af_backgroundImageDownloadReceiptKeyForState(state));\n}\n\n- (void)af_setBackgroundImageDownloadReceipt:(AFImageDownloadReceipt *)imageDownloadReceipt\n                                     forState:(UIControlState)state\n{\n    objc_setAssociatedObject(self, af_backgroundImageDownloadReceiptKeyForState(state), imageDownloadReceipt, OBJC_ASSOCIATION_RETAIN_NONATOMIC);\n}\n\n@end\n\n#pragma mark -\n\n@implementation UIButton (AFNetworking)\n\n+ (AFImageDownloader *)sharedImageDownloader {\n\n    return objc_getAssociatedObject(self, @selector(sharedImageDownloader)) ?: [AFImageDownloader defaultInstance];\n}\n\n+ (void)setSharedImageDownloader:(AFImageDownloader *)imageDownloader {\n    objc_setAssociatedObject(self, @selector(sharedImageDownloader), imageDownloader, OBJC_ASSOCIATION_RETAIN_NONATOMIC);\n}\n\n#pragma mark -\n\n- (void)setImageForState:(UIControlState)state\n                 withURL:(NSURL *)url\n{\n    [self setImageForState:state withURL:url placeholderImage:nil];\n}\n\n- (void)setImageForState:(UIControlState)state\n                 withURL:(NSURL *)url\n        placeholderImage:(UIImage *)placeholderImage\n{\n    NSMutableURLRequest *request = [NSMutableURLRequest requestWithURL:url];\n    [request addValue:@\"image/*\" forHTTPHeaderField:@\"Accept\"];\n\n    [self setImageForState:state withURLRequest:request placeholderImage:placeholderImage success:nil failure:nil];\n}\n\n- (void)setImageForState:(UIControlState)state\n          withURLRequest:(NSURLRequest *)urlRequest\n        placeholderImage:(nullable UIImage *)placeholderImage\n                 success:(nullable void (^)(NSURLRequest *request, NSHTTPURLResponse * _Nullable response, UIImage *image))success\n                 failure:(nullable void (^)(NSURLRequest *request, NSHTTPURLResponse * _Nullable response, NSError *error))failure\n{\n    if ([self isActiveTaskURLEqualToURLRequest:urlRequest forState:state]) {\n        return;\n    }\n\n    [self cancelImageDownloadTaskForState:state];\n\n    AFImageDownloader *downloader = [[self class] sharedImageDownloader];\n    id <AFImageRequestCache> imageCache = downloader.imageCache;\n\n    //Use the image from the image cache if it exists\n    UIImage *cachedImage = [imageCache imageforRequest:urlRequest withAdditionalIdentifier:nil];\n    if (cachedImage) {\n        if (success) {\n            success(urlRequest, nil, cachedImage);\n        } else {\n            [self setImage:cachedImage forState:state];\n        }\n        [self af_setImageDownloadReceipt:nil forState:state];\n    } else {\n        if (placeholderImage) {\n            [self setImage:placeholderImage forState:state];\n        }\n\n        __weak __typeof(self)weakSelf = self;\n        NSUUID *downloadID = [NSUUID UUID];\n        AFImageDownloadReceipt *receipt;\n        receipt = [downloader\n                   downloadImageForURLRequest:urlRequest\n                   withReceiptID:downloadID\n                   success:^(NSURLRequest * _Nonnull request, NSHTTPURLResponse * _Nullable response, UIImage * _Nonnull responseObject) {\n                       __strong __typeof(weakSelf)strongSelf = weakSelf;\n                       if ([[strongSelf af_imageDownloadReceiptForState:state].receiptID isEqual:downloadID]) {\n                           if (success) {\n                               success(request, response, responseObject);\n                           } else if(responseObject) {\n                               [strongSelf setImage:responseObject forState:state];\n                           }\n                           [strongSelf af_setImageDownloadReceipt:nil forState:state];\n                       }\n\n                   }\n                   failure:^(NSURLRequest * _Nonnull request, NSHTTPURLResponse * _Nullable response, NSError * _Nonnull error) {\n                       __strong __typeof(weakSelf)strongSelf = weakSelf;\n                       if ([[strongSelf af_imageDownloadReceiptForState:state].receiptID isEqual:downloadID]) {\n                           if (failure) {\n                               failure(request, response, error);\n                           }\n                           [strongSelf  af_setImageDownloadReceipt:nil forState:state];\n                       }\n                   }];\n\n        [self af_setImageDownloadReceipt:receipt forState:state];\n    }\n}\n\n#pragma mark -\n\n- (void)setBackgroundImageForState:(UIControlState)state\n                           withURL:(NSURL *)url\n{\n    [self setBackgroundImageForState:state withURL:url placeholderImage:nil];\n}\n\n- (void)setBackgroundImageForState:(UIControlState)state\n                           withURL:(NSURL *)url\n                  placeholderImage:(nullable UIImage *)placeholderImage\n{\n    NSMutableURLRequest *request = [NSMutableURLRequest requestWithURL:url];\n    [request addValue:@\"image/*\" forHTTPHeaderField:@\"Accept\"];\n\n    [self setBackgroundImageForState:state withURLRequest:request placeholderImage:placeholderImage success:nil failure:nil];\n}\n\n- (void)setBackgroundImageForState:(UIControlState)state\n                    withURLRequest:(NSURLRequest *)urlRequest\n                  placeholderImage:(nullable UIImage *)placeholderImage\n                           success:(nullable void (^)(NSURLRequest *request, NSHTTPURLResponse * _Nullable response, UIImage *image))success\n                           failure:(nullable void (^)(NSURLRequest *request, NSHTTPURLResponse * _Nullable response, NSError *error))failure\n{\n    if ([self isActiveBackgroundTaskURLEqualToURLRequest:urlRequest forState:state]) {\n        return;\n    }\n\n    [self cancelBackgroundImageDownloadTaskForState:state];\n\n    AFImageDownloader *downloader = [[self class] sharedImageDownloader];\n    id <AFImageRequestCache> imageCache = downloader.imageCache;\n\n    //Use the image from the image cache if it exists\n    UIImage *cachedImage = [imageCache imageforRequest:urlRequest withAdditionalIdentifier:nil];\n    if (cachedImage) {\n        if (success) {\n            success(urlRequest, nil, cachedImage);\n        } else {\n            [self setBackgroundImage:cachedImage forState:state];\n        }\n        [self af_setBackgroundImageDownloadReceipt:nil forState:state];\n    } else {\n        if (placeholderImage) {\n            [self setBackgroundImage:placeholderImage forState:state];\n        }\n\n        __weak __typeof(self)weakSelf = self;\n        NSUUID *downloadID = [NSUUID UUID];\n        AFImageDownloadReceipt *receipt;\n        receipt = [downloader\n                   downloadImageForURLRequest:urlRequest\n                   withReceiptID:downloadID\n                   success:^(NSURLRequest * _Nonnull request, NSHTTPURLResponse * _Nullable response, UIImage * _Nonnull responseObject) {\n                       __strong __typeof(weakSelf)strongSelf = weakSelf;\n                       if ([[strongSelf af_backgroundImageDownloadReceiptForState:state].receiptID isEqual:downloadID]) {\n                           if (success) {\n                               success(request, response, responseObject);\n                           } else if(responseObject) {\n                               [strongSelf setBackgroundImage:responseObject forState:state];\n                           }\n                           [strongSelf af_setBackgroundImageDownloadReceipt:nil forState:state];\n                       }\n\n                   }\n                   failure:^(NSURLRequest * _Nonnull request, NSHTTPURLResponse * _Nullable response, NSError * _Nonnull error) {\n                       __strong __typeof(weakSelf)strongSelf = weakSelf;\n                       if ([[strongSelf af_backgroundImageDownloadReceiptForState:state].receiptID isEqual:downloadID]) {\n                           if (failure) {\n                               failure(request, response, error);\n                           }\n                           [strongSelf  af_setBackgroundImageDownloadReceipt:nil forState:state];\n                       }\n                   }];\n\n        [self af_setBackgroundImageDownloadReceipt:receipt forState:state];\n    }\n}\n\n#pragma mark -\n\n- (void)cancelImageDownloadTaskForState:(UIControlState)state {\n    AFImageDownloadReceipt *receipt = [self af_imageDownloadReceiptForState:state];\n    if (receipt != nil) {\n        [[self.class sharedImageDownloader] cancelTaskForImageDownloadReceipt:receipt];\n        [self af_setImageDownloadReceipt:nil forState:state];\n    }\n}\n\n- (void)cancelBackgroundImageDownloadTaskForState:(UIControlState)state {\n    AFImageDownloadReceipt *receipt = [self af_backgroundImageDownloadReceiptForState:state];\n    if (receipt != nil) {\n        [[self.class sharedImageDownloader] cancelTaskForImageDownloadReceipt:receipt];\n        [self af_setBackgroundImageDownloadReceipt:nil forState:state];\n    }\n}\n\n- (BOOL)isActiveTaskURLEqualToURLRequest:(NSURLRequest *)urlRequest forState:(UIControlState)state {\n    AFImageDownloadReceipt *receipt = [self af_imageDownloadReceiptForState:state];\n    return [receipt.task.originalRequest.URL.absoluteString isEqualToString:urlRequest.URL.absoluteString];\n}\n\n- (BOOL)isActiveBackgroundTaskURLEqualToURLRequest:(NSURLRequest *)urlRequest forState:(UIControlState)state {\n    AFImageDownloadReceipt *receipt = [self af_backgroundImageDownloadReceiptForState:state];\n    return [receipt.task.originalRequest.URL.absoluteString isEqualToString:urlRequest.URL.absoluteString];\n}\n\n\n@end\n\n#endif\n"
  },
  {
    "path": "CKMeiTuanShopView/Pods/AFNetworking/UIKit+AFNetworking/UIImage+AFNetworking.h",
    "content": "//\n//  UIImage+AFNetworking.h\n//  \n//\n//  Created by Paulo Ferreira on 08/07/15.\n//\n// Permission is hereby granted, free of charge, to any person obtaining a copy\n// of this software and associated documentation files (the \"Software\"), to deal\n// in the Software without restriction, including without limitation the rights\n// to use, copy, modify, merge, publish, distribute, sublicense, and/or sell\n// copies of the Software, and to permit persons to whom the Software is\n// furnished to do so, subject to the following conditions:\n//\n// The above copyright notice and this permission notice shall be included in\n// all copies or substantial portions of the Software.\n//\n// THE SOFTWARE IS PROVIDED \"AS IS\", WITHOUT WARRANTY OF ANY KIND, EXPRESS OR\n// IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF MERCHANTABILITY,\n// FITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT. IN NO EVENT SHALL THE\n// AUTHORS OR COPYRIGHT HOLDERS BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER\n// LIABILITY, WHETHER IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING FROM,\n// OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN\n// THE SOFTWARE.\n\n#if TARGET_OS_IOS || TARGET_OS_TV\n\n#import <UIKit/UIKit.h>\n\n@interface UIImage (AFNetworking)\n\n+ (UIImage*) safeImageWithData:(NSData*)data;\n\n@end\n\n#endif\n"
  },
  {
    "path": "CKMeiTuanShopView/Pods/AFNetworking/UIKit+AFNetworking/UIImageView+AFNetworking.h",
    "content": "// UIImageView+AFNetworking.h\n// Copyright (c) 2011–2016 Alamofire Software Foundation ( http://alamofire.org/ )\n//\n// Permission is hereby granted, free of charge, to any person obtaining a copy\n// of this software and associated documentation files (the \"Software\"), to deal\n// in the Software without restriction, including without limitation the rights\n// to use, copy, modify, merge, publish, distribute, sublicense, and/or sell\n// copies of the Software, and to permit persons to whom the Software is\n// furnished to do so, subject to the following conditions:\n//\n// The above copyright notice and this permission notice shall be included in\n// all copies or substantial portions of the Software.\n//\n// THE SOFTWARE IS PROVIDED \"AS IS\", WITHOUT WARRANTY OF ANY KIND, EXPRESS OR\n// IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF MERCHANTABILITY,\n// FITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT. IN NO EVENT SHALL THE\n// AUTHORS OR COPYRIGHT HOLDERS BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER\n// LIABILITY, WHETHER IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING FROM,\n// OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN\n// THE SOFTWARE.\n\n#import <Foundation/Foundation.h>\n\n#import <TargetConditionals.h>\n\n#if TARGET_OS_IOS || TARGET_OS_TV\n\n#import <UIKit/UIKit.h>\n\nNS_ASSUME_NONNULL_BEGIN\n\n@class AFImageDownloader;\n\n/**\n This category adds methods to the UIKit framework's `UIImageView` class. The methods in this category provide support for loading remote images asynchronously from a URL.\n */\n@interface UIImageView (AFNetworking)\n\n///------------------------------------\n/// @name Accessing the Image Downloader\n///------------------------------------\n\n/**\n Set the shared image downloader used to download images.\n\n @param imageDownloader The shared image downloader used to download images.\n */\n+ (void)setSharedImageDownloader:(AFImageDownloader *)imageDownloader;\n\n/**\n The shared image downloader used to download images.\n */\n+ (AFImageDownloader *)sharedImageDownloader;\n\n///--------------------\n/// @name Setting Image\n///--------------------\n\n/**\n Asynchronously downloads an image from the specified URL, and sets it once the request is finished. Any previous image request for the receiver will be cancelled.\n\n If the image is cached locally, the image is set immediately, otherwise the specified placeholder image will be set immediately, and then the remote image will be set once the request is finished.\n\n By default, URL requests have a `Accept` header field value of \"image / *\", a cache policy of `NSURLCacheStorageAllowed` and a timeout interval of 30 seconds, and are set not handle cookies. To configure URL requests differently, use `setImageWithURLRequest:placeholderImage:success:failure:`\n\n @param url The URL used for the image request.\n */\n- (void)setImageWithURL:(NSURL *)url;\n\n/**\n Asynchronously downloads an image from the specified URL, and sets it once the request is finished. Any previous image request for the receiver will be cancelled.\n\n If the image is cached locally, the image is set immediately, otherwise the specified placeholder image will be set immediately, and then the remote image will be set once the request is finished.\n\n By default, URL requests have a `Accept` header field value of \"image / *\", a cache policy of `NSURLCacheStorageAllowed` and a timeout interval of 30 seconds, and are set not handle cookies. To configure URL requests differently, use `setImageWithURLRequest:placeholderImage:success:failure:`\n\n @param url The URL used for the image request.\n @param placeholderImage The image to be set initially, until the image request finishes. If `nil`, the image view will not change its image until the image request finishes.\n */\n- (void)setImageWithURL:(NSURL *)url\n       placeholderImage:(nullable UIImage *)placeholderImage;\n\n/**\n Asynchronously downloads an image from the specified URL request, and sets it once the request is finished. Any previous image request for the receiver will be cancelled.\n\n If the image is cached locally, the image is set immediately, otherwise the specified placeholder image will be set immediately, and then the remote image will be set once the request is finished.\n\n If a success block is specified, it is the responsibility of the block to set the image of the image view before returning. If no success block is specified, the default behavior of setting the image with `self.image = image` is applied.\n\n @param urlRequest The URL request used for the image request.\n @param placeholderImage The image to be set initially, until the image request finishes. If `nil`, the image view will not change its image until the image request finishes.\n @param success A block to be executed when the image data task finishes successfully. This block has no return value and takes three arguments: the request sent from the client, the response received from the server, and the image created from the response data of request. If the image was returned from cache, the response parameter will be `nil`.\n @param failure A block object to be executed when the image data task finishes unsuccessfully, or that finishes successfully. This block has no return value and takes three arguments: the request sent from the client, the response received from the server, and the error object describing the network or parsing error that occurred.\n */\n- (void)setImageWithURLRequest:(NSURLRequest *)urlRequest\n              placeholderImage:(nullable UIImage *)placeholderImage\n                       success:(nullable void (^)(NSURLRequest *request, NSHTTPURLResponse * _Nullable response, UIImage *image))success\n                       failure:(nullable void (^)(NSURLRequest *request, NSHTTPURLResponse * _Nullable response, NSError *error))failure;\n\n/**\n Cancels any executing image operation for the receiver, if one exists.\n */\n- (void)cancelImageDownloadTask;\n\n@end\n\nNS_ASSUME_NONNULL_END\n\n#endif\n"
  },
  {
    "path": "CKMeiTuanShopView/Pods/AFNetworking/UIKit+AFNetworking/UIImageView+AFNetworking.m",
    "content": "// UIImageView+AFNetworking.m\n// Copyright (c) 2011–2016 Alamofire Software Foundation ( http://alamofire.org/ )\n//\n// Permission is hereby granted, free of charge, to any person obtaining a copy\n// of this software and associated documentation files (the \"Software\"), to deal\n// in the Software without restriction, including without limitation the rights\n// to use, copy, modify, merge, publish, distribute, sublicense, and/or sell\n// copies of the Software, and to permit persons to whom the Software is\n// furnished to do so, subject to the following conditions:\n//\n// The above copyright notice and this permission notice shall be included in\n// all copies or substantial portions of the Software.\n//\n// THE SOFTWARE IS PROVIDED \"AS IS\", WITHOUT WARRANTY OF ANY KIND, EXPRESS OR\n// IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF MERCHANTABILITY,\n// FITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT. IN NO EVENT SHALL THE\n// AUTHORS OR COPYRIGHT HOLDERS BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER\n// LIABILITY, WHETHER IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING FROM,\n// OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN\n// THE SOFTWARE.\n\n#import \"UIImageView+AFNetworking.h\"\n\n#import <objc/runtime.h>\n\n#if TARGET_OS_IOS || TARGET_OS_TV\n\n#import \"AFImageDownloader.h\"\n\n@interface UIImageView (_AFNetworking)\n@property (readwrite, nonatomic, strong, setter = af_setActiveImageDownloadReceipt:) AFImageDownloadReceipt *af_activeImageDownloadReceipt;\n@end\n\n@implementation UIImageView (_AFNetworking)\n\n- (AFImageDownloadReceipt *)af_activeImageDownloadReceipt {\n    return (AFImageDownloadReceipt *)objc_getAssociatedObject(self, @selector(af_activeImageDownloadReceipt));\n}\n\n- (void)af_setActiveImageDownloadReceipt:(AFImageDownloadReceipt *)imageDownloadReceipt {\n    objc_setAssociatedObject(self, @selector(af_activeImageDownloadReceipt), imageDownloadReceipt, OBJC_ASSOCIATION_RETAIN_NONATOMIC);\n}\n\n@end\n\n#pragma mark -\n\n@implementation UIImageView (AFNetworking)\n\n+ (AFImageDownloader *)sharedImageDownloader {\n    return objc_getAssociatedObject(self, @selector(sharedImageDownloader)) ?: [AFImageDownloader defaultInstance];\n}\n\n+ (void)setSharedImageDownloader:(AFImageDownloader *)imageDownloader {\n    objc_setAssociatedObject(self, @selector(sharedImageDownloader), imageDownloader, OBJC_ASSOCIATION_RETAIN_NONATOMIC);\n}\n\n#pragma mark -\n\n- (void)setImageWithURL:(NSURL *)url {\n    [self setImageWithURL:url placeholderImage:nil];\n}\n\n- (void)setImageWithURL:(NSURL *)url\n       placeholderImage:(UIImage *)placeholderImage\n{\n    NSMutableURLRequest *request = [NSMutableURLRequest requestWithURL:url];\n    [request addValue:@\"image/*\" forHTTPHeaderField:@\"Accept\"];\n\n    [self setImageWithURLRequest:request placeholderImage:placeholderImage success:nil failure:nil];\n}\n\n- (void)setImageWithURLRequest:(NSURLRequest *)urlRequest\n              placeholderImage:(UIImage *)placeholderImage\n                       success:(void (^)(NSURLRequest *request, NSHTTPURLResponse * _Nullable response, UIImage *image))success\n                       failure:(void (^)(NSURLRequest *request, NSHTTPURLResponse * _Nullable response, NSError *error))failure\n{\n    \n    if ([urlRequest URL] == nil) {\n        self.image = placeholderImage;\n        if (failure) {\n            NSError *error = [NSError errorWithDomain:NSURLErrorDomain code:NSURLErrorBadURL userInfo:nil];\n            failure(urlRequest, nil, error);\n        }\n        return;\n    }\n    \n    if ([self isActiveTaskURLEqualToURLRequest:urlRequest]){\n        return;\n    }\n    \n    [self cancelImageDownloadTask];\n\n    AFImageDownloader *downloader = [[self class] sharedImageDownloader];\n    id <AFImageRequestCache> imageCache = downloader.imageCache;\n\n    //Use the image from the image cache if it exists\n    UIImage *cachedImage = [imageCache imageforRequest:urlRequest withAdditionalIdentifier:nil];\n    if (cachedImage) {\n        if (success) {\n            success(urlRequest, nil, cachedImage);\n        } else {\n            self.image = cachedImage;\n        }\n        [self clearActiveDownloadInformation];\n    } else {\n        if (placeholderImage) {\n            self.image = placeholderImage;\n        }\n\n        __weak __typeof(self)weakSelf = self;\n        NSUUID *downloadID = [NSUUID UUID];\n        AFImageDownloadReceipt *receipt;\n        receipt = [downloader\n                   downloadImageForURLRequest:urlRequest\n                   withReceiptID:downloadID\n                   success:^(NSURLRequest * _Nonnull request, NSHTTPURLResponse * _Nullable response, UIImage * _Nonnull responseObject) {\n                       __strong __typeof(weakSelf)strongSelf = weakSelf;\n                       if ([strongSelf.af_activeImageDownloadReceipt.receiptID isEqual:downloadID]) {\n                           if (success) {\n                               success(request, response, responseObject);\n                           } else if(responseObject) {\n                               strongSelf.image = responseObject;\n                           }\n                           [strongSelf clearActiveDownloadInformation];\n                       }\n\n                   }\n                   failure:^(NSURLRequest * _Nonnull request, NSHTTPURLResponse * _Nullable response, NSError * _Nonnull error) {\n                       __strong __typeof(weakSelf)strongSelf = weakSelf;\n                        if ([strongSelf.af_activeImageDownloadReceipt.receiptID isEqual:downloadID]) {\n                            if (failure) {\n                                failure(request, response, error);\n                            }\n                            [strongSelf clearActiveDownloadInformation];\n                        }\n                   }];\n\n        self.af_activeImageDownloadReceipt = receipt;\n    }\n}\n\n- (void)cancelImageDownloadTask {\n    if (self.af_activeImageDownloadReceipt != nil) {\n        [[self.class sharedImageDownloader] cancelTaskForImageDownloadReceipt:self.af_activeImageDownloadReceipt];\n        [self clearActiveDownloadInformation];\n     }\n}\n\n- (void)clearActiveDownloadInformation {\n    self.af_activeImageDownloadReceipt = nil;\n}\n\n- (BOOL)isActiveTaskURLEqualToURLRequest:(NSURLRequest *)urlRequest {\n    return [self.af_activeImageDownloadReceipt.task.originalRequest.URL.absoluteString isEqualToString:urlRequest.URL.absoluteString];\n}\n\n@end\n\n#endif\n"
  },
  {
    "path": "CKMeiTuanShopView/Pods/AFNetworking/UIKit+AFNetworking/UIKit+AFNetworking.h",
    "content": "// UIKit+AFNetworking.h\n//\n// Copyright (c) 2011–2016 Alamofire Software Foundation ( http://alamofire.org/ )\n//\n// Permission is hereby granted, free of charge, to any person obtaining a copy\n// of this software and associated documentation files (the \"Software\"), to deal\n// in the Software without restriction, including without limitation the rights\n// to use, copy, modify, merge, publish, distribute, sublicense, and/or sell\n// copies of the Software, and to permit persons to whom the Software is\n// furnished to do so, subject to the following conditions:\n//\n// The above copyright notice and this permission notice shall be included in\n// all copies or substantial portions of the Software.\n//\n// THE SOFTWARE IS PROVIDED \"AS IS\", WITHOUT WARRANTY OF ANY KIND, EXPRESS OR\n// IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF MERCHANTABILITY,\n// FITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT. IN NO EVENT SHALL THE\n// AUTHORS OR COPYRIGHT HOLDERS BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER\n// LIABILITY, WHETHER IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING FROM,\n// OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN\n// THE SOFTWARE.\n\n#if TARGET_OS_IOS || TARGET_OS_TV\n#import <UIKit/UIKit.h>\n\n#ifndef _UIKIT_AFNETWORKING_\n    #define _UIKIT_AFNETWORKING_\n\n#if TARGET_OS_IOS\n    #import \"AFAutoPurgingImageCache.h\"\n    #import \"AFImageDownloader.h\"\n    #import \"AFNetworkActivityIndicatorManager.h\"\n    #import \"UIRefreshControl+AFNetworking.h\"\n    #import \"UIWebView+AFNetworking.h\"\n#endif\n\n    #import \"UIActivityIndicatorView+AFNetworking.h\"\n    #import \"UIButton+AFNetworking.h\"\n    #import \"UIImageView+AFNetworking.h\"\n    #import \"UIProgressView+AFNetworking.h\"\n#endif /* _UIKIT_AFNETWORKING_ */\n#endif\n"
  },
  {
    "path": "CKMeiTuanShopView/Pods/AFNetworking/UIKit+AFNetworking/UIProgressView+AFNetworking.h",
    "content": "// UIProgressView+AFNetworking.h\n// Copyright (c) 2011–2016 Alamofire Software Foundation ( http://alamofire.org/ )\n//\n// Permission is hereby granted, free of charge, to any person obtaining a copy\n// of this software and associated documentation files (the \"Software\"), to deal\n// in the Software without restriction, including without limitation the rights\n// to use, copy, modify, merge, publish, distribute, sublicense, and/or sell\n// copies of the Software, and to permit persons to whom the Software is\n// furnished to do so, subject to the following conditions:\n//\n// The above copyright notice and this permission notice shall be included in\n// all copies or substantial portions of the Software.\n//\n// THE SOFTWARE IS PROVIDED \"AS IS\", WITHOUT WARRANTY OF ANY KIND, EXPRESS OR\n// IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF MERCHANTABILITY,\n// FITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT. IN NO EVENT SHALL THE\n// AUTHORS OR COPYRIGHT HOLDERS BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER\n// LIABILITY, WHETHER IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING FROM,\n// OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN\n// THE SOFTWARE.\n\n#import <Foundation/Foundation.h>\n\n#import <TargetConditionals.h>\n\n#if TARGET_OS_IOS || TARGET_OS_TV\n\n#import <UIKit/UIKit.h>\n\nNS_ASSUME_NONNULL_BEGIN\n\n\n/**\n This category adds methods to the UIKit framework's `UIProgressView` class. The methods in this category provide support for binding the progress to the upload and download progress of a session task.\n */\n@interface UIProgressView (AFNetworking)\n\n///------------------------------------\n/// @name Setting Session Task Progress\n///------------------------------------\n\n/**\n Binds the progress to the upload progress of the specified session task.\n\n @param task The session task.\n @param animated `YES` if the change should be animated, `NO` if the change should happen immediately.\n */\n- (void)setProgressWithUploadProgressOfTask:(NSURLSessionUploadTask *)task\n                                   animated:(BOOL)animated;\n\n/**\n Binds the progress to the download progress of the specified session task.\n\n @param task The session task.\n @param animated `YES` if the change should be animated, `NO` if the change should happen immediately.\n */\n- (void)setProgressWithDownloadProgressOfTask:(NSURLSessionDownloadTask *)task\n                                     animated:(BOOL)animated;\n\n@end\n\nNS_ASSUME_NONNULL_END\n\n#endif\n"
  },
  {
    "path": "CKMeiTuanShopView/Pods/AFNetworking/UIKit+AFNetworking/UIProgressView+AFNetworking.m",
    "content": "// UIProgressView+AFNetworking.m\n// Copyright (c) 2011–2016 Alamofire Software Foundation ( http://alamofire.org/ )\n//\n// Permission is hereby granted, free of charge, to any person obtaining a copy\n// of this software and associated documentation files (the \"Software\"), to deal\n// in the Software without restriction, including without limitation the rights\n// to use, copy, modify, merge, publish, distribute, sublicense, and/or sell\n// copies of the Software, and to permit persons to whom the Software is\n// furnished to do so, subject to the following conditions:\n//\n// The above copyright notice and this permission notice shall be included in\n// all copies or substantial portions of the Software.\n//\n// THE SOFTWARE IS PROVIDED \"AS IS\", WITHOUT WARRANTY OF ANY KIND, EXPRESS OR\n// IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF MERCHANTABILITY,\n// FITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT. IN NO EVENT SHALL THE\n// AUTHORS OR COPYRIGHT HOLDERS BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER\n// LIABILITY, WHETHER IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING FROM,\n// OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN\n// THE SOFTWARE.\n\n#import \"UIProgressView+AFNetworking.h\"\n\n#import <objc/runtime.h>\n\n#if TARGET_OS_IOS || TARGET_OS_TV\n\n#import \"AFURLSessionManager.h\"\n\nstatic void * AFTaskCountOfBytesSentContext = &AFTaskCountOfBytesSentContext;\nstatic void * AFTaskCountOfBytesReceivedContext = &AFTaskCountOfBytesReceivedContext;\n\n#pragma mark -\n\n@implementation UIProgressView (AFNetworking)\n\n- (BOOL)af_uploadProgressAnimated {\n    return [(NSNumber *)objc_getAssociatedObject(self, @selector(af_uploadProgressAnimated)) boolValue];\n}\n\n- (void)af_setUploadProgressAnimated:(BOOL)animated {\n    objc_setAssociatedObject(self, @selector(af_uploadProgressAnimated), @(animated), OBJC_ASSOCIATION_RETAIN_NONATOMIC);\n}\n\n- (BOOL)af_downloadProgressAnimated {\n    return [(NSNumber *)objc_getAssociatedObject(self, @selector(af_downloadProgressAnimated)) boolValue];\n}\n\n- (void)af_setDownloadProgressAnimated:(BOOL)animated {\n    objc_setAssociatedObject(self, @selector(af_downloadProgressAnimated), @(animated), OBJC_ASSOCIATION_RETAIN_NONATOMIC);\n}\n\n#pragma mark -\n\n- (void)setProgressWithUploadProgressOfTask:(NSURLSessionUploadTask *)task\n                                   animated:(BOOL)animated\n{\n    if (task.state == NSURLSessionTaskStateCompleted) {\n        return;\n    }\n    \n    [task addObserver:self forKeyPath:@\"state\" options:(NSKeyValueObservingOptions)0 context:AFTaskCountOfBytesSentContext];\n    [task addObserver:self forKeyPath:@\"countOfBytesSent\" options:(NSKeyValueObservingOptions)0 context:AFTaskCountOfBytesSentContext];\n\n    [self af_setUploadProgressAnimated:animated];\n}\n\n- (void)setProgressWithDownloadProgressOfTask:(NSURLSessionDownloadTask *)task\n                                     animated:(BOOL)animated\n{\n    if (task.state == NSURLSessionTaskStateCompleted) {\n        return;\n    }\n    \n    [task addObserver:self forKeyPath:@\"state\" options:(NSKeyValueObservingOptions)0 context:AFTaskCountOfBytesReceivedContext];\n    [task addObserver:self forKeyPath:@\"countOfBytesReceived\" options:(NSKeyValueObservingOptions)0 context:AFTaskCountOfBytesReceivedContext];\n\n    [self af_setDownloadProgressAnimated:animated];\n}\n\n#pragma mark - NSKeyValueObserving\n\n- (void)observeValueForKeyPath:(NSString *)keyPath\n                      ofObject:(id)object\n                        change:(__unused NSDictionary *)change\n                       context:(void *)context\n{\n    if (context == AFTaskCountOfBytesSentContext || context == AFTaskCountOfBytesReceivedContext) {\n        if ([keyPath isEqualToString:NSStringFromSelector(@selector(countOfBytesSent))]) {\n            if ([object countOfBytesExpectedToSend] > 0) {\n                dispatch_async(dispatch_get_main_queue(), ^{\n                    [self setProgress:[object countOfBytesSent] / ([object countOfBytesExpectedToSend] * 1.0f) animated:self.af_uploadProgressAnimated];\n                });\n            }\n        }\n\n        if ([keyPath isEqualToString:NSStringFromSelector(@selector(countOfBytesReceived))]) {\n            if ([object countOfBytesExpectedToReceive] > 0) {\n                dispatch_async(dispatch_get_main_queue(), ^{\n                    [self setProgress:[object countOfBytesReceived] / ([object countOfBytesExpectedToReceive] * 1.0f) animated:self.af_downloadProgressAnimated];\n                });\n            }\n        }\n\n        if ([keyPath isEqualToString:NSStringFromSelector(@selector(state))]) {\n            if ([(NSURLSessionTask *)object state] == NSURLSessionTaskStateCompleted) {\n                @try {\n                    [object removeObserver:self forKeyPath:NSStringFromSelector(@selector(state))];\n\n                    if (context == AFTaskCountOfBytesSentContext) {\n                        [object removeObserver:self forKeyPath:NSStringFromSelector(@selector(countOfBytesSent))];\n                    }\n\n                    if (context == AFTaskCountOfBytesReceivedContext) {\n                        [object removeObserver:self forKeyPath:NSStringFromSelector(@selector(countOfBytesReceived))];\n                    }\n                }\n                @catch (NSException * __unused exception) {}\n            }\n        }\n    }\n}\n\n@end\n\n#endif\n"
  },
  {
    "path": "CKMeiTuanShopView/Pods/AFNetworking/UIKit+AFNetworking/UIRefreshControl+AFNetworking.h",
    "content": "// UIRefreshControl+AFNetworking.m\n//\n// Copyright (c) 2011–2016 Alamofire Software Foundation ( http://alamofire.org/ )\n//\n// Permission is hereby granted, free of charge, to any person obtaining a copy\n// of this software and associated documentation files (the \"Software\"), to deal\n// in the Software without restriction, including without limitation the rights\n// to use, copy, modify, merge, publish, distribute, sublicense, and/or sell\n// copies of the Software, and to permit persons to whom the Software is\n// furnished to do so, subject to the following conditions:\n//\n// The above copyright notice and this permission notice shall be included in\n// all copies or substantial portions of the Software.\n//\n// THE SOFTWARE IS PROVIDED \"AS IS\", WITHOUT WARRANTY OF ANY KIND, EXPRESS OR\n// IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF MERCHANTABILITY,\n// FITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT. IN NO EVENT SHALL THE\n// AUTHORS OR COPYRIGHT HOLDERS BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER\n// LIABILITY, WHETHER IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING FROM,\n// OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN\n// THE SOFTWARE.\n\n#import <Foundation/Foundation.h>\n\n#import <TargetConditionals.h>\n\n#if TARGET_OS_IOS\n\n#import <UIKit/UIKit.h>\n\nNS_ASSUME_NONNULL_BEGIN\n\n/**\n This category adds methods to the UIKit framework's `UIRefreshControl` class. The methods in this category provide support for automatically beginning and ending refreshing depending on the loading state of a session task.\n */\n@interface UIRefreshControl (AFNetworking)\n\n///-----------------------------------\n/// @name Refreshing for Session Tasks\n///-----------------------------------\n\n/**\n Binds the refreshing state to the state of the specified task.\n \n @param task The task. If `nil`, automatic updating from any previously specified operation will be disabled.\n */\n- (void)setRefreshingWithStateOfTask:(NSURLSessionTask *)task;\n\n@end\n\nNS_ASSUME_NONNULL_END\n\n#endif\n"
  },
  {
    "path": "CKMeiTuanShopView/Pods/AFNetworking/UIKit+AFNetworking/UIRefreshControl+AFNetworking.m",
    "content": "// UIRefreshControl+AFNetworking.m\n//\n// Copyright (c) 2011–2016 Alamofire Software Foundation ( http://alamofire.org/ )\n//\n// Permission is hereby granted, free of charge, to any person obtaining a copy\n// of this software and associated documentation files (the \"Software\"), to deal\n// in the Software without restriction, including without limitation the rights\n// to use, copy, modify, merge, publish, distribute, sublicense, and/or sell\n// copies of the Software, and to permit persons to whom the Software is\n// furnished to do so, subject to the following conditions:\n//\n// The above copyright notice and this permission notice shall be included in\n// all copies or substantial portions of the Software.\n//\n// THE SOFTWARE IS PROVIDED \"AS IS\", WITHOUT WARRANTY OF ANY KIND, EXPRESS OR\n// IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF MERCHANTABILITY,\n// FITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT. IN NO EVENT SHALL THE\n// AUTHORS OR COPYRIGHT HOLDERS BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER\n// LIABILITY, WHETHER IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING FROM,\n// OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN\n// THE SOFTWARE.\n\n#import \"UIRefreshControl+AFNetworking.h\"\n#import <objc/runtime.h>\n\n#if TARGET_OS_IOS\n\n#import \"AFURLSessionManager.h\"\n\n@interface AFRefreshControlNotificationObserver : NSObject\n@property (readonly, nonatomic, weak) UIRefreshControl *refreshControl;\n- (instancetype)initWithActivityRefreshControl:(UIRefreshControl *)refreshControl;\n\n- (void)setRefreshingWithStateOfTask:(NSURLSessionTask *)task;\n\n@end\n\n@implementation UIRefreshControl (AFNetworking)\n\n- (AFRefreshControlNotificationObserver *)af_notificationObserver {\n    AFRefreshControlNotificationObserver *notificationObserver = objc_getAssociatedObject(self, @selector(af_notificationObserver));\n    if (notificationObserver == nil) {\n        notificationObserver = [[AFRefreshControlNotificationObserver alloc] initWithActivityRefreshControl:self];\n        objc_setAssociatedObject(self, @selector(af_notificationObserver), notificationObserver, OBJC_ASSOCIATION_RETAIN_NONATOMIC);\n    }\n    return notificationObserver;\n}\n\n- (void)setRefreshingWithStateOfTask:(NSURLSessionTask *)task {\n    [[self af_notificationObserver] setRefreshingWithStateOfTask:task];\n}\n\n@end\n\n@implementation AFRefreshControlNotificationObserver\n\n- (instancetype)initWithActivityRefreshControl:(UIRefreshControl *)refreshControl\n{\n    self = [super init];\n    if (self) {\n        _refreshControl = refreshControl;\n    }\n    return self;\n}\n\n- (void)setRefreshingWithStateOfTask:(NSURLSessionTask *)task {\n    NSNotificationCenter *notificationCenter = [NSNotificationCenter defaultCenter];\n\n    [notificationCenter removeObserver:self name:AFNetworkingTaskDidResumeNotification object:nil];\n    [notificationCenter removeObserver:self name:AFNetworkingTaskDidSuspendNotification object:nil];\n    [notificationCenter removeObserver:self name:AFNetworkingTaskDidCompleteNotification object:nil];\n\n    if (task) {\n        UIRefreshControl *refreshControl = self.refreshControl;\n        if (task.state == NSURLSessionTaskStateRunning) {\n            [refreshControl beginRefreshing];\n\n            [notificationCenter addObserver:self selector:@selector(af_beginRefreshing) name:AFNetworkingTaskDidResumeNotification object:task];\n            [notificationCenter addObserver:self selector:@selector(af_endRefreshing) name:AFNetworkingTaskDidCompleteNotification object:task];\n            [notificationCenter addObserver:self selector:@selector(af_endRefreshing) name:AFNetworkingTaskDidSuspendNotification object:task];\n        } else {\n            [refreshControl endRefreshing];\n        }\n    }\n}\n\n#pragma mark -\n\n- (void)af_beginRefreshing {\n    dispatch_async(dispatch_get_main_queue(), ^{\n        [self.refreshControl beginRefreshing];\n    });\n}\n\n- (void)af_endRefreshing {\n    dispatch_async(dispatch_get_main_queue(), ^{\n        [self.refreshControl endRefreshing];\n    });\n}\n\n#pragma mark -\n\n- (void)dealloc {\n    NSNotificationCenter *notificationCenter = [NSNotificationCenter defaultCenter];\n    \n    [notificationCenter removeObserver:self name:AFNetworkingTaskDidCompleteNotification object:nil];\n    [notificationCenter removeObserver:self name:AFNetworkingTaskDidResumeNotification object:nil];\n    [notificationCenter removeObserver:self name:AFNetworkingTaskDidSuspendNotification object:nil];\n}\n\n@end\n\n#endif\n"
  },
  {
    "path": "CKMeiTuanShopView/Pods/AFNetworking/UIKit+AFNetworking/UIWebView+AFNetworking.h",
    "content": "// UIWebView+AFNetworking.h\n// Copyright (c) 2011–2016 Alamofire Software Foundation ( http://alamofire.org/ )\n//\n// Permission is hereby granted, free of charge, to any person obtaining a copy\n// of this software and associated documentation files (the \"Software\"), to deal\n// in the Software without restriction, including without limitation the rights\n// to use, copy, modify, merge, publish, distribute, sublicense, and/or sell\n// copies of the Software, and to permit persons to whom the Software is\n// furnished to do so, subject to the following conditions:\n//\n// The above copyright notice and this permission notice shall be included in\n// all copies or substantial portions of the Software.\n//\n// THE SOFTWARE IS PROVIDED \"AS IS\", WITHOUT WARRANTY OF ANY KIND, EXPRESS OR\n// IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF MERCHANTABILITY,\n// FITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT. IN NO EVENT SHALL THE\n// AUTHORS OR COPYRIGHT HOLDERS BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER\n// LIABILITY, WHETHER IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING FROM,\n// OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN\n// THE SOFTWARE.\n\n#import <Foundation/Foundation.h>\n\n#import <TargetConditionals.h>\n\n#if TARGET_OS_IOS\n\n#import <UIKit/UIKit.h>\n\nNS_ASSUME_NONNULL_BEGIN\n\n@class AFHTTPSessionManager;\n\n/**\n This category adds methods to the UIKit framework's `UIWebView` class. The methods in this category provide increased control over the request cycle, including progress monitoring and success / failure handling.\n\n @discussion When using these category methods, make sure to assign `delegate` for the web view, which implements `–webView:shouldStartLoadWithRequest:navigationType:` appropriately. This allows for tapped links to be loaded through AFNetworking, and can ensure that `canGoBack` & `canGoForward` update their values correctly.\n */\n@interface UIWebView (AFNetworking)\n\n/**\n The session manager used to download all requests.\n */\n@property (nonatomic, strong) AFHTTPSessionManager *sessionManager;\n\n/**\n Asynchronously loads the specified request.\n\n @param request A URL request identifying the location of the content to load. This must not be `nil`.\n @param progress A progress object monitoring the current download progress.\n @param success A block object to be executed when the request finishes loading successfully. This block returns the HTML string to be loaded by the web view, and takes two arguments: the response, and the response string.\n @param failure A block object to be executed when the data task finishes unsuccessfully, or that finishes successfully, but encountered an error while parsing the response data. This block has no return value and takes a single argument: the error that occurred.\n */\n- (void)loadRequest:(NSURLRequest *)request\n           progress:(NSProgress * _Nullable __autoreleasing * _Nullable)progress\n            success:(nullable NSString * (^)(NSHTTPURLResponse *response, NSString *HTML))success\n            failure:(nullable void (^)(NSError *error))failure;\n\n/**\n Asynchronously loads the data associated with a particular request with a specified MIME type and text encoding.\n\n @param request A URL request identifying the location of the content to load. This must not be `nil`.\n @param MIMEType The MIME type of the content. Defaults to the content type of the response if not specified.\n @param textEncodingName The IANA encoding name, as in `utf-8` or `utf-16`. Defaults to the response text encoding if not specified.\n@param progress A progress object monitoring the current download progress.\n @param success A block object to be executed when the request finishes loading successfully. This block returns the data to be loaded by the web view and takes two arguments: the response, and the downloaded data.\n @param failure A block object to be executed when the data task finishes unsuccessfully, or that finishes successfully, but encountered an error while parsing the response data. This block has no return value and takes a single argument: the error that occurred.\n */\n- (void)loadRequest:(NSURLRequest *)request\n           MIMEType:(nullable NSString *)MIMEType\n   textEncodingName:(nullable NSString *)textEncodingName\n           progress:(NSProgress * _Nullable __autoreleasing * _Nullable)progress\n            success:(nullable NSData * (^)(NSHTTPURLResponse *response, NSData *data))success\n            failure:(nullable void (^)(NSError *error))failure;\n\n@end\n\nNS_ASSUME_NONNULL_END\n\n#endif\n"
  },
  {
    "path": "CKMeiTuanShopView/Pods/AFNetworking/UIKit+AFNetworking/UIWebView+AFNetworking.m",
    "content": "// UIWebView+AFNetworking.m\n// Copyright (c) 2011–2016 Alamofire Software Foundation ( http://alamofire.org/ )\n//\n// Permission is hereby granted, free of charge, to any person obtaining a copy\n// of this software and associated documentation files (the \"Software\"), to deal\n// in the Software without restriction, including without limitation the rights\n// to use, copy, modify, merge, publish, distribute, sublicense, and/or sell\n// copies of the Software, and to permit persons to whom the Software is\n// furnished to do so, subject to the following conditions:\n//\n// The above copyright notice and this permission notice shall be included in\n// all copies or substantial portions of the Software.\n//\n// THE SOFTWARE IS PROVIDED \"AS IS\", WITHOUT WARRANTY OF ANY KIND, EXPRESS OR\n// IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF MERCHANTABILITY,\n// FITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT. IN NO EVENT SHALL THE\n// AUTHORS OR COPYRIGHT HOLDERS BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER\n// LIABILITY, WHETHER IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING FROM,\n// OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN\n// THE SOFTWARE.\n\n#import \"UIWebView+AFNetworking.h\"\n\n#import <objc/runtime.h>\n\n#if TARGET_OS_IOS\n\n#import \"AFHTTPSessionManager.h\"\n#import \"AFURLResponseSerialization.h\"\n#import \"AFURLRequestSerialization.h\"\n\n@interface UIWebView (_AFNetworking)\n@property (readwrite, nonatomic, strong, setter = af_setURLSessionTask:) NSURLSessionDataTask *af_URLSessionTask;\n@end\n\n@implementation UIWebView (_AFNetworking)\n\n- (NSURLSessionDataTask *)af_URLSessionTask {\n    return (NSURLSessionDataTask *)objc_getAssociatedObject(self, @selector(af_URLSessionTask));\n}\n\n- (void)af_setURLSessionTask:(NSURLSessionDataTask *)af_URLSessionTask {\n    objc_setAssociatedObject(self, @selector(af_URLSessionTask), af_URLSessionTask, OBJC_ASSOCIATION_RETAIN_NONATOMIC);\n}\n\n@end\n\n#pragma mark -\n\n@implementation UIWebView (AFNetworking)\n\n- (AFHTTPSessionManager  *)sessionManager {\n    static AFHTTPSessionManager *_af_defaultHTTPSessionManager = nil;\n    static dispatch_once_t onceToken;\n    dispatch_once(&onceToken, ^{\n        _af_defaultHTTPSessionManager = [[AFHTTPSessionManager alloc] initWithSessionConfiguration:[NSURLSessionConfiguration defaultSessionConfiguration]];\n        _af_defaultHTTPSessionManager.requestSerializer = [AFHTTPRequestSerializer serializer];\n        _af_defaultHTTPSessionManager.responseSerializer = [AFHTTPResponseSerializer serializer];\n    });\n\n    return objc_getAssociatedObject(self, @selector(sessionManager)) ?: _af_defaultHTTPSessionManager;\n}\n\n- (void)setSessionManager:(AFHTTPSessionManager *)sessionManager {\n    objc_setAssociatedObject(self, @selector(sessionManager), sessionManager, OBJC_ASSOCIATION_RETAIN_NONATOMIC);\n}\n\n- (AFHTTPResponseSerializer <AFURLResponseSerialization> *)responseSerializer {\n    static AFHTTPResponseSerializer <AFURLResponseSerialization> *_af_defaultResponseSerializer = nil;\n    static dispatch_once_t onceToken;\n    dispatch_once(&onceToken, ^{\n        _af_defaultResponseSerializer = [AFHTTPResponseSerializer serializer];\n    });\n\n    return objc_getAssociatedObject(self, @selector(responseSerializer)) ?: _af_defaultResponseSerializer;\n}\n\n- (void)setResponseSerializer:(AFHTTPResponseSerializer<AFURLResponseSerialization> *)responseSerializer {\n    objc_setAssociatedObject(self, @selector(responseSerializer), responseSerializer, OBJC_ASSOCIATION_RETAIN_NONATOMIC);\n}\n\n#pragma mark -\n\n- (void)loadRequest:(NSURLRequest *)request\n           progress:(NSProgress * _Nullable __autoreleasing * _Nullable)progress\n            success:(NSString * (^)(NSHTTPURLResponse *response, NSString *HTML))success\n            failure:(void (^)(NSError *error))failure\n{\n    [self loadRequest:request MIMEType:nil textEncodingName:nil progress:progress success:^NSData *(NSHTTPURLResponse *response, NSData *data) {\n        NSStringEncoding stringEncoding = NSUTF8StringEncoding;\n        if (response.textEncodingName) {\n            CFStringEncoding encoding = CFStringConvertIANACharSetNameToEncoding((CFStringRef)response.textEncodingName);\n            if (encoding != kCFStringEncodingInvalidId) {\n                stringEncoding = CFStringConvertEncodingToNSStringEncoding(encoding);\n            }\n        }\n\n        NSString *string = [[NSString alloc] initWithData:data encoding:stringEncoding];\n        if (success) {\n            string = success(response, string);\n        }\n\n        return [string dataUsingEncoding:stringEncoding];\n    } failure:failure];\n}\n\n- (void)loadRequest:(NSURLRequest *)request\n           MIMEType:(NSString *)MIMEType\n   textEncodingName:(NSString *)textEncodingName\n           progress:(NSProgress * _Nullable __autoreleasing * _Nullable)progress\n            success:(NSData * (^)(NSHTTPURLResponse *response, NSData *data))success\n            failure:(void (^)(NSError *error))failure\n{\n    NSParameterAssert(request);\n\n    if (self.af_URLSessionTask.state == NSURLSessionTaskStateRunning || self.af_URLSessionTask.state == NSURLSessionTaskStateSuspended) {\n        [self.af_URLSessionTask cancel];\n    }\n    self.af_URLSessionTask = nil;\n\n    __weak __typeof(self)weakSelf = self;\n    __block NSURLSessionDataTask *dataTask;\n    dataTask = [self.sessionManager\n                dataTaskWithRequest:request\n                uploadProgress:nil\n                downloadProgress:nil\n                completionHandler:^(NSURLResponse * _Nonnull response, id  _Nonnull responseObject, NSError * _Nullable error) {\n                    __strong __typeof(weakSelf) strongSelf = weakSelf;\n                    if (error) {\n                        if (failure) {\n                            failure(error);\n                        }\n                    } else {\n                        if (success) {\n                            success((NSHTTPURLResponse *)response, responseObject);\n                        }\n                        [strongSelf loadData:responseObject MIMEType:MIMEType textEncodingName:textEncodingName baseURL:[dataTask.currentRequest URL]];\n\n                        if ([strongSelf.delegate respondsToSelector:@selector(webViewDidFinishLoad:)]) {\n                            [strongSelf.delegate webViewDidFinishLoad:strongSelf];\n                        }\n                    }\n                }];\n    self.af_URLSessionTask = dataTask;\n    if (progress != nil) {\n        *progress = [self.sessionManager downloadProgressForTask:dataTask];\n    }\n    [self.af_URLSessionTask resume];\n\n    if ([self.delegate respondsToSelector:@selector(webViewDidStartLoad:)]) {\n        [self.delegate webViewDidStartLoad:self];\n    }\n}\n\n@end\n\n#endif\n"
  },
  {
    "path": "CKMeiTuanShopView/Pods/IQKeyboardManager/IQKeyboardManager/Categories/IQNSArray+Sort.h",
    "content": "//\n// IQNSArray+Sort.h\n// https://github.com/hackiftekhar/IQKeyboardManager\n// Copyright (c) 2013-16 Iftekhar Qurashi.\n//\n// Permission is hereby granted, free of charge, to any person obtaining a copy\n// of this software and associated documentation files (the \"Software\"), to deal\n// in the Software without restriction, including without limitation the rights\n// to use, copy, modify, merge, publish, distribute, sublicense, and/or sell\n// copies of the Software, and to permit persons to whom the Software is\n// furnished to do so, subject to the following conditions:\n//\n// The above copyright notice and this permission notice shall be included in\n// all copies or substantial portions of the Software.\n//\n// THE SOFTWARE IS PROVIDED \"AS IS\", WITHOUT WARRANTY OF ANY KIND, EXPRESS OR\n// IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF MERCHANTABILITY,\n// FITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT. IN NO EVENT SHALL THE\n// AUTHORS OR COPYRIGHT HOLDERS BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER\n// LIABILITY, WHETHER IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING FROM,\n// OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN\n// THE SOFTWARE.\n\n#import <Foundation/NSArray.h>\n\n@class UIView;\n\n/**\n UIView.subviews sorting category.\n */\n@interface NSArray (IQ_NSArray_Sort)\n\n///--------------\n/// @name Sorting\n///--------------\n\n/**\n Returns the array by sorting the UIView's by their tag property.\n */\n@property (nonatomic, readonly, copy) NSArray<__kindof UIView*> * _Nonnull sortedArrayByTag;\n\n/**\n Returns the array by sorting the UIView's by their tag property.\n */\n@property (nonatomic, readonly, copy) NSArray<__kindof UIView*> * _Nonnull sortedArrayByPosition;\n\n@end\n"
  },
  {
    "path": "CKMeiTuanShopView/Pods/IQKeyboardManager/IQKeyboardManager/Categories/IQNSArray+Sort.m",
    "content": "//\n// IQNSArray+Sort.m\n// https://github.com/hackiftekhar/IQKeyboardManager\n// Copyright (c) 2013-16 Iftekhar Qurashi.\n//\n// Permission is hereby granted, free of charge, to any person obtaining a copy\n// of this software and associated documentation files (the \"Software\"), to deal\n// in the Software without restriction, including without limitation the rights\n// to use, copy, modify, merge, publish, distribute, sublicense, and/or sell\n// copies of the Software, and to permit persons to whom the Software is\n// furnished to do so, subject to the following conditions:\n//\n// The above copyright notice and this permission notice shall be included in\n// all copies or substantial portions of the Software.\n//\n// THE SOFTWARE IS PROVIDED \"AS IS\", WITHOUT WARRANTY OF ANY KIND, EXPRESS OR\n// IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF MERCHANTABILITY,\n// FITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT. IN NO EVENT SHALL THE\n// AUTHORS OR COPYRIGHT HOLDERS BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER\n// LIABILITY, WHETHER IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING FROM,\n// OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN\n// THE SOFTWARE.\n\n#import \"IQNSArray+Sort.h\"\n#import \"IQUIView+Hierarchy.h\"\n\n#import <UIKit/UIView.h>\n\n@implementation NSArray (IQ_NSArray_Sort)\n\n- (NSArray<UIView*>*)sortedArrayByTag\n{\n    return [self sortedArrayUsingComparator:^NSComparisonResult(UIView *view1, UIView *view2) {\n        \n        if ([view1 respondsToSelector:@selector(tag)] && [view2 respondsToSelector:@selector(tag)])\n        {\n            if ([view1 tag] < [view2 tag])\treturn NSOrderedAscending;\n            \n            else if ([view1 tag] > [view2 tag])\treturn NSOrderedDescending;\n            \n            else\treturn NSOrderedSame;\n        }\n        else\n            return NSOrderedSame;\n    }];\n}\n\n- (NSArray<UIView*>*)sortedArrayByPosition\n{\n    return [self sortedArrayUsingComparator:^NSComparisonResult(UIView *view1, UIView *view2) {\n        \n        CGFloat x1 = CGRectGetMinX(view1.frame);\n        CGFloat y1 = CGRectGetMinY(view1.frame);\n        CGFloat x2 = CGRectGetMinX(view2.frame);\n        CGFloat y2 = CGRectGetMinY(view2.frame);\n        \n        if (y1 < y2)  return NSOrderedAscending;\n        \n        else if (y1 > y2) return NSOrderedDescending;\n        \n        //Else both y are same so checking for x positions\n        else if (x1 < x2)  return NSOrderedAscending;\n        \n        else if (x1 > x2) return NSOrderedDescending;\n        \n        else    return NSOrderedSame;\n    }];\n}\n\n\n@end\n"
  },
  {
    "path": "CKMeiTuanShopView/Pods/IQKeyboardManager/IQKeyboardManager/Categories/IQUIScrollView+Additions.h",
    "content": "//\n// IQUIScrollView+Additions.h\n// https://github.com/hackiftekhar/IQKeyboardManager\n// Copyright (c) 2013-16 Iftekhar Qurashi.\n//\n// Permission is hereby granted, free of charge, to any person obtaining a copy\n// of this software and associated documentation files (the \"Software\"), to deal\n// in the Software without restriction, including without limitation the rights\n// to use, copy, modify, merge, publish, distribute, sublicense, and/or sell\n// copies of the Software, and to permit persons to whom the Software is\n// furnished to do so, subject to the following conditions:\n//\n// The above copyright notice and this permission notice shall be included in\n// all copies or substantial portions of the Software.\n//\n// THE SOFTWARE IS PROVIDED \"AS IS\", WITHOUT WARRANTY OF ANY KIND, EXPRESS OR\n// IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF MERCHANTABILITY,\n// FITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT. IN NO EVENT SHALL THE\n// AUTHORS OR COPYRIGHT HOLDERS BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER\n// LIABILITY, WHETHER IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING FROM,\n// OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN\n// THE SOFTWARE.\n\n#import <UIKit/UIScrollView.h>\n\n\n@interface UIScrollView (Additions)\n\n/**\n If YES, then scrollview will ignore scrolling (simply not scroll it) for adjusting textfield position. Default is NO.\n */\n@property(nonatomic, assign) BOOL shouldIgnoreScrollingAdjustment;\n\n/**\n Restore scrollViewContentOffset when resigning from scrollView. Default is NO.\n */\n@property(nonatomic, assign) BOOL shouldRestoreScrollViewContentOffset;\n\n\n@end\n"
  },
  {
    "path": "CKMeiTuanShopView/Pods/IQKeyboardManager/IQKeyboardManager/Categories/IQUIScrollView+Additions.m",
    "content": "//\n// IQUIScrollView+Additions.m\n// https://github.com/hackiftekhar/IQKeyboardManager\n// Copyright (c) 2013-16 Iftekhar Qurashi.\n//\n// Permission is hereby granted, free of charge, to any person obtaining a copy\n// of this software and associated documentation files (the \"Software\"), to deal\n// in the Software without restriction, including without limitation the rights\n// to use, copy, modify, merge, publish, distribute, sublicense, and/or sell\n// copies of the Software, and to permit persons to whom the Software is\n// furnished to do so, subject to the following conditions:\n//\n// The above copyright notice and this permission notice shall be included in\n// all copies or substantial portions of the Software.\n//\n// THE SOFTWARE IS PROVIDED \"AS IS\", WITHOUT WARRANTY OF ANY KIND, EXPRESS OR\n// IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF MERCHANTABILITY,\n// FITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT. IN NO EVENT SHALL THE\n// AUTHORS OR COPYRIGHT HOLDERS BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER\n// LIABILITY, WHETHER IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING FROM,\n// OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN\n// THE SOFTWARE.\n\n#import \"IQUIScrollView+Additions.h\"\n#import <objc/runtime.h>\n\n@implementation UIScrollView (Additions)\n\n-(void)setShouldIgnoreScrollingAdjustment:(BOOL)shouldIgnoreScrollingAdjustment\n{\n    objc_setAssociatedObject(self, @selector(shouldIgnoreScrollingAdjustment), @(shouldIgnoreScrollingAdjustment), OBJC_ASSOCIATION_RETAIN_NONATOMIC);\n}\n\n-(BOOL)shouldIgnoreScrollingAdjustment\n{\n    NSNumber *shouldIgnoreScrollingAdjustment = objc_getAssociatedObject(self, @selector(shouldIgnoreScrollingAdjustment));\n    \n    return [shouldIgnoreScrollingAdjustment boolValue];\n}\n\n-(void)setShouldRestoreScrollViewContentOffset:(BOOL)shouldRestoreScrollViewContentOffset\n{\n    objc_setAssociatedObject(self, @selector(shouldRestoreScrollViewContentOffset), @(shouldRestoreScrollViewContentOffset), OBJC_ASSOCIATION_RETAIN_NONATOMIC);\n}\n\n-(BOOL)shouldRestoreScrollViewContentOffset\n{\n    NSNumber *shouldRestoreScrollViewContentOffset = objc_getAssociatedObject(self, @selector(shouldRestoreScrollViewContentOffset));\n    \n    return [shouldRestoreScrollViewContentOffset boolValue];\n}\n\n@end\n"
  },
  {
    "path": "CKMeiTuanShopView/Pods/IQKeyboardManager/IQKeyboardManager/Categories/IQUITextFieldView+Additions.h",
    "content": "//\n// IQUITextFieldView+Additions.h\n// https://github.com/hackiftekhar/IQKeyboardManager\n// Copyright (c) 2013-16 Iftekhar Qurashi.\n//\n// Permission is hereby granted, free of charge, to any person obtaining a copy\n// of this software and associated documentation files (the \"Software\"), to deal\n// in the Software without restriction, including without limitation the rights\n// to use, copy, modify, merge, publish, distribute, sublicense, and/or sell\n// copies of the Software, and to permit persons to whom the Software is\n// furnished to do so, subject to the following conditions:\n//\n// The above copyright notice and this permission notice shall be included in\n// all copies or substantial portions of the Software.\n//\n// THE SOFTWARE IS PROVIDED \"AS IS\", WITHOUT WARRANTY OF ANY KIND, EXPRESS OR\n// IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF MERCHANTABILITY,\n// FITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT. IN NO EVENT SHALL THE\n// AUTHORS OR COPYRIGHT HOLDERS BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER\n// LIABILITY, WHETHER IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING FROM,\n// OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN\n// THE SOFTWARE.\n\n#import <UIKit/UIView.h>\n#import \"IQKeyboardManagerConstants.h\"\n\n/**\n UIView category for managing UITextField/UITextView\n */\n\n@interface UIView (Additions)\n\n/**\n To set customized distance from keyboard for textField/textView. Can't be less than zero\n */\n@property(nonatomic, assign) CGFloat keyboardDistanceFromTextField;\n\n/**\n If shouldIgnoreSwitchingByNextPrevious is YES then library will ignore this textField/textView while moving to other textField/textView using keyboard toolbar next previous buttons. Default is NO\n */\n@property(nonatomic, assign) BOOL ignoreSwitchingByNextPrevious;\n\n///**\n// Override Enable/disable managing distance between keyboard and textField behaviour for this particular textField.\n// */\n//@property(nonatomic, assign) IQEnableMode enableMode;\n\n/**\n Override resigns Keyboard on touching outside of UITextField/View behaviour for this particular textField.\n */\n@property(nonatomic, assign) IQEnableMode shouldResignOnTouchOutsideMode;\n\n@end\n\n///-------------------------------------------\n/// @name Custom KeyboardDistanceFromTextField\n///-------------------------------------------\n\n/**\n Uses default keyboard distance for textField.\n */\nextern CGFloat const kIQUseDefaultKeyboardDistance;\n"
  },
  {
    "path": "CKMeiTuanShopView/Pods/IQKeyboardManager/IQKeyboardManager/Categories/IQUITextFieldView+Additions.m",
    "content": "//\n// IQUITextFieldView+Additions.m\n// https://github.com/hackiftekhar/IQKeyboardManager\n// Copyright (c) 2013-16 Iftekhar Qurashi.\n//\n// Permission is hereby granted, free of charge, to any person obtaining a copy\n// of this software and associated documentation files (the \"Software\"), to deal\n// in the Software without restriction, including without limitation the rights\n// to use, copy, modify, merge, publish, distribute, sublicense, and/or sell\n// copies of the Software, and to permit persons to whom the Software is\n// furnished to do so, subject to the following conditions:\n//\n// The above copyright notice and this permission notice shall be included in\n// all copies or substantial portions of the Software.\n//\n// THE SOFTWARE IS PROVIDED \"AS IS\", WITHOUT WARRANTY OF ANY KIND, EXPRESS OR\n// IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF MERCHANTABILITY,\n// FITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT. IN NO EVENT SHALL THE\n// AUTHORS OR COPYRIGHT HOLDERS BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER\n// LIABILITY, WHETHER IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING FROM,\n// OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN\n// THE SOFTWARE.\n\n#import \"IQUITextFieldView+Additions.h\"\n#import <objc/runtime.h>\n\n@implementation UIView (Additions)\n\n-(void)setKeyboardDistanceFromTextField:(CGFloat)keyboardDistanceFromTextField\n{\n    //Can't be less than zero. Minimum is zero.\n    keyboardDistanceFromTextField = MAX(keyboardDistanceFromTextField, 0);\n    \n    objc_setAssociatedObject(self, @selector(keyboardDistanceFromTextField), @(keyboardDistanceFromTextField), OBJC_ASSOCIATION_RETAIN_NONATOMIC);\n}\n\n-(CGFloat)keyboardDistanceFromTextField\n{\n    NSNumber *keyboardDistanceFromTextField = objc_getAssociatedObject(self, @selector(keyboardDistanceFromTextField));\n    \n    return (keyboardDistanceFromTextField)?[keyboardDistanceFromTextField floatValue]:kIQUseDefaultKeyboardDistance;\n}\n\n-(void)setIgnoreSwitchingByNextPrevious:(BOOL)ignoreSwitchingByNextPrevious\n{\n    objc_setAssociatedObject(self, @selector(ignoreSwitchingByNextPrevious), @(ignoreSwitchingByNextPrevious), OBJC_ASSOCIATION_RETAIN_NONATOMIC);\n}\n\n-(BOOL)ignoreSwitchingByNextPrevious\n{\n    NSNumber *ignoreSwitchingByNextPrevious = objc_getAssociatedObject(self, @selector(ignoreSwitchingByNextPrevious));\n    \n    return [ignoreSwitchingByNextPrevious boolValue];\n}\n\n//-(void)setEnableMode:(IQEnableMode)enableMode\n//{\n//    objc_setAssociatedObject(self, @selector(enableMode), @(enableMode), OBJC_ASSOCIATION_RETAIN_NONATOMIC);\n//}\n//\n//-(IQEnableMode)enableMode\n//{\n//    NSNumber *enableMode = objc_getAssociatedObject(self, @selector(enableMode));\n//    \n//    return [enableMode unsignedIntegerValue];\n//}\n\n-(void)setShouldResignOnTouchOutsideMode:(IQEnableMode)shouldResignOnTouchOutsideMode\n{\n    objc_setAssociatedObject(self, @selector(shouldResignOnTouchOutsideMode), @(shouldResignOnTouchOutsideMode), OBJC_ASSOCIATION_RETAIN_NONATOMIC);\n}\n\n-(IQEnableMode)shouldResignOnTouchOutsideMode\n{\n    NSNumber *shouldResignOnTouchOutsideMode = objc_getAssociatedObject(self, @selector(shouldResignOnTouchOutsideMode));\n    \n    return [shouldResignOnTouchOutsideMode unsignedIntegerValue];\n}\n\n@end\n\n///------------------------------------\n/// @name keyboardDistanceFromTextField\n///------------------------------------\n\n/**\n Uses default keyboard distance for textField.\n */\nCGFloat const kIQUseDefaultKeyboardDistance = CGFLOAT_MAX;\n\n"
  },
  {
    "path": "CKMeiTuanShopView/Pods/IQKeyboardManager/IQKeyboardManager/Categories/IQUIView+Hierarchy.h",
    "content": "//\n// IQUIView+Hierarchy.h\n// https://github.com/hackiftekhar/IQKeyboardManager\n// Copyright (c) 2013-16 Iftekhar Qurashi.\n//\n// Permission is hereby granted, free of charge, to any person obtaining a copy\n// of this software and associated documentation files (the \"Software\"), to deal\n// in the Software without restriction, including without limitation the rights\n// to use, copy, modify, merge, publish, distribute, sublicense, and/or sell\n// copies of the Software, and to permit persons to whom the Software is\n// furnished to do so, subject to the following conditions:\n//\n// The above copyright notice and this permission notice shall be included in\n// all copies or substantial portions of the Software.\n//\n// THE SOFTWARE IS PROVIDED \"AS IS\", WITHOUT WARRANTY OF ANY KIND, EXPRESS OR\n// IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF MERCHANTABILITY,\n// FITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT. IN NO EVENT SHALL THE\n// AUTHORS OR COPYRIGHT HOLDERS BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER\n// LIABILITY, WHETHER IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING FROM,\n// OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN\n// THE SOFTWARE.\n\n#import <UIKit/UIView.h>\n#import <UIKit/UIViewController.h>\n#import \"IQKeyboardManagerConstants.h\"\n\n@class UICollectionView, UIScrollView, UITableView, UISearchBar, NSArray;\n\n/**\n UIView hierarchy category.\n */\n@interface UIView (IQ_UIView_Hierarchy)\n\n///----------------------\n/// @name viewControllers\n///----------------------\n\n/**\n Returns the UIViewController object that manages the receiver.\n */\n@property (nullable, nonatomic, readonly, strong) UIViewController *viewContainingController;\n\n/**\n Returns the topMost UIViewController object in hierarchy.\n */\n@property (nullable, nonatomic, readonly, strong) UIViewController *topMostController;\n\n/**\n Returns the UIViewController object that is actually the parent of this object. Most of the time it's the viewController object which actually contains it, but result may be different if it's viewController is added as childViewController of another viewController.\n */\n@property (nullable, nonatomic, readonly, strong) UIViewController *parentContainerViewController;\n\n///-----------------------------------\n/// @name Superviews/Subviews/Siglings\n///-----------------------------------\n\n/**\n Returns the superView of provided class type.\n */\n-(nullable UIView*)superviewOfClassType:(nonnull Class)classType;\n\n/**\n Returns all siblings of the receiver which canBecomeFirstResponder.\n */\n@property (nonnull, nonatomic, readonly, copy) NSArray<__kindof UIView*> *responderSiblings;\n\n/**\n Returns all deep subViews of the receiver which canBecomeFirstResponder.\n */\n@property (nonnull, nonatomic, readonly, copy) NSArray<__kindof UIView*> *deepResponderViews;\n\n///-------------------------\n/// @name Special TextFields\n///-------------------------\n\n/**\n Returns searchBar if receiver object is UISearchBarTextField, otherwise return nil.\n */\n@property (nullable, nonatomic, readonly) UISearchBar *searchBar;\n\n/**\n Returns YES if the receiver object is UIAlertSheetTextField, otherwise return NO.\n */\n@property (nonatomic, getter=isAlertViewTextField, readonly) BOOL alertViewTextField;\n\n///----------------\n/// @name Transform\n///----------------\n\n/**\n Returns current view transform with respect to the 'toView'.\n */\n-(CGAffineTransform)convertTransformToView:(nullable UIView*)toView;\n\n///-----------------\n/// @name Hierarchy\n///-----------------\n\n/**\n Returns a string that represent the information about it's subview's hierarchy. You can use this method to debug the subview's positions.\n */\n@property (nonnull, nonatomic, readonly, copy) NSString *subHierarchy;\n\n/**\n Returns an string that represent the information about it's upper hierarchy. You can use this method to debug the superview's positions.\n */\n@property (nonnull, nonatomic, readonly, copy) NSString *superHierarchy;\n\n/**\n Returns an string that represent the information about it's frame positions. You can use this method to debug self positions.\n */\n@property (nonnull, nonatomic, readonly, copy) NSString *debugHierarchy;\n\n@end\n\n\n@interface UIViewController (IQ_UIView_Hierarchy)\n\n-(nullable UIViewController*)parentIQContainerViewController;\n\n@end\n\n/**\n NSObject category to used for logging purposes\n */\n@interface NSObject (IQ_Logging)\n\n/**\n Short description for logging purpose.\n */\n@property (nonnull, nonatomic, readonly, copy) NSString *_IQDescription;\n\n@end\n"
  },
  {
    "path": "CKMeiTuanShopView/Pods/IQKeyboardManager/IQKeyboardManager/Categories/IQUIView+Hierarchy.m",
    "content": "//\n// IQUIView+Hierarchy.m\n// https://github.com/hackiftekhar/IQKeyboardManager\n// Copyright (c) 2013-16 Iftekhar Qurashi.\n//\n// Permission is hereby granted, free of charge, to any person obtaining a copy\n// of this software and associated documentation files (the \"Software\"), to deal\n// in the Software without restriction, including without limitation the rights\n// to use, copy, modify, merge, publish, distribute, sublicense, and/or sell\n// copies of the Software, and to permit persons to whom the Software is\n// furnished to do so, subject to the following conditions:\n//\n// The above copyright notice and this permission notice shall be included in\n// all copies or substantial portions of the Software.\n//\n// THE SOFTWARE IS PROVIDED \"AS IS\", WITHOUT WARRANTY OF ANY KIND, EXPRESS OR\n// IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF MERCHANTABILITY,\n// FITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT. IN NO EVENT SHALL THE\n// AUTHORS OR COPYRIGHT HOLDERS BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER\n// LIABILITY, WHETHER IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING FROM,\n// OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN\n// THE SOFTWARE.\n\n#import \"IQUIView+Hierarchy.h\"\n#import \"IQUITextFieldView+Additions.h\"\n\n#import <UIKit/UICollectionView.h>\n#import <UIKit/UIAlertController.h>\n#import <UIKit/UITableView.h>\n#import <UIKit/UITextView.h>\n#import <UIKit/UITextField.h>\n#import <UIKit/UISearchBar.h>\n#import <UIKit/UINavigationController.h>\n#import <UIKit/UITabBarController.h>\n#import <UIKit/UISplitViewController.h>\n#import <UIKit/UIWindow.h>\n\n#import <objc/runtime.h>\n\n#import \"IQNSArray+Sort.h\"\n\n@implementation UIView (IQ_UIView_Hierarchy)\n\n-(UIViewController*)viewContainingController\n{\n    UIResponder *nextResponder =  self;\n    \n    do\n    {\n        nextResponder = [nextResponder nextResponder];\n\n        if ([nextResponder isKindOfClass:[UIViewController class]])\n            return (UIViewController*)nextResponder;\n\n    } while (nextResponder);\n\n    return nil;\n}\n\n-(UIViewController *)topMostController\n{\n    NSMutableArray<UIViewController*> *controllersHierarchy = [[NSMutableArray alloc] init];\n    \n    UIViewController *topController = self.window.rootViewController;\n    \n    if (topController)\n    {\n        [controllersHierarchy addObject:topController];\n    }\n    \n    while ([topController presentedViewController]) {\n        \n        topController = [topController presentedViewController];\n        [controllersHierarchy addObject:topController];\n    }\n    \n    UIViewController *matchController = [self viewContainingController];\n    \n    while (matchController && [controllersHierarchy containsObject:matchController] == NO)\n    {\n        do\n        {\n            matchController = (UIViewController*)[matchController nextResponder];\n            \n        } while (matchController && [matchController isKindOfClass:[UIViewController class]] == NO);\n    }\n    \n    return matchController;\n}\n\n-(UIViewController *)parentContainerViewController\n{\n    UIViewController *matchController = [self viewContainingController];\n    \n    UIViewController *parentContainerViewController = nil;\n    \n    if (matchController.navigationController)\n    {\n        UINavigationController *navController = matchController.navigationController;\n        \n        while (navController.navigationController) {\n            navController = navController.navigationController;\n        }\n        \n        UIViewController *parentController = navController;\n        \n        UIViewController *parentParentController = parentController.parentViewController;\n        \n        while (parentParentController &&\n               ([parentParentController isKindOfClass:[UINavigationController class]] == NO &&\n                [parentParentController isKindOfClass:[UITabBarController class]] == NO &&\n                [parentParentController isKindOfClass:[UISplitViewController class]] == NO))\n        {\n            parentController = parentParentController;\n            parentParentController = parentController.parentViewController;\n        }\n\n        if (navController == parentController)\n        {\n            parentContainerViewController = navController.topViewController;\n        }\n        else\n        {\n            parentContainerViewController = parentController;\n        }\n    }\n    else if (matchController.tabBarController)\n    {\n        if ([matchController.tabBarController.selectedViewController isKindOfClass:[UINavigationController class]])\n        {\n            parentContainerViewController = [(UINavigationController*)matchController.tabBarController.selectedViewController topViewController];\n        }\n        else\n        {\n            parentContainerViewController = matchController.tabBarController.selectedViewController;\n        }\n    }\n    else\n    {\n        UIViewController *matchParentController = matchController.parentViewController;\n\n        while (matchParentController &&\n               ([matchParentController isKindOfClass:[UINavigationController class]] == NO &&\n                [matchParentController isKindOfClass:[UITabBarController class]] == NO &&\n                [matchParentController isKindOfClass:[UISplitViewController class]] == NO))\n        {\n            matchController = matchParentController;\n            matchParentController = matchController.parentViewController;\n        }\n        \n        parentContainerViewController = matchController;\n    }\n    \n    UIViewController *finalController = [parentContainerViewController parentIQContainerViewController] ?: parentContainerViewController;\n    \n    return finalController;\n}\n\n-(UIView*)superviewOfClassType:(Class)classType\n{\n    UIView *superview = self.superview;\n    \n    while (superview)\n    {\n        if ([superview isKindOfClass:classType])\n        {\n            //If it's UIScrollView, then validating for special cases\n            if ([superview isKindOfClass:[UIScrollView class]])\n            {\n                NSString *classNameString = NSStringFromClass([superview class]);\n\n                //  If it's not UITableViewWrapperView class, this is internal class which is actually manage in UITableview. The speciality of this class is that it's superview is UITableView.\n                //  If it's not UITableViewCellScrollView class, this is internal class which is actually manage in UITableviewCell. The speciality of this class is that it's superview is UITableViewCell.\n                //If it's not _UIQueuingScrollView class, actually we validate for _ prefix which usually used by Apple internal classes\n                if ([superview.superview isKindOfClass:[UITableView class]] == NO &&\n                    [superview.superview isKindOfClass:[UITableViewCell class]] == NO &&\n                    [classNameString hasPrefix:@\"_\"] == NO)\n                {\n                    return superview;\n                }\n            }\n            else\n            {\n                return superview;\n            }\n        }\n        \n        superview = superview.superview;\n    }\n    \n    return nil;\n}\n\n-(BOOL)_IQcanBecomeFirstResponder\n{\n    BOOL _IQcanBecomeFirstResponder = NO;\n    \n    if ([self isKindOfClass:[UITextField class]])\n    {\n        _IQcanBecomeFirstResponder = [(UITextField*)self isEnabled];\n    }\n    else if ([self isKindOfClass:[UITextView class]])\n    {\n        _IQcanBecomeFirstResponder = [(UITextView*)self isEditable];\n    }\n\n    if (_IQcanBecomeFirstResponder == YES)\n    {\n        _IQcanBecomeFirstResponder = ([self isUserInteractionEnabled] && ![self isHidden] && [self alpha]!=0.0 && ![self isAlertViewTextField]  && !self.searchBar);\n    }\n    \n    return _IQcanBecomeFirstResponder;\n}\n\n- (NSArray<UIView*>*)responderSiblings\n{\n    //\tGetting all siblings\n    NSArray<UIView*> *siblings = self.superview.subviews;\n    \n    //Array of (UITextField/UITextView's).\n    NSMutableArray<UIView*> *tempTextFields = [[NSMutableArray alloc] init];\n    \n    for (UIView *textField in siblings)\n        if ((textField == self || textField.ignoreSwitchingByNextPrevious == NO) && [textField _IQcanBecomeFirstResponder])\n            [tempTextFields addObject:textField];\n    \n    return tempTextFields;\n}\n\n- (NSArray<UIView*>*)deepResponderViews\n{\n    NSMutableArray<UIView*> *textFields = [[NSMutableArray alloc] init];\n    \n    for (UIView *textField in self.subviews)\n    {\n        if ((textField == self || textField.ignoreSwitchingByNextPrevious == NO) && [textField _IQcanBecomeFirstResponder])\n        {\n            [textFields addObject:textField];\n        }\n        \n        //Sometimes there are hidden or disabled views and textField inside them still recorded, so we added some more validations here (Bug ID: #458)\n        //Uncommented else (Bug ID: #625)\n        if (textField.subviews.count && [textField isUserInteractionEnabled] && ![textField isHidden] && [textField alpha]!=0.0)\n        {\n            [textFields addObjectsFromArray:[textField deepResponderViews]];\n        }\n    }\n\n    //subviews are returning in incorrect order. Sorting according the frames 'y'.\n    return [textFields sortedArrayUsingComparator:^NSComparisonResult(UIView *view1, UIView *view2) {\n        \n        CGRect frame1 = [view1 convertRect:view1.bounds toView:self];\n        CGRect frame2 = [view2 convertRect:view2.bounds toView:self];\n        \n        CGFloat x1 = CGRectGetMinX(frame1);\n        CGFloat y1 = CGRectGetMinY(frame1);\n        CGFloat x2 = CGRectGetMinX(frame2);\n        CGFloat y2 = CGRectGetMinY(frame2);\n        \n        if (y1 < y2)  return NSOrderedAscending;\n        \n        else if (y1 > y2) return NSOrderedDescending;\n        \n        //Else both y are same so checking for x positions\n        else if (x1 < x2)  return NSOrderedAscending;\n        \n        else if (x1 > x2) return NSOrderedDescending;\n        \n        else    return NSOrderedSame;\n    }];\n\n    return textFields;\n}\n\n-(CGAffineTransform)convertTransformToView:(UIView*)toView\n{\n    if (toView == nil)\n    {\n        toView = self.window;\n    }\n    \n    CGAffineTransform myTransform = CGAffineTransformIdentity;\n    \n    //My Transform\n    {\n        UIView *superView = [self superview];\n        \n        if (superView)  myTransform = CGAffineTransformConcat(self.transform, [superView convertTransformToView:nil]);\n        else            myTransform = self.transform;\n    }\n    \n    CGAffineTransform viewTransform = CGAffineTransformIdentity;\n    \n    //view Transform\n    {\n        UIView *superView = [toView superview];\n        \n        if (superView)  viewTransform = CGAffineTransformConcat(toView.transform, [superView convertTransformToView:nil]);\n        else if (toView)  viewTransform = toView.transform;\n    }\n    \n    return CGAffineTransformConcat(myTransform, CGAffineTransformInvert(viewTransform));\n}\n\n\n- (NSInteger)depth\n{\n    NSInteger depth = 0;\n    \n    if ([self superview])\n    {\n        depth = [[self superview] depth] + 1;\n    }\n    \n    return depth;\n}\n\n- (NSString *)subHierarchy\n{\n    NSMutableString *debugInfo = [[NSMutableString alloc] initWithString:@\"\\n\"];\n    NSInteger depth = [self depth];\n    \n    for (int counter = 0; counter < depth; counter ++)  [debugInfo appendString:@\"|  \"];\n    \n    [debugInfo appendString:[self debugHierarchy]];\n    \n    for (UIView *subview in self.subviews)\n    {\n        [debugInfo appendString:[subview subHierarchy]];\n    }\n    \n    return debugInfo;\n}\n\n- (NSString *)superHierarchy\n{\n    NSMutableString *debugInfo = [[NSMutableString alloc] init];\n\n    if (self.superview)\n    {\n        [debugInfo appendString:[self.superview superHierarchy]];\n    }\n    else\n    {\n        [debugInfo appendString:@\"\\n\"];\n    }\n    \n    NSInteger depth = [self depth];\n    \n    for (int counter = 0; counter < depth; counter ++)  [debugInfo appendString:@\"|  \"];\n    \n    [debugInfo appendString:[self debugHierarchy]];\n\n    [debugInfo appendString:@\"\\n\"];\n    \n    return debugInfo;\n}\n\n-(NSString *)debugHierarchy\n{\n    NSMutableString *debugInfo = [[NSMutableString alloc] init];\n\n    [debugInfo appendFormat:@\"%@: ( %.0f, %.0f, %.0f, %.0f )\",NSStringFromClass([self class]), CGRectGetMinX(self.frame), CGRectGetMinY(self.frame), CGRectGetWidth(self.frame), CGRectGetHeight(self.frame)];\n    \n    if ([self isKindOfClass:[UIScrollView class]])\n    {\n        UIScrollView *scrollView = (UIScrollView*)self;\n        [debugInfo appendFormat:@\"%@: ( %.0f, %.0f )\",NSStringFromSelector(@selector(contentSize)),scrollView.contentSize.width,scrollView.contentSize.height];\n    }\n    \n    if (CGAffineTransformEqualToTransform(self.transform, CGAffineTransformIdentity) == false)\n    {\n        [debugInfo appendFormat:@\"%@: %@\",NSStringFromSelector(@selector(transform)),NSStringFromCGAffineTransform(self.transform)];\n    }\n    \n    return debugInfo;\n}\n\n-(UISearchBar *)searchBar\n{\n    UIResponder *searchBar = [self nextResponder];\n    \n    while (searchBar)\n    {\n        if ([searchBar isKindOfClass:[UISearchBar class]])\n        {\n            return (UISearchBar*)searchBar;\n        }\n        else if ([searchBar isKindOfClass:[UIViewController class]])    //If found viewcontroller but still not found UISearchBar then it's not the search bar textfield\n        {\n            break;\n        }\n        \n        searchBar = [searchBar nextResponder];\n    }\n    \n    return nil;\n}\n\n-(BOOL)isAlertViewTextField\n{\n    UIResponder *alertViewController = [self viewContainingController];\n    \n    BOOL isAlertViewTextField = NO;\n    while (alertViewController && isAlertViewTextField == NO)\n    {\n        if ([alertViewController isKindOfClass:[UIAlertController class]])\n        {\n            isAlertViewTextField = YES;\n            break;\n        }\n\n        alertViewController = [alertViewController nextResponder];\n    }\n    \n    return isAlertViewTextField;\n}\n\n@end\n\n@implementation UIViewController (IQ_UIView_Hierarchy)\n\n-(nullable UIViewController*)parentIQContainerViewController\n{\n    return self;\n}\n\n@end\n\n@implementation NSObject (IQ_Logging)\n\n-(NSString *)_IQDescription\n{\n    return [NSString stringWithFormat:@\"<%@ %p>\",NSStringFromClass([self class]),self];\n}\n\n@end\n"
  },
  {
    "path": "CKMeiTuanShopView/Pods/IQKeyboardManager/IQKeyboardManager/Categories/IQUIViewController+Additions.h",
    "content": "//\n// IQUIViewController+Additions.h\n// https://github.com/hackiftekhar/IQKeyboardManager\n// Copyright (c) 2013-16 Iftekhar Qurashi.\n//\n// Permission is hereby granted, free of charge, to any person obtaining a copy\n// of this software and associated documentation files (the \"Software\"), to deal\n// in the Software without restriction, including without limitation the rights\n// to use, copy, modify, merge, publish, distribute, sublicense, and/or sell\n// copies of the Software, and to permit persons to whom the Software is\n// furnished to do so, subject to the following conditions:\n//\n// The above copyright notice and this permission notice shall be included in\n// all copies or substantial portions of the Software.\n//\n// THE SOFTWARE IS PROVIDED \"AS IS\", WITHOUT WARRANTY OF ANY KIND, EXPRESS OR\n// IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF MERCHANTABILITY,\n// FITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT. IN NO EVENT SHALL THE\n// AUTHORS OR COPYRIGHT HOLDERS BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER\n// LIABILITY, WHETHER IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING FROM,\n// OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN\n// THE SOFTWARE.\n\n#import <UIKit/UIViewController.h>\n\n@class NSLayoutConstraint;\n\n@interface UIViewController (Additions)\n\n/**\n Top/Bottom Layout constraint which help library to manage keyboardTextField distance\n\n @message   Library is internally handle Safe Area in iOS11 if `canAdjustAdditionalSafeAreaInsets = YES` and there is no need to do any tweak if you already migrated to use Safe Area\n\n @deprecated    Due to change in core-logic of handling distance between textField and keyboard distance, this layout contraint tweak is no longer needed and things will just work out of the box regardless of constraint pinned with safeArea/layoutGuide/superview.\n*/\n@property(nullable, nonatomic, strong) IBOutlet NSLayoutConstraint *IQLayoutGuideConstraint __attribute__((deprecated(\"Due to change in core-logic of handling distance between textField and keyboard distance, this layout contraint tweak is no longer needed and things will just work out of the box regardless of constraint pinned with safeArea/layoutGuide/superview.\")));\n\n@end\n"
  },
  {
    "path": "CKMeiTuanShopView/Pods/IQKeyboardManager/IQKeyboardManager/Categories/IQUIViewController+Additions.m",
    "content": "//\n// IQUIViewController+Additions.m\n// https://github.com/hackiftekhar/IQKeyboardManager\n// Copyright (c) 2013-16 Iftekhar Qurashi.\n//\n// Permission is hereby granted, free of charge, to any person obtaining a copy\n// of this software and associated documentation files (the \"Software\"), to deal\n// in the Software without restriction, including without limitation the rights\n// to use, copy, modify, merge, publish, distribute, sublicense, and/or sell\n// copies of the Software, and to permit persons to whom the Software is\n// furnished to do so, subject to the following conditions:\n//\n// The above copyright notice and this permission notice shall be included in\n// all copies or substantial portions of the Software.\n//\n// THE SOFTWARE IS PROVIDED \"AS IS\", WITHOUT WARRANTY OF ANY KIND, EXPRESS OR\n// IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF MERCHANTABILITY,\n// FITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT. IN NO EVENT SHALL THE\n// AUTHORS OR COPYRIGHT HOLDERS BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER\n// LIABILITY, WHETHER IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING FROM,\n// OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN\n// THE SOFTWARE.\n\n#import \"IQUIViewController+Additions.h\"\n#import <UIKit/NSLayoutConstraint.h>\n#import <objc/runtime.h>\n\n@implementation UIViewController (Additions)\n\n-(void)setIQLayoutGuideConstraint:(NSLayoutConstraint *)IQLayoutGuideConstraint\n{\n    objc_setAssociatedObject(self, @selector(IQLayoutGuideConstraint), IQLayoutGuideConstraint, OBJC_ASSOCIATION_RETAIN_NONATOMIC);\n}\n\n-(NSLayoutConstraint *)IQLayoutGuideConstraint\n{\n    return objc_getAssociatedObject(self, @selector(IQLayoutGuideConstraint));\n}\n\n@end\n"
  },
  {
    "path": "CKMeiTuanShopView/Pods/IQKeyboardManager/IQKeyboardManager/Constants/IQKeyboardManagerConstants.h",
    "content": "//\n// IQKeyboardManagerConstants.h\n// https://github.com/hackiftekhar/IQKeyboardManager\n// Copyright (c) 2013-16 Iftekhar Qurashi.\n//\n// Permission is hereby granted, free of charge, to any person obtaining a copy\n// of this software and associated documentation files (the \"Software\"), to deal\n// in the Software without restriction, including without limitation the rights\n// to use, copy, modify, merge, publish, distribute, sublicense, and/or sell\n// copies of the Software, and to permit persons to whom the Software is\n// furnished to do so, subject to the following conditions:\n//\n// The above copyright notice and this permission notice shall be included in\n// all copies or substantial portions of the Software.\n//\n// THE SOFTWARE IS PROVIDED \"AS IS\", WITHOUT WARRANTY OF ANY KIND, EXPRESS OR\n// IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF MERCHANTABILITY,\n// FITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT. IN NO EVENT SHALL THE\n// AUTHORS OR COPYRIGHT HOLDERS BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER\n// LIABILITY, WHETHER IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING FROM,\n// OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN\n// THE SOFTWARE.\n\n#ifndef IQKeyboardManagerConstants_h\n#define IQKeyboardManagerConstants_h\n\n#import <Foundation/NSObjCRuntime.h>\n\n///-----------------------------------\n/// @name IQAutoToolbarManageBehaviour\n///-----------------------------------\n\n/**\n `IQAutoToolbarBySubviews`\n Creates Toolbar according to subview's hirarchy of Textfield's in view.\n \n `IQAutoToolbarByTag`\n Creates Toolbar according to tag property of TextField's.\n \n `IQAutoToolbarByPosition`\n Creates Toolbar according to the y,x position of textField in it's superview coordinate.\n */\ntypedef NS_ENUM(NSInteger, IQAutoToolbarManageBehaviour) {\n    IQAutoToolbarBySubviews,\n    IQAutoToolbarByTag,\n    IQAutoToolbarByPosition,\n};\n\n/**\n `IQPreviousNextDisplayModeDefault`\n Show NextPrevious when there are more than 1 textField otherwise hide.\n \n `IQPreviousNextDisplayModeAlwaysHide`\n Do not show NextPrevious buttons in any case.\n \n `IQPreviousNextDisplayModeAlwaysShow`\n Always show nextPrevious buttons, if there are more than 1 textField then both buttons will be visible but will be shown as disabled.\n */\ntypedef NS_ENUM(NSUInteger, IQPreviousNextDisplayMode) {\n    IQPreviousNextDisplayModeDefault,\n    IQPreviousNextDisplayModeAlwaysHide,\n    IQPreviousNextDisplayModeAlwaysShow,\n};\n\n/**\n `IQEnableModeDefault`\n Pick default settings.\n \n `IQEnableModeEnabled`\n setting is enabled.\n \n `IQEnableModeDisabled`\n setting is disabled.\n */\ntypedef NS_ENUM(NSUInteger, IQEnableMode) {\n    IQEnableModeDefault,\n    IQEnableModeEnabled,\n    IQEnableModeDisabled,\n};\n\n#endif\n\n/*\n \n /---------------------------------------------------------------------------------------------------\\\n \\---------------------------------------------------------------------------------------------------/\n |                                   iOS NSNotification Mechanism                                    |\n /---------------------------------------------------------------------------------------------------\\\n \\---------------------------------------------------------------------------------------------------/\n\n \n ------------------------------------------------------------\n When UITextField become first responder\n ------------------------------------------------------------\n - UITextFieldTextDidBeginEditingNotification (UITextField)\n - UIKeyboardWillShowNotification\n - UIKeyboardDidShowNotification\n \n ------------------------------------------------------------\n When UITextView become first responder\n ------------------------------------------------------------\n - UIKeyboardWillShowNotification\n - UITextViewTextDidBeginEditingNotification (UITextView)\n - UIKeyboardDidShowNotification\n\n ------------------------------------------------------------\n When switching focus from UITextField to another UITextField\n ------------------------------------------------------------\n - UITextFieldTextDidEndEditingNotification (UITextField1)\n - UITextFieldTextDidBeginEditingNotification (UITextField2)\n - UIKeyboardWillShowNotification\n - UIKeyboardDidShowNotification\n\n ------------------------------------------------------------\n When switching focus from UITextView to another UITextView\n ------------------------------------------------------------\n - UITextViewTextDidEndEditingNotification : (UITextView1)\n - UIKeyboardWillShowNotification\n - UITextViewTextDidBeginEditingNotification : (UITextView2)\n - UIKeyboardDidShowNotification\n \n ------------------------------------------------------------\n When switching focus from UITextField to UITextView\n ------------------------------------------------------------\n - UITextFieldTextDidEndEditingNotification (UITextField)\n - UIKeyboardWillShowNotification\n - UITextViewTextDidBeginEditingNotification (UITextView)\n - UIKeyboardDidShowNotification\n\n ------------------------------------------------------------\n When switching focus from UITextView to UITextField\n ------------------------------------------------------------\n - UITextViewTextDidEndEditingNotification (UITextView)\n - UITextFieldTextDidBeginEditingNotification (UITextField)\n - UIKeyboardWillShowNotification\n - UIKeyboardDidShowNotification\n\n ------------------------------------------------------------\n When opening/closing UIKeyboard Predictive bar\n ------------------------------------------------------------\n - UIKeyboardWillShowNotification\n - UIKeyboardDidShowNotification\n\n ------------------------------------------------------------\n On orientation change\n ------------------------------------------------------------\n - UIApplicationWillChangeStatusBarOrientationNotification\n - UIKeyboardWillHideNotification\n - UIKeyboardDidHideNotification\n - UIApplicationDidChangeStatusBarOrientationNotification\n - UIKeyboardWillShowNotification\n - UIKeyboardDidShowNotification\n - UIKeyboardWillShowNotification\n - UIKeyboardDidShowNotification\n \n */\n"
  },
  {
    "path": "CKMeiTuanShopView/Pods/IQKeyboardManager/IQKeyboardManager/Constants/IQKeyboardManagerConstantsInternal.h",
    "content": "//\n// IQKeyboardManagerConstantsInternal.h\n// https://github.com/hackiftekhar/IQKeyboardManager\n// Copyright (c) 2013-16 Iftekhar Qurashi.\n//\n// Permission is hereby granted, free of charge, to any person obtaining a copy\n// of this software and associated documentation files (the \"Software\"), to deal\n// in the Software without restriction, including without limitation the rights\n// to use, copy, modify, merge, publish, distribute, sublicense, and/or sell\n// copies of the Software, and to permit persons to whom the Software is\n// furnished to do so, subject to the following conditions:\n//\n// The above copyright notice and this permission notice shall be included in\n// all copies or substantial portions of the Software.\n//\n// THE SOFTWARE IS PROVIDED \"AS IS\", WITHOUT WARRANTY OF ANY KIND, EXPRESS OR\n// IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF MERCHANTABILITY,\n// FITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT. IN NO EVENT SHALL THE\n// AUTHORS OR COPYRIGHT HOLDERS BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER\n// LIABILITY, WHETHER IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING FROM,\n// OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN\n// THE SOFTWARE.\n\n#ifndef IQKeyboardManagerConstantsInternal_h\n#define IQKeyboardManagerConstantsInternal_h\n\n\n#define IQ_IS_IOS10_OR_GREATER ([[NSProcessInfo processInfo] operatingSystemVersion].majorVersion >= 10)\n\n#endif\n"
  },
  {
    "path": "CKMeiTuanShopView/Pods/IQKeyboardManager/IQKeyboardManager/IQKeyboardManager.h",
    "content": "//\n// IQKeyboardManager.h\n// https://github.com/hackiftekhar/IQKeyboardManager\n// Copyright (c) 2013-16 Iftekhar Qurashi.\n//\n// Permission is hereby granted, free of charge, to any person obtaining a copy\n// of this software and associated documentation files (the \"Software\"), to deal\n// in the Software without restriction, including without limitation the rights\n// to use, copy, modify, merge, publish, distribute, sublicense, and/or sell\n// copies of the Software, and to permit persons to whom the Software is\n// furnished to do so, subject to the following conditions:\n//\n// The above copyright notice and this permission notice shall be included in\n// all copies or substantial portions of the Software.\n//\n// THE SOFTWARE IS PROVIDED \"AS IS\", WITHOUT WARRANTY OF ANY KIND, EXPRESS OR\n// IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF MERCHANTABILITY,\n// FITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT. IN NO EVENT SHALL THE\n// AUTHORS OR COPYRIGHT HOLDERS BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER\n// LIABILITY, WHETHER IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING FROM,\n// OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN\n// THE SOFTWARE.\n\n#import \"IQKeyboardManagerConstants.h\"\n#import \"IQUIView+IQKeyboardToolbar.h\"\n#import \"IQPreviousNextView.h\"\n#import \"IQUIViewController+Additions.h\"\n#import \"IQKeyboardReturnKeyHandler.h\"\n#import \"IQTextView.h\"\n#import \"IQToolbar.h\"\n#import \"IQUIScrollView+Additions.h\"\n#import \"IQUITextFieldView+Additions.h\"\n#import \"IQBarButtonItem.h\"\n#import \"IQTitleBarButtonItem.h\"\n#import \"IQUIView+Hierarchy.h\"\n\n#import <CoreGraphics/CGBase.h>\n\n#import <Foundation/NSObject.h>\n#import <Foundation/NSObjCRuntime.h>\n#import <Foundation/NSSet.h>\n\n#import <UIKit/UITextInputTraits.h>\n\n@class UIFont, UIColor, UITapGestureRecognizer, UIView, UIImage;\n\n@class NSString;\n\n///---------------------\n/// @name IQToolbar tags\n///---------------------\n\n/**\n Default tag for toolbar with Done button   -1002.\n */\nextern NSInteger const kIQDoneButtonToolbarTag;\n\n/**\n Default tag for toolbar with Previous/Next buttons -1005.\n */\nextern NSInteger const kIQPreviousNextButtonToolbarTag;\n\n\n\n/**\n Codeless drop-in universal library allows to prevent issues of keyboard sliding up and cover UITextField/UITextView. Neither need to write any code nor any setup required and much more. A generic version of KeyboardManagement. https://developer.apple.com/library/ios/documentation/StringsTextFonts/Conceptual/TextAndWebiPhoneOS/KeyboardManagement/KeyboardManagement.html\n */\n@interface IQKeyboardManager : NSObject\n\n///--------------------------\n/// @name UIKeyboard handling\n///--------------------------\n\n/**\n Returns the default singleton instance. You are not allowed to create your own instances of this class.\n */\n+ (nonnull instancetype)sharedManager;\n\n/**\n Enable/disable managing distance between keyboard and textField. Default is YES(Enabled when class loads in `+(void)load` method).\n */\n@property(nonatomic, assign, getter = isEnabled) BOOL enable;\n\n/**\n To set keyboard distance from textField. can't be less than zero. Default is 10.0.\n */\n@property(nonatomic, assign) CGFloat keyboardDistanceFromTextField;\n\n/**\n Prevent keyboard manager to slide up the rootView to more than keyboard height. Default is YES.\n \n Due to change in core-logic of handling distance between textField and keyboard distance, this tweak is no longer needed and things will just work out of the box for most of the cases.\n */\n@property(nonatomic, assign) BOOL preventShowingBottomBlankSpace __attribute__((deprecated(\"Due to change in core-logic of handling distance between textField and keyboard distance, this tweak is no longer needed and things will just work out of the box for most of the cases. This property will be removed in future release.\")));\n\n/**\n Refreshes textField/textView position if any external changes is explicitly made by user.\n */\n- (void)reloadLayoutIfNeeded;\n\n/** \n Boolean to know if keyboard is showing.\n */\n@property(nonatomic, assign, readonly, getter = isKeyboardShowing) BOOL  keyboardShowing;\n\n/**\n moved distance to the top used to maintain distance between keyboard and textField. Most of the time this will be a positive value.\n */\n@property(nonatomic, assign, readonly) CGFloat movedDistance;\n\n\n///-------------------------\n/// @name IQToolbar handling\n///-------------------------\n\n/**\n Automatic add IQToolbar functionality. Default is YES.\n */\n@property(nonatomic, assign, getter = isEnableAutoToolbar) BOOL enableAutoToolbar;\n\n/**\n IQAutoToolbarBySubviews:   Creates Toolbar according to subview's hirarchy of Textfield's in view.\n IQAutoToolbarByTag:        Creates Toolbar according to tag property of TextField's.\n IQAutoToolbarByPosition:   Creates Toolbar according to the y,x position of textField in it's superview coordinate.\n\n Default is IQAutoToolbarBySubviews.\n*/\n@property(nonatomic, assign) IQAutoToolbarManageBehaviour toolbarManageBehaviour;\n\n/**\n If YES, then uses textField's tintColor property for IQToolbar, otherwise tint color is black. Default is NO.\n */\n@property(nonatomic, assign) BOOL shouldToolbarUsesTextFieldTintColor;\n\n/**\n This is used for toolbar.tintColor when textfield.keyboardAppearance is UIKeyboardAppearanceDefault. If shouldToolbarUsesTextFieldTintColor is YES then this property is ignored. Default is nil and uses black color.\n */\n@property(nullable, nonatomic, strong) UIColor *toolbarTintColor;\n\n/**\n This is used for toolbar.barTintColor. Default is nil and uses white color.\n */\n@property(nullable, nonatomic, strong) UIColor *toolbarBarTintColor;\n\n/**\n IQPreviousNextDisplayModeDefault:      Show NextPrevious when there are more than 1 textField otherwise hide.\n IQPreviousNextDisplayModeAlwaysHide:   Do not show NextPrevious buttons in any case.\n IQPreviousNextDisplayModeAlwaysShow:   Always show nextPrevious buttons, if there are more than 1 textField then both buttons will be visible but will be shown as disabled.\n */\n@property(nonatomic, assign) IQPreviousNextDisplayMode previousNextDisplayMode;\n\n/**\n Toolbar previous/next/done button icon, If nothing is provided then check toolbarDoneBarButtonItemText to draw done button.\n */\n@property(nullable, nonatomic, strong) UIImage *toolbarPreviousBarButtonItemImage;\n@property(nullable, nonatomic, strong) UIImage *toolbarNextBarButtonItemImage;\n@property(nullable, nonatomic, strong) UIImage *toolbarDoneBarButtonItemImage;\n\n/**\n Toolbar previous/next/done button text, If nothing is provided then system default 'UIBarButtonSystemItemDone' will be used.\n */\n@property(nullable, nonatomic, strong) NSString *toolbarPreviousBarButtonItemText;\n@property(nullable, nonatomic, strong) NSString *toolbarNextBarButtonItemText;\n@property(nullable, nonatomic, strong) NSString *toolbarDoneBarButtonItemText;\n\n/**\n If YES, then it add the textField's placeholder text on IQToolbar. Default is YES.\n */\n@property(nonatomic, assign) BOOL shouldShowTextFieldPlaceholder __attribute__((deprecated(\"This is renamed to `shouldShowToolbarPlaceholder` for more clear naming.\")));\n@property(nonatomic, assign) BOOL shouldShowToolbarPlaceholder;\n\n/**\n Placeholder Font. Default is nil.\n */\n@property(nullable, nonatomic, strong) UIFont *placeholderFont;\n\n/**\n Placeholder Color. Default is nil. Which means lightGray\n */\n@property(nullable, nonatomic, strong) UIColor *placeholderColor;\n\n/**\n Placeholder Button Color when it's treated as button. Default is nil. Which means iOS Blue for light toolbar and Yellow for dark toolbar\n */\n@property(nullable, nonatomic, strong) UIColor *placeholderButtonColor;\n\n/**\n Reload all toolbar buttons on the fly.\n */\n- (void)reloadInputViews;\n\n///---------------------------------------\n/// @name UIKeyboard appearance overriding\n///---------------------------------------\n\n/**\n Override the keyboardAppearance for all textField/textView. Default is NO.\n */\n@property(nonatomic, assign) BOOL overrideKeyboardAppearance;\n\n/**\n If overrideKeyboardAppearance is YES, then all the textField keyboardAppearance is set using this property.\n */\n@property(nonatomic, assign) UIKeyboardAppearance keyboardAppearance;\n\n///-----------------------------------------------------------\n/// @name UITextField/UITextView Next/Previous/Resign handling\n///-----------------------------------------------------------\n\n/**\n Resigns Keyboard on touching outside of UITextField/View. Default is NO.\n */\n@property(nonatomic, assign) BOOL shouldResignOnTouchOutside;\n\n/** TapGesture to resign keyboard on view's touch. It's a readonly property and exposed only for adding/removing dependencies if your added gesture does have collision with this one */\n@property(nonnull, nonatomic, strong, readonly) UITapGestureRecognizer  *resignFirstResponderGesture;\n\n/**\n Resigns currently first responder field.\n */\n- (BOOL)resignFirstResponder;\n\n/**\n Returns YES if can navigate to previous responder textField/textView, otherwise NO.\n */\n@property (nonatomic, readonly) BOOL canGoPrevious;\n\n/**\n Returns YES if can navigate to next responder textField/textView, otherwise NO.\n */\n@property (nonatomic, readonly) BOOL canGoNext;\n\n/**\n Navigate to previous responder textField/textView.\n */\n- (BOOL)goPrevious;\n\n/**\n Navigate to next responder textField/textView.\n */\n- (BOOL)goNext;\n\n///-----------------------\n/// @name UISound handling\n///-----------------------\n\n/**\n If YES, then it plays inputClick sound on next/previous/done click. Default is YES.\n */\n@property(nonatomic, assign) BOOL shouldPlayInputClicks;\n\n///---------------------------\n/// @name UIAnimation handling\n///---------------------------\n\n/**\n If YES, then calls 'setNeedsLayout' and 'layoutIfNeeded' on any frame update of to viewController's view.\n */\n@property(nonatomic, assign) BOOL layoutIfNeededOnUpdate;\n\n///-----------------------------------------------\n/// @name InteractivePopGestureRecognizer handling\n///-----------------------------------------------\n\n/**\n If YES, then always consider UINavigationController.view begin point as {0,0}, this is a workaround to fix a bug #464 because there are no notification mechanism exist when UINavigationController.view.frame gets changed internally.\n */\n@property(nonatomic, assign) BOOL shouldFixInteractivePopGestureRecognizer __attribute__((deprecated(\"Due to change in core-logic of handling distance between textField and keyboard distance, this tweak is no longer needed and things will just work out of the box for most of the cases. This property will be removed in future release.\")));\n\n#ifdef __IPHONE_11_0\n///---------------------------\n/// @name Safe Area\n///---------------------------\n\n/**\n If YES, then library will try to adjust viewController.additionalSafeAreaInsets to automatically handle layout guide. Default is NO.\n */\n@property(nonatomic, assign) BOOL canAdjustAdditionalSafeAreaInsets __attribute__((deprecated(\"Due to change in core-logic of handling distance between textField and keyboard distance, this safe area tweak is no longer needed and things will just work out of the box regardless of constraint pinned with safeArea/layoutGuide/superview. This property will be removed in future release.\")));\n#endif\n\n///---------------------------------------------\n/// @name Class Level enabling/disabling methods\n///---------------------------------------------\n\n/**\n Disable distance handling within the scope of disabled distance handling viewControllers classes. Within this scope, 'enabled' property is ignored. Class should be kind of UIViewController. Default is [UITableViewController, UIAlertController, _UIAlertControllerTextFieldViewController].\n */\n@property(nonatomic, strong, nonnull, readonly) NSMutableSet<Class> *disabledDistanceHandlingClasses;\n\n/**\n Enable distance handling within the scope of enabled distance handling viewControllers classes. Within this scope, 'enabled' property is ignored. Class should be kind of UIViewController. Default is [].\n */\n@property(nonatomic, strong, nonnull, readonly) NSMutableSet<Class> *enabledDistanceHandlingClasses;\n\n/**\n Disable automatic toolbar creation within the scope of disabled toolbar viewControllers classes. Within this scope, 'enableAutoToolbar' property is ignored. Class should be kind of UIViewController. Default is [UIAlertController, _UIAlertControllerTextFieldViewController].\n */\n@property(nonatomic, strong, nonnull, readonly) NSMutableSet<Class> *disabledToolbarClasses;\n\n/**\n Enable automatic toolbar creation within the scope of enabled toolbar viewControllers classes. Within this scope, 'enableAutoToolbar' property is ignored. Class should be kind of UIViewController. Default is [].\n */\n@property(nonatomic, strong, nonnull, readonly) NSMutableSet<Class> *enabledToolbarClasses;\n\n/**\n Allowed subclasses of UIView to add all inner textField, this will allow to navigate between textField contains in different superview. Class should be kind of UIView. Default is [UITableView, UICollectionView, IQPreviousNextView].\n */\n@property(nonatomic, strong, nonnull, readonly) NSMutableSet<Class> *toolbarPreviousNextAllowedClasses;\n\n/**\n Disabled classes to ignore 'shouldResignOnTouchOutside' property, Class should be kind of UIViewController. Default is [UIAlertController, UIAlertControllerTextFieldViewController]\n */\n@property(nonatomic, strong, nonnull, readonly) NSMutableSet<Class> *disabledTouchResignedClasses;\n\n/**\n Enabled classes to forcefully enable 'shouldResignOnTouchOutsite' property. Class should be kind of UIViewController. Default is [].\n */\n@property(nonatomic, strong, nonnull, readonly) NSMutableSet<Class> *enabledTouchResignedClasses;\n\n/**\n if shouldResignOnTouchOutside is enabled then you can customise the behaviour to not recognise gesture touches on some specific view subclasses. Class should be kind of UIView. Default is [UIControl, UINavigationBar]\n */\n@property(nonatomic, strong, nonnull, readonly) NSMutableSet<Class> *touchResignedGestureIgnoreClasses;\n\n///-------------------------------------------\n/// @name Third Party Library support\n/// Add TextField/TextView Notifications customised NSNotifications. For example while using YYTextView https://github.com/ibireme/YYText\n///-------------------------------------------\n\n/**\n Add/Remove customised Notification for third party customised TextField/TextView. Please be aware that the NSNotification object must be idential to UITextField/UITextView NSNotification objects and customised TextField/TextView support must be idential to UITextField/UITextView.\n @param didBeginEditingNotificationName This should be identical to UITextViewTextDidBeginEditingNotification\n @param didEndEditingNotificationName This should be identical to UITextViewTextDidEndEditingNotification\n */\n-(void)registerTextFieldViewClass:(nonnull Class)aClass\n  didBeginEditingNotificationName:(nonnull NSString *)didBeginEditingNotificationName\n    didEndEditingNotificationName:(nonnull NSString *)didEndEditingNotificationName;\n-(void)unregisterTextFieldViewClass:(nonnull Class)aClass\n    didBeginEditingNotificationName:(nonnull NSString *)didBeginEditingNotificationName\n      didEndEditingNotificationName:(nonnull NSString *)didEndEditingNotificationName;\n\n///----------------------------------------\n/// @name Debugging & Developer options\n///----------------------------------------\n\n@property(nonatomic, assign) BOOL enableDebugging;\n\n/**\n @warning Use these methods to completely enable/disable notifications registered by library internally. Please keep in mind that library is totally dependent on NSNotification of UITextField, UITextField, Keyboard etc. If you do unregisterAllNotifications then library will not work at all. You should only use below methods if you want to completedly disable all library functions. You should use below methods at your own risk.\n */\n-(void)registerAllNotifications;\n-(void)unregisterAllNotifications;\n\n///----------------------------------------\n/// @name Must not be used for subclassing.\n///----------------------------------------\n\n/**\n Unavailable. Please use sharedManager method\n */\n-(nonnull instancetype)init NS_UNAVAILABLE;\n\n/**\n Unavailable. Please use sharedManager method\n */\n+ (nonnull instancetype)new NS_UNAVAILABLE;\n\n@end\n"
  },
  {
    "path": "CKMeiTuanShopView/Pods/IQKeyboardManager/IQKeyboardManager/IQKeyboardManager.m",
    "content": "//\n// IQKeyboardManager.m\n// https://github.com/hackiftekhar/IQKeyboardManager\n// Copyright (c) 2013-16 Iftekhar Qurashi.\n//\n// Permission is hereby granted, free of charge, to any person obtaining a copy\n// of this software and associated documentation files (the \"Software\"), to deal\n// in the Software without restriction, including without limitation the rights\n// to use, copy, modify, merge, publish, distribute, sublicense, and/or sell\n// copies of the Software, and to permit persons to whom the Software is\n// furnished to do so, subject to the following conditions:\n//\n// The above copyright notice and this permission notice shall be included in\n// all copies or substantial portions of the Software.\n//\n// THE SOFTWARE IS PROVIDED \"AS IS\", WITHOUT WARRANTY OF ANY KIND, EXPRESS OR\n// IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF MERCHANTABILITY,\n// FITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT. IN NO EVENT SHALL THE\n// AUTHORS OR COPYRIGHT HOLDERS BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER\n// LIABILITY, WHETHER IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING FROM,\n// OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN\n// THE SOFTWARE.\n\n#import \"IQKeyboardManager.h\"\n#import \"IQUIView+Hierarchy.h\"\n#import \"IQUIView+IQKeyboardToolbar.h\"\n#import \"IQNSArray+Sort.h\"\n#import \"IQKeyboardManagerConstantsInternal.h\"\n#import \"IQUIScrollView+Additions.h\"\n#import \"IQUITextFieldView+Additions.h\"\n#import \"IQUIViewController+Additions.h\"\n#import \"IQPreviousNextView.h\"\n\n#import <QuartzCore/CABase.h>\n\n#import <objc/runtime.h>\n\n#import <UIKit/UIAlertController.h>\n#import <UIKit/UISearchBar.h>\n#import <UIKit/UIScreen.h>\n#import <UIKit/UINavigationBar.h>\n#import <UIKit/UITapGestureRecognizer.h>\n#import <UIKit/UITextField.h>\n#import <UIKit/UITextView.h>\n#import <UIKit/UITableViewController.h>\n#import <UIKit/UICollectionViewController.h>\n#import <UIKit/UINavigationController.h>\n#import <UIKit/UITouch.h>\n#import <UIKit/UIWindow.h>\n#import <UIKit/NSLayoutConstraint.h>\n\n\nNSInteger const kIQDoneButtonToolbarTag             =   -1002;\nNSInteger const kIQPreviousNextButtonToolbarTag     =   -1005;\n\n#define kIQCGPointInvalid CGPointMake(CGFLOAT_MAX, CGFLOAT_MAX)\n\n@interface IQKeyboardManager()<UIGestureRecognizerDelegate>\n\n/*******************************************/\n\n/** used to adjust contentInset of UITextView. */\n@property(nonatomic, assign) UIEdgeInsets     startingTextViewContentInsets;\n\n/** used to adjust scrollIndicatorInsets of UITextView. */\n@property(nonatomic, assign) UIEdgeInsets   startingTextViewScrollIndicatorInsets;\n\n/** used with textView to detect a textFieldView contentInset is changed or not. (Bug ID: #92)*/\n@property(nonatomic, assign) BOOL    isTextViewContentInsetChanged;\n\n/*******************************************/\n\n/** To save UITextField/UITextView object voa textField/textView notifications. */\n@property(nonatomic, weak) UIView       *textFieldView;\n\n/** To save rootViewController.view.frame.origin. */\n@property(nonatomic, assign) CGPoint    topViewBeginOrigin;\n\n/** To save rootViewController */\n@property(nonatomic, weak) UIViewController *rootViewController;\n\n/** To overcome with popGestureRecognizer issue Bug ID: #1361 */\n@property(nonatomic, weak) UIViewController *rootViewControllerWhilePopGestureRecognizerActive;\n@property(nonatomic, assign) CGPoint    topViewBeginOriginWhilePopGestureRecognizerActive;\n\n/** To know if we have any pending request to adjust view position. */\n@property(nonatomic, assign) BOOL   hasPendingAdjustRequest;\n\n/*******************************************/\n\n/** Variable to save lastScrollView that was scrolled. */\n@property(nonatomic, weak) UIScrollView     *lastScrollView;\n\n/** LastScrollView's initial contentInsets. */\n@property(nonatomic, assign) UIEdgeInsets   startingContentInsets;\n\n/** LastScrollView's initial scrollIndicatorInsets. */\n@property(nonatomic, assign) UIEdgeInsets   startingScrollIndicatorInsets;\n\n/** LastScrollView's initial contentOffset. */\n@property(nonatomic, assign) CGPoint        startingContentOffset;\n\n/*******************************************/\n\n/** To save keyboard animation duration. */\n@property(nonatomic, assign) CGFloat    animationDuration;\n\n/** To mimic the keyboard animation */\n@property(nonatomic, assign) NSInteger  animationCurve;\n\n/*******************************************/\n\n/** TapGesture to resign keyboard on view's touch. It's a readonly property and exposed only for adding/removing dependencies if your added gesture does have collision with this one */\n@property(nonnull, nonatomic, strong, readwrite) UITapGestureRecognizer  *resignFirstResponderGesture;\n\n/**\n moved distance to the top used to maintain distance between keyboard and textField. Most of the time this will be a positive value.\n */\n@property(nonatomic, assign, readwrite) CGFloat movedDistance;\n\n/*******************************************/\n\n@property(nonatomic, strong, nonnull, readwrite) NSMutableSet<Class> *registeredClasses;\n\n@property(nonatomic, strong, nonnull, readwrite) NSMutableSet<Class> *disabledDistanceHandlingClasses;\n@property(nonatomic, strong, nonnull, readwrite) NSMutableSet<Class> *enabledDistanceHandlingClasses;\n\n@property(nonatomic, strong, nonnull, readwrite) NSMutableSet<Class> *disabledToolbarClasses;\n@property(nonatomic, strong, nonnull, readwrite) NSMutableSet<Class> *enabledToolbarClasses;\n\n@property(nonatomic, strong, nonnull, readwrite) NSMutableSet<Class> *toolbarPreviousNextAllowedClasses;\n\n@property(nonatomic, strong, nonnull, readwrite) NSMutableSet<Class> *disabledTouchResignedClasses;\n@property(nonatomic, strong, nonnull, readwrite) NSMutableSet<Class> *enabledTouchResignedClasses;\n@property(nonatomic, strong, nonnull, readwrite) NSMutableSet<Class> *touchResignedGestureIgnoreClasses;\n\n/*******************************************/\n\n@end\n\n@implementation IQKeyboardManager\n{\n\t@package\n\n    /*******************************************/\n    \n    /** To save keyboardWillShowNotification. Needed for enable keyboard functionality. */\n    NSNotification          *_kbShowNotification;\n    \n    /** To save keyboard size. */\n    CGSize                   _kbSize;\n    \n    /*******************************************/\n}\n\n//UIKeyboard handling\n@synthesize enable                              =   _enable;\n@synthesize keyboardDistanceFromTextField       =   _keyboardDistanceFromTextField;\n\n//Keyboard Appearance handling\n@synthesize overrideKeyboardAppearance          =   _overrideKeyboardAppearance;\n@synthesize keyboardAppearance                  =   _keyboardAppearance;\n\n//IQToolbar handling\n@synthesize enableAutoToolbar                   =   _enableAutoToolbar;\n@synthesize toolbarManageBehaviour              =   _toolbarManageBehaviour;\n\n@synthesize shouldToolbarUsesTextFieldTintColor =   _shouldToolbarUsesTextFieldTintColor;\n@synthesize toolbarTintColor                    =   _toolbarTintColor;\n@synthesize toolbarBarTintColor                 =   _toolbarBarTintColor;\n@dynamic shouldShowTextFieldPlaceholder;\n@synthesize shouldShowToolbarPlaceholder        =   _shouldShowToolbarPlaceholder;\n@synthesize placeholderFont                     =   _placeholderFont;\n@synthesize placeholderColor                    =   _placeholderColor;\n@synthesize placeholderButtonColor              =   _placeholderButtonColor;\n\n//Resign handling\n@synthesize shouldResignOnTouchOutside          =   _shouldResignOnTouchOutside;\n@synthesize resignFirstResponderGesture         =   _resignFirstResponderGesture;\n\n//Sound handling\n@synthesize shouldPlayInputClicks               =   _shouldPlayInputClicks;\n\n//Animation handling\n@synthesize layoutIfNeededOnUpdate              =   _layoutIfNeededOnUpdate;\n\n#pragma mark - Initializing functions\n\n/** Override +load method to enable KeyboardManager when class loader load IQKeyboardManager. Enabling when app starts (No need to write any code) */\n+(void)load\n{\n    //Enabling IQKeyboardManager. Loading asynchronous on main thread\n    [self performSelectorOnMainThread:@selector(sharedManager) withObject:nil waitUntilDone:NO];\n}\n\n/*  Singleton Object Initialization. */\n-(instancetype)init\n{\n\tif (self = [super init])\n    {\n        __weak typeof(self) weakSelf = self;\n        \n        static dispatch_once_t onceToken;\n        dispatch_once(&onceToken, ^{\n            \n            __strong typeof(self) strongSelf = weakSelf;\n\n            strongSelf.registeredClasses = [[NSMutableSet alloc] init];\n\n            [strongSelf registerAllNotifications];\n\n            //Creating gesture for @shouldResignOnTouchOutside. (Enhancement ID: #14)\n            strongSelf.resignFirstResponderGesture = [[UITapGestureRecognizer alloc] initWithTarget:self action:@selector(tapRecognized:)];\n            strongSelf.resignFirstResponderGesture.cancelsTouchesInView = NO;\n            [strongSelf.resignFirstResponderGesture setDelegate:self];\n            strongSelf.resignFirstResponderGesture.enabled = strongSelf.shouldResignOnTouchOutside;\n            strongSelf.topViewBeginOrigin = kIQCGPointInvalid;\n            strongSelf.topViewBeginOriginWhilePopGestureRecognizerActive = kIQCGPointInvalid;\n            \n            //Setting it's initial values\n            strongSelf.animationDuration = 0.25;\n            strongSelf.animationCurve = UIViewAnimationCurveEaseInOut;\n            [self setEnable:YES];\n\t\t\t[self setKeyboardDistanceFromTextField:10.0];\n            [self setShouldPlayInputClicks:YES];\n            [self setShouldResignOnTouchOutside:NO];\n            [self setOverrideKeyboardAppearance:NO];\n            [self setKeyboardAppearance:UIKeyboardAppearanceDefault];\n            [self setEnableAutoToolbar:YES];\n            [self setShouldShowToolbarPlaceholder:YES];\n            [self setToolbarManageBehaviour:IQAutoToolbarBySubviews];\n            [self setLayoutIfNeededOnUpdate:NO];\n            \n            //Loading IQToolbar, IQTitleBarButtonItem, IQBarButtonItem to fix first time keyboard appearance delay (Bug ID: #550)\n            {\n                //If you experience exception breakpoint issue at below line then try these solutions https://stackoverflow.com/questions/27375640/all-exception-break-point-is-stopping-for-no-reason-on-simulator\n                UITextField *view = [[UITextField alloc] init];\n                [view addDoneOnKeyboardWithTarget:nil action:nil];\n                [view addPreviousNextDoneOnKeyboardWithTarget:nil previousAction:nil nextAction:nil doneAction:nil];\n            }\n            \n            //Initializing disabled classes Set.\n            strongSelf.disabledDistanceHandlingClasses = [[NSMutableSet alloc] initWithObjects:[UITableViewController class],[UIAlertController class], nil];\n            strongSelf.enabledDistanceHandlingClasses = [[NSMutableSet alloc] init];\n            \n            strongSelf.disabledToolbarClasses = [[NSMutableSet alloc] initWithObjects:[UIAlertController class], nil];\n            strongSelf.enabledToolbarClasses = [[NSMutableSet alloc] init];\n            \n            strongSelf.toolbarPreviousNextAllowedClasses = [[NSMutableSet alloc] initWithObjects:[UITableView class],[UICollectionView class],[IQPreviousNextView class], nil];\n            \n            strongSelf.disabledTouchResignedClasses = [[NSMutableSet alloc] initWithObjects:[UIAlertController class], nil];\n            strongSelf.enabledTouchResignedClasses = [[NSMutableSet alloc] init];\n            strongSelf.touchResignedGestureIgnoreClasses = [[NSMutableSet alloc] initWithObjects:[UIControl class],[UINavigationBar class], nil];\n            \n            [self setShouldToolbarUsesTextFieldTintColor:NO];\n        });\n    }\n    return self;\n}\n\n/*  Automatically called from the `+(void)load` method. */\n+ (IQKeyboardManager*)sharedManager\n{\n\t//Singleton instance\n\tstatic IQKeyboardManager *kbManager;\n\t\n\tstatic dispatch_once_t onceToken;\n    dispatch_once(&onceToken, ^{\n        \n        kbManager = [[self alloc] init];\n    });\n\t\n\treturn kbManager;\n}\n\n#pragma mark - Dealloc\n-(void)dealloc\n{\n    //  Disable the keyboard manager.\n\t[self setEnable:NO];\n    \n    //Removing notification observers on dealloc.\n\t[[NSNotificationCenter defaultCenter] removeObserver:self];\n}\n\n#pragma mark - Property functions\n-(void)setEnable:(BOOL)enable\n{\n\t// If not enabled, enable it.\n    if (enable == YES &&\n        _enable == NO)\n    {\n\t\t//Setting NO to _enable.\n\t\t_enable = enable;\n        \n\t\t//If keyboard is currently showing. Sending a fake notification for keyboardWillShow to adjust view according to keyboard.\n\t\tif (_kbShowNotification)\t[self keyboardWillShow:_kbShowNotification];\n\n        [self showLog:@\"Enabled\"];\n    }\n\t//If not disable, desable it.\n    else if (enable == NO &&\n             _enable == YES)\n    {\n\t\t//Sending a fake notification for keyboardWillHide to retain view's original position.\n\t\t[self keyboardWillHide:nil];\n        \n\t\t//Setting NO to _enable.\n\t\t_enable = enable;\n\t\t\n        [self showLog:@\"Disabled\"];\n    }\n\t//If already disabled.\n\telse if (enable == NO &&\n             _enable == NO)\n\t{\n        [self showLog:@\"Already Disabled\"];\n\t}\n\t//If already enabled.\n\telse if (enable == YES &&\n             _enable == YES)\n\t{\n        [self showLog:@\"Already Enabled\"];\n\t}\n}\n\n-(BOOL)privateIsEnabled\n{\n    BOOL enable = _enable;\n    \n//    IQEnableMode enableMode = _textFieldView.enableMode;\n//\n//    if (enableMode == IQEnableModeEnabled)\n//    {\n//        enable = YES;\n//    }\n//    else if (enableMode == IQEnableModeDisabled)\n//    {\n//        enable = NO;\n//    }\n//    else\n    {\n        UIViewController *textFieldViewController = [_textFieldView viewContainingController];\n        \n        if (textFieldViewController)\n        {\n            if (enable == NO)\n            {\n                //If viewController is kind of enable viewController class, then assuming it's enabled.\n                for (Class enabledClass in _enabledDistanceHandlingClasses)\n                {\n                    if ([textFieldViewController isKindOfClass:enabledClass])\n                    {\n                        enable = YES;\n                        break;\n                    }\n                }\n            }\n            \n            if (enable)\n            {\n                //If viewController is kind of disable viewController class, then assuming it's disable.\n                for (Class disabledClass in _disabledDistanceHandlingClasses)\n                {\n                    if ([textFieldViewController isKindOfClass:disabledClass])\n                    {\n                        enable = NO;\n                        break;\n                    }\n                }\n                \n                //Special Controllers\n                if (enable == YES)\n                {\n                    NSString *classNameString = NSStringFromClass([textFieldViewController class]);\n                    \n                    //_UIAlertControllerTextFieldViewController\n                    if ([classNameString containsString:@\"UIAlertController\"] && [classNameString hasSuffix:@\"TextFieldViewController\"])\n                    {\n                        enable = NO;\n                    }\n                }\n            }\n        }\n    }\n    \n    return enable;\n}\n\n-(BOOL)shouldShowTextFieldPlaceholder\n{\n    return _shouldShowToolbarPlaceholder;\n}\n\n-(void)setShouldShowTextFieldPlaceholder:(BOOL)shouldShowTextFieldPlaceholder\n{\n    _shouldShowToolbarPlaceholder = shouldShowTextFieldPlaceholder;\n}\n\n//\tSetting keyboard distance from text field.\n-(void)setKeyboardDistanceFromTextField:(CGFloat)keyboardDistanceFromTextField\n{\n    //Can't be less than zero. Minimum is zero.\n\t_keyboardDistanceFromTextField = MAX(keyboardDistanceFromTextField, 0);\n\n    [self showLog:[NSString stringWithFormat:@\"keyboardDistanceFromTextField: %.2f\",_keyboardDistanceFromTextField]];\n}\n\n/** Enabling/disable gesture on touching. */\n-(void)setShouldResignOnTouchOutside:(BOOL)shouldResignOnTouchOutside\n{\n    [self showLog:[NSString stringWithFormat:@\"shouldResignOnTouchOutside: %@\",shouldResignOnTouchOutside?@\"Yes\":@\"No\"]];\n    \n    _shouldResignOnTouchOutside = shouldResignOnTouchOutside;\n    \n    //Enable/Disable gesture recognizer   (Enhancement ID: #14)\n    [_resignFirstResponderGesture setEnabled:[self privateShouldResignOnTouchOutside]];\n}\n\n-(BOOL)privateShouldResignOnTouchOutside\n{\n    BOOL shouldResignOnTouchOutside = _shouldResignOnTouchOutside;\n    \n    UIView *textFieldView = _textFieldView;\n    IQEnableMode enableMode = textFieldView.shouldResignOnTouchOutsideMode;\n    \n    if (enableMode == IQEnableModeEnabled)\n    {\n        shouldResignOnTouchOutside = YES;\n    }\n    else if (enableMode == IQEnableModeDisabled)\n    {\n        shouldResignOnTouchOutside = NO;\n    }\n    else\n    {\n        UIViewController *textFieldViewController = [textFieldView viewContainingController];\n        \n        if (textFieldViewController)\n        {\n            if (shouldResignOnTouchOutside == NO)\n            {\n                //If viewController is kind of enable viewController class, then assuming shouldResignOnTouchOutside is enabled.\n                for (Class enabledClass in _enabledTouchResignedClasses)\n                {\n                    if ([textFieldViewController isKindOfClass:enabledClass])\n                    {\n                        shouldResignOnTouchOutside = YES;\n                        break;\n                    }\n                }\n            }\n            \n            if (shouldResignOnTouchOutside)\n            {\n                //If viewController is kind of disable viewController class, then assuming shouldResignOnTouchOutside is disable.\n                for (Class disabledClass in _disabledTouchResignedClasses)\n                {\n                    if ([textFieldViewController isKindOfClass:disabledClass])\n                    {\n                        shouldResignOnTouchOutside = NO;\n                        break;\n                    }\n                }\n                \n                //Special Controllers\n                if (shouldResignOnTouchOutside == YES)\n                {\n                    NSString *classNameString = NSStringFromClass([textFieldViewController class]);\n                    \n                    //_UIAlertControllerTextFieldViewController\n                    if ([classNameString containsString:@\"UIAlertController\"] && [classNameString hasSuffix:@\"TextFieldViewController\"])\n                    {\n                        shouldResignOnTouchOutside = NO;\n                    }\n                }\n            }\n        }\n    }\n    \n    return shouldResignOnTouchOutside;\n}\n\n/** Enable/disable autotoolbar. Adding and removing toolbar if required. */\n-(void)setEnableAutoToolbar:(BOOL)enableAutoToolbar\n{\n    _enableAutoToolbar = enableAutoToolbar;\n    \n    [self showLog:[NSString stringWithFormat:@\"enableAutoToolbar: %@\",enableAutoToolbar?@\"Yes\":@\"No\"]];\n\n    //If enabled then adding toolbar.\n    if ([self privateIsEnableAutoToolbar] == YES)\n    {\n        [self addToolbarIfRequired];\n    }\n    //Else removing toolbar.\n    else\n    {\n        [self removeToolbarIfRequired];\n    }\n}\n\n-(BOOL)privateIsEnableAutoToolbar\n{\n    BOOL enableAutoToolbar = _enableAutoToolbar;\n    \n    UIViewController *textFieldViewController = [_textFieldView viewContainingController];\n    \n    if (textFieldViewController)\n    {\n        if (enableAutoToolbar == NO)\n        {\n            //If found any toolbar enabled classes then return.\n            for (Class enabledToolbarClass in _enabledToolbarClasses)\n            {\n                if ([textFieldViewController isKindOfClass:enabledToolbarClass])\n                {\n                    enableAutoToolbar = YES;\n                    break;\n                }\n            }\n        }\n        \n        if (enableAutoToolbar)\n        {\n            //If found any toolbar disabled classes then return.\n            for (Class disabledToolbarClass in _disabledToolbarClasses)\n            {\n                if ([textFieldViewController isKindOfClass:disabledToolbarClass])\n                {\n                    enableAutoToolbar = NO;\n                    break;\n                }\n            }\n            \n            \n            //Special Controllers\n            if (enableAutoToolbar == YES)\n            {\n                NSString *classNameString = NSStringFromClass([textFieldViewController class]);\n                \n                //_UIAlertControllerTextFieldViewController\n                if ([classNameString containsString:@\"UIAlertController\"] && [classNameString hasSuffix:@\"TextFieldViewController\"])\n                {\n                    enableAutoToolbar = NO;\n                }\n            }\n        }\n    }\n    \n    return enableAutoToolbar;\n}\n\n#pragma mark - Private Methods\n\n/** Getting keyWindow. */\n-(UIWindow *)keyWindow\n{\n    UIView *textFieldView = _textFieldView;\n\n    if (textFieldView.window)\n    {\n        return textFieldView.window;\n    }\n    else\n    {\n        static __weak UIWindow *_keyWindow = nil;\n        \n        /*  (Bug ID: #23, #25, #73)   */\n        UIWindow *originalKeyWindow = [[UIApplication sharedApplication] keyWindow];\n        \n        //If original key window is not nil and the cached keywindow is also not original keywindow then changing keywindow.\n        if (originalKeyWindow &&\n            _keyWindow != originalKeyWindow)\n        {\n            _keyWindow = originalKeyWindow;\n        }\n        \n        return _keyWindow;\n    }\n}\n\n-(void)optimizedAdjustPosition\n{\n    if (_hasPendingAdjustRequest == NO)\n    {\n        _hasPendingAdjustRequest = YES;\n        \n        __weak typeof(self) weakSelf = self;\n\n        [[NSOperationQueue mainQueue] addOperationWithBlock:^{\n            [self adjustPosition];\n            weakSelf.hasPendingAdjustRequest = NO;\n        }];\n    }\n}\n\n/* Adjusting RootViewController's frame according to interface orientation. */\n-(void)adjustPosition\n{\n    UIView *textFieldView = _textFieldView;\n\n    //  Getting RootViewController.  (Bug ID: #1, #4)\n    UIViewController *rootController = _rootViewController;\n    \n    //  Getting KeyWindow object.\n    UIWindow *keyWindow = [self keyWindow];\n    \n    //  We are unable to get textField object while keyboard showing on UIWebView's textField.  (Bug ID: #11)\n    if (_hasPendingAdjustRequest == NO ||\n        textFieldView == nil ||\n        rootController == nil ||\n        keyWindow == nil)\n        return;\n    \n    CFTimeInterval startTime = CACurrentMediaTime();\n    [self showLog:[NSString stringWithFormat:@\"****** %@ started ******\",NSStringFromSelector(_cmd)]];\n\n    //  Converting Rectangle according to window bounds.\n    CGRect textFieldViewRectInWindow = [[textFieldView superview] convertRect:textFieldView.frame toView:keyWindow];\n    CGRect textFieldViewRectInRootSuperview = [[textFieldView superview] convertRect:textFieldView.frame toView:rootController.view.superview];\n    //  Getting RootView origin.\n    CGPoint rootViewOrigin = rootController.view.frame.origin;\n\n    //Maintain keyboardDistanceFromTextField\n    CGFloat specialKeyboardDistanceFromTextField = textFieldView.keyboardDistanceFromTextField;\n\n    {\n        UISearchBar *searchBar = textFieldView.searchBar;\n        \n        if (searchBar)\n        {\n            specialKeyboardDistanceFromTextField = searchBar.keyboardDistanceFromTextField;\n        }\n    }\n    \n    CGFloat keyboardDistanceFromTextField = (specialKeyboardDistanceFromTextField == kIQUseDefaultKeyboardDistance)?_keyboardDistanceFromTextField:specialKeyboardDistanceFromTextField;\n    CGSize kbSize = _kbSize;\n    kbSize.height += keyboardDistanceFromTextField;\n    \n    CGFloat navigationBarAreaHeight = [[UIApplication sharedApplication] statusBarFrame].size.height + rootController.navigationController.navigationBar.frame.size.height;\n    CGFloat layoutAreaHeight = rootController.view.layoutMargins.top;\n    \n    CGFloat topLayoutGuide = MAX(navigationBarAreaHeight, layoutAreaHeight) + 5;\n    CGFloat bottomLayoutGuide = [textFieldView isKindOfClass:[UITextView class]] ? 0 : rootController.view.layoutMargins.bottom; //Validation of textView for case where there is a tab bar at the bottom or running on iPhone X and textView is at the bottom.\n\n    //  +Move positive = textField is hidden.\n    //  -Move negative = textField is showing.\n    //  Calculating move position. Common for both normal and special cases.\n    CGFloat move = MIN(CGRectGetMinY(textFieldViewRectInRootSuperview)-topLayoutGuide, CGRectGetMaxY(textFieldViewRectInWindow)-(CGRectGetHeight(keyWindow.frame)-kbSize.height)+bottomLayoutGuide);\n\n    [self showLog:[NSString stringWithFormat:@\"Need to move: %.2f\",move]];\n\n    UIScrollView *superScrollView = nil;\n    UIScrollView *superView = (UIScrollView*)[textFieldView superviewOfClassType:[UIScrollView class]];\n\n    //Getting UIScrollView whose scrolling is enabled.    //  (Bug ID: #285)\n    while (superView)\n    {\n        if (superView.isScrollEnabled && superView.shouldIgnoreScrollingAdjustment == NO)\n        {\n            superScrollView = superView;\n            break;\n        }\n        else\n        {\n            //  Getting it's superScrollView.   //  (Enhancement ID: #21, #24)\n            superView = (UIScrollView*)[superView superviewOfClassType:[UIScrollView class]];\n        }\n    }\n    \n    //If there was a lastScrollView.    //  (Bug ID: #34)\n    if (_lastScrollView)\n    {\n        //If we can't find current superScrollView, then setting lastScrollView to it's original form.\n        if (superScrollView == nil)\n        {\n            [self showLog:[NSString stringWithFormat:@\"Restoring %@ contentInset to : %@ and contentOffset to : %@\",[_lastScrollView _IQDescription],NSStringFromUIEdgeInsets(_startingContentInsets),NSStringFromCGPoint(_startingContentOffset)]];\n\n            __weak typeof(self) weakSelf = self;\n\n            [UIView animateWithDuration:_animationDuration delay:0 options:(_animationCurve|UIViewAnimationOptionBeginFromCurrentState) animations:^{\n                \n                __strong typeof(self) strongSelf = weakSelf;\n                UIScrollView *strongLastScrollView = strongSelf.lastScrollView;\n\n                [strongLastScrollView setContentInset:strongSelf.startingContentInsets];\n                strongLastScrollView.scrollIndicatorInsets = strongSelf.startingScrollIndicatorInsets;\n            } completion:NULL];\n            \n            if (_lastScrollView.shouldRestoreScrollViewContentOffset)\n            {\n                [_lastScrollView setContentOffset:_startingContentOffset animated:UIView.areAnimationsEnabled];\n            }\n\n            _startingContentInsets = UIEdgeInsetsZero;\n            _startingScrollIndicatorInsets = UIEdgeInsetsZero;\n            _startingContentOffset = CGPointZero;\n            _lastScrollView = nil;\n        }\n        //If both scrollView's are different, then reset lastScrollView to it's original frame and setting current scrollView as last scrollView.\n        else if (superScrollView != _lastScrollView)\n        {\n            [self showLog:[NSString stringWithFormat:@\"Restoring %@ contentInset to : %@ and contentOffset to : %@\",[_lastScrollView _IQDescription],NSStringFromUIEdgeInsets(_startingContentInsets),NSStringFromCGPoint(_startingContentOffset)]];\n\n            __weak typeof(self) weakSelf = self;\n\n            [UIView animateWithDuration:_animationDuration delay:0 options:(_animationCurve|UIViewAnimationOptionBeginFromCurrentState) animations:^{\n                \n                __strong typeof(self) strongSelf = weakSelf;\n                UIScrollView *strongLastScrollView = strongSelf.lastScrollView;\n\n                [strongLastScrollView setContentInset:strongSelf.startingContentInsets];\n                strongLastScrollView.scrollIndicatorInsets = strongSelf.startingScrollIndicatorInsets;\n            } completion:NULL];\n\n            if (_lastScrollView.shouldRestoreScrollViewContentOffset)\n            {\n                [_lastScrollView setContentOffset:_startingContentOffset animated:UIView.areAnimationsEnabled];\n            }\n            \n            _lastScrollView = superScrollView;\n            _startingContentInsets = superScrollView.contentInset;\n            _startingScrollIndicatorInsets = superScrollView.scrollIndicatorInsets;\n            _startingContentOffset = superScrollView.contentOffset;\n\n            [self showLog:[NSString stringWithFormat:@\"Saving New %@ contentInset: %@ and contentOffset : %@\",[_lastScrollView _IQDescription],NSStringFromUIEdgeInsets(_startingContentInsets),NSStringFromCGPoint(_startingContentOffset)]];\n        }\n        //Else the case where superScrollView == lastScrollView means we are on same scrollView after switching to different textField. So doing nothing\n    }\n    //If there was no lastScrollView and we found a current scrollView. then setting it as lastScrollView.\n    else if(superScrollView)\n    {\n        _lastScrollView = superScrollView;\n        _startingContentInsets = superScrollView.contentInset;\n        _startingContentOffset = superScrollView.contentOffset;\n        _startingScrollIndicatorInsets = superScrollView.scrollIndicatorInsets;\n\n        [self showLog:[NSString stringWithFormat:@\"Saving %@ contentInset: %@ and contentOffset : %@\",[_lastScrollView _IQDescription],NSStringFromUIEdgeInsets(_startingContentInsets),NSStringFromCGPoint(_startingContentOffset)]];\n    }\n    \n    //  Special case for ScrollView.\n    {\n        //  If we found lastScrollView then setting it's contentOffset to show textField.\n        if (_lastScrollView)\n        {\n            //Saving\n            UIView *lastView = textFieldView;\n            superScrollView = _lastScrollView;\n\n            //Looping in upper hierarchy until we don't found any scrollView in it's upper hirarchy till UIWindow object.\n            while (superScrollView &&\n                   (move>0?(move > (-superScrollView.contentOffset.y-superScrollView.contentInset.top)):superScrollView.contentOffset.y>0) )\n            {\n                UIScrollView *nextScrollView = nil;\n                UIScrollView *tempScrollView = (UIScrollView*)[superScrollView superviewOfClassType:[UIScrollView class]];\n                \n                //Getting UIScrollView whose scrolling is enabled.    //  (Bug ID: #285)\n                while (tempScrollView)\n                {\n                    if (tempScrollView.isScrollEnabled && tempScrollView.shouldIgnoreScrollingAdjustment == NO)\n                    {\n                        nextScrollView = tempScrollView;\n                        break;\n                    }\n                    else\n                    {\n                        //  Getting it's superScrollView.   //  (Enhancement ID: #21, #24)\n                        tempScrollView = (UIScrollView*)[tempScrollView superviewOfClassType:[UIScrollView class]];\n                    }\n                }\n\n                //Getting lastViewRect.\n                CGRect lastViewRect = [[lastView superview] convertRect:lastView.frame toView:superScrollView];\n                \n                //Calculating the expected Y offset from move and scrollView's contentOffset.\n                CGFloat shouldOffsetY = superScrollView.contentOffset.y - MIN(superScrollView.contentOffset.y,-move);\n                \n                //Rearranging the expected Y offset according to the view.\n                shouldOffsetY = MIN(shouldOffsetY, lastViewRect.origin.y);\n                \n                //[textFieldView isKindOfClass:[UITextView class]] If is a UITextView type\n                //[superScrollView superviewOfClassType:[UIScrollView class]] == nil    If processing scrollView is last scrollView in upper hierarchy (there is no other scrollView upper hierarchy.)\n                //shouldOffsetY >= 0     shouldOffsetY must be greater than in order to keep distance from navigationBar (Bug ID: #92)\n                if ([textFieldView isKindOfClass:[UITextView class]] &&\n                    nextScrollView == nil &&\n                    (shouldOffsetY >= 0))\n                {\n                    //  Converting Rectangle according to window bounds.\n                    CGRect currentTextFieldViewRect = [[textFieldView superview] convertRect:textFieldView.frame toView:keyWindow];\n                    \n                    //Calculating expected fix distance which needs to be managed from navigation bar\n                    CGFloat expectedFixDistance = CGRectGetMinY(currentTextFieldViewRect) - topLayoutGuide;\n                    \n                    //Now if expectedOffsetY (superScrollView.contentOffset.y + expectedFixDistance) is lower than current shouldOffsetY, which means we're in a position where navigationBar up and hide, then reducing shouldOffsetY with expectedOffsetY (superScrollView.contentOffset.y + expectedFixDistance)\n                    shouldOffsetY = MIN(shouldOffsetY, superScrollView.contentOffset.y + expectedFixDistance);\n                    \n                    //Setting move to 0 because now we don't want to move any view anymore (All will be managed by our contentInset logic. \n                    move = 0;\n                }\n                else\n                {\n                    //Subtracting the Y offset from the move variable, because we are going to change scrollView's contentOffset.y to shouldOffsetY.\n                    move -= (shouldOffsetY-superScrollView.contentOffset.y);\n                }\n\n                \n                //Getting problem while using `setContentOffset:animated:`, So I used animation API.\n                [UIView animateWithDuration:_animationDuration delay:0 options:(_animationCurve|UIViewAnimationOptionBeginFromCurrentState) animations:^{\n                    \n                    [self showLog:[NSString stringWithFormat:@\"Adjusting %.2f to %@ ContentOffset\",(superScrollView.contentOffset.y-shouldOffsetY),[superScrollView _IQDescription]]];\n                    [self showLog:[NSString stringWithFormat:@\"Remaining Move: %.2f\",move]];\n\n                    superScrollView.contentOffset = CGPointMake(superScrollView.contentOffset.x, shouldOffsetY);\n\n                } completion:NULL];\n\n                //  Getting next lastView & superScrollView.\n                lastView = superScrollView;\n                superScrollView = nextScrollView;\n            }\n            \n            //Updating contentInset\n            {\n                CGRect lastScrollViewRect = [[_lastScrollView superview] convertRect:_lastScrollView.frame toView:keyWindow];\n\n                CGFloat bottom = (kbSize.height-keyboardDistanceFromTextField)-(CGRectGetHeight(keyWindow.frame)-CGRectGetMaxY(lastScrollViewRect));\n\n                // Update the insets so that the scroll vew doesn't shift incorrectly when the offset is near the bottom of the scroll view.\n                UIEdgeInsets movedInsets = _lastScrollView.contentInset;\n\n                movedInsets.bottom = MAX(_startingContentInsets.bottom, bottom);\n                \n                [self showLog:[NSString stringWithFormat:@\"%@ old ContentInset : %@\",[_lastScrollView _IQDescription], NSStringFromUIEdgeInsets(_lastScrollView.contentInset)]];\n                \n                __weak typeof(self) weakSelf = self;\n\n                [UIView animateWithDuration:_animationDuration delay:0 options:(_animationCurve|UIViewAnimationOptionBeginFromCurrentState) animations:^{\n                    \n                    __strong typeof(self) strongSelf = weakSelf;\n                    UIScrollView *strongLastScrollView = strongSelf.lastScrollView;\n\n                    strongLastScrollView.contentInset = movedInsets;\n                    \n                    UIEdgeInsets newInset = strongLastScrollView.scrollIndicatorInsets;\n                    newInset.bottom = movedInsets.bottom;\n                    strongLastScrollView.scrollIndicatorInsets = newInset;\n\n                } completion:NULL];\n\n                [self showLog:[NSString stringWithFormat:@\"%@ new ContentInset : %@\",[_lastScrollView _IQDescription], NSStringFromUIEdgeInsets(_lastScrollView.contentInset)]];\n            }\n        }\n        //Going ahead. No else if.\n    }\n    \n    {\n        //Special case for UITextView(Readjusting textView.contentInset when textView hight is too big to fit on screen)\n        //_lastScrollView       If not having inside any scrollView, (now contentInset manages the full screen textView.\n        //[textFieldView isKindOfClass:[UITextView class]] If is a UITextView type\n        if ([textFieldView isKindOfClass:[UITextView class]])\n        {\n            UITextView *textView = (UITextView*)textFieldView;\n\n            CGFloat keyboardYPosition = CGRectGetHeight(keyWindow.frame)-(kbSize.height-keyboardDistanceFromTextField);\n\n            CGRect rootSuperViewFrameInWindow = [rootController.view.superview convertRect:rootController.view.superview.bounds toView:keyWindow];\n\n            CGFloat keyboardOverlapping = CGRectGetMaxY(rootSuperViewFrameInWindow) - keyboardYPosition;\n\n            CGFloat textViewHeight = MIN(CGRectGetHeight(textFieldView.frame), (CGRectGetHeight(rootSuperViewFrameInWindow)-topLayoutGuide-keyboardOverlapping));\n            \n            if (textFieldView.frame.size.height-textView.contentInset.bottom>textViewHeight)\n            {\n                __weak typeof(self) weakSelf = self;\n                \n                [UIView animateWithDuration:_animationDuration delay:0 options:(_animationCurve|UIViewAnimationOptionBeginFromCurrentState) animations:^{\n                    \n                    __strong typeof(self) strongSelf = weakSelf;\n                    UIView *strongTextFieldView = strongSelf.textFieldView;\n                    \n                    [self showLog:[NSString stringWithFormat:@\"%@ Old UITextView.contentInset : %@\",[strongTextFieldView _IQDescription], NSStringFromUIEdgeInsets(textView.contentInset)]];\n                    \n                    //_isTextViewContentInsetChanged,  If frame is not change by library in past, then saving user textView properties  (Bug ID: #92)\n                    if (strongSelf.isTextViewContentInsetChanged == NO)\n                    {\n                        strongSelf.startingTextViewContentInsets = textView.contentInset;\n                        strongSelf.startingTextViewScrollIndicatorInsets = textView.scrollIndicatorInsets;\n                    }\n                    \n                    UIEdgeInsets newContentInset = textView.contentInset;\n                    newContentInset.bottom = strongTextFieldView.frame.size.height-textViewHeight;\n                    textView.contentInset = newContentInset;\n                    textView.scrollIndicatorInsets = newContentInset;\n                    strongSelf.isTextViewContentInsetChanged = YES;\n                    \n                    [self showLog:[NSString stringWithFormat:@\"%@ New UITextView.contentInset : %@\",[strongTextFieldView _IQDescription], NSStringFromUIEdgeInsets(textView.contentInset)]];\n                    \n                } completion:NULL];\n            }\n        }\n\n        {\n            __weak typeof(self) weakSelf = self;\n\n            //  +Positive or zero.\n            if (move>=0)\n            {\n                rootViewOrigin.y -= move;\n                \n                //  From now prevent keyboard manager to slide up the rootView to more than keyboard height. (Bug ID: #93)\n                rootViewOrigin.y = MAX(rootViewOrigin.y, MIN(0, -(kbSize.height-keyboardDistanceFromTextField)));\n\n                [self showLog:@\"Moving Upward\"];\n                //  Setting adjusted rootViewOrigin.ty\n                \n                //Used UIViewAnimationOptionBeginFromCurrentState to minimize strange animations.\n                [UIView animateWithDuration:_animationDuration delay:0 options:(_animationCurve|UIViewAnimationOptionBeginFromCurrentState) animations:^{\n                    \n                    __strong typeof(self) strongSelf = weakSelf;\n                    \n                    //  Setting it's new frame\n                    CGRect rect = rootController.view.frame;\n                    rect.origin = rootViewOrigin;\n                    rootController.view.frame = rect;\n                    \n                    //Animating content if needed (Bug ID: #204)\n                    if (strongSelf.layoutIfNeededOnUpdate)\n                    {\n                        //Animating content (Bug ID: #160)\n                        [rootController.view setNeedsLayout];\n                        [rootController.view layoutIfNeeded];\n                    }\n                    \n                    [self showLog:[NSString stringWithFormat:@\"Set %@ origin to : %@\",[rootController _IQDescription],NSStringFromCGPoint(rootViewOrigin)]];\n                } completion:NULL];\n\n                _movedDistance = (_topViewBeginOrigin.y-rootViewOrigin.y);\n            }\n            //  -Negative\n            else\n            {\n                CGFloat disturbDistance = rootController.view.frame.origin.y-_topViewBeginOrigin.y;\n                \n                //  disturbDistance Negative = frame disturbed. Pull Request #3\n                //  disturbDistance positive = frame not disturbed.\n                if(disturbDistance<=0)\n                {\n                    rootViewOrigin.y -= MAX(move, disturbDistance);\n                    \n                    [self showLog:@\"Moving Downward\"];\n                    //  Setting adjusted rootViewRect\n                    \n                    //Used UIViewAnimationOptionBeginFromCurrentState to minimize strange animations.\n                    [UIView animateWithDuration:_animationDuration delay:0 options:(_animationCurve|UIViewAnimationOptionBeginFromCurrentState) animations:^{\n                        \n                        __strong typeof(self) strongSelf = weakSelf;\n                        \n                        //  Setting it's new frame\n                        CGRect rect = rootController.view.frame;\n                        rect.origin = rootViewOrigin;\n                        rootController.view.frame = rect;\n                        \n                        //Animating content if needed (Bug ID: #204)\n                        if (strongSelf.layoutIfNeededOnUpdate)\n                        {\n                            //Animating content (Bug ID: #160)\n                            [rootController.view setNeedsLayout];\n                            [rootController.view layoutIfNeeded];\n                        }\n                        \n                        [self showLog:[NSString stringWithFormat:@\"Set %@ origin to : %@\",[rootController _IQDescription],NSStringFromCGPoint(rootViewOrigin)]];\n                    } completion:NULL];\n\n                    _movedDistance = (_topViewBeginOrigin.y-rootController.view.frame.origin.y);\n                }\n            }\n        }\n    }\n    \n    CFTimeInterval elapsedTime = CACurrentMediaTime() - startTime;\n    [self showLog:[NSString stringWithFormat:@\"****** %@ ended: %g seconds ******\\n\",NSStringFromSelector(_cmd),elapsedTime]];\n}\n\n-(void)restorePosition\n{\n    _hasPendingAdjustRequest = NO;\n\n    //  Setting rootViewController frame to it's original position. //  (Bug ID: #18)\n    if (_rootViewController && CGPointEqualToPoint(_topViewBeginOrigin, kIQCGPointInvalid) == false)\n    {\n        __weak typeof(self) weakSelf = self;\n        \n        //Used UIViewAnimationOptionBeginFromCurrentState to minimize strange animations.\n        [UIView animateWithDuration:_animationDuration delay:0 options:(_animationCurve|UIViewAnimationOptionBeginFromCurrentState) animations:^{\n            \n            __strong typeof(self) strongSelf = weakSelf;\n            UIViewController *strongRootController = strongSelf.rootViewController;\n            \n            {\n                [strongSelf showLog:[NSString stringWithFormat:@\"Restoring %@ origin to : %@\",[strongRootController _IQDescription],NSStringFromCGPoint(strongSelf.topViewBeginOrigin)]];\n                \n                //Restoring\n                CGRect rect = strongRootController.view.frame;\n                rect.origin = strongSelf.topViewBeginOrigin;\n                strongRootController.view.frame = rect;\n\n                strongSelf.movedDistance = 0;\n                \n                if (strongRootController.navigationController.interactivePopGestureRecognizer.state == UIGestureRecognizerStateBegan) {\n                    strongSelf.rootViewControllerWhilePopGestureRecognizerActive = strongRootController;\n                    strongSelf.topViewBeginOriginWhilePopGestureRecognizerActive = strongSelf.topViewBeginOrigin;\n                }\n                \n                //Animating content if needed (Bug ID: #204)\n                if (strongSelf.layoutIfNeededOnUpdate)\n                {\n                    //Animating content (Bug ID: #160)\n                    [strongRootController.view setNeedsLayout];\n                    [strongRootController.view layoutIfNeeded];\n                }\n            }\n            \n        } completion:NULL];\n        _rootViewController = nil;\n    }\n}\n\n#pragma mark - Public Methods\n\n/*  Refreshes textField/textView position if any external changes is explicitly made by user.   */\n- (void)reloadLayoutIfNeeded\n{\n    if ([self privateIsEnabled] == YES)\n    {\n        UIView *textFieldView = _textFieldView;\n        \n        if (textFieldView &&\n            _keyboardShowing == YES &&\n            CGPointEqualToPoint(_topViewBeginOrigin, kIQCGPointInvalid) == false &&\n            [textFieldView isAlertViewTextField] == NO)\n        {\n            [self optimizedAdjustPosition];\n        }\n    }\n}\n\n#pragma mark - UIKeyboad Notification methods\n/*  UIKeyboardWillShowNotification. */\n-(void)keyboardWillShow:(NSNotification*)aNotification\n{\n    _kbShowNotification = aNotification;\n\t\n    //  Boolean to know keyboard is showing/hiding\n    _keyboardShowing = YES;\n    \n    //  Getting keyboard animation.\n    NSInteger curve = [[aNotification userInfo][UIKeyboardAnimationCurveUserInfoKey] integerValue];\n    _animationCurve = curve<<16;\n\n    //  Getting keyboard animation duration\n    CGFloat duration = [[aNotification userInfo][UIKeyboardAnimationDurationUserInfoKey] floatValue];\n    \n    //Saving animation duration\n    if (duration != 0.0)    _animationDuration = duration;\n    \n    CGSize oldKBSize = _kbSize;\n    \n    //  Getting UIKeyboardSize.\n    CGRect kbFrame = [[aNotification userInfo][UIKeyboardFrameEndUserInfoKey] CGRectValue];\n\n    CGRect screenSize = [[UIScreen mainScreen] bounds];\n\n    //Calculating actual keyboard displayed size, keyboard frame may be different when hardware keyboard is attached (Bug ID: #469) (Bug ID: #381)\n    CGRect intersectRect = CGRectIntersection(kbFrame, screenSize);\n\n    if (CGRectIsNull(intersectRect))\n    {\n        _kbSize = CGSizeMake(screenSize.size.width, 0);\n    }\n    else\n    {\n        _kbSize = intersectRect.size;\n    }\n    \n\tif ([self privateIsEnabled] == NO)\treturn;\n\t\n    CFTimeInterval startTime = CACurrentMediaTime();\n    [self showLog:[NSString stringWithFormat:@\"****** %@ started ******\",NSStringFromSelector(_cmd)]];\n\n    UIView *textFieldView = _textFieldView;\n\n    if (textFieldView && CGPointEqualToPoint(_topViewBeginOrigin, kIQCGPointInvalid))    //  (Bug ID: #5)\n    {\n        //  keyboard is not showing(At the beginning only). We should save rootViewRect.\n        UIViewController *rootController = [textFieldView parentContainerViewController];\n        _rootViewController = rootController;\n        \n        if (_rootViewControllerWhilePopGestureRecognizerActive == _rootViewController)\n        {\n            _topViewBeginOrigin = _topViewBeginOriginWhilePopGestureRecognizerActive;\n        }\n        else\n        {\n            _topViewBeginOrigin = rootController.view.frame.origin;\n        }\n        \n        _rootViewControllerWhilePopGestureRecognizerActive = nil;\n        _topViewBeginOriginWhilePopGestureRecognizerActive = kIQCGPointInvalid;\n        \n        [self showLog:[NSString stringWithFormat:@\"Saving %@ beginning origin: %@\",[rootController _IQDescription] ,NSStringFromCGPoint(_topViewBeginOrigin)]];\n    }\n\n    //If last restored keyboard size is different(any orientation accure), then refresh. otherwise not.\n    if (!CGSizeEqualToSize(_kbSize, oldKBSize))\n    {\n        //If _textFieldView is inside UIAlertView then do nothing. (Bug ID: #37, #74, #76)\n        //See notes:- https://developer.apple.com/library/ios/documentation/StringsTextFonts/Conceptual/TextAndWebiPhoneOS/KeyboardManagement/KeyboardManagement.html If it is UIAlertView textField then do not affect anything (Bug ID: #70).\n        if (_keyboardShowing == YES &&\n            textFieldView &&\n            [textFieldView isAlertViewTextField] == NO)\n        {\n            [self optimizedAdjustPosition];\n        }\n    }\n\n    CFTimeInterval elapsedTime = CACurrentMediaTime() - startTime;\n    [self showLog:[NSString stringWithFormat:@\"****** %@ ended: %g seconds ******\\n\",NSStringFromSelector(_cmd),elapsedTime]];\n}\n\n/*  UIKeyboardDidShowNotification. */\n- (void)keyboardDidShow:(NSNotification*)aNotification\n{\n    if ([self privateIsEnabled] == NO)\treturn;\n    \n    CFTimeInterval startTime = CACurrentMediaTime();\n    [self showLog:[NSString stringWithFormat:@\"****** %@ started ******\",NSStringFromSelector(_cmd)]];\n    \n    UIView *textFieldView = _textFieldView;\n\n    //  Getting topMost ViewController.\n    UIViewController *controller = [textFieldView topMostController];\n\n    //If _textFieldView viewController is presented as formSheet, then adjustPosition again because iOS internally update formSheet frame on keyboardShown. (Bug ID: #37, #74, #76)\n    if (_keyboardShowing == YES &&\n        textFieldView &&\n        (controller.modalPresentationStyle == UIModalPresentationFormSheet || controller.modalPresentationStyle == UIModalPresentationPageSheet) &&\n        [textFieldView isAlertViewTextField] == NO)\n    {\n        [self optimizedAdjustPosition];\n    }\n    \n    CFTimeInterval elapsedTime = CACurrentMediaTime() - startTime;\n    [self showLog:[NSString stringWithFormat:@\"****** %@ ended: %g seconds ******\\n\",NSStringFromSelector(_cmd),elapsedTime]];\n}\n\n/*  UIKeyboardWillHideNotification. So setting rootViewController to it's default frame. */\n- (void)keyboardWillHide:(NSNotification*)aNotification\n{\n    //If it's not a fake notification generated by [self setEnable:NO].\n    if (aNotification)\t_kbShowNotification = nil;\n    \n    //  Boolean to know keyboard is showing/hiding\n    _keyboardShowing = NO;\n    \n    //  Getting keyboard animation duration\n    CGFloat aDuration = [[aNotification userInfo][UIKeyboardAnimationDurationUserInfoKey] floatValue];\n    if (aDuration!= 0.0f)\n    {\n        _animationDuration = aDuration;\n    }\n    \n    //If not enabled then do nothing.\n    if ([self privateIsEnabled] == NO)\treturn;\n    \n    CFTimeInterval startTime = CACurrentMediaTime();\n    [self showLog:[NSString stringWithFormat:@\"****** %@ started ******\",NSStringFromSelector(_cmd)]];\n\n    //Commented due to #56. Added all the conditions below to handle UIWebView's textFields.    (Bug ID: #56)\n    //  We are unable to get textField object while keyboard showing on UIWebView's textField.  (Bug ID: #11)\n//    if (_textFieldView == nil)   return;\n\n    //Restoring the contentOffset of the lastScrollView\n    if (_lastScrollView)\n    {\n        __weak typeof(self) weakSelf = self;\n\n        [UIView animateWithDuration:_animationDuration delay:0 options:(_animationCurve|UIViewAnimationOptionBeginFromCurrentState) animations:^{\n            \n            __strong typeof(self) strongSelf = weakSelf;\n\n            strongSelf.lastScrollView.contentInset = strongSelf.startingContentInsets;\n            strongSelf.lastScrollView.scrollIndicatorInsets = strongSelf.startingScrollIndicatorInsets;\n            \n            if (strongSelf.lastScrollView.shouldRestoreScrollViewContentOffset)\n            {\n                strongSelf.lastScrollView.contentOffset = strongSelf.startingContentOffset;\n            }\n\n            [self showLog:[NSString stringWithFormat:@\"Restoring %@ contentInset to : %@ and contentOffset to : %@\",[strongSelf.lastScrollView _IQDescription],NSStringFromUIEdgeInsets(strongSelf.startingContentInsets),NSStringFromCGPoint(strongSelf.startingContentOffset)]];\n            \n            // TODO: restore scrollView state\n            // This is temporary solution. Have to implement the save and restore scrollView state\n            UIScrollView *superscrollView = strongSelf.lastScrollView;\n            do\n            {\n                CGSize contentSize = CGSizeMake(MAX(superscrollView.contentSize.width, CGRectGetWidth(superscrollView.frame)), MAX(superscrollView.contentSize.height, CGRectGetHeight(superscrollView.frame)));\n                \n                CGFloat minimumY = contentSize.height-CGRectGetHeight(superscrollView.frame);\n                \n                if (minimumY<superscrollView.contentOffset.y)\n                {\n                    superscrollView.contentOffset = CGPointMake(superscrollView.contentOffset.x, minimumY);\n                    \n                    [self showLog:[NSString stringWithFormat:@\"Restoring %@ contentOffset to : %@\",[superscrollView _IQDescription],NSStringFromCGPoint(superscrollView.contentOffset)]];\n                }\n            } while ((superscrollView = (UIScrollView*)[superscrollView superviewOfClassType:[UIScrollView class]]));\n\n        } completion:NULL];\n    }\n    \n    [self restorePosition];\n\n    //Reset all values\n    _lastScrollView = nil;\n    _kbSize = CGSizeZero;\n    _startingContentInsets = UIEdgeInsetsZero;\n    _startingScrollIndicatorInsets = UIEdgeInsetsZero;\n    _startingContentOffset = CGPointZero;\n\n    CFTimeInterval elapsedTime = CACurrentMediaTime() - startTime;\n    [self showLog:[NSString stringWithFormat:@\"****** %@ ended: %g seconds ******\\n\",NSStringFromSelector(_cmd),elapsedTime]];\n}\n\n/*  UIKeyboardDidHideNotification. So topViewBeginRect can be set to CGRectZero. */\n- (void)keyboardDidHide:(NSNotification*)aNotification\n{\n    CFTimeInterval startTime = CACurrentMediaTime();\n    [self showLog:[NSString stringWithFormat:@\"****** %@ started ******\",NSStringFromSelector(_cmd)]];\n\n    _topViewBeginOrigin = kIQCGPointInvalid;\n\n    _kbSize = CGSizeZero;\n\n    CFTimeInterval elapsedTime = CACurrentMediaTime() - startTime;\n    [self showLog:[NSString stringWithFormat:@\"****** %@ ended: %g seconds ******\\n\",NSStringFromSelector(_cmd),elapsedTime]];\n}\n\n#pragma mark - UITextFieldView Delegate methods\n/**  UITextFieldTextDidBeginEditingNotification, UITextViewTextDidBeginEditingNotification. Fetching UITextFieldView object. */\n-(void)textFieldViewDidBeginEditing:(NSNotification*)notification\n{\n    CFTimeInterval startTime = CACurrentMediaTime();\n    [self showLog:[NSString stringWithFormat:@\"****** %@ started ******\",NSStringFromSelector(_cmd)]];\n\n    //  Getting object\n    _textFieldView = notification.object;\n    \n    UIView *textFieldView = _textFieldView;\n\n    if (_overrideKeyboardAppearance == YES)\n    {\n        UITextField *textField = (UITextField*)textFieldView;\n        \n        if ([textField respondsToSelector:@selector(keyboardAppearance)])\n        {\n            //If keyboard appearance is not like the provided appearance\n            if (textField.keyboardAppearance != _keyboardAppearance)\n            {\n                //Setting textField keyboard appearance and reloading inputViews.\n                textField.keyboardAppearance = _keyboardAppearance;\n                [textField reloadInputViews];\n            }\n        }\n    }\n    \n\t//If autoToolbar enable, then add toolbar on all the UITextField/UITextView's if required.\n\tif ([self privateIsEnableAutoToolbar])\n    {\n        //UITextView special case. Keyboard Notification is firing before textView notification so we need to reload it's inputViews.\n        if ([textFieldView isKindOfClass:[UITextView class]] &&\n            textFieldView.inputAccessoryView == nil)\n        {\n            __weak typeof(self) weakSelf = self;\n\n            [UIView animateWithDuration:0.00001 delay:0 options:(_animationCurve|UIViewAnimationOptionBeginFromCurrentState) animations:^{\n                [self addToolbarIfRequired];\n            } completion:^(BOOL finished) {\n\n                __strong typeof(self) strongSelf = weakSelf;\n\n                //On textView toolbar didn't appear on first time, so forcing textView to reload it's inputViews.\n                [strongSelf.textFieldView reloadInputViews];\n            }];\n        }\n        //Else adding toolbar\n        else\n        {\n            [self addToolbarIfRequired];\n        }\n    }\n    else\n    {\n        [self removeToolbarIfRequired];\n    }\n    \n    //Adding Geture recognizer to window    (Enhancement ID: #14)\n    [_resignFirstResponderGesture setEnabled:[self privateShouldResignOnTouchOutside]];\n    [textFieldView.window addGestureRecognizer:_resignFirstResponderGesture];\n\n\tif ([self privateIsEnabled] == YES)\n    {\n        if (CGPointEqualToPoint(_topViewBeginOrigin, kIQCGPointInvalid))    //  (Bug ID: #5)\n        {\n            //  keyboard is not showing(At the beginning only).\n            UIViewController *rootController = [textFieldView parentContainerViewController];\n            _rootViewController = rootController;\n            \n            if (_rootViewControllerWhilePopGestureRecognizerActive == _rootViewController)\n            {\n                _topViewBeginOrigin = _topViewBeginOriginWhilePopGestureRecognizerActive;\n            }\n            else\n            {\n                _topViewBeginOrigin = rootController.view.frame.origin;\n            }\n            \n            _rootViewControllerWhilePopGestureRecognizerActive = nil;\n            _topViewBeginOriginWhilePopGestureRecognizerActive = kIQCGPointInvalid;\n            \n            [self showLog:[NSString stringWithFormat:@\"Saving %@ beginning origin: %@\",[rootController _IQDescription], NSStringFromCGPoint(_topViewBeginOrigin)]];\n        }\n        \n        //If textFieldView is inside UIAlertView then do nothing. (Bug ID: #37, #74, #76)\n        //See notes:- https://developer.apple.com/library/ios/documentation/StringsTextFonts/Conceptual/TextAndWebiPhoneOS/KeyboardManagement/KeyboardManagement.html If it is UIAlertView textField then do not affect anything (Bug ID: #70).\n        if (_keyboardShowing == YES &&\n            textFieldView &&\n            [textFieldView isAlertViewTextField] == NO)\n        {\n            //  keyboard is already showing. adjust frame.\n            [self optimizedAdjustPosition];\n        }\n    }\n    \n//    if ([textFieldView isKindOfClass:[UITextField class]])\n//    {\n//        [(UITextField*)textFieldView addTarget:self action:@selector(editingDidEndOnExit:) forControlEvents:UIControlEventEditingDidEndOnExit];\n//    }\n\n    CFTimeInterval elapsedTime = CACurrentMediaTime() - startTime;\n    [self showLog:[NSString stringWithFormat:@\"****** %@ ended: %g seconds ******\\n\",NSStringFromSelector(_cmd),elapsedTime]];\n}\n\n/**  UITextFieldTextDidEndEditingNotification, UITextViewTextDidEndEditingNotification. Removing fetched object. */\n-(void)textFieldViewDidEndEditing:(NSNotification*)notification\n{\n    CFTimeInterval startTime = CACurrentMediaTime();\n    [self showLog:[NSString stringWithFormat:@\"****** %@ started ******\",NSStringFromSelector(_cmd)]];\n\n    UIView *textFieldView = _textFieldView;\n\n    //Removing gesture recognizer   (Enhancement ID: #14)\n    [textFieldView.window removeGestureRecognizer:_resignFirstResponderGesture];\n    \n//    if ([textFieldView isKindOfClass:[UITextField class]])\n//    {\n//        [(UITextField*)textFieldView removeTarget:self action:@selector(editingDidEndOnExit:) forControlEvents:UIControlEventEditingDidEndOnExit];\n//    }\n\n    // We check if there's a change in original frame or not.\n    if(_isTextViewContentInsetChanged == YES &&\n       [textFieldView isKindOfClass:[UITextView class]])\n    {\n        UITextView *textView = (UITextView*)textFieldView;\n\n        __weak typeof(self) weakSelf = self;\n\n        [UIView animateWithDuration:_animationDuration delay:0 options:(_animationCurve|UIViewAnimationOptionBeginFromCurrentState) animations:^{\n            \n            __strong typeof(self) strongSelf = weakSelf;\n\n            strongSelf.isTextViewContentInsetChanged = NO;\n\n            [self showLog:[NSString stringWithFormat:@\"Restoring %@ textView.contentInset to : %@\",[strongSelf.textFieldView _IQDescription],NSStringFromUIEdgeInsets(strongSelf.startingTextViewContentInsets)]];\n\n            //Setting textField to it's initial contentInset\n            textView.contentInset = strongSelf.startingTextViewContentInsets;\n            textView.scrollIndicatorInsets = strongSelf.startingTextViewScrollIndicatorInsets;\n\n        } completion:NULL];\n    }\n    \n    //Setting object to nil\n    _textFieldView = nil;\n\n    CFTimeInterval elapsedTime = CACurrentMediaTime() - startTime;\n    [self showLog:[NSString stringWithFormat:@\"****** %@ ended: %g seconds ******\\n\",NSStringFromSelector(_cmd),elapsedTime]];\n}\n\n//-(void)editingDidEndOnExit:(UITextField*)textField\n//{\n//    [self showLog:[NSString stringWithFormat:@\"ReturnKey %@\",NSStringFromSelector(_cmd)]];\n//}\n\n#pragma mark - UIStatusBar Notification methods\n/**  UIApplicationWillChangeStatusBarOrientationNotification. Need to set the textView to it's original position. If any frame changes made. (Bug ID: #92)*/\n- (void)willChangeStatusBarOrientation:(NSNotification*)aNotification\n{\n    CFTimeInterval startTime = CACurrentMediaTime();\n    [self showLog:[NSString stringWithFormat:@\"****** %@ started ******\",NSStringFromSelector(_cmd)]];\n\n    //If textViewContentInsetChanged is changed then restore it.\n    if (_isTextViewContentInsetChanged == YES &&\n        [_textFieldView isKindOfClass:[UITextView class]])\n    {\n        UITextView *textView = (UITextView*)_textFieldView;\n\n        __weak typeof(self) weakSelf = self;\n\n        //Due to orientation callback we need to set it's original position.\n        [UIView animateWithDuration:_animationDuration delay:0 options:(_animationCurve|UIViewAnimationOptionBeginFromCurrentState) animations:^{\n            \n            __strong typeof(self) strongSelf = weakSelf;\n\n            strongSelf.isTextViewContentInsetChanged = NO;\n\n            [self showLog:[NSString stringWithFormat:@\"Restoring %@ textView.contentInset to : %@\",[strongSelf.textFieldView _IQDescription],NSStringFromUIEdgeInsets(strongSelf.startingTextViewContentInsets)]];\n            \n            //Setting textField to it's initial contentInset\n            textView.contentInset = strongSelf.startingTextViewContentInsets;\n            textView.scrollIndicatorInsets = strongSelf.startingTextViewScrollIndicatorInsets;\n        } completion:NULL];\n    }\n\n    [self restorePosition];\n\n    CFTimeInterval elapsedTime = CACurrentMediaTime() - startTime;\n    [self showLog:[NSString stringWithFormat:@\"****** %@ ended: %g seconds ******\\n\",NSStringFromSelector(_cmd),elapsedTime]];\n}\n\n#pragma mark AutoResign methods\n\n/** Resigning on tap gesture. */\n- (void)tapRecognized:(UITapGestureRecognizer*)gesture  // (Enhancement ID: #14)\n{\n    if (gesture.state == UIGestureRecognizerStateEnded)\n    {\n        //Resigning currently responder textField.\n        [self resignFirstResponder];\n    }\n}\n\n/** Note: returning YES is guaranteed to allow simultaneous recognition. returning NO is not guaranteed to prevent simultaneous recognition, as the other gesture's delegate may return YES. */\n- (BOOL)gestureRecognizer:(UIGestureRecognizer *)gestureRecognizer shouldRecognizeSimultaneouslyWithGestureRecognizer:(UIGestureRecognizer *)otherGestureRecognizer\n{\n    return NO;\n}\n\n/** To not detect touch events in a subclass of UIControl, these may have added their own selector for specific work */\n-(BOOL)gestureRecognizer:(UIGestureRecognizer *)gestureRecognizer shouldReceiveTouch:(UITouch *)touch\n{\n    //  Should not recognize gesture if the clicked view is either UIControl or UINavigationBar(<Back button etc...)    (Bug ID: #145)\n    for (Class aClass in self.touchResignedGestureIgnoreClasses)\n    {\n        if ([[touch view] isKindOfClass:aClass])\n        {\n            return NO;\n        }\n    }\n\n    return YES;\n}\n\n/** Resigning textField. */\n- (BOOL)resignFirstResponder\n{\n    UIView *textFieldView = _textFieldView;\n\n    if (textFieldView)\n    {\n        //  Retaining textFieldView\n        UIView *textFieldRetain = textFieldView;\n        \n        //Resigning first responder\n        BOOL isResignFirstResponder = [textFieldView resignFirstResponder];\n        \n        //  If it refuses then becoming it as first responder again.    (Bug ID: #96)\n        if (isResignFirstResponder == NO)\n        {\n            //If it refuses to resign then becoming it first responder again for getting notifications callback.\n            [textFieldRetain becomeFirstResponder];\n            \n            [self showLog:[NSString stringWithFormat:@\"Refuses to Resign first responder: %@\",[textFieldView _IQDescription]]];\n        }\n        \n        return isResignFirstResponder;\n    }\n    else\n    {\n        return NO;\n    }\n}\n\n/** Returns YES if can navigate to previous responder textField/textView, otherwise NO. */\n-(BOOL)canGoPrevious\n{\n    //Getting all responder view's.\n    NSArray<UIView*> *textFields = [self responderViews];\n\n    //Getting index of current textField.\n    NSUInteger index = [textFields indexOfObject:_textFieldView];\n\n    //If it is not first textField. then it's previous object can becomeFirstResponder.\n    if (index != NSNotFound &&\n        index > 0)\n    {\n        return YES;\n    }\n    else\n    {\n        return NO;\n    }\n}\n\n/** Returns YES if can navigate to next responder textField/textView, otherwise NO. */\n-(BOOL)canGoNext\n{\n    //Getting all responder view's.\n    NSArray<UIView*> *textFields = [self responderViews];\n    \n    //Getting index of current textField.\n    NSUInteger index = [textFields indexOfObject:_textFieldView];\n    \n    //If it is not last textField. then it's next object becomeFirstResponder.\n    if (index != NSNotFound &&\n        index < textFields.count-1)\n    {\n        return YES;\n    }\n    else\n    {\n        return NO;\n    }\n}\n\n/** Navigate to previous responder textField/textView.  */\n-(BOOL)goPrevious\n{\n    //Getting all responder view's.\n    NSArray<__kindof UIView*> *textFields = [self responderViews];\n    \n    //Getting index of current textField.\n    NSUInteger index = [textFields indexOfObject:_textFieldView];\n    \n    //If it is not first textField. then it's previous object becomeFirstResponder.\n    if (index != NSNotFound &&\n        index > 0)\n    {\n        UITextField *nextTextField = textFields[index-1];\n        \n        //  Retaining textFieldView\n        UIView *textFieldRetain = _textFieldView;\n        \n        BOOL isAcceptAsFirstResponder = [nextTextField becomeFirstResponder];\n        \n        //  If it refuses then becoming previous textFieldView as first responder again.    (Bug ID: #96)\n        if (isAcceptAsFirstResponder == NO)\n        {\n            //If next field refuses to become first responder then restoring old textField as first responder.\n            [textFieldRetain becomeFirstResponder];\n            \n            [self showLog:[NSString stringWithFormat:@\"Refuses to become first responder: %@\",[nextTextField _IQDescription]]];\n        }\n        \n        return isAcceptAsFirstResponder;\n    }\n    else\n    {\n        return NO;\n    }\n}\n\n/** Navigate to next responder textField/textView.  */\n-(BOOL)goNext\n{\n    //Getting all responder view's.\n    NSArray<__kindof UIView*> *textFields = [self responderViews];\n    \n    //Getting index of current textField.\n    NSUInteger index = [textFields indexOfObject:_textFieldView];\n    \n    //If it is not last textField. then it's next object becomeFirstResponder.\n    if (index != NSNotFound &&\n        index < textFields.count-1)\n    {\n        UITextField *nextTextField = textFields[index+1];\n        \n        //  Retaining textFieldView\n        UIView *textFieldRetain = _textFieldView;\n        \n        BOOL isAcceptAsFirstResponder = [nextTextField becomeFirstResponder];\n        \n        //  If it refuses then becoming previous textFieldView as first responder again.    (Bug ID: #96)\n        if (isAcceptAsFirstResponder == NO)\n        {\n            //If next field refuses to become first responder then restoring old textField as first responder.\n            [textFieldRetain becomeFirstResponder];\n            \n            [self showLog:[NSString stringWithFormat:@\"Refuses to become first responder: %@\",[nextTextField _IQDescription]]];\n        }\n        \n        return isAcceptAsFirstResponder;\n    }\n    else\n    {\n        return NO;\n    }\n}\n\n#pragma mark AutoToolbar methods\n\n/**    Get all UITextField/UITextView siblings of textFieldView. */\n-(NSArray<__kindof UIView*>*)responderViews\n{\n    UIView *superConsideredView;\n    \n    UIView *textFieldView = _textFieldView;\n\n    //If find any consider responderView in it's upper hierarchy then will get deepResponderView.\n    for (Class consideredClass in _toolbarPreviousNextAllowedClasses)\n    {\n        superConsideredView = [textFieldView superviewOfClassType:consideredClass];\n        \n        if (superConsideredView)\n            break;\n    }\n    \n    //If there is a superConsideredView in view's hierarchy, then fetching all it's subview that responds. No sorting for superConsideredView, it's by subView position.    (Enhancement ID: #22)\n    if (superConsideredView)\n    {\n        return [superConsideredView deepResponderViews];\n    }\n    //Otherwise fetching all the siblings\n    else\n    {\n        NSArray<UIView*> *textFields = [textFieldView responderSiblings];\n        \n        //Sorting textFields according to behaviour\n        switch (_toolbarManageBehaviour)\n        {\n                //If autoToolbar behaviour is bySubviews, then returning it.\n            case IQAutoToolbarBySubviews:\n                return textFields;\n                break;\n                \n                //If autoToolbar behaviour is by tag, then sorting it according to tag property.\n            case IQAutoToolbarByTag:\n                return [textFields sortedArrayByTag];\n                break;\n                \n                //If autoToolbar behaviour is by tag, then sorting it according to tag property.\n            case IQAutoToolbarByPosition:\n                return [textFields sortedArrayByPosition];\n                break;\n            default:\n                return nil;\n                break;\n        }\n    }\n}\n\n/** Add toolbar if it is required to add on textFields and it's siblings. */\n-(void)addToolbarIfRequired\n{\n    CFTimeInterval startTime = CACurrentMediaTime();\n    [self showLog:[NSString stringWithFormat:@\"****** %@ started ******\",NSStringFromSelector(_cmd)]];\n    \n    //    Getting all the sibling textFields.\n    NSArray<UIView*> *siblings = [self responderViews];\n    \n    [self showLog:[NSString stringWithFormat:@\"Found %lu responder sibling(s)\",(unsigned long)siblings.count]];\n\n    UIView *textFieldView = _textFieldView;\n\n    //Either there is no inputAccessoryView or if accessoryView is not appropriate for current situation(There is Previous/Next/Done toolbar).\n    //setInputAccessoryView: check   (Bug ID: #307)\n    if ([textFieldView respondsToSelector:@selector(setInputAccessoryView:)])\n    {\n        if ([textFieldView inputAccessoryView] == nil ||\n            [[textFieldView inputAccessoryView] tag] == kIQPreviousNextButtonToolbarTag ||\n            [[textFieldView inputAccessoryView] tag] == kIQDoneButtonToolbarTag)\n        {\n            UITextField *textField = (UITextField*)textFieldView;\n\n            IQBarButtonItemConfiguration *rightConfiguration = nil;\n            \n            //Supporting Custom Done button image (Enhancement ID: #366)\n            if (_toolbarDoneBarButtonItemImage)\n            {\n                rightConfiguration = [[IQBarButtonItemConfiguration alloc] initWithImage:_toolbarDoneBarButtonItemImage action:@selector(doneAction:)];\n            }\n            //Supporting Custom Done button text (Enhancement ID: #209, #411, Bug ID: #376)\n            else if (_toolbarDoneBarButtonItemText)\n            {\n                rightConfiguration = [[IQBarButtonItemConfiguration alloc] initWithTitle:_toolbarDoneBarButtonItemText action:@selector(doneAction:)];\n            }\n            else\n            {\n                rightConfiguration = [[IQBarButtonItemConfiguration alloc] initWithBarButtonSystemItem:UIBarButtonSystemItemDone action:@selector(doneAction:)];\n            }\n\n            //    If only one object is found, then adding only Done button.\n            if ((siblings.count==1 && self.previousNextDisplayMode == IQPreviousNextDisplayModeDefault) || self.previousNextDisplayMode == IQPreviousNextDisplayModeAlwaysHide)\n            {\n                [textField addKeyboardToolbarWithTarget:self titleText:(_shouldShowToolbarPlaceholder ? textField.drawingToolbarPlaceholder : nil) rightBarButtonConfiguration:rightConfiguration previousBarButtonConfiguration:nil nextBarButtonConfiguration:nil];\n\n                textField.inputAccessoryView.tag = kIQDoneButtonToolbarTag; //  (Bug ID: #78)\n            }\n            //If there is multiple siblings of textField\n            else if ((siblings.count && self.previousNextDisplayMode == IQPreviousNextDisplayModeDefault) || self.previousNextDisplayMode == IQPreviousNextDisplayModeAlwaysShow)\n            {\n                IQBarButtonItemConfiguration *prevConfiguration = nil;\n                \n                //Supporting Custom Done button image (Enhancement ID: #366)\n                if (_toolbarPreviousBarButtonItemImage)\n                {\n                    prevConfiguration = [[IQBarButtonItemConfiguration alloc] initWithImage:_toolbarPreviousBarButtonItemImage action:@selector(previousAction:)];\n                }\n                //Supporting Custom Done button text (Enhancement ID: #209, #411, Bug ID: #376)\n                else if (_toolbarPreviousBarButtonItemText)\n                {\n                    prevConfiguration = [[IQBarButtonItemConfiguration alloc] initWithTitle:_toolbarPreviousBarButtonItemText action:@selector(previousAction:)];\n                }\n                else\n                {\n                    prevConfiguration = [[IQBarButtonItemConfiguration alloc] initWithImage:[UIImage keyboardPreviousImage] action:@selector(previousAction:)];\n                }\n                \n                IQBarButtonItemConfiguration *nextConfiguration = nil;\n                \n                //Supporting Custom Done button image (Enhancement ID: #366)\n                if (_toolbarNextBarButtonItemImage)\n                {\n                    nextConfiguration = [[IQBarButtonItemConfiguration alloc] initWithImage:_toolbarNextBarButtonItemImage action:@selector(nextAction:)];\n                }\n                //Supporting Custom Done button text (Enhancement ID: #209, #411, Bug ID: #376)\n                else if (_toolbarNextBarButtonItemText)\n                {\n                    nextConfiguration = [[IQBarButtonItemConfiguration alloc] initWithTitle:_toolbarNextBarButtonItemText action:@selector(nextAction:)];\n                }\n                else\n                {\n                    nextConfiguration = [[IQBarButtonItemConfiguration alloc] initWithImage:[UIImage keyboardNextImage] action:@selector(nextAction:)];\n                }\n\n                [textField addKeyboardToolbarWithTarget:self titleText:(_shouldShowToolbarPlaceholder ? textField.drawingToolbarPlaceholder : nil) rightBarButtonConfiguration:rightConfiguration previousBarButtonConfiguration:prevConfiguration nextBarButtonConfiguration:nextConfiguration];\n\n                textField.inputAccessoryView.tag = kIQPreviousNextButtonToolbarTag; //  (Bug ID: #78)\n            }\n            \n            IQToolbar *toolbar = textField.keyboardToolbar;\n            \n            //Bar style according to keyboard appearance\n            if ([textField respondsToSelector:@selector(keyboardAppearance)])\n            {\n                switch ([textField keyboardAppearance])\n                {\n                    case UIKeyboardAppearanceDark:\n                    {\n                        toolbar.barStyle = UIBarStyleBlack;\n                        [toolbar setTintColor:[UIColor whiteColor]];\n                        [toolbar setBarTintColor:nil];\n                    }\n                        break;\n                    default:\n                    {\n                        toolbar.barStyle = UIBarStyleDefault;\n                        toolbar.barTintColor = _toolbarBarTintColor;\n\n                        //Setting toolbar tintColor //  (Enhancement ID: #30)\n                        if (_shouldToolbarUsesTextFieldTintColor)\n                        {\n                            toolbar.tintColor = [textField tintColor];\n                        }\n                        else if (_toolbarTintColor)\n                        {\n                            toolbar.tintColor = _toolbarTintColor;\n                        }\n                        else\n                        {\n                            toolbar.tintColor = [UIColor blackColor];\n                        }\n                    }\n                        break;\n                }\n                \n                //If need to show placeholder\n                if (_shouldShowToolbarPlaceholder &&\n                    textField.shouldHideToolbarPlaceholder == NO)\n                {\n                    //Updating placeholder     //(Bug ID: #148, #272)\n                    if (toolbar.titleBarButton.title == nil ||\n                        [toolbar.titleBarButton.title isEqualToString:textField.drawingToolbarPlaceholder] == NO)\n                    {\n                        [toolbar.titleBarButton setTitle:textField.drawingToolbarPlaceholder];\n                    }\n                    \n                    //Setting toolbar title font.   //  (Enhancement ID: #30)\n                    if (_placeholderFont &&\n                        [_placeholderFont isKindOfClass:[UIFont class]])\n                    {\n                        [toolbar.titleBarButton setTitleFont:_placeholderFont];\n                    }\n\n                    //Setting toolbar title color.   //  (Enhancement ID: #880)\n                    if (_placeholderColor &&\n                        [_placeholderColor isKindOfClass:[UIColor class]])\n                    {\n                        [toolbar.titleBarButton setTitleColor:_placeholderColor];\n                    }\n\n                    //Setting toolbar button title color.   //  (Enhancement ID: #880)\n                    if (_placeholderButtonColor &&\n                        [_placeholderButtonColor isKindOfClass:[UIColor class]])\n                    {\n                        [toolbar.titleBarButton setSelectableTitleColor:_placeholderButtonColor];\n                    }\n                }\n                else\n                {\n                    //Updating placeholder     //(Bug ID: #272)\n                    toolbar.titleBarButton.title = nil;\n                }\n            }\n\n            //In case of UITableView (Special), the next/previous buttons has to be refreshed everytime.    (Bug ID: #56)\n            //    If firstTextField, then previous should not be enabled.\n            if (siblings.firstObject == textField)\n            {\n                if (siblings.count == 1)\n                {\n                    textField.keyboardToolbar.previousBarButton.enabled = NO;\n                    textField.keyboardToolbar.nextBarButton.enabled = NO;\n                }\n                else\n                {\n                    textField.keyboardToolbar.previousBarButton.enabled = NO;\n                    textField.keyboardToolbar.nextBarButton.enabled = YES;\n                }\n            }\n            //    If lastTextField then next should not be enaled.\n            else if ([siblings lastObject] == textField)\n            {\n                textField.keyboardToolbar.previousBarButton.enabled = YES;\n                textField.keyboardToolbar.nextBarButton.enabled = NO;\n            }\n            else\n            {\n                textField.keyboardToolbar.previousBarButton.enabled = YES;\n                textField.keyboardToolbar.nextBarButton.enabled = YES;\n            }\n        }\n    }\n\n    CFTimeInterval elapsedTime = CACurrentMediaTime() - startTime;\n    [self showLog:[NSString stringWithFormat:@\"****** %@ ended: %g seconds ******\\n\",NSStringFromSelector(_cmd),elapsedTime]];\n}\n\n/** Remove any toolbar if it is IQToolbar. */\n-(void)removeToolbarIfRequired  //  (Bug ID: #18)\n{\n    CFTimeInterval startTime = CACurrentMediaTime();\n    [self showLog:[NSString stringWithFormat:@\"****** %@ started ******\",NSStringFromSelector(_cmd)]];\n\n    //    Getting all the sibling textFields.\n    NSArray<UIView*> *siblings = [self responderViews];\n    \n    [self showLog:[NSString stringWithFormat:@\"Found %lu responder sibling(s)\",(unsigned long)siblings.count]];\n\n    for (UITextField *textField in siblings)\n    {\n        UIView *toolbar = [textField inputAccessoryView];\n        \n        //  (Bug ID: #78)\n        //setInputAccessoryView: check   (Bug ID: #307)\n        if ([textField respondsToSelector:@selector(setInputAccessoryView:)] &&\n            ([toolbar isKindOfClass:[IQToolbar class]] && (toolbar.tag == kIQDoneButtonToolbarTag || toolbar.tag == kIQPreviousNextButtonToolbarTag)))\n        {\n            textField.inputAccessoryView = nil;\n            [textField reloadInputViews];\n        }\n    }\n\n    CFTimeInterval elapsedTime = CACurrentMediaTime() - startTime;\n    [self showLog:[NSString stringWithFormat:@\"****** %@ ended: %g seconds ******\\n\",NSStringFromSelector(_cmd),elapsedTime]];\n}\n\n/**    reloadInputViews to reload toolbar buttons enable/disable state on the fly Enhancement ID #434. */\n- (void)reloadInputViews\n{\n    //If enabled then adding toolbar.\n    if ([self privateIsEnableAutoToolbar] == YES)\n    {\n        [self addToolbarIfRequired];\n    }\n    //Else removing toolbar.\n    else\n    {\n        [self removeToolbarIfRequired];\n    }\n}\n\n#pragma mark previous/next/done functionality\n/**    previousAction. */\n-(void)previousAction:(IQBarButtonItem*)barButton\n{\n    //If user wants to play input Click sound. Then Play Input Click Sound.\n    if (_shouldPlayInputClicks)\n    {\n        [[UIDevice currentDevice] playInputClick];\n    }\n\n    if ([self canGoPrevious])\n    {\n        UIView *currentTextFieldView = _textFieldView;\n        BOOL isAcceptAsFirstResponder = [self goPrevious];\n        \n        NSInvocation *invocation = barButton.invocation;\n\n        //Handling search bar special case\n        {\n            UISearchBar *searchBar = currentTextFieldView.searchBar;\n            \n            if (searchBar)\n            {\n                invocation = searchBar.keyboardToolbar.previousBarButton.invocation;\n            }\n        }\n\n        if (isAcceptAsFirstResponder == YES && barButton.invocation)\n        {\n            if (barButton.invocation.methodSignature.numberOfArguments > 2)\n            {\n                [barButton.invocation setArgument:&currentTextFieldView atIndex:2];\n            }\n\n            [barButton.invocation invoke];\n        }\n    }\n}\n\n/**    nextAction. */\n-(void)nextAction:(IQBarButtonItem*)barButton\n{\n    //If user wants to play input Click sound. Then Play Input Click Sound.\n    if (_shouldPlayInputClicks)\n    {\n        [[UIDevice currentDevice] playInputClick];\n    }\n\n    if ([self canGoNext])\n    {\n        UIView *currentTextFieldView = _textFieldView;\n        BOOL isAcceptAsFirstResponder = [self goNext];\n        \n        NSInvocation *invocation = barButton.invocation;\n\n        //Handling search bar special case\n        {\n            UISearchBar *searchBar = currentTextFieldView.searchBar;\n            \n            if (searchBar)\n            {\n                invocation = searchBar.keyboardToolbar.nextBarButton.invocation;\n            }\n        }\n\n        if (isAcceptAsFirstResponder == YES && barButton.invocation)\n        {\n            if (barButton.invocation.methodSignature.numberOfArguments > 2)\n            {\n                [barButton.invocation setArgument:&currentTextFieldView atIndex:2];\n            }\n\n            [barButton.invocation invoke];\n        }\n    }\n}\n\n/**    doneAction. Resigning current textField. */\n-(void)doneAction:(IQBarButtonItem*)barButton\n{\n    //If user wants to play input Click sound. Then Play Input Click Sound.\n    if (_shouldPlayInputClicks)\n    {\n        [[UIDevice currentDevice] playInputClick];\n    }\n\n    UIView *currentTextFieldView = _textFieldView;\n    BOOL isResignedFirstResponder = [self resignFirstResponder];\n    \n    NSInvocation *invocation = barButton.invocation;\n\n    //Handling search bar special case\n    {\n        UISearchBar *searchBar = currentTextFieldView.searchBar;\n        \n        if (searchBar)\n        {\n            invocation = searchBar.keyboardToolbar.doneBarButton.invocation;\n        }\n    }\n\n    if (isResignedFirstResponder == YES && barButton.invocation)\n    {\n        if (barButton.invocation.methodSignature.numberOfArguments > 2)\n        {\n            [barButton.invocation setArgument:&currentTextFieldView atIndex:2];\n        }\n\n        [barButton.invocation invoke];\n    }\n}\n\n#pragma mark - Customised textField/textView support.\n\n/**\n Add customised Notification for third party customised TextField/TextView.\n */\n-(void)registerTextFieldViewClass:(nonnull Class)aClass\n  didBeginEditingNotificationName:(nonnull NSString *)didBeginEditingNotificationName\n    didEndEditingNotificationName:(nonnull NSString *)didEndEditingNotificationName\n{\n    [_registeredClasses addObject:aClass];\n    \n    [[NSNotificationCenter defaultCenter] addObserver:self selector:@selector(textFieldViewDidBeginEditing:) name:didBeginEditingNotificationName object:nil];\n    [[NSNotificationCenter defaultCenter] addObserver:self selector:@selector(textFieldViewDidEndEditing:) name:didEndEditingNotificationName object:nil];\n}\n\n/**\n Remove customised Notification for third party customised TextField/TextView.\n */\n-(void)unregisterTextFieldViewClass:(nonnull Class)aClass\n    didBeginEditingNotificationName:(nonnull NSString *)didBeginEditingNotificationName\n      didEndEditingNotificationName:(nonnull NSString *)didEndEditingNotificationName\n{\n    [_registeredClasses removeObject:aClass];\n    \n    [[NSNotificationCenter defaultCenter] removeObserver:self name:didBeginEditingNotificationName object:nil];\n    [[NSNotificationCenter defaultCenter] removeObserver:self name:didEndEditingNotificationName object:nil];\n}\n\n-(void)registerAllNotifications\n{\n    //  Registering for keyboard notification.\n    [[NSNotificationCenter defaultCenter] addObserver:self selector:@selector(keyboardWillShow:) name:UIKeyboardWillShowNotification object:nil];\n    [[NSNotificationCenter defaultCenter] addObserver:self selector:@selector(keyboardDidShow:) name:UIKeyboardDidShowNotification object:nil];\n    [[NSNotificationCenter defaultCenter] addObserver:self selector:@selector(keyboardWillHide:) name:UIKeyboardWillHideNotification object:nil];\n    [[NSNotificationCenter defaultCenter] addObserver:self selector:@selector(keyboardDidHide:) name:UIKeyboardDidHideNotification object:nil];\n    \n    //  Registering for UITextField notification.\n    [self registerTextFieldViewClass:[UITextField class]\n     didBeginEditingNotificationName:UITextFieldTextDidBeginEditingNotification\n       didEndEditingNotificationName:UITextFieldTextDidEndEditingNotification];\n    \n    //  Registering for UITextView notification.\n    [self registerTextFieldViewClass:[UITextView class]\n     didBeginEditingNotificationName:UITextViewTextDidBeginEditingNotification\n       didEndEditingNotificationName:UITextViewTextDidEndEditingNotification];\n    \n    //  Registering for orientation changes notification\n    [[NSNotificationCenter defaultCenter] addObserver:self selector:@selector(willChangeStatusBarOrientation:) name:UIApplicationWillChangeStatusBarOrientationNotification object:[UIApplication sharedApplication]];\n}\n\n-(void)unregisterAllNotifications\n{\n    //  Unregistering for keyboard notification.\n    [[NSNotificationCenter defaultCenter] removeObserver:self name:UIKeyboardWillShowNotification object:nil];\n    [[NSNotificationCenter defaultCenter] removeObserver:self name:UIKeyboardDidShowNotification object:nil];\n    [[NSNotificationCenter defaultCenter] removeObserver:self name:UIKeyboardWillHideNotification object:nil];\n    [[NSNotificationCenter defaultCenter] removeObserver:self name:UIKeyboardDidHideNotification object:nil];\n\n    //  Unregistering for UITextField notification.\n    [self unregisterTextFieldViewClass:[UITextField class]\n     didBeginEditingNotificationName:UITextFieldTextDidBeginEditingNotification\n       didEndEditingNotificationName:UITextFieldTextDidEndEditingNotification];\n    \n    //  Unregistering for UITextView notification.\n    [self unregisterTextFieldViewClass:[UITextView class]\n     didBeginEditingNotificationName:UITextViewTextDidBeginEditingNotification\n       didEndEditingNotificationName:UITextViewTextDidEndEditingNotification];\n    \n    //  Unregistering for orientation changes notification\n    [[NSNotificationCenter defaultCenter] removeObserver:self name:UIApplicationWillChangeStatusBarOrientationNotification object:[UIApplication sharedApplication]];\n}\n\n-(void)showLog:(NSString*)logString\n{\n    if (_enableDebugging)\n    {\n        NSLog(@\"IQKeyboardManager: %@\",logString);\n    }\n}\n\n@end\n"
  },
  {
    "path": "CKMeiTuanShopView/Pods/IQKeyboardManager/IQKeyboardManager/IQKeyboardReturnKeyHandler.h",
    "content": "//\n// IQKeyboardReturnKeyHandler.h\n// https://github.com/hackiftekhar/IQKeyboardManager\n// Copyright (c) 2013-16 Iftekhar Qurashi.\n//\n// Permission is hereby granted, free of charge, to any person obtaining a copy\n// of this software and associated documentation files (the \"Software\"), to deal\n// in the Software without restriction, including without limitation the rights\n// to use, copy, modify, merge, publish, distribute, sublicense, and/or sell\n// copies of the Software, and to permit persons to whom the Software is\n// furnished to do so, subject to the following conditions:\n//\n// The above copyright notice and this permission notice shall be included in\n// all copies or substantial portions of the Software.\n//\n// THE SOFTWARE IS PROVIDED \"AS IS\", WITHOUT WARRANTY OF ANY KIND, EXPRESS OR\n// IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF MERCHANTABILITY,\n// FITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT. IN NO EVENT SHALL THE\n// AUTHORS OR COPYRIGHT HOLDERS BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER\n// LIABILITY, WHETHER IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING FROM,\n// OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN\n// THE SOFTWARE.\n\n#import \"IQKeyboardManagerConstants.h\"\n\n#import <Foundation/NSObject.h>\n#import <Foundation/NSObjCRuntime.h>\n\n#import <UIKit/UITextInputTraits.h>\n\n@class UITextField, UIView, UIViewController;\n@protocol UITextFieldDelegate, UITextViewDelegate;\n\n/**\n Manages the return key to work like next/done in a view hierarchy.\n */\n@interface IQKeyboardReturnKeyHandler : NSObject\n\n///----------------------\n/// @name Initializations\n///----------------------\n\n/**\n Add all the textFields available in UIViewController's view.\n */\n-(nonnull instancetype)initWithViewController:(nullable UIViewController*)controller NS_DESIGNATED_INITIALIZER;\n\n/**\n Unavailable. Please use initWithViewController: or init method\n */\n-(nonnull instancetype)initWithCoder:(nullable NSCoder *)aDecoder NS_UNAVAILABLE;\n\n///---------------\n/// @name Settings\n///---------------\n\n/**\n Delegate of textField/textView.\n */\n@property(nullable, nonatomic, weak) id<UITextFieldDelegate,UITextViewDelegate> delegate;\n\n/**\n Set the last textfield return key type. Default is UIReturnKeyDefault.\n */\n@property(nonatomic, assign) UIReturnKeyType lastTextFieldReturnKeyType;\n\n///----------------------------------------------\n/// @name Registering/Unregistering textFieldView\n///----------------------------------------------\n\n/**\n Should pass UITextField/UITextView instance. Assign textFieldView delegate to self, change it's returnKeyType.\n \n @param textFieldView UITextField/UITextView object to register.\n */\n-(void)addTextFieldView:(nonnull UIView*)textFieldView;\n\n/**\n Should pass UITextField/UITextView instance. Restore it's textFieldView delegate and it's returnKeyType.\n\n @param textFieldView UITextField/UITextView object to unregister.\n */\n-(void)removeTextFieldView:(nonnull UIView*)textFieldView;\n\n/**\n Add all the UITextField/UITextView responderView's.\n \n @param view object to register all it's responder subviews.\n */\n-(void)addResponderFromView:(nonnull UIView*)view;\n\n/**\n Remove all the UITextField/UITextView responderView's.\n \n @param view object to unregister all it's responder subviews.\n */\n-(void)removeResponderFromView:(nonnull UIView*)view;\n\n@end\n"
  },
  {
    "path": "CKMeiTuanShopView/Pods/IQKeyboardManager/IQKeyboardManager/IQKeyboardReturnKeyHandler.m",
    "content": "//\n// IQKeyboardReturnKeyHandler.m\n// https://github.com/hackiftekhar/IQKeyboardManager\n// Copyright (c) 2013-16 Iftekhar Qurashi.\n//\n// Permission is hereby granted, free of charge, to any person obtaining a copy\n// of this software and associated documentation files (the \"Software\"), to deal\n// in the Software without restriction, including without limitation the rights\n// to use, copy, modify, merge, publish, distribute, sublicense, and/or sell\n// copies of the Software, and to permit persons to whom the Software is\n// furnished to do so, subject to the following conditions:\n//\n// The above copyright notice and this permission notice shall be included in\n// all copies or substantial portions of the Software.\n//\n// THE SOFTWARE IS PROVIDED \"AS IS\", WITHOUT WARRANTY OF ANY KIND, EXPRESS OR\n// IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF MERCHANTABILITY,\n// FITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT. IN NO EVENT SHALL THE\n// AUTHORS OR COPYRIGHT HOLDERS BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER\n// LIABILITY, WHETHER IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING FROM,\n// OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN\n// THE SOFTWARE.\n\n#import \"IQKeyboardReturnKeyHandler.h\"\n#import \"IQKeyboardManager.h\"\n#import \"IQUIView+Hierarchy.h\"\n#import \"IQNSArray+Sort.h\"\n\n#import <UIKit/UITextField.h>\n#import <UIKit/UITextView.h>\n#import <UIKit/UIViewController.h>\n\n@interface IQTextFieldViewInfoModal : NSObject\n\n@property(nullable, nonatomic, weak) UIView *textFieldView;\n@property(nullable, nonatomic, weak) id<UITextFieldDelegate> textFieldDelegate;\n@property(nullable, nonatomic, weak) id<UITextViewDelegate> textViewDelegate;\n@property(nonatomic) UIReturnKeyType originalReturnKeyType;\n\n@end\n\n@implementation IQTextFieldViewInfoModal\n\n-(instancetype)initWithTextFieldView:(UIView*)textFieldView textFieldDelegate:(id<UITextFieldDelegate>)textFieldDelegate textViewDelegate:(id<UITextViewDelegate>)textViewDelegate originalReturnKey:(UIReturnKeyType)returnKeyType\n{\n    self = [super init];\n    \n    if (self)\n    {\n        _textFieldView = textFieldView;\n        _textFieldDelegate = textFieldDelegate;\n        _textViewDelegate = textViewDelegate;\n        _originalReturnKeyType = returnKeyType;\n    }\n    \n    return self;\n}\n\n@end\n\n\n@interface IQKeyboardReturnKeyHandler ()<UITextFieldDelegate,UITextViewDelegate>\n\n-(void)updateReturnKeyTypeOnTextField:(UIView*)textField;\n\n@end\n\n@implementation IQKeyboardReturnKeyHandler\n{\n    NSMutableSet<IQTextFieldViewInfoModal*> *textFieldInfoCache;\n}\n\n@synthesize lastTextFieldReturnKeyType = _lastTextFieldReturnKeyType;\n@synthesize delegate = _delegate;\n\n- (instancetype)init\n{\n    self = [self initWithViewController:nil];\n    return self;\n}\n\n-(instancetype)initWithViewController:(nullable UIViewController*)controller\n{\n    self = [super init];\n    \n    if (self)\n    {\n        textFieldInfoCache = [[NSMutableSet alloc] init];\n        \n        if (controller.view)\n        {\n            [self addResponderFromView:controller.view];\n        }\n    }\n    \n    return self;\n}\n\n-(IQTextFieldViewInfoModal*)textFieldViewCachedInfo:(UIView*)textField\n{\n    for (IQTextFieldViewInfoModal *modal in textFieldInfoCache)\n        if (modal.textFieldView == textField)  return modal;\n    \n    return nil;\n}\n\n#pragma mark - Add/Remove TextFields\n-(void)addResponderFromView:(UIView*)view\n{\n    NSArray<UIView*> *textFields = [view deepResponderViews];\n    \n    for (UIView *textField in textFields)  [self addTextFieldView:textField];\n}\n\n-(void)removeResponderFromView:(UIView*)view\n{\n    NSArray<UIView*> *textFields = [view deepResponderViews];\n    \n    for (UIView *textField in textFields)  [self removeTextFieldView:textField];\n}\n\n-(void)removeTextFieldView:(UIView*)view\n{\n    IQTextFieldViewInfoModal *modal = [self textFieldViewCachedInfo:view];\n    \n    if (modal)\n    {\n        if ([view isKindOfClass:[UITextField class]])\n        {\n            UITextField *textField = (UITextField*)view;\n            textField.returnKeyType = modal.originalReturnKeyType;\n            textField.delegate = modal.textFieldDelegate;\n        }\n        else if ([view isKindOfClass:[UITextView class]])\n        {\n            UITextView *textView = (UITextView*)view;\n            textView.returnKeyType = modal.originalReturnKeyType;\n            textView.delegate = modal.textViewDelegate;\n        }\n        \n        [textFieldInfoCache removeObject:modal];\n    }\n}\n\n-(void)addTextFieldView:(UIView*)view\n{\n    IQTextFieldViewInfoModal *modal = [[IQTextFieldViewInfoModal alloc] initWithTextFieldView:view textFieldDelegate:nil textViewDelegate:nil originalReturnKey:UIReturnKeyDefault];\n    \n    if ([view isKindOfClass:[UITextField class]])\n    {\n        UITextField *textField = (UITextField*)view;\n        modal.originalReturnKeyType = textField.returnKeyType;\n        modal.textFieldDelegate = textField.delegate;\n        [textField setDelegate:self];\n    }\n    else if ([view isKindOfClass:[UITextView class]])\n    {\n        UITextView *textView = (UITextView*)view;\n        modal.originalReturnKeyType = textView.returnKeyType;\n        modal.textViewDelegate = textView.delegate;\n        [textView setDelegate:self];\n    }\n\n    [textFieldInfoCache addObject:modal];\n}\n\n-(void)updateReturnKeyTypeOnTextField:(UIView*)textField\n{\n    UIView *superConsideredView;\n    \n    //If find any consider responderView in it's upper hierarchy then will get deepResponderView. (Bug ID: #347)\n    for (Class consideredClass in [[IQKeyboardManager sharedManager] toolbarPreviousNextAllowedClasses])\n    {\n        superConsideredView = [textField superviewOfClassType:consideredClass];\n        \n        if (superConsideredView)\n            break;\n    }\n\n    NSArray<UIView*> *textFields = nil;\n\n    //If there is a tableView in view's hierarchy, then fetching all it's subview that responds. No sorting for tableView, it's by subView position.\n    if (superConsideredView)  //     //   (Enhancement ID: #22)\n    {\n        textFields = [superConsideredView deepResponderViews];\n    }\n    //Otherwise fetching all the siblings\n    else\n    {\n        textFields = [textField responderSiblings];\n        \n        //Sorting textFields according to behaviour\n        switch ([[IQKeyboardManager sharedManager] toolbarManageBehaviour])\n        {\n                //If needs to sort it by tag\n            case IQAutoToolbarByTag:\n                textFields = [textFields sortedArrayByTag];\n                break;\n                \n                //If needs to sort it by Position\n            case IQAutoToolbarByPosition:\n                textFields = [textFields sortedArrayByPosition];\n                break;\n                \n            default:\n                break;\n        }\n    }\n    \n    //If it's the last textField in responder view, else next\n    [(UITextField*)textField setReturnKeyType:(([textFields lastObject] == textField)    ?   self.lastTextFieldReturnKeyType :   UIReturnKeyNext)];\n}\n\n#pragma mark - Goto next or Resign.\n\n-(BOOL)goToNextResponderOrResign:(UIView*)textField\n{\n    UIView *superConsideredView;\n    \n    //If find any consider responderView in it's upper hierarchy then will get deepResponderView. (Bug ID: #347)\n    for (Class consideredClass in [[IQKeyboardManager sharedManager] toolbarPreviousNextAllowedClasses])\n    {\n        superConsideredView = [textField superviewOfClassType:consideredClass];\n        \n        if (superConsideredView)\n            break;\n    }\n    \n    NSArray<UIView*> *textFields = nil;\n    \n    //If there is a tableView in view's hierarchy, then fetching all it's subview that responds. No sorting for tableView, it's by subView position.\n    if (superConsideredView)  //     //   (Enhancement ID: #22)\n    {\n        textFields = [superConsideredView deepResponderViews];\n    }\n    //Otherwise fetching all the siblings\n    else\n    {\n        textFields = [textField responderSiblings];\n        \n        //Sorting textFields according to behaviour\n        switch ([[IQKeyboardManager sharedManager] toolbarManageBehaviour])\n        {\n                //If needs to sort it by tag\n            case IQAutoToolbarByTag:\n                textFields = [textFields sortedArrayByTag];\n                break;\n                \n                //If needs to sort it by Position\n            case IQAutoToolbarByPosition:\n                textFields = [textFields sortedArrayByPosition];\n                break;\n                \n            default:\n                break;\n        }\n    }\n        \n    //Getting index of current textField.\n    NSUInteger index = [textFields indexOfObject:textField];\n    \n    //If it is not last textField. then it's next object becomeFirstResponder.\n    if (index != NSNotFound && index < textFields.count-1)\n    {\n        [textFields[index+1] becomeFirstResponder];\n        return NO;\n    }\n    else\n    {\n        [textField resignFirstResponder];\n        return YES;\n    }\n}\n\n#pragma mark - TextField delegate\n- (BOOL)textFieldShouldBeginEditing:(UITextField *)textField\n{\n    id<UITextFieldDelegate> delegate = self.delegate;\n    \n    if (delegate == nil)\n    {\n        IQTextFieldViewInfoModal *modal = [self textFieldViewCachedInfo:textField];\n        delegate = modal.textFieldDelegate;\n    }\n    \n    if ([delegate respondsToSelector:@selector(textFieldShouldBeginEditing:)])\n        return [delegate textFieldShouldBeginEditing:textField];\n    else\n        return YES;\n}\n\n- (void)textFieldDidBeginEditing:(UITextField *)textField\n{\n    [self updateReturnKeyTypeOnTextField:textField];\n\n    id<UITextFieldDelegate> delegate = self.delegate;\n    \n    if (delegate == nil)\n    {\n        IQTextFieldViewInfoModal *modal = [self textFieldViewCachedInfo:textField];\n        delegate = modal.textFieldDelegate;\n    }\n    \n    if ([delegate respondsToSelector:@selector(textFieldDidBeginEditing:)])\n        [delegate textFieldDidBeginEditing:textField];\n}\n\n- (BOOL)textFieldShouldEndEditing:(UITextField *)textField\n{\n    id<UITextFieldDelegate> delegate = self.delegate;\n    \n    if (delegate == nil)\n    {\n        IQTextFieldViewInfoModal *modal = [self textFieldViewCachedInfo:textField];\n        delegate = modal.textFieldDelegate;\n    }\n\n    if ([delegate respondsToSelector:@selector(textFieldShouldEndEditing:)])\n        return [delegate textFieldShouldEndEditing:textField];\n    else\n        return YES;\n}\n\n- (void)textFieldDidEndEditing:(UITextField *)textField\n{\n    id<UITextFieldDelegate> delegate = self.delegate;\n    \n    if (delegate == nil)\n    {\n        IQTextFieldViewInfoModal *modal = [self textFieldViewCachedInfo:textField];\n        delegate = modal.textFieldDelegate;\n    }\n    \n    if ([delegate respondsToSelector:@selector(textFieldDidEndEditing:)])\n        [delegate textFieldDidEndEditing:textField];\n}\n\n- (void)textFieldDidEndEditing:(UITextField *)textField reason:(UITextFieldDidEndEditingReason)reason NS_AVAILABLE_IOS(10_0);\n{\n    id<UITextFieldDelegate> delegate = self.delegate;\n    \n    if (delegate == nil)\n    {\n        IQTextFieldViewInfoModal *modal = [self textFieldViewCachedInfo:textField];\n        delegate = modal.textFieldDelegate;\n    }\n    \n#ifdef __IPHONE_11_0\n    if (@available(iOS 10.0, *)) {\n#endif\n        if ([delegate respondsToSelector:@selector(textFieldDidEndEditing:reason:)])\n            [delegate textFieldDidEndEditing:textField reason:reason];\n#ifdef __IPHONE_11_0\n    }\n#endif\n}\n\n- (BOOL)textField:(UITextField *)textField shouldChangeCharactersInRange:(NSRange)range replacementString:(NSString *)string\n{\n    id<UITextFieldDelegate> delegate = self.delegate;\n    \n    if (delegate == nil)\n    {\n        IQTextFieldViewInfoModal *modal = [self textFieldViewCachedInfo:textField];\n        delegate = modal.textFieldDelegate;\n    }\n    \n    if ([delegate respondsToSelector:@selector(textField:shouldChangeCharactersInRange:replacementString:)])\n        return [delegate textField:textField shouldChangeCharactersInRange:range replacementString:string];\n    else\n        return YES;\n}\n\n- (BOOL)textFieldShouldClear:(UITextField *)textField\n{\n    id<UITextFieldDelegate> delegate = self.delegate;\n    \n    if (delegate == nil)\n    {\n        IQTextFieldViewInfoModal *modal = [self textFieldViewCachedInfo:textField];\n        delegate = modal.textFieldDelegate;\n    }\n    \n    if ([delegate respondsToSelector:@selector(textFieldShouldClear:)])\n        return [delegate textFieldShouldClear:textField];\n    else\n        return YES;\n}\n\n-(BOOL)textFieldShouldReturn:(UITextField *)textField\n{\n    id<UITextFieldDelegate> delegate = self.delegate;\n    \n    if (delegate == nil)\n    {\n        IQTextFieldViewInfoModal *modal = [self textFieldViewCachedInfo:textField];\n        delegate = modal.textFieldDelegate;\n    }\n    \n    if ([delegate respondsToSelector:@selector(textFieldShouldReturn:)])\n    {\n        BOOL shouldReturn = [delegate textFieldShouldReturn:textField];\n\n        if (shouldReturn)\n        {\n            shouldReturn = [self goToNextResponderOrResign:textField];\n        }\n        \n        return shouldReturn;\n    }\n    else\n    {\n        return [self goToNextResponderOrResign:textField];\n    }\n}\n\n\n#pragma mark - TextView delegate\n- (BOOL)textViewShouldBeginEditing:(UITextView *)textView\n{\n    id<UITextViewDelegate> delegate = self.delegate;\n    \n    if (delegate == nil)\n    {\n        IQTextFieldViewInfoModal *modal = [self textFieldViewCachedInfo:textView];\n        delegate = modal.textViewDelegate;\n    }\n    \n    if ([delegate respondsToSelector:@selector(textViewShouldBeginEditing:)])\n        return [delegate textViewShouldBeginEditing:textView];\n    else\n        return YES;\n}\n\n- (BOOL)textViewShouldEndEditing:(UITextView *)textView\n{\n    id<UITextViewDelegate> delegate = self.delegate;\n    \n    if (delegate == nil)\n    {\n        IQTextFieldViewInfoModal *modal = [self textFieldViewCachedInfo:textView];\n        delegate = modal.textViewDelegate;\n    }\n    \n    if ([delegate respondsToSelector:@selector(textViewShouldEndEditing:)])\n        return [delegate textViewShouldEndEditing:textView];\n    else\n        return YES;\n}\n\n- (void)textViewDidBeginEditing:(UITextView *)textView\n{\n    [self updateReturnKeyTypeOnTextField:textView];\n\n    id<UITextViewDelegate> delegate = self.delegate;\n    \n    if (delegate == nil)\n    {\n        IQTextFieldViewInfoModal *modal = [self textFieldViewCachedInfo:textView];\n        delegate = modal.textViewDelegate;\n    }\n    \n    if ([delegate respondsToSelector:@selector(textViewDidBeginEditing:)])\n        [delegate textViewDidBeginEditing:textView];\n}\n\n- (void)textViewDidEndEditing:(UITextView *)textView\n{\n    id<UITextViewDelegate> delegate = self.delegate;\n    \n    if (delegate == nil)\n    {\n        IQTextFieldViewInfoModal *modal = [self textFieldViewCachedInfo:textView];\n        delegate = modal.textViewDelegate;\n    }\n    \n    if ([delegate respondsToSelector:@selector(textViewDidEndEditing:)])\n        [delegate textViewDidEndEditing:textView];\n}\n\n- (BOOL)textView:(UITextView *)textView shouldChangeTextInRange:(NSRange)range replacementText:(NSString *)text\n{\n    id<UITextViewDelegate> delegate = self.delegate;\n    \n    if (delegate == nil)\n    {\n        IQTextFieldViewInfoModal *modal = [self textFieldViewCachedInfo:textView];\n        delegate = modal.textViewDelegate;\n    }\n    \n    BOOL shouldReturn = YES;\n    \n    if ([delegate respondsToSelector:@selector(textView:shouldChangeTextInRange:replacementText:)])\n        shouldReturn = [delegate textView:textView shouldChangeTextInRange:range replacementText:text];\n    \n    if (shouldReturn && [text isEqualToString:@\"\\n\"])\n    {\n        shouldReturn = [self goToNextResponderOrResign:textView];\n    }\n    \n    return shouldReturn;\n}\n\n- (void)textViewDidChange:(UITextView *)textView\n{\n    id<UITextViewDelegate> delegate = self.delegate;\n    \n    if (delegate == nil)\n    {\n        IQTextFieldViewInfoModal *modal = [self textFieldViewCachedInfo:textView];\n        delegate = modal.textViewDelegate;\n    }\n    \n    if ([delegate respondsToSelector:@selector(textViewDidChange:)])\n        [delegate textViewDidChange:textView];\n}\n\n- (void)textViewDidChangeSelection:(UITextView *)textView\n{\n    id<UITextViewDelegate> delegate = self.delegate;\n    \n    if (delegate == nil)\n    {\n        IQTextFieldViewInfoModal *modal = [self textFieldViewCachedInfo:textView];\n        delegate = modal.textViewDelegate;\n    }\n    \n    if ([delegate respondsToSelector:@selector(textViewDidChangeSelection:)])\n        [delegate textViewDidChangeSelection:textView];\n}\n\n- (BOOL)textView:(UITextView *)textView shouldInteractWithURL:(NSURL *)URL inRange:(NSRange)characterRange interaction:(UITextItemInteraction)interaction NS_AVAILABLE_IOS(10_0);\n{\n    id<UITextViewDelegate> delegate = self.delegate;\n    \n    if (delegate == nil)\n    {\n        IQTextFieldViewInfoModal *modal = [self textFieldViewCachedInfo:textView];\n        delegate = modal.textViewDelegate;\n    }\n    \n#ifdef __IPHONE_11_0\n    if (@available(iOS 10.0, *)) {\n#endif\n        if ([delegate respondsToSelector:@selector(textView:shouldInteractWithURL:inRange:interaction:)])\n            return [delegate textView:textView shouldInteractWithURL:URL inRange:characterRange interaction:interaction];\n#ifdef __IPHONE_11_0\n    }\n#endif\n\n    return YES;\n}\n\n- (BOOL)textView:(UITextView *)textView shouldInteractWithTextAttachment:(NSTextAttachment *)textAttachment inRange:(NSRange)characterRange interaction:(UITextItemInteraction)interaction NS_AVAILABLE_IOS(10_0);\n{\n    id<UITextViewDelegate> delegate = self.delegate;\n    \n    if (delegate == nil)\n    {\n        IQTextFieldViewInfoModal *modal = [self textFieldViewCachedInfo:textView];\n        delegate = modal.textViewDelegate;\n    }\n    \n#ifdef __IPHONE_11_0\n    if (@available(iOS 10.0, *)) {\n#endif\n    if ([delegate respondsToSelector:@selector(textView:shouldInteractWithTextAttachment:inRange:interaction:)])\n        return [delegate textView:textView shouldInteractWithTextAttachment:textAttachment inRange:characterRange interaction:interaction];\n#ifdef __IPHONE_11_0\n    }\n#endif\n\n    return YES;\n}\n\n- (BOOL)textView:(UITextView *)textView shouldInteractWithURL:(NSURL *)URL inRange:(NSRange)characterRange\n{\n    id<UITextViewDelegate> delegate = self.delegate;\n    \n    if (delegate == nil)\n    {\n        IQTextFieldViewInfoModal *modal = [self textFieldViewCachedInfo:textView];\n        delegate = modal.textViewDelegate;\n    }\n    \n#pragma clang diagnostic push\n#pragma clang diagnostic ignored \"-Wdeprecated-declarations\"\n    if ([delegate respondsToSelector:@selector(textView:shouldInteractWithURL:inRange:)])\n        return [delegate textView:textView shouldInteractWithURL:URL inRange:characterRange];\n#pragma clang diagnostic pop\n    else\n        return YES;\n}\n\n- (BOOL)textView:(UITextView *)textView shouldInteractWithTextAttachment:(NSTextAttachment *)textAttachment inRange:(NSRange)characterRange\n{\n    id<UITextViewDelegate> delegate = self.delegate;\n    \n    if (delegate == nil)\n    {\n        IQTextFieldViewInfoModal *modal = [self textFieldViewCachedInfo:textView];\n        delegate = modal.textViewDelegate;\n    }\n    \n#pragma clang diagnostic push\n#pragma clang diagnostic ignored \"-Wdeprecated-declarations\"\n    if ([delegate respondsToSelector:@selector(textView:shouldInteractWithTextAttachment:inRange:)])\n        return [delegate textView:textView shouldInteractWithTextAttachment:textAttachment inRange:characterRange];\n#pragma clang diagnostic pop\n    else\n        return YES;\n}\n\n-(void)dealloc\n{\n    for (IQTextFieldViewInfoModal *modal in textFieldInfoCache)\n    {\n        UIView *textFieldView = modal.textFieldView;\n        if ([textFieldView isKindOfClass:[UITextField class]])\n        {\n            UITextField *textField = (UITextField*)textFieldView;\n            textField.returnKeyType = modal.originalReturnKeyType;\n            textField.delegate = modal.textFieldDelegate\n            ;\n        }\n        else if ([textFieldView isKindOfClass:[UITextView class]])\n        {\n            UITextView *textView = (UITextView*)textFieldView;\n            textView.returnKeyType = modal.originalReturnKeyType;\n            textView.delegate = modal.textViewDelegate;\n        }\n    }\n\n    [textFieldInfoCache removeAllObjects];\n}\n\n@end\n"
  },
  {
    "path": "CKMeiTuanShopView/Pods/IQKeyboardManager/IQKeyboardManager/IQTextView/IQTextView.h",
    "content": "//\n// IQTextView.h\n// https://github.com/hackiftekhar/IQKeyboardManager\n// Copyright (c) 2013-16 Iftekhar Qurashi.\n//\n// Permission is hereby granted, free of charge, to any person obtaining a copy\n// of this software and associated documentation files (the \"Software\"), to deal\n// in the Software without restriction, including without limitation the rights\n// to use, copy, modify, merge, publish, distribute, sublicense, and/or sell\n// copies of the Software, and to permit persons to whom the Software is\n// furnished to do so, subject to the following conditions:\n//\n// The above copyright notice and this permission notice shall be included in\n// all copies or substantial portions of the Software.\n//\n// THE SOFTWARE IS PROVIDED \"AS IS\", WITHOUT WARRANTY OF ANY KIND, EXPRESS OR\n// IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF MERCHANTABILITY,\n// FITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT. IN NO EVENT SHALL THE\n// AUTHORS OR COPYRIGHT HOLDERS BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER\n// LIABILITY, WHETHER IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING FROM,\n// OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN\n// THE SOFTWARE.\n\n#import \"IQKeyboardManagerConstants.h\"\n\n#import <UIKit/UITextView.h>\n\n/**\n UITextView with placeholder support\n */\n@interface IQTextView : UITextView\n\n/**\n Set textView's placeholder text. Default is nil.\n */\n@property(nullable, nonatomic,copy) IBInspectable NSString    *placeholder;\n\n/**\n To set textView's placeholder text color. Default is nil.\n */\n@property(nullable, nonatomic,copy) IBInspectable UIColor    *placeholderTextColor;\n\n@end\n\n\n\n\n"
  },
  {
    "path": "CKMeiTuanShopView/Pods/IQKeyboardManager/IQKeyboardManager/IQTextView/IQTextView.m",
    "content": "//\n// IQTextView.m\n// https://github.com/hackiftekhar/IQKeyboardManager\n// Copyright (c) 2013-16 Iftekhar Qurashi.\n//\n// Permission is hereby granted, free of charge, to any person obtaining a copy\n// of this software and associated documentation files (the \"Software\"), to deal\n// in the Software without restriction, including without limitation the rights\n// to use, copy, modify, merge, publish, distribute, sublicense, and/or sell\n// copies of the Software, and to permit persons to whom the Software is\n// furnished to do so, subject to the following conditions:\n//\n// The above copyright notice and this permission notice shall be included in\n// all copies or substantial portions of the Software.\n//\n// THE SOFTWARE IS PROVIDED \"AS IS\", WITHOUT WARRANTY OF ANY KIND, EXPRESS OR\n// IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF MERCHANTABILITY,\n// FITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT. IN NO EVENT SHALL THE\n// AUTHORS OR COPYRIGHT HOLDERS BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER\n// LIABILITY, WHETHER IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING FROM,\n// OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN\n// THE SOFTWARE.\n\n#import \"IQTextView.h\"\n\n#import <UIKit/NSTextContainer.h>\n#import <UIKit/UILabel.h>\n#import <UIKit/UINibLoading.h>\n\n@interface IQTextView ()\n\n@property(nonatomic, strong) UILabel *placeholderLabel;\n\n@end\n\n@implementation IQTextView\n\n@synthesize placeholder = _placeholder;\n@synthesize placeholderLabel = _placeholderLabel;\n@synthesize placeholderTextColor = _placeholderTextColor;\n\n-(void)initialize\n{\n    [[NSNotificationCenter defaultCenter] addObserver:self selector:@selector(refreshPlaceholder) name:UITextViewTextDidChangeNotification object:self];\n}\n\n-(void)dealloc\n{\n    [_placeholderLabel removeFromSuperview];\n    _placeholderLabel = nil;\n    [[NSNotificationCenter defaultCenter] removeObserver:self];\n}\n\n- (instancetype)init\n{\n    self = [super init];\n    if (self) {\n        [self initialize];\n    }\n    return self;\n}\n\n-(void)awakeFromNib\n{\n    [super awakeFromNib];\n    [self initialize];\n}\n\n-(void)refreshPlaceholder\n{\n    if([[self text] length])\n    {\n        [_placeholderLabel setAlpha:0];\n    }\n    else\n    {\n        [_placeholderLabel setAlpha:1];\n    }\n    \n    [self setNeedsLayout];\n    [self layoutIfNeeded];\n}\n\n- (void)setText:(NSString *)text\n{\n    [super setText:text];\n    [self refreshPlaceholder];\n}\n\n-(void)setFont:(UIFont *)font\n{\n    [super setFont:font];\n    self.placeholderLabel.font = self.font;\n    \n    [self setNeedsLayout];\n    [self layoutIfNeeded];\n}\n\n-(void)setTextAlignment:(NSTextAlignment)textAlignment\n{\n    [super setTextAlignment:textAlignment];\n    self.placeholderLabel.textAlignment = textAlignment;\n    \n    [self setNeedsLayout];\n    [self layoutIfNeeded];\n}\n\n-(void)layoutSubviews\n{\n    [super layoutSubviews];\n\n    UIEdgeInsets placeholderInsets = [self placeholderInsets];\n    CGFloat maxWidth = CGRectGetWidth(self.frame)-placeholderInsets.left-placeholderInsets.right;\n\n    CGSize expectedSize = [self.placeholderLabel sizeThatFits:CGSizeMake(maxWidth, CGRectGetHeight(self.frame)-placeholderInsets.top-placeholderInsets.bottom)];\n    \n    self.placeholderLabel.frame = CGRectMake(placeholderInsets.left, placeholderInsets.top, maxWidth, expectedSize.height);\n}\n\n-(void)setPlaceholder:(NSString *)placeholder\n{\n    _placeholder = placeholder;\n    \n    self.placeholderLabel.text = placeholder;\n    [self refreshPlaceholder];\n}\n\n-(void)setPlaceholderTextColor:(UIColor*)placeholderTextColor\n{\n    _placeholderTextColor = placeholderTextColor;\n    self.placeholderLabel.textColor = placeholderTextColor;\n}\n\n-(UIEdgeInsets)placeholderInsets\n{\n    return UIEdgeInsetsMake(self.textContainerInset.top, self.textContainerInset.left + self.textContainer.lineFragmentPadding, self.textContainerInset.bottom, self.textContainerInset.right + self.textContainer.lineFragmentPadding);\n}\n\n-(UILabel*)placeholderLabel\n{\n    if (_placeholderLabel == nil)\n    {\n        _placeholderLabel = [[UILabel alloc] init];\n        _placeholderLabel.autoresizingMask = (UIViewAutoresizingFlexibleWidth|UIViewAutoresizingFlexibleHeight);\n        _placeholderLabel.lineBreakMode = NSLineBreakByWordWrapping;\n        _placeholderLabel.numberOfLines = 0;\n        _placeholderLabel.font = self.font;\n        _placeholderLabel.textAlignment = self.textAlignment;\n        _placeholderLabel.backgroundColor = [UIColor clearColor];\n        _placeholderLabel.textColor = [UIColor colorWithWhite:0.7 alpha:1.0];\n        _placeholderLabel.alpha = 0;\n        [self addSubview:_placeholderLabel];\n    }\n    \n    return _placeholderLabel;\n}\n\n//When any text changes on textField, the delegate getter is called. At this time we refresh the textView's placeholder\n-(id<UITextViewDelegate>)delegate\n{\n    [self refreshPlaceholder];\n    return [super delegate];\n}\n\n@end\n"
  },
  {
    "path": "CKMeiTuanShopView/Pods/IQKeyboardManager/IQKeyboardManager/IQToolbar/IQBarButtonItem.h",
    "content": "//\n// IQBarButtonItem.h\n// https://github.com/hackiftekhar/IQKeyboardManager\n// Copyright (c) 2013-16 Iftekhar Qurashi.\n//\n// Permission is hereby granted, free of charge, to any person obtaining a copy\n// of this software and associated documentation files (the \"Software\"), to deal\n// in the Software without restriction, including without limitation the rights\n// to use, copy, modify, merge, publish, distribute, sublicense, and/or sell\n// copies of the Software, and to permit persons to whom the Software is\n// furnished to do so, subject to the following conditions:\n//\n// The above copyright notice and this permission notice shall be included in\n// all copies or substantial portions of the Software.\n//\n// THE SOFTWARE IS PROVIDED \"AS IS\", WITHOUT WARRANTY OF ANY KIND, EXPRESS OR\n// IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF MERCHANTABILITY,\n// FITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT. IN NO EVENT SHALL THE\n// AUTHORS OR COPYRIGHT HOLDERS BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER\n// LIABILITY, WHETHER IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING FROM,\n// OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN\n// THE SOFTWARE.\n\n#import <UIKit/UIBarButtonItem.h>\n\n@class NSInvocation;\n\n/**\n IQBarButtonItem used for IQToolbar.\n */\n@interface IQBarButtonItem : UIBarButtonItem\n\n/**\n Boolean to know if it's a system item or custom item\n */\n@property (nonatomic, readonly) BOOL isSystemItem;\n\n/**\n Additional target & action to do get callback action. Note that setting custom target & selector doesn't affect native functionality, this is just an additional target to get a callback.\n \n @param target Target object.\n @param action Target Selector.\n */\n-(void)setTarget:(nullable id)target action:(nullable SEL)action;\n\n/**\n Customized Invocation to be called when button is pressed. invocation is internally created using setTarget:action: method.\n */\n@property (nullable, strong, nonatomic) NSInvocation *invocation;\n\n@end\n"
  },
  {
    "path": "CKMeiTuanShopView/Pods/IQKeyboardManager/IQKeyboardManager/IQToolbar/IQBarButtonItem.m",
    "content": "//\n// IQBarButtonItem.m\n// https://github.com/hackiftekhar/IQKeyboardManager\n// Copyright (c) 2013-16 Iftekhar Qurashi.\n//\n// Permission is hereby granted, free of charge, to any person obtaining a copy\n// of this software and associated documentation files (the \"Software\"), to deal\n// in the Software without restriction, including without limitation the rights\n// to use, copy, modify, merge, publish, distribute, sublicense, and/or sell\n// copies of the Software, and to permit persons to whom the Software is\n// furnished to do so, subject to the following conditions:\n//\n// The above copyright notice and this permission notice shall be included in\n// all copies or substantial portions of the Software.\n//\n// THE SOFTWARE IS PROVIDED \"AS IS\", WITHOUT WARRANTY OF ANY KIND, EXPRESS OR\n// IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF MERCHANTABILITY,\n// FITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT. IN NO EVENT SHALL THE\n// AUTHORS OR COPYRIGHT HOLDERS BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER\n// LIABILITY, WHETHER IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING FROM,\n// OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN\n// THE SOFTWARE.\n\n#import \"IQBarButtonItem.h\"\n#import \"IQKeyboardManagerConstantsInternal.h\"\n#import <UIKit/NSAttributedString.h>\n\n@implementation IQBarButtonItem\n\n+(void)initialize\n{\n    [super initialize];\n\n    IQBarButtonItem *appearanceProxy = [self appearance];\n\n    NSArray <NSNumber*> *states = @[@(UIControlStateNormal),@(UIControlStateHighlighted),@(UIControlStateDisabled),@(UIControlStateSelected),@(UIControlStateApplication),@(UIControlStateReserved)];\n    \n    for (NSNumber *state in states)\n    {\n        UIControlState controlState = [state unsignedIntegerValue];\n\n        [appearanceProxy setBackgroundImage:nil forState:controlState barMetrics:UIBarMetricsDefault];\n        [appearanceProxy setBackgroundImage:nil forState:controlState style:UIBarButtonItemStyleDone barMetrics:UIBarMetricsDefault];\n        [appearanceProxy setBackgroundImage:nil forState:controlState style:UIBarButtonItemStylePlain barMetrics:UIBarMetricsDefault];\n        [appearanceProxy setBackButtonBackgroundImage:nil forState:controlState barMetrics:UIBarMetricsDefault];\n    }\n\n    [appearanceProxy setTitlePositionAdjustment:UIOffsetZero forBarMetrics:UIBarMetricsDefault];\n    [appearanceProxy setBackgroundVerticalPositionAdjustment:0 forBarMetrics:UIBarMetricsDefault];\n    [appearanceProxy setBackButtonBackgroundVerticalPositionAdjustment:0 forBarMetrics:UIBarMetricsDefault];\n}\n\n-(void)setTintColor:(UIColor *)tintColor\n{\n    [super setTintColor:tintColor];\n    \n    //titleTextAttributes tweak is to overcome an issue comes with iOS11 where appearanceProxy set for NSForegroundColorAttributeName and bar button texts start appearing in appearance proxy color\n    NSMutableDictionary *textAttributes = [[self titleTextAttributesForState:UIControlStateNormal] mutableCopy]?:[NSMutableDictionary new];\n    \n    textAttributes[NSForegroundColorAttributeName] = tintColor;\n    \n    [self setTitleTextAttributes:textAttributes forState:UIControlStateNormal];\n}\n\n- (instancetype)initWithBarButtonSystemItem:(UIBarButtonSystemItem)systemItem target:(nullable id)target action:(nullable SEL)action\n{\n    self = [super initWithBarButtonSystemItem:systemItem target:target action:action];\n    \n    if (self)\n    {\n        _isSystemItem = YES;\n    }\n    \n    return self;\n}\n\n\n-(void)setTarget:(nullable id)target action:(nullable SEL)action\n{\n    NSInvocation *invocation = nil;\n    \n    if (target && action)\n    {\n        invocation = [NSInvocation invocationWithMethodSignature:[target methodSignatureForSelector:action]];\n        invocation.target = target;\n        invocation.selector = action;\n    }\n    \n    self.invocation = invocation;\n}\n\n-(void)dealloc\n{\n    self.target = nil;\n    self.invocation.target = nil;\n    self.invocation = nil;\n}\n\n@end\n"
  },
  {
    "path": "CKMeiTuanShopView/Pods/IQKeyboardManager/IQKeyboardManager/IQToolbar/IQPreviousNextView.h",
    "content": "//\n// IQPreviousNextView.h\n// https://github.com/hackiftekhar/IQKeyboardManager\n// Copyright (c) 2013-16 Iftekhar Qurashi.\n//\n// Permission is hereby granted, free of charge, to any person obtaining a copy\n// of this software and associated documentation files (the \"Software\"), to deal\n// in the Software without restriction, including without limitation the rights\n// to use, copy, modify, merge, publish, distribute, sublicense, and/or sell\n// copies of the Software, and to permit persons to whom the Software is\n// furnished to do so, subject to the following conditions:\n//\n// The above copyright notice and this permission notice shall be included in\n// all copies or substantial portions of the Software.\n//\n// THE SOFTWARE IS PROVIDED \"AS IS\", WITHOUT WARRANTY OF ANY KIND, EXPRESS OR\n// IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF MERCHANTABILITY,\n// FITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT. IN NO EVENT SHALL THE\n// AUTHORS OR COPYRIGHT HOLDERS BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER\n// LIABILITY, WHETHER IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING FROM,\n// OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN\n// THE SOFTWARE.\n\n#import <UIKit/UIView.h>\n/**\n If you need to enable previous/next toolbar button with some complex hierarchy where your textFields are not in same view, then make the top view as IQPreviousNextView.\n */\n@interface IQPreviousNextView : UIView\n\n@end\n"
  },
  {
    "path": "CKMeiTuanShopView/Pods/IQKeyboardManager/IQKeyboardManager/IQToolbar/IQPreviousNextView.m",
    "content": "//\n// IQPreviousNextView.m\n// https://github.com/hackiftekhar/IQKeyboardManager\n// Copyright (c) 2013-16 Iftekhar Qurashi.\n//\n// Permission is hereby granted, free of charge, to any person obtaining a copy\n// of this software and associated documentation files (the \"Software\"), to deal\n// in the Software without restriction, including without limitation the rights\n// to use, copy, modify, merge, publish, distribute, sublicense, and/or sell\n// copies of the Software, and to permit persons to whom the Software is\n// furnished to do so, subject to the following conditions:\n//\n// The above copyright notice and this permission notice shall be included in\n// all copies or substantial portions of the Software.\n//\n// THE SOFTWARE IS PROVIDED \"AS IS\", WITHOUT WARRANTY OF ANY KIND, EXPRESS OR\n// IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF MERCHANTABILITY,\n// FITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT. IN NO EVENT SHALL THE\n// AUTHORS OR COPYRIGHT HOLDERS BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER\n// LIABILITY, WHETHER IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING FROM,\n// OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN\n// THE SOFTWARE.\n\n#import \"IQPreviousNextView.h\"\n\n@implementation IQPreviousNextView\n\n@end\n"
  },
  {
    "path": "CKMeiTuanShopView/Pods/IQKeyboardManager/IQKeyboardManager/IQToolbar/IQTitleBarButtonItem.h",
    "content": "//\n// IQTitleBarButtonItem.h\n// https://github.com/hackiftekhar/IQKeyboardManager\n// Copyright (c) 2013-16 Iftekhar Qurashi.\n//\n// Permission is hereby granted, free of charge, to any person obtaining a copy\n// of this software and associated documentation files (the \"Software\"), to deal\n// in the Software without restriction, including without limitation the rights\n// to use, copy, modify, merge, publish, distribute, sublicense, and/or sell\n// copies of the Software, and to permit persons to whom the Software is\n// furnished to do so, subject to the following conditions:\n//\n// The above copyright notice and this permission notice shall be included in\n// all copies or substantial portions of the Software.\n//\n// THE SOFTWARE IS PROVIDED \"AS IS\", WITHOUT WARRANTY OF ANY KIND, EXPRESS OR\n// IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF MERCHANTABILITY,\n// FITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT. IN NO EVENT SHALL THE\n// AUTHORS OR COPYRIGHT HOLDERS BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER\n// LIABILITY, WHETHER IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING FROM,\n// OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN\n// THE SOFTWARE.\n\n#import \"IQKeyboardManagerConstants.h\"\n#import \"IQBarButtonItem.h\"\n\n#import <Foundation/NSObjCRuntime.h>\n\n/**\n BarButtonItem with title text.\n */\n@interface IQTitleBarButtonItem : IQBarButtonItem\n\n/**\n Font to be used in bar button. Default is (system font 12.0 bold).\n */\n@property(nullable, nonatomic, strong) UIFont *titleFont;\n\n/**\n titleColor to be used for displaying button text when displaying title (disabled state).\n */\n@property(nullable, nonatomic, strong) UIColor *titleColor;\n\n/**\n selectableTitleColor to be used for displaying button text when button is enabled.\n */\n@property(nullable, nonatomic, strong) UIColor *selectableTitleColor;\n\n/**\n Initialize with frame and title.\n \n @param title Title of barButtonItem.\n */\n-(nonnull instancetype)initWithTitle:(nullable NSString *)title NS_DESIGNATED_INITIALIZER;\n\n/**\n Unavailable. Please use initWithFrame:title: method\n */\n-(nonnull instancetype)init NS_UNAVAILABLE;\n\n/**\n Unavailable. Please use initWithFrame:title: method\n */\n-(nonnull instancetype)initWithCoder:(nullable NSCoder *)aDecoder NS_UNAVAILABLE;\n\n/**\n Unavailable. Please use initWithFrame:title: method\n */\n+ (nonnull instancetype)new NS_UNAVAILABLE;\n\n@end\n"
  },
  {
    "path": "CKMeiTuanShopView/Pods/IQKeyboardManager/IQKeyboardManager/IQToolbar/IQTitleBarButtonItem.m",
    "content": "//\n// IQTitleBarButtonItem.m\n// https://github.com/hackiftekhar/IQKeyboardManager\n// Copyright (c) 2013-16 Iftekhar Qurashi.\n//\n// Permission is hereby granted, free of charge, to any person obtaining a copy\n// of this software and associated documentation files (the \"Software\"), to deal\n// in the Software without restriction, including without limitation the rights\n// to use, copy, modify, merge, publish, distribute, sublicense, and/or sell\n// copies of the Software, and to permit persons to whom the Software is\n// furnished to do so, subject to the following conditions:\n//\n// The above copyright notice and this permission notice shall be included in\n// all copies or substantial portions of the Software.\n//\n// THE SOFTWARE IS PROVIDED \"AS IS\", WITHOUT WARRANTY OF ANY KIND, EXPRESS OR\n// IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF MERCHANTABILITY,\n// FITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT. IN NO EVENT SHALL THE\n// AUTHORS OR COPYRIGHT HOLDERS BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER\n// LIABILITY, WHETHER IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING FROM,\n// OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN\n// THE SOFTWARE.\n\n#import \"IQTitleBarButtonItem.h\"\n#import \"IQKeyboardManagerConstants.h\"\n#import \"IQKeyboardManagerConstantsInternal.h\"\n\n#import <UIKit/UILabel.h>\n#import <UIKit/UIButton.h>\n\n@interface IQTitleBarButtonItem ()\n\n@property(nonatomic, strong) UIView *titleView;\n@property(nonatomic, strong) UIButton *titleButton;\n\n@end\n\n@implementation IQTitleBarButtonItem\n\n-(nonnull instancetype)initWithTitle:(nullable NSString *)title\n{\n    self = [super init];\n    if (self)\n    {\n        _titleView = [[UIView alloc] init];\n        _titleView.backgroundColor = [UIColor clearColor];\n\n        _titleButton = [UIButton buttonWithType:UIButtonTypeSystem];\n        _titleButton.enabled = NO;\n        _titleButton.titleLabel.numberOfLines = 3;\n        [_titleButton setTitleColor:[UIColor colorWithRed:0.0 green:0.5 blue:1.0 alpha:1.0] forState:UIControlStateNormal];\n        [_titleButton setTitleColor:[UIColor lightGrayColor] forState:UIControlStateDisabled];\n        [_titleButton setBackgroundColor:[UIColor clearColor]];\n        [_titleButton.titleLabel setTextAlignment:NSTextAlignmentCenter];\n        [self setTitle:title];\n        [self setTitleFont:[UIFont systemFontOfSize:13.0]];\n        [_titleView addSubview:_titleButton];\n        \n#ifdef __IPHONE_11_0\n        if (@available(iOS 11.0, *))\n        {\n            CGFloat layoutDefaultLowPriority = UILayoutPriorityDefaultLow-1;\n            CGFloat layoutDefaultHighPriority = UILayoutPriorityDefaultHigh-1;\n\n            _titleView.translatesAutoresizingMaskIntoConstraints = NO;\n            [_titleView setContentHuggingPriority:layoutDefaultLowPriority forAxis:UILayoutConstraintAxisVertical];\n            [_titleView setContentHuggingPriority:layoutDefaultLowPriority forAxis:UILayoutConstraintAxisHorizontal];\n            [_titleView setContentCompressionResistancePriority:layoutDefaultHighPriority forAxis:UILayoutConstraintAxisVertical];\n            [_titleView setContentCompressionResistancePriority:layoutDefaultHighPriority forAxis:UILayoutConstraintAxisHorizontal];\n            \n            _titleButton.translatesAutoresizingMaskIntoConstraints = NO;\n            [_titleButton setContentHuggingPriority:layoutDefaultLowPriority forAxis:UILayoutConstraintAxisVertical];\n            [_titleButton setContentHuggingPriority:layoutDefaultLowPriority forAxis:UILayoutConstraintAxisHorizontal];\n            [_titleButton setContentCompressionResistancePriority:layoutDefaultHighPriority forAxis:UILayoutConstraintAxisVertical];\n            [_titleButton setContentCompressionResistancePriority:layoutDefaultHighPriority forAxis:UILayoutConstraintAxisHorizontal];\n\n            NSLayoutConstraint *top = [NSLayoutConstraint constraintWithItem:_titleButton attribute:NSLayoutAttributeTop relatedBy:NSLayoutRelationEqual toItem:_titleView attribute:NSLayoutAttributeTop multiplier:1 constant:0];\n            NSLayoutConstraint *bottom = [NSLayoutConstraint constraintWithItem:_titleButton attribute:NSLayoutAttributeBottom relatedBy:NSLayoutRelationEqual toItem:_titleView attribute:NSLayoutAttributeBottom multiplier:1 constant:0];\n            NSLayoutConstraint *leading = [NSLayoutConstraint constraintWithItem:_titleButton attribute:NSLayoutAttributeLeading relatedBy:NSLayoutRelationEqual toItem:_titleView attribute:NSLayoutAttributeLeading multiplier:1 constant:0];\n            NSLayoutConstraint *trailing = [NSLayoutConstraint constraintWithItem:_titleButton attribute:NSLayoutAttributeTrailing relatedBy:NSLayoutRelationEqual toItem:_titleView attribute:NSLayoutAttributeTrailing multiplier:1 constant:0];\n            [_titleView addConstraints:@[top,bottom,leading,trailing]];\n        }\n        else\n#endif\n        {\n            _titleView.autoresizingMask = UIViewAutoresizingFlexibleWidth|UIViewAutoresizingFlexibleHeight;\n            _titleButton.autoresizingMask = UIViewAutoresizingFlexibleWidth|UIViewAutoresizingFlexibleHeight;\n        }\n\n        self.customView = _titleView;\n    }\n    return self;\n}\n\n-(void)setTitleFont:(UIFont *)titleFont\n{\n    _titleFont = titleFont;\n    \n    if (titleFont)\n    {\n        _titleButton.titleLabel.font = titleFont;\n    }\n    else\n    {\n        _titleButton.titleLabel.font = [UIFont systemFontOfSize:13];\n    }\n}\n\n-(void)setTitle:(NSString *)title\n{\n    [super setTitle:title];\n    [_titleButton setTitle:title forState:UIControlStateNormal];\n}\n\n-(void)setTitleColor:(UIColor*)titleColor\n{\n    _titleColor = titleColor;\n    [_titleButton setTitleColor:_titleColor?:[UIColor lightGrayColor] forState:UIControlStateDisabled];\n}\n\n-(void)setSelectableTitleColor:(UIColor*)selectableTitleColor\n{\n    _selectableTitleColor = selectableTitleColor;\n    [_titleButton setTitleColor:_selectableTitleColor?:[UIColor colorWithRed:0.0 green:0.5 blue:1.0 alpha:1.0] forState:UIControlStateNormal];\n}\n\n-(void)setInvocation:(NSInvocation *)invocation\n{\n    [super setInvocation:invocation];\n    \n    if (invocation.target == nil || invocation.selector == NULL)\n    {\n        self.enabled = NO;\n        _titleButton.enabled = NO;\n        [_titleButton removeTarget:nil action:NULL forControlEvents:UIControlEventTouchUpInside];\n    }\n    else\n    {\n        self.enabled = YES;\n        _titleButton.enabled = YES;\n        [_titleButton addTarget:invocation.target action:invocation.selector forControlEvents:UIControlEventTouchUpInside];\n    }\n}\n\n-(void)dealloc\n{\n    self.customView = nil;\n    [_titleButton removeTarget:nil action:NULL forControlEvents:UIControlEventTouchUpInside];\n    _titleView = nil;\n    _titleButton = nil;\n}\n\n@end\n"
  },
  {
    "path": "CKMeiTuanShopView/Pods/IQKeyboardManager/IQKeyboardManager/IQToolbar/IQToolbar.h",
    "content": "//\n// IQToolbar.h\n// https://github.com/hackiftekhar/IQKeyboardManager\n// Copyright (c) 2013-16 Iftekhar Qurashi.\n//\n// Permission is hereby granted, free of charge, to any person obtaining a copy\n// of this software and associated documentation files (the \"Software\"), to deal\n// in the Software without restriction, including without limitation the rights\n// to use, copy, modify, merge, publish, distribute, sublicense, and/or sell\n// copies of the Software, and to permit persons to whom the Software is\n// furnished to do so, subject to the following conditions:\n//\n// The above copyright notice and this permission notice shall be included in\n// all copies or substantial portions of the Software.\n//\n// THE SOFTWARE IS PROVIDED \"AS IS\", WITHOUT WARRANTY OF ANY KIND, EXPRESS OR\n// IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF MERCHANTABILITY,\n// FITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT. IN NO EVENT SHALL THE\n// AUTHORS OR COPYRIGHT HOLDERS BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER\n// LIABILITY, WHETHER IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING FROM,\n// OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN\n// THE SOFTWARE.\n\n#import \"IQTitleBarButtonItem.h\"\n\n#import <UIKit/UIToolbar.h>\n#import <UIKit/UIDevice.h>\n\n/**\n IQToolbar for IQKeyboardManager.\n */\n@interface IQToolbar : UIToolbar <UIInputViewAudioFeedback>\n\n/**\n Previous bar button of toolbar.\n */\n@property(nonnull, nonatomic, strong) IQBarButtonItem *previousBarButton;\n\n/**\n Next bar button of toolbar.\n */\n@property(nonnull, nonatomic, strong) IQBarButtonItem *nextBarButton;\n\n/**\n Title bar button of toolbar.\n */\n@property(nonnull, nonatomic, strong, readonly) IQTitleBarButtonItem *titleBarButton;\n\n/**\n Done bar button of toolbar.\n */\n@property(nonnull, nonatomic, strong) IQBarButtonItem *doneBarButton;\n\n/**\n Fixed space bar button of toolbar.\n */\n@property(nonnull, nonatomic, strong) IQBarButtonItem *fixedSpaceBarButton;\n\n@end\n\n"
  },
  {
    "path": "CKMeiTuanShopView/Pods/IQKeyboardManager/IQKeyboardManager/IQToolbar/IQToolbar.m",
    "content": "//\n// IQToolbar.m\n// https://github.com/hackiftekhar/IQKeyboardManager\n// Copyright (c) 2013-16 Iftekhar Qurashi.\n//\n// Permission is hereby granted, free of charge, to any person obtaining a copy\n// of this software and associated documentation files (the \"Software\"), to deal\n// in the Software without restriction, including without limitation the rights\n// to use, copy, modify, merge, publish, distribute, sublicense, and/or sell\n// copies of the Software, and to permit persons to whom the Software is\n// furnished to do so, subject to the following conditions:\n//\n// The above copyright notice and this permission notice shall be included in\n// all copies or substantial portions of the Software.\n//\n// THE SOFTWARE IS PROVIDED \"AS IS\", WITHOUT WARRANTY OF ANY KIND, EXPRESS OR\n// IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF MERCHANTABILITY,\n// FITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT. IN NO EVENT SHALL THE\n// AUTHORS OR COPYRIGHT HOLDERS BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER\n// LIABILITY, WHETHER IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING FROM,\n// OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN\n// THE SOFTWARE.\n\n#import \"IQToolbar.h\"\n#import \"IQKeyboardManagerConstantsInternal.h\"\n#import \"IQUIView+Hierarchy.h\"\n\n#import <UIKit/UIButton.h>\n#import <UIKit/UIAccessibility.h>\n#import <UIKit/UIViewController.h>\n\n@interface IQTitleBarButtonItem (PrivateAccessor)\n\n@property(nonatomic, strong) UIButton *titleButton;\n\n@end\n\n@implementation IQToolbar\n@synthesize previousBarButton = _previousBarButton;\n@synthesize nextBarButton = _nextBarButton;\n@synthesize titleBarButton = _titleBarButton;\n@synthesize doneBarButton = _doneBarButton;\n@synthesize fixedSpaceBarButton = _fixedSpaceBarButton;\n\n+(void)initialize\n{\n    [super initialize];\n\n    IQToolbar *appearanceProxy = [self appearance];\n    \n    NSArray <NSNumber*> *positions = @[@(UIBarPositionAny),@(UIBarPositionBottom),@(UIBarPositionTop),@(UIBarPositionTopAttached)];\n\n    for (NSNumber *position in positions)\n    {\n        UIToolbarPosition toolbarPosition = [position unsignedIntegerValue];\n\n        [appearanceProxy setBackgroundImage:nil forToolbarPosition:toolbarPosition barMetrics:UIBarMetricsDefault];\n        [appearanceProxy setShadowImage:nil forToolbarPosition:toolbarPosition];\n    }\n}\n\n-(void)initialize\n{\n    [self sizeToFit];\n    self.autoresizingMask = UIViewAutoresizingFlexibleWidth;// | UIViewAutoresizingFlexibleHeight;\n    self.translucent = YES;\n}\n\n- (instancetype)initWithFrame:(CGRect)frame\n{\n    self = [super initWithFrame:frame];\n    if (self)\n    {\n        [self initialize];\n    }\n    return self;\n}\n\n- (instancetype)initWithCoder:(NSCoder *)coder\n{\n    self = [super initWithCoder:coder];\n    if (self)\n    {\n        [self initialize];\n    }\n    return self;\n}\n\n-(void)dealloc\n{\n    self.items = nil;\n    _previousBarButton = nil;\n    _nextBarButton = nil;\n    _titleBarButton = nil;\n    _doneBarButton = nil;\n    _fixedSpaceBarButton = nil;\n}\n\n-(IQBarButtonItem *)previousBarButton\n{\n    if (_previousBarButton == nil)\n    {\n        _previousBarButton = [[IQBarButtonItem alloc] initWithImage:nil style:UIBarButtonItemStylePlain target:nil action:nil];\n        _previousBarButton.accessibilityLabel = @\"Toolbar Previous Button\";\n    }\n    \n    return _previousBarButton;\n}\n\n-(IQBarButtonItem *)nextBarButton\n{\n    if (_nextBarButton == nil)\n    {\n        _nextBarButton = [[IQBarButtonItem alloc] initWithImage:nil style:UIBarButtonItemStylePlain target:nil action:nil];\n        _nextBarButton.accessibilityLabel = @\"Toolbar Next Button\";\n    }\n    \n    return _nextBarButton;\n}\n\n-(IQTitleBarButtonItem *)titleBarButton\n{\n    if (_titleBarButton == nil)\n    {\n        _titleBarButton = [[IQTitleBarButtonItem alloc] initWithTitle:nil];\n        _titleBarButton.accessibilityLabel = @\"Toolbar Title Button\";\n    }\n    \n    return _titleBarButton;\n}\n\n-(IQBarButtonItem *)doneBarButton\n{\n    if (_doneBarButton == nil)\n    {\n        _doneBarButton = [[IQBarButtonItem alloc] initWithBarButtonSystemItem:UIBarButtonSystemItemDone target:nil action:nil];\n        _doneBarButton.accessibilityLabel = @\"Toolbar Done Button\";\n    }\n    \n    return _doneBarButton;\n}\n\n-(IQBarButtonItem *)fixedSpaceBarButton\n{\n    if (_fixedSpaceBarButton == nil)\n    {\n        _fixedSpaceBarButton = [[IQBarButtonItem alloc] initWithBarButtonSystemItem:UIBarButtonSystemItemFixedSpace target:nil action:nil];\n#ifdef __IPHONE_11_0\n        if (@available(iOS 10.0, *))\n#else\n            if (IQ_IS_IOS10_OR_GREATER)\n#endif\n            {\n                [_fixedSpaceBarButton setWidth:6];\n            }\n            else\n            {\n                [_fixedSpaceBarButton setWidth:20];\n            }\n    }\n    \n    return _fixedSpaceBarButton;\n}\n\n-(CGSize)sizeThatFits:(CGSize)size\n{\n    CGSize sizeThatFit = [super sizeThatFits:size];\n\n    sizeThatFit.height = 44;\n    \n    return sizeThatFit;\n}\n\n-(void)setBarStyle:(UIBarStyle)barStyle\n{\n    [super setBarStyle:barStyle];\n    \n    if (self.titleBarButton.selectableTitleColor == nil)\n    {\n        if (barStyle == UIBarStyleDefault)\n        {\n            [self.titleBarButton.titleButton setTitleColor:[UIColor colorWithRed:0.0 green:0.5 blue:1.0 alpha:1.0] forState:UIControlStateNormal];\n        }\n        else\n        {\n            [self.titleBarButton.titleButton setTitleColor:[UIColor yellowColor] forState:UIControlStateNormal];\n        }\n    }\n}\n\n-(void)setTintColor:(UIColor *)tintColor\n{\n    [super setTintColor:tintColor];\n\n    for (UIBarButtonItem *item in self.items)\n    {\n        [item setTintColor:tintColor];\n    }\n}\n\n-(void)layoutSubviews\n{\n    [super layoutSubviews];\n\n    //If running on Xcode9 (iOS11) only then we'll validate for iOS version, otherwise for older versions of Xcode (iOS10 and below) we'll just execute the tweak\n#ifdef __IPHONE_11_0\n    if (@available(iOS 11.0, *)) {}\n    else\n#endif\n    {\n        CGRect leftRect = CGRectNull;\n        CGRect rightRect = CGRectNull;\n        \n        BOOL isTitleBarButtonFound = NO;\n        \n        NSArray<UIView*> *subviews = [self.subviews sortedArrayUsingComparator:^NSComparisonResult(UIView *view1, UIView *view2) {\n            \n            CGFloat x1 = CGRectGetMinX(view1.frame);\n            CGFloat y1 = CGRectGetMinY(view1.frame);\n            CGFloat x2 = CGRectGetMinX(view2.frame);\n            CGFloat y2 = CGRectGetMinY(view2.frame);\n            \n            if (x1 < x2)  return NSOrderedAscending;\n            \n            else if (x1 > x2) return NSOrderedDescending;\n            \n            //Else both y are same so checking for x positions\n            else if (y1 < y2)  return NSOrderedAscending;\n            \n            else if (y1 > y2) return NSOrderedDescending;\n            \n            else    return NSOrderedSame;\n        }];\n        \n        for (UIView *barButtonItemView in subviews)\n        {\n            if (isTitleBarButtonFound == YES)\n            {\n                rightRect = barButtonItemView.frame;\n                break;\n            }\n            else if (barButtonItemView == self.titleBarButton.customView)\n            {\n                isTitleBarButtonFound = YES;\n            }\n            //If it's UIToolbarButton or UIToolbarTextButton (which actually UIBarButtonItem)\n            else if ([barButtonItemView isKindOfClass:[UIControl class]])\n            {\n                leftRect = barButtonItemView.frame;\n            }\n        }\n        \n        CGFloat titleMargin = 16;\n\n        CGFloat maxWidth = CGRectGetWidth(self.frame) - titleMargin*2 - (CGRectIsNull(leftRect)?0:CGRectGetMaxX(leftRect)) - (CGRectIsNull(rightRect)?0:CGRectGetWidth(self.frame)-CGRectGetMinX(rightRect));\n        CGFloat maxHeight = self.frame.size.height;\n\n        CGSize sizeThatFits = [self.titleBarButton.customView sizeThatFits:CGSizeMake(maxWidth, maxHeight)];\n\n        CGRect titleRect = CGRectZero;\n\n        CGFloat x = titleMargin;\n\n        if (sizeThatFits.width > 0 && sizeThatFits.height > 0)\n        {\n            CGFloat width = MIN(sizeThatFits.width, maxWidth);\n            CGFloat height = MIN(sizeThatFits.height, maxHeight);\n            \n            if (CGRectIsNull(leftRect) == false)\n            {\n                x = titleMargin + CGRectGetMaxX(leftRect) + ((maxWidth - width)/2);\n            }\n            \n            CGFloat y = (maxHeight - height)/2;\n            \n            titleRect = CGRectMake(x, y, width, height);\n        }\n        else\n        {\n            if (CGRectIsNull(leftRect) == false)\n            {\n                x = titleMargin + CGRectGetMaxX(leftRect);\n            }\n            \n            CGFloat width = CGRectGetWidth(self.frame) - titleMargin*2 - (CGRectIsNull(leftRect)?0:CGRectGetMaxX(leftRect)) - (CGRectIsNull(rightRect)?0:CGRectGetWidth(self.frame)-CGRectGetMinX(rightRect));\n            \n            titleRect = CGRectMake(x, 0, width, maxHeight);\n        }\n        \n        self.titleBarButton.customView.frame = titleRect;\n    }\n}\n\n#pragma mark - UIInputViewAudioFeedback delegate\n- (BOOL) enableInputClicksWhenVisible\n{\n\treturn YES;\n}\n\n@end\n"
  },
  {
    "path": "CKMeiTuanShopView/Pods/IQKeyboardManager/IQKeyboardManager/IQToolbar/IQUIView+IQKeyboardToolbar.h",
    "content": "//\n// IQUIView+IQKeyboardToolbar.h\n// https://github.com/hackiftekhar/IQKeyboardManager\n// Copyright (c) 2013-16 Iftekhar Qurashi.\n//\n// Permission is hereby granted, free of charge, to any person obtaining a copy\n// of this software and associated documentation files (the \"Software\"), to deal\n// in the Software without restriction, including without limitation the rights\n// to use, copy, modify, merge, publish, distribute, sublicense, and/or sell\n// copies of the Software, and to permit persons to whom the Software is\n// furnished to do so, subject to the following conditions:\n//\n// The above copyright notice and this permission notice shall be included in\n// all copies or substantial portions of the Software.\n//\n// THE SOFTWARE IS PROVIDED \"AS IS\", WITHOUT WARRANTY OF ANY KIND, EXPRESS OR\n// IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF MERCHANTABILITY,\n// FITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT. IN NO EVENT SHALL THE\n// AUTHORS OR COPYRIGHT HOLDERS BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER\n// LIABILITY, WHETHER IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING FROM,\n// OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN\n// THE SOFTWARE.\n\n#import \"IQToolbar.h\"\n\n#import <UIKit/UIView.h>\n#import <UIKit/UIImage.h>\n\n@interface IQBarButtonItemConfiguration : NSObject\n\n-(instancetype)initWithBarButtonSystemItem:(UIBarButtonSystemItem)barButtonSystemItem action:(nullable SEL)action;\n-(instancetype)initWithImage:(nonnull UIImage*)image action:(nullable SEL)action;\n-(instancetype)initWithTitle:(nonnull NSString*)title action:(nullable SEL)action;\n\n@property (readonly, nonatomic) UIBarButtonSystemItem barButtonSystemItem; //System Item to be used to instantiate bar button\n@property (readonly, nonatomic, nullable) UIImage *image;    //Image to show on bar button item if it's not a system item.\n@property (readonly, nonatomic, nullable) NSString *title; //Title to show on bar button item if it's not a system item.\n@property (readonly, nonatomic, nullable) SEL action;  //action for bar button item. Usually 'doneAction:(IQBarButtonItem*)item'.\n\n@end\n\n@interface UIImage (IQKeyboardToolbarNextPreviousImage)\n\n+(UIImage*)keyboardPreviousiOS9Image;\n+(UIImage*)keyboardNextiOS9Image;\n+(UIImage*)keyboardPreviousiOS10Image;\n+(UIImage*)keyboardNextiOS10Image;\n\n+(UIImage*)keyboardPreviousImage;\n+(UIImage*)keyboardNextImage;\n\n@end\n\n/**\n UIView category methods to add IQToolbar on UIKeyboard.\n */\n@interface UIView (IQToolbarAddition)\n\n///-------------------------\n/// @name Toolbar Title\n///-------------------------\n\n/**\n IQToolbar references for better customization control.\n */\n@property (readonly, nonatomic, nonnull) IQToolbar *keyboardToolbar;\n\n/**\n If `shouldHideToolbarPlaceholder` is YES, then title will not be added to the toolbar. Default to NO.\n */\n@property (assign, nonatomic) BOOL shouldHideToolbarPlaceholder;\n@property (assign, nonatomic) BOOL shouldHidePlaceholderText __attribute__((deprecated(\"This is renamed to `shouldHideToolbarPlaceholder` for more clear naming.\")));\n\n/**\n `toolbarPlaceholder` to override default `placeholder` text when drawing text on toolbar.\n */\n@property (nullable, strong, nonatomic) NSString* toolbarPlaceholder;\n@property (nullable, strong, nonatomic) NSString* placeholderText __attribute__((deprecated(\"This is renamed to `toolbarPlaceholder` for more clear naming.\")));\n\n/**\n `drawingToolbarPlaceholder` will be actual text used to draw on toolbar. This would either `placeholder` or `toolbarPlaceholder`.\n */\n@property (nullable, strong, nonatomic, readonly) NSString* drawingToolbarPlaceholder;\n@property (nullable, strong, nonatomic, readonly) NSString* drawingPlaceholderText __attribute__((deprecated(\"This is renamed to `drawingToolbarPlaceholder` for more clear naming.\")));\n\n///-------------\n/// MARK: Common\n///-------------\n\n- (void)addKeyboardToolbarWithTarget:(nullable id)target titleText:(nullable NSString*)titleText rightBarButtonConfiguration:(nullable IQBarButtonItemConfiguration*)rightBarButtonConfiguration previousBarButtonConfiguration:(nullable IQBarButtonItemConfiguration*)previousBarButtonConfiguration nextBarButtonConfiguration:(nullable IQBarButtonItemConfiguration*)nextBarButtonConfiguration;\n\n///------------\n/// @name Done\n///------------\n\n- (void)addDoneOnKeyboardWithTarget:(nullable id)target action:(nullable SEL)action;\n- (void)addDoneOnKeyboardWithTarget:(nullable id)target action:(nullable SEL)action shouldShowPlaceholder:(BOOL)shouldShowPlaceholder;\n- (void)addDoneOnKeyboardWithTarget:(nullable id)target action:(nullable SEL)action titleText:(nullable NSString*)titleText;\n\n///------------\n/// @name Right\n///------------\n\n- (void)addRightButtonOnKeyboardWithText:(nullable NSString*)text target:(nullable id)target action:(nullable SEL)action;\n- (void)addRightButtonOnKeyboardWithText:(nullable NSString*)text target:(nullable id)target action:(nullable SEL)action shouldShowPlaceholder:(BOOL)shouldShowPlaceholder;\n- (void)addRightButtonOnKeyboardWithText:(nullable NSString*)text target:(nullable id)target action:(nullable SEL)action titleText:(nullable NSString*)titleText;\n\n- (void)addRightButtonOnKeyboardWithImage:(nullable UIImage*)image target:(nullable id)target action:(nullable SEL)action;\n- (void)addRightButtonOnKeyboardWithImage:(nullable UIImage*)image target:(nullable id)target action:(nullable SEL)action shouldShowPlaceholder:(BOOL)shouldShowPlaceholder;\n- (void)addRightButtonOnKeyboardWithImage:(nullable UIImage*)image target:(nullable id)target action:(nullable SEL)action titleText:(nullable NSString*)titleText;\n\n///------------------\n/// @name Cancel/Done\n///------------------\n\n- (void)addCancelDoneOnKeyboardWithTarget:(nullable id)target cancelAction:(nullable SEL)cancelAction doneAction:(nullable SEL)doneAction;\n- (void)addCancelDoneOnKeyboardWithTarget:(nullable id)target cancelAction:(nullable SEL)cancelAction doneAction:(nullable SEL)doneAction shouldShowPlaceholder:(BOOL)shouldShowPlaceholder;\n- (void)addCancelDoneOnKeyboardWithTarget:(nullable id)target cancelAction:(nullable SEL)cancelAction doneAction:(nullable SEL)doneAction titleText:(nullable NSString*)titleText;\n\n///-----------------\n/// @name Right/Left\n///-----------------\n\n- (void)addLeftRightOnKeyboardWithTarget:(nullable id)target leftButtonTitle:(nullable NSString*)leftButtonTitle rightButtonTitle:(nullable NSString*)rightButtonTitle leftButtonAction:(nullable SEL)leftButtonAction rightButtonAction:(nullable SEL)rightButtonAction;\n- (void)addLeftRightOnKeyboardWithTarget:(nullable id)target leftButtonTitle:(nullable NSString*)leftButtonTitle rightButtonTitle:(nullable NSString*)rightButtonTitle leftButtonAction:(nullable SEL)leftButtonAction rightButtonAction:(nullable SEL)rightButtonAction shouldShowPlaceholder:(BOOL)shouldShowPlaceholder;\n- (void)addLeftRightOnKeyboardWithTarget:(nullable id)target leftButtonTitle:(nullable NSString*)leftButtonTitle rightButtonTitle:(nullable NSString*)rightButtonTitle leftButtonAction:(nullable SEL)leftButtonAction rightButtonAction:(nullable SEL)rightButtonAction titleText:(nullable NSString*)titleText;\n\n///-------------------------\n/// @name Previous/Next/Done\n///-------------------------\n\n- (void)addPreviousNextDoneOnKeyboardWithTarget:(nullable id)target previousAction:(nullable SEL)previousAction nextAction:(nullable SEL)nextAction doneAction:(nullable SEL)doneAction;\n- (void)addPreviousNextDoneOnKeyboardWithTarget:(nullable id)target previousAction:(nullable SEL)previousAction nextAction:(nullable SEL)nextAction doneAction:(nullable SEL)doneAction shouldShowPlaceholder:(BOOL)shouldShowPlaceholder;\n- (void)addPreviousNextDoneOnKeyboardWithTarget:(nullable id)target previousAction:(nullable SEL)previousAction nextAction:(nullable SEL)nextAction doneAction:(nullable SEL)doneAction titleText:(nullable NSString*)titleText;\n\n///--------------------------\n/// @name Previous/Next/Right\n///--------------------------\n\n- (void)addPreviousNextRightOnKeyboardWithTarget:(nullable id)target rightButtonTitle:(nullable NSString*)rightButtonTitle previousAction:(nullable SEL)previousAction nextAction:(nullable SEL)nextAction rightButtonAction:(nullable SEL)rightButtonAction;\n- (void)addPreviousNextRightOnKeyboardWithTarget:(nullable id)target rightButtonTitle:(nullable NSString*)rightButtonTitle previousAction:(nullable SEL)previousAction nextAction:(nullable SEL)nextAction rightButtonAction:(nullable SEL)rightButtonAction shouldShowPlaceholder:(BOOL)shouldShowPlaceholder;\n- (void)addPreviousNextRightOnKeyboardWithTarget:(nullable id)target rightButtonTitle:(nullable NSString*)rightButtonTitle previousAction:(nullable SEL)previousAction nextAction:(nullable SEL)nextAction rightButtonAction:(nullable SEL)rightButtonAction titleText:(nullable NSString*)titleText;\n\n- (void)addPreviousNextRightOnKeyboardWithTarget:(nullable id)target rightButtonImage:(nullable UIImage*)rightButtonImage previousAction:(nullable SEL)previousAction nextAction:(nullable SEL)nextAction rightButtonAction:(nullable SEL)rightButtonAction;\n- (void)addPreviousNextRightOnKeyboardWithTarget:(nullable id)target rightButtonImage:(nullable UIImage*)rightButtonImage previousAction:(nullable SEL)previousAction nextAction:(nullable SEL)nextAction rightButtonAction:(nullable SEL)rightButtonAction shouldShowPlaceholder:(BOOL)shouldShowPlaceholder;\n- (void)addPreviousNextRightOnKeyboardWithTarget:(nullable id)target rightButtonImage:(nullable UIImage*)rightButtonImage previousAction:(nullable SEL)previousAction nextAction:(nullable SEL)nextAction rightButtonAction:(nullable SEL)rightButtonAction titleText:(nullable NSString*)titleText;\n\n@end\n\n\n"
  },
  {
    "path": "CKMeiTuanShopView/Pods/IQKeyboardManager/IQKeyboardManager/IQToolbar/IQUIView+IQKeyboardToolbar.m",
    "content": "//\n// IQUIView+IQKeyboardToolbar.m\n// https://github.com/hackiftekhar/IQKeyboardManager\n// Copyright (c) 2013-16 Iftekhar Qurashi.\n//\n// Permission is hereby granted, free of charge, to any person obtaining a copy\n// of this software and associated documentation files (the \"Software\"), to deal\n// in the Software without restriction, including without limitation the rights\n// to use, copy, modify, merge, publish, distribute, sublicense, and/or sell\n// copies of the Software, and to permit persons to whom the Software is\n// furnished to do so, subject to the following conditions:\n//\n// The above copyright notice and this permission notice shall be included in\n// all copies or substantial portions of the Software.\n//\n// THE SOFTWARE IS PROVIDED \"AS IS\", WITHOUT WARRANTY OF ANY KIND, EXPRESS OR\n// IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF MERCHANTABILITY,\n// FITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT. IN NO EVENT SHALL THE\n// AUTHORS OR COPYRIGHT HOLDERS BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER\n// LIABILITY, WHETHER IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING FROM,\n// OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN\n// THE SOFTWARE.\n\n\n#import \"IQUIView+IQKeyboardToolbar.h\"\n#import \"IQKeyboardManagerConstantsInternal.h\"\n#import \"IQKeyboardManager.h\"\n\n#import <objc/runtime.h>\n\n#import <UIKit/UIImage.h>\n#import <UIKit/UILabel.h>\n#import <UIKit/UIAccessibility.h>\n\n@implementation IQBarButtonItemConfiguration\n\n-(instancetype)initWithBarButtonSystemItem:(UIBarButtonSystemItem)barButtonSystemItem action:(SEL)action\n{\n    self = [super init];\n    if (self) {\n        _barButtonSystemItem = barButtonSystemItem;\n        _action = action;\n    }\n    return self;\n}\n\n-(instancetype)initWithImage:(UIImage *)image action:(SEL)action\n{\n    self = [super init];\n    if (self) {\n        _image = image;\n        _action = action;\n    }\n    return self;\n}\n\n-(instancetype)initWithTitle:(NSString *)title action:(SEL)action\n{\n    self = [super init];\n    if (self) {\n        _title = title;\n        _action = action;\n    }\n    return self;\n}\n\n@end\n\n@implementation UIImage (IQKeyboardToolbarNextPreviousImage)\n\n+(UIImage*)keyboardPreviousiOS9Image\n{\n    static UIImage *keyboardPreviousiOS9Image = nil;\n    \n    if (keyboardPreviousiOS9Image == nil)\n    {\n        // Get the top level \"bundle\" which may actually be the framework\n        NSBundle *mainBundle = [NSBundle bundleForClass:[IQKeyboardManager class]];\n        \n        // Check to see if the resource bundle exists inside the top level bundle\n        NSBundle *resourcesBundle = [NSBundle bundleWithPath:[mainBundle pathForResource:@\"IQKeyboardManager\" ofType:@\"bundle\"]];\n        \n        if (resourcesBundle == nil) {\n            resourcesBundle = mainBundle;\n        }\n        \n        keyboardPreviousiOS9Image = [UIImage imageNamed:@\"IQButtonBarArrowLeft\" inBundle:resourcesBundle compatibleWithTraitCollection:nil];;\n        \n        //Support for RTL languages like Arabic, Persia etc... (Bug ID: #448)\n#ifdef __IPHONE_11_0\n        if (@available(iOS 9.0, *)) {\n#endif\n            if ([UIImage instancesRespondToSelector:@selector(imageFlippedForRightToLeftLayoutDirection)])\n            {\n                keyboardPreviousiOS9Image = [keyboardPreviousiOS9Image imageFlippedForRightToLeftLayoutDirection];\n            }\n#ifdef __IPHONE_11_0\n        }\n#endif\n    }\n    \n    return keyboardPreviousiOS9Image;\n}\n\n+(UIImage*)keyboardNextiOS9Image\n{\n    static UIImage *keyboardNextiOS9Image = nil;\n    \n    if (keyboardNextiOS9Image == nil)\n    {\n        // Get the top level \"bundle\" which may actually be the framework\n        NSBundle *mainBundle = [NSBundle bundleForClass:[IQKeyboardManager class]];\n        \n        // Check to see if the resource bundle exists inside the top level bundle\n        NSBundle *resourcesBundle = [NSBundle bundleWithPath:[mainBundle pathForResource:@\"IQKeyboardManager\" ofType:@\"bundle\"]];\n        \n        if (resourcesBundle == nil) {\n            resourcesBundle = mainBundle;\n        }\n        \n        keyboardNextiOS9Image = [UIImage imageNamed:@\"IQButtonBarArrowRight\" inBundle:resourcesBundle compatibleWithTraitCollection:nil];\n        \n        //Support for RTL languages like Arabic, Persia etc... (Bug ID: #448)\n#ifdef __IPHONE_11_0\n        if (@available(iOS 9.0, *)) {\n#endif\n            if ([UIImage instancesRespondToSelector:@selector(imageFlippedForRightToLeftLayoutDirection)])\n            {\n                keyboardNextiOS9Image = [keyboardNextiOS9Image imageFlippedForRightToLeftLayoutDirection];\n            }\n#ifdef __IPHONE_11_0\n        }\n#endif\n    }\n    \n    return keyboardNextiOS9Image;\n}\n\n+(UIImage*)keyboardPreviousiOS10Image\n{\n    static UIImage *keyboardPreviousiOS10Image = nil;\n    \n    if (keyboardPreviousiOS10Image == nil)\n    {\n        // Get the top level \"bundle\" which may actually be the framework\n        NSBundle *mainBundle = [NSBundle bundleForClass:[IQKeyboardManager class]];\n        \n        // Check to see if the resource bundle exists inside the top level bundle\n        NSBundle *resourcesBundle = [NSBundle bundleWithPath:[mainBundle pathForResource:@\"IQKeyboardManager\" ofType:@\"bundle\"]];\n        \n        if (resourcesBundle == nil) {\n            resourcesBundle = mainBundle;\n        }\n        \n        keyboardPreviousiOS10Image = [UIImage imageNamed:@\"IQButtonBarArrowUp\" inBundle:resourcesBundle compatibleWithTraitCollection:nil];\n        \n        //Support for RTL languages like Arabic, Persia etc... (Bug ID: #448)\n#ifdef __IPHONE_11_0\n        if (@available(iOS 9.0, *)) {\n#endif\n            if ([UIImage instancesRespondToSelector:@selector(imageFlippedForRightToLeftLayoutDirection)])\n            {\n                keyboardPreviousiOS10Image = [keyboardPreviousiOS10Image imageFlippedForRightToLeftLayoutDirection];\n            }\n#ifdef __IPHONE_11_0\n        }\n#endif\n    }\n    \n    return keyboardPreviousiOS10Image;\n}\n\n+(UIImage*)keyboardNextiOS10Image\n{\n    static UIImage *keyboardNextiOS10Image = nil;\n    \n    if (keyboardNextiOS10Image == nil)\n    {\n        // Get the top level \"bundle\" which may actually be the framework\n        NSBundle *mainBundle = [NSBundle bundleForClass:[IQKeyboardManager class]];\n        \n        // Check to see if the resource bundle exists inside the top level bundle\n        NSBundle *resourcesBundle = [NSBundle bundleWithPath:[mainBundle pathForResource:@\"IQKeyboardManager\" ofType:@\"bundle\"]];\n        \n        if (resourcesBundle == nil) {\n            resourcesBundle = mainBundle;\n        }\n        \n        keyboardNextiOS10Image = [UIImage imageNamed:@\"IQButtonBarArrowDown\" inBundle:resourcesBundle compatibleWithTraitCollection:nil];\n        \n        //Support for RTL languages like Arabic, Persia etc... (Bug ID: #448)\n#ifdef __IPHONE_11_0\n        if (@available(iOS 9.0, *)) {\n#endif\n            if ([UIImage instancesRespondToSelector:@selector(imageFlippedForRightToLeftLayoutDirection)])\n            {\n                keyboardNextiOS10Image = [keyboardNextiOS10Image imageFlippedForRightToLeftLayoutDirection];\n            }\n#ifdef __IPHONE_11_0\n        }\n#endif\n    }\n    \n    return keyboardNextiOS10Image;\n}\n\n+(UIImage*)keyboardPreviousImage\n{\n#ifdef __IPHONE_11_0\n    if (@available(iOS 10.0, *))\n#else\n    if (IQ_IS_IOS10_OR_GREATER)\n#endif\n    {\n        return [UIImage keyboardPreviousiOS10Image];\n    }\n    else\n    {\n        return [UIImage keyboardPreviousiOS9Image];\n    }\n}\n\n+(UIImage*)keyboardNextImage\n{\n#ifdef __IPHONE_11_0\n    if (@available(iOS 10.0, *))\n#else\n    if (IQ_IS_IOS10_OR_GREATER)\n#endif\n    {\n        return [UIImage keyboardNextiOS9Image];\n    }\n    else\n    {\n        return [UIImage keyboardPreviousiOS9Image];\n    }\n}\n\n@end\n\n\n/*UIKeyboardToolbar Category implementation*/\n@implementation UIView (IQToolbarAddition)\n\n-(IQToolbar *)keyboardToolbar\n{\n    IQToolbar *keyboardToolbar = nil;\n    if ([[self inputAccessoryView] isKindOfClass:[IQToolbar class]])\n    {\n        keyboardToolbar = [self inputAccessoryView];\n    }\n    else\n    {\n        keyboardToolbar = objc_getAssociatedObject(self, @selector(keyboardToolbar));\n        \n        if (keyboardToolbar == nil)\n        {\n            keyboardToolbar = [[IQToolbar alloc] init];\n            \n            objc_setAssociatedObject(self, @selector(keyboardToolbar), keyboardToolbar, OBJC_ASSOCIATION_RETAIN_NONATOMIC);\n        }\n    }\n    \n    return keyboardToolbar;\n}\n\n-(void)setShouldHideToolbarPlaceholder:(BOOL)shouldHideToolbarPlaceholder\n{\n    objc_setAssociatedObject(self, @selector(shouldHideToolbarPlaceholder), @(shouldHideToolbarPlaceholder), OBJC_ASSOCIATION_RETAIN_NONATOMIC);\n\n    self.keyboardToolbar.titleBarButton.title = self.drawingToolbarPlaceholder;\n}\n\n-(BOOL)shouldHideToolbarPlaceholder\n{\n    NSNumber *shouldHideToolbarPlaceholder = objc_getAssociatedObject(self, @selector(shouldHideToolbarPlaceholder));\n    return [shouldHideToolbarPlaceholder boolValue];\n}\n\n-(void)setShouldHidePlaceholderText:(BOOL)shouldHidePlaceholderText\n{\n    [self setShouldHideToolbarPlaceholder:shouldHidePlaceholderText];\n}\n\n-(BOOL)shouldHidePlaceholderText\n{\n    return [self shouldHideToolbarPlaceholder];\n}\n\n-(void)setToolbarPlaceholder:(NSString *)toolbarPlaceholder\n{\n    objc_setAssociatedObject(self, @selector(toolbarPlaceholder), toolbarPlaceholder, OBJC_ASSOCIATION_RETAIN_NONATOMIC);\n\n    self.keyboardToolbar.titleBarButton.title = self.drawingToolbarPlaceholder;\n}\n\n-(NSString *)toolbarPlaceholder\n{\n    NSString *toolbarPlaceholder = objc_getAssociatedObject(self, @selector(toolbarPlaceholder));\n    return toolbarPlaceholder;\n}\n\n-(void)setPlaceholderText:(NSString*)placeholderText\n{\n    [self setToolbarPlaceholder:placeholderText];\n}\n\n-(NSString*)placeholderText\n{\n    return [self toolbarPlaceholder];\n}\n\n-(NSString *)drawingToolbarPlaceholder\n{\n    if (self.shouldHideToolbarPlaceholder)\n    {\n        return nil;\n    }\n    else if (self.toolbarPlaceholder.length != 0)\n    {\n        return self.toolbarPlaceholder;\n    }\n    else if ([self respondsToSelector:@selector(placeholder)])\n    {\n        return [(UITextField*)self placeholder];\n    }\n    else\n    {\n        return nil;\n    }\n}\n\n-(NSString*)drawingPlaceholderText\n{\n    return [self drawingToolbarPlaceholder];\n}\n\n#pragma mark - Private helper\n\n+(IQBarButtonItem*)flexibleBarButtonItem\n{\n    static IQBarButtonItem *nilButton = nil;\n    \n    if (nilButton == nil)\n    {\n        nilButton = [[IQBarButtonItem alloc] initWithBarButtonSystemItem:UIBarButtonSystemItemFlexibleSpace target:nil action:nil];\n    }\n    \n    return nilButton;\n}\n\n#pragma mark - Common\n\n- (void)addKeyboardToolbarWithTarget:(id)target titleText:(NSString*)titleText rightBarButtonConfiguration:(IQBarButtonItemConfiguration*)rightBarButtonConfiguration previousBarButtonConfiguration:(IQBarButtonItemConfiguration*)previousBarButtonConfiguration nextBarButtonConfiguration:(IQBarButtonItemConfiguration*)nextBarButtonConfiguration\n{\n    //If can't set InputAccessoryView. Then return\n    if (![self respondsToSelector:@selector(setInputAccessoryView:)])    return;\n    \n    //  Creating a toolBar for phoneNumber keyboard\n    IQToolbar *toolbar = self.keyboardToolbar;\n    \n    NSMutableArray<UIBarButtonItem*> *items = [[NSMutableArray alloc] init];\n    \n    if(previousBarButtonConfiguration)\n    {\n        IQBarButtonItem *prev = toolbar.previousBarButton;\n        \n        if (prev.isSystemItem == NO && (previousBarButtonConfiguration.image || previousBarButtonConfiguration.title))\n        {\n            prev.title = previousBarButtonConfiguration.title;\n            prev.image = previousBarButtonConfiguration.image;\n            prev.target = target;\n            prev.action = previousBarButtonConfiguration.action;\n        }\n        else if (previousBarButtonConfiguration.image)\n        {\n            prev = [[IQBarButtonItem alloc] initWithImage:previousBarButtonConfiguration.image style:UIBarButtonItemStylePlain target:target action:previousBarButtonConfiguration.action];\n            prev.invocation = toolbar.previousBarButton.invocation;\n            prev.accessibilityLabel = toolbar.previousBarButton.accessibilityLabel;\n            toolbar.previousBarButton = prev;\n        }\n        else if (previousBarButtonConfiguration.title)\n        {\n            prev = [[IQBarButtonItem alloc] initWithTitle:previousBarButtonConfiguration.title style:UIBarButtonItemStylePlain target:target action:previousBarButtonConfiguration.action];\n            prev.invocation = toolbar.previousBarButton.invocation;\n            prev.accessibilityLabel = toolbar.previousBarButton.accessibilityLabel;\n            toolbar.previousBarButton = prev;\n        }\n        else\n        {\n            prev = [[IQBarButtonItem alloc] initWithBarButtonSystemItem:previousBarButtonConfiguration.barButtonSystemItem target:target action:previousBarButtonConfiguration.action];\n            prev.invocation = toolbar.previousBarButton.invocation;\n            prev.accessibilityLabel = toolbar.previousBarButton.accessibilityLabel;\n            toolbar.previousBarButton = prev;\n        }\n        \n        [items addObject:prev];\n    }\n    \n    if (previousBarButtonConfiguration != nil && nextBarButtonConfiguration != nil)\n    {\n        [items addObject:toolbar.fixedSpaceBarButton];\n    }\n\n    if(nextBarButtonConfiguration)\n    {\n        IQBarButtonItem *next = toolbar.nextBarButton;\n        \n        if (next.isSystemItem == NO && (nextBarButtonConfiguration.image || nextBarButtonConfiguration.title))\n        {\n            next.title = nextBarButtonConfiguration.title;\n            next.image = nextBarButtonConfiguration.image;\n            next.target = target;\n            next.action = nextBarButtonConfiguration.action;\n        }\n        else if (nextBarButtonConfiguration.image)\n        {\n            next = [[IQBarButtonItem alloc] initWithImage:nextBarButtonConfiguration.image style:UIBarButtonItemStylePlain target:target action:nextBarButtonConfiguration.action];\n            next.invocation = toolbar.nextBarButton.invocation;\n            next.accessibilityLabel = toolbar.nextBarButton.accessibilityLabel;\n            toolbar.nextBarButton = next;\n        }\n        else if (nextBarButtonConfiguration.title)\n        {\n            next = [[IQBarButtonItem alloc] initWithTitle:nextBarButtonConfiguration.title style:UIBarButtonItemStylePlain target:target action:nextBarButtonConfiguration.action];\n            next.invocation = toolbar.nextBarButton.invocation;\n            next.accessibilityLabel = toolbar.nextBarButton.accessibilityLabel;\n            toolbar.nextBarButton = next;\n        }\n        else\n        {\n            next = [[IQBarButtonItem alloc] initWithBarButtonSystemItem:nextBarButtonConfiguration.barButtonSystemItem target:target action:nextBarButtonConfiguration.action];\n            next.invocation = toolbar.nextBarButton.invocation;\n            next.accessibilityLabel = toolbar.nextBarButton.accessibilityLabel;\n            toolbar.nextBarButton = next;\n        }\n        \n        [items addObject:next];\n    }\n    \n    //Title\n    {\n        //Flexible space\n        [items addObject:[[self class] flexibleBarButtonItem]];\n        \n        //Title button\n        toolbar.titleBarButton.title = titleText;\n#ifdef __IPHONE_11_0\n        if (@available(iOS 11.0, *)) {}\n        else\n#endif\n        {\n            toolbar.titleBarButton.customView.frame = CGRectZero;\n        }\n        [items addObject:toolbar.titleBarButton];\n        \n        //Flexible space\n        [items addObject:[[self class] flexibleBarButtonItem]];\n    }\n    \n    if(rightBarButtonConfiguration)\n    {\n        IQBarButtonItem *done = toolbar.doneBarButton;\n        \n        if (done.isSystemItem == NO && (rightBarButtonConfiguration.image || rightBarButtonConfiguration.title))\n        {\n            done.title = rightBarButtonConfiguration.title;\n            done.image = rightBarButtonConfiguration.image;\n            done.target = target;\n            done.action = rightBarButtonConfiguration.action;\n        }\n        else if (rightBarButtonConfiguration.image)\n        {\n            done = [[IQBarButtonItem alloc] initWithImage:rightBarButtonConfiguration.image style:UIBarButtonItemStylePlain target:target action:rightBarButtonConfiguration.action];\n            done.invocation = toolbar.doneBarButton.invocation;\n            done.accessibilityLabel = toolbar.doneBarButton.accessibilityLabel;\n            toolbar.doneBarButton = done;\n        }\n        else if (rightBarButtonConfiguration.title)\n        {\n            done = [[IQBarButtonItem alloc] initWithTitle:rightBarButtonConfiguration.title style:UIBarButtonItemStylePlain target:target action:rightBarButtonConfiguration.action];\n            done.invocation = toolbar.doneBarButton.invocation;\n            done.accessibilityLabel = toolbar.doneBarButton.accessibilityLabel;\n            toolbar.doneBarButton = done;\n        }\n        else\n        {\n            done = [[IQBarButtonItem alloc] initWithBarButtonSystemItem:rightBarButtonConfiguration.barButtonSystemItem target:target action:rightBarButtonConfiguration.action];\n            done.invocation = toolbar.doneBarButton.invocation;\n            done.accessibilityLabel = toolbar.doneBarButton.accessibilityLabel;\n            toolbar.doneBarButton = done;\n        }\n        \n        [items addObject:done];\n    }\n\n    //  Adding button to toolBar.\n    [toolbar setItems:items];\n    \n    //  Setting toolbar to keyboard.\n    [(UITextField*)self setInputAccessoryView:toolbar];\n\n    \n    if ([self respondsToSelector:@selector(keyboardAppearance)])\n    {\n        switch ([(UITextField*)self keyboardAppearance])\n        {\n            case UIKeyboardAppearanceDark:  toolbar.barStyle = UIBarStyleBlack;     break;\n            default:                        toolbar.barStyle = UIBarStyleDefault;   break;\n        }\n    }\n}\n\n#pragma mark - Right\n\n- (void)addRightButtonOnKeyboardWithText:(NSString*)text target:(id)target action:(SEL)action\n{\n    [self addRightButtonOnKeyboardWithText:text target:target action:action titleText:nil];\n}\n\n- (void)addRightButtonOnKeyboardWithText:(NSString*)text target:(id)target action:(SEL)action shouldShowPlaceholder:(BOOL)shouldShowPlaceholder\n{\n    [self addRightButtonOnKeyboardWithText:text target:target action:action titleText:(shouldShowPlaceholder?[self drawingToolbarPlaceholder]:nil)];\n}\n\n- (void)addRightButtonOnKeyboardWithText:(NSString*)text target:(id)target action:(SEL)action titleText:(NSString*)titleText\n{\n    IQBarButtonItemConfiguration *rightConfiguration = [[IQBarButtonItemConfiguration alloc] initWithTitle:text action:action];\n    \n    [self addKeyboardToolbarWithTarget:target titleText:titleText rightBarButtonConfiguration:rightConfiguration previousBarButtonConfiguration:nil nextBarButtonConfiguration:nil];\n}\n\n\n- (void)addRightButtonOnKeyboardWithImage:(UIImage*)image target:(id)target action:(SEL)action\n{\n    [self addRightButtonOnKeyboardWithImage:image target:target action:action titleText:nil];\n}\n\n- (void)addRightButtonOnKeyboardWithImage:(UIImage*)image target:(id)target action:(SEL)action shouldShowPlaceholder:(BOOL)shouldShowPlaceholder\n{\n    [self addRightButtonOnKeyboardWithImage:image target:target action:action titleText:(shouldShowPlaceholder?[self drawingToolbarPlaceholder]:nil)];\n}\n\n- (void)addRightButtonOnKeyboardWithImage:(UIImage*)image target:(id)target action:(SEL)action titleText:(NSString*)titleText\n{\n    IQBarButtonItemConfiguration *rightConfiguration = [[IQBarButtonItemConfiguration alloc] initWithImage:image action:action];\n    \n    [self addKeyboardToolbarWithTarget:target titleText:titleText rightBarButtonConfiguration:rightConfiguration previousBarButtonConfiguration:nil nextBarButtonConfiguration:nil];\n}\n\n\n-(void)addDoneOnKeyboardWithTarget:(id)target action:(SEL)action\n{\n    [self addDoneOnKeyboardWithTarget:target action:action titleText:nil];\n}\n\n-(void)addDoneOnKeyboardWithTarget:(id)target action:(SEL)action shouldShowPlaceholder:(BOOL)shouldShowPlaceholder\n{\n    [self addDoneOnKeyboardWithTarget:target action:action titleText:(shouldShowPlaceholder?[self drawingToolbarPlaceholder]:nil)];\n}\n\n- (void)addDoneOnKeyboardWithTarget:(id)target action:(SEL)action titleText:(NSString*)titleText\n{\n    IQBarButtonItemConfiguration *rightConfiguration = [[IQBarButtonItemConfiguration alloc] initWithBarButtonSystemItem:UIBarButtonSystemItemDone action:action];\n    \n    [self addKeyboardToolbarWithTarget:target titleText:titleText rightBarButtonConfiguration:rightConfiguration previousBarButtonConfiguration:nil nextBarButtonConfiguration:nil];\n}\n\n\n- (void)addLeftRightOnKeyboardWithTarget:(id)target leftButtonTitle:(NSString*)leftTitle rightButtonTitle:(NSString*)rightTitle leftButtonAction:(SEL)leftAction rightButtonAction:(SEL)rightAction\n{\n    [self addLeftRightOnKeyboardWithTarget:target leftButtonTitle:leftTitle rightButtonTitle:rightTitle leftButtonAction:leftAction rightButtonAction:rightAction titleText:nil];\n}\n\n- (void)addLeftRightOnKeyboardWithTarget:(id)target leftButtonTitle:(NSString*)leftTitle rightButtonTitle:(NSString*)rightTitle leftButtonAction:(SEL)leftAction rightButtonAction:(SEL)rightAction shouldShowPlaceholder:(BOOL)shouldShowPlaceholder\n{\n    [self addLeftRightOnKeyboardWithTarget:target leftButtonTitle:leftTitle rightButtonTitle:rightTitle leftButtonAction:leftAction rightButtonAction:rightAction titleText:(shouldShowPlaceholder?[self drawingToolbarPlaceholder]:nil)];\n}\n\n- (void)addLeftRightOnKeyboardWithTarget:(id)target leftButtonTitle:(NSString*)leftTitle rightButtonTitle:(NSString*)rightTitle leftButtonAction:(SEL)leftAction rightButtonAction:(SEL)rightAction titleText:(NSString*)titleText\n{\n    IQBarButtonItemConfiguration *leftConfiguration = [[IQBarButtonItemConfiguration alloc] initWithTitle:leftTitle action:leftAction];\n    \n    IQBarButtonItemConfiguration *rightConfiguration = [[IQBarButtonItemConfiguration alloc] initWithTitle:rightTitle action:rightAction];\n\n    [self addKeyboardToolbarWithTarget:target titleText:titleText rightBarButtonConfiguration:rightConfiguration previousBarButtonConfiguration:leftConfiguration nextBarButtonConfiguration:nil];\n}\n\n\n-(void)addCancelDoneOnKeyboardWithTarget:(id)target cancelAction:(SEL)cancelAction doneAction:(SEL)doneAction\n{\n    [self addCancelDoneOnKeyboardWithTarget:target cancelAction:cancelAction doneAction:doneAction titleText:nil];\n}\n\n-(void)addCancelDoneOnKeyboardWithTarget:(id)target cancelAction:(SEL)cancelAction doneAction:(SEL)doneAction shouldShowPlaceholder:(BOOL)shouldShowPlaceholder\n{\n    [self addCancelDoneOnKeyboardWithTarget:target cancelAction:cancelAction doneAction:doneAction titleText:(shouldShowPlaceholder?[self drawingToolbarPlaceholder]:nil)];\n}\n\n- (void)addCancelDoneOnKeyboardWithTarget:(id)target cancelAction:(SEL)cancelAction doneAction:(SEL)doneAction titleText:(NSString*)titleText\n{\n    IQBarButtonItemConfiguration *leftConfiguration = [[IQBarButtonItemConfiguration alloc] initWithBarButtonSystemItem:UIBarButtonSystemItemCancel action:cancelAction];\n    \n    IQBarButtonItemConfiguration *rightConfiguration = [[IQBarButtonItemConfiguration alloc] initWithBarButtonSystemItem:UIBarButtonSystemItemDone action:doneAction];\n    \n    [self addKeyboardToolbarWithTarget:target titleText:titleText rightBarButtonConfiguration:rightConfiguration previousBarButtonConfiguration:leftConfiguration nextBarButtonConfiguration:nil];\n}\n\n\n-(void)addPreviousNextDoneOnKeyboardWithTarget:(id)target previousAction:(SEL)previousAction nextAction:(SEL)nextAction doneAction:(SEL)doneAction\n{\n    [self addPreviousNextDoneOnKeyboardWithTarget:target previousAction:previousAction nextAction:nextAction doneAction:doneAction titleText:nil];\n}\n\n-(void)addPreviousNextDoneOnKeyboardWithTarget:(id)target previousAction:(SEL)previousAction nextAction:(SEL)nextAction doneAction:(SEL)doneAction shouldShowPlaceholder:(BOOL)shouldShowPlaceholder\n{\n    [self addPreviousNextDoneOnKeyboardWithTarget:target previousAction:previousAction nextAction:nextAction doneAction:doneAction titleText:(shouldShowPlaceholder?[self drawingToolbarPlaceholder]:nil)];\n}\n\n- (void)addPreviousNextDoneOnKeyboardWithTarget:(id)target previousAction:(SEL)previousAction nextAction:(SEL)nextAction doneAction:(SEL)doneAction titleText:(NSString*)titleText\n{\n    IQBarButtonItemConfiguration *previousConfiguration = [[IQBarButtonItemConfiguration alloc] initWithImage:[UIImage keyboardPreviousImage] action:previousAction];\n    \n    IQBarButtonItemConfiguration *nextConfiguration = [[IQBarButtonItemConfiguration alloc] initWithImage:[UIImage keyboardNextImage] action:nextAction];\n    \n    IQBarButtonItemConfiguration *rightConfiguration = [[IQBarButtonItemConfiguration alloc] initWithBarButtonSystemItem:UIBarButtonSystemItemDone action:doneAction];\n    \n    [self addKeyboardToolbarWithTarget:target titleText:titleText rightBarButtonConfiguration:rightConfiguration previousBarButtonConfiguration:previousConfiguration nextBarButtonConfiguration:nextConfiguration];\n}\n\n\n- (void)addPreviousNextRightOnKeyboardWithTarget:(nullable id)target rightButtonImage:(nullable UIImage*)rightButtonImage previousAction:(nullable SEL)previousAction nextAction:(nullable SEL)nextAction rightButtonAction:(nullable SEL)rightButtonAction\n{\n    [self addPreviousNextRightOnKeyboardWithTarget:target rightButtonImage:rightButtonImage previousAction:previousAction nextAction:nextAction rightButtonAction:rightButtonAction titleText:nil];\n}\n\n- (void)addPreviousNextRightOnKeyboardWithTarget:(nullable id)target rightButtonImage:(nullable UIImage*)rightButtonImage previousAction:(nullable SEL)previousAction nextAction:(nullable SEL)nextAction rightButtonAction:(nullable SEL)rightButtonAction shouldShowPlaceholder:(BOOL)shouldShowPlaceholder\n{\n    [self addPreviousNextRightOnKeyboardWithTarget:target rightButtonImage:rightButtonImage previousAction:previousAction nextAction:nextAction rightButtonAction:rightButtonAction titleText:(shouldShowPlaceholder?[self drawingToolbarPlaceholder]:nil)];\n}\n\n- (void)addPreviousNextRightOnKeyboardWithTarget:(id)target rightButtonImage:(UIImage*)rightButtonImage previousAction:(SEL)previousAction nextAction:(SEL)nextAction rightButtonAction:(SEL)rightButtonAction titleText:(NSString*)titleText\n{\n    IQBarButtonItemConfiguration *previousConfiguration = [[IQBarButtonItemConfiguration alloc] initWithImage:[UIImage keyboardPreviousImage] action:previousAction];\n    \n    IQBarButtonItemConfiguration *nextConfiguration = [[IQBarButtonItemConfiguration alloc] initWithImage:[UIImage keyboardNextImage] action:nextAction];\n    \n    IQBarButtonItemConfiguration *rightConfiguration = [[IQBarButtonItemConfiguration alloc] initWithImage:rightButtonImage action:rightButtonAction];\n    \n    [self addKeyboardToolbarWithTarget:target titleText:titleText rightBarButtonConfiguration:rightConfiguration previousBarButtonConfiguration:previousConfiguration nextBarButtonConfiguration:nextConfiguration];\n}\n\n\n- (void)addPreviousNextRightOnKeyboardWithTarget:(id)target rightButtonTitle:(NSString*)rightButtonTitle previousAction:(SEL)previousAction nextAction:(SEL)nextAction rightButtonAction:(SEL)rightButtonAction\n{\n    [self addPreviousNextRightOnKeyboardWithTarget:target rightButtonTitle:rightButtonTitle previousAction:previousAction nextAction:nextAction rightButtonAction:rightButtonAction titleText:nil];\n}\n\n- (void)addPreviousNextRightOnKeyboardWithTarget:(id)target rightButtonTitle:(NSString*)rightButtonTitle previousAction:(SEL)previousAction nextAction:(SEL)nextAction rightButtonAction:(SEL)rightButtonAction shouldShowPlaceholder:(BOOL)shouldShowPlaceholder\n{\n    [self addPreviousNextRightOnKeyboardWithTarget:target rightButtonTitle:rightButtonTitle previousAction:previousAction nextAction:nextAction rightButtonAction:rightButtonAction titleText:(shouldShowPlaceholder?[self drawingToolbarPlaceholder]:nil)];\n}\n\n- (void)addPreviousNextRightOnKeyboardWithTarget:(id)target rightButtonTitle:(NSString*)rightButtonTitle previousAction:(SEL)previousAction nextAction:(SEL)nextAction rightButtonAction:(SEL)rightButtonAction titleText:(NSString*)titleText\n{\n    IQBarButtonItemConfiguration *previousConfiguration = [[IQBarButtonItemConfiguration alloc] initWithImage:[UIImage keyboardPreviousImage] action:previousAction];\n    \n    IQBarButtonItemConfiguration *nextConfiguration = [[IQBarButtonItemConfiguration alloc] initWithImage:[UIImage keyboardNextImage] action:nextAction];\n    \n    IQBarButtonItemConfiguration *rightConfiguration = [[IQBarButtonItemConfiguration alloc] initWithTitle:rightButtonTitle action:rightButtonAction];\n    \n    [self addKeyboardToolbarWithTarget:target titleText:titleText rightBarButtonConfiguration:rightConfiguration previousBarButtonConfiguration:previousConfiguration nextBarButtonConfiguration:nextConfiguration];\n}\n\n\n@end\n"
  },
  {
    "path": "CKMeiTuanShopView/Pods/IQKeyboardManager/LICENSE.md",
    "content": "MIT License\n\nCopyright (c) 2013-2017 Iftekhar Qurashi\n\nPermission is hereby granted, free of charge, to any person obtaining a copy\nof this software and associated documentation files (the \"Software\"), to deal\nin the Software without restriction, including without limitation the rights\nto use, copy, modify, merge, publish, distribute, sublicense, and/or sell\ncopies of the Software, and to permit persons to whom the Software is\nfurnished to do so, subject to the following conditions:\n\nThe above copyright notice and this permission notice shall be included in all\ncopies or substantial portions of the Software.\n\nTHE SOFTWARE IS PROVIDED \"AS IS\", WITHOUT WARRANTY OF ANY KIND, EXPRESS OR\nIMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF MERCHANTABILITY,\nFITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT. IN NO EVENT SHALL THE\nAUTHORS OR COPYRIGHT HOLDERS BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER\nLIABILITY, WHETHER IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING FROM,\nOUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN THE\nSOFTWARE.\n"
  },
  {
    "path": "CKMeiTuanShopView/Pods/IQKeyboardManager/README.md",
    "content": "<p align=\"center\">\n  <img src=\"https://raw.githubusercontent.com/hackiftekhar/IQKeyboardManager/master/Demo/Resources/icon.png\" alt=\"Icon\"/>\n</p>\n<H1 align=\"center\">IQKeyboardManager</H1>\n<p align=\"center\">\n  <img src=\"https://img.shields.io/github/license/hackiftekhar/IQKeyboardManager.svg\"\n  alt=\"GitHub license\"/>\n\n\n[![Build Status](https://travis-ci.org/hackiftekhar/IQKeyboardManager.svg)](https://travis-ci.org/hackiftekhar/IQKeyboardManager)\n\n\nOften while developing an app, We ran into an issues where the iPhone keyboard slide up and cover the `UITextField/UITextView`. `IQKeyboardManager` allows you to prevent issues of the keyboard sliding up and cover `UITextField/UITextView` without needing you to enter any code and no additional setup required. To use `IQKeyboardManager` you simply need to add source files to your project.\n\n\n#### Key Features\n\n1) `**CODELESS**, Zero Lines Of Code`\n\n2) `Works Automatically`\n\n3) `No More UIScrollView`\n\n4) `No More Subclasses`\n\n5) `No More Manual Work`\n\n6) `No More #imports`\n\n`IQKeyboardManager` works on all orientations, and with the toolbar. There are also nice optional features allowing you to customize the distance from the text field, add the next/previous done button as a keyboard UIToolbar, play sounds when the user navigations through the form and more.\n\n\n## Screenshot\n[![IQKeyboardManager](https://raw.githubusercontent.com/hackiftekhar/IQKeyboardManager/v3.3.0/Screenshot/IQKeyboardManagerScreenshot.png)](http://youtu.be/6nhLw6hju2A)\n[![Settings](https://raw.githubusercontent.com/hackiftekhar/IQKeyboardManager/v3.3.0/Screenshot/IQKeyboardManagerSettings.png)](http://youtu.be/6nhLw6hju2A)\n\n## GIF animation\n[![IQKeyboardManager](https://raw.githubusercontent.com/hackiftekhar/IQKeyboardManager/v3.3.0/Screenshot/IQKeyboardManager.gif)](http://youtu.be/6nhLw6hju2A)\n\n## Video\n\n<a href=\"http://youtu.be/WAYc2Qj-OQg\" target=\"_blank\"><img src=\"http://img.youtube.com/vi/WAYc2Qj-OQg/0.jpg\"\nalt=\"IQKeyboardManager Demo Video\" width=\"480\" height=\"360\" border=\"10\" /></a>\n\n## Tutorial video by @rebeloper ([#1135](https://github.com/hackiftekhar/IQKeyboardManager/issues/1135))\n\n@rebeloper demonstrated two videos on how to implement **IQKeyboardManager** at it's core:\n\n<a href=\"https://www.youtube.com/playlist?list=PL_csAAO9PQ8aTL87XnueOXi3RpWE2m_8v\" target=\"_blank\"><img src=\"https://raw.githubusercontent.com/hackiftekhar/IQKeyboardManager/master/Screenshot/ThirdPartyYoutubeTutorial.jpg\"\nalt=\"Youtube Tutorial Playlist\"/></a>\n\nhttps://www.youtube.com/playlist?list=PL_csAAO9PQ8aTL87XnueOXi3RpWE2m_8v\n\n## Warning\n\n- **If you're planning to build SDK/library/framework and wants to handle UITextField/UITextView with IQKeyboardManager then you're totally going on wrong way.** I would never suggest to add **IQKeyboardManager** as **dependency/adding/shipping** with any third-party library, instead of adding **IQKeyboardManager** you should implement your own solution to achieve same kind of results. **IQKeyboardManager** is totally designed for projects to help developers for their convenience, it's not designed for **adding/dependency/shipping** with any **third-party library**, because **doing this could block adoption by other developers for their projects as well(who are not using IQKeyboardManager and implemented their custom solution to handle UITextField/UITextView thought the project).**\n- If **IQKeyboardManager** conflicts with other **third-party library**, then it's **developer responsibility** to **enable/disable IQKeyboardManager** when **presenting/dismissing** third-party library UI. Third-party libraries are not responsible to handle IQKeyboardManager.\n\n## Requirements\n[![Platform iOS](https://img.shields.io/badge/Platform-iOS-blue.svg?style=fla)]()\n\n|                        | Language | Minimum iOS Target | Minimum Xcode Version |\n|------------------------|----------|--------------------|-----------------------|\n| IQKeyboardManager      | Obj-C    | iOS 8.0            | Xcode 8.2.1           |\n| IQKeyboardManagerSwift | Swift    | iOS 8.0            | Xcode 8.2.1           |\n| Demo Project           |          |                    | Xcode 9.3             |\n\n**Note**\n- 3.3.7 is the last iOS 7 supported version.\n\n#### Swift versions support\n\n| Swift             | Xcode | IQKeyboardManagerSwift |\n|-------------------|-------|------------------------|\n| 4.2, 4.0, 3.2, 3.0| 10.0  | >= 6.0.4               |\n| 4.0, 3.2, 3.0     | 9.0   | 5.0.0                  |\n| 3.1               | 8.3   | 4.0.10                 |\n| 3.0 (3.0.2)       | 8.2   | 4.0.8                  |\n| 2.2 or 2.3        | 7.3   | 4.0.5                  |\n| 2.1.1             | 7.2   | 4.0.0                  |\n| 2.1               | 7.2   | 3.3.7                  |\n| 2.0               | 7.0   | 3.3.3.1                |\n| 1.2               | 6.3   | 3.3.1                  |\n| 1.0               | 6.0   | 3.3.2                  |\n\nInstallation\n==========================\n\n#### Installation with CocoaPods\n\n[![CocoaPods](https://img.shields.io/cocoapods/v/IQKeyboardManager.svg)](http://cocoadocs.org/docsets/IQKeyboardManager)\n\n***IQKeyboardManager (Objective-C):*** IQKeyboardManager is available through [CocoaPods](http://cocoapods.org), to install\nit simply add the following line to your Podfile: ([#9](https://github.com/hackiftekhar/IQKeyboardManager/issues/9))\n\n```ruby\npod 'IQKeyboardManager' #iOS8 and later\n\npod 'IQKeyboardManager', '3.3.7' #iOS7\n```\n\n***IQKeyboardManager (Swift):*** IQKeyboardManagerSwift is available through [CocoaPods](http://cocoapods.org), to install\nit simply add the following line to your Podfile: ([#236](https://github.com/hackiftekhar/IQKeyboardManager/issues/236))\n\n*Swift 4.2, 4.0, 3.2, 3.0 (Xcode 9)*\n\n```ruby\npod 'IQKeyboardManagerSwift'\n```\n\n*Or you can choose version you need based on Swift support table from [Requirements](README.md#requirements)*\n\n```ruby\npod 'IQKeyboardManagerSwift', '5.0.0'\n```\n\nIn AppDelegate.swift, just import IQKeyboardManagerSwift framework and enable IQKeyboardManager.\n\n```swift\nimport IQKeyboardManagerSwift\n\n@UIApplicationMain\nclass AppDelegate: UIResponder, UIApplicationDelegate {\n\n    var window: UIWindow?\n\n    func application(application: UIApplication, didFinishLaunchingWithOptions launchOptions: [NSObject: AnyObject]?) -> Bool {\n\n      IQKeyboardManager.shared.enable = true\n\n      return true\n    }\n}\n```\n\n#### Installation with Carthage\n\n[Carthage](https://github.com/Carthage/Carthage) is a decentralized dependency manager that builds your dependencies and provides you with binary frameworks.\n\nYou can install Carthage with [Homebrew](http://brew.sh/) using the following command:\n\n```bash\n$ brew update\n$ brew install carthage\n```\n\nTo integrate `IQKeyboardManger` or `IQKeyboardManagerSwift` into your Xcode project using Carthage, specify it in your `Cartfile`:\n\n```ogdl\ngithub \"hackiftekhar/IQKeyboardManager\"\n```\n\nRun `carthage` to build the frameworks and drag the appropriate framework (`IQKeyboardManager.framework` or `IQKeyboardManagerSwift.framework`) into your Xcode project according to your need. Make sure to add only one framework and not both.\n\n\n#### Installation with Source Code\n\n[![Github tag](https://img.shields.io/github/tag/hackiftekhar/iqkeyboardmanager.svg)]()\n\n\n\n***IQKeyboardManager (Objective-C):*** Just ***drag and drop*** `IQKeyboardManager` directory from demo project to your project. That's it.\n\n***IQKeyboardManager (Swift):*** ***Drag and drop*** `IQKeyboardManagerSwift` directory from demo project to your project\n\nIn AppDelegate.swift, just enable IQKeyboardManager.\n\n```swift\n@UIApplicationMain\nclass AppDelegate: UIResponder, UIApplicationDelegate {\n\n    var window: UIWindow?\n\n    func application(application: UIApplication, didFinishLaunchingWithOptions launchOptions: [NSObject: AnyObject]?) -> Bool {\n\n      IQKeyboardManager.shared.enable = true\n\n      return true\n    }\n}\n```\n\nMigration Guide\n==========================\n- [IQKeyboardManager 6.0.0 Migration Guide](https://github.com/hackiftekhar/IQKeyboardManager/wiki/IQKeyboardManager-6.0.0-Migration-Guide)\n\nOther Links\n==========================\n\n- [Known Issues](https://github.com/hackiftekhar/IQKeyboardManager/wiki/Known-Issues)\n- [Manual Management Tweaks](https://github.com/hackiftekhar/IQKeyboardManager/wiki/Manual-Management)\n- [Properties and functions usage](https://github.com/hackiftekhar/IQKeyboardManager/wiki/Properties-&-Functions)\n\n## Flow Diagram\n[![IQKeyboardManager CFD](https://raw.githubusercontent.com/hackiftekhar/IQKeyboardManager/master/Screenshot/IQKeyboardManagerFlowDiagram.jpg)](https://raw.githubusercontent.com/hackiftekhar/IQKeyboardManager/master/Screenshot/IQKeyboardManagerFlowDiagram.jpg)\n\nIf you would like to see detailed Flow diagram then see [Detailed Flow Diagram](https://raw.githubusercontent.com/hackiftekhar/IQKeyboardManager/v3.3.0/Screenshot/IQKeyboardManagerCFD.jpg).\n\n\nLICENSE\n---\nDistributed under the MIT License.\n\nContributions\n---\nAny contribution is more than welcome! You can contribute through pull requests and issues on GitHub.\n\nAuthor\n---\nIf you wish to contact me, email at: hack.iftekhar@gmail.com\n"
  },
  {
    "path": "CKMeiTuanShopView/Pods/JSONModel/JSONModel/JSONModel/JSONModel.h",
    "content": "//\n//  JSONModel.h\n//  JSONModel\n//\n\n#import <Foundation/Foundation.h>\n\n#import \"JSONModelError.h\"\n#import \"JSONValueTransformer.h\"\n#import \"JSONKeyMapper.h\"\n\n/////////////////////////////////////////////////////////////////////////////////////////////\n#if TARGET_IPHONE_SIMULATOR\n#define JMLog( s, ... ) NSLog( @\"[%@:%d] %@\", [[NSString stringWithUTF8String:__FILE__] \\\nlastPathComponent], __LINE__, [NSString stringWithFormat:(s), ##__VA_ARGS__] )\n#else\n#define JMLog( s, ... )\n#endif\n/////////////////////////////////////////////////////////////////////////////////////////////\n\nDEPRECATED_ATTRIBUTE\n@protocol ConvertOnDemand\n@end\n\nDEPRECATED_ATTRIBUTE\n@protocol Index\n@end\n\n#pragma mark - Property Protocols\n/**\n * Protocol for defining properties in a JSON Model class that should not be considered at all\n * neither while importing nor when exporting JSON.\n *\n * @property (strong, nonatomic) NSString&lt;Ignore&gt; *propertyName;\n *\n */\n@protocol Ignore\n@end\n\n/**\n * Protocol for defining optional properties in a JSON Model class. Use like below to define\n * model properties that are not required to have values in the JSON input:\n *\n * @property (strong, nonatomic) NSString&lt;Optional&gt; *propertyName;\n *\n */\n@protocol Optional\n@end\n\n/**\n * Make all objects compatible to avoid compiler warnings\n */\n@interface NSObject (JSONModelPropertyCompatibility) <Optional, Ignore>\n@end\n\n/////////////////////////////////////////////////////////////////////////////////////////////\n#pragma mark - JSONModel protocol\n/**\n * A protocol describing an abstract JSONModel class\n * JSONModel conforms to this protocol, so it can use itself abstractly\n */\n@protocol AbstractJSONModelProtocol <NSCopying, NSCoding>\n\n@required\n/**\n * All JSONModel classes should implement initWithDictionary:\n *\n * For most classes the default initWithDictionary: inherited from JSONModel itself\n * should suffice, but developers have the option to also overwrite it if needed.\n *\n * @param dict a dictionary holding JSON objects, to be imported in the model.\n * @param err an error or NULL\n */\n- (instancetype)initWithDictionary:(NSDictionary *)dict error:(NSError **)err;\n\n\n/**\n * All JSONModel classes should implement initWithData:error:\n *\n * For most classes the default initWithData: inherited from JSONModel itself\n * should suffice, but developers have the option to also overwrite it if needed.\n *\n * @param data representing a JSON response (usually fetched from web), to be imported in the model.\n * @param error an error or NULL\n */\n- (instancetype)initWithData:(NSData *)data error:(NSError **)error;\n\n/**\n * All JSONModel classes should be able to export themselves as a dictionary of\n * JSON compliant objects.\n *\n * For most classes the inherited from JSONModel default toDictionary implementation\n * should suffice.\n *\n * @return NSDictionary dictionary of JSON compliant objects\n * @exception JSONModelTypeNotAllowedException thrown when one of your model's custom class properties\n * does not have matching transformer method in an JSONValueTransformer.\n */\n- (NSDictionary *)toDictionary;\n\n/**\n * Export a model class to a dictionary, including only given properties\n *\n * @param propertyNames the properties to export; if nil, all properties exported\n * @return NSDictionary dictionary of JSON compliant objects\n * @exception JSONModelTypeNotAllowedException thrown when one of your model's custom class properties\n * does not have matching transformer method in an JSONValueTransformer.\n */\n- (NSDictionary *)toDictionaryWithKeys:(NSArray *)propertyNames;\n@end\n\n/////////////////////////////////////////////////////////////////////////////////////////////\n#pragma mark - JSONModel interface\n/**\n * The JSONModel is an abstract model class, you should not instantiate it directly,\n * as it does not have any properties, and therefore cannot serve as a data model.\n * Instead you should subclass it, and define the properties you want your data model\n * to have as properties of your own class.\n */\n@interface JSONModel : NSObject <AbstractJSONModelProtocol, NSSecureCoding>\n\n// deprecated\n+ (NSMutableArray *)arrayOfModelsFromDictionaries:(NSArray *)array DEPRECATED_MSG_ATTRIBUTE(\"use arrayOfModelsFromDictionaries:error:\");\n+ (void)setGlobalKeyMapper:(JSONKeyMapper *)globalKeyMapper DEPRECATED_MSG_ATTRIBUTE(\"override +keyMapper in a base model class instead\");\n+ (NSString *)protocolForArrayProperty:(NSString *)propertyName DEPRECATED_MSG_ATTRIBUTE(\"use classForCollectionProperty:\");\n- (void)mergeFromDictionary:(NSDictionary *)dict useKeyMapping:(BOOL)useKeyMapping DEPRECATED_MSG_ATTRIBUTE(\"use mergeFromDictionary:useKeyMapping:error:\");\n- (NSString *)indexPropertyName DEPRECATED_ATTRIBUTE;\n- (NSComparisonResult)compare:(id)object DEPRECATED_ATTRIBUTE;\n\n/** @name Creating and initializing models */\n\n/**\n * Create a new model instance and initialize it with the JSON from a text parameter. The method assumes UTF8 encoded input text.\n * @param string JSON text data\n * @param err an initialization error or nil\n * @exception JSONModelTypeNotAllowedException thrown when unsupported type is found in the incoming JSON,\n * or a property type in your model is not supported by JSONValueTransformer and its categories\n * @see initWithString:usingEncoding:error: for use of custom text encodings\n */\n- (instancetype)initWithString:(NSString *)string error:(JSONModelError **)err;\n\n/**\n * Create a new model instance and initialize it with the JSON from a text parameter using the given encoding.\n * @param string JSON text data\n * @param encoding the text encoding to use when parsing the string (see NSStringEncoding)\n * @param err an initialization error or nil\n * @exception JSONModelTypeNotAllowedException thrown when unsupported type is found in the incoming JSON,\n * or a property type in your model is not supported by JSONValueTransformer and its categories\n */\n- (instancetype)initWithString:(NSString *)string usingEncoding:(NSStringEncoding)encoding error:(JSONModelError **)err;\n\n/** @name Exporting model contents */\n\n/**\n * Export the whole object to a JSON data text string\n * @return JSON text describing the data model\n */\n- (NSString *)toJSONString;\n\n/**\n * Export the whole object to a JSON data text string\n * @return JSON text data describing the data model\n */\n- (NSData *)toJSONData;\n\n/**\n * Export the specified properties of the object to a JSON data text string\n * @param propertyNames the properties to export; if nil, all properties exported\n * @return JSON text describing the data model\n */\n- (NSString *)toJSONStringWithKeys:(NSArray *)propertyNames;\n\n/**\n * Export the specified properties of the object to a JSON data text string\n * @param propertyNames the properties to export; if nil, all properties exported\n * @return JSON text data describing the data model\n */\n- (NSData *)toJSONDataWithKeys:(NSArray *)propertyNames;\n\n/** @name Batch methods */\n\n/**\n * If you have a list of dictionaries in a JSON feed, you can use this method to create an NSArray\n * of model objects. Handy when importing JSON data lists.\n * This method will loop over the input list and initialize a data model for every dictionary in the list.\n *\n * @param array list of dictionaries to be imported as models\n * @return list of initialized data model objects\n * @exception JSONModelTypeNotAllowedException thrown when unsupported type is found in the incoming JSON,\n * or a property type in your model is not supported by JSONValueTransformer and its categories\n * @exception JSONModelInvalidDataException thrown when the input data does not include all required keys\n * @see arrayOfDictionariesFromModels:\n */\n+ (NSMutableArray *)arrayOfModelsFromDictionaries:(NSArray *)array error:(NSError **)err;\n+ (NSMutableArray *)arrayOfModelsFromData:(NSData *)data error:(NSError **)err;\n+ (NSMutableArray *)arrayOfModelsFromString:(NSString *)string error:(NSError **)err;\n+ (NSMutableDictionary *)dictionaryOfModelsFromDictionary:(NSDictionary *)dictionary error:(NSError **)err;\n+ (NSMutableDictionary *)dictionaryOfModelsFromData:(NSData *)data error:(NSError **)err;\n+ (NSMutableDictionary *)dictionaryOfModelsFromString:(NSString *)string error:(NSError **)err;\n\n/**\n * If you have an NSArray of data model objects, this method takes it in and outputs a list of the\n * matching dictionaries. This method does the opposite of arrayOfObjectsFromDictionaries:\n * @param array list of JSONModel objects\n * @return a list of NSDictionary objects\n * @exception JSONModelTypeNotAllowedException thrown when unsupported type is found in the incoming JSON,\n * or a property type in your model is not supported by JSONValueTransformer and its categories\n * @see arrayOfModelsFromDictionaries:\n */\n+ (NSMutableArray *)arrayOfDictionariesFromModels:(NSArray *)array;\n+ (NSMutableDictionary *)dictionaryOfDictionariesFromModels:(NSDictionary *)dictionary;\n\n/** @name Validation */\n\n/**\n * Overwrite the validate method in your own models if you need to perform some custom validation over the model data.\n * This method gets called at the very end of the JSONModel initializer, thus the model is in the state that you would\n * get it back when initialized. Check the values of any property that needs to be validated and if any invalid values\n * are encountered return NO and set the error parameter to an NSError object. If the model is valid return YES.\n *\n * NB: Only setting the error parameter is not enough to fail the validation, you also need to return a NO value.\n *\n * @param error a pointer to an NSError object, to pass back an error if needed\n * @return a BOOL result, showing whether the model data validates or not. You can use the convenience method\n * [JSONModelError errorModelIsInvalid] to set the NSError param if the data fails your custom validation\n */\n- (BOOL)validate:(NSError **)error;\n\n/** @name Key mapping */\n/**\n * Overwrite in your models if your property names don't match your JSON key names.\n * Lookup JSONKeyMapper docs for more details.\n */\n+ (JSONKeyMapper *)keyMapper;\n\n/**\n * Indicates whether the property with the given name is Optional.\n * To have a model with all of its properties being Optional just return YES.\n * This method returns by default NO, since the default behaviour is to have all properties required.\n * @param propertyName the name of the property\n * @return a BOOL result indicating whether the property is optional\n */\n+ (BOOL)propertyIsOptional:(NSString *)propertyName;\n\n/**\n * Indicates whether the property with the given name is Ignored.\n * To have a model with all of its properties being Ignored just return YES.\n * This method returns by default NO, since the default behaviour is to have all properties required.\n * @param propertyName the name of the property\n * @return a BOOL result indicating whether the property is ignored\n */\n+ (BOOL)propertyIsIgnored:(NSString *)propertyName;\n\n/**\n * Indicates the class used for the elements of a collection property.\n * Rather than using:\n *     @property (strong) NSArray <MyType> *things;\n * You can implement classForCollectionProperty: and keep your property\n * defined like:\n *     @property (strong) NSArray *things;\n * @param propertyName the name of the property\n * @return Class the class used to deserialize the elements of the collection\n */\n+ (Class)classForCollectionProperty:(NSString *)propertyName;\n\n/**\n * Merges values from the given dictionary into the model instance.\n * @param dict dictionary with values\n * @param useKeyMapping if YES the method will use the model's key mapper and the global key mapper, if NO\n * it'll just try to match the dictionary keys to the model's properties\n */\n- (BOOL)mergeFromDictionary:(NSDictionary *)dict useKeyMapping:(BOOL)useKeyMapping error:(NSError **)error;\n\n@end\n"
  },
  {
    "path": "CKMeiTuanShopView/Pods/JSONModel/JSONModel/JSONModel/JSONModel.m",
    "content": "//\n//  JSONModel.m\n//  JSONModel\n//\n\n#if !__has_feature(objc_arc)\n#error The JSONMOdel framework is ARC only, you can enable ARC on per file basis.\n#endif\n\n\n#import <objc/runtime.h>\n#import <objc/message.h>\n\n\n#import \"JSONModel.h\"\n#import \"JSONModelClassProperty.h\"\n\n#pragma mark - associated objects names\nstatic const char * kMapperObjectKey;\nstatic const char * kClassPropertiesKey;\nstatic const char * kClassRequiredPropertyNamesKey;\nstatic const char * kIndexPropertyNameKey;\n\n#pragma mark - class static variables\nstatic NSArray* allowedJSONTypes = nil;\nstatic NSArray* allowedPrimitiveTypes = nil;\nstatic JSONValueTransformer* valueTransformer = nil;\nstatic Class JSONModelClass = NULL;\n\n#pragma mark - model cache\nstatic JSONKeyMapper* globalKeyMapper = nil;\n\n#pragma mark - JSONModel implementation\n@implementation JSONModel\n{\n    NSString* _description;\n}\n\n#pragma mark - initialization methods\n\n+(void)load\n{\n    static dispatch_once_t once;\n    dispatch_once(&once, ^{\n        // initialize all class static objects,\n        // which are common for ALL JSONModel subclasses\n\n        @autoreleasepool {\n            allowedJSONTypes = @[\n                [NSString class], [NSNumber class], [NSDecimalNumber class], [NSArray class], [NSDictionary class], [NSNull class], //immutable JSON classes\n                [NSMutableString class], [NSMutableArray class], [NSMutableDictionary class] //mutable JSON classes\n            ];\n\n            allowedPrimitiveTypes = @[\n                @\"BOOL\", @\"float\", @\"int\", @\"long\", @\"double\", @\"short\",\n                //and some famous aliases\n                @\"NSInteger\", @\"NSUInteger\",\n                @\"Block\"\n            ];\n\n            valueTransformer = [[JSONValueTransformer alloc] init];\n\n            // This is quite strange, but I found the test isSubclassOfClass: (line ~291) to fail if using [JSONModel class].\n            // somewhat related: https://stackoverflow.com/questions/6524165/nsclassfromstring-vs-classnamednsstring\n            // //; seems to break the unit tests\n\n            // Using NSClassFromString instead of [JSONModel class], as this was breaking unit tests, see below\n            //http://stackoverflow.com/questions/21394919/xcode-5-unit-test-seeing-wrong-class\n            JSONModelClass = NSClassFromString(NSStringFromClass(self));\n        }\n    });\n}\n\n-(void)__setup__\n{\n    //if first instance of this model, generate the property list\n    if (!objc_getAssociatedObject(self.class, &kClassPropertiesKey)) {\n        [self __inspectProperties];\n    }\n\n    //if there's a custom key mapper, store it in the associated object\n    id mapper = [[self class] keyMapper];\n    if ( mapper && !objc_getAssociatedObject(self.class, &kMapperObjectKey) ) {\n        objc_setAssociatedObject(\n                                 self.class,\n                                 &kMapperObjectKey,\n                                 mapper,\n                                 OBJC_ASSOCIATION_RETAIN // This is atomic\n                                 );\n    }\n}\n\n-(id)init\n{\n    self = [super init];\n    if (self) {\n        //do initial class setup\n        [self __setup__];\n    }\n    return self;\n}\n\n-(instancetype)initWithData:(NSData *)data error:(NSError *__autoreleasing *)err\n{\n    //check for nil input\n    if (!data) {\n        if (err) *err = [JSONModelError errorInputIsNil];\n        return nil;\n    }\n    //read the json\n    JSONModelError* initError = nil;\n    id obj = [NSJSONSerialization JSONObjectWithData:data\n                                             options:kNilOptions\n                                               error:&initError];\n\n    if (initError) {\n        if (err) *err = [JSONModelError errorBadJSON];\n        return nil;\n    }\n\n    //init with dictionary\n    id objModel = [self initWithDictionary:obj error:&initError];\n    if (initError && err) *err = initError;\n    return objModel;\n}\n\n-(id)initWithString:(NSString*)string error:(JSONModelError**)err\n{\n    JSONModelError* initError = nil;\n    id objModel = [self initWithString:string usingEncoding:NSUTF8StringEncoding error:&initError];\n    if (initError && err) *err = initError;\n    return objModel;\n}\n\n-(id)initWithString:(NSString *)string usingEncoding:(NSStringEncoding)encoding error:(JSONModelError**)err\n{\n    //check for nil input\n    if (!string) {\n        if (err) *err = [JSONModelError errorInputIsNil];\n        return nil;\n    }\n\n    JSONModelError* initError = nil;\n    id objModel = [self initWithData:[string dataUsingEncoding:encoding] error:&initError];\n    if (initError && err) *err = initError;\n    return objModel;\n\n}\n\n-(id)initWithDictionary:(NSDictionary*)dict error:(NSError**)err\n{\n    //check for nil input\n    if (!dict) {\n        if (err) *err = [JSONModelError errorInputIsNil];\n        return nil;\n    }\n\n    //invalid input, just create empty instance\n    if (![dict isKindOfClass:[NSDictionary class]]) {\n        if (err) *err = [JSONModelError errorInvalidDataWithMessage:@\"Attempt to initialize JSONModel object using initWithDictionary:error: but the dictionary parameter was not an 'NSDictionary'.\"];\n        return nil;\n    }\n\n    //create a class instance\n    self = [self init];\n    if (!self) {\n\n        //super init didn't succeed\n        if (err) *err = [JSONModelError errorModelIsInvalid];\n        return nil;\n    }\n\n    //check incoming data structure\n    if (![self __doesDictionary:dict matchModelWithKeyMapper:self.__keyMapper error:err]) {\n        return nil;\n    }\n\n    //import the data from a dictionary\n    if (![self __importDictionary:dict withKeyMapper:self.__keyMapper validation:YES error:err]) {\n        return nil;\n    }\n\n    //run any custom model validation\n    if (![self validate:err]) {\n        return nil;\n    }\n\n    //model is valid! yay!\n    return self;\n}\n\n-(JSONKeyMapper*)__keyMapper\n{\n    //get the model key mapper\n    return objc_getAssociatedObject(self.class, &kMapperObjectKey);\n}\n\n-(BOOL)__doesDictionary:(NSDictionary*)dict matchModelWithKeyMapper:(JSONKeyMapper*)keyMapper error:(NSError**)err\n{\n    //check if all required properties are present\n    NSArray* incomingKeysArray = [dict allKeys];\n    NSMutableSet* requiredProperties = [self __requiredPropertyNames].mutableCopy;\n    NSSet* incomingKeys = [NSSet setWithArray: incomingKeysArray];\n\n    //transform the key names, if necessary\n    if (keyMapper || globalKeyMapper) {\n\n        NSMutableSet* transformedIncomingKeys = [NSMutableSet setWithCapacity: requiredProperties.count];\n        NSString* transformedName = nil;\n\n        //loop over the required properties list\n        for (JSONModelClassProperty* property in [self __properties__]) {\n\n            transformedName = (keyMapper||globalKeyMapper) ? [self __mapString:property.name withKeyMapper:keyMapper] : property.name;\n\n            //check if exists and if so, add to incoming keys\n            id value;\n            @try {\n                value = [dict valueForKeyPath:transformedName];\n            }\n            @catch (NSException *exception) {\n                value = dict[transformedName];\n            }\n\n            if (value) {\n                [transformedIncomingKeys addObject: property.name];\n            }\n        }\n\n        //overwrite the raw incoming list with the mapped key names\n        incomingKeys = transformedIncomingKeys;\n    }\n\n    //check for missing input keys\n    if (![requiredProperties isSubsetOfSet:incomingKeys]) {\n\n        //get a list of the missing properties\n        [requiredProperties minusSet:incomingKeys];\n\n        //not all required properties are in - invalid input\n        JMLog(@\"Incoming data was invalid [%@ initWithDictionary:]. Keys missing: %@\", self.class, requiredProperties);\n\n        if (err) *err = [JSONModelError errorInvalidDataWithMissingKeys:requiredProperties];\n        return NO;\n    }\n\n    //not needed anymore\n    incomingKeys= nil;\n    requiredProperties= nil;\n\n    return YES;\n}\n\n-(NSString*)__mapString:(NSString*)string withKeyMapper:(JSONKeyMapper*)keyMapper\n{\n    if (keyMapper) {\n        //custom mapper\n        NSString* mappedName = [keyMapper convertValue:string];\n        if (globalKeyMapper && [mappedName isEqualToString: string]) {\n            mappedName = [globalKeyMapper convertValue:string];\n        }\n        string = mappedName;\n    } else if (globalKeyMapper) {\n        //global keymapper\n        string = [globalKeyMapper convertValue:string];\n    }\n\n    return string;\n}\n\n-(BOOL)__importDictionary:(NSDictionary*)dict withKeyMapper:(JSONKeyMapper*)keyMapper validation:(BOOL)validation error:(NSError**)err\n{\n    //loop over the incoming keys and set self's properties\n    for (JSONModelClassProperty* property in [self __properties__]) {\n\n        //convert key name to model keys, if a mapper is provided\n        NSString* jsonKeyPath = (keyMapper||globalKeyMapper) ? [self __mapString:property.name withKeyMapper:keyMapper] : property.name;\n        //JMLog(@\"keyPath: %@\", jsonKeyPath);\n\n        //general check for data type compliance\n        id jsonValue;\n        @try {\n            jsonValue = [dict valueForKeyPath: jsonKeyPath];\n        }\n        @catch (NSException *exception) {\n            jsonValue = dict[jsonKeyPath];\n        }\n\n        //check for Optional properties\n        if (isNull(jsonValue)) {\n            //skip this property, continue with next property\n            if (property.isOptional || !validation) continue;\n\n            if (err) {\n                //null value for required property\n                NSString* msg = [NSString stringWithFormat:@\"Value of required model key %@ is null\", property.name];\n                JSONModelError* dataErr = [JSONModelError errorInvalidDataWithMessage:msg];\n                *err = [dataErr errorByPrependingKeyPathComponent:property.name];\n            }\n            return NO;\n        }\n\n        Class jsonValueClass = [jsonValue class];\n        BOOL isValueOfAllowedType = NO;\n\n        for (Class allowedType in allowedJSONTypes) {\n            if ( [jsonValueClass isSubclassOfClass: allowedType] ) {\n                isValueOfAllowedType = YES;\n                break;\n            }\n        }\n\n        if (isValueOfAllowedType==NO) {\n            //type not allowed\n            JMLog(@\"Type %@ is not allowed in JSON.\", NSStringFromClass(jsonValueClass));\n\n            if (err) {\n                NSString* msg = [NSString stringWithFormat:@\"Type %@ is not allowed in JSON.\", NSStringFromClass(jsonValueClass)];\n                JSONModelError* dataErr = [JSONModelError errorInvalidDataWithMessage:msg];\n                *err = [dataErr errorByPrependingKeyPathComponent:property.name];\n            }\n            return NO;\n        }\n\n        //check if there's matching property in the model\n        if (property) {\n\n            // check for custom setter, than the model doesn't need to do any guessing\n            // how to read the property's value from JSON\n            if ([self __customSetValue:jsonValue forProperty:property]) {\n                //skip to next JSON key\n                continue;\n            };\n\n            // 0) handle primitives\n            if (property.type == nil && property.structName==nil) {\n\n                //generic setter\n                if (jsonValue != [self valueForKey:property.name]) {\n                    [self setValue:jsonValue forKey: property.name];\n                }\n\n                //skip directly to the next key\n                continue;\n            }\n\n            // 0.5) handle nils\n            if (isNull(jsonValue)) {\n                if ([self valueForKey:property.name] != nil) {\n                    [self setValue:nil forKey: property.name];\n                }\n                continue;\n            }\n\n\n            // 1) check if property is itself a JSONModel\n            if ([self __isJSONModelSubClass:property.type]) {\n\n                //initialize the property's model, store it\n                JSONModelError* initErr = nil;\n                id value = [[property.type alloc] initWithDictionary: jsonValue error:&initErr];\n\n                if (!value) {\n                    //skip this property, continue with next property\n                    if (property.isOptional || !validation) continue;\n\n                    // Propagate the error, including the property name as the key-path component\n                    if((err != nil) && (initErr != nil))\n                    {\n                        *err = [initErr errorByPrependingKeyPathComponent:property.name];\n                    }\n                    return NO;\n                }\n                if (![value isEqual:[self valueForKey:property.name]]) {\n                    [self setValue:value forKey: property.name];\n                }\n\n                //for clarity, does the same without continue\n                continue;\n\n            } else {\n\n                // 2) check if there's a protocol to the property\n                //  ) might or not be the case there's a built in transform for it\n                if (property.protocol) {\n\n                    //JMLog(@\"proto: %@\", p.protocol);\n                    jsonValue = [self __transform:jsonValue forProperty:property error:err];\n                    if (!jsonValue) {\n                        if ((err != nil) && (*err == nil)) {\n                            NSString* msg = [NSString stringWithFormat:@\"Failed to transform value, but no error was set during transformation. (%@)\", property];\n                            JSONModelError* dataErr = [JSONModelError errorInvalidDataWithMessage:msg];\n                            *err = [dataErr errorByPrependingKeyPathComponent:property.name];\n                        }\n                        return NO;\n                    }\n                }\n\n                // 3.1) handle matching standard JSON types\n                if (property.isStandardJSONType && [jsonValue isKindOfClass: property.type]) {\n\n                    //mutable properties\n                    if (property.isMutable) {\n                        jsonValue = [jsonValue mutableCopy];\n                    }\n\n                    //set the property value\n                    if (![jsonValue isEqual:[self valueForKey:property.name]]) {\n                        [self setValue:jsonValue forKey: property.name];\n                    }\n                    continue;\n                }\n\n                // 3.3) handle values to transform\n                if (\n                    (![jsonValue isKindOfClass:property.type] && !isNull(jsonValue))\n                    ||\n                    //the property is mutable\n                    property.isMutable\n                    ||\n                    //custom struct property\n                    property.structName\n                    ) {\n\n                    // searched around the web how to do this better\n                    // but did not find any solution, maybe that's the best idea? (hardly)\n                    Class sourceClass = [JSONValueTransformer classByResolvingClusterClasses:[jsonValue class]];\n\n                    //JMLog(@\"to type: [%@] from type: [%@] transformer: [%@]\", p.type, sourceClass, selectorName);\n\n                    //build a method selector for the property and json object classes\n                    NSString* selectorName = [NSString stringWithFormat:@\"%@From%@:\",\n                                              (property.structName? property.structName : property.type), //target name\n                                              sourceClass]; //source name\n                    SEL selector = NSSelectorFromString(selectorName);\n\n                    //check for custom transformer\n                    BOOL foundCustomTransformer = NO;\n                    if ([valueTransformer respondsToSelector:selector]) {\n                        foundCustomTransformer = YES;\n                    } else {\n                        //try for hidden custom transformer\n                        selectorName = [NSString stringWithFormat:@\"__%@\",selectorName];\n                        selector = NSSelectorFromString(selectorName);\n                        if ([valueTransformer respondsToSelector:selector]) {\n                            foundCustomTransformer = YES;\n                        }\n                    }\n\n                    //check if there's a transformer with that name\n                    if (foundCustomTransformer) {\n\n                        //it's OK, believe me...\n#pragma clang diagnostic push\n#pragma clang diagnostic ignored \"-Warc-performSelector-leaks\"\n                        //transform the value\n                        jsonValue = [valueTransformer performSelector:selector withObject:jsonValue];\n#pragma clang diagnostic pop\n\n                        if (![jsonValue isEqual:[self valueForKey:property.name]]) {\n                            [self setValue:jsonValue forKey: property.name];\n                        }\n\n                    } else {\n                        NSString* msg = [NSString stringWithFormat:@\"%@ type not supported for %@.%@\", property.type, [self class], property.name];\n                        JSONModelError* dataErr = [JSONModelError errorInvalidDataWithTypeMismatch:msg];\n                        *err = [dataErr errorByPrependingKeyPathComponent:property.name];\n                        return NO;\n                    }\n\n                } else {\n                    // 3.4) handle \"all other\" cases (if any)\n                    if (![jsonValue isEqual:[self valueForKey:property.name]]) {\n                        [self setValue:jsonValue forKey: property.name];\n                    }\n                }\n            }\n        }\n    }\n\n    return YES;\n}\n\n#pragma mark - property inspection methods\n\n-(BOOL)__isJSONModelSubClass:(Class)class\n{\n// http://stackoverflow.com/questions/19883472/objc-nsobject-issubclassofclass-gives-incorrect-failure\n#ifdef UNIT_TESTING\n    return [@\"JSONModel\" isEqualToString: NSStringFromClass([class superclass])];\n#else\n    return [class isSubclassOfClass:JSONModelClass];\n#endif\n}\n\n//returns a set of the required keys for the model\n-(NSMutableSet*)__requiredPropertyNames\n{\n    //fetch the associated property names\n    NSMutableSet* classRequiredPropertyNames = objc_getAssociatedObject(self.class, &kClassRequiredPropertyNamesKey);\n\n    if (!classRequiredPropertyNames) {\n        classRequiredPropertyNames = [NSMutableSet set];\n        [[self __properties__] enumerateObjectsUsingBlock:^(JSONModelClassProperty* p, NSUInteger idx, BOOL *stop) {\n            if (!p.isOptional) [classRequiredPropertyNames addObject:p.name];\n        }];\n\n        //persist the list\n        objc_setAssociatedObject(\n                                 self.class,\n                                 &kClassRequiredPropertyNamesKey,\n                                 classRequiredPropertyNames,\n                                 OBJC_ASSOCIATION_RETAIN // This is atomic\n                                 );\n    }\n    return classRequiredPropertyNames;\n}\n\n//returns a list of the model's properties\n-(NSArray*)__properties__\n{\n    //fetch the associated object\n    NSDictionary* classProperties = objc_getAssociatedObject(self.class, &kClassPropertiesKey);\n    if (classProperties) return [classProperties allValues];\n\n    //if here, the class needs to inspect itself\n    [self __setup__];\n\n    //return the property list\n    classProperties = objc_getAssociatedObject(self.class, &kClassPropertiesKey);\n    return [classProperties allValues];\n}\n\n//inspects the class, get's a list of the class properties\n-(void)__inspectProperties\n{\n    //JMLog(@\"Inspect class: %@\", [self class]);\n\n    NSMutableDictionary* propertyIndex = [NSMutableDictionary dictionary];\n\n    //temp variables for the loops\n    Class class = [self class];\n    NSScanner* scanner = nil;\n    NSString* propertyType = nil;\n\n    // inspect inherited properties up to the JSONModel class\n    while (class != [JSONModel class]) {\n        //JMLog(@\"inspecting: %@\", NSStringFromClass(class));\n\n        unsigned int propertyCount;\n        objc_property_t *properties = class_copyPropertyList(class, &propertyCount);\n\n        //loop over the class properties\n        for (unsigned int i = 0; i < propertyCount; i++) {\n\n            JSONModelClassProperty* p = [[JSONModelClassProperty alloc] init];\n\n            //get property name\n            objc_property_t property = properties[i];\n            const char *propertyName = property_getName(property);\n            p.name = @(propertyName);\n\n            //JMLog(@\"property: %@\", p.name);\n\n            //get property attributes\n            const char *attrs = property_getAttributes(property);\n            NSString* propertyAttributes = @(attrs);\n            NSArray* attributeItems = [propertyAttributes componentsSeparatedByString:@\",\"];\n\n            //ignore read-only properties\n            if ([attributeItems containsObject:@\"R\"]) {\n                continue; //to next property\n            }\n\n            //check for 64b BOOLs\n            if ([propertyAttributes hasPrefix:@\"Tc,\"]) {\n                //mask BOOLs as structs so they can have custom converters\n                p.structName = @\"BOOL\";\n            }\n\n            scanner = [NSScanner scannerWithString: propertyAttributes];\n\n            //JMLog(@\"attr: %@\", [NSString stringWithCString:attrs encoding:NSUTF8StringEncoding]);\n            [scanner scanUpToString:@\"T\" intoString: nil];\n            [scanner scanString:@\"T\" intoString:nil];\n\n            //check if the property is an instance of a class\n            if ([scanner scanString:@\"@\\\"\" intoString: &propertyType]) {\n\n                [scanner scanUpToCharactersFromSet:[NSCharacterSet characterSetWithCharactersInString:@\"\\\"<\"]\n                                        intoString:&propertyType];\n\n                //JMLog(@\"type: %@\", propertyClassName);\n                p.type = NSClassFromString(propertyType);\n                p.isMutable = ([propertyType rangeOfString:@\"Mutable\"].location != NSNotFound);\n                p.isStandardJSONType = [allowedJSONTypes containsObject:p.type];\n\n                //read through the property protocols\n                while ([scanner scanString:@\"<\" intoString:NULL]) {\n\n                    NSString* protocolName = nil;\n\n                    [scanner scanUpToString:@\">\" intoString: &protocolName];\n\n                    if ([protocolName isEqualToString:@\"Optional\"]) {\n                        p.isOptional = YES;\n                    } else if([protocolName isEqualToString:@\"Index\"]) {\n#pragma GCC diagnostic push\n#pragma GCC diagnostic ignored \"-Wdeprecated-declarations\"\n                        p.isIndex = YES;\n#pragma GCC diagnostic pop\n\n                        objc_setAssociatedObject(\n                                                 self.class,\n                                                 &kIndexPropertyNameKey,\n                                                 p.name,\n                                                 OBJC_ASSOCIATION_RETAIN // This is atomic\n                                                 );\n                    } else if([protocolName isEqualToString:@\"Ignore\"]) {\n                        p = nil;\n                    } else {\n                        p.protocol = protocolName;\n                    }\n\n                    [scanner scanString:@\">\" intoString:NULL];\n                }\n\n            }\n            //check if the property is a structure\n            else if ([scanner scanString:@\"{\" intoString: &propertyType]) {\n                [scanner scanCharactersFromSet:[NSCharacterSet alphanumericCharacterSet]\n                                    intoString:&propertyType];\n\n                p.isStandardJSONType = NO;\n                p.structName = propertyType;\n\n            }\n            //the property must be a primitive\n            else {\n\n                //the property contains a primitive data type\n                [scanner scanUpToCharactersFromSet:[NSCharacterSet characterSetWithCharactersInString:@\",\"]\n                                        intoString:&propertyType];\n\n                //get the full name of the primitive type\n                propertyType = valueTransformer.primitivesNames[propertyType];\n\n                if (![allowedPrimitiveTypes containsObject:propertyType]) {\n\n                    //type not allowed - programmer mistaken -> exception\n                    @throw [NSException exceptionWithName:@\"JSONModelProperty type not allowed\"\n                                                   reason:[NSString stringWithFormat:@\"Property type of %@.%@ is not supported by JSONModel.\", self.class, p.name]\n                                                 userInfo:nil];\n                }\n\n            }\n\n            NSString *nsPropertyName = @(propertyName);\n            if([[self class] propertyIsOptional:nsPropertyName]){\n                p.isOptional = YES;\n            }\n\n            if([[self class] propertyIsIgnored:nsPropertyName]){\n                p = nil;\n            }\n\n            Class customClass = [[self class] classForCollectionProperty:nsPropertyName];\n            if (customClass) {\n                p.protocol = NSStringFromClass(customClass);\n            }\n\n            //few cases where JSONModel will ignore properties automatically\n            if ([propertyType isEqualToString:@\"Block\"]) {\n                p = nil;\n            }\n\n            //add the property object to the temp index\n            if (p && ![propertyIndex objectForKey:p.name]) {\n                [propertyIndex setValue:p forKey:p.name];\n            }\n\n            // generate custom setters and getter\n            if (p)\n            {\n                NSString *name = [p.name stringByReplacingCharactersInRange:NSMakeRange(0, 1) withString:[p.name substringToIndex:1].uppercaseString];\n\n                // getter\n                SEL getter = NSSelectorFromString([NSString stringWithFormat:@\"JSONObjectFor%@\", name]);\n\n                if ([self respondsToSelector:getter])\n                    p.customGetter = getter;\n\n                // setters\n                p.customSetters = [NSMutableDictionary new];\n\n                SEL genericSetter = NSSelectorFromString([NSString stringWithFormat:@\"set%@WithJSONObject:\", name]);\n\n                if ([self respondsToSelector:genericSetter])\n                    p.customSetters[@\"generic\"] = [NSValue valueWithBytes:&genericSetter objCType:@encode(SEL)];\n\n                for (Class type in allowedJSONTypes)\n                {\n                    NSString *class = NSStringFromClass([JSONValueTransformer classByResolvingClusterClasses:type]);\n\n                    if (p.customSetters[class])\n                        continue;\n\n                    SEL setter = NSSelectorFromString([NSString stringWithFormat:@\"set%@With%@:\", name, class]);\n\n                    if ([self respondsToSelector:setter])\n                        p.customSetters[class] = [NSValue valueWithBytes:&setter objCType:@encode(SEL)];\n                }\n            }\n        }\n\n        free(properties);\n\n        //ascend to the super of the class\n        //(will do that until it reaches the root class - JSONModel)\n        class = [class superclass];\n    }\n\n    //finally store the property index in the static property index\n    objc_setAssociatedObject(\n                             self.class,\n                             &kClassPropertiesKey,\n                             [propertyIndex copy],\n                             OBJC_ASSOCIATION_RETAIN // This is atomic\n                             );\n}\n\n#pragma mark - built-in transformer methods\n//few built-in transformations\n-(id)__transform:(id)value forProperty:(JSONModelClassProperty*)property error:(NSError**)err\n{\n    Class protocolClass = NSClassFromString(property.protocol);\n    if (!protocolClass) {\n\n        //no other protocols on arrays and dictionaries\n        //except JSONModel classes\n        if ([value isKindOfClass:[NSArray class]]) {\n            @throw [NSException exceptionWithName:@\"Bad property protocol declaration\"\n                                           reason:[NSString stringWithFormat:@\"<%@> is not allowed JSONModel property protocol, and not a JSONModel class.\", property.protocol]\n                                         userInfo:nil];\n        }\n        return value;\n    }\n\n    //if the protocol is actually a JSONModel class\n    if ([self __isJSONModelSubClass:protocolClass]) {\n\n        //check if it's a list of models\n        if ([property.type isSubclassOfClass:[NSArray class]]) {\n\n            // Expecting an array, make sure 'value' is an array\n            if(![[value class] isSubclassOfClass:[NSArray class]])\n            {\n                if(err != nil)\n                {\n                    NSString* mismatch = [NSString stringWithFormat:@\"Property '%@' is declared as NSArray<%@>* but the corresponding JSON value is not a JSON Array.\", property.name, property.protocol];\n                    JSONModelError* typeErr = [JSONModelError errorInvalidDataWithTypeMismatch:mismatch];\n                    *err = [typeErr errorByPrependingKeyPathComponent:property.name];\n                }\n                return nil;\n            }\n\n            //one shot conversion\n            JSONModelError* arrayErr = nil;\n            value = [[protocolClass class] arrayOfModelsFromDictionaries:value error:&arrayErr];\n            if((err != nil) && (arrayErr != nil))\n            {\n                *err = [arrayErr errorByPrependingKeyPathComponent:property.name];\n                return nil;\n            }\n        }\n\n        //check if it's a dictionary of models\n        if ([property.type isSubclassOfClass:[NSDictionary class]]) {\n\n            // Expecting a dictionary, make sure 'value' is a dictionary\n            if(![[value class] isSubclassOfClass:[NSDictionary class]])\n            {\n                if(err != nil)\n                {\n                    NSString* mismatch = [NSString stringWithFormat:@\"Property '%@' is declared as NSDictionary<%@>* but the corresponding JSON value is not a JSON Object.\", property.name, property.protocol];\n                    JSONModelError* typeErr = [JSONModelError errorInvalidDataWithTypeMismatch:mismatch];\n                    *err = [typeErr errorByPrependingKeyPathComponent:property.name];\n                }\n                return nil;\n            }\n\n            NSMutableDictionary* res = [NSMutableDictionary dictionary];\n\n            for (NSString* key in [value allKeys]) {\n                JSONModelError* initErr = nil;\n                id obj = [[[protocolClass class] alloc] initWithDictionary:value[key] error:&initErr];\n                if (obj == nil)\n                {\n                    // Propagate the error, including the property name as the key-path component\n                    if((err != nil) && (initErr != nil))\n                    {\n                        initErr = [initErr errorByPrependingKeyPathComponent:key];\n                        *err = [initErr errorByPrependingKeyPathComponent:property.name];\n                    }\n                    return nil;\n                }\n                [res setValue:obj forKey:key];\n            }\n            value = [NSDictionary dictionaryWithDictionary:res];\n        }\n    }\n\n    return value;\n}\n\n//built-in reverse transformations (export to JSON compliant objects)\n-(id)__reverseTransform:(id)value forProperty:(JSONModelClassProperty*)property\n{\n    Class protocolClass = NSClassFromString(property.protocol);\n    if (!protocolClass) return value;\n\n    //if the protocol is actually a JSONModel class\n    if ([self __isJSONModelSubClass:protocolClass]) {\n\n        //check if should export list of dictionaries\n        if (property.type == [NSArray class] || property.type == [NSMutableArray class]) {\n            NSMutableArray* tempArray = [NSMutableArray arrayWithCapacity: [(NSArray*)value count] ];\n            for (NSObject<AbstractJSONModelProtocol>* model in (NSArray*)value) {\n                if ([model respondsToSelector:@selector(toDictionary)]) {\n                    [tempArray addObject: [model toDictionary]];\n                } else\n                    [tempArray addObject: model];\n            }\n            return [tempArray copy];\n        }\n\n        //check if should export dictionary of dictionaries\n        if (property.type == [NSDictionary class] || property.type == [NSMutableDictionary class]) {\n            NSMutableDictionary* res = [NSMutableDictionary dictionary];\n            for (NSString* key in [(NSDictionary*)value allKeys]) {\n                id<AbstractJSONModelProtocol> model = value[key];\n                [res setValue: [model toDictionary] forKey: key];\n            }\n            return [NSDictionary dictionaryWithDictionary:res];\n        }\n    }\n\n    return value;\n}\n\n#pragma mark - custom transformations\n- (BOOL)__customSetValue:(id <NSObject>)value forProperty:(JSONModelClassProperty *)property\n{\n    NSString *class = NSStringFromClass([JSONValueTransformer classByResolvingClusterClasses:[value class]]);\n\n    SEL setter = nil;\n    [property.customSetters[class] getValue:&setter];\n\n    if (!setter)\n        [property.customSetters[@\"generic\"] getValue:&setter];\n\n    if (!setter)\n        return NO;\n\n    IMP imp = [self methodForSelector:setter];\n    void (*func)(id, SEL, id <NSObject>) = (void *)imp;\n    func(self, setter, value);\n\n    return YES;\n}\n\n- (BOOL)__customGetValue:(id *)value forProperty:(JSONModelClassProperty *)property\n{\n    SEL getter = property.customGetter;\n\n    if (!getter)\n        return NO;\n\n    IMP imp = [self methodForSelector:getter];\n    id (*func)(id, SEL) = (void *)imp;\n    *value = func(self, getter);\n\n    return YES;\n}\n\n#pragma mark - persistance\n-(void)__createDictionariesForKeyPath:(NSString*)keyPath inDictionary:(NSMutableDictionary**)dict\n{\n    //find if there's a dot left in the keyPath\n    NSUInteger dotLocation = [keyPath rangeOfString:@\".\"].location;\n    if (dotLocation==NSNotFound) return;\n\n    //inspect next level\n    NSString* nextHierarchyLevelKeyName = [keyPath substringToIndex: dotLocation];\n    NSDictionary* nextLevelDictionary = (*dict)[nextHierarchyLevelKeyName];\n\n    if (nextLevelDictionary==nil) {\n        //create non-existing next level here\n        nextLevelDictionary = [NSMutableDictionary dictionary];\n    }\n\n    //recurse levels\n    [self __createDictionariesForKeyPath:[keyPath substringFromIndex: dotLocation+1]\n                            inDictionary:&nextLevelDictionary ];\n\n    //create the hierarchy level\n    [*dict setValue:nextLevelDictionary  forKeyPath: nextHierarchyLevelKeyName];\n}\n\n-(NSDictionary*)toDictionary\n{\n    return [self toDictionaryWithKeys:nil];\n}\n\n-(NSString*)toJSONString\n{\n    return [self toJSONStringWithKeys:nil];\n}\n\n-(NSData*)toJSONData\n{\n    return [self toJSONDataWithKeys:nil];\n}\n\n//exports the model as a dictionary of JSON compliant objects\n-(NSDictionary*)toDictionaryWithKeys:(NSArray*)propertyNames\n{\n    NSArray* properties = [self __properties__];\n    NSMutableDictionary* tempDictionary = [NSMutableDictionary dictionaryWithCapacity:properties.count];\n\n    id value;\n\n    //loop over all properties\n    for (JSONModelClassProperty* p in properties) {\n\n        //skip if unwanted\n        if (propertyNames != nil && ![propertyNames containsObject:p.name])\n            continue;\n\n        //fetch key and value\n        NSString* keyPath = (self.__keyMapper||globalKeyMapper) ? [self __mapString:p.name withKeyMapper:self.__keyMapper] : p.name;\n        value = [self valueForKey: p.name];\n\n        //JMLog(@\"toDictionary[%@]->[%@] = '%@'\", p.name, keyPath, value);\n\n        if ([keyPath rangeOfString:@\".\"].location != NSNotFound) {\n            //there are sub-keys, introduce dictionaries for them\n            [self __createDictionariesForKeyPath:keyPath inDictionary:&tempDictionary];\n        }\n\n        //check for custom getter\n        if ([self __customGetValue:&value forProperty:p]) {\n            //custom getter, all done\n            [tempDictionary setValue:value forKeyPath:keyPath];\n            continue;\n        }\n\n        //export nil when they are not optional values as JSON null, so that the structure of the exported data\n        //is still valid if it's to be imported as a model again\n        if (isNull(value)) {\n\n            if (value == nil)\n            {\n                [tempDictionary removeObjectForKey:keyPath];\n            }\n            else\n            {\n                [tempDictionary setValue:[NSNull null] forKeyPath:keyPath];\n            }\n            continue;\n        }\n\n        //check if the property is another model\n        if ([value isKindOfClass:JSONModelClass]) {\n\n            //recurse models\n            value = [(JSONModel*)value toDictionary];\n            [tempDictionary setValue:value forKeyPath: keyPath];\n\n            //for clarity\n            continue;\n\n        } else {\n\n            // 1) check for built-in transformation\n            if (p.protocol) {\n                value = [self __reverseTransform:value forProperty:p];\n            }\n\n            // 2) check for standard types OR 2.1) primitives\n            if (p.structName==nil && (p.isStandardJSONType || p.type==nil)) {\n\n                //generic get value\n                [tempDictionary setValue:value forKeyPath: keyPath];\n\n                continue;\n            }\n\n            // 3) try to apply a value transformer\n            if (YES) {\n\n                //create selector from the property's class name\n                NSString* selectorName = [NSString stringWithFormat:@\"%@From%@:\", @\"JSONObject\", p.type?p.type:p.structName];\n                SEL selector = NSSelectorFromString(selectorName);\n\n                BOOL foundCustomTransformer = NO;\n                if ([valueTransformer respondsToSelector:selector]) {\n                    foundCustomTransformer = YES;\n                } else {\n                    //try for hidden transformer\n                    selectorName = [NSString stringWithFormat:@\"__%@\",selectorName];\n                    selector = NSSelectorFromString(selectorName);\n                    if ([valueTransformer respondsToSelector:selector]) {\n                        foundCustomTransformer = YES;\n                    }\n                }\n\n                //check if there's a transformer declared\n                if (foundCustomTransformer) {\n\n                    //it's OK, believe me...\n#pragma clang diagnostic push\n#pragma clang diagnostic ignored \"-Warc-performSelector-leaks\"\n                    value = [valueTransformer performSelector:selector withObject:value];\n#pragma clang diagnostic pop\n\n                    [tempDictionary setValue:value forKeyPath: keyPath];\n\n                } else {\n\n                    //in this case most probably a custom property was defined in a model\n                    //but no default reverse transformer for it\n                    @throw [NSException exceptionWithName:@\"Value transformer not found\"\n                                                   reason:[NSString stringWithFormat:@\"[JSONValueTransformer %@] not found\", selectorName]\n                                                 userInfo:nil];\n                    return nil;\n                }\n            }\n        }\n    }\n\n    return [tempDictionary copy];\n}\n\n//exports model to a dictionary and then to a JSON string\n-(NSData*)toJSONDataWithKeys:(NSArray*)propertyNames\n{\n    NSData* jsonData = nil;\n    NSError* jsonError = nil;\n\n    @try {\n        NSDictionary* dict = [self toDictionaryWithKeys:propertyNames];\n        jsonData = [NSJSONSerialization dataWithJSONObject:dict options:kNilOptions error:&jsonError];\n    }\n    @catch (NSException *exception) {\n        //this should not happen in properly design JSONModel\n        //usually means there was no reverse transformer for a custom property\n        JMLog(@\"EXCEPTION: %@\", exception.description);\n        return nil;\n    }\n\n    return jsonData;\n}\n\n-(NSString*)toJSONStringWithKeys:(NSArray*)propertyNames\n{\n    return [[NSString alloc] initWithData: [self toJSONDataWithKeys: propertyNames]\n                                 encoding: NSUTF8StringEncoding];\n}\n\n#pragma mark - import/export of lists\n//loop over an NSArray of JSON objects and turn them into models\n+(NSMutableArray*)arrayOfModelsFromDictionaries:(NSArray*)array\n{\n    return [self arrayOfModelsFromDictionaries:array error:nil];\n}\n\n+ (NSMutableArray *)arrayOfModelsFromData:(NSData *)data error:(NSError **)err\n{\n    id json = [NSJSONSerialization JSONObjectWithData:data options:kNilOptions error:err];\n    if (!json || ![json isKindOfClass:[NSArray class]]) return nil;\n\n    return [self arrayOfModelsFromDictionaries:json error:err];\n}\n\n+ (NSMutableArray *)arrayOfModelsFromString:(NSString *)string error:(NSError **)err\n{\n    return [self arrayOfModelsFromData:[string dataUsingEncoding:NSUTF8StringEncoding] error:err];\n}\n\n// Same as above, but with error reporting\n+(NSMutableArray*)arrayOfModelsFromDictionaries:(NSArray*)array error:(NSError**)err\n{\n    //bail early\n    if (isNull(array)) return nil;\n\n    //parse dictionaries to objects\n    NSMutableArray* list = [NSMutableArray arrayWithCapacity: [array count]];\n\n    for (id d in array)\n    {\n        if ([d isKindOfClass:NSDictionary.class])\n        {\n            JSONModelError* initErr = nil;\n            id obj = [[self alloc] initWithDictionary:d error:&initErr];\n            if (obj == nil)\n            {\n                // Propagate the error, including the array index as the key-path component\n                if((err != nil) && (initErr != nil))\n                {\n                    NSString* path = [NSString stringWithFormat:@\"[%lu]\", (unsigned long)list.count];\n                    *err = [initErr errorByPrependingKeyPathComponent:path];\n                }\n                return nil;\n            }\n\n            [list addObject: obj];\n        } else if ([d isKindOfClass:NSArray.class])\n        {\n            [list addObjectsFromArray:[self arrayOfModelsFromDictionaries:d error:err]];\n        } else\n        {\n            // This is very bad\n        }\n\n    }\n\n    return list;\n}\n\n+ (NSMutableDictionary *)dictionaryOfModelsFromString:(NSString *)string error:(NSError **)err\n{\n    return [self dictionaryOfModelsFromData:[string dataUsingEncoding:NSUTF8StringEncoding] error:err];\n}\n\n+ (NSMutableDictionary *)dictionaryOfModelsFromData:(NSData *)data error:(NSError **)err\n{\n    id json = [NSJSONSerialization JSONObjectWithData:data options:kNilOptions error:err];\n    if (!json || ![json isKindOfClass:[NSDictionary class]]) return nil;\n\n    return [self dictionaryOfModelsFromDictionary:json error:err];\n}\n\n+ (NSMutableDictionary *)dictionaryOfModelsFromDictionary:(NSDictionary *)dictionary error:(NSError **)err\n{\n    NSMutableDictionary *output = [NSMutableDictionary dictionaryWithCapacity:dictionary.count];\n\n    for (NSString *key in dictionary.allKeys)\n    {\n        id object = dictionary[key];\n\n        if ([object isKindOfClass:NSDictionary.class])\n        {\n            id obj = [[self alloc] initWithDictionary:object error:err];\n            if (obj == nil) return nil;\n            output[key] = obj;\n        }\n        else if ([object isKindOfClass:NSArray.class])\n        {\n            id obj = [self arrayOfModelsFromDictionaries:object error:err];\n            if (obj == nil) return nil;\n            output[key] = obj;\n        }\n        else\n        {\n            *err = [JSONModelError errorInvalidDataWithTypeMismatch:@\"Only dictionaries and arrays are supported\"];\n            return nil;\n        }\n    }\n\n    return output;\n}\n\n//loop over NSArray of models and export them to JSON objects\n+(NSMutableArray*)arrayOfDictionariesFromModels:(NSArray*)array\n{\n    //bail early\n    if (isNull(array)) return nil;\n\n    //convert to dictionaries\n    NSMutableArray* list = [NSMutableArray arrayWithCapacity: [array count]];\n\n    for (id<AbstractJSONModelProtocol> object in array) {\n\n        id obj = [object toDictionary];\n        if (!obj) return nil;\n\n        [list addObject: obj];\n    }\n    return list;\n}\n\n//loop over NSArray of models and export them to JSON objects with specific properties\n+(NSMutableArray*)arrayOfDictionariesFromModels:(NSArray*)array propertyNamesToExport:(NSArray*)propertyNamesToExport;\n{\n    //bail early\n    if (isNull(array)) return nil;\n\n    //convert to dictionaries\n    NSMutableArray* list = [NSMutableArray arrayWithCapacity: [array count]];\n\n    for (id<AbstractJSONModelProtocol> object in array) {\n\n        id obj = [object toDictionaryWithKeys:propertyNamesToExport];\n        if (!obj) return nil;\n\n        [list addObject: obj];\n    }\n    return list;\n}\n\n+(NSMutableDictionary *)dictionaryOfDictionariesFromModels:(NSDictionary *)dictionary\n{\n    //bail early\n    if (isNull(dictionary)) return nil;\n\n    NSMutableDictionary *output = [NSMutableDictionary dictionaryWithCapacity:dictionary.count];\n\n    for (NSString *key in dictionary.allKeys) {\n        id <AbstractJSONModelProtocol> object = dictionary[key];\n        id obj = [object toDictionary];\n        if (!obj) return nil;\n        output[key] = obj;\n    }\n\n    return output;\n}\n\n#pragma mark - custom comparison methods\n\n#pragma GCC diagnostic push\n#pragma GCC diagnostic ignored \"-Wdeprecated-declarations\"\n-(NSString*)indexPropertyName\n{\n    //custom getter for an associated object\n    return objc_getAssociatedObject(self.class, &kIndexPropertyNameKey);\n}\n\n-(BOOL)isEqual:(id)object\n{\n    //bail early if different classes\n    if (![object isMemberOfClass:[self class]]) return NO;\n\n    if (self.indexPropertyName) {\n        //there's a defined ID property\n        id objectId = [object valueForKey: self.indexPropertyName];\n        return [[self valueForKey: self.indexPropertyName] isEqual:objectId];\n    }\n\n    //default isEqual implementation\n    return [super isEqual:object];\n}\n\n-(NSComparisonResult)compare:(id)object\n{\n    if (self.indexPropertyName) {\n        id objectId = [object valueForKey: self.indexPropertyName];\n        if ([objectId respondsToSelector:@selector(compare:)]) {\n            return [[self valueForKey:self.indexPropertyName] compare:objectId];\n        }\n    }\n\n    //on purpose postponing the asserts for speed optimization\n    //these should not happen anyway in production conditions\n    NSAssert(self.indexPropertyName, @\"Can't compare models with no <Index> property\");\n    NSAssert1(NO, @\"The <Index> property of %@ is not comparable class.\", [self class]);\n    return kNilOptions;\n}\n\n- (NSUInteger)hash\n{\n    if (self.indexPropertyName) {\n        id val = [self valueForKey:self.indexPropertyName];\n\n        if (val) {\n            return [val hash];\n        }\n    }\n\n    return [super hash];\n}\n\n#pragma GCC diagnostic pop\n\n#pragma mark - custom data validation\n-(BOOL)validate:(NSError**)error\n{\n    return YES;\n}\n\n#pragma mark - custom recursive description\n//custom description method for debugging purposes\n-(NSString*)description\n{\n    NSMutableString* text = [NSMutableString stringWithFormat:@\"<%@> \\n\", [self class]];\n\n    for (JSONModelClassProperty *p in [self __properties__]) {\n\n        id value = ([p.name isEqualToString:@\"description\"])?self->_description:[self valueForKey:p.name];\n        NSString* valueDescription = (value)?[value description]:@\"<nil>\";\n\n        if (p.isStandardJSONType && ![value respondsToSelector:@selector(count)] && [valueDescription length]>60) {\n\n            //cap description for longer values\n            valueDescription = [NSString stringWithFormat:@\"%@...\", [valueDescription substringToIndex:59]];\n        }\n        valueDescription = [valueDescription stringByReplacingOccurrencesOfString:@\"\\n\" withString:@\"\\n   \"];\n        [text appendFormat:@\"   [%@]: %@\\n\", p.name, valueDescription];\n    }\n\n    [text appendFormat:@\"</%@>\", [self class]];\n    return text;\n}\n\n#pragma mark - key mapping\n+(JSONKeyMapper*)keyMapper\n{\n    return nil;\n}\n\n+(void)setGlobalKeyMapper:(JSONKeyMapper*)globalKeyMapperParam\n{\n    globalKeyMapper = globalKeyMapperParam;\n}\n\n+(BOOL)propertyIsOptional:(NSString*)propertyName\n{\n    return NO;\n}\n\n+(BOOL)propertyIsIgnored:(NSString *)propertyName\n{\n    return NO;\n}\n\n+(NSString*)protocolForArrayProperty:(NSString *)propertyName\n{\n    return nil;\n}\n\n+(Class)classForCollectionProperty:(NSString *)propertyName\n{\n#pragma GCC diagnostic push\n#pragma GCC diagnostic ignored \"-Wdeprecated-declarations\"\n    NSString *protocolName = [self protocolForArrayProperty:propertyName];\n#pragma GCC diagnostic pop\n\n    if (!protocolName)\n        return nil;\n\n    return NSClassFromString(protocolName);\n}\n\n#pragma mark - working with incomplete models\n- (void)mergeFromDictionary:(NSDictionary *)dict useKeyMapping:(BOOL)useKeyMapping\n{\n    [self mergeFromDictionary:dict useKeyMapping:useKeyMapping error:nil];\n}\n\n- (BOOL)mergeFromDictionary:(NSDictionary *)dict useKeyMapping:(BOOL)useKeyMapping error:(NSError **)error\n{\n    return [self __importDictionary:dict withKeyMapper:(useKeyMapping)? self.__keyMapper:nil validation:NO error:error];\n}\n\n#pragma mark - NSCopying, NSCoding\n-(instancetype)copyWithZone:(NSZone *)zone\n{\n    return [NSKeyedUnarchiver unarchiveObjectWithData:\n        [NSKeyedArchiver archivedDataWithRootObject:self]\n     ];\n}\n\n-(instancetype)initWithCoder:(NSCoder *)decoder\n{\n    NSString* json;\n\n    if ([decoder respondsToSelector:@selector(decodeObjectOfClass:forKey:)]) {\n        json = [decoder decodeObjectOfClass:[NSString class] forKey:@\"json\"];\n    } else {\n        json = [decoder decodeObjectForKey:@\"json\"];\n    }\n\n    JSONModelError *error = nil;\n    self = [self initWithString:json error:&error];\n    if (error) {\n        JMLog(@\"%@\",[error localizedDescription]);\n    }\n    return self;\n}\n\n-(void)encodeWithCoder:(NSCoder *)encoder\n{\n    [encoder encodeObject:self.toJSONString forKey:@\"json\"];\n}\n\n+ (BOOL)supportsSecureCoding\n{\n    return YES;\n}\n\n@end\n"
  },
  {
    "path": "CKMeiTuanShopView/Pods/JSONModel/JSONModel/JSONModel/JSONModelClassProperty.h",
    "content": "//\n//  JSONModelClassProperty.h\n//  JSONModel\n//\n\n#import <Foundation/Foundation.h>\n\n/**\n * **You do not need to instantiate this class yourself.** This class is used internally by JSONModel\n * to inspect the declared properties of your model class.\n *\n * Class to contain the information, representing a class property\n * It features the property's name, type, whether it's a required property,\n * and (optionally) the class protocol\n */\n@interface JSONModelClassProperty : NSObject\n\n// deprecated\n@property (assign, nonatomic) BOOL isIndex DEPRECATED_ATTRIBUTE;\n\n/** The name of the declared property (not the ivar name) */\n@property (copy, nonatomic) NSString *name;\n\n/** A property class type  */\n@property (assign, nonatomic) Class type;\n\n/** Struct name if a struct */\n@property (strong, nonatomic) NSString *structName;\n\n/** The name of the protocol the property conforms to (or nil) */\n@property (copy, nonatomic) NSString *protocol;\n\n/** If YES, it can be missing in the input data, and the input would be still valid */\n@property (assign, nonatomic) BOOL isOptional;\n\n/** If YES - don't call any transformers on this property's value */\n@property (assign, nonatomic) BOOL isStandardJSONType;\n\n/** If YES - create a mutable object for the value of the property */\n@property (assign, nonatomic) BOOL isMutable;\n\n/** a custom getter for this property, found in the owning model */\n@property (assign, nonatomic) SEL customGetter;\n\n/** custom setters for this property, found in the owning model */\n@property (strong, nonatomic) NSMutableDictionary *customSetters;\n\n@end\n"
  },
  {
    "path": "CKMeiTuanShopView/Pods/JSONModel/JSONModel/JSONModel/JSONModelClassProperty.m",
    "content": "//\n//  JSONModelClassProperty.m\n//  JSONModel\n//\n\n#import \"JSONModelClassProperty.h\"\n\n@implementation JSONModelClassProperty\n\n-(NSString*)description\n{\n    //build the properties string for the current class property\n    NSMutableArray* properties = [NSMutableArray arrayWithCapacity:8];\n\n#pragma GCC diagnostic push\n#pragma GCC diagnostic ignored \"-Wdeprecated-declarations\"\n    if (self.isIndex) [properties addObject:@\"Index\"];\n#pragma GCC diagnostic pop\n\n    if (self.isOptional) [properties addObject:@\"Optional\"];\n    if (self.isMutable) [properties addObject:@\"Mutable\"];\n    if (self.isStandardJSONType) [properties addObject:@\"Standard JSON type\"];\n    if (self.customGetter) [properties addObject:[NSString stringWithFormat: @\"Getter = %@\", NSStringFromSelector(self.customGetter)]];\n\n    if (self.customSetters)\n    {\n        NSMutableArray *setters = [NSMutableArray array];\n\n        for (id obj in self.customSetters.allValues)\n        {\n            SEL selector;\n            [obj getValue:&selector];\n            [setters addObject:NSStringFromSelector(selector)];\n        }\n\n        [properties addObject:[NSString stringWithFormat: @\"Setters = [%@]\", [setters componentsJoinedByString:@\", \"]]];\n    }\n\n    NSString* propertiesString = @\"\";\n    if (properties.count>0) {\n        propertiesString = [NSString stringWithFormat:@\"(%@)\", [properties componentsJoinedByString:@\", \"]];\n    }\n\n    //return the name, type and additional properties\n    return [NSString stringWithFormat:@\"@property %@%@ %@ %@\",\n            self.type?[NSString stringWithFormat:@\"%@*\",self.type]:(self.structName?self.structName:@\"primitive\"),\n            self.protocol?[NSString stringWithFormat:@\"<%@>\", self.protocol]:@\"\",\n            self.name,\n            propertiesString\n            ];\n}\n\n@end\n"
  },
  {
    "path": "CKMeiTuanShopView/Pods/JSONModel/JSONModel/JSONModel/JSONModelError.h",
    "content": "//\n//  JSONModelError.h\n//  JSONModel\n//\n\n#import <Foundation/Foundation.h>\n\n/////////////////////////////////////////////////////////////////////////////////////////////\ntypedef NS_ENUM(int, kJSONModelErrorTypes)\n{\n    kJSONModelErrorInvalidData = 1,\n    kJSONModelErrorBadResponse = 2,\n    kJSONModelErrorBadJSON = 3,\n    kJSONModelErrorModelIsInvalid = 4,\n    kJSONModelErrorNilInput = 5\n};\n\n/////////////////////////////////////////////////////////////////////////////////////////////\n/** The domain name used for the JSONModelError instances */\nextern NSString *const JSONModelErrorDomain;\n\n/**\n * If the model JSON input misses keys that are required, check the\n * userInfo dictionary of the JSONModelError instance you get back -\n * under the kJSONModelMissingKeys key you will find a list of the\n * names of the missing keys.\n */\nextern NSString *const kJSONModelMissingKeys;\n\n/**\n * If JSON input has a different type than expected by the model, check the\n * userInfo dictionary of the JSONModelError instance you get back -\n * under the kJSONModelTypeMismatch key you will find a description\n * of the mismatched types.\n */\nextern NSString *const kJSONModelTypeMismatch;\n\n/**\n * If an error occurs in a nested model, check the userInfo dictionary of\n * the JSONModelError instance you get back - under the kJSONModelKeyPath\n * key you will find key-path at which the error occurred.\n */\nextern NSString *const kJSONModelKeyPath;\n\n/////////////////////////////////////////////////////////////////////////////////////////////\n/**\n * Custom NSError subclass with shortcut methods for creating\n * the common JSONModel errors\n */\n@interface JSONModelError : NSError\n\n@property (strong, nonatomic) NSHTTPURLResponse *httpResponse;\n\n@property (strong, nonatomic) NSData *responseData;\n\n/**\n * Creates a JSONModelError instance with code kJSONModelErrorInvalidData = 1\n */\n+ (id)errorInvalidDataWithMessage:(NSString *)message;\n\n/**\n * Creates a JSONModelError instance with code kJSONModelErrorInvalidData = 1\n * @param keys a set of field names that were required, but not found in the input\n */\n+ (id)errorInvalidDataWithMissingKeys:(NSSet *)keys;\n\n/**\n * Creates a JSONModelError instance with code kJSONModelErrorInvalidData = 1\n * @param mismatchDescription description of the type mismatch that was encountered.\n */\n+ (id)errorInvalidDataWithTypeMismatch:(NSString *)mismatchDescription;\n\n/**\n * Creates a JSONModelError instance with code kJSONModelErrorBadResponse = 2\n */\n+ (id)errorBadResponse;\n\n/**\n * Creates a JSONModelError instance with code kJSONModelErrorBadJSON = 3\n */\n+ (id)errorBadJSON;\n\n/**\n * Creates a JSONModelError instance with code kJSONModelErrorModelIsInvalid = 4\n */\n+ (id)errorModelIsInvalid;\n\n/**\n * Creates a JSONModelError instance with code kJSONModelErrorNilInput = 5\n */\n+ (id)errorInputIsNil;\n\n/**\n * Creates a new JSONModelError with the same values plus information about the key-path of the error.\n * Properties in the new error object are the same as those from the receiver,\n * except that a new key kJSONModelKeyPath is added to the userInfo dictionary.\n * This key contains the component string parameter. If the key is already present\n * then the new error object has the component string prepended to the existing value.\n */\n- (instancetype)errorByPrependingKeyPathComponent:(NSString *)component;\n\n/////////////////////////////////////////////////////////////////////////////////////////////\n@end\n"
  },
  {
    "path": "CKMeiTuanShopView/Pods/JSONModel/JSONModel/JSONModel/JSONModelError.m",
    "content": "//\n//  JSONModelError.m\n//  JSONModel\n//\n\n#import \"JSONModelError.h\"\n\nNSString* const JSONModelErrorDomain = @\"JSONModelErrorDomain\";\nNSString* const kJSONModelMissingKeys = @\"kJSONModelMissingKeys\";\nNSString* const kJSONModelTypeMismatch = @\"kJSONModelTypeMismatch\";\nNSString* const kJSONModelKeyPath = @\"kJSONModelKeyPath\";\n\n@implementation JSONModelError\n\n+(id)errorInvalidDataWithMessage:(NSString*)message\n{\n    message = [NSString stringWithFormat:@\"Invalid JSON data: %@\", message];\n    return [JSONModelError errorWithDomain:JSONModelErrorDomain\n                                      code:kJSONModelErrorInvalidData\n                                  userInfo:@{NSLocalizedDescriptionKey:message}];\n}\n\n+(id)errorInvalidDataWithMissingKeys:(NSSet *)keys\n{\n    return [JSONModelError errorWithDomain:JSONModelErrorDomain\n                                      code:kJSONModelErrorInvalidData\n                                  userInfo:@{NSLocalizedDescriptionKey:@\"Invalid JSON data. Required JSON keys are missing from the input. Check the error user information.\",kJSONModelMissingKeys:[keys allObjects]}];\n}\n\n+(id)errorInvalidDataWithTypeMismatch:(NSString*)mismatchDescription\n{\n    return [JSONModelError errorWithDomain:JSONModelErrorDomain\n                                      code:kJSONModelErrorInvalidData\n                                  userInfo:@{NSLocalizedDescriptionKey:@\"Invalid JSON data. The JSON type mismatches the expected type. Check the error user information.\",kJSONModelTypeMismatch:mismatchDescription}];\n}\n\n+(id)errorBadResponse\n{\n    return [JSONModelError errorWithDomain:JSONModelErrorDomain\n                                      code:kJSONModelErrorBadResponse\n                                  userInfo:@{NSLocalizedDescriptionKey:@\"Bad network response. Probably the JSON URL is unreachable.\"}];\n}\n\n+(id)errorBadJSON\n{\n    return [JSONModelError errorWithDomain:JSONModelErrorDomain\n                                      code:kJSONModelErrorBadJSON\n                                  userInfo:@{NSLocalizedDescriptionKey:@\"Malformed JSON. Check the JSONModel data input.\"}];\n}\n\n+(id)errorModelIsInvalid\n{\n    return [JSONModelError errorWithDomain:JSONModelErrorDomain\n                                      code:kJSONModelErrorModelIsInvalid\n                                  userInfo:@{NSLocalizedDescriptionKey:@\"Model does not validate. The custom validation for the input data failed.\"}];\n}\n\n+(id)errorInputIsNil\n{\n    return [JSONModelError errorWithDomain:JSONModelErrorDomain\n                                      code:kJSONModelErrorNilInput\n                                  userInfo:@{NSLocalizedDescriptionKey:@\"Initializing model with nil input object.\"}];\n}\n\n- (instancetype)errorByPrependingKeyPathComponent:(NSString*)component\n{\n    // Create a mutable  copy of the user info so that we can add to it and update it\n    NSMutableDictionary* userInfo = [self.userInfo mutableCopy];\n\n    // Create or update the key-path\n    NSString* existingPath = userInfo[kJSONModelKeyPath];\n    NSString* separator = [existingPath hasPrefix:@\"[\"] ? @\"\" : @\".\";\n    NSString* updatedPath = (existingPath == nil) ? component : [component stringByAppendingFormat:@\"%@%@\", separator, existingPath];\n    userInfo[kJSONModelKeyPath] = updatedPath;\n\n    // Create the new error\n    return [JSONModelError errorWithDomain:self.domain\n                                      code:self.code\n                                  userInfo:[NSDictionary dictionaryWithDictionary:userInfo]];\n}\n\n@end\n"
  },
  {
    "path": "CKMeiTuanShopView/Pods/JSONModel/JSONModel/JSONModelLib.h",
    "content": "//\n//  JSONModelLib.h\n//  JSONModel\n//\n\n#import <Foundation/Foundation.h>\n\n// core\n#import \"JSONModel.h\"\n#import \"JSONModelError.h\"\n\n// transformations\n#import \"JSONValueTransformer.h\"\n#import \"JSONKeyMapper.h\"\n\n// networking (deprecated)\n#import \"JSONHTTPClient.h\"\n#import \"JSONModel+networking.h\"\n#import \"JSONAPI.h\"\n"
  },
  {
    "path": "CKMeiTuanShopView/Pods/JSONModel/JSONModel/JSONModelNetworking/JSONAPI.h",
    "content": "//\n//  JSONAPI.h\n//  JSONModel\n//\n\n#import <Foundation/Foundation.h>\n#import \"JSONHTTPClient.h\"\n\nDEPRECATED_ATTRIBUTE\n@interface JSONAPI : NSObject\n\n+ (void)setAPIBaseURLWithString:(NSString *)base DEPRECATED_ATTRIBUTE;\n+ (void)setContentType:(NSString *)ctype DEPRECATED_ATTRIBUTE;\n+ (void)getWithPath:(NSString *)path andParams:(NSDictionary *)params completion:(JSONObjectBlock)completeBlock DEPRECATED_ATTRIBUTE;\n+ (void)postWithPath:(NSString *)path andParams:(NSDictionary *)params completion:(JSONObjectBlock)completeBlock DEPRECATED_ATTRIBUTE;\n+ (void)rpcWithMethodName:(NSString *)method andArguments:(NSArray *)args completion:(JSONObjectBlock)completeBlock DEPRECATED_ATTRIBUTE;\n+ (void)rpc2WithMethodName:(NSString *)method andParams:(id)params completion:(JSONObjectBlock)completeBlock DEPRECATED_ATTRIBUTE;\n\n@end\n"
  },
  {
    "path": "CKMeiTuanShopView/Pods/JSONModel/JSONModel/JSONModelNetworking/JSONAPI.m",
    "content": "//\n//  JSONAPI.m\n//  JSONModel\n//\n\n#import \"JSONAPI.h\"\n\n#pragma GCC diagnostic ignored \"-Wdeprecated-declarations\"\n#pragma GCC diagnostic ignored \"-Wdeprecated-implementations\"\n\n#pragma mark - helper error model class\n@interface JSONAPIRPCErrorModel: JSONModel\n@property (assign, nonatomic) int code;\n@property (strong, nonatomic) NSString* message;\n@property (strong, nonatomic) id<Optional> data;\n@end\n\n#pragma mark - static variables\n\nstatic JSONAPI* sharedInstance = nil;\n\nstatic long jsonRpcId = 0;\n\n#pragma mark - JSONAPI() private interface\n\n@interface JSONAPI ()\n@property (strong, nonatomic) NSString* baseURLString;\n@end\n\n#pragma mark - JSONAPI implementation\n\n@implementation JSONAPI\n\n#pragma mark - initialize\n\n+(void)initialize\n{\n    static dispatch_once_t once;\n    dispatch_once(&once, ^{\n        sharedInstance = [[JSONAPI alloc] init];\n    });\n}\n\n#pragma mark - api config methods\n\n+(void)setAPIBaseURLWithString:(NSString*)base\n{\n    sharedInstance.baseURLString = base;\n}\n\n+(void)setContentType:(NSString*)ctype\n{\n    [JSONHTTPClient setRequestContentType: ctype];\n}\n\n#pragma mark - GET methods\n+(void)getWithPath:(NSString*)path andParams:(NSDictionary*)params completion:(JSONObjectBlock)completeBlock\n{\n    NSString* fullURL = [NSString stringWithFormat:@\"%@%@\", sharedInstance.baseURLString, path];\n\n    [JSONHTTPClient getJSONFromURLWithString: fullURL params:params completion:^(NSDictionary *json, JSONModelError *e) {\n        completeBlock(json, e);\n    }];\n}\n\n#pragma mark - POST methods\n+(void)postWithPath:(NSString*)path andParams:(NSDictionary*)params completion:(JSONObjectBlock)completeBlock\n{\n    NSString* fullURL = [NSString stringWithFormat:@\"%@%@\", sharedInstance.baseURLString, path];\n\n    [JSONHTTPClient postJSONFromURLWithString: fullURL params:params completion:^(NSDictionary *json, JSONModelError *e) {\n        completeBlock(json, e);\n    }];\n}\n\n#pragma mark - RPC methods\n+(void)__rpcRequestWithObject:(id)jsonObject completion:(JSONObjectBlock)completeBlock\n{\n\n    NSData* jsonRequestData = [NSJSONSerialization dataWithJSONObject:jsonObject\n                                                              options:kNilOptions\n                                                                error:nil];\n    NSString* jsonRequestString = [[NSString alloc] initWithData:jsonRequestData encoding: NSUTF8StringEncoding];\n\n    NSAssert(sharedInstance.baseURLString, @\"API base URL not set\");\n    [JSONHTTPClient postJSONFromURLWithString: sharedInstance.baseURLString\n                                   bodyString: jsonRequestString\n                                   completion:^(NSDictionary *json, JSONModelError* e) {\n\n                                       if (completeBlock) {\n                                           //handle the rpc response\n                                           NSDictionary* result = json[@\"result\"];\n\n                                           if (!result) {\n                                               JSONAPIRPCErrorModel* error = [[JSONAPIRPCErrorModel alloc] initWithDictionary:json[@\"error\"] error:nil];\n                                               if (error) {\n                                                   //custom server error\n                                                   if (!error.message) error.message = @\"Generic json rpc error\";\n                                                   e = [JSONModelError errorWithDomain:JSONModelErrorDomain\n                                                                                  code:error.code\n                                                                              userInfo: @{ NSLocalizedDescriptionKey : error.message}];\n                                               } else {\n                                                   //generic error\n                                                   e = [JSONModelError errorBadResponse];\n                                               }\n                                           }\n\n                                           //invoke the callback\n                                           completeBlock(result, e);\n                                       }\n                                   }];\n}\n\n+(void)rpcWithMethodName:(NSString*)method andArguments:(NSArray*)args completion:(JSONObjectBlock)completeBlock\n{\n    NSAssert(method, @\"No method specified\");\n    if (!args) args = @[];\n\n    [self __rpcRequestWithObject:@{\n                                  //rpc 1.0\n                                  @\"id\": @(++jsonRpcId),\n                                  @\"params\": args,\n                                  @\"method\": method\n     } completion:completeBlock];\n}\n\n+(void)rpc2WithMethodName:(NSString*)method andParams:(id)params completion:(JSONObjectBlock)completeBlock\n{\n    NSAssert(method, @\"No method specified\");\n    if (!params) params = @[];\n\n    [self __rpcRequestWithObject:@{\n                                  //rpc 2.0\n                                  @\"jsonrpc\": @\"2.0\",\n                                  @\"id\": @(++jsonRpcId),\n                                  @\"params\": params,\n                                  @\"method\": method\n     } completion:completeBlock];\n}\n\n@end\n\n#pragma mark - helper rpc error model class implementation\n@implementation JSONAPIRPCErrorModel\n@end\n"
  },
  {
    "path": "CKMeiTuanShopView/Pods/JSONModel/JSONModel/JSONModelNetworking/JSONHTTPClient.h",
    "content": "//\n//  JSONModelHTTPClient.h\n//  JSONModel\n//\n\n#import \"JSONModel.h\"\n\nextern NSString *const kHTTPMethodGET DEPRECATED_ATTRIBUTE;\nextern NSString *const kHTTPMethodPOST DEPRECATED_ATTRIBUTE;\nextern NSString *const kContentTypeAutomatic DEPRECATED_ATTRIBUTE;\nextern NSString *const kContentTypeJSON DEPRECATED_ATTRIBUTE;\nextern NSString *const kContentTypeWWWEncoded DEPRECATED_ATTRIBUTE;\n\ntypedef void (^JSONObjectBlock)(id json, JSONModelError *err) DEPRECATED_ATTRIBUTE;\n\nDEPRECATED_ATTRIBUTE\n@interface JSONHTTPClient : NSObject\n\n+ (NSMutableDictionary *)requestHeaders DEPRECATED_ATTRIBUTE;\n+ (void)setDefaultTextEncoding:(NSStringEncoding)encoding DEPRECATED_ATTRIBUTE;\n+ (void)setCachingPolicy:(NSURLRequestCachePolicy)policy DEPRECATED_ATTRIBUTE;\n+ (void)setTimeoutInSeconds:(int)seconds DEPRECATED_ATTRIBUTE;\n+ (void)setRequestContentType:(NSString *)contentTypeString DEPRECATED_ATTRIBUTE;\n+ (void)getJSONFromURLWithString:(NSString *)urlString completion:(JSONObjectBlock)completeBlock DEPRECATED_ATTRIBUTE;\n+ (void)getJSONFromURLWithString:(NSString *)urlString params:(NSDictionary *)params completion:(JSONObjectBlock)completeBlock DEPRECATED_ATTRIBUTE;\n+ (void)JSONFromURLWithString:(NSString *)urlString method:(NSString *)method params:(NSDictionary *)params orBodyString:(NSString *)bodyString completion:(JSONObjectBlock)completeBlock DEPRECATED_ATTRIBUTE;\n+ (void)JSONFromURLWithString:(NSString *)urlString method:(NSString *)method params:(NSDictionary *)params orBodyString:(NSString *)bodyString headers:(NSDictionary *)headers completion:(JSONObjectBlock)completeBlock DEPRECATED_ATTRIBUTE;\n+ (void)JSONFromURLWithString:(NSString *)urlString method:(NSString *)method params:(NSDictionary *)params orBodyData:(NSData *)bodyData headers:(NSDictionary *)headers completion:(JSONObjectBlock)completeBlock DEPRECATED_ATTRIBUTE;\n+ (void)postJSONFromURLWithString:(NSString *)urlString params:(NSDictionary *)params completion:(JSONObjectBlock)completeBlock DEPRECATED_ATTRIBUTE;\n+ (void)postJSONFromURLWithString:(NSString *)urlString bodyString:(NSString *)bodyString completion:(JSONObjectBlock)completeBlock DEPRECATED_ATTRIBUTE;\n+ (void)postJSONFromURLWithString:(NSString *)urlString bodyData:(NSData *)bodyData completion:(JSONObjectBlock)completeBlock DEPRECATED_ATTRIBUTE;\n\n@end\n"
  },
  {
    "path": "CKMeiTuanShopView/Pods/JSONModel/JSONModel/JSONModelNetworking/JSONHTTPClient.m",
    "content": "//\n//  JSONModelHTTPClient.m\n//  JSONModel\n//\n\n#import \"JSONHTTPClient.h\"\n\n#pragma GCC diagnostic ignored \"-Wdeprecated-declarations\"\n#pragma GCC diagnostic ignored \"-Wdeprecated-implementations\"\n\ntypedef void (^RequestResultBlock)(NSData *data, JSONModelError *error);\n\n#pragma mark - constants\nNSString* const kHTTPMethodGET = @\"GET\";\nNSString* const kHTTPMethodPOST = @\"POST\";\n\nNSString* const kContentTypeAutomatic    = @\"jsonmodel/automatic\";\nNSString* const kContentTypeJSON         = @\"application/json\";\nNSString* const kContentTypeWWWEncoded   = @\"application/x-www-form-urlencoded\";\n\n#pragma mark - static variables\n\n/**\n * Defaults for HTTP requests\n */\nstatic NSStringEncoding defaultTextEncoding = NSUTF8StringEncoding;\nstatic NSURLRequestCachePolicy defaultCachePolicy = NSURLRequestReloadIgnoringLocalCacheData;\n\nstatic int defaultTimeoutInSeconds = 60;\n\n/**\n * Custom HTTP headers to send over with *each* request\n */\nstatic NSMutableDictionary* requestHeaders = nil;\n\n/**\n * Default request content type\n */\nstatic NSString* requestContentType = nil;\n\n#pragma mark - implementation\n@implementation JSONHTTPClient\n\n#pragma mark - initialization\n+(void)initialize\n{\n    static dispatch_once_t once;\n    dispatch_once(&once, ^{\n        requestHeaders = [NSMutableDictionary dictionary];\n        requestContentType = kContentTypeAutomatic;\n    });\n}\n\n#pragma mark - configuration methods\n+(NSMutableDictionary*)requestHeaders\n{\n    return requestHeaders;\n}\n\n+(void)setDefaultTextEncoding:(NSStringEncoding)encoding\n{\n    defaultTextEncoding = encoding;\n}\n\n+(void)setCachingPolicy:(NSURLRequestCachePolicy)policy\n{\n    defaultCachePolicy = policy;\n}\n\n+(void)setTimeoutInSeconds:(int)seconds\n{\n    defaultTimeoutInSeconds = seconds;\n}\n\n+(void)setRequestContentType:(NSString*)contentTypeString\n{\n    requestContentType = contentTypeString;\n}\n\n#pragma mark - helper methods\n+(NSString*)contentTypeForRequestString:(NSString*)requestString\n{\n    //fetch the charset name from the default string encoding\n    NSString* contentType = requestContentType;\n\n    if (requestString.length>0 && [contentType isEqualToString:kContentTypeAutomatic]) {\n        //check for \"eventual\" JSON array or dictionary\n        NSString* firstAndLastChar = [NSString stringWithFormat:@\"%@%@\",\n                                      [requestString substringToIndex:1],\n                                      [requestString substringFromIndex: requestString.length -1]\n                                      ];\n\n        if ([firstAndLastChar isEqualToString:@\"{}\"] || [firstAndLastChar isEqualToString:@\"[]\"]) {\n            //guessing for a JSON request\n            contentType = kContentTypeJSON;\n        } else {\n            //fallback to www form encoded params\n            contentType = kContentTypeWWWEncoded;\n        }\n    }\n\n    //type is set, just add charset\n    NSString *charset = (NSString *)CFStringConvertEncodingToIANACharSetName(CFStringConvertNSStringEncodingToEncoding(NSUTF8StringEncoding));\n    return [NSString stringWithFormat:@\"%@; charset=%@\", contentType, charset];\n}\n\n+(NSString*)urlEncode:(id<NSObject>)value\n{\n    //make sure param is a string\n    if ([value isKindOfClass:[NSNumber class]]) {\n        value = [(NSNumber*)value stringValue];\n    }\n\n    NSAssert([value isKindOfClass:[NSString class]], @\"request parameters can be only of NSString or NSNumber classes. '%@' is of class %@.\", value, [value class]);\n\n    NSString *str = (NSString *)value;\n\n#if __IPHONE_OS_VERSION_MIN_REQUIRED >= __IPHONE_7_0 || __MAC_OS_X_VERSION_MIN_REQUIRED >= __MAC_10_9\n    return [str stringByAddingPercentEncodingWithAllowedCharacters:[NSCharacterSet URLQueryAllowedCharacterSet]];\n\n#else\n    return (NSString *)CFBridgingRelease(CFURLCreateStringByAddingPercentEscapes(\n                                                                                 NULL,\n                                                                                 (__bridge CFStringRef)str,\n                                                                                 NULL,\n                                                                                 (CFStringRef)@\"!*'();:@&=+$,/?%#[]\",\n                                                                                 kCFStringEncodingUTF8));\n#endif\n}\n\n#pragma mark - networking worker methods\n+(void)requestDataFromURL:(NSURL*)url method:(NSString*)method requestBody:(NSData*)bodyData headers:(NSDictionary*)headers handler:(RequestResultBlock)handler\n{\n    NSMutableURLRequest *request = [[NSMutableURLRequest alloc] initWithURL: url\n                                                                cachePolicy: defaultCachePolicy\n                                                            timeoutInterval: defaultTimeoutInSeconds];\n    [request setHTTPMethod:method];\n\n    if ([requestContentType isEqualToString:kContentTypeAutomatic]) {\n        //automatic content type\n        if (bodyData) {\n            NSString *bodyString = [[NSString alloc] initWithData:bodyData encoding:NSUTF8StringEncoding];\n            [request setValue: [self contentTypeForRequestString: bodyString] forHTTPHeaderField:@\"Content-type\"];\n        }\n    } else {\n        //user set content type\n        [request setValue: requestContentType forHTTPHeaderField:@\"Content-type\"];\n    }\n\n    //add all the custom headers defined\n    for (NSString* key in [requestHeaders allKeys]) {\n        [request setValue:requestHeaders[key] forHTTPHeaderField:key];\n    }\n\n    //add the custom headers\n    for (NSString* key in [headers allKeys]) {\n        [request setValue:headers[key] forHTTPHeaderField:key];\n    }\n\n    if (bodyData) {\n        [request setHTTPBody: bodyData];\n        [request setValue:[NSString stringWithFormat:@\"%lu\", (unsigned long)bodyData.length] forHTTPHeaderField:@\"Content-Length\"];\n    }\n\n    void (^completionHandler)(NSData *, NSURLResponse *, NSError *) = ^(NSData *data, NSURLResponse *origResponse, NSError *origError) {\n        NSHTTPURLResponse *response = (NSHTTPURLResponse *)origResponse;\n        JSONModelError *error = nil;\n\n        //convert an NSError to a JSONModelError\n        if (origError) {\n            error = [JSONModelError errorWithDomain:origError.domain code:origError.code userInfo:origError.userInfo];\n        }\n\n        //special case for http error code 401\n        if (error.code == NSURLErrorUserCancelledAuthentication) {\n            response = [[NSHTTPURLResponse alloc] initWithURL:url statusCode:401 HTTPVersion:@\"HTTP/1.1\" headerFields:@{}];\n        }\n\n        //if not OK status set the err to a JSONModelError instance\n        if (!error && (response.statusCode >= 300 || response.statusCode < 200)) {\n            error = [JSONModelError errorBadResponse];\n        }\n\n        //if there was an error, assign the response to the JSONModel instance\n        if (error) {\n            error.httpResponse = [response copy];\n        }\n\n        //empty respone, return nil instead\n        if (!data.length) {\n            data = nil;\n        }\n\n        handler(data, error);\n    };\n\n    //fire the request\n\n#if __IPHONE_OS_VERSION_MIN_REQUIRED >= __IPHONE_7_0 || __MAC_OS_X_VERSION_MIN_REQUIRED >= __MAC_10_10\n    NSURLSessionTask *task = [[NSURLSession sharedSession] dataTaskWithRequest:request completionHandler:completionHandler];\n    [task resume];\n#else\n    NSOperationQueue *queue = [NSOperationQueue new];\n\n    [NSURLConnection sendAsynchronousRequest:request queue:queue completionHandler:^(NSURLResponse *response, NSData *data, NSError *error) {\n        completionHandler(data, response, error);\n    }];\n#endif\n}\n\n+(void)requestDataFromURL:(NSURL*)url method:(NSString*)method params:(NSDictionary*)params headers:(NSDictionary*)headers handler:(RequestResultBlock)handler\n{\n    //create the request body\n    NSMutableString* paramsString = nil;\n\n    if (params) {\n        //build a simple url encoded param string\n        paramsString = [NSMutableString stringWithString:@\"\"];\n        for (NSString* key in [[params allKeys] sortedArrayUsingSelector:@selector(compare:)]) {\n            [paramsString appendFormat:@\"%@=%@&\", key, [self urlEncode:params[key]] ];\n        }\n        if ([paramsString hasSuffix:@\"&\"]) {\n            paramsString = [[NSMutableString alloc] initWithString: [paramsString substringToIndex: paramsString.length-1]];\n        }\n    }\n\n    //set the request params\n    if ([method isEqualToString:kHTTPMethodGET] && params) {\n\n        //add GET params to the query string\n        url = [NSURL URLWithString:[NSString stringWithFormat: @\"%@%@%@\",\n                                    [url absoluteString],\n                                    [url query] ? @\"&\" : @\"?\",\n                                    paramsString\n                                    ]];\n    }\n\n    //call the more general synq request method\n    [self requestDataFromURL: url\n                      method: method\n                 requestBody: [method isEqualToString:kHTTPMethodPOST]?[paramsString dataUsingEncoding:NSUTF8StringEncoding]:nil\n                     headers: headers\n                       handler:handler];\n}\n\n#pragma mark - Async network request\n+(void)JSONFromURLWithString:(NSString*)urlString method:(NSString*)method params:(NSDictionary*)params orBodyString:(NSString*)bodyString completion:(JSONObjectBlock)completeBlock\n{\n    [self JSONFromURLWithString:urlString\n                         method:method\n                         params:params\n                   orBodyString:bodyString\n                        headers:nil\n                     completion:completeBlock];\n}\n\n+(void)JSONFromURLWithString:(NSString *)urlString method:(NSString *)method params:(NSDictionary *)params orBodyString:(NSString *)bodyString headers:(NSDictionary *)headers completion:(JSONObjectBlock)completeBlock\n{\n    [self JSONFromURLWithString:urlString\n                         method:method\n                         params:params\n                     orBodyData:[bodyString dataUsingEncoding:NSUTF8StringEncoding]\n                        headers:headers\n                     completion:completeBlock];\n}\n\n+(void)JSONFromURLWithString:(NSString*)urlString method:(NSString*)method params:(NSDictionary *)params orBodyData:(NSData*)bodyData headers:(NSDictionary*)headers completion:(JSONObjectBlock)completeBlock\n{\n    RequestResultBlock handler = ^(NSData *responseData, JSONModelError *error) {\n        id jsonObject = nil;\n\n        //step 3: if there's no response so far, return a basic error\n        if (!responseData && !error) {\n            //check for false response, but no network error\n            error = [JSONModelError errorBadResponse];\n        }\n\n        //step 4: if there's a response at this and no errors, convert to object\n        if (error==nil) {\n            // Note: it is possible to have a valid response with empty response data (204 No Content).\n            // So only create the JSON object if there is some response data.\n            if(responseData.length > 0)\n            {\n                //convert to an object\n                jsonObject = [NSJSONSerialization JSONObjectWithData:responseData options:kNilOptions error:&error];\n            }\n        }\n        //step 4.5: cover an edge case in which meaningful content is return along an error HTTP status code\n        else if (error && responseData && jsonObject==nil) {\n            //try to get the JSON object, while preserving the original error object\n            jsonObject = [NSJSONSerialization JSONObjectWithData:responseData options:kNilOptions error:nil];\n            //keep responseData just in case it contains error information\n            error.responseData = responseData;\n        }\n\n        //step 5: invoke the complete block\n        dispatch_async(dispatch_get_main_queue(), ^{\n            if (completeBlock) {\n                completeBlock(jsonObject, error);\n            }\n        });\n    };\n\n    NSURL *url = [NSURL URLWithString:urlString];\n\n    if (bodyData) {\n        [self requestDataFromURL:url method:method requestBody:bodyData headers:headers handler:handler];\n    } else {\n        [self requestDataFromURL:url method:method params:params headers:headers handler:handler];\n    }\n}\n\n#pragma mark - request aliases\n+(void)getJSONFromURLWithString:(NSString*)urlString completion:(JSONObjectBlock)completeBlock\n{\n    [self JSONFromURLWithString:urlString method:kHTTPMethodGET\n                         params:nil\n                   orBodyString:nil completion:^(id json, JSONModelError* e) {\n                       if (completeBlock) completeBlock(json, e);\n                   }];\n}\n\n+(void)getJSONFromURLWithString:(NSString*)urlString params:(NSDictionary*)params completion:(JSONObjectBlock)completeBlock\n{\n    [self JSONFromURLWithString:urlString method:kHTTPMethodGET\n                         params:params\n                   orBodyString:nil completion:^(id json, JSONModelError* e) {\n                       if (completeBlock) completeBlock(json, e);\n                   }];\n}\n\n+(void)postJSONFromURLWithString:(NSString*)urlString params:(NSDictionary*)params completion:(JSONObjectBlock)completeBlock\n{\n    [self JSONFromURLWithString:urlString method:kHTTPMethodPOST\n                         params:params\n                   orBodyString:nil completion:^(id json, JSONModelError* e) {\n                       if (completeBlock) completeBlock(json, e);\n                   }];\n\n}\n\n+(void)postJSONFromURLWithString:(NSString*)urlString bodyString:(NSString*)bodyString completion:(JSONObjectBlock)completeBlock\n{\n    [self JSONFromURLWithString:urlString method:kHTTPMethodPOST\n                         params:nil\n                   orBodyString:bodyString completion:^(id json, JSONModelError* e) {\n                       if (completeBlock) completeBlock(json, e);\n                   }];\n}\n\n+(void)postJSONFromURLWithString:(NSString*)urlString bodyData:(NSData*)bodyData completion:(JSONObjectBlock)completeBlock\n{\n    [self JSONFromURLWithString:urlString method:kHTTPMethodPOST\n                         params:nil\n                   orBodyString:[[NSString alloc] initWithData:bodyData encoding:defaultTextEncoding]\n                                 completion:^(id json, JSONModelError* e) {\n                       if (completeBlock) completeBlock(json, e);\n                   }];\n}\n\n@end\n"
  },
  {
    "path": "CKMeiTuanShopView/Pods/JSONModel/JSONModel/JSONModelNetworking/JSONModel+networking.h",
    "content": "//\n//  JSONModel+networking.h\n//  JSONModel\n//\n\n#import \"JSONModel.h\"\n#import \"JSONHTTPClient.h\"\n\ntypedef void (^JSONModelBlock)(id model, JSONModelError *err) DEPRECATED_ATTRIBUTE;\n\n@interface JSONModel (Networking)\n\n@property (assign, nonatomic) BOOL isLoading DEPRECATED_ATTRIBUTE;\n- (instancetype)initFromURLWithString:(NSString *)urlString completion:(JSONModelBlock)completeBlock DEPRECATED_ATTRIBUTE;\n+ (void)getModelFromURLWithString:(NSString *)urlString completion:(JSONModelBlock)completeBlock DEPRECATED_ATTRIBUTE;\n+ (void)postModel:(JSONModel *)post toURLWithString:(NSString *)urlString completion:(JSONModelBlock)completeBlock DEPRECATED_ATTRIBUTE;\n\n@end\n"
  },
  {
    "path": "CKMeiTuanShopView/Pods/JSONModel/JSONModel/JSONModelNetworking/JSONModel+networking.m",
    "content": "//\n//  JSONModel+networking.m\n//  JSONModel\n//\n\n#import \"JSONModel+networking.h\"\n#import \"JSONHTTPClient.h\"\n\n#pragma GCC diagnostic ignored \"-Wdeprecated-declarations\"\n#pragma GCC diagnostic ignored \"-Wdeprecated-implementations\"\n\nBOOL _isLoading;\n\n@implementation JSONModel(Networking)\n\n@dynamic isLoading;\n\n-(BOOL)isLoading\n{\n    return _isLoading;\n}\n\n-(void)setIsLoading:(BOOL)isLoading\n{\n    _isLoading = isLoading;\n}\n\n-(instancetype)initFromURLWithString:(NSString *)urlString completion:(JSONModelBlock)completeBlock\n{\n    id placeholder = [super init];\n    __block id blockSelf = self;\n\n    if (placeholder) {\n        //initialization\n        self.isLoading = YES;\n\n        [JSONHTTPClient getJSONFromURLWithString:urlString\n                                      completion:^(NSDictionary *json, JSONModelError* e) {\n\n                                          JSONModelError* initError = nil;\n                                          blockSelf = [self initWithDictionary:json error:&initError];\n\n                                          if (completeBlock) {\n                                              dispatch_after(dispatch_time(DISPATCH_TIME_NOW, 1 * NSEC_PER_MSEC), dispatch_get_main_queue(), ^{\n                                                  completeBlock(blockSelf, e?e:initError );\n                                              });\n                                          }\n\n                                          self.isLoading = NO;\n\n                                      }];\n    }\n    return placeholder;\n}\n\n+ (void)getModelFromURLWithString:(NSString*)urlString completion:(JSONModelBlock)completeBlock\n{\n    [JSONHTTPClient getJSONFromURLWithString:urlString\n                                  completion:^(NSDictionary* jsonDict, JSONModelError* err)\n    {\n        JSONModel* model = nil;\n\n        if(err == nil)\n        {\n            model = [[self alloc] initWithDictionary:jsonDict error:&err];\n        }\n\n        if(completeBlock != nil)\n        {\n            dispatch_async(dispatch_get_main_queue(), ^\n            {\n                completeBlock(model, err);\n            });\n        }\n    }];\n}\n\n+ (void)postModel:(JSONModel*)post toURLWithString:(NSString*)urlString completion:(JSONModelBlock)completeBlock\n{\n    [JSONHTTPClient postJSONFromURLWithString:urlString\n                                   bodyString:[post toJSONString]\n                                   completion:^(NSDictionary* jsonDict, JSONModelError* err)\n    {\n        JSONModel* model = nil;\n\n        if(err == nil)\n        {\n            model = [[self alloc] initWithDictionary:jsonDict error:&err];\n        }\n\n        if(completeBlock != nil)\n        {\n            dispatch_async(dispatch_get_main_queue(), ^\n            {\n                completeBlock(model, err);\n            });\n        }\n    }];\n}\n\n@end\n"
  },
  {
    "path": "CKMeiTuanShopView/Pods/JSONModel/JSONModel/JSONModelTransformations/JSONKeyMapper.h",
    "content": "//\n//  JSONKeyMapper.h\n//  JSONModel\n//\n\n#import <Foundation/Foundation.h>\n\ntypedef NSString *(^JSONModelKeyMapBlock)(NSString *keyName);\n\n/**\n * **You won't need to create or store instances of this class yourself.** If you want your model\n * to have different property names than the JSON feed keys, look below on how to\n * make your model use a key mapper.\n *\n * For example if you consume JSON from twitter\n * you get back underscore_case style key names. For example:\n *\n * <pre>\"profile_sidebar_border_color\": \"0094C2\",\n * \"profile_background_tile\": false,</pre>\n *\n * To comply with Obj-C accepted camelCase property naming for your classes,\n * you need to provide mapping between JSON keys and ObjC property names.\n *\n * In your model overwrite the + (JSONKeyMapper *)keyMapper method and provide a JSONKeyMapper\n * instance to convert the key names for your model.\n *\n * If you need custom mapping it's as easy as:\n * <pre>\n * + (JSONKeyMapper *)keyMapper {\n * &nbsp; return [[JSONKeyMapper&nbsp;alloc]&nbsp;initWithDictionary:@{@\"crazy_JSON_name\":@\"myCamelCaseName\"}];\n * }\n * </pre>\n * In case you want to handle underscore_case, **use the predefined key mapper**, like so:\n * <pre>\n * + (JSONKeyMapper *)keyMapper {\n * &nbsp; return [JSONKeyMapper&nbsp;mapperFromUnderscoreCaseToCamelCase];\n * }\n * </pre>\n */\n@interface JSONKeyMapper : NSObject\n\n// deprecated\n@property (readonly, nonatomic) JSONModelKeyMapBlock JSONToModelKeyBlock DEPRECATED_ATTRIBUTE;\n- (NSString *)convertValue:(NSString *)value isImportingToModel:(BOOL)importing DEPRECATED_MSG_ATTRIBUTE(\"use convertValue:\");\n- (instancetype)initWithDictionary:(NSDictionary *)map DEPRECATED_MSG_ATTRIBUTE(\"use initWithModelToJSONDictionary:\");\n- (instancetype)initWithJSONToModelBlock:(JSONModelKeyMapBlock)toModel modelToJSONBlock:(JSONModelKeyMapBlock)toJSON DEPRECATED_MSG_ATTRIBUTE(\"use initWithModelToJSONBlock:\");\n+ (instancetype)mapper:(JSONKeyMapper *)baseKeyMapper withExceptions:(NSDictionary *)exceptions DEPRECATED_MSG_ATTRIBUTE(\"use baseMapper:withModelToJSONExceptions:\");\n+ (instancetype)mapperFromUnderscoreCaseToCamelCase DEPRECATED_MSG_ATTRIBUTE(\"use mapperForSnakeCase:\");\n+ (instancetype)mapperFromUpperCaseToLowerCase DEPRECATED_ATTRIBUTE;\n\n/** @name Name converters */\n/** Block, which takes in a property name and converts it to the corresponding JSON key name */\n@property (readonly, nonatomic) JSONModelKeyMapBlock modelToJSONKeyBlock;\n\n/** Combined converter method\n * @param value the source name\n * @return JSONKeyMapper instance\n */\n- (NSString *)convertValue:(NSString *)value;\n\n/** @name Creating a key mapper */\n\n/**\n * Creates a JSONKeyMapper instance, based on the block you provide this initializer.\n * The parameter takes in a JSONModelKeyMapBlock block:\n * <pre>NSString *(^JSONModelKeyMapBlock)(NSString *keyName)</pre>\n * The block takes in a string and returns the transformed (if at all) string.\n * @param toJSON transforms your model property name to a JSON key\n */\n- (instancetype)initWithModelToJSONBlock:(JSONModelKeyMapBlock)toJSON;\n\n/**\n * Creates a JSONKeyMapper instance, based on the mapping you provide.\n * Use your JSONModel property names as keys, and the JSON key names as values.\n * @param toJSON map dictionary, in the format: <pre>@{@\"myCamelCaseName\":@\"crazy_JSON_name\"}</pre>\n * @return JSONKeyMapper instance\n */\n- (instancetype)initWithModelToJSONDictionary:(NSDictionary *)toJSON;\n\n/**\n * Given a camelCase model property, this mapper finds JSON keys using the snake_case equivalent.\n */\n+ (instancetype)mapperForSnakeCase;\n\n/**\n * Given a camelCase model property, this mapper finds JSON keys using the TitleCase equivalent.\n */\n+ (instancetype)mapperForTitleCase;\n\n/**\n * Creates a JSONKeyMapper based on a built-in JSONKeyMapper, with specific exceptions.\n * Use your JSONModel property names as keys, and the JSON key names as values.\n */\n+ (instancetype)baseMapper:(JSONKeyMapper *)baseKeyMapper withModelToJSONExceptions:(NSDictionary *)toJSON;\n\n@end\n"
  },
  {
    "path": "CKMeiTuanShopView/Pods/JSONModel/JSONModel/JSONModelTransformations/JSONKeyMapper.m",
    "content": "//\n//  JSONKeyMapper.m\n//  JSONModel\n//\n\n#import \"JSONKeyMapper.h\"\n#import <libkern/OSAtomic.h>\n\n@interface JSONKeyMapper()\n@property (nonatomic, strong) NSMutableDictionary *toJSONMap;\n@property (nonatomic, assign) OSSpinLock lock;\n@end\n\n@implementation JSONKeyMapper\n\n- (instancetype)init\n{\n    if (!(self = [super init]))\n        return nil;\n\n    _toJSONMap  = [NSMutableDictionary new];\n\n    return self;\n}\n\n- (instancetype)initWithJSONToModelBlock:(JSONModelKeyMapBlock)toModel modelToJSONBlock:(JSONModelKeyMapBlock)toJSON\n{\n    return [self initWithModelToJSONBlock:toJSON];\n}\n\n- (instancetype)initWithModelToJSONBlock:(JSONModelKeyMapBlock)toJSON\n{\n    if (!(self = [self init]))\n        return nil;\n\n    __weak JSONKeyMapper *weakSelf = self;\n\n    _modelToJSONKeyBlock = ^NSString *(NSString *keyName)\n    {\n        __strong JSONKeyMapper *strongSelf = weakSelf;\n\n        id cached = strongSelf.toJSONMap[keyName];\n\n        if (cached == [NSNull null])\n            return nil;\n\n        if (cached)\n            return strongSelf.toJSONMap[keyName];\n\n        NSString *result = toJSON(keyName);\n\n        OSSpinLockLock(&strongSelf->_lock);\n        strongSelf.toJSONMap[keyName] = result ? result : [NSNull null];\n        OSSpinLockUnlock(&strongSelf->_lock);\n\n        return result;\n    };\n\n    return self;\n}\n\n- (instancetype)initWithDictionary:(NSDictionary *)map\n{\n    NSDictionary *toJSON  = [JSONKeyMapper swapKeysAndValuesInDictionary:map];\n\n    return [self initWithModelToJSONDictionary:toJSON];\n}\n\n- (instancetype)initWithModelToJSONDictionary:(NSDictionary *)toJSON\n{\n    if (!(self = [super init]))\n        return nil;\n\n    _modelToJSONKeyBlock = ^NSString *(NSString *keyName)\n    {\n        return [toJSON valueForKeyPath:keyName] ?: keyName;\n    };\n\n    return self;\n}\n\n+ (NSDictionary *)swapKeysAndValuesInDictionary:(NSDictionary *)dictionary\n{\n    NSArray *keys = dictionary.allKeys;\n    NSArray *values = [dictionary objectsForKeys:keys notFoundMarker:[NSNull null]];\n\n    return [NSDictionary dictionaryWithObjects:keys forKeys:values];\n}\n\n- (NSString *)convertValue:(NSString *)value isImportingToModel:(BOOL)importing\n{\n    return [self convertValue:value];\n}\n\n- (NSString *)convertValue:(NSString *)value\n{\n    return _modelToJSONKeyBlock(value);\n}\n\n+ (instancetype)mapperFromUnderscoreCaseToCamelCase\n{\n    return [self mapperForSnakeCase];\n}\n\n+ (instancetype)mapperForSnakeCase\n{\n    return [[self alloc] initWithModelToJSONBlock:^NSString *(NSString *keyName)\n    {\n        NSMutableString *result = [NSMutableString stringWithString:keyName];\n        NSRange range;\n\n        // handle upper case chars\n        range = [result rangeOfCharacterFromSet:[NSCharacterSet uppercaseLetterCharacterSet]];\n        while (range.location != NSNotFound)\n        {\n            NSString *lower = [result substringWithRange:range].lowercaseString;\n            [result replaceCharactersInRange:range withString:[NSString stringWithFormat:@\"_%@\", lower]];\n            range = [result rangeOfCharacterFromSet:[NSCharacterSet uppercaseLetterCharacterSet]];\n        }\n\n        // handle numbers\n        range = [result rangeOfCharacterFromSet:[NSCharacterSet decimalDigitCharacterSet]];\n        while (range.location != NSNotFound)\n        {\n            NSRange end = [result rangeOfString:@\"\\\\D\" options:NSRegularExpressionSearch range:NSMakeRange(range.location, result.length - range.location)];\n\n            // spans to the end of the key name\n            if (end.location == NSNotFound)\n                end = NSMakeRange(result.length, 1);\n\n            NSRange replaceRange = NSMakeRange(range.location, end.location - range.location);\n            NSString *digits = [result substringWithRange:replaceRange];\n            [result replaceCharactersInRange:replaceRange withString:[NSString stringWithFormat:@\"_%@\", digits]];\n            range = [result rangeOfCharacterFromSet:[NSCharacterSet decimalDigitCharacterSet] options:0 range:NSMakeRange(end.location + 1, result.length - end.location - 1)];\n        }\n\n        return result;\n    }];\n}\n\n+ (instancetype)mapperForTitleCase\n{\n    return [[self alloc] initWithModelToJSONBlock:^NSString *(NSString *keyName)\n    {\n        return [keyName stringByReplacingCharactersInRange:NSMakeRange(0, 1) withString:[keyName substringToIndex:1].uppercaseString];\n    }];\n}\n\n+ (instancetype)mapperFromUpperCaseToLowerCase\n{\n    return [[self alloc] initWithModelToJSONBlock:^NSString *(NSString *keyName)\n    {\n        return keyName.uppercaseString;\n    }];\n}\n\n+ (instancetype)mapper:(JSONKeyMapper *)baseKeyMapper withExceptions:(NSDictionary *)exceptions\n{\n    NSDictionary *toJSON = [JSONKeyMapper swapKeysAndValuesInDictionary:exceptions];\n\n    return [self baseMapper:baseKeyMapper withModelToJSONExceptions:toJSON];\n}\n\n+ (instancetype)baseMapper:(JSONKeyMapper *)baseKeyMapper withModelToJSONExceptions:(NSDictionary *)toJSON\n{\n    return [[self alloc] initWithModelToJSONBlock:^NSString *(NSString *keyName)\n    {\n        if (!keyName)\n            return nil;\n\n        if (toJSON[keyName])\n            return toJSON[keyName];\n\n        return baseKeyMapper.modelToJSONKeyBlock(keyName);\n    }];\n}\n\n@end\n"
  },
  {
    "path": "CKMeiTuanShopView/Pods/JSONModel/JSONModel/JSONModelTransformations/JSONValueTransformer.h",
    "content": "//\n//  JSONValueTransformer.h\n//  JSONModel\n//\n\n#import <Foundation/Foundation.h>\n\n/////////////////////////////////////////////////////////////////////////////////////////////\n\n#pragma mark - extern definitions\n/**\n * Boolean function to check for null values. Handy when you need to both check\n * for nil and [NSNUll null]\n */\nextern BOOL isNull(id value);\n\n/////////////////////////////////////////////////////////////////////////////////////////////\n\n#pragma mark - JSONValueTransformer interface\n/**\n * **You don't need to call methods of this class manually.**\n *\n * Class providing methods to transform values from one class to another.\n * You are given a number of built-in transformers, but you are encouraged to\n * extend this class with your own categories to add further value transformers.\n * Just few examples of what can you add to JSONValueTransformer: hex colors in JSON to UIColor,\n * hex numbers in JSON to NSNumber model properties, base64 encoded strings in JSON to UIImage properties, and more.\n *\n * The class is invoked by JSONModel while transforming incoming\n * JSON types into your target class property classes, and vice versa.\n * One static copy is create and store in the JSONModel class scope.\n */\n@interface JSONValueTransformer : NSObject\n\n@property (strong, nonatomic, readonly) NSDictionary *primitivesNames;\n\n/** @name Resolving cluster class names */\n/**\n * This method returns the umbrella class for any standard class cluster members.\n * For example returns NSString when given as input NSString, NSMutableString, __CFString and __CFConstantString\n * The method currently looksup a pre-defined list.\n * @param sourceClass the class to get the umbrella class for\n * @return Class\n */\n+ (Class)classByResolvingClusterClasses:(Class)sourceClass;\n\n#pragma mark - NSMutableString <-> NSString\n/** @name Transforming to Mutable copies */\n/**\n * Transforms a string value to a mutable string value\n * @param string incoming string\n * @return mutable string\n */\n- (NSMutableString *)NSMutableStringFromNSString:(NSString *)string;\n\n#pragma mark - NSMutableArray <-> NSArray\n/**\n * Transforms an array to a mutable array\n * @param array incoming array\n * @return mutable array\n */\n- (NSMutableArray *)NSMutableArrayFromNSArray:(NSArray *)array;\n\n#pragma mark - NSMutableDictionary <-> NSDictionary\n/**\n * Transforms a dictionary to a mutable dictionary\n * @param dict incoming dictionary\n * @return mutable dictionary\n */\n- (NSMutableDictionary *)NSMutableDictionaryFromNSDictionary:(NSDictionary *)dict;\n\n#pragma mark - NSSet <-> NSArray\n/** @name Transforming Sets */\n/**\n * Transforms an array to a set\n * @param array incoming array\n * @return set with the array's elements\n */\n- (NSSet *)NSSetFromNSArray:(NSArray *)array;\n\n/**\n * Transforms an array to a mutable set\n * @param array incoming array\n * @return mutable set with the array's elements\n */\n- (NSMutableSet *)NSMutableSetFromNSArray:(NSArray *)array;\n\n/**\n * Transforms a set to an array\n * @param set incoming set\n * @return an array with the set's elements\n */\n- (NSArray *)JSONObjectFromNSSet:(NSSet *)set;\n\n/**\n * Transforms a mutable set to an array\n * @param set incoming mutable set\n * @return an array with the set's elements\n */\n- (NSArray *)JSONObjectFromNSMutableSet:(NSMutableSet *)set;\n\n#pragma mark - BOOL <-> number/string\n/** @name Transforming JSON types */\n/**\n * Transforms a number object to a bool number object\n * @param number the number to convert\n * @return the resulting number\n */\n- (NSNumber *)BOOLFromNSNumber:(NSNumber *)number;\n\n/**\n * Transforms a number object to a bool number object\n * @param string the string value to convert, \"0\" converts to NO, everything else to YES\n * @return the resulting number\n */\n- (NSNumber *)BOOLFromNSString:(NSString *)string;\n\n/**\n * Transforms a BOOL value to a bool number object\n * @param number an NSNumber value coming from the model\n * @return the result number\n */\n- (NSNumber *)JSONObjectFromBOOL:(NSNumber *)number;\n\n#pragma mark - string <-> number\n/**\n * Transforms a string object to a number object\n * @param string the string to convert\n * @return the resulting number\n */\n- (NSNumber *)NSNumberFromNSString:(NSString *)string;\n\n/**\n * Transforms a number object to a string object\n * @param number the number to convert\n * @return the resulting string\n */\n- (NSString *)NSStringFromNSNumber:(NSNumber *)number;\n\n/**\n * Transforms a string object to a nsdecimalnumber object\n * @param string the string to convert\n * @return the resulting number\n */\n- (NSDecimalNumber *)NSDecimalNumberFromNSString:(NSString *)string;\n\n/**\n * Transforms a nsdecimalnumber object to a string object\n * @param number the number to convert\n * @return the resulting string\n */\n- (NSString *)NSStringFromNSDecimalNumber:(NSDecimalNumber *)number;\n\n\n#pragma mark - string <-> url\n/** @name Transforming URLs */\n/**\n * Transforms a string object to an NSURL object\n * @param string the string to convert\n * @return the resulting url object\n */\n- (NSURL *)NSURLFromNSString:(NSString *)string;\n\n/**\n * Transforms an NSURL object to a string\n * @param url the url object to convert\n * @return the resulting string\n */\n- (NSString *)JSONObjectFromNSURL:(NSURL *)url;\n\n#pragma mark - string <-> time zone\n\n/** @name Transforming NSTimeZone */\n/**\n * Transforms a string object to an NSTimeZone object\n * @param string the string to convert\n * @return the resulting NSTimeZone object\n */\n- (NSTimeZone *)NSTimeZoneFromNSString:(NSString *)string;\n\n/**\n * Transforms an NSTimeZone object to a string\n * @param timeZone the time zone object to convert\n * @return the resulting string\n */\n- (NSString *)JSONObjectFromNSTimeZone:(NSTimeZone *)timeZone;\n\n#pragma mark - string <-> date\n/** @name Transforming Dates */\n/**\n * The following two methods are not public. This way if there is a category on converting\n * dates it'll override them. If there isn't a category the default methods found in the .m\n * file will be invoked. If these are public a warning is produced at the point of overriding\n * them in a category, so they have to stay hidden here.\n */\n\n//- (NSDate *)NSDateFromNSString:(NSString *)string;\n//- (NSString *)JSONObjectFromNSDate:(NSDate *)date;\n\n#pragma mark - number <-> date\n\n/**\n * Transforms a number to an NSDate object\n * @param number the number to convert\n * @return the resulting date\n */\n- (NSDate *)NSDateFromNSNumber:(NSNumber *)number;\n\n@end\n"
  },
  {
    "path": "CKMeiTuanShopView/Pods/JSONModel/JSONModel/JSONModelTransformations/JSONValueTransformer.m",
    "content": "//\n//  JSONValueTransformer.m\n//  JSONModel\n//\n\n#import \"JSONValueTransformer.h\"\n\n#pragma mark - functions\nextern BOOL isNull(id value)\n{\n    if (!value) return YES;\n    if ([value isKindOfClass:[NSNull class]]) return YES;\n\n    return NO;\n}\n\n@implementation JSONValueTransformer\n\n-(id)init\n{\n    self = [super init];\n    if (self) {\n        _primitivesNames = @{@\"f\":@\"float\", @\"i\":@\"int\", @\"d\":@\"double\", @\"l\":@\"long\", @\"c\":@\"BOOL\", @\"s\":@\"short\", @\"q\":@\"long\",\n                             //and some famous aliases of primitive types\n                             // BOOL is now \"B\" on iOS __LP64 builds\n                             @\"I\":@\"NSInteger\", @\"Q\":@\"NSUInteger\", @\"B\":@\"BOOL\",\n\n                             @\"@?\":@\"Block\"};\n    }\n    return self;\n}\n\n+(Class)classByResolvingClusterClasses:(Class)sourceClass\n{\n    //check for all variations of strings\n    if ([sourceClass isSubclassOfClass:[NSString class]]) {\n        return [NSString class];\n    }\n\n    //check for all variations of numbers\n    if ([sourceClass isSubclassOfClass:[NSNumber class]]) {\n        return [NSNumber class];\n    }\n\n    //check for all variations of dictionaries\n    if ([sourceClass isSubclassOfClass:[NSArray class]]) {\n        return [NSArray class];\n    }\n\n    //check for all variations of arrays\n    if ([sourceClass isSubclassOfClass:[NSDictionary class]]) {\n        return [NSDictionary class];\n    }\n\n    //check for all variations of dates\n    if ([sourceClass isSubclassOfClass:[NSDate class]]) {\n        return [NSDate class];\n    }\n\n    //no cluster parent class found\n    return sourceClass;\n}\n\n#pragma mark - NSMutableString <-> NSString\n-(NSMutableString*)NSMutableStringFromNSString:(NSString*)string\n{\n    return [NSMutableString stringWithString:string];\n}\n\n#pragma mark - NSMutableArray <-> NSArray\n-(NSMutableArray*)NSMutableArrayFromNSArray:(NSArray*)array\n{\n    return [NSMutableArray arrayWithArray:array];\n}\n\n#pragma mark - NSMutableDictionary <-> NSDictionary\n-(NSMutableDictionary*)NSMutableDictionaryFromNSDictionary:(NSDictionary*)dict\n{\n    return [NSMutableDictionary dictionaryWithDictionary:dict];\n}\n\n#pragma mark - NSSet <-> NSArray\n-(NSSet*)NSSetFromNSArray:(NSArray*)array\n{\n    return [NSSet setWithArray:array];\n}\n\n-(NSMutableSet*)NSMutableSetFromNSArray:(NSArray*)array\n{\n    return [NSMutableSet setWithArray:array];\n}\n\n-(id)JSONObjectFromNSSet:(NSSet*)set\n{\n    return [set allObjects];\n}\n\n-(id)JSONObjectFromNSMutableSet:(NSMutableSet*)set\n{\n    return [set allObjects];\n}\n\n//\n// 0 converts to NO, everything else converts to YES\n//\n\n#pragma mark - BOOL <-> number/string\n-(NSNumber*)BOOLFromNSNumber:(NSNumber*)number\n{\n    if (isNull(number)) return [NSNumber numberWithBool:NO];\n    return [NSNumber numberWithBool: number.intValue==0?NO:YES];\n}\n\n-(NSNumber*)BOOLFromNSString:(NSString*)string\n{\n    if (string != nil &&\n        ([string caseInsensitiveCompare:@\"true\"] == NSOrderedSame ||\n        [string caseInsensitiveCompare:@\"yes\"] == NSOrderedSame)) {\n        return [NSNumber numberWithBool:YES];\n    }\n    return [NSNumber numberWithBool: ([string intValue]==0)?NO:YES];\n}\n\n-(NSNumber*)JSONObjectFromBOOL:(NSNumber*)number\n{\n    return [NSNumber numberWithBool: number.intValue==0?NO:YES];\n}\n\n#pragma mark - string/number <-> float\n-(float)floatFromObject:(id)obj\n{\n    return [obj floatValue];\n}\n\n-(float)floatFromNSString:(NSString*)string\n{\n    return [self floatFromObject:string];\n}\n\n-(float)floatFromNSNumber:(NSNumber*)number\n{\n    return [self floatFromObject:number];\n}\n\n-(NSNumber*)NSNumberFromfloat:(float)f\n{\n    return [NSNumber numberWithFloat:f];\n}\n\n#pragma mark - string <-> number\n-(NSNumber*)NSNumberFromNSString:(NSString*)string\n{\n    return [NSNumber numberWithDouble:[string doubleValue]];\n}\n\n-(NSString*)NSStringFromNSNumber:(NSNumber*)number\n{\n    return [number stringValue];\n}\n\n-(NSDecimalNumber*)NSDecimalNumberFromNSString:(NSString*)string\n{\n    return [NSDecimalNumber decimalNumberWithString:string];\n}\n\n-(NSString*)NSStringFromNSDecimalNumber:(NSDecimalNumber*)number\n{\n    return [number stringValue];\n}\n\n#pragma mark - string <-> url\n-(NSURL*)NSURLFromNSString:(NSString*)string\n{\n    // do not change this behavior - there are other ways of overriding it\n    // see: https://github.com/jsonmodel/jsonmodel/pull/119\n    return [NSURL URLWithString:string];\n}\n\n-(NSString*)JSONObjectFromNSURL:(NSURL*)url\n{\n    return [url absoluteString];\n}\n\n#pragma mark - string <-> date\n-(NSDateFormatter*)importDateFormatter\n{\n    static dispatch_once_t onceInput;\n    static NSDateFormatter* inputDateFormatter;\n    dispatch_once(&onceInput, ^{\n        inputDateFormatter = [[NSDateFormatter alloc] init];\n        [inputDateFormatter setLocale:[[NSLocale alloc] initWithLocaleIdentifier:@\"en_US_POSIX\"]];\n        [inputDateFormatter setDateFormat:@\"yyyy-MM-dd'T'HHmmssZZZ\"];\n    });\n    return inputDateFormatter;\n}\n\n-(NSDate*)__NSDateFromNSString:(NSString*)string\n{\n    string = [string stringByReplacingOccurrencesOfString:@\":\" withString:@\"\"]; // this is such an ugly code, is this the only way?\n    return [self.importDateFormatter dateFromString: string];\n}\n\n-(NSString*)__JSONObjectFromNSDate:(NSDate*)date\n{\n    static dispatch_once_t onceOutput;\n    static NSDateFormatter *outputDateFormatter;\n    dispatch_once(&onceOutput, ^{\n        outputDateFormatter = [[NSDateFormatter alloc] init];\n        [outputDateFormatter setLocale:[[NSLocale alloc] initWithLocaleIdentifier:@\"en_US_POSIX\"]];\n        [outputDateFormatter setDateFormat:@\"yyyy-MM-dd'T'HH:mm:ssZZZ\"];\n    });\n    return [outputDateFormatter stringFromDate:date];\n}\n\n#pragma mark - number <-> date\n- (NSDate*)NSDateFromNSNumber:(NSNumber*)number\n{\n    return [NSDate dateWithTimeIntervalSince1970:number.doubleValue];\n}\n\n#pragma mark - string <-> NSTimeZone\n\n- (NSTimeZone *)NSTimeZoneFromNSString:(NSString *)string {\n    return [NSTimeZone timeZoneWithName:string];\n}\n\n- (id)JSONObjectFromNSTimeZone:(NSTimeZone *)timeZone {\n    return [timeZone name];\n}\n\n#pragma mark - hidden transform for empty dictionaries\n//https://github.com/jsonmodel/jsonmodel/issues/163\n-(NSDictionary*)__NSDictionaryFromNSArray:(NSArray*)array\n{\n    if (array.count==0) return @{};\n    return (id)array;\n}\n\n-(NSMutableDictionary*)__NSMutableDictionaryFromNSArray:(NSArray*)array\n{\n    if (array.count==0) return [[self __NSDictionaryFromNSArray:array] mutableCopy];\n    return (id)array;\n}\n\n@end\n"
  },
  {
    "path": "CKMeiTuanShopView/Pods/JSONModel/LICENSE",
    "content": "Copyright (c) 2012-2016 Marin Todorov and JSONModel contributors\n\nPermission is hereby granted, free of charge, to any person obtaining a copy of\nthis software and associated documentation files (the \"Software\"), to deal in\nthe Software without restriction, including without limitation the rights to\nuse, copy, modify, merge, publish, distribute, sublicense, and/or sell copies of\nthe Software, and to permit persons to whom the Software is furnished to do so,\nsubject to the following conditions:\n\nThe above copyright notice and this permission notice shall be included in all\ncopies or substantial portions of the Software.\n\nTHE SOFTWARE IS PROVIDED \"AS IS\", WITHOUT WARRANTY OF ANY KIND, EXPRESS OR\nIMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF MERCHANTABILITY, FITNESS\nFOR A PARTICULAR PURPOSE AND NONINFRINGEMENT. IN NO EVENT SHALL THE AUTHORS OR\nCOPYRIGHT HOLDERS BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER LIABILITY, WHETHER\nIN AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING FROM, OUT OF OR IN\nCONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN THE SOFTWARE.\n"
  },
  {
    "path": "CKMeiTuanShopView/Pods/JSONModel/README.md",
    "content": "# JSONModel - Magical Data Modeling Framework for JSON\n\nJSONModel allows rapid creation of smart data models. You can use it in your\niOS, macOS, watchOS and tvOS apps. Automatic introspection of your model classes\nand JSON input drastically reduces the amount of code you have to write.\n\nSee [CHANGELOG.md](CHANGELOG.md) for details on changes.\n\n## Installation\n\n### CocoaPods\n\n```ruby\npod 'JSONModel'\n```\n\n### Carthage\n\n```ruby\ngithub \"jsonmodel/jsonmodel\"\n```\n\n### Manual\n\n0. download the JSONModel repository\n0. copy the JSONModel sub-folder into your Xcode project\n0. link your app to SystemConfiguration.framework\n\n## Basic Usage\n\nConsider you have JSON like this:\n\n```json\n{ \"id\": 10, \"country\": \"Germany\", \"dialCode\": 49, \"isInEurope\": true }\n```\n\n- create a JSONModel subclass for your data model\n- declare properties in your header file with the name of the JSON keys:\n\n```objc\n@interface CountryModel : JSONModel\n@property (nonatomic) NSInteger id;\n@property (nonatomic) NSString *country;\n@property (nonatomic) NSString *dialCode;\n@property (nonatomic) BOOL isInEurope;\n@end\n```\n\nThere's no need to do anything in the implementation (`.m`) file.\n\n- initialize your model with data:\n\n```objc\nNSError *error;\nCountryModel *country = [[CountryModel alloc] initWithString:myJson error:&error];\n```\n\nIf the validation of the JSON passes. you have all the corresponding properties\nin your model populated from the JSON. JSONModel will also try to convert as\nmuch data to the types you expect. In the example above it will:\n\n- convert `id` from string (in the JSON) to an `int` for your class\n- copy the `country` value\n- convert `dialCode` from a number (in the JSON) to an `NSString` value\n- copy the `isInEurope` value\n\nAll you have to do is define the properties and their expected types.\n\n## Examples\n\n### Automatic name based mapping\n\n```json\n{\n\t\"id\": 123,\n\t\"name\": \"Product name\",\n\t\"price\": 12.95\n}\n```\n\n```objc\n@interface ProductModel : JSONModel\n@property (nonatomic) NSInteger id;\n@property (nonatomic) NSString *name;\n@property (nonatomic) float price;\n@end\n```\n\n### Model cascading (models including other models)\n\n```json\n{\n\t\"orderId\": 104,\n\t\"totalPrice\": 13.45,\n\t\"product\": {\n\t\t\"id\": 123,\n\t\t\"name\": \"Product name\",\n\t\t\"price\": 12.95\n\t}\n}\n```\n\n```objc\n@interface ProductModel : JSONModel\n@property (nonatomic) NSInteger id;\n@property (nonatomic) NSString *name;\n@property (nonatomic) float price;\n@end\n\n@interface OrderModel : JSONModel\n@property (nonatomic) NSInteger orderId;\n@property (nonatomic) float totalPrice;\n@property (nonatomic) ProductModel *product;\n@end\n```\n\n### Model collections\n\n```json\n{\n\t\"orderId\": 104,\n\t\"totalPrice\": 103.45,\n\t\"products\": [\n\t\t{\n\t\t\t\"id\": 123,\n\t\t\t\"name\": \"Product #1\",\n\t\t\t\"price\": 12.95\n\t\t},\n\t\t{\n\t\t\t\"id\": 137,\n\t\t\t\"name\": \"Product #2\",\n\t\t\t\"price\": 82.95\n\t\t}\n\t]\n}\n```\n\n```objc\n@protocol ProductModel;\n\n@interface ProductModel : JSONModel\n@property (nonatomic) NSInteger id;\n@property (nonatomic) NSString *name;\n@property (nonatomic) float price;\n@end\n\n@interface OrderModel : JSONModel\n@property (nonatomic) NSInteger orderId;\n@property (nonatomic) float totalPrice;\n@property (nonatomic) NSArray <ProductModel> *products;\n@end\n```\n\nNote: the angle brackets after `NSArray` contain a protocol. This is not the\nsame as the Objective-C generics system. They are not mutually exclusive, but\nfor JSONModel to work, the protocol must be in place.\n\n### Nested key mapping\n\n```json\n{\n\t\"orderId\": 104,\n\t\"orderDetails\": [\n\t\t{\n\t\t\t\"name\": \"Product #1\",\n\t\t\t\"price\": {\n\t\t\t\t\"usd\": 12.95\n\t\t\t}\n\t\t}\n\t]\n}\n```\n\n```objc\n@interface OrderModel : JSONModel\n@property (nonatomic) NSInteger id;\n@property (nonatomic) NSString *productName;\n@property (nonatomic) float price;\n@end\n\n@implementation OrderModel\n\n+ (JSONKeyMapper *)keyMapper\n{\n\treturn [[JSONKeyMapper alloc] initWithModelToJSONDictionary:@{\n\t\t@\"id\": @\"orderId\",\n\t\t@\"productName\": @\"orderDetails.name\",\n\t\t@\"price\": @\"orderDetails.price.usd\"\n\t}];\n}\n\n@end\n```\n\n### Map automatically to snake_case\n\n```json\n{\n\t\"order_id\": 104,\n\t\"order_product\": \"Product #1\",\n\t\"order_price\": 12.95\n}\n```\n\n```objc\n@interface OrderModel : JSONModel\n@property (nonatomic) NSInteger orderId;\n@property (nonatomic) NSString *orderProduct;\n@property (nonatomic) float orderPrice;\n@end\n\n@implementation OrderModel\n\n+ (JSONKeyMapper *)keyMapper\n{\n\treturn [JSONKeyMapper mapperForSnakeCase];\n}\n\n@end\n```\n\n### Optional properties (i.e. can be missing or null)\n\n```json\n{\n\t\"id\": 123,\n\t\"name\": null,\n\t\"price\": 12.95\n}\n```\n\n```objc\n@interface ProductModel : JSONModel\n@property (nonatomic) NSInteger id;\n@property (nonatomic) NSString <Optional> *name;\n@property (nonatomic) float price;\n@property (nonatomic) NSNumber <Optional> *uuid;\n@end\n```\n\n### Ignored properties (i.e. JSONModel completely ignores them)\n\n```json\n{\n\t\"id\": 123,\n\t\"name\": null\n}\n```\n\n```objc\n@interface ProductModel : JSONModel\n@property (nonatomic) NSInteger id;\n@property (nonatomic) NSString <Ignore> *customProperty;\n@end\n```\n\n### Making scalar types optional\n\n```json\n{\n\t\"id\": null\n}\n```\n\n```objc\n@interface ProductModel : JSONModel\n@property (nonatomic) NSInteger id;\n@end\n\n@implementation ProductModel\n\n+ (BOOL)propertyIsOptional:(NSString *)propertyName\n{\n\tif ([propertyName isEqualToString:@\"id\"])\n\t\treturn YES;\n\n\treturn NO;\n}\n\n@end\n```\n\n### Export model to `NSDictionary` or JSON\n\n```objc\nProductModel *pm = [ProductModel new];\npm.name = @\"Some Name\";\n\n// convert to dictionary\nNSDictionary *dict = [pm toDictionary];\n\n// convert to json\nNSString *string = [pm toJSONString];\n```\n\n### Custom data transformers\n\n```objc\n@interface JSONValueTransformer (CustomNSDate)\n@end\n\n@implementation JSONValueTransformer (CustomTransformer)\n\n- (NSDate *)NSDateFromNSString:(NSString *)string\n{\n\tNSDateFormatter *formatter = [NSDateFormatter new];\n\tformatter.dateFormat = APIDateFormat;\n\treturn [formatter dateFromString:string];\n}\n\n- (NSString *)JSONObjectFromNSDate:(NSDate *)date\n{\n\tNSDateFormatter *formatter = [NSDateFormatter new];\n\tformatter.dateFormat = APIDateFormat;\n\treturn [formatter stringFromDate:date];\n}\n\n@end\n```\n\n### Custom getters/setters\n\n```objc\n@interface ProductModel : JSONModel\n@property (nonatomic) NSInteger id;\n@property (nonatomic) NSString *name;\n@property (nonatomic) float price;\n@property (nonatomic) NSLocale *locale;\n@end\n\n@implementation ProductModel\n\n- (void)setLocaleWithNSString:(NSString *)string\n{\n\tself.locale = [NSLocale localeWithLocaleIdentifier:string];\n}\n\n- (void)setLocaleWithNSDictionary:(NSDictionary *)dictionary\n{\n\tself.locale = [NSLocale localeWithLocaleIdentifier:dictionary[@\"identifier\"]];\n}\n\n- (NSString *)JSONObjectForLocale\n{\n\treturn self.locale.localeIdentifier;\n}\n\n@end\n```\n\n### Custom JSON validation\n\n```objc\n\n@interface ProductModel : JSONModel\n@property (nonatomic) NSInteger id;\n@property (nonatomic) NSString *name;\n@property (nonatomic) float price;\n@property (nonatomic) NSLocale *locale;\n@property (nonatomic) NSNumber <Ignore> *minNameLength;\n@end\n\n@implementation ProductModel\n\n- (BOOL)validate:(NSError **)error\n{\n\tif (![super validate:error])\n\t\treturn NO;\n\n\tif (self.name.length < self.minNameLength.integerValue)\n\t{\n\t\t*error = [NSError errorWithDomain:@\"me.mycompany.com\" code:1 userInfo:nil];\n\t\treturn NO;\n\t}\n\n\treturn YES;\n}\n\n@end\n```\n\n## License\n\nMIT licensed - see [LICENSE](LICENSE) file.\n\n## Contributing\n\nWe love pull requests! See [CONTRIBUTING.md](CONTRIBUTING.md) for full details.\n"
  },
  {
    "path": "CKMeiTuanShopView/Pods/MBProgressHUD/LICENSE",
    "content": "Copyright © 2009-2016 Matej Bukovinski\n\nPermission is hereby granted, free of charge, to any person obtaining a copy\nof this software and associated documentation files (the \"Software\"), to deal\nin the Software without restriction, including without limitation the rights\nto use, copy, modify, merge, publish, distribute, sublicense, and/or sell\ncopies of the Software, and to permit persons to whom the Software is\nfurnished to do so, subject to the following conditions:\n\nThe above copyright notice and this permission notice shall be included in\nall copies or substantial portions of the Software.\n\nTHE SOFTWARE IS PROVIDED \"AS IS\", WITHOUT WARRANTY OF ANY KIND, EXPRESS OR\nIMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF MERCHANTABILITY,\nFITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT. IN NO EVENT SHALL THE\nAUTHORS OR COPYRIGHT HOLDERS BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER\nLIABILITY, WHETHER IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING FROM,\nOUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN\nTHE SOFTWARE."
  },
  {
    "path": "CKMeiTuanShopView/Pods/MBProgressHUD/MBProgressHUD.h",
    "content": "//\n//  MBProgressHUD.h\n//  Version 1.1.0\n//  Created by Matej Bukovinski on 2.4.09.\n//\n\n// This code is distributed under the terms and conditions of the MIT license. \n\n// Copyright © 2009-2016 Matej Bukovinski\n//\n// Permission is hereby granted, free of charge, to any person obtaining a copy\n// of this software and associated documentation files (the \"Software\"), to deal\n// in the Software without restriction, including without limitation the rights\n// to use, copy, modify, merge, publish, distribute, sublicense, and/or sell\n// copies of the Software, and to permit persons to whom the Software is\n// furnished to do so, subject to the following conditions:\n//\n// The above copyright notice and this permission notice shall be included in\n// all copies or substantial portions of the Software.\n//\n// THE SOFTWARE IS PROVIDED \"AS IS\", WITHOUT WARRANTY OF ANY KIND, EXPRESS OR\n// IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF MERCHANTABILITY,\n// FITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT. IN NO EVENT SHALL THE\n// AUTHORS OR COPYRIGHT HOLDERS BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER\n// LIABILITY, WHETHER IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING FROM,\n// OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN\n// THE SOFTWARE.\n\n#import <Foundation/Foundation.h>\n#import <UIKit/UIKit.h>\n#import <CoreGraphics/CoreGraphics.h>\n\n@class MBBackgroundView;\n@protocol MBProgressHUDDelegate;\n\n\nextern CGFloat const MBProgressMaxOffset;\n\ntypedef NS_ENUM(NSInteger, MBProgressHUDMode) {\n    /// UIActivityIndicatorView.\n    MBProgressHUDModeIndeterminate,\n    /// A round, pie-chart like, progress view.\n    MBProgressHUDModeDeterminate,\n    /// Horizontal progress bar.\n    MBProgressHUDModeDeterminateHorizontalBar,\n    /// Ring-shaped progress view.\n    MBProgressHUDModeAnnularDeterminate,\n    /// Shows a custom view.\n    MBProgressHUDModeCustomView,\n    /// Shows only labels.\n    MBProgressHUDModeText\n};\n\ntypedef NS_ENUM(NSInteger, MBProgressHUDAnimation) {\n    /// Opacity animation\n    MBProgressHUDAnimationFade,\n    /// Opacity + scale animation (zoom in when appearing zoom out when disappearing)\n    MBProgressHUDAnimationZoom,\n    /// Opacity + scale animation (zoom out style)\n    MBProgressHUDAnimationZoomOut,\n    /// Opacity + scale animation (zoom in style)\n    MBProgressHUDAnimationZoomIn\n};\n\ntypedef NS_ENUM(NSInteger, MBProgressHUDBackgroundStyle) {\n    /// Solid color background\n    MBProgressHUDBackgroundStyleSolidColor,\n    /// UIVisualEffectView or UIToolbar.layer background view\n    MBProgressHUDBackgroundStyleBlur\n};\n\ntypedef void (^MBProgressHUDCompletionBlock)(void);\n\n\nNS_ASSUME_NONNULL_BEGIN\n\n\n/** \n * Displays a simple HUD window containing a progress indicator and two optional labels for short messages.\n *\n * This is a simple drop-in class for displaying a progress HUD view similar to Apple's private UIProgressHUD class.\n * The MBProgressHUD window spans over the entire space given to it by the initWithFrame: constructor and catches all\n * user input on this region, thereby preventing the user operations on components below the view.\n *\n * @note To still allow touches to pass through the HUD, you can set hud.userInteractionEnabled = NO.\n * @attention MBProgressHUD is a UI class and should therefore only be accessed on the main thread.\n */\n@interface MBProgressHUD : UIView\n\n/**\n * Creates a new HUD, adds it to provided view and shows it. The counterpart to this method is hideHUDForView:animated:.\n *\n * @note This method sets removeFromSuperViewOnHide. The HUD will automatically be removed from the view hierarchy when hidden.\n *\n * @param view The view that the HUD will be added to\n * @param animated If set to YES the HUD will appear using the current animationType. If set to NO the HUD will not use\n * animations while appearing.\n * @return A reference to the created HUD.\n *\n * @see hideHUDForView:animated:\n * @see animationType\n */\n+ (instancetype)showHUDAddedTo:(UIView *)view animated:(BOOL)animated;\n\n/// @name Showing and hiding\n\n/**\n * Finds the top-most HUD subview that hasn't finished and hides it. The counterpart to this method is showHUDAddedTo:animated:.\n *\n * @note This method sets removeFromSuperViewOnHide. The HUD will automatically be removed from the view hierarchy when hidden.\n *\n * @param view The view that is going to be searched for a HUD subview.\n * @param animated If set to YES the HUD will disappear using the current animationType. If set to NO the HUD will not use\n * animations while disappearing.\n * @return YES if a HUD was found and removed, NO otherwise.\n *\n * @see showHUDAddedTo:animated:\n * @see animationType\n */\n+ (BOOL)hideHUDForView:(UIView *)view animated:(BOOL)animated;\n\n/**\n * Finds the top-most HUD subview that hasn't finished and returns it.\n *\n * @param view The view that is going to be searched.\n * @return A reference to the last HUD subview discovered.\n */\n+ (nullable MBProgressHUD *)HUDForView:(UIView *)view;\n\n/**\n * A convenience constructor that initializes the HUD with the view's bounds. Calls the designated constructor with\n * view.bounds as the parameter.\n *\n * @param view The view instance that will provide the bounds for the HUD. Should be the same instance as\n * the HUD's superview (i.e., the view that the HUD will be added to).\n */\n- (instancetype)initWithView:(UIView *)view;\n\n/** \n * Displays the HUD. \n *\n * @note You need to make sure that the main thread completes its run loop soon after this method call so that\n * the user interface can be updated. Call this method when your task is already set up to be executed in a new thread\n * (e.g., when using something like NSOperation or making an asynchronous call like NSURLRequest).\n *\n * @param animated If set to YES the HUD will appear using the current animationType. If set to NO the HUD will not use\n * animations while appearing.\n *\n * @see animationType\n */\n- (void)showAnimated:(BOOL)animated;\n\n/** \n * Hides the HUD. This still calls the hudWasHidden: delegate. This is the counterpart of the show: method. Use it to\n * hide the HUD when your task completes.\n *\n * @param animated If set to YES the HUD will disappear using the current animationType. If set to NO the HUD will not use\n * animations while disappearing.\n *\n * @see animationType\n */\n- (void)hideAnimated:(BOOL)animated;\n\n/** \n * Hides the HUD after a delay. This still calls the hudWasHidden: delegate. This is the counterpart of the show: method. Use it to\n * hide the HUD when your task completes.\n *\n * @param animated If set to YES the HUD will disappear using the current animationType. If set to NO the HUD will not use\n * animations while disappearing.\n * @param delay Delay in seconds until the HUD is hidden.\n *\n * @see animationType\n */\n- (void)hideAnimated:(BOOL)animated afterDelay:(NSTimeInterval)delay;\n\n/**\n * The HUD delegate object. Receives HUD state notifications.\n */\n@property (weak, nonatomic) id<MBProgressHUDDelegate> delegate;\n\n/**\n * Called after the HUD is hiden.\n */\n@property (copy, nullable) MBProgressHUDCompletionBlock completionBlock;\n\n/*\n * Grace period is the time (in seconds) that the invoked method may be run without\n * showing the HUD. If the task finishes before the grace time runs out, the HUD will\n * not be shown at all.\n * This may be used to prevent HUD display for very short tasks.\n * Defaults to 0 (no grace time).\n */\n@property (assign, nonatomic) NSTimeInterval graceTime;\n\n/**\n * The minimum time (in seconds) that the HUD is shown.\n * This avoids the problem of the HUD being shown and than instantly hidden.\n * Defaults to 0 (no minimum show time).\n */\n@property (assign, nonatomic) NSTimeInterval minShowTime;\n\n/**\n * Removes the HUD from its parent view when hidden.\n * Defaults to NO.\n */\n@property (assign, nonatomic) BOOL removeFromSuperViewOnHide;\n\n/// @name Appearance\n\n/** \n * MBProgressHUD operation mode. The default is MBProgressHUDModeIndeterminate.\n */\n@property (assign, nonatomic) MBProgressHUDMode mode;\n\n/**\n * A color that gets forwarded to all labels and supported indicators. Also sets the tintColor\n * for custom views on iOS 7+. Set to nil to manage color individually.\n * Defaults to semi-translucent black on iOS 7 and later and white on earlier iOS versions.\n */\n@property (strong, nonatomic, nullable) UIColor *contentColor UI_APPEARANCE_SELECTOR;\n\n/**\n * The animation type that should be used when the HUD is shown and hidden.\n */\n@property (assign, nonatomic) MBProgressHUDAnimation animationType UI_APPEARANCE_SELECTOR;\n\n/**\n * The bezel offset relative to the center of the view. You can use MBProgressMaxOffset\n * and -MBProgressMaxOffset to move the HUD all the way to the screen edge in each direction.\n * E.g., CGPointMake(0.f, MBProgressMaxOffset) would position the HUD centered on the bottom edge.\n */\n@property (assign, nonatomic) CGPoint offset UI_APPEARANCE_SELECTOR;\n\n/**\n * The amount of space between the HUD edge and the HUD elements (labels, indicators or custom views).\n * This also represents the minimum bezel distance to the edge of the HUD view.\n * Defaults to 20.f\n */\n@property (assign, nonatomic) CGFloat margin UI_APPEARANCE_SELECTOR;\n\n/**\n * The minimum size of the HUD bezel. Defaults to CGSizeZero (no minimum size).\n */\n@property (assign, nonatomic) CGSize minSize UI_APPEARANCE_SELECTOR;\n\n/**\n * Force the HUD dimensions to be equal if possible.\n */\n@property (assign, nonatomic, getter = isSquare) BOOL square UI_APPEARANCE_SELECTOR;\n\n/**\n * When enabled, the bezel center gets slightly affected by the device accelerometer data.\n * Has no effect on iOS < 7.0. Defaults to YES.\n */\n@property (assign, nonatomic, getter=areDefaultMotionEffectsEnabled) BOOL defaultMotionEffectsEnabled UI_APPEARANCE_SELECTOR;\n\n/// @name Progress\n\n/**\n * The progress of the progress indicator, from 0.0 to 1.0. Defaults to 0.0.\n */\n@property (assign, nonatomic) float progress;\n\n/// @name ProgressObject\n\n/**\n * The NSProgress object feeding the progress information to the progress indicator.\n */\n@property (strong, nonatomic, nullable) NSProgress *progressObject;\n\n/// @name Views\n\n/**\n * The view containing the labels and indicator (or customView).\n */\n@property (strong, nonatomic, readonly) MBBackgroundView *bezelView;\n\n/**\n * View covering the entire HUD area, placed behind bezelView.\n */\n@property (strong, nonatomic, readonly) MBBackgroundView *backgroundView;\n\n/**\n * The UIView (e.g., a UIImageView) to be shown when the HUD is in MBProgressHUDModeCustomView.\n * The view should implement intrinsicContentSize for proper sizing. For best results use approximately 37 by 37 pixels.\n */\n@property (strong, nonatomic, nullable) UIView *customView;\n\n/**\n * A label that holds an optional short message to be displayed below the activity indicator. The HUD is automatically resized to fit\n * the entire text.\n */\n@property (strong, nonatomic, readonly) UILabel *label;\n\n/**\n * A label that holds an optional details message displayed below the labelText message. The details text can span multiple lines.\n */\n@property (strong, nonatomic, readonly) UILabel *detailsLabel;\n\n/**\n * A button that is placed below the labels. Visible only if a target / action is added. \n */\n@property (strong, nonatomic, readonly) UIButton *button;\n\n@end\n\n\n@protocol MBProgressHUDDelegate <NSObject>\n\n@optional\n\n/** \n * Called after the HUD was fully hidden from the screen. \n */\n- (void)hudWasHidden:(MBProgressHUD *)hud;\n\n@end\n\n\n/**\n * A progress view for showing definite progress by filling up a circle (pie chart).\n */\n@interface MBRoundProgressView : UIView \n\n/**\n * Progress (0.0 to 1.0)\n */\n@property (nonatomic, assign) float progress;\n\n/**\n * Indicator progress color.\n * Defaults to white [UIColor whiteColor].\n */\n@property (nonatomic, strong) UIColor *progressTintColor;\n\n/**\n * Indicator background (non-progress) color. \n * Only applicable on iOS versions older than iOS 7.\n * Defaults to translucent white (alpha 0.1).\n */\n@property (nonatomic, strong) UIColor *backgroundTintColor;\n\n/*\n * Display mode - NO = round or YES = annular. Defaults to round.\n */\n@property (nonatomic, assign, getter = isAnnular) BOOL annular;\n\n@end\n\n\n/**\n * A flat bar progress view. \n */\n@interface MBBarProgressView : UIView\n\n/**\n * Progress (0.0 to 1.0)\n */\n@property (nonatomic, assign) float progress;\n\n/**\n * Bar border line color.\n * Defaults to white [UIColor whiteColor].\n */\n@property (nonatomic, strong) UIColor *lineColor;\n\n/**\n * Bar background color.\n * Defaults to clear [UIColor clearColor];\n */\n@property (nonatomic, strong) UIColor *progressRemainingColor;\n\n/**\n * Bar progress color.\n * Defaults to white [UIColor whiteColor].\n */\n@property (nonatomic, strong) UIColor *progressColor;\n\n@end\n\n\n@interface MBBackgroundView : UIView\n\n/**\n * The background style. \n * Defaults to MBProgressHUDBackgroundStyleBlur on iOS 7 or later and MBProgressHUDBackgroundStyleSolidColor otherwise.\n * @note Due to iOS 7 not supporting UIVisualEffectView, the blur effect differs slightly between iOS 7 and later versions.\n */\n@property (nonatomic) MBProgressHUDBackgroundStyle style;\n\n#if __IPHONE_OS_VERSION_MAX_ALLOWED >= 80000 || TARGET_OS_TV\n/**\n * The blur effect style, when using MBProgressHUDBackgroundStyleBlur.\n * Defaults to UIBlurEffectStyleLight.\n */\n@property (nonatomic) UIBlurEffectStyle blurEffectStyle;\n#endif\n\n/**\n * The background color or the blur tint color.\n * @note Due to iOS 7 not supporting UIVisualEffectView, the blur effect differs slightly between iOS 7 and later versions.\n */\n@property (nonatomic, strong) UIColor *color;\n\n@end\n\n@interface MBProgressHUD (Deprecated)\n\n+ (NSArray *)allHUDsForView:(UIView *)view __attribute__((deprecated(\"Store references when using more than one HUD per view.\")));\n+ (NSUInteger)hideAllHUDsForView:(UIView *)view animated:(BOOL)animated __attribute__((deprecated(\"Store references when using more than one HUD per view.\")));\n\n- (id)initWithWindow:(UIWindow *)window __attribute__((deprecated(\"Use initWithView: instead.\")));\n\n- (void)show:(BOOL)animated __attribute__((deprecated(\"Use showAnimated: instead.\")));\n- (void)hide:(BOOL)animated __attribute__((deprecated(\"Use hideAnimated: instead.\")));\n- (void)hide:(BOOL)animated afterDelay:(NSTimeInterval)delay __attribute__((deprecated(\"Use hideAnimated:afterDelay: instead.\")));\n\n- (void)showWhileExecuting:(SEL)method onTarget:(id)target withObject:(id)object animated:(BOOL)animated __attribute__((deprecated(\"Use GCD directly.\")));\n- (void)showAnimated:(BOOL)animated whileExecutingBlock:(dispatch_block_t)block __attribute__((deprecated(\"Use GCD directly.\")));\n- (void)showAnimated:(BOOL)animated whileExecutingBlock:(dispatch_block_t)block completionBlock:(nullable MBProgressHUDCompletionBlock)completion __attribute__((deprecated(\"Use GCD directly.\")));\n- (void)showAnimated:(BOOL)animated whileExecutingBlock:(dispatch_block_t)block onQueue:(dispatch_queue_t)queue __attribute__((deprecated(\"Use GCD directly.\")));\n- (void)showAnimated:(BOOL)animated whileExecutingBlock:(dispatch_block_t)block onQueue:(dispatch_queue_t)queue\n     completionBlock:(nullable MBProgressHUDCompletionBlock)completion __attribute__((deprecated(\"Use GCD directly.\")));\n@property (assign) BOOL taskInProgress __attribute__((deprecated(\"No longer needed.\")));\n\n@property (nonatomic, copy) NSString *labelText __attribute__((deprecated(\"Use label.text instead.\")));\n@property (nonatomic, strong) UIFont *labelFont __attribute__((deprecated(\"Use label.font instead.\")));\n@property (nonatomic, strong) UIColor *labelColor __attribute__((deprecated(\"Use label.textColor instead.\")));\n@property (nonatomic, copy) NSString *detailsLabelText __attribute__((deprecated(\"Use detailsLabel.text instead.\")));\n@property (nonatomic, strong) UIFont *detailsLabelFont __attribute__((deprecated(\"Use detailsLabel.font instead.\")));\n@property (nonatomic, strong) UIColor *detailsLabelColor __attribute__((deprecated(\"Use detailsLabel.textColor instead.\")));\n@property (assign, nonatomic) CGFloat opacity __attribute__((deprecated(\"Customize bezelView properties instead.\")));\n@property (strong, nonatomic) UIColor *color __attribute__((deprecated(\"Customize the bezelView color instead.\")));\n@property (assign, nonatomic) CGFloat xOffset __attribute__((deprecated(\"Set offset.x instead.\")));\n@property (assign, nonatomic) CGFloat yOffset __attribute__((deprecated(\"Set offset.y instead.\")));\n@property (assign, nonatomic) CGFloat cornerRadius __attribute__((deprecated(\"Set bezelView.layer.cornerRadius instead.\")));\n@property (assign, nonatomic) BOOL dimBackground __attribute__((deprecated(\"Customize HUD background properties instead.\")));\n@property (strong, nonatomic) UIColor *activityIndicatorColor __attribute__((deprecated(\"Use UIAppearance to customize UIActivityIndicatorView. E.g.: [UIActivityIndicatorView appearanceWhenContainedIn:[MBProgressHUD class], nil].color = [UIColor redColor];\")));\n@property (atomic, assign, readonly) CGSize size __attribute__((deprecated(\"Get the bezelView.frame.size instead.\")));\n\n@end\n\nNS_ASSUME_NONNULL_END\n"
  },
  {
    "path": "CKMeiTuanShopView/Pods/MBProgressHUD/MBProgressHUD.m",
    "content": "//\n// MBProgressHUD.m\n// Version 1.1.0\n// Created by Matej Bukovinski on 2.4.09.\n//\n\n#import \"MBProgressHUD.h\"\n#import <tgmath.h>\n\n\n#ifndef kCFCoreFoundationVersionNumber_iOS_7_0\n    #define kCFCoreFoundationVersionNumber_iOS_7_0 847.20\n#endif\n\n#ifndef kCFCoreFoundationVersionNumber_iOS_8_0\n    #define kCFCoreFoundationVersionNumber_iOS_8_0 1129.15\n#endif\n\n#define MBMainThreadAssert() NSAssert([NSThread isMainThread], @\"MBProgressHUD needs to be accessed on the main thread.\");\n\nCGFloat const MBProgressMaxOffset = 1000000.f;\n\nstatic const CGFloat MBDefaultPadding = 4.f;\nstatic const CGFloat MBDefaultLabelFontSize = 16.f;\nstatic const CGFloat MBDefaultDetailsLabelFontSize = 12.f;\n\n\n@interface MBProgressHUD () {\n    // Deprecated\n    UIColor *_activityIndicatorColor;\n    CGFloat _opacity;\n}\n\n@property (nonatomic, assign) BOOL useAnimation;\n@property (nonatomic, assign, getter=hasFinished) BOOL finished;\n@property (nonatomic, strong) UIView *indicator;\n@property (nonatomic, strong) NSDate *showStarted;\n@property (nonatomic, strong) NSArray *paddingConstraints;\n@property (nonatomic, strong) NSArray *bezelConstraints;\n@property (nonatomic, strong) UIView *topSpacer;\n@property (nonatomic, strong) UIView *bottomSpacer;\n@property (nonatomic, weak) NSTimer *graceTimer;\n@property (nonatomic, weak) NSTimer *minShowTimer;\n@property (nonatomic, weak) NSTimer *hideDelayTimer;\n@property (nonatomic, weak) CADisplayLink *progressObjectDisplayLink;\n\n// Deprecated\n@property (assign) BOOL taskInProgress;\n\n@end\n\n\n@interface MBProgressHUDRoundedButton : UIButton\n@end\n\n\n@implementation MBProgressHUD\n\n#pragma mark - Class methods\n\n+ (instancetype)showHUDAddedTo:(UIView *)view animated:(BOOL)animated {\n    MBProgressHUD *hud = [[self alloc] initWithView:view];\n    hud.removeFromSuperViewOnHide = YES;\n    [view addSubview:hud];\n    [hud showAnimated:animated];\n    return hud;\n}\n\n+ (BOOL)hideHUDForView:(UIView *)view animated:(BOOL)animated {\n    MBProgressHUD *hud = [self HUDForView:view];\n    if (hud != nil) {\n        hud.removeFromSuperViewOnHide = YES;\n        [hud hideAnimated:animated];\n        return YES;\n    }\n    return NO;\n}\n\n+ (MBProgressHUD *)HUDForView:(UIView *)view {\n    NSEnumerator *subviewsEnum = [view.subviews reverseObjectEnumerator];\n    for (UIView *subview in subviewsEnum) {\n        if ([subview isKindOfClass:self]) {\n            MBProgressHUD *hud = (MBProgressHUD *)subview;\n            if (hud.hasFinished == NO) {\n                return hud;\n            }\n        }\n    }\n    return nil;\n}\n\n#pragma mark - Lifecycle\n\n- (void)commonInit {\n    // Set default values for properties\n    _animationType = MBProgressHUDAnimationFade;\n    _mode = MBProgressHUDModeIndeterminate;\n    _margin = 20.0f;\n    _opacity = 1.f;\n    _defaultMotionEffectsEnabled = YES;\n\n    // Default color, depending on the current iOS version\n    BOOL isLegacy = kCFCoreFoundationVersionNumber < kCFCoreFoundationVersionNumber_iOS_7_0;\n    _contentColor = isLegacy ? [UIColor whiteColor] : [UIColor colorWithWhite:0.f alpha:0.7f];\n    // Transparent background\n    self.opaque = NO;\n    self.backgroundColor = [UIColor clearColor];\n    // Make it invisible for now\n    self.alpha = 0.0f;\n    self.autoresizingMask = UIViewAutoresizingFlexibleWidth | UIViewAutoresizingFlexibleHeight;\n    self.layer.allowsGroupOpacity = NO;\n\n    [self setupViews];\n    [self updateIndicators];\n    [self registerForNotifications];\n}\n\n- (instancetype)initWithFrame:(CGRect)frame {\n    if ((self = [super initWithFrame:frame])) {\n        [self commonInit];\n    }\n    return self;\n}\n\n- (instancetype)initWithCoder:(NSCoder *)aDecoder {\n    if ((self = [super initWithCoder:aDecoder])) {\n        [self commonInit];\n    }\n    return self;\n}\n\n- (id)initWithView:(UIView *)view {\n    NSAssert(view, @\"View must not be nil.\");\n    return [self initWithFrame:view.bounds];\n}\n\n- (void)dealloc {\n    [self unregisterFromNotifications];\n}\n\n#pragma mark - Show & hide\n\n- (void)showAnimated:(BOOL)animated {\n    MBMainThreadAssert();\n    [self.minShowTimer invalidate];\n    self.useAnimation = animated;\n    self.finished = NO;\n    // If the grace time is set, postpone the HUD display\n    if (self.graceTime > 0.0) {\n        NSTimer *timer = [NSTimer timerWithTimeInterval:self.graceTime target:self selector:@selector(handleGraceTimer:) userInfo:nil repeats:NO];\n        [[NSRunLoop currentRunLoop] addTimer:timer forMode:NSRunLoopCommonModes];\n        self.graceTimer = timer;\n    } \n    // ... otherwise show the HUD immediately\n    else {\n        [self showUsingAnimation:self.useAnimation];\n    }\n}\n\n- (void)hideAnimated:(BOOL)animated {\n    MBMainThreadAssert();\n    [self.graceTimer invalidate];\n    self.useAnimation = animated;\n    self.finished = YES;\n    // If the minShow time is set, calculate how long the HUD was shown,\n    // and postpone the hiding operation if necessary\n    if (self.minShowTime > 0.0 && self.showStarted) {\n        NSTimeInterval interv = [[NSDate date] timeIntervalSinceDate:self.showStarted];\n        if (interv < self.minShowTime) {\n            NSTimer *timer = [NSTimer timerWithTimeInterval:(self.minShowTime - interv) target:self selector:@selector(handleMinShowTimer:) userInfo:nil repeats:NO];\n            [[NSRunLoop currentRunLoop] addTimer:timer forMode:NSRunLoopCommonModes];\n            self.minShowTimer = timer;\n            return;\n        } \n    }\n    // ... otherwise hide the HUD immediately\n    [self hideUsingAnimation:self.useAnimation];\n}\n\n- (void)hideAnimated:(BOOL)animated afterDelay:(NSTimeInterval)delay {\n    // Cancel any scheduled hideDelayed: calls\n    [self.hideDelayTimer invalidate];\n\n    NSTimer *timer = [NSTimer timerWithTimeInterval:delay target:self selector:@selector(handleHideTimer:) userInfo:@(animated) repeats:NO];\n    [[NSRunLoop currentRunLoop] addTimer:timer forMode:NSRunLoopCommonModes];\n    self.hideDelayTimer = timer;\n}\n\n#pragma mark - Timer callbacks\n\n- (void)handleGraceTimer:(NSTimer *)theTimer {\n    // Show the HUD only if the task is still running\n    if (!self.hasFinished) {\n        [self showUsingAnimation:self.useAnimation];\n    }\n}\n\n- (void)handleMinShowTimer:(NSTimer *)theTimer {\n    [self hideUsingAnimation:self.useAnimation];\n}\n\n- (void)handleHideTimer:(NSTimer *)timer {\n    [self hideAnimated:[timer.userInfo boolValue]];\n}\n\n#pragma mark - View Hierrarchy\n\n- (void)didMoveToSuperview {\n    [self updateForCurrentOrientationAnimated:NO];\n}\n\n#pragma mark - Internal show & hide operations\n\n- (void)showUsingAnimation:(BOOL)animated {\n    // Cancel any previous animations\n    [self.bezelView.layer removeAllAnimations];\n    [self.backgroundView.layer removeAllAnimations];\n\n    // Cancel any scheduled hideDelayed: calls\n    [self.hideDelayTimer invalidate];\n\n    self.showStarted = [NSDate date];\n    self.alpha = 1.f;\n\n    // Needed in case we hide and re-show with the same NSProgress object attached.\n    [self setNSProgressDisplayLinkEnabled:YES];\n\n    if (animated) {\n        [self animateIn:YES withType:self.animationType completion:NULL];\n    } else {\n#pragma clang diagnostic push\n#pragma clang diagnostic ignored \"-Wdeprecated-declarations\"\n        self.bezelView.alpha = self.opacity;\n#pragma clang diagnostic pop\n        self.backgroundView.alpha = 1.f;\n    }\n}\n\n- (void)hideUsingAnimation:(BOOL)animated {\n    if (animated && self.showStarted) {\n        self.showStarted = nil;\n        [self animateIn:NO withType:self.animationType completion:^(BOOL finished) {\n            [self done];\n        }];\n    } else {\n        self.showStarted = nil;\n        self.bezelView.alpha = 0.f;\n        self.backgroundView.alpha = 1.f;\n        [self done];\n    }\n}\n\n- (void)animateIn:(BOOL)animatingIn withType:(MBProgressHUDAnimation)type completion:(void(^)(BOOL finished))completion {\n    // Automatically determine the correct zoom animation type\n    if (type == MBProgressHUDAnimationZoom) {\n        type = animatingIn ? MBProgressHUDAnimationZoomIn : MBProgressHUDAnimationZoomOut;\n    }\n\n    CGAffineTransform small = CGAffineTransformMakeScale(0.5f, 0.5f);\n    CGAffineTransform large = CGAffineTransformMakeScale(1.5f, 1.5f);\n\n    // Set starting state\n    UIView *bezelView = self.bezelView;\n    if (animatingIn && bezelView.alpha == 0.f && type == MBProgressHUDAnimationZoomIn) {\n        bezelView.transform = small;\n    } else if (animatingIn && bezelView.alpha == 0.f && type == MBProgressHUDAnimationZoomOut) {\n        bezelView.transform = large;\n    }\n\n    // Perform animations\n    dispatch_block_t animations = ^{\n        if (animatingIn) {\n            bezelView.transform = CGAffineTransformIdentity;\n        } else if (!animatingIn && type == MBProgressHUDAnimationZoomIn) {\n            bezelView.transform = large;\n        } else if (!animatingIn && type == MBProgressHUDAnimationZoomOut) {\n            bezelView.transform = small;\n        }\n#pragma clang diagnostic push\n#pragma clang diagnostic ignored \"-Wdeprecated-declarations\"\n        bezelView.alpha = animatingIn ? self.opacity : 0.f;\n#pragma clang diagnostic pop\n        self.backgroundView.alpha = animatingIn ? 1.f : 0.f;\n    };\n\n    // Spring animations are nicer, but only available on iOS 7+\n#if __IPHONE_OS_VERSION_MAX_ALLOWED >= 70000 || TARGET_OS_TV\n    if (kCFCoreFoundationVersionNumber >= kCFCoreFoundationVersionNumber_iOS_7_0) {\n        [UIView animateWithDuration:0.3 delay:0. usingSpringWithDamping:1.f initialSpringVelocity:0.f options:UIViewAnimationOptionBeginFromCurrentState animations:animations completion:completion];\n        return;\n    }\n#endif\n    [UIView animateWithDuration:0.3 delay:0. options:UIViewAnimationOptionBeginFromCurrentState animations:animations completion:completion];\n}\n\n- (void)done {\n    // Cancel any scheduled hideDelayed: calls\n    [self.hideDelayTimer invalidate];\n    [self setNSProgressDisplayLinkEnabled:NO];\n\n    if (self.hasFinished) {\n        self.alpha = 0.0f;\n        if (self.removeFromSuperViewOnHide) {\n            [self removeFromSuperview];\n        }\n    }\n    MBProgressHUDCompletionBlock completionBlock = self.completionBlock;\n    if (completionBlock) {\n        completionBlock();\n    }\n    id<MBProgressHUDDelegate> delegate = self.delegate;\n    if ([delegate respondsToSelector:@selector(hudWasHidden:)]) {\n        [delegate performSelector:@selector(hudWasHidden:) withObject:self];\n    }\n}\n\n#pragma mark - UI\n\n- (void)setupViews {\n    UIColor *defaultColor = self.contentColor;\n\n    MBBackgroundView *backgroundView = [[MBBackgroundView alloc] initWithFrame:self.bounds];\n    backgroundView.style = MBProgressHUDBackgroundStyleSolidColor;\n    backgroundView.backgroundColor = [UIColor clearColor];\n    backgroundView.autoresizingMask = UIViewAutoresizingFlexibleWidth | UIViewAutoresizingFlexibleHeight;\n    backgroundView.alpha = 0.f;\n    [self addSubview:backgroundView];\n    _backgroundView = backgroundView;\n\n    MBBackgroundView *bezelView = [MBBackgroundView new];\n    bezelView.translatesAutoresizingMaskIntoConstraints = NO;\n    bezelView.layer.cornerRadius = 5.f;\n    bezelView.alpha = 0.f;\n    [self addSubview:bezelView];\n    _bezelView = bezelView;\n    [self updateBezelMotionEffects];\n\n    UILabel *label = [UILabel new];\n    label.adjustsFontSizeToFitWidth = NO;\n    label.textAlignment = NSTextAlignmentCenter;\n    label.textColor = defaultColor;\n    label.font = [UIFont boldSystemFontOfSize:MBDefaultLabelFontSize];\n    label.opaque = NO;\n    label.backgroundColor = [UIColor clearColor];\n    _label = label;\n\n    UILabel *detailsLabel = [UILabel new];\n    detailsLabel.adjustsFontSizeToFitWidth = NO;\n    detailsLabel.textAlignment = NSTextAlignmentCenter;\n    detailsLabel.textColor = defaultColor;\n    detailsLabel.numberOfLines = 0;\n    detailsLabel.font = [UIFont boldSystemFontOfSize:MBDefaultDetailsLabelFontSize];\n    detailsLabel.opaque = NO;\n    detailsLabel.backgroundColor = [UIColor clearColor];\n    _detailsLabel = detailsLabel;\n\n    UIButton *button = [MBProgressHUDRoundedButton buttonWithType:UIButtonTypeCustom];\n    button.titleLabel.textAlignment = NSTextAlignmentCenter;\n    button.titleLabel.font = [UIFont boldSystemFontOfSize:MBDefaultDetailsLabelFontSize];\n    [button setTitleColor:defaultColor forState:UIControlStateNormal];\n    _button = button;\n\n    for (UIView *view in @[label, detailsLabel, button]) {\n        view.translatesAutoresizingMaskIntoConstraints = NO;\n        [view setContentCompressionResistancePriority:998.f forAxis:UILayoutConstraintAxisHorizontal];\n        [view setContentCompressionResistancePriority:998.f forAxis:UILayoutConstraintAxisVertical];\n        [bezelView addSubview:view];\n    }\n\n    UIView *topSpacer = [UIView new];\n    topSpacer.translatesAutoresizingMaskIntoConstraints = NO;\n    topSpacer.hidden = YES;\n    [bezelView addSubview:topSpacer];\n    _topSpacer = topSpacer;\n\n    UIView *bottomSpacer = [UIView new];\n    bottomSpacer.translatesAutoresizingMaskIntoConstraints = NO;\n    bottomSpacer.hidden = YES;\n    [bezelView addSubview:bottomSpacer];\n    _bottomSpacer = bottomSpacer;\n}\n\n- (void)updateIndicators {\n    UIView *indicator = self.indicator;\n    BOOL isActivityIndicator = [indicator isKindOfClass:[UIActivityIndicatorView class]];\n    BOOL isRoundIndicator = [indicator isKindOfClass:[MBRoundProgressView class]];\n\n    MBProgressHUDMode mode = self.mode;\n    if (mode == MBProgressHUDModeIndeterminate) {\n        if (!isActivityIndicator) {\n            // Update to indeterminate indicator\n            [indicator removeFromSuperview];\n            indicator = [[UIActivityIndicatorView alloc] initWithActivityIndicatorStyle:UIActivityIndicatorViewStyleWhiteLarge];\n            [(UIActivityIndicatorView *)indicator startAnimating];\n            [self.bezelView addSubview:indicator];\n        }\n    }\n    else if (mode == MBProgressHUDModeDeterminateHorizontalBar) {\n        // Update to bar determinate indicator\n        [indicator removeFromSuperview];\n        indicator = [[MBBarProgressView alloc] init];\n        [self.bezelView addSubview:indicator];\n    }\n    else if (mode == MBProgressHUDModeDeterminate || mode == MBProgressHUDModeAnnularDeterminate) {\n        if (!isRoundIndicator) {\n            // Update to determinante indicator\n            [indicator removeFromSuperview];\n            indicator = [[MBRoundProgressView alloc] init];\n            [self.bezelView addSubview:indicator];\n        }\n        if (mode == MBProgressHUDModeAnnularDeterminate) {\n            [(MBRoundProgressView *)indicator setAnnular:YES];\n        }\n    } \n    else if (mode == MBProgressHUDModeCustomView && self.customView != indicator) {\n        // Update custom view indicator\n        [indicator removeFromSuperview];\n        indicator = self.customView;\n        [self.bezelView addSubview:indicator];\n    }\n    else if (mode == MBProgressHUDModeText) {\n        [indicator removeFromSuperview];\n        indicator = nil;\n    }\n    indicator.translatesAutoresizingMaskIntoConstraints = NO;\n    self.indicator = indicator;\n\n    if ([indicator respondsToSelector:@selector(setProgress:)]) {\n        [(id)indicator setValue:@(self.progress) forKey:@\"progress\"];\n    }\n\n    [indicator setContentCompressionResistancePriority:998.f forAxis:UILayoutConstraintAxisHorizontal];\n    [indicator setContentCompressionResistancePriority:998.f forAxis:UILayoutConstraintAxisVertical];\n\n    [self updateViewsForColor:self.contentColor];\n    [self setNeedsUpdateConstraints];\n}\n\n- (void)updateViewsForColor:(UIColor *)color {\n    if (!color) return;\n\n    self.label.textColor = color;\n    self.detailsLabel.textColor = color;\n    [self.button setTitleColor:color forState:UIControlStateNormal];\n\n#pragma clang diagnostic push\n#pragma clang diagnostic ignored \"-Wdeprecated-declarations\"\n    if (self.activityIndicatorColor) {\n        color = self.activityIndicatorColor;\n    }\n#pragma clang diagnostic pop\n\n    // UIAppearance settings are prioritized. If they are preset the set color is ignored.\n\n    UIView *indicator = self.indicator;\n    if ([indicator isKindOfClass:[UIActivityIndicatorView class]]) {\n        UIActivityIndicatorView *appearance = nil;\n#if __IPHONE_OS_VERSION_MIN_REQUIRED < 90000\n        appearance = [UIActivityIndicatorView appearanceWhenContainedIn:[MBProgressHUD class], nil];\n#else\n        // For iOS 9+\n        appearance = [UIActivityIndicatorView appearanceWhenContainedInInstancesOfClasses:@[[MBProgressHUD class]]];\n#endif\n        \n        if (appearance.color == nil) {\n            ((UIActivityIndicatorView *)indicator).color = color;\n        }\n    } else if ([indicator isKindOfClass:[MBRoundProgressView class]]) {\n        MBRoundProgressView *appearance = nil;\n#if __IPHONE_OS_VERSION_MIN_REQUIRED < 90000\n        appearance = [MBRoundProgressView appearanceWhenContainedIn:[MBProgressHUD class], nil];\n#else\n        appearance = [MBRoundProgressView appearanceWhenContainedInInstancesOfClasses:@[[MBProgressHUD class]]];\n#endif\n        if (appearance.progressTintColor == nil) {\n            ((MBRoundProgressView *)indicator).progressTintColor = color;\n        }\n        if (appearance.backgroundTintColor == nil) {\n            ((MBRoundProgressView *)indicator).backgroundTintColor = [color colorWithAlphaComponent:0.1];\n        }\n    } else if ([indicator isKindOfClass:[MBBarProgressView class]]) {\n        MBBarProgressView *appearance = nil;\n#if __IPHONE_OS_VERSION_MIN_REQUIRED < 90000\n        appearance = [MBBarProgressView appearanceWhenContainedIn:[MBProgressHUD class], nil];\n#else\n        appearance = [MBBarProgressView appearanceWhenContainedInInstancesOfClasses:@[[MBProgressHUD class]]];\n#endif\n        if (appearance.progressColor == nil) {\n            ((MBBarProgressView *)indicator).progressColor = color;\n        }\n        if (appearance.lineColor == nil) {\n            ((MBBarProgressView *)indicator).lineColor = color;\n        }\n    } else {\n#if __IPHONE_OS_VERSION_MAX_ALLOWED >= 70000 || TARGET_OS_TV\n        if ([indicator respondsToSelector:@selector(setTintColor:)]) {\n            [indicator setTintColor:color];\n        }\n#endif\n    }\n}\n\n- (void)updateBezelMotionEffects {\n#if __IPHONE_OS_VERSION_MAX_ALLOWED >= 70000 || TARGET_OS_TV\n    MBBackgroundView *bezelView = self.bezelView;\n    if (![bezelView respondsToSelector:@selector(addMotionEffect:)]) return;\n\n    if (self.defaultMotionEffectsEnabled) {\n        CGFloat effectOffset = 10.f;\n        UIInterpolatingMotionEffect *effectX = [[UIInterpolatingMotionEffect alloc] initWithKeyPath:@\"center.x\" type:UIInterpolatingMotionEffectTypeTiltAlongHorizontalAxis];\n        effectX.maximumRelativeValue = @(effectOffset);\n        effectX.minimumRelativeValue = @(-effectOffset);\n\n        UIInterpolatingMotionEffect *effectY = [[UIInterpolatingMotionEffect alloc] initWithKeyPath:@\"center.y\" type:UIInterpolatingMotionEffectTypeTiltAlongVerticalAxis];\n        effectY.maximumRelativeValue = @(effectOffset);\n        effectY.minimumRelativeValue = @(-effectOffset);\n\n        UIMotionEffectGroup *group = [[UIMotionEffectGroup alloc] init];\n        group.motionEffects = @[effectX, effectY];\n\n        [bezelView addMotionEffect:group];\n    } else {\n        NSArray *effects = [bezelView motionEffects];\n        for (UIMotionEffect *effect in effects) {\n            [bezelView removeMotionEffect:effect];\n        }\n    }\n#endif\n}\n\n#pragma mark - Layout\n\n- (void)updateConstraints {\n    UIView *bezel = self.bezelView;\n    UIView *topSpacer = self.topSpacer;\n    UIView *bottomSpacer = self.bottomSpacer;\n    CGFloat margin = self.margin;\n    NSMutableArray *bezelConstraints = [NSMutableArray array];\n    NSDictionary *metrics = @{@\"margin\": @(margin)};\n\n    NSMutableArray *subviews = [NSMutableArray arrayWithObjects:self.topSpacer, self.label, self.detailsLabel, self.button, self.bottomSpacer, nil];\n    if (self.indicator) [subviews insertObject:self.indicator atIndex:1];\n\n    // Remove existing constraints\n    [self removeConstraints:self.constraints];\n    [topSpacer removeConstraints:topSpacer.constraints];\n    [bottomSpacer removeConstraints:bottomSpacer.constraints];\n    if (self.bezelConstraints) {\n        [bezel removeConstraints:self.bezelConstraints];\n        self.bezelConstraints = nil;\n    }\n\n    // Center bezel in container (self), applying the offset if set\n    CGPoint offset = self.offset;\n    NSMutableArray *centeringConstraints = [NSMutableArray array];\n    [centeringConstraints addObject:[NSLayoutConstraint constraintWithItem:bezel attribute:NSLayoutAttributeCenterX relatedBy:NSLayoutRelationEqual toItem:self attribute:NSLayoutAttributeCenterX multiplier:1.f constant:offset.x]];\n    [centeringConstraints addObject:[NSLayoutConstraint constraintWithItem:bezel attribute:NSLayoutAttributeCenterY relatedBy:NSLayoutRelationEqual toItem:self attribute:NSLayoutAttributeCenterY multiplier:1.f constant:offset.y]];\n    [self applyPriority:998.f toConstraints:centeringConstraints];\n    [self addConstraints:centeringConstraints];\n\n    // Ensure minimum side margin is kept\n    NSMutableArray *sideConstraints = [NSMutableArray array];\n    [sideConstraints addObjectsFromArray:[NSLayoutConstraint constraintsWithVisualFormat:@\"|-(>=margin)-[bezel]-(>=margin)-|\" options:0 metrics:metrics views:NSDictionaryOfVariableBindings(bezel)]];\n    [sideConstraints addObjectsFromArray:[NSLayoutConstraint constraintsWithVisualFormat:@\"V:|-(>=margin)-[bezel]-(>=margin)-|\" options:0 metrics:metrics views:NSDictionaryOfVariableBindings(bezel)]];\n    [self applyPriority:999.f toConstraints:sideConstraints];\n    [self addConstraints:sideConstraints];\n\n    // Minimum bezel size, if set\n    CGSize minimumSize = self.minSize;\n    if (!CGSizeEqualToSize(minimumSize, CGSizeZero)) {\n        NSMutableArray *minSizeConstraints = [NSMutableArray array];\n        [minSizeConstraints addObject:[NSLayoutConstraint constraintWithItem:bezel attribute:NSLayoutAttributeWidth relatedBy:NSLayoutRelationGreaterThanOrEqual toItem:nil attribute:NSLayoutAttributeNotAnAttribute multiplier:1.f constant:minimumSize.width]];\n        [minSizeConstraints addObject:[NSLayoutConstraint constraintWithItem:bezel attribute:NSLayoutAttributeHeight relatedBy:NSLayoutRelationGreaterThanOrEqual toItem:nil attribute:NSLayoutAttributeNotAnAttribute multiplier:1.f constant:minimumSize.height]];\n        [self applyPriority:997.f toConstraints:minSizeConstraints];\n        [bezelConstraints addObjectsFromArray:minSizeConstraints];\n    }\n\n    // Square aspect ratio, if set\n    if (self.square) {\n        NSLayoutConstraint *square = [NSLayoutConstraint constraintWithItem:bezel attribute:NSLayoutAttributeHeight relatedBy:NSLayoutRelationEqual toItem:bezel attribute:NSLayoutAttributeWidth multiplier:1.f constant:0];\n        square.priority = 997.f;\n        [bezelConstraints addObject:square];\n    }\n\n    // Top and bottom spacing\n    [topSpacer addConstraint:[NSLayoutConstraint constraintWithItem:topSpacer attribute:NSLayoutAttributeHeight relatedBy:NSLayoutRelationGreaterThanOrEqual toItem:nil attribute:NSLayoutAttributeNotAnAttribute multiplier:1.f constant:margin]];\n    [bottomSpacer addConstraint:[NSLayoutConstraint constraintWithItem:bottomSpacer attribute:NSLayoutAttributeHeight relatedBy:NSLayoutRelationGreaterThanOrEqual toItem:nil attribute:NSLayoutAttributeNotAnAttribute multiplier:1.f constant:margin]];\n    // Top and bottom spaces should be equal\n    [bezelConstraints addObject:[NSLayoutConstraint constraintWithItem:topSpacer attribute:NSLayoutAttributeHeight relatedBy:NSLayoutRelationEqual toItem:bottomSpacer attribute:NSLayoutAttributeHeight multiplier:1.f constant:0.f]];\n\n    // Layout subviews in bezel\n    NSMutableArray *paddingConstraints = [NSMutableArray new];\n    [subviews enumerateObjectsUsingBlock:^(UIView *view, NSUInteger idx, BOOL *stop) {\n        // Center in bezel\n        [bezelConstraints addObject:[NSLayoutConstraint constraintWithItem:view attribute:NSLayoutAttributeCenterX relatedBy:NSLayoutRelationEqual toItem:bezel attribute:NSLayoutAttributeCenterX multiplier:1.f constant:0.f]];\n        // Ensure the minimum edge margin is kept\n        [bezelConstraints addObjectsFromArray:[NSLayoutConstraint constraintsWithVisualFormat:@\"|-(>=margin)-[view]-(>=margin)-|\" options:0 metrics:metrics views:NSDictionaryOfVariableBindings(view)]];\n        // Element spacing\n        if (idx == 0) {\n            // First, ensure spacing to bezel edge\n            [bezelConstraints addObject:[NSLayoutConstraint constraintWithItem:view attribute:NSLayoutAttributeTop relatedBy:NSLayoutRelationEqual toItem:bezel attribute:NSLayoutAttributeTop multiplier:1.f constant:0.f]];\n        } else if (idx == subviews.count - 1) {\n            // Last, ensure spacing to bezel edge\n            [bezelConstraints addObject:[NSLayoutConstraint constraintWithItem:view attribute:NSLayoutAttributeBottom relatedBy:NSLayoutRelationEqual toItem:bezel attribute:NSLayoutAttributeBottom multiplier:1.f constant:0.f]];\n        }\n        if (idx > 0) {\n            // Has previous\n            NSLayoutConstraint *padding = [NSLayoutConstraint constraintWithItem:view attribute:NSLayoutAttributeTop relatedBy:NSLayoutRelationEqual toItem:subviews[idx - 1] attribute:NSLayoutAttributeBottom multiplier:1.f constant:0.f];\n            [bezelConstraints addObject:padding];\n            [paddingConstraints addObject:padding];\n        }\n    }];\n\n    [bezel addConstraints:bezelConstraints];\n    self.bezelConstraints = bezelConstraints;\n    \n    self.paddingConstraints = [paddingConstraints copy];\n    [self updatePaddingConstraints];\n    \n    [super updateConstraints];\n}\n\n- (void)layoutSubviews {\n    // There is no need to update constraints if they are going to\n    // be recreated in [super layoutSubviews] due to needsUpdateConstraints being set.\n    // This also avoids an issue on iOS 8, where updatePaddingConstraints\n    // would trigger a zombie object access.\n    if (!self.needsUpdateConstraints) {\n        [self updatePaddingConstraints];\n    }\n    [super layoutSubviews];\n}\n\n- (void)updatePaddingConstraints {\n    // Set padding dynamically, depending on whether the view is visible or not\n    __block BOOL hasVisibleAncestors = NO;\n    [self.paddingConstraints enumerateObjectsUsingBlock:^(NSLayoutConstraint *padding, NSUInteger idx, BOOL *stop) {\n        UIView *firstView = (UIView *)padding.firstItem;\n        UIView *secondView = (UIView *)padding.secondItem;\n        BOOL firstVisible = !firstView.hidden && !CGSizeEqualToSize(firstView.intrinsicContentSize, CGSizeZero);\n        BOOL secondVisible = !secondView.hidden && !CGSizeEqualToSize(secondView.intrinsicContentSize, CGSizeZero);\n        // Set if both views are visible or if there's a visible view on top that doesn't have padding\n        // added relative to the current view yet\n        padding.constant = (firstVisible && (secondVisible || hasVisibleAncestors)) ? MBDefaultPadding : 0.f;\n        hasVisibleAncestors |= secondVisible;\n    }];\n}\n\n- (void)applyPriority:(UILayoutPriority)priority toConstraints:(NSArray *)constraints {\n    for (NSLayoutConstraint *constraint in constraints) {\n        constraint.priority = priority;\n    }\n}\n\n#pragma mark - Properties\n\n- (void)setMode:(MBProgressHUDMode)mode {\n    if (mode != _mode) {\n        _mode = mode;\n        [self updateIndicators];\n    }\n}\n\n- (void)setCustomView:(UIView *)customView {\n    if (customView != _customView) {\n        _customView = customView;\n        if (self.mode == MBProgressHUDModeCustomView) {\n            [self updateIndicators];\n        }\n    }\n}\n\n- (void)setOffset:(CGPoint)offset {\n    if (!CGPointEqualToPoint(offset, _offset)) {\n        _offset = offset;\n        [self setNeedsUpdateConstraints];\n    }\n}\n\n- (void)setMargin:(CGFloat)margin {\n    if (margin != _margin) {\n        _margin = margin;\n        [self setNeedsUpdateConstraints];\n    }\n}\n\n- (void)setMinSize:(CGSize)minSize {\n    if (!CGSizeEqualToSize(minSize, _minSize)) {\n        _minSize = minSize;\n        [self setNeedsUpdateConstraints];\n    }\n}\n\n- (void)setSquare:(BOOL)square {\n    if (square != _square) {\n        _square = square;\n        [self setNeedsUpdateConstraints];\n    }\n}\n\n- (void)setProgressObjectDisplayLink:(CADisplayLink *)progressObjectDisplayLink {\n    if (progressObjectDisplayLink != _progressObjectDisplayLink) {\n        [_progressObjectDisplayLink invalidate];\n        \n        _progressObjectDisplayLink = progressObjectDisplayLink;\n        \n        [_progressObjectDisplayLink addToRunLoop:[NSRunLoop mainRunLoop] forMode:NSDefaultRunLoopMode];\n    }\n}\n\n- (void)setProgressObject:(NSProgress *)progressObject {\n    if (progressObject != _progressObject) {\n        _progressObject = progressObject;\n        [self setNSProgressDisplayLinkEnabled:YES];\n    }\n}\n\n- (void)setProgress:(float)progress {\n    if (progress != _progress) {\n        _progress = progress;\n        UIView *indicator = self.indicator;\n        if ([indicator respondsToSelector:@selector(setProgress:)]) {\n            [(id)indicator setValue:@(self.progress) forKey:@\"progress\"];\n        }\n    }\n}\n\n- (void)setContentColor:(UIColor *)contentColor {\n    if (contentColor != _contentColor && ![contentColor isEqual:_contentColor]) {\n        _contentColor = contentColor;\n        [self updateViewsForColor:contentColor];\n    }\n}\n\n- (void)setDefaultMotionEffectsEnabled:(BOOL)defaultMotionEffectsEnabled {\n    if (defaultMotionEffectsEnabled != _defaultMotionEffectsEnabled) {\n        _defaultMotionEffectsEnabled = defaultMotionEffectsEnabled;\n        [self updateBezelMotionEffects];\n    }\n}\n\n#pragma mark - NSProgress\n\n- (void)setNSProgressDisplayLinkEnabled:(BOOL)enabled {\n    // We're using CADisplayLink, because NSProgress can change very quickly and observing it may starve the main thread,\n    // so we're refreshing the progress only every frame draw\n    if (enabled && self.progressObject) {\n        // Only create if not already active.\n        if (!self.progressObjectDisplayLink) {\n            self.progressObjectDisplayLink = [CADisplayLink displayLinkWithTarget:self selector:@selector(updateProgressFromProgressObject)];\n        }\n    } else {\n        self.progressObjectDisplayLink = nil;\n    }\n}\n\n- (void)updateProgressFromProgressObject {\n    self.progress = self.progressObject.fractionCompleted;\n}\n\n#pragma mark - Notifications\n\n- (void)registerForNotifications {\n#if !TARGET_OS_TV\n    NSNotificationCenter *nc = [NSNotificationCenter defaultCenter];\n\n    [nc addObserver:self selector:@selector(statusBarOrientationDidChange:)\n               name:UIApplicationDidChangeStatusBarOrientationNotification object:nil];\n#endif\n}\n\n- (void)unregisterFromNotifications {\n#if !TARGET_OS_TV\n    NSNotificationCenter *nc = [NSNotificationCenter defaultCenter];\n    [nc removeObserver:self name:UIApplicationDidChangeStatusBarOrientationNotification object:nil];\n#endif\n}\n\n#if !TARGET_OS_TV\n- (void)statusBarOrientationDidChange:(NSNotification *)notification {\n    UIView *superview = self.superview;\n    if (!superview) {\n        return;\n    } else {\n        [self updateForCurrentOrientationAnimated:YES];\n    }\n}\n#endif\n\n- (void)updateForCurrentOrientationAnimated:(BOOL)animated {\n    // Stay in sync with the superview in any case\n    if (self.superview) {\n        self.frame = self.superview.bounds;\n    }\n\n    // Not needed on iOS 8+, compile out when the deployment target allows,\n    // to avoid sharedApplication problems on extension targets\n#if __IPHONE_OS_VERSION_MIN_REQUIRED < 80000\n    // Only needed pre iOS 8 when added to a window\n    BOOL iOS8OrLater = kCFCoreFoundationVersionNumber >= kCFCoreFoundationVersionNumber_iOS_8_0;\n    if (iOS8OrLater || ![self.superview isKindOfClass:[UIWindow class]]) return;\n\n    // Make extension friendly. Will not get called on extensions (iOS 8+) due to the above check.\n    // This just ensures we don't get a warning about extension-unsafe API.\n    Class UIApplicationClass = NSClassFromString(@\"UIApplication\");\n    if (!UIApplicationClass || ![UIApplicationClass respondsToSelector:@selector(sharedApplication)]) return;\n\n    UIApplication *application = [UIApplication performSelector:@selector(sharedApplication)];\n    UIInterfaceOrientation orientation = application.statusBarOrientation;\n    CGFloat radians = 0;\n    \n    if (UIInterfaceOrientationIsLandscape(orientation)) {\n        radians = orientation == UIInterfaceOrientationLandscapeLeft ? -(CGFloat)M_PI_2 : (CGFloat)M_PI_2;\n        // Window coordinates differ!\n        self.bounds = CGRectMake(0, 0, self.bounds.size.height, self.bounds.size.width);\n    } else {\n        radians = orientation == UIInterfaceOrientationPortraitUpsideDown ? (CGFloat)M_PI : 0.f;\n    }\n\n    if (animated) {\n        [UIView animateWithDuration:0.3 animations:^{\n            self.transform = CGAffineTransformMakeRotation(radians);\n        }];\n    } else {\n        self.transform = CGAffineTransformMakeRotation(radians);\n    }\n#endif\n}\n\n@end\n\n\n@implementation MBRoundProgressView\n\n#pragma mark - Lifecycle\n\n- (id)init {\n    return [self initWithFrame:CGRectMake(0.f, 0.f, 37.f, 37.f)];\n}\n\n- (id)initWithFrame:(CGRect)frame {\n    self = [super initWithFrame:frame];\n    if (self) {\n        self.backgroundColor = [UIColor clearColor];\n        self.opaque = NO;\n        _progress = 0.f;\n        _annular = NO;\n        _progressTintColor = [[UIColor alloc] initWithWhite:1.f alpha:1.f];\n        _backgroundTintColor = [[UIColor alloc] initWithWhite:1.f alpha:.1f];\n    }\n    return self;\n}\n\n#pragma mark - Layout\n\n- (CGSize)intrinsicContentSize {\n    return CGSizeMake(37.f, 37.f);\n}\n\n#pragma mark - Properties\n\n- (void)setProgress:(float)progress {\n    if (progress != _progress) {\n        _progress = progress;\n        [self setNeedsDisplay];\n    }\n}\n\n- (void)setProgressTintColor:(UIColor *)progressTintColor {\n    NSAssert(progressTintColor, @\"The color should not be nil.\");\n    if (progressTintColor != _progressTintColor && ![progressTintColor isEqual:_progressTintColor]) {\n        _progressTintColor = progressTintColor;\n        [self setNeedsDisplay];\n    }\n}\n\n- (void)setBackgroundTintColor:(UIColor *)backgroundTintColor {\n    NSAssert(backgroundTintColor, @\"The color should not be nil.\");\n    if (backgroundTintColor != _backgroundTintColor && ![backgroundTintColor isEqual:_backgroundTintColor]) {\n        _backgroundTintColor = backgroundTintColor;\n        [self setNeedsDisplay];\n    }\n}\n\n#pragma mark - Drawing\n\n- (void)drawRect:(CGRect)rect {\n    CGContextRef context = UIGraphicsGetCurrentContext();\n    BOOL isPreiOS7 = kCFCoreFoundationVersionNumber < kCFCoreFoundationVersionNumber_iOS_7_0;\n\n    if (_annular) {\n        // Draw background\n        CGFloat lineWidth = isPreiOS7 ? 5.f : 2.f;\n        UIBezierPath *processBackgroundPath = [UIBezierPath bezierPath];\n        processBackgroundPath.lineWidth = lineWidth;\n        processBackgroundPath.lineCapStyle = kCGLineCapButt;\n        CGPoint center = CGPointMake(CGRectGetMidX(self.bounds), CGRectGetMidY(self.bounds));\n        CGFloat radius = (self.bounds.size.width - lineWidth)/2;\n        CGFloat startAngle = - ((float)M_PI / 2); // 90 degrees\n        CGFloat endAngle = (2 * (float)M_PI) + startAngle;\n        [processBackgroundPath addArcWithCenter:center radius:radius startAngle:startAngle endAngle:endAngle clockwise:YES];\n        [_backgroundTintColor set];\n        [processBackgroundPath stroke];\n        // Draw progress\n        UIBezierPath *processPath = [UIBezierPath bezierPath];\n        processPath.lineCapStyle = isPreiOS7 ? kCGLineCapRound : kCGLineCapSquare;\n        processPath.lineWidth = lineWidth;\n        endAngle = (self.progress * 2 * (float)M_PI) + startAngle;\n        [processPath addArcWithCenter:center radius:radius startAngle:startAngle endAngle:endAngle clockwise:YES];\n        [_progressTintColor set];\n        [processPath stroke];\n    } else {\n        // Draw background\n        CGFloat lineWidth = 2.f;\n        CGRect allRect = self.bounds;\n        CGRect circleRect = CGRectInset(allRect, lineWidth/2.f, lineWidth/2.f);\n        CGPoint center = CGPointMake(CGRectGetMidX(self.bounds), CGRectGetMidY(self.bounds));\n        [_progressTintColor setStroke];\n        [_backgroundTintColor setFill];\n        CGContextSetLineWidth(context, lineWidth);\n        if (isPreiOS7) {\n            CGContextFillEllipseInRect(context, circleRect);\n        }\n        CGContextStrokeEllipseInRect(context, circleRect);\n        // 90 degrees\n        CGFloat startAngle = - ((float)M_PI / 2.f);\n        // Draw progress\n        if (isPreiOS7) {\n            CGFloat radius = (CGRectGetWidth(self.bounds) / 2.f) - lineWidth;\n            CGFloat endAngle = (self.progress * 2.f * (float)M_PI) + startAngle;\n            [_progressTintColor setFill];\n            CGContextMoveToPoint(context, center.x, center.y);\n            CGContextAddArc(context, center.x, center.y, radius, startAngle, endAngle, 0);\n            CGContextClosePath(context);\n            CGContextFillPath(context);\n        } else {\n            UIBezierPath *processPath = [UIBezierPath bezierPath];\n            processPath.lineCapStyle = kCGLineCapButt;\n            processPath.lineWidth = lineWidth * 2.f;\n            CGFloat radius = (CGRectGetWidth(self.bounds) / 2.f) - (processPath.lineWidth / 2.f);\n            CGFloat endAngle = (self.progress * 2.f * (float)M_PI) + startAngle;\n            [processPath addArcWithCenter:center radius:radius startAngle:startAngle endAngle:endAngle clockwise:YES];\n            // Ensure that we don't get color overlapping when _progressTintColor alpha < 1.f.\n            CGContextSetBlendMode(context, kCGBlendModeCopy);\n            [_progressTintColor set];\n            [processPath stroke];\n        }\n    }\n}\n\n@end\n\n\n@implementation MBBarProgressView\n\n#pragma mark - Lifecycle\n\n- (id)init {\n    return [self initWithFrame:CGRectMake(.0f, .0f, 120.0f, 20.0f)];\n}\n\n- (id)initWithFrame:(CGRect)frame {\n    self = [super initWithFrame:frame];\n    if (self) {\n        _progress = 0.f;\n        _lineColor = [UIColor whiteColor];\n        _progressColor = [UIColor whiteColor];\n        _progressRemainingColor = [UIColor clearColor];\n        self.backgroundColor = [UIColor clearColor];\n        self.opaque = NO;\n    }\n    return self;\n}\n\n#pragma mark - Layout\n\n- (CGSize)intrinsicContentSize {\n    BOOL isPreiOS7 = kCFCoreFoundationVersionNumber < kCFCoreFoundationVersionNumber_iOS_7_0;\n    return CGSizeMake(120.f, isPreiOS7 ? 20.f : 10.f);\n}\n\n#pragma mark - Properties\n\n- (void)setProgress:(float)progress {\n    if (progress != _progress) {\n        _progress = progress;\n        [self setNeedsDisplay];\n    }\n}\n\n- (void)setProgressColor:(UIColor *)progressColor {\n    NSAssert(progressColor, @\"The color should not be nil.\");\n    if (progressColor != _progressColor && ![progressColor isEqual:_progressColor]) {\n        _progressColor = progressColor;\n        [self setNeedsDisplay];\n    }\n}\n\n- (void)setProgressRemainingColor:(UIColor *)progressRemainingColor {\n    NSAssert(progressRemainingColor, @\"The color should not be nil.\");\n    if (progressRemainingColor != _progressRemainingColor && ![progressRemainingColor isEqual:_progressRemainingColor]) {\n        _progressRemainingColor = progressRemainingColor;\n        [self setNeedsDisplay];\n    }\n}\n\n#pragma mark - Drawing\n\n- (void)drawRect:(CGRect)rect {\n    CGContextRef context = UIGraphicsGetCurrentContext();\n    \n    CGContextSetLineWidth(context, 2);\n    CGContextSetStrokeColorWithColor(context,[_lineColor CGColor]);\n    CGContextSetFillColorWithColor(context, [_progressRemainingColor CGColor]);\n    \n    // Draw background and Border\n    CGFloat radius = (rect.size.height / 2) - 2;\n    CGContextMoveToPoint(context, 2, rect.size.height/2);\n    CGContextAddArcToPoint(context, 2, 2, radius + 2, 2, radius);\n    CGContextAddArcToPoint(context, rect.size.width - 2, 2, rect.size.width - 2, rect.size.height / 2, radius);\n    CGContextAddArcToPoint(context, rect.size.width - 2, rect.size.height - 2, rect.size.width - radius - 2, rect.size.height - 2, radius);\n    CGContextAddArcToPoint(context, 2, rect.size.height - 2, 2, rect.size.height/2, radius);\n    CGContextDrawPath(context, kCGPathFillStroke);\n    \n    CGContextSetFillColorWithColor(context, [_progressColor CGColor]);\n    radius = radius - 2;\n    CGFloat amount = self.progress * rect.size.width;\n    \n    // Progress in the middle area\n    if (amount >= radius + 4 && amount <= (rect.size.width - radius - 4)) {\n        CGContextMoveToPoint(context, 4, rect.size.height/2);\n        CGContextAddArcToPoint(context, 4, 4, radius + 4, 4, radius);\n        CGContextAddLineToPoint(context, amount, 4);\n        CGContextAddLineToPoint(context, amount, radius + 4);\n        \n        CGContextMoveToPoint(context, 4, rect.size.height/2);\n        CGContextAddArcToPoint(context, 4, rect.size.height - 4, radius + 4, rect.size.height - 4, radius);\n        CGContextAddLineToPoint(context, amount, rect.size.height - 4);\n        CGContextAddLineToPoint(context, amount, radius + 4);\n        \n        CGContextFillPath(context);\n    }\n    \n    // Progress in the right arc\n    else if (amount > radius + 4) {\n        CGFloat x = amount - (rect.size.width - radius - 4);\n\n        CGContextMoveToPoint(context, 4, rect.size.height/2);\n        CGContextAddArcToPoint(context, 4, 4, radius + 4, 4, radius);\n        CGContextAddLineToPoint(context, rect.size.width - radius - 4, 4);\n        CGFloat angle = -acos(x/radius);\n        if (isnan(angle)) angle = 0;\n        CGContextAddArc(context, rect.size.width - radius - 4, rect.size.height/2, radius, M_PI, angle, 0);\n        CGContextAddLineToPoint(context, amount, rect.size.height/2);\n\n        CGContextMoveToPoint(context, 4, rect.size.height/2);\n        CGContextAddArcToPoint(context, 4, rect.size.height - 4, radius + 4, rect.size.height - 4, radius);\n        CGContextAddLineToPoint(context, rect.size.width - radius - 4, rect.size.height - 4);\n        angle = acos(x/radius);\n        if (isnan(angle)) angle = 0;\n        CGContextAddArc(context, rect.size.width - radius - 4, rect.size.height/2, radius, -M_PI, angle, 1);\n        CGContextAddLineToPoint(context, amount, rect.size.height/2);\n        \n        CGContextFillPath(context);\n    }\n    \n    // Progress is in the left arc\n    else if (amount < radius + 4 && amount > 0) {\n        CGContextMoveToPoint(context, 4, rect.size.height/2);\n        CGContextAddArcToPoint(context, 4, 4, radius + 4, 4, radius);\n        CGContextAddLineToPoint(context, radius + 4, rect.size.height/2);\n\n        CGContextMoveToPoint(context, 4, rect.size.height/2);\n        CGContextAddArcToPoint(context, 4, rect.size.height - 4, radius + 4, rect.size.height - 4, radius);\n        CGContextAddLineToPoint(context, radius + 4, rect.size.height/2);\n        \n        CGContextFillPath(context);\n    }\n}\n\n@end\n\n\n@interface MBBackgroundView ()\n\n#if __IPHONE_OS_VERSION_MAX_ALLOWED >= 80000 || TARGET_OS_TV\n@property UIVisualEffectView *effectView;\n#endif\n#if !TARGET_OS_TV\n@property UIToolbar *toolbar;\n#endif\n\n@end\n\n\n@implementation MBBackgroundView\n\n#pragma mark - Lifecycle\n\n- (instancetype)initWithFrame:(CGRect)frame {\n    if ((self = [super initWithFrame:frame])) {\n        if (kCFCoreFoundationVersionNumber >= kCFCoreFoundationVersionNumber_iOS_7_0) {\n            _style = MBProgressHUDBackgroundStyleBlur;\n#if __IPHONE_OS_VERSION_MAX_ALLOWED >= 80000 || TARGET_OS_TV\n            _blurEffectStyle = UIBlurEffectStyleLight;\n#endif\n            if (kCFCoreFoundationVersionNumber >= kCFCoreFoundationVersionNumber_iOS_8_0) {\n                _color = [UIColor colorWithWhite:0.8f alpha:0.6f];\n            } else {\n                _color = [UIColor colorWithWhite:0.95f alpha:0.6f];\n            }\n        } else {\n            _style = MBProgressHUDBackgroundStyleSolidColor;\n            _color = [[UIColor blackColor] colorWithAlphaComponent:0.8];\n        }\n\n        self.clipsToBounds = YES;\n\n        [self updateForBackgroundStyle];\n    }\n    return self;\n}\n\n#pragma mark - Layout\n\n- (CGSize)intrinsicContentSize {\n    // Smallest size possible. Content pushes against this.\n    return CGSizeZero;\n}\n\n#pragma mark - Appearance\n\n- (void)setStyle:(MBProgressHUDBackgroundStyle)style {\n    if (style == MBProgressHUDBackgroundStyleBlur && kCFCoreFoundationVersionNumber < kCFCoreFoundationVersionNumber_iOS_7_0) {\n        style = MBProgressHUDBackgroundStyleSolidColor;\n    }\n    if (_style != style) {\n        _style = style;\n        [self updateForBackgroundStyle];\n    }\n}\n\n- (void)setColor:(UIColor *)color {\n    NSAssert(color, @\"The color should not be nil.\");\n    if (color != _color && ![color isEqual:_color]) {\n        _color = color;\n        [self updateViewsForColor:color];\n    }\n}\n\n#if __IPHONE_OS_VERSION_MAX_ALLOWED >= 80000 || TARGET_OS_TV\n\n- (void)setBlurEffectStyle:(UIBlurEffectStyle)blurEffectStyle {\n    if (_blurEffectStyle == blurEffectStyle) {\n        return;\n    }\n\n    _blurEffectStyle = blurEffectStyle;\n\n    [self updateForBackgroundStyle];\n}\n\n#endif\n\n///////////////////////////////////////////////////////////////////////////////////////////\n#pragma mark - Views\n\n- (void)updateForBackgroundStyle {\n    MBProgressHUDBackgroundStyle style = self.style;\n    if (style == MBProgressHUDBackgroundStyleBlur) {\n#if __IPHONE_OS_VERSION_MAX_ALLOWED >= 80000 || TARGET_OS_TV\n        if (kCFCoreFoundationVersionNumber >= kCFCoreFoundationVersionNumber_iOS_8_0) {\n            UIBlurEffect *effect = [UIBlurEffect effectWithStyle:self.blurEffectStyle];\n            UIVisualEffectView *effectView = [[UIVisualEffectView alloc] initWithEffect:effect];\n            [self addSubview:effectView];\n            effectView.frame = self.bounds;\n            effectView.autoresizingMask = UIViewAutoresizingFlexibleHeight | UIViewAutoresizingFlexibleWidth;\n            self.backgroundColor = self.color;\n            self.layer.allowsGroupOpacity = NO;\n            self.effectView = effectView;\n        } else {\n#endif\n#if !TARGET_OS_TV\n            UIToolbar *toolbar = [[UIToolbar alloc] initWithFrame:CGRectInset(self.bounds, -100.f, -100.f)];\n            toolbar.autoresizingMask = UIViewAutoresizingFlexibleHeight | UIViewAutoresizingFlexibleWidth;\n            toolbar.barTintColor = self.color;\n            toolbar.translucent = YES;\n            [self addSubview:toolbar];\n            self.toolbar = toolbar;\n#endif\n#if __IPHONE_OS_VERSION_MAX_ALLOWED >= 80000 || TARGET_OS_TV\n        }\n#endif\n    } else {\n#if __IPHONE_OS_VERSION_MAX_ALLOWED >= 80000 || TARGET_OS_TV\n        if (kCFCoreFoundationVersionNumber >= kCFCoreFoundationVersionNumber_iOS_8_0) {\n            [self.effectView removeFromSuperview];\n            self.effectView = nil;\n        } else {\n#endif\n#if !TARGET_OS_TV\n            [self.toolbar removeFromSuperview];\n            self.toolbar = nil;\n#endif\n#if __IPHONE_OS_VERSION_MAX_ALLOWED >= 80000 || TARGET_OS_TV\n        }\n#endif\n        self.backgroundColor = self.color;\n    }\n}\n\n- (void)updateViewsForColor:(UIColor *)color {\n    if (self.style == MBProgressHUDBackgroundStyleBlur) {\n        if (kCFCoreFoundationVersionNumber >= kCFCoreFoundationVersionNumber_iOS_8_0) {\n            self.backgroundColor = self.color;\n        } else {\n#if !TARGET_OS_TV\n            self.toolbar.barTintColor = color;\n#endif\n        }\n    } else {\n        self.backgroundColor = self.color;\n    }\n}\n\n@end\n\n\n@implementation MBProgressHUD (Deprecated)\n\n#pragma mark - Class\n\n+ (NSUInteger)hideAllHUDsForView:(UIView *)view animated:(BOOL)animated {\n    NSArray *huds = [MBProgressHUD allHUDsForView:view];\n    for (MBProgressHUD *hud in huds) {\n        hud.removeFromSuperViewOnHide = YES;\n        [hud hideAnimated:animated];\n    }\n    return [huds count];\n}\n\n+ (NSArray *)allHUDsForView:(UIView *)view {\n    NSMutableArray *huds = [NSMutableArray array];\n    NSArray *subviews = view.subviews;\n    for (UIView *aView in subviews) {\n        if ([aView isKindOfClass:self]) {\n            [huds addObject:aView];\n        }\n    }\n    return [NSArray arrayWithArray:huds];\n}\n\n#pragma mark - Lifecycle\n\n- (id)initWithWindow:(UIWindow *)window {\n    return [self initWithView:window];\n}\n\n#pragma mark - Show & hide\n\n- (void)show:(BOOL)animated {\n    [self showAnimated:animated];\n}\n\n- (void)hide:(BOOL)animated {\n    [self hideAnimated:animated];\n}\n\n- (void)hide:(BOOL)animated afterDelay:(NSTimeInterval)delay {\n    [self hideAnimated:animated afterDelay:delay];\n}\n\n#pragma mark - Threading\n\n- (void)showWhileExecuting:(SEL)method onTarget:(id)target withObject:(id)object animated:(BOOL)animated {\n    [self showAnimated:animated whileExecutingBlock:^{\n#pragma clang diagnostic push\n#pragma clang diagnostic ignored \"-Warc-performSelector-leaks\"\n        // Start executing the requested task\n        [target performSelector:method withObject:object];\n#pragma clang diagnostic pop\n    }];\n}\n\n- (void)showAnimated:(BOOL)animated whileExecutingBlock:(dispatch_block_t)block {\n    dispatch_queue_t queue = dispatch_get_global_queue(DISPATCH_QUEUE_PRIORITY_DEFAULT, 0);\n    [self showAnimated:animated whileExecutingBlock:block onQueue:queue completionBlock:NULL];\n}\n\n- (void)showAnimated:(BOOL)animated whileExecutingBlock:(dispatch_block_t)block completionBlock:(void (^)(void))completion {\n    dispatch_queue_t queue = dispatch_get_global_queue(DISPATCH_QUEUE_PRIORITY_DEFAULT, 0);\n    [self showAnimated:animated whileExecutingBlock:block onQueue:queue completionBlock:completion];\n}\n\n- (void)showAnimated:(BOOL)animated whileExecutingBlock:(dispatch_block_t)block onQueue:(dispatch_queue_t)queue {\n    [self showAnimated:animated whileExecutingBlock:block onQueue:queue completionBlock:NULL];\n}\n\n- (void)showAnimated:(BOOL)animated whileExecutingBlock:(dispatch_block_t)block onQueue:(dispatch_queue_t)queue completionBlock:(nullable MBProgressHUDCompletionBlock)completion {\n    self.taskInProgress = YES;\n    self.completionBlock = completion;\n    dispatch_async(queue, ^(void) {\n        block();\n        dispatch_async(dispatch_get_main_queue(), ^(void) {\n            [self cleanUp];\n        });\n    });\n    [self showAnimated:animated];\n}\n\n- (void)cleanUp {\n    self.taskInProgress = NO;\n    [self hideAnimated:self.useAnimation];\n}\n\n#pragma mark - Labels\n\n- (NSString *)labelText {\n    return self.label.text;\n}\n\n- (void)setLabelText:(NSString *)labelText {\n    MBMainThreadAssert();\n    self.label.text = labelText;\n}\n\n- (UIFont *)labelFont {\n    return self.label.font;\n}\n\n- (void)setLabelFont:(UIFont *)labelFont {\n    MBMainThreadAssert();\n    self.label.font = labelFont;\n}\n\n- (UIColor *)labelColor {\n    return self.label.textColor;\n}\n\n- (void)setLabelColor:(UIColor *)labelColor {\n    MBMainThreadAssert();\n    self.label.textColor = labelColor;\n}\n\n- (NSString *)detailsLabelText {\n    return self.detailsLabel.text;\n}\n\n- (void)setDetailsLabelText:(NSString *)detailsLabelText {\n    MBMainThreadAssert();\n    self.detailsLabel.text = detailsLabelText;\n}\n\n- (UIFont *)detailsLabelFont {\n    return self.detailsLabel.font;\n}\n\n- (void)setDetailsLabelFont:(UIFont *)detailsLabelFont {\n    MBMainThreadAssert();\n    self.detailsLabel.font = detailsLabelFont;\n}\n\n- (UIColor *)detailsLabelColor {\n    return self.detailsLabel.textColor;\n}\n\n- (void)setDetailsLabelColor:(UIColor *)detailsLabelColor {\n    MBMainThreadAssert();\n    self.detailsLabel.textColor = detailsLabelColor;\n}\n\n- (CGFloat)opacity {\n    return _opacity;\n}\n\n- (void)setOpacity:(CGFloat)opacity {\n    MBMainThreadAssert();\n    _opacity = opacity;\n}\n\n- (UIColor *)color {\n    return self.bezelView.color;\n}\n\n- (void)setColor:(UIColor *)color {\n    MBMainThreadAssert();\n    self.bezelView.color = color;\n}\n\n- (CGFloat)yOffset {\n    return self.offset.y;\n}\n\n- (void)setYOffset:(CGFloat)yOffset {\n    MBMainThreadAssert();\n    self.offset = CGPointMake(self.offset.x, yOffset);\n}\n\n- (CGFloat)xOffset {\n    return self.offset.x;\n}\n\n- (void)setXOffset:(CGFloat)xOffset {\n    MBMainThreadAssert();\n    self.offset = CGPointMake(xOffset, self.offset.y);\n}\n\n- (CGFloat)cornerRadius {\n    return self.bezelView.layer.cornerRadius;\n}\n\n- (void)setCornerRadius:(CGFloat)cornerRadius {\n    MBMainThreadAssert();\n    self.bezelView.layer.cornerRadius = cornerRadius;\n}\n\n- (BOOL)dimBackground {\n    MBBackgroundView *backgroundView = self.backgroundView;\n    UIColor *dimmedColor =  [UIColor colorWithWhite:0.f alpha:.2f];\n    return backgroundView.style == MBProgressHUDBackgroundStyleSolidColor && [backgroundView.color isEqual:dimmedColor];\n}\n\n- (void)setDimBackground:(BOOL)dimBackground {\n    MBMainThreadAssert();\n    self.backgroundView.style = MBProgressHUDBackgroundStyleSolidColor;\n    self.backgroundView.color = dimBackground ? [UIColor colorWithWhite:0.f alpha:.2f] : [UIColor clearColor];\n}\n\n- (CGSize)size {\n    return self.bezelView.frame.size;\n}\n\n- (UIColor *)activityIndicatorColor {\n    return _activityIndicatorColor;\n}\n\n- (void)setActivityIndicatorColor:(UIColor *)activityIndicatorColor {\n    if (activityIndicatorColor != _activityIndicatorColor) {\n        _activityIndicatorColor = activityIndicatorColor;\n        UIActivityIndicatorView *indicator = (UIActivityIndicatorView *)self.indicator;\n        if ([indicator isKindOfClass:[UIActivityIndicatorView class]]) {\n            [indicator setColor:activityIndicatorColor];\n        }\n    }\n}\n\n@end\n\n@implementation MBProgressHUDRoundedButton\n\n#pragma mark - Lifecycle\n\n- (instancetype)initWithFrame:(CGRect)frame {\n    self = [super initWithFrame:frame];\n    if (self) {\n        CALayer *layer = self.layer;\n        layer.borderWidth = 1.f;\n    }\n    return self;\n}\n\n#pragma mark - Layout\n\n- (void)layoutSubviews {\n    [super layoutSubviews];\n    // Fully rounded corners\n    CGFloat height = CGRectGetHeight(self.bounds);\n    self.layer.cornerRadius = ceil(height / 2.f);\n}\n\n- (CGSize)intrinsicContentSize {\n    // Only show if we have associated control events\n    if (self.allControlEvents == 0) return CGSizeZero;\n    CGSize size = [super intrinsicContentSize];\n    // Add some side padding\n    size.width += 20.f;\n    return size;\n}\n\n#pragma mark - Color\n\n- (void)setTitleColor:(UIColor *)color forState:(UIControlState)state {\n    [super setTitleColor:color forState:state];\n    // Update related colors\n    [self setHighlighted:self.highlighted];\n    self.layer.borderColor = color.CGColor;\n}\n\n- (void)setHighlighted:(BOOL)highlighted {\n    [super setHighlighted:highlighted];\n    UIColor *baseColor = [self titleColorForState:UIControlStateSelected];\n    self.backgroundColor = highlighted ? [baseColor colorWithAlphaComponent:0.1f] : [UIColor clearColor];\n}\n\n@end\n"
  },
  {
    "path": "CKMeiTuanShopView/Pods/MBProgressHUD/README.mdown",
    "content": "# MBProgressHUD\n\n[![Build Status](https://travis-ci.org/matej/MBProgressHUD.svg?branch=master)](https://travis-ci.org/matej/MBProgressHUD) [![codecov.io](https://codecov.io/github/matej/MBProgressHUD/coverage.svg?branch=master)](https://codecov.io/github/matej/MBProgressHUD?branch=master)\n [![Carthage compatible](https://img.shields.io/badge/Carthage-compatible-4BC51D.svg?style=flat)](https://github.com/Carthage/Carthage#adding-frameworks-to-an-application) [![CocoaPods compatible](https://img.shields.io/cocoapods/v/MBProgressHUD.svg?style=flat)](https://cocoapods.org/pods/MBProgressHUD) [![License: MIT](https://img.shields.io/cocoapods/l/MBProgressHUD.svg?style=flat)](http://opensource.org/licenses/MIT)\n\n`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.\n\n[![](https://raw.githubusercontent.com/wiki/matej/MBProgressHUD/Screenshots/1-small.png)](https://raw.githubusercontent.com/wiki/matej/MBProgressHUD/Screenshots/1.png)\n[![](https://raw.githubusercontent.com/wiki/matej/MBProgressHUD/Screenshots/2-small.png)](https://raw.githubusercontent.com/wiki/matej/MBProgressHUD/Screenshots/2.png)\n[![](https://raw.githubusercontent.com/wiki/matej/MBProgressHUD/Screenshots/3-small.png)](https://raw.githubusercontent.com/wiki/matej/MBProgressHUD/Screenshots/3.png)\n[![](https://raw.githubusercontent.com/wiki/matej/MBProgressHUD/Screenshots/4-small.png)](https://raw.githubusercontent.com/wiki/matej/MBProgressHUD/Screenshots/4.png)\n[![](https://raw.githubusercontent.com/wiki/matej/MBProgressHUD/Screenshots/5-small.png)](https://raw.githubusercontent.com/wiki/matej/MBProgressHUD/Screenshots/5.png)\n[![](https://raw.githubusercontent.com/wiki/matej/MBProgressHUD/Screenshots/6-small.png)](https://raw.githubusercontent.com/wiki/matej/MBProgressHUD/Screenshots/6.png)\n[![](https://raw.githubusercontent.com/wiki/matej/MBProgressHUD/Screenshots/7-small.png)](https://raw.githubusercontent.com/wiki/matej/MBProgressHUD/Screenshots/7.png)\n\n**NOTE:** The class has recently undergone a major rewrite. The old version is available in the [legacy](https://github.com/jdg/MBProgressHUD/tree/legacy) branch, should you need it. \n\n## Requirements\n\n`MBProgressHUD` works on iOS 6+ and requires ARC to build. It depends on the following Apple frameworks, which should already be included with most Xcode templates:\n\n* Foundation.framework\n* UIKit.framework\n* CoreGraphics.framework\n\nYou will need the latest developer tools in order to build `MBProgressHUD`. Old Xcode versions might work, but compatibility will not be explicitly maintained.\n\n## Adding MBProgressHUD to your project\n\n### CocoaPods\n\n[CocoaPods](http://cocoapods.org) is the recommended way to add MBProgressHUD to your project.\n\n1. Add a pod entry for MBProgressHUD to your Podfile `pod 'MBProgressHUD', '~> 1.1.0'`\n2. Install the pod(s) by running `pod install`.\n3. Include MBProgressHUD wherever you need it with `#import \"MBProgressHUD.h\"`.\n\n### Carthage\n\n1. Add MBProgressHUD to your Cartfile. e.g., `github \"jdg/MBProgressHUD\" ~> 1.1.0`\n2. Run `carthage update`\n3. Follow the rest of the [standard Carthage installation instructions](https://github.com/Carthage/Carthage#adding-frameworks-to-an-application) to add MBProgressHUD to your project.\n\n### Source files\n\nAlternatively you can directly add the `MBProgressHUD.h` and `MBProgressHUD.m` source files to your project.\n\n1. 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.\n2. 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.\n3. Include MBProgressHUD wherever you need it with `#import \"MBProgressHUD.h\"`.\n\n### Static library\n\nYou can also add MBProgressHUD as a static library to your project or workspace.\n\n1. Download the [latest code version](https://github.com/matej/MBProgressHUD/downloads) or add the repository as a git submodule to your git-tracked project.\n2. Open your project in Xcode, then drag and drop `MBProgressHUD.xcodeproj` onto your project or workspace (use the \"Product Navigator view\").\n3. 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.\n4. Include MBProgressHUD wherever you need it with `#import <MBProgressHUD/MBProgressHUD.h>`.\n\n## Usage\n\nThe 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.\n\n```objective-c\n[MBProgressHUD showHUDAddedTo:self.view animated:YES];\ndispatch_async(dispatch_get_global_queue( DISPATCH_QUEUE_PRIORITY_LOW, 0), ^{\n\t// Do something...\n\tdispatch_async(dispatch_get_main_queue(), ^{\n\t\t[MBProgressHUD hideHUDForView:self.view animated:YES];\n\t});\n});\n```\n\nYou can add the HUD on any view or window. It is however a good idea to avoid adding the HUD to certain `UIKit` views with complex view hierarchies - like `UITableView` or `UICollectionView`. Those can mutate their subviews in unexpected ways and thereby break HUD display. \n\nIf you need to configure the HUD you can do this by using the MBProgressHUD reference that showHUDAddedTo:animated: returns.\n\n```objective-c\nMBProgressHUD *hud = [MBProgressHUD showHUDAddedTo:self.view animated:YES];\nhud.mode = MBProgressHUDModeAnnularDeterminate;\nhud.label.text = @\"Loading\";\n[self doSomethingInBackgroundWithProgressCallback:^(float progress) {\n\thud.progress = progress;\n} completionCallback:^{\n\t[hud hideAnimated:YES];\n}];\n```\n\nYou can also use a `NSProgress` object and MBProgressHUD will update itself when there is progress reported through that object.\n\n```objective-c\nMBProgressHUD *hud = [MBProgressHUD showHUDAddedTo:self.view animated:YES];\nhud.mode = MBProgressHUDModeAnnularDeterminate;\nhud.label.text = @\"Loading\";\nNSProgress *progress = [self doSomethingInBackgroundCompletion:^{\n\t[hud hideAnimated:YES];\n}];\nhud.progressObject = progress;\n```\n\nKeep in mind that UI updates, inclining calls to MBProgressHUD should always be done on the main thread.\n\nIf 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.\n\n```objective-c\n[MBProgressHUD showHUDAddedTo:self.view animated:YES];\ndispatch_time_t popTime = dispatch_time(DISPATCH_TIME_NOW, 0.01 * NSEC_PER_SEC);\ndispatch_after(popTime, dispatch_get_main_queue(), ^(void){\n\t// Do something...\n\t[MBProgressHUD hideHUDForView:self.view animated:YES];\n});\n```\n\nYou should be aware that any HUD updates issued inside the above block won't be displayed until the block completes.\n\nFor 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).\n\n\n## License\n\nThis code is distributed under the terms and conditions of the [MIT license](LICENSE).\n\n## Change-log\n\nA brief summary of each MBProgressHUD release can be found in the [CHANGELOG](CHANGELOG.mdown). \n"
  },
  {
    "path": "CKMeiTuanShopView/Pods/MJRefresh/LICENSE",
    "content": "Copyright (c) 2013-2015 MJRefresh (https://github.com/CoderMJLee/MJRefresh)\n\nPermission is hereby granted, free of charge, to any person obtaining a copy\nof this software and associated documentation files (the \"Software\"), to deal\nin the Software without restriction, including without limitation the rights\nto use, copy, modify, merge, publish, distribute, sublicense, and/or sell\ncopies of the Software, and to permit persons to whom the Software is\nfurnished to do so, subject to the following conditions:\n\nThe above copyright notice and this permission notice shall be included in\nall copies or substantial portions of the Software.\n\nTHE SOFTWARE IS PROVIDED \"AS IS\", WITHOUT WARRANTY OF ANY KIND, EXPRESS OR\nIMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF MERCHANTABILITY,\nFITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT. IN NO EVENT SHALL THE\nAUTHORS OR COPYRIGHT HOLDERS BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER\nLIABILITY, WHETHER IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING FROM,\nOUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN\nTHE SOFTWARE.\n"
  },
  {
    "path": "CKMeiTuanShopView/Pods/MJRefresh/MJRefresh/Base/MJRefreshAutoFooter.h",
    "content": "//\n//  MJRefreshAutoFooter.h\n//  MJRefreshExample\n//\n//  Created by MJ Lee on 15/4/24.\n//  Copyright (c) 2015年 小码哥. All rights reserved.\n//\n\n#import \"MJRefreshFooter.h\"\n\n@interface MJRefreshAutoFooter : MJRefreshFooter\n/** 是否自动刷新(默认为YES) */\n@property (assign, nonatomic, getter=isAutomaticallyRefresh) BOOL automaticallyRefresh;\n\n/** 当底部控件出现多少时就自动刷新(默认为1.0，也就是底部控件完全出现时，才会自动刷新) */\n@property (assign, nonatomic) CGFloat appearencePercentTriggerAutoRefresh MJRefreshDeprecated(\"请使用triggerAutomaticallyRefreshPercent属性\");\n\n/** 当底部控件出现多少时就自动刷新(默认为1.0，也就是底部控件完全出现时，才会自动刷新) */\n@property (assign, nonatomic) CGFloat triggerAutomaticallyRefreshPercent;\n\n/** 是否每一次拖拽只发一次请求 */\n@property (assign, nonatomic, getter=isOnlyRefreshPerDrag) BOOL onlyRefreshPerDrag;\n@end\n"
  },
  {
    "path": "CKMeiTuanShopView/Pods/MJRefresh/MJRefresh/Base/MJRefreshAutoFooter.m",
    "content": "//\n//  MJRefreshAutoFooter.m\n//  MJRefreshExample\n//\n//  Created by MJ Lee on 15/4/24.\n//  Copyright (c) 2015年 小码哥. All rights reserved.\n//\n\n#import \"MJRefreshAutoFooter.h\"\n\n@interface MJRefreshAutoFooter()\n/** 一个新的拖拽 */\n@property (assign, nonatomic, getter=isOneNewPan) BOOL oneNewPan;\n@end\n\n@implementation MJRefreshAutoFooter\n\n#pragma mark - 初始化\n- (void)willMoveToSuperview:(UIView *)newSuperview\n{\n    [super willMoveToSuperview:newSuperview];\n    \n    if (newSuperview) { // 新的父控件\n        if (self.hidden == NO) {\n            self.scrollView.mj_insetB += self.mj_h;\n        }\n        \n        // 设置位置\n        self.mj_y = _scrollView.mj_contentH;\n    } else { // 被移除了\n        if (self.hidden == NO) {\n            self.scrollView.mj_insetB -= self.mj_h;\n        }\n    }\n}\n\n#pragma mark - 过期方法\n- (void)setAppearencePercentTriggerAutoRefresh:(CGFloat)appearencePercentTriggerAutoRefresh\n{\n    self.triggerAutomaticallyRefreshPercent = appearencePercentTriggerAutoRefresh;\n}\n\n- (CGFloat)appearencePercentTriggerAutoRefresh\n{\n    return self.triggerAutomaticallyRefreshPercent;\n}\n\n#pragma mark - 实现父类的方法\n- (void)prepare\n{\n    [super prepare];\n    \n    // 默认底部控件100%出现时才会自动刷新\n    self.triggerAutomaticallyRefreshPercent = 1.0;\n    \n    // 设置为默认状态\n    self.automaticallyRefresh = YES;\n    \n    // 默认是当offset达到条件就发送请求（可连续）\n    self.onlyRefreshPerDrag = NO;\n}\n\n- (void)scrollViewContentSizeDidChange:(NSDictionary *)change\n{\n    [super scrollViewContentSizeDidChange:change];\n    \n    // 设置位置\n    self.mj_y = self.scrollView.mj_contentH;\n}\n\n- (void)scrollViewContentOffsetDidChange:(NSDictionary *)change\n{\n    [super scrollViewContentOffsetDidChange:change];\n    \n    if (self.state != MJRefreshStateIdle || !self.automaticallyRefresh || self.mj_y == 0) return;\n    \n    if (_scrollView.mj_insetT + _scrollView.mj_contentH > _scrollView.mj_h) { // 内容超过一个屏幕\n        // 这里的_scrollView.mj_contentH替换掉self.mj_y更为合理\n        if (_scrollView.mj_offsetY >= _scrollView.mj_contentH - _scrollView.mj_h + self.mj_h * self.triggerAutomaticallyRefreshPercent + _scrollView.mj_insetB - self.mj_h) {\n            // 防止手松开时连续调用\n            CGPoint old = [change[@\"old\"] CGPointValue];\n            CGPoint new = [change[@\"new\"] CGPointValue];\n            if (new.y <= old.y) return;\n            \n            // 当底部刷新控件完全出现时，才刷新\n            [self beginRefreshing];\n        }\n    }\n}\n\n- (void)scrollViewPanStateDidChange:(NSDictionary *)change\n{\n    [super scrollViewPanStateDidChange:change];\n    \n    if (self.state != MJRefreshStateIdle) return;\n    \n    UIGestureRecognizerState panState = _scrollView.panGestureRecognizer.state;\n    if (panState == UIGestureRecognizerStateEnded) {// 手松开\n        if (_scrollView.mj_insetT + _scrollView.mj_contentH <= _scrollView.mj_h) {  // 不够一个屏幕\n            if (_scrollView.mj_offsetY >= - _scrollView.mj_insetT) { // 向上拽\n                [self beginRefreshing];\n            }\n        } else { // 超出一个屏幕\n            if (_scrollView.mj_offsetY >= _scrollView.mj_contentH + _scrollView.mj_insetB - _scrollView.mj_h) {\n                [self beginRefreshing];\n            }\n        }\n    } else if (panState == UIGestureRecognizerStateBegan) {\n        self.oneNewPan = YES;\n    }\n}\n\n- (void)beginRefreshing\n{\n    if (!self.isOneNewPan && self.isOnlyRefreshPerDrag) return;\n    \n    [super beginRefreshing];\n    \n    self.oneNewPan = NO;\n}\n\n- (void)setState:(MJRefreshState)state\n{\n    MJRefreshCheckState\n    \n    if (state == MJRefreshStateRefreshing) {\n        [self executeRefreshingCallback];\n    } else if (state == MJRefreshStateNoMoreData || state == MJRefreshStateIdle) {\n        if (MJRefreshStateRefreshing == oldState) {\n            if (self.endRefreshingCompletionBlock) {\n                self.endRefreshingCompletionBlock();\n            }\n        }\n    }\n}\n\n- (void)setHidden:(BOOL)hidden\n{\n    BOOL lastHidden = self.isHidden;\n    \n    [super setHidden:hidden];\n    \n    if (!lastHidden && hidden) {\n        self.state = MJRefreshStateIdle;\n        \n        self.scrollView.mj_insetB -= self.mj_h;\n    } else if (lastHidden && !hidden) {\n        self.scrollView.mj_insetB += self.mj_h;\n        \n        // 设置位置\n        self.mj_y = _scrollView.mj_contentH;\n    }\n}\n@end\n"
  },
  {
    "path": "CKMeiTuanShopView/Pods/MJRefresh/MJRefresh/Base/MJRefreshBackFooter.h",
    "content": "//\n//  MJRefreshBackFooter.h\n//  MJRefreshExample\n//\n//  Created by MJ Lee on 15/4/24.\n//  Copyright (c) 2015年 小码哥. All rights reserved.\n//\n\n#import \"MJRefreshFooter.h\"\n\n@interface MJRefreshBackFooter : MJRefreshFooter\n\n@end\n"
  },
  {
    "path": "CKMeiTuanShopView/Pods/MJRefresh/MJRefresh/Base/MJRefreshBackFooter.m",
    "content": "//\n//  MJRefreshBackFooter.m\n//  MJRefreshExample\n//\n//  Created by MJ Lee on 15/4/24.\n//  Copyright (c) 2015年 小码哥. All rights reserved.\n//\n\n#import \"MJRefreshBackFooter.h\"\n\n@interface MJRefreshBackFooter()\n@property (assign, nonatomic) NSInteger lastRefreshCount;\n@property (assign, nonatomic) CGFloat lastBottomDelta;\n@end\n\n@implementation MJRefreshBackFooter\n\n#pragma mark - 初始化\n- (void)willMoveToSuperview:(UIView *)newSuperview\n{\n    [super willMoveToSuperview:newSuperview];\n    \n    [self scrollViewContentSizeDidChange:nil];\n}\n\n#pragma mark - 实现父类的方法\n- (void)scrollViewContentOffsetDidChange:(NSDictionary *)change\n{\n    [super scrollViewContentOffsetDidChange:change];\n    \n    // 如果正在刷新，直接返回\n    if (self.state == MJRefreshStateRefreshing) return;\n    \n    _scrollViewOriginalInset = self.scrollView.mj_inset;\n    \n    // 当前的contentOffset\n    CGFloat currentOffsetY = self.scrollView.mj_offsetY;\n    // 尾部控件刚好出现的offsetY\n    CGFloat happenOffsetY = [self happenOffsetY];\n    // 如果是向下滚动到看不见尾部控件，直接返回\n    if (currentOffsetY <= happenOffsetY) return;\n    \n    CGFloat pullingPercent = (currentOffsetY - happenOffsetY) / self.mj_h;\n    \n    // 如果已全部加载，仅设置pullingPercent，然后返回\n    if (self.state == MJRefreshStateNoMoreData) {\n        self.pullingPercent = pullingPercent;\n        return;\n    }\n    \n    if (self.scrollView.isDragging) {\n        self.pullingPercent = pullingPercent;\n        // 普通 和 即将刷新 的临界点\n        CGFloat normal2pullingOffsetY = happenOffsetY + self.mj_h;\n        \n        if (self.state == MJRefreshStateIdle && currentOffsetY > normal2pullingOffsetY) {\n            // 转为即将刷新状态\n            self.state = MJRefreshStatePulling;\n        } else if (self.state == MJRefreshStatePulling && currentOffsetY <= normal2pullingOffsetY) {\n            // 转为普通状态\n            self.state = MJRefreshStateIdle;\n        }\n    } else if (self.state == MJRefreshStatePulling) {// 即将刷新 && 手松开\n        // 开始刷新\n        [self beginRefreshing];\n    } else if (pullingPercent < 1) {\n        self.pullingPercent = pullingPercent;\n    }\n}\n\n- (void)scrollViewContentSizeDidChange:(NSDictionary *)change\n{\n    [super scrollViewContentSizeDidChange:change];\n    \n    // 内容的高度\n    CGFloat contentHeight = self.scrollView.mj_contentH + self.ignoredScrollViewContentInsetBottom;\n    // 表格的高度\n    CGFloat scrollHeight = self.scrollView.mj_h - self.scrollViewOriginalInset.top - self.scrollViewOriginalInset.bottom + self.ignoredScrollViewContentInsetBottom;\n    // 设置位置和尺寸\n    self.mj_y = MAX(contentHeight, scrollHeight);\n}\n\n- (void)setState:(MJRefreshState)state\n{\n    MJRefreshCheckState\n    \n    // 根据状态来设置属性\n    if (state == MJRefreshStateNoMoreData || state == MJRefreshStateIdle) {\n        // 刷新完毕\n        if (MJRefreshStateRefreshing == oldState) {\n            [UIView animateWithDuration:MJRefreshSlowAnimationDuration animations:^{\n                self.scrollView.mj_insetB -= self.lastBottomDelta;\n                \n                // 自动调整透明度\n                if (self.isAutomaticallyChangeAlpha) self.alpha = 0.0;\n            } completion:^(BOOL finished) {\n                self.pullingPercent = 0.0;\n                \n                if (self.endRefreshingCompletionBlock) {\n                    self.endRefreshingCompletionBlock();\n                }\n            }];\n        }\n        \n        CGFloat deltaH = [self heightForContentBreakView];\n        // 刚刷新完毕\n        if (MJRefreshStateRefreshing == oldState && deltaH > 0 && self.scrollView.mj_totalDataCount != self.lastRefreshCount) {\n            self.scrollView.mj_offsetY = self.scrollView.mj_offsetY;\n        }\n    } else if (state == MJRefreshStateRefreshing) {\n        // 记录刷新前的数量\n        self.lastRefreshCount = self.scrollView.mj_totalDataCount;\n        \n        [UIView animateWithDuration:MJRefreshFastAnimationDuration animations:^{\n            CGFloat bottom = self.mj_h + self.scrollViewOriginalInset.bottom;\n            CGFloat deltaH = [self heightForContentBreakView];\n            if (deltaH < 0) { // 如果内容高度小于view的高度\n                bottom -= deltaH;\n            }\n            self.lastBottomDelta = bottom - self.scrollView.mj_insetB;\n            self.scrollView.mj_insetB = bottom;\n            self.scrollView.mj_offsetY = [self happenOffsetY] + self.mj_h;\n        } completion:^(BOOL finished) {\n            [self executeRefreshingCallback];\n        }];\n    }\n}\n#pragma mark - 私有方法\n#pragma mark 获得scrollView的内容 超出 view 的高度\n- (CGFloat)heightForContentBreakView\n{\n    CGFloat h = self.scrollView.frame.size.height - self.scrollViewOriginalInset.bottom - self.scrollViewOriginalInset.top;\n    return self.scrollView.contentSize.height - h;\n}\n\n#pragma mark 刚好看到上拉刷新控件时的contentOffset.y\n- (CGFloat)happenOffsetY\n{\n    CGFloat deltaH = [self heightForContentBreakView];\n    if (deltaH > 0) {\n        return deltaH - self.scrollViewOriginalInset.top;\n    } else {\n        return - self.scrollViewOriginalInset.top;\n    }\n}\n@end\n"
  },
  {
    "path": "CKMeiTuanShopView/Pods/MJRefresh/MJRefresh/Base/MJRefreshComponent.h",
    "content": "//  代码地址: https://github.com/CoderMJLee/MJRefresh\n//  代码地址: http://code4app.com/ios/%E5%BF%AB%E9%80%9F%E9%9B%86%E6%88%90%E4%B8%8B%E6%8B%89%E4%B8%8A%E6%8B%89%E5%88%B7%E6%96%B0/52326ce26803fabc46000000\n//  MJRefreshComponent.h\n//  MJRefreshExample\n//\n//  Created by MJ Lee on 15/3/4.\n//  Copyright (c) 2015年 小码哥. All rights reserved.\n//  刷新控件的基类\n\n#import <UIKit/UIKit.h>\n#import \"MJRefreshConst.h\"\n#import \"UIView+MJExtension.h\"\n#import \"UIScrollView+MJExtension.h\"\n#import \"UIScrollView+MJRefresh.h\"\n#import \"NSBundle+MJRefresh.h\"\n\n/** 刷新控件的状态 */\ntypedef NS_ENUM(NSInteger, MJRefreshState) {\n    /** 普通闲置状态 */\n    MJRefreshStateIdle = 1,\n    /** 松开就可以进行刷新的状态 */\n    MJRefreshStatePulling,\n    /** 正在刷新中的状态 */\n    MJRefreshStateRefreshing,\n    /** 即将刷新的状态 */\n    MJRefreshStateWillRefresh,\n    /** 所有数据加载完毕，没有更多的数据了 */\n    MJRefreshStateNoMoreData\n};\n\n/** 进入刷新状态的回调 */\ntypedef void (^MJRefreshComponentRefreshingBlock)(void);\n/** 开始刷新后的回调(进入刷新状态后的回调) */\ntypedef void (^MJRefreshComponentbeginRefreshingCompletionBlock)(void);\n/** 结束刷新后的回调 */\ntypedef void (^MJRefreshComponentEndRefreshingCompletionBlock)(void);\n\n/** 刷新控件的基类 */\n@interface MJRefreshComponent : UIView\n{\n    /** 记录scrollView刚开始的inset */\n    UIEdgeInsets _scrollViewOriginalInset;\n    /** 父控件 */\n    __weak UIScrollView *_scrollView;\n}\n#pragma mark - 刷新回调\n/** 正在刷新的回调 */\n@property (copy, nonatomic) MJRefreshComponentRefreshingBlock refreshingBlock;\n/** 设置回调对象和回调方法 */\n- (void)setRefreshingTarget:(id)target refreshingAction:(SEL)action;\n\n/** 回调对象 */\n@property (weak, nonatomic) id refreshingTarget;\n/** 回调方法 */\n@property (assign, nonatomic) SEL refreshingAction;\n/** 触发回调（交给子类去调用） */\n- (void)executeRefreshingCallback;\n\n#pragma mark - 刷新状态控制\n/** 进入刷新状态 */\n- (void)beginRefreshing;\n- (void)beginRefreshingWithCompletionBlock:(void (^)(void))completionBlock;\n/** 开始刷新后的回调(进入刷新状态后的回调) */\n@property (copy, nonatomic) MJRefreshComponentbeginRefreshingCompletionBlock beginRefreshingCompletionBlock;\n/** 结束刷新的回调 */\n@property (copy, nonatomic) MJRefreshComponentEndRefreshingCompletionBlock endRefreshingCompletionBlock;\n/** 结束刷新状态 */\n- (void)endRefreshing;\n- (void)endRefreshingWithCompletionBlock:(void (^)(void))completionBlock;\n/** 是否正在刷新 */\n@property (assign, nonatomic, readonly, getter=isRefreshing) BOOL refreshing;\n//- (BOOL)isRefreshing;\n/** 刷新状态 一般交给子类内部实现 */\n@property (assign, nonatomic) MJRefreshState state;\n\n#pragma mark - 交给子类去访问\n/** 记录scrollView刚开始的inset */\n@property (assign, nonatomic, readonly) UIEdgeInsets scrollViewOriginalInset;\n/** 父控件 */\n@property (weak, nonatomic, readonly) UIScrollView *scrollView;\n\n#pragma mark - 交给子类们去实现\n/** 初始化 */\n- (void)prepare NS_REQUIRES_SUPER;\n/** 摆放子控件frame */\n- (void)placeSubviews NS_REQUIRES_SUPER;\n/** 当scrollView的contentOffset发生改变的时候调用 */\n- (void)scrollViewContentOffsetDidChange:(NSDictionary *)change NS_REQUIRES_SUPER;\n/** 当scrollView的contentSize发生改变的时候调用 */\n- (void)scrollViewContentSizeDidChange:(NSDictionary *)change NS_REQUIRES_SUPER;\n/** 当scrollView的拖拽状态发生改变的时候调用 */\n- (void)scrollViewPanStateDidChange:(NSDictionary *)change NS_REQUIRES_SUPER;\n\n\n#pragma mark - 其他\n/** 拉拽的百分比(交给子类重写) */\n@property (assign, nonatomic) CGFloat pullingPercent;\n/** 根据拖拽比例自动切换透明度 */\n@property (assign, nonatomic, getter=isAutoChangeAlpha) BOOL autoChangeAlpha MJRefreshDeprecated(\"请使用automaticallyChangeAlpha属性\");\n/** 根据拖拽比例自动切换透明度 */\n@property (assign, nonatomic, getter=isAutomaticallyChangeAlpha) BOOL automaticallyChangeAlpha;\n@end\n\n@interface UILabel(MJRefresh)\n+ (instancetype)mj_label;\n- (CGFloat)mj_textWith;\n@end\n"
  },
  {
    "path": "CKMeiTuanShopView/Pods/MJRefresh/MJRefresh/Base/MJRefreshComponent.m",
    "content": "//  代码地址: https://github.com/CoderMJLee/MJRefresh\n//  代码地址: http://code4app.com/ios/%E5%BF%AB%E9%80%9F%E9%9B%86%E6%88%90%E4%B8%8B%E6%8B%89%E4%B8%8A%E6%8B%89%E5%88%B7%E6%96%B0/52326ce26803fabc46000000\n//  MJRefreshComponent.m\n//  MJRefreshExample\n//\n//  Created by MJ Lee on 15/3/4.\n//  Copyright (c) 2015年 小码哥. All rights reserved.\n//\n\n#import \"MJRefreshComponent.h\"\n#import \"MJRefreshConst.h\"\n\n@interface MJRefreshComponent()\n@property (strong, nonatomic) UIPanGestureRecognizer *pan;\n@end\n\n@implementation MJRefreshComponent\n#pragma mark - 初始化\n- (instancetype)initWithFrame:(CGRect)frame\n{\n    if (self = [super initWithFrame:frame]) {\n        // 准备工作\n        [self prepare];\n        \n        // 默认是普通状态\n        self.state = MJRefreshStateIdle;\n    }\n    return self;\n}\n\n- (void)prepare\n{\n    // 基本属性\n    self.autoresizingMask = UIViewAutoresizingFlexibleWidth;\n    self.backgroundColor = [UIColor clearColor];\n}\n\n- (void)layoutSubviews\n{\n    [self placeSubviews];\n    \n    [super layoutSubviews];\n}\n\n- (void)placeSubviews{}\n\n- (void)willMoveToSuperview:(UIView *)newSuperview\n{\n    [super willMoveToSuperview:newSuperview];\n    \n    // 如果不是UIScrollView，不做任何事情\n    if (newSuperview && ![newSuperview isKindOfClass:[UIScrollView class]]) return;\n    \n    // 旧的父控件移除监听\n    [self removeObservers];\n    \n    if (newSuperview) { // 新的父控件\n        // 设置宽度\n        self.mj_w = newSuperview.mj_w;\n        // 设置位置\n        self.mj_x = -_scrollView.mj_insetL;\n        \n        // 记录UIScrollView\n        _scrollView = (UIScrollView *)newSuperview;\n        // 设置永远支持垂直弹簧效果\n        _scrollView.alwaysBounceVertical = YES;\n        // 记录UIScrollView最开始的contentInset\n        _scrollViewOriginalInset = _scrollView.mj_inset;\n        \n        // 添加监听\n        [self addObservers];\n    }\n}\n\n- (void)drawRect:(CGRect)rect\n{\n    [super drawRect:rect];\n    \n    if (self.state == MJRefreshStateWillRefresh) {\n        // 预防view还没显示出来就调用了beginRefreshing\n        self.state = MJRefreshStateRefreshing;\n    }\n}\n\n#pragma mark - KVO监听\n- (void)addObservers\n{\n    NSKeyValueObservingOptions options = NSKeyValueObservingOptionNew | NSKeyValueObservingOptionOld;\n    [self.scrollView addObserver:self forKeyPath:MJRefreshKeyPathContentOffset options:options context:nil];\n    [self.scrollView addObserver:self forKeyPath:MJRefreshKeyPathContentSize options:options context:nil];\n    self.pan = self.scrollView.panGestureRecognizer;\n    [self.pan addObserver:self forKeyPath:MJRefreshKeyPathPanState options:options context:nil];\n}\n\n- (void)removeObservers\n{\n    [self.superview removeObserver:self forKeyPath:MJRefreshKeyPathContentOffset];\n    [self.superview removeObserver:self forKeyPath:MJRefreshKeyPathContentSize];\n    [self.pan removeObserver:self forKeyPath:MJRefreshKeyPathPanState];\n    self.pan = nil;\n}\n\n- (void)observeValueForKeyPath:(NSString *)keyPath ofObject:(id)object change:(NSDictionary *)change context:(void *)context\n{\n    // 遇到这些情况就直接返回\n    if (!self.userInteractionEnabled) return;\n    \n    // 这个就算看不见也需要处理\n    if ([keyPath isEqualToString:MJRefreshKeyPathContentSize]) {\n        [self scrollViewContentSizeDidChange:change];\n    }\n    \n    // 看不见\n    if (self.hidden) return;\n    if ([keyPath isEqualToString:MJRefreshKeyPathContentOffset]) {\n        [self scrollViewContentOffsetDidChange:change];\n    } else if ([keyPath isEqualToString:MJRefreshKeyPathPanState]) {\n        [self scrollViewPanStateDidChange:change];\n    }\n}\n\n- (void)scrollViewContentOffsetDidChange:(NSDictionary *)change{}\n- (void)scrollViewContentSizeDidChange:(NSDictionary *)change{}\n- (void)scrollViewPanStateDidChange:(NSDictionary *)change{}\n\n#pragma mark - 公共方法\n#pragma mark 设置回调对象和回调方法\n- (void)setRefreshingTarget:(id)target refreshingAction:(SEL)action\n{\n    self.refreshingTarget = target;\n    self.refreshingAction = action;\n}\n\n- (void)setState:(MJRefreshState)state\n{\n    _state = state;\n    \n    // 加入主队列的目的是等setState:方法调用完毕、设置完文字后再去布局子控件\n    MJRefreshDispatchAsyncOnMainQueue([self setNeedsLayout];)\n}\n\n#pragma mark 进入刷新状态\n- (void)beginRefreshing\n{\n    [UIView animateWithDuration:MJRefreshFastAnimationDuration animations:^{\n        self.alpha = 1.0;\n    }];\n    self.pullingPercent = 1.0;\n    // 只要正在刷新，就完全显示\n    if (self.window) {\n        self.state = MJRefreshStateRefreshing;\n    } else {\n        // 预防正在刷新中时，调用本方法使得header inset回置失败\n        if (self.state != MJRefreshStateRefreshing) {\n            self.state = MJRefreshStateWillRefresh;\n            // 刷新(预防从另一个控制器回到这个控制器的情况，回来要重新刷新一下)\n            [self setNeedsDisplay];\n        }\n    }\n}\n\n- (void)beginRefreshingWithCompletionBlock:(void (^)(void))completionBlock\n{\n    self.beginRefreshingCompletionBlock = completionBlock;\n    \n    [self beginRefreshing];\n}\n\n#pragma mark 结束刷新状态\n- (void)endRefreshing\n{\n    MJRefreshDispatchAsyncOnMainQueue(self.state = MJRefreshStateIdle;)\n}\n\n- (void)endRefreshingWithCompletionBlock:(void (^)(void))completionBlock\n{\n    self.endRefreshingCompletionBlock = completionBlock;\n    \n    [self endRefreshing];\n}\n\n#pragma mark 是否正在刷新\n- (BOOL)isRefreshing\n{\n    return self.state == MJRefreshStateRefreshing || self.state == MJRefreshStateWillRefresh;\n}\n\n#pragma mark 自动切换透明度\n- (void)setAutoChangeAlpha:(BOOL)autoChangeAlpha\n{\n    self.automaticallyChangeAlpha = autoChangeAlpha;\n}\n\n- (BOOL)isAutoChangeAlpha\n{\n    return self.isAutomaticallyChangeAlpha;\n}\n\n- (void)setAutomaticallyChangeAlpha:(BOOL)automaticallyChangeAlpha\n{\n    _automaticallyChangeAlpha = automaticallyChangeAlpha;\n    \n    if (self.isRefreshing) return;\n    \n    if (automaticallyChangeAlpha) {\n        self.alpha = self.pullingPercent;\n    } else {\n        self.alpha = 1.0;\n    }\n}\n\n#pragma mark 根据拖拽进度设置透明度\n- (void)setPullingPercent:(CGFloat)pullingPercent\n{\n    _pullingPercent = pullingPercent;\n    \n    if (self.isRefreshing) return;\n    \n    if (self.isAutomaticallyChangeAlpha) {\n        self.alpha = pullingPercent;\n    }\n}\n\n#pragma mark - 内部方法\n- (void)executeRefreshingCallback\n{\n    MJRefreshDispatchAsyncOnMainQueue({\n        if (self.refreshingBlock) {\n            self.refreshingBlock();\n        }\n        if ([self.refreshingTarget respondsToSelector:self.refreshingAction]) {\n            MJRefreshMsgSend(MJRefreshMsgTarget(self.refreshingTarget), self.refreshingAction, self);\n        }\n        if (self.beginRefreshingCompletionBlock) {\n            self.beginRefreshingCompletionBlock();\n        }\n    })\n}\n@end\n\n@implementation UILabel(MJRefresh)\n+ (instancetype)mj_label\n{\n    UILabel *label = [[self alloc] init];\n    label.font = MJRefreshLabelFont;\n    label.textColor = MJRefreshLabelTextColor;\n    label.autoresizingMask = UIViewAutoresizingFlexibleWidth;\n    label.textAlignment = NSTextAlignmentCenter;\n    label.backgroundColor = [UIColor clearColor];\n    return label;\n}\n\n- (CGFloat)mj_textWith {\n    CGFloat stringWidth = 0;\n    CGSize size = CGSizeMake(MAXFLOAT, MAXFLOAT);\n    if (self.text.length > 0) {\n#if defined(__IPHONE_OS_VERSION_MAX_ALLOWED) && __IPHONE_OS_VERSION_MAX_ALLOWED >= 70000\n        stringWidth =[self.text\n                      boundingRectWithSize:size\n                      options:NSStringDrawingUsesLineFragmentOrigin\n                      attributes:@{NSFontAttributeName:self.font}\n                      context:nil].size.width;\n#else\n        \n        stringWidth = [self.text sizeWithFont:self.font\n                            constrainedToSize:size\n                                lineBreakMode:NSLineBreakByCharWrapping].width;\n#endif\n    }\n    return stringWidth;\n}\n@end\n"
  },
  {
    "path": "CKMeiTuanShopView/Pods/MJRefresh/MJRefresh/Base/MJRefreshFooter.h",
    "content": "//  代码地址: https://github.com/CoderMJLee/MJRefresh\n//  代码地址: http://code4app.com/ios/%E5%BF%AB%E9%80%9F%E9%9B%86%E6%88%90%E4%B8%8B%E6%8B%89%E4%B8%8A%E6%8B%89%E5%88%B7%E6%96%B0/52326ce26803fabc46000000\n//  MJRefreshFooter.h\n//  MJRefreshExample\n//\n//  Created by MJ Lee on 15/3/5.\n//  Copyright (c) 2015年 小码哥. All rights reserved.\n//  上拉刷新控件\n\n#import \"MJRefreshComponent.h\"\n\n@interface MJRefreshFooter : MJRefreshComponent\n/** 创建footer */\n+ (instancetype)footerWithRefreshingBlock:(MJRefreshComponentRefreshingBlock)refreshingBlock;\n/** 创建footer */\n+ (instancetype)footerWithRefreshingTarget:(id)target refreshingAction:(SEL)action;\n\n/** 提示没有更多的数据 */\n- (void)endRefreshingWithNoMoreData;\n- (void)noticeNoMoreData MJRefreshDeprecated(\"使用endRefreshingWithNoMoreData\");\n\n/** 重置没有更多的数据（消除没有更多数据的状态） */\n- (void)resetNoMoreData;\n\n/** 忽略多少scrollView的contentInset的bottom */\n@property (assign, nonatomic) CGFloat ignoredScrollViewContentInsetBottom;\n\n/** 自动根据有无数据来显示和隐藏（有数据就显示，没有数据隐藏。默认是NO） */\n@property (assign, nonatomic, getter=isAutomaticallyHidden) BOOL automaticallyHidden MJRefreshDeprecated(\"不建议使用此属性，开发者请自行控制footer的显示和隐藏。基于安全考虑，在未来的某些版本此属性可能作废\");\n@end\n"
  },
  {
    "path": "CKMeiTuanShopView/Pods/MJRefresh/MJRefresh/Base/MJRefreshFooter.m",
    "content": "//  代码地址: https://github.com/CoderMJLee/MJRefresh\n//  代码地址: http://code4app.com/ios/%E5%BF%AB%E9%80%9F%E9%9B%86%E6%88%90%E4%B8%8B%E6%8B%89%E4%B8%8A%E6%8B%89%E5%88%B7%E6%96%B0/52326ce26803fabc46000000\n//  MJRefreshFooter.m\n//  MJRefreshExample\n//\n//  Created by MJ Lee on 15/3/5.\n//  Copyright (c) 2015年 小码哥. All rights reserved.\n//\n\n#import \"MJRefreshFooter.h\"\n#include \"UIScrollView+MJRefresh.h\"\n\n@interface MJRefreshFooter()\n\n@end\n\n@implementation MJRefreshFooter\n#pragma mark - 构造方法\n+ (instancetype)footerWithRefreshingBlock:(MJRefreshComponentRefreshingBlock)refreshingBlock\n{\n    MJRefreshFooter *cmp = [[self alloc] init];\n    cmp.refreshingBlock = refreshingBlock;\n    return cmp;\n}\n+ (instancetype)footerWithRefreshingTarget:(id)target refreshingAction:(SEL)action\n{\n    MJRefreshFooter *cmp = [[self alloc] init];\n    [cmp setRefreshingTarget:target refreshingAction:action];\n    return cmp;\n}\n\n#pragma mark - 重写父类的方法\n- (void)prepare\n{\n    [super prepare];\n    \n    // 设置自己的高度\n    self.mj_h = MJRefreshFooterHeight;\n    \n    // 默认不会自动隐藏\n    self.automaticallyHidden = NO;\n}\n\n- (void)willMoveToSuperview:(UIView *)newSuperview\n{\n    [super willMoveToSuperview:newSuperview];\n    \n    if (newSuperview) {\n        // 监听scrollView数据的变化\n        if ([self.scrollView isKindOfClass:[UITableView class]] || [self.scrollView isKindOfClass:[UICollectionView class]]) {\n            [self.scrollView setMj_reloadDataBlock:^(NSInteger totalDataCount) {\n                if (self.isAutomaticallyHidden) {\n                    self.hidden = (totalDataCount == 0);\n                }\n            }];\n        }\n    }\n}\n\n#pragma mark - 公共方法\n- (void)endRefreshingWithNoMoreData\n{\n    MJRefreshDispatchAsyncOnMainQueue(self.state = MJRefreshStateNoMoreData;)\n}\n\n- (void)noticeNoMoreData\n{\n    [self endRefreshingWithNoMoreData];\n}\n\n- (void)resetNoMoreData\n{\n    MJRefreshDispatchAsyncOnMainQueue(self.state = MJRefreshStateIdle;)\n}\n\n- (void)setAutomaticallyHidden:(BOOL)automaticallyHidden\n{\n    _automaticallyHidden = automaticallyHidden;\n}\n@end\n"
  },
  {
    "path": "CKMeiTuanShopView/Pods/MJRefresh/MJRefresh/Base/MJRefreshHeader.h",
    "content": "//  代码地址: https://github.com/CoderMJLee/MJRefresh\n//  代码地址: http://code4app.com/ios/%E5%BF%AB%E9%80%9F%E9%9B%86%E6%88%90%E4%B8%8B%E6%8B%89%E4%B8%8A%E6%8B%89%E5%88%B7%E6%96%B0/52326ce26803fabc46000000\n//  MJRefreshHeader.h\n//  MJRefreshExample\n//\n//  Created by MJ Lee on 15/3/4.\n//  Copyright (c) 2015年 小码哥. All rights reserved.\n//  下拉刷新控件:负责监控用户下拉的状态\n\n#import \"MJRefreshComponent.h\"\n\n@interface MJRefreshHeader : MJRefreshComponent\n/** 创建header */\n+ (instancetype)headerWithRefreshingBlock:(MJRefreshComponentRefreshingBlock)refreshingBlock;\n/** 创建header */\n+ (instancetype)headerWithRefreshingTarget:(id)target refreshingAction:(SEL)action;\n\n/** 这个key用来存储上一次下拉刷新成功的时间 */\n@property (copy, nonatomic) NSString *lastUpdatedTimeKey;\n/** 上一次下拉刷新成功的时间 */\n@property (strong, nonatomic, readonly) NSDate *lastUpdatedTime;\n\n/** 忽略多少scrollView的contentInset的top */\n@property (assign, nonatomic) CGFloat ignoredScrollViewContentInsetTop;\n@end\n"
  },
  {
    "path": "CKMeiTuanShopView/Pods/MJRefresh/MJRefresh/Base/MJRefreshHeader.m",
    "content": "//  代码地址: https://github.com/CoderMJLee/MJRefresh\n//  代码地址: http://code4app.com/ios/%E5%BF%AB%E9%80%9F%E9%9B%86%E6%88%90%E4%B8%8B%E6%8B%89%E4%B8%8A%E6%8B%89%E5%88%B7%E6%96%B0/52326ce26803fabc46000000\n//  MJRefreshHeader.m\n//  MJRefreshExample\n//\n//  Created by MJ Lee on 15/3/4.\n//  Copyright (c) 2015年 小码哥. All rights reserved.\n//\n\n#import \"MJRefreshHeader.h\"\n\n@interface MJRefreshHeader()\n@property (assign, nonatomic) CGFloat insetTDelta;\n@end\n\n@implementation MJRefreshHeader\n#pragma mark - 构造方法\n+ (instancetype)headerWithRefreshingBlock:(MJRefreshComponentRefreshingBlock)refreshingBlock\n{\n    MJRefreshHeader *cmp = [[self alloc] init];\n    cmp.refreshingBlock = refreshingBlock;\n    return cmp;\n}\n+ (instancetype)headerWithRefreshingTarget:(id)target refreshingAction:(SEL)action\n{\n    MJRefreshHeader *cmp = [[self alloc] init];\n    [cmp setRefreshingTarget:target refreshingAction:action];\n    return cmp;\n}\n\n#pragma mark - 覆盖父类的方法\n- (void)prepare\n{\n    [super prepare];\n    \n    // 设置key\n    self.lastUpdatedTimeKey = MJRefreshHeaderLastUpdatedTimeKey;\n    \n    // 设置高度\n    self.mj_h = MJRefreshHeaderHeight;\n}\n\n- (void)placeSubviews\n{\n    [super placeSubviews];\n    \n    // 设置y值(当自己的高度发生改变了，肯定要重新调整Y值，所以放到placeSubviews方法中设置y值)\n    self.mj_y = - self.mj_h - self.ignoredScrollViewContentInsetTop;\n}\n\n- (void)scrollViewContentOffsetDidChange:(NSDictionary *)change\n{\n    [super scrollViewContentOffsetDidChange:change];\n    \n    // 在刷新的refreshing状态\n    if (self.state == MJRefreshStateRefreshing) {\n        // 暂时保留\n        if (self.window == nil) return;\n        \n        // sectionheader停留解决\n        CGFloat insetT = - self.scrollView.mj_offsetY > _scrollViewOriginalInset.top ? - self.scrollView.mj_offsetY : _scrollViewOriginalInset.top;\n        insetT = insetT > self.mj_h + _scrollViewOriginalInset.top ? self.mj_h + _scrollViewOriginalInset.top : insetT;\n        self.scrollView.mj_insetT = insetT;\n        \n        self.insetTDelta = _scrollViewOriginalInset.top - insetT;\n        return;\n    }\n    \n    // 跳转到下一个控制器时，contentInset可能会变\n    _scrollViewOriginalInset = self.scrollView.mj_inset;\n    \n    // 当前的contentOffset\n    CGFloat offsetY = self.scrollView.mj_offsetY;\n    // 头部控件刚好出现的offsetY\n    CGFloat happenOffsetY = - self.scrollViewOriginalInset.top;\n    \n    // 如果是向上滚动到看不见头部控件，直接返回\n    // >= -> >\n    if (offsetY > happenOffsetY) return;\n    \n    // 普通 和 即将刷新 的临界点\n    CGFloat normal2pullingOffsetY = happenOffsetY - self.mj_h;\n    CGFloat pullingPercent = (happenOffsetY - offsetY) / self.mj_h;\n    \n    if (self.scrollView.isDragging) { // 如果正在拖拽\n        self.pullingPercent = pullingPercent;\n        if (self.state == MJRefreshStateIdle && offsetY < normal2pullingOffsetY) {\n            // 转为即将刷新状态\n            self.state = MJRefreshStatePulling;\n        } else if (self.state == MJRefreshStatePulling && offsetY >= normal2pullingOffsetY) {\n            // 转为普通状态\n            self.state = MJRefreshStateIdle;\n        }\n    } else if (self.state == MJRefreshStatePulling) {// 即将刷新 && 手松开\n        // 开始刷新\n        [self beginRefreshing];\n    } else if (pullingPercent < 1) {\n        self.pullingPercent = pullingPercent;\n    }\n}\n\n- (void)setState:(MJRefreshState)state\n{\n    MJRefreshCheckState\n    \n    // 根据状态做事情\n    if (state == MJRefreshStateIdle) {\n        if (oldState != MJRefreshStateRefreshing) return;\n        \n        // 保存刷新时间\n        [[NSUserDefaults standardUserDefaults] setObject:[NSDate date] forKey:self.lastUpdatedTimeKey];\n        [[NSUserDefaults standardUserDefaults] synchronize];\n        \n        // 恢复inset和offset\n        [UIView animateWithDuration:MJRefreshSlowAnimationDuration animations:^{\n            self.scrollView.mj_insetT += self.insetTDelta;\n            \n            // 自动调整透明度\n            if (self.isAutomaticallyChangeAlpha) self.alpha = 0.0;\n        } completion:^(BOOL finished) {\n            self.pullingPercent = 0.0;\n            \n            if (self.endRefreshingCompletionBlock) {\n                self.endRefreshingCompletionBlock();\n            }\n        }];\n    } else if (state == MJRefreshStateRefreshing) {\n        MJRefreshDispatchAsyncOnMainQueue({\n            [UIView animateWithDuration:MJRefreshFastAnimationDuration animations:^{\n                CGFloat top = self.scrollViewOriginalInset.top + self.mj_h;\n                // 增加滚动区域top\n                self.scrollView.mj_insetT = top;\n                // 设置滚动位置\n                CGPoint offset = self.scrollView.contentOffset;\n                offset.y = -top;\n                [self.scrollView setContentOffset:offset animated:NO];\n            } completion:^(BOOL finished) {\n                [self executeRefreshingCallback];\n            }];\n        })\n    }\n}\n\n#pragma mark - 公共方法\n- (NSDate *)lastUpdatedTime\n{\n    return [[NSUserDefaults standardUserDefaults] objectForKey:self.lastUpdatedTimeKey];\n}\n\n- (void)setIgnoredScrollViewContentInsetTop:(CGFloat)ignoredScrollViewContentInsetTop {\n    _ignoredScrollViewContentInsetTop = ignoredScrollViewContentInsetTop;\n    \n    self.mj_y = - self.mj_h - _ignoredScrollViewContentInsetTop;\n}\n\n@end\n"
  },
  {
    "path": "CKMeiTuanShopView/Pods/MJRefresh/MJRefresh/Custom/Footer/Auto/MJRefreshAutoGifFooter.h",
    "content": "//\n//  MJRefreshAutoGifFooter.h\n//  MJRefreshExample\n//\n//  Created by MJ Lee on 15/4/24.\n//  Copyright (c) 2015年 小码哥. All rights reserved.\n//\n\n#import \"MJRefreshAutoStateFooter.h\"\n\n@interface MJRefreshAutoGifFooter : MJRefreshAutoStateFooter\n@property (weak, nonatomic, readonly) UIImageView *gifView;\n\n/** 设置state状态下的动画图片images 动画持续时间duration*/\n- (void)setImages:(NSArray *)images duration:(NSTimeInterval)duration forState:(MJRefreshState)state;\n- (void)setImages:(NSArray *)images forState:(MJRefreshState)state;\n@end\n"
  },
  {
    "path": "CKMeiTuanShopView/Pods/MJRefresh/MJRefresh/Custom/Footer/Auto/MJRefreshAutoGifFooter.m",
    "content": "//\n//  MJRefreshAutoGifFooter.m\n//  MJRefreshExample\n//\n//  Created by MJ Lee on 15/4/24.\n//  Copyright (c) 2015年 小码哥. All rights reserved.\n//\n\n#import \"MJRefreshAutoGifFooter.h\"\n\n@interface MJRefreshAutoGifFooter()\n{\n    __unsafe_unretained UIImageView *_gifView;\n}\n/** 所有状态对应的动画图片 */\n@property (strong, nonatomic) NSMutableDictionary *stateImages;\n/** 所有状态对应的动画时间 */\n@property (strong, nonatomic) NSMutableDictionary *stateDurations;\n@end\n\n@implementation MJRefreshAutoGifFooter\n#pragma mark - 懒加载\n- (UIImageView *)gifView\n{\n    if (!_gifView) {\n        UIImageView *gifView = [[UIImageView alloc] init];\n        [self addSubview:_gifView = gifView];\n    }\n    return _gifView;\n}\n\n- (NSMutableDictionary *)stateImages\n{\n    if (!_stateImages) {\n        self.stateImages = [NSMutableDictionary dictionary];\n    }\n    return _stateImages;\n}\n\n- (NSMutableDictionary *)stateDurations\n{\n    if (!_stateDurations) {\n        self.stateDurations = [NSMutableDictionary dictionary];\n    }\n    return _stateDurations;\n}\n\n#pragma mark - 公共方法\n- (void)setImages:(NSArray *)images duration:(NSTimeInterval)duration forState:(MJRefreshState)state\n{\n    if (images == nil) return;\n    \n    self.stateImages[@(state)] = images;\n    self.stateDurations[@(state)] = @(duration);\n    \n    /* 根据图片设置控件的高度 */\n    UIImage *image = [images firstObject];\n    if (image.size.height > self.mj_h) {\n        self.mj_h = image.size.height;\n    }\n}\n\n- (void)setImages:(NSArray *)images forState:(MJRefreshState)state\n{\n    [self setImages:images duration:images.count * 0.1 forState:state];\n}\n\n#pragma mark - 实现父类的方法\n- (void)prepare\n{\n    [super prepare];\n    \n    // 初始化间距\n    self.labelLeftInset = 20;\n}\n\n- (void)placeSubviews\n{\n    [super placeSubviews];\n    \n    if (self.gifView.constraints.count) return;\n    \n    self.gifView.frame = self.bounds;\n    if (self.isRefreshingTitleHidden) {\n        self.gifView.contentMode = UIViewContentModeCenter;\n    } else {\n        self.gifView.contentMode = UIViewContentModeRight;\n        self.gifView.mj_w = self.mj_w * 0.5 - self.labelLeftInset - self.stateLabel.mj_textWith * 0.5;\n    }\n}\n\n- (void)setState:(MJRefreshState)state\n{\n    MJRefreshCheckState\n    \n    // 根据状态做事情\n    if (state == MJRefreshStateRefreshing) {\n        NSArray *images = self.stateImages[@(state)];\n        if (images.count == 0) return;\n        [self.gifView stopAnimating];\n        \n        self.gifView.hidden = NO;\n        if (images.count == 1) { // 单张图片\n            self.gifView.image = [images lastObject];\n        } else { // 多张图片\n            self.gifView.animationImages = images;\n            self.gifView.animationDuration = [self.stateDurations[@(state)] doubleValue];\n            [self.gifView startAnimating];\n        }\n    } else if (state == MJRefreshStateNoMoreData || state == MJRefreshStateIdle) {\n        [self.gifView stopAnimating];\n        self.gifView.hidden = YES;\n    }\n}\n@end\n\n"
  },
  {
    "path": "CKMeiTuanShopView/Pods/MJRefresh/MJRefresh/Custom/Footer/Auto/MJRefreshAutoNormalFooter.h",
    "content": "//\n//  MJRefreshAutoNormalFooter.h\n//  MJRefreshExample\n//\n//  Created by MJ Lee on 15/4/24.\n//  Copyright (c) 2015年 小码哥. All rights reserved.\n//\n\n#import \"MJRefreshAutoStateFooter.h\"\n\n@interface MJRefreshAutoNormalFooter : MJRefreshAutoStateFooter\n/** 菊花的样式 */\n@property (assign, nonatomic) UIActivityIndicatorViewStyle activityIndicatorViewStyle;\n@end\n"
  },
  {
    "path": "CKMeiTuanShopView/Pods/MJRefresh/MJRefresh/Custom/Footer/Auto/MJRefreshAutoNormalFooter.m",
    "content": "//\n//  MJRefreshAutoNormalFooter.m\n//  MJRefreshExample\n//\n//  Created by MJ Lee on 15/4/24.\n//  Copyright (c) 2015年 小码哥. All rights reserved.\n//\n\n#import \"MJRefreshAutoNormalFooter.h\"\n\n@interface MJRefreshAutoNormalFooter()\n@property (weak, nonatomic) UIActivityIndicatorView *loadingView;\n@end\n\n@implementation MJRefreshAutoNormalFooter\n#pragma mark - 懒加载子控件\n- (UIActivityIndicatorView *)loadingView\n{\n    if (!_loadingView) {\n        UIActivityIndicatorView *loadingView = [[UIActivityIndicatorView alloc] initWithActivityIndicatorStyle:self.activityIndicatorViewStyle];\n        loadingView.hidesWhenStopped = YES;\n        [self addSubview:_loadingView = loadingView];\n    }\n    return _loadingView;\n}\n\n- (void)setActivityIndicatorViewStyle:(UIActivityIndicatorViewStyle)activityIndicatorViewStyle\n{\n    _activityIndicatorViewStyle = activityIndicatorViewStyle;\n    \n    self.loadingView = nil;\n    [self setNeedsLayout];\n}\n#pragma mark - 重写父类的方法\n- (void)prepare\n{\n    [super prepare];\n    \n    self.activityIndicatorViewStyle = UIActivityIndicatorViewStyleGray;\n}\n\n- (void)placeSubviews\n{\n    [super placeSubviews];\n    \n    if (self.loadingView.constraints.count) return;\n    \n    // 圈圈\n    CGFloat loadingCenterX = self.mj_w * 0.5;\n    if (!self.isRefreshingTitleHidden) {\n        loadingCenterX -= self.stateLabel.mj_textWith * 0.5 + self.labelLeftInset;\n    }\n    CGFloat loadingCenterY = self.mj_h * 0.5;\n    self.loadingView.center = CGPointMake(loadingCenterX, loadingCenterY);\n}\n\n- (void)setState:(MJRefreshState)state\n{\n    MJRefreshCheckState\n    \n    // 根据状态做事情\n    if (state == MJRefreshStateNoMoreData || state == MJRefreshStateIdle) {\n        [self.loadingView stopAnimating];\n    } else if (state == MJRefreshStateRefreshing) {\n        [self.loadingView startAnimating];\n    }\n}\n\n@end\n"
  },
  {
    "path": "CKMeiTuanShopView/Pods/MJRefresh/MJRefresh/Custom/Footer/Auto/MJRefreshAutoStateFooter.h",
    "content": "//\n//  MJRefreshAutoStateFooter.h\n//  MJRefreshExample\n//\n//  Created by MJ Lee on 15/6/13.\n//  Copyright © 2015年 小码哥. All rights reserved.\n//\n\n#import \"MJRefreshAutoFooter.h\"\n\n@interface MJRefreshAutoStateFooter : MJRefreshAutoFooter\n/** 文字距离圈圈、箭头的距离 */\n@property (assign, nonatomic) CGFloat labelLeftInset;\n/** 显示刷新状态的label */\n@property (weak, nonatomic, readonly) UILabel *stateLabel;\n\n/** 设置state状态下的文字 */\n- (void)setTitle:(NSString *)title forState:(MJRefreshState)state;\n\n/** 隐藏刷新状态的文字 */\n@property (assign, nonatomic, getter=isRefreshingTitleHidden) BOOL refreshingTitleHidden;\n@end\n"
  },
  {
    "path": "CKMeiTuanShopView/Pods/MJRefresh/MJRefresh/Custom/Footer/Auto/MJRefreshAutoStateFooter.m",
    "content": "//\n//  MJRefreshAutoStateFooter.m\n//  MJRefreshExample\n//\n//  Created by MJ Lee on 15/6/13.\n//  Copyright © 2015年 小码哥. All rights reserved.\n//\n\n#import \"MJRefreshAutoStateFooter.h\"\n\n@interface MJRefreshAutoStateFooter()\n{\n    /** 显示刷新状态的label */\n    __unsafe_unretained UILabel *_stateLabel;\n}\n/** 所有状态对应的文字 */\n@property (strong, nonatomic) NSMutableDictionary *stateTitles;\n@end\n\n@implementation MJRefreshAutoStateFooter\n#pragma mark - 懒加载\n- (NSMutableDictionary *)stateTitles\n{\n    if (!_stateTitles) {\n        self.stateTitles = [NSMutableDictionary dictionary];\n    }\n    return _stateTitles;\n}\n\n- (UILabel *)stateLabel\n{\n    if (!_stateLabel) {\n        [self addSubview:_stateLabel = [UILabel mj_label]];\n    }\n    return _stateLabel;\n}\n\n#pragma mark - 公共方法\n- (void)setTitle:(NSString *)title forState:(MJRefreshState)state\n{\n    if (title == nil) return;\n    self.stateTitles[@(state)] = title;\n    self.stateLabel.text = self.stateTitles[@(self.state)];\n}\n\n#pragma mark - 私有方法\n- (void)stateLabelClick\n{\n    if (self.state == MJRefreshStateIdle) {\n        [self beginRefreshing];\n    }\n}\n\n#pragma mark - 重写父类的方法\n- (void)prepare\n{\n    [super prepare];\n    \n    // 初始化间距\n    self.labelLeftInset = MJRefreshLabelLeftInset;\n    \n    // 初始化文字\n    [self setTitle:[NSBundle mj_localizedStringForKey:MJRefreshAutoFooterIdleText] forState:MJRefreshStateIdle];\n    [self setTitle:[NSBundle mj_localizedStringForKey:MJRefreshAutoFooterRefreshingText] forState:MJRefreshStateRefreshing];\n    [self setTitle:[NSBundle mj_localizedStringForKey:MJRefreshAutoFooterNoMoreDataText] forState:MJRefreshStateNoMoreData];\n    \n    // 监听label\n    self.stateLabel.userInteractionEnabled = YES;\n    [self.stateLabel addGestureRecognizer:[[UITapGestureRecognizer alloc] initWithTarget:self action:@selector(stateLabelClick)]];\n}\n\n- (void)placeSubviews\n{\n    [super placeSubviews];\n    \n    if (self.stateLabel.constraints.count) return;\n    \n    // 状态标签\n    self.stateLabel.frame = self.bounds;\n}\n\n- (void)setState:(MJRefreshState)state\n{\n    MJRefreshCheckState\n    \n    if (self.isRefreshingTitleHidden && state == MJRefreshStateRefreshing) {\n        self.stateLabel.text = nil;\n    } else {\n        self.stateLabel.text = self.stateTitles[@(state)];\n    }\n}\n@end"
  },
  {
    "path": "CKMeiTuanShopView/Pods/MJRefresh/MJRefresh/Custom/Footer/Back/MJRefreshBackGifFooter.h",
    "content": "//\n//  MJRefreshBackGifFooter.h\n//  MJRefreshExample\n//\n//  Created by MJ Lee on 15/4/24.\n//  Copyright (c) 2015年 小码哥. All rights reserved.\n//\n\n#import \"MJRefreshBackStateFooter.h\"\n\n@interface MJRefreshBackGifFooter : MJRefreshBackStateFooter\n@property (weak, nonatomic, readonly) UIImageView *gifView;\n\n/** 设置state状态下的动画图片images 动画持续时间duration*/\n- (void)setImages:(NSArray *)images duration:(NSTimeInterval)duration forState:(MJRefreshState)state;\n- (void)setImages:(NSArray *)images forState:(MJRefreshState)state;\n@end\n"
  },
  {
    "path": "CKMeiTuanShopView/Pods/MJRefresh/MJRefresh/Custom/Footer/Back/MJRefreshBackGifFooter.m",
    "content": "//\n//  MJRefreshBackGifFooter.m\n//  MJRefreshExample\n//\n//  Created by MJ Lee on 15/4/24.\n//  Copyright (c) 2015年 小码哥. All rights reserved.\n//\n\n#import \"MJRefreshBackGifFooter.h\"\n\n@interface MJRefreshBackGifFooter()\n{\n    __unsafe_unretained UIImageView *_gifView;\n}\n/** 所有状态对应的动画图片 */\n@property (strong, nonatomic) NSMutableDictionary *stateImages;\n/** 所有状态对应的动画时间 */\n@property (strong, nonatomic) NSMutableDictionary *stateDurations;\n@end\n\n@implementation MJRefreshBackGifFooter\n#pragma mark - 懒加载\n- (UIImageView *)gifView\n{\n    if (!_gifView) {\n        UIImageView *gifView = [[UIImageView alloc] init];\n        [self addSubview:_gifView = gifView];\n    }\n    return _gifView;\n}\n\n- (NSMutableDictionary *)stateImages\n{\n    if (!_stateImages) {\n        self.stateImages = [NSMutableDictionary dictionary];\n    }\n    return _stateImages;\n}\n\n- (NSMutableDictionary *)stateDurations\n{\n    if (!_stateDurations) {\n        self.stateDurations = [NSMutableDictionary dictionary];\n    }\n    return _stateDurations;\n}\n\n#pragma mark - 公共方法\n- (void)setImages:(NSArray *)images duration:(NSTimeInterval)duration forState:(MJRefreshState)state\n{\n    if (images == nil) return;\n    \n    self.stateImages[@(state)] = images;\n    self.stateDurations[@(state)] = @(duration);\n    \n    /* 根据图片设置控件的高度 */\n    UIImage *image = [images firstObject];\n    if (image.size.height > self.mj_h) {\n        self.mj_h = image.size.height;\n    }\n}\n\n- (void)setImages:(NSArray *)images forState:(MJRefreshState)state\n{\n    [self setImages:images duration:images.count * 0.1 forState:state];\n}\n\n#pragma mark - 实现父类的方法\n- (void)prepare\n{\n    [super prepare];\n    \n    // 初始化间距\n    self.labelLeftInset = 20;\n}\n\n- (void)setPullingPercent:(CGFloat)pullingPercent\n{\n    [super setPullingPercent:pullingPercent];\n    NSArray *images = self.stateImages[@(MJRefreshStateIdle)];\n    if (self.state != MJRefreshStateIdle || images.count == 0) return;\n    [self.gifView stopAnimating];\n    NSUInteger index =  images.count * pullingPercent;\n    if (index >= images.count) index = images.count - 1;\n    self.gifView.image = images[index];\n}\n\n- (void)placeSubviews\n{\n    [super placeSubviews];\n    \n    if (self.gifView.constraints.count) return;\n    \n    self.gifView.frame = self.bounds;\n    if (self.stateLabel.hidden) {\n        self.gifView.contentMode = UIViewContentModeCenter;\n    } else {\n        self.gifView.contentMode = UIViewContentModeRight;\n        self.gifView.mj_w = self.mj_w * 0.5 - self.labelLeftInset - self.stateLabel.mj_textWith * 0.5;\n    }\n}\n\n- (void)setState:(MJRefreshState)state\n{\n    MJRefreshCheckState\n    \n    // 根据状态做事情\n    if (state == MJRefreshStatePulling || state == MJRefreshStateRefreshing) {\n        NSArray *images = self.stateImages[@(state)];\n        if (images.count == 0) return;\n        \n        self.gifView.hidden = NO;\n        [self.gifView stopAnimating];\n        if (images.count == 1) { // 单张图片\n            self.gifView.image = [images lastObject];\n        } else { // 多张图片\n            self.gifView.animationImages = images;\n            self.gifView.animationDuration = [self.stateDurations[@(state)] doubleValue];\n            [self.gifView startAnimating];\n        }\n    } else if (state == MJRefreshStateIdle) {\n        self.gifView.hidden = NO;\n    } else if (state == MJRefreshStateNoMoreData) {\n        self.gifView.hidden = YES;\n    }\n}\n@end\n"
  },
  {
    "path": "CKMeiTuanShopView/Pods/MJRefresh/MJRefresh/Custom/Footer/Back/MJRefreshBackNormalFooter.h",
    "content": "//\n//  MJRefreshBackNormalFooter.h\n//  MJRefreshExample\n//\n//  Created by MJ Lee on 15/4/24.\n//  Copyright (c) 2015年 小码哥. All rights reserved.\n//\n\n#import \"MJRefreshBackStateFooter.h\"\n\n@interface MJRefreshBackNormalFooter : MJRefreshBackStateFooter\n@property (weak, nonatomic, readonly) UIImageView *arrowView;\n/** 菊花的样式 */\n@property (assign, nonatomic) UIActivityIndicatorViewStyle activityIndicatorViewStyle;\n@end\n"
  },
  {
    "path": "CKMeiTuanShopView/Pods/MJRefresh/MJRefresh/Custom/Footer/Back/MJRefreshBackNormalFooter.m",
    "content": "//\n//  MJRefreshBackNormalFooter.m\n//  MJRefreshExample\n//\n//  Created by MJ Lee on 15/4/24.\n//  Copyright (c) 2015年 小码哥. All rights reserved.\n//\n\n#import \"MJRefreshBackNormalFooter.h\"\n#import \"NSBundle+MJRefresh.h\"\n\n@interface MJRefreshBackNormalFooter()\n{\n    __unsafe_unretained UIImageView *_arrowView;\n}\n@property (weak, nonatomic) UIActivityIndicatorView *loadingView;\n@end\n\n@implementation MJRefreshBackNormalFooter\n#pragma mark - 懒加载子控件\n- (UIImageView *)arrowView\n{\n    if (!_arrowView) {\n        UIImageView *arrowView = [[UIImageView alloc] initWithImage:[NSBundle mj_arrowImage]];\n        [self addSubview:_arrowView = arrowView];\n    }\n    return _arrowView;\n}\n\n\n- (UIActivityIndicatorView *)loadingView\n{\n    if (!_loadingView) {\n        UIActivityIndicatorView *loadingView = [[UIActivityIndicatorView alloc] initWithActivityIndicatorStyle:self.activityIndicatorViewStyle];\n        loadingView.hidesWhenStopped = YES;\n        [self addSubview:_loadingView = loadingView];\n    }\n    return _loadingView;\n}\n\n- (void)setActivityIndicatorViewStyle:(UIActivityIndicatorViewStyle)activityIndicatorViewStyle\n{\n    _activityIndicatorViewStyle = activityIndicatorViewStyle;\n    \n    self.loadingView = nil;\n    [self setNeedsLayout];\n}\n#pragma mark - 重写父类的方法\n- (void)prepare\n{\n    [super prepare];\n    \n    self.activityIndicatorViewStyle = UIActivityIndicatorViewStyleGray;\n}\n\n- (void)placeSubviews\n{\n    [super placeSubviews];\n    \n    // 箭头的中心点\n    CGFloat arrowCenterX = self.mj_w * 0.5;\n    if (!self.stateLabel.hidden) {\n        arrowCenterX -= self.labelLeftInset + self.stateLabel.mj_textWith * 0.5;\n    }\n    CGFloat arrowCenterY = self.mj_h * 0.5;\n    CGPoint arrowCenter = CGPointMake(arrowCenterX, arrowCenterY);\n    \n    // 箭头\n    if (self.arrowView.constraints.count == 0) {\n        self.arrowView.mj_size = self.arrowView.image.size;\n        self.arrowView.center = arrowCenter;\n    }\n    \n    // 圈圈\n    if (self.loadingView.constraints.count == 0) {\n        self.loadingView.center = arrowCenter;\n    }\n    \n    self.arrowView.tintColor = self.stateLabel.textColor;\n}\n\n- (void)setState:(MJRefreshState)state\n{\n    MJRefreshCheckState\n    \n    // 根据状态做事情\n    if (state == MJRefreshStateIdle) {\n        if (oldState == MJRefreshStateRefreshing) {\n            self.arrowView.transform = CGAffineTransformMakeRotation(0.000001 - M_PI);\n            [UIView animateWithDuration:MJRefreshSlowAnimationDuration animations:^{\n                self.loadingView.alpha = 0.0;\n            } completion:^(BOOL finished) {\n                // 防止动画结束后，状态已经不是MJRefreshStateIdle\n                if (state != MJRefreshStateIdle) return;\n                \n                self.loadingView.alpha = 1.0;\n                [self.loadingView stopAnimating];\n                \n                self.arrowView.hidden = NO;\n            }];\n        } else {\n            self.arrowView.hidden = NO;\n            [self.loadingView stopAnimating];\n            [UIView animateWithDuration:MJRefreshFastAnimationDuration animations:^{\n                self.arrowView.transform = CGAffineTransformMakeRotation(0.000001 - M_PI);\n            }];\n        }\n    } else if (state == MJRefreshStatePulling) {\n        self.arrowView.hidden = NO;\n        [self.loadingView stopAnimating];\n        [UIView animateWithDuration:MJRefreshFastAnimationDuration animations:^{\n            self.arrowView.transform = CGAffineTransformIdentity;\n        }];\n    } else if (state == MJRefreshStateRefreshing) {\n        self.arrowView.hidden = YES;\n        [self.loadingView startAnimating];\n    } else if (state == MJRefreshStateNoMoreData) {\n        self.arrowView.hidden = YES;\n        [self.loadingView stopAnimating];\n    }\n}\n\n@end\n"
  },
  {
    "path": "CKMeiTuanShopView/Pods/MJRefresh/MJRefresh/Custom/Footer/Back/MJRefreshBackStateFooter.h",
    "content": "//\n//  MJRefreshBackStateFooter.h\n//  MJRefreshExample\n//\n//  Created by MJ Lee on 15/6/13.\n//  Copyright © 2015年 小码哥. All rights reserved.\n//\n\n#import \"MJRefreshBackFooter.h\"\n\n@interface MJRefreshBackStateFooter : MJRefreshBackFooter\n/** 文字距离圈圈、箭头的距离 */\n@property (assign, nonatomic) CGFloat labelLeftInset;\n/** 显示刷新状态的label */\n@property (weak, nonatomic, readonly) UILabel *stateLabel;\n/** 设置state状态下的文字 */\n- (void)setTitle:(NSString *)title forState:(MJRefreshState)state;\n\n/** 获取state状态下的title */\n- (NSString *)titleForState:(MJRefreshState)state;\n@end\n"
  },
  {
    "path": "CKMeiTuanShopView/Pods/MJRefresh/MJRefresh/Custom/Footer/Back/MJRefreshBackStateFooter.m",
    "content": "//\n//  MJRefreshBackStateFooter.m\n//  MJRefreshExample\n//\n//  Created by MJ Lee on 15/6/13.\n//  Copyright © 2015年 小码哥. All rights reserved.\n//\n\n#import \"MJRefreshBackStateFooter.h\"\n\n@interface MJRefreshBackStateFooter()\n{\n    /** 显示刷新状态的label */\n    __unsafe_unretained UILabel *_stateLabel;\n}\n/** 所有状态对应的文字 */\n@property (strong, nonatomic) NSMutableDictionary *stateTitles;\n@end\n\n@implementation MJRefreshBackStateFooter\n#pragma mark - 懒加载\n- (NSMutableDictionary *)stateTitles\n{\n    if (!_stateTitles) {\n        self.stateTitles = [NSMutableDictionary dictionary];\n    }\n    return _stateTitles;\n}\n\n- (UILabel *)stateLabel\n{\n    if (!_stateLabel) {\n        [self addSubview:_stateLabel = [UILabel mj_label]];\n    }\n    return _stateLabel;\n}\n\n#pragma mark - 公共方法\n- (void)setTitle:(NSString *)title forState:(MJRefreshState)state\n{\n    if (title == nil) return;\n    self.stateTitles[@(state)] = title;\n    self.stateLabel.text = self.stateTitles[@(self.state)];\n}\n\n- (NSString *)titleForState:(MJRefreshState)state {\n  return self.stateTitles[@(state)];\n}\n\n#pragma mark - 重写父类的方法\n- (void)prepare\n{\n    [super prepare];\n    \n    // 初始化间距\n    self.labelLeftInset = MJRefreshLabelLeftInset;\n    \n    // 初始化文字\n    [self setTitle:[NSBundle mj_localizedStringForKey:MJRefreshBackFooterIdleText] forState:MJRefreshStateIdle];\n    [self setTitle:[NSBundle mj_localizedStringForKey:MJRefreshBackFooterPullingText] forState:MJRefreshStatePulling];\n    [self setTitle:[NSBundle mj_localizedStringForKey:MJRefreshBackFooterRefreshingText] forState:MJRefreshStateRefreshing];\n    [self setTitle:[NSBundle mj_localizedStringForKey:MJRefreshBackFooterNoMoreDataText] forState:MJRefreshStateNoMoreData];\n}\n\n- (void)placeSubviews\n{\n    [super placeSubviews];\n    \n    if (self.stateLabel.constraints.count) return;\n    \n    // 状态标签\n    self.stateLabel.frame = self.bounds;\n}\n\n- (void)setState:(MJRefreshState)state\n{\n    MJRefreshCheckState\n    \n    // 设置状态文字\n    self.stateLabel.text = self.stateTitles[@(state)];\n}\n@end\n"
  },
  {
    "path": "CKMeiTuanShopView/Pods/MJRefresh/MJRefresh/Custom/Header/MJRefreshGifHeader.h",
    "content": "//\n//  MJRefreshGifHeader.h\n//  MJRefreshExample\n//\n//  Created by MJ Lee on 15/4/24.\n//  Copyright (c) 2015年 小码哥. All rights reserved.\n//\n\n#import \"MJRefreshStateHeader.h\"\n\n@interface MJRefreshGifHeader : MJRefreshStateHeader\n@property (weak, nonatomic, readonly) UIImageView *gifView;\n\n/** 设置state状态下的动画图片images 动画持续时间duration*/\n- (void)setImages:(NSArray *)images duration:(NSTimeInterval)duration forState:(MJRefreshState)state;\n- (void)setImages:(NSArray *)images forState:(MJRefreshState)state;\n@end\n"
  },
  {
    "path": "CKMeiTuanShopView/Pods/MJRefresh/MJRefresh/Custom/Header/MJRefreshGifHeader.m",
    "content": "//\n//  MJRefreshGifHeader.m\n//  MJRefreshExample\n//\n//  Created by MJ Lee on 15/4/24.\n//  Copyright (c) 2015年 小码哥. All rights reserved.\n//\n\n#import \"MJRefreshGifHeader.h\"\n\n@interface MJRefreshGifHeader()\n{\n    __unsafe_unretained UIImageView *_gifView;\n}\n/** 所有状态对应的动画图片 */\n@property (strong, nonatomic) NSMutableDictionary *stateImages;\n/** 所有状态对应的动画时间 */\n@property (strong, nonatomic) NSMutableDictionary *stateDurations;\n@end\n\n@implementation MJRefreshGifHeader\n#pragma mark - 懒加载\n- (UIImageView *)gifView\n{\n    if (!_gifView) { \n        UIImageView *gifView = [[UIImageView alloc] init]; \n        [self addSubview:_gifView = gifView]; \n    } \n    return _gifView; \n}\n\n- (NSMutableDictionary *)stateImages \n{ \n    if (!_stateImages) { \n        self.stateImages = [NSMutableDictionary dictionary]; \n    } \n    return _stateImages; \n}\n\n- (NSMutableDictionary *)stateDurations \n{ \n    if (!_stateDurations) { \n        self.stateDurations = [NSMutableDictionary dictionary]; \n    } \n    return _stateDurations; \n}\n\n#pragma mark - 公共方法\n- (void)setImages:(NSArray *)images duration:(NSTimeInterval)duration forState:(MJRefreshState)state \n{ \n    if (images == nil) return; \n    \n    self.stateImages[@(state)] = images; \n    self.stateDurations[@(state)] = @(duration); \n    \n    /* 根据图片设置控件的高度 */ \n    UIImage *image = [images firstObject]; \n    if (image.size.height > self.mj_h) { \n        self.mj_h = image.size.height; \n    } \n}\n\n- (void)setImages:(NSArray *)images forState:(MJRefreshState)state \n{ \n    [self setImages:images duration:images.count * 0.1 forState:state]; \n}\n\n#pragma mark - 实现父类的方法\n- (void)prepare\n{\n    [super prepare];\n    \n    // 初始化间距\n    self.labelLeftInset = 20;\n}\n\n- (void)setPullingPercent:(CGFloat)pullingPercent\n{\n    [super setPullingPercent:pullingPercent];\n    NSArray *images = self.stateImages[@(MJRefreshStateIdle)];\n    if (self.state != MJRefreshStateIdle || images.count == 0) return;\n    // 停止动画\n    [self.gifView stopAnimating];\n    // 设置当前需要显示的图片\n    NSUInteger index =  images.count * pullingPercent;\n    if (index >= images.count) index = images.count - 1;\n    self.gifView.image = images[index];\n}\n\n- (void)placeSubviews\n{\n    [super placeSubviews];\n    \n    if (self.gifView.constraints.count) return;\n    \n    self.gifView.frame = self.bounds;\n    if (self.stateLabel.hidden && self.lastUpdatedTimeLabel.hidden) {\n        self.gifView.contentMode = UIViewContentModeCenter;\n    } else {\n        self.gifView.contentMode = UIViewContentModeRight;\n        \n        CGFloat stateWidth = self.stateLabel.mj_textWith;\n        CGFloat timeWidth = 0.0;\n        if (!self.lastUpdatedTimeLabel.hidden) {\n            timeWidth = self.lastUpdatedTimeLabel.mj_textWith;\n        }\n        CGFloat textWidth = MAX(stateWidth, timeWidth);\n        self.gifView.mj_w = self.mj_w * 0.5 - textWidth * 0.5 - self.labelLeftInset;\n    }\n}\n\n- (void)setState:(MJRefreshState)state\n{\n    MJRefreshCheckState\n    \n    // 根据状态做事情\n    if (state == MJRefreshStatePulling || state == MJRefreshStateRefreshing) {\n        NSArray *images = self.stateImages[@(state)];\n        if (images.count == 0) return;\n        \n        [self.gifView stopAnimating];\n        if (images.count == 1) { // 单张图片\n            self.gifView.image = [images lastObject];\n        } else { // 多张图片\n            self.gifView.animationImages = images;\n            self.gifView.animationDuration = [self.stateDurations[@(state)] doubleValue];\n            [self.gifView startAnimating];\n        }\n    } else if (state == MJRefreshStateIdle) {\n        [self.gifView stopAnimating];\n    }\n}\n@end\n"
  },
  {
    "path": "CKMeiTuanShopView/Pods/MJRefresh/MJRefresh/Custom/Header/MJRefreshNormalHeader.h",
    "content": "//\n//  MJRefreshNormalHeader.h\n//  MJRefreshExample\n//\n//  Created by MJ Lee on 15/4/24.\n//  Copyright (c) 2015年 小码哥. All rights reserved.\n//\n\n#import \"MJRefreshStateHeader.h\"\n\n@interface MJRefreshNormalHeader : MJRefreshStateHeader\n@property (weak, nonatomic, readonly) UIImageView *arrowView;\n/** 菊花的样式 */\n@property (assign, nonatomic) UIActivityIndicatorViewStyle activityIndicatorViewStyle;\n@end\n"
  },
  {
    "path": "CKMeiTuanShopView/Pods/MJRefresh/MJRefresh/Custom/Header/MJRefreshNormalHeader.m",
    "content": "//\n//  MJRefreshNormalHeader.m\n//  MJRefreshExample\n//\n//  Created by MJ Lee on 15/4/24.\n//  Copyright (c) 2015年 小码哥. All rights reserved.\n//\n\n#import \"MJRefreshNormalHeader.h\"\n#import \"NSBundle+MJRefresh.h\"\n\n@interface MJRefreshNormalHeader()\n{\n    __unsafe_unretained UIImageView *_arrowView;\n}\n@property (weak, nonatomic) UIActivityIndicatorView *loadingView;\n@end\n\n@implementation MJRefreshNormalHeader\n#pragma mark - 懒加载子控件\n- (UIImageView *)arrowView\n{\n    if (!_arrowView) {\n        UIImageView *arrowView = [[UIImageView alloc] initWithImage:[NSBundle mj_arrowImage]];\n        [self addSubview:_arrowView = arrowView];\n    }\n    return _arrowView;\n}\n\n- (UIActivityIndicatorView *)loadingView\n{\n    if (!_loadingView) {\n        UIActivityIndicatorView *loadingView = [[UIActivityIndicatorView alloc] initWithActivityIndicatorStyle:self.activityIndicatorViewStyle];\n        loadingView.hidesWhenStopped = YES;\n        [self addSubview:_loadingView = loadingView];\n    }\n    return _loadingView;\n}\n\n#pragma mark - 公共方法\n- (void)setActivityIndicatorViewStyle:(UIActivityIndicatorViewStyle)activityIndicatorViewStyle\n{\n    _activityIndicatorViewStyle = activityIndicatorViewStyle;\n    \n    self.loadingView = nil;\n    [self setNeedsLayout];\n}\n\n#pragma mark - 重写父类的方法\n- (void)prepare\n{\n    [super prepare];\n    \n    self.activityIndicatorViewStyle = UIActivityIndicatorViewStyleGray;\n}\n\n- (void)placeSubviews\n{\n    [super placeSubviews];\n    \n    // 箭头的中心点\n    CGFloat arrowCenterX = self.mj_w * 0.5;\n    if (!self.stateLabel.hidden) {\n        CGFloat stateWidth = self.stateLabel.mj_textWith;\n        CGFloat timeWidth = 0.0;\n        if (!self.lastUpdatedTimeLabel.hidden) {\n            timeWidth = self.lastUpdatedTimeLabel.mj_textWith;\n        }\n        CGFloat textWidth = MAX(stateWidth, timeWidth);\n        arrowCenterX -= textWidth / 2 + self.labelLeftInset;\n    }\n    CGFloat arrowCenterY = self.mj_h * 0.5;\n    CGPoint arrowCenter = CGPointMake(arrowCenterX, arrowCenterY);\n    \n    // 箭头\n    if (self.arrowView.constraints.count == 0) {\n        self.arrowView.mj_size = self.arrowView.image.size;\n        self.arrowView.center = arrowCenter;\n    }\n        \n    // 圈圈\n    if (self.loadingView.constraints.count == 0) {\n        self.loadingView.center = arrowCenter;\n    }\n    \n    self.arrowView.tintColor = self.stateLabel.textColor;\n}\n\n- (void)setState:(MJRefreshState)state\n{\n    MJRefreshCheckState\n    \n    // 根据状态做事情\n    if (state == MJRefreshStateIdle) {\n        if (oldState == MJRefreshStateRefreshing) {\n            self.arrowView.transform = CGAffineTransformIdentity;\n            \n            [UIView animateWithDuration:MJRefreshSlowAnimationDuration animations:^{\n                self.loadingView.alpha = 0.0;\n            } completion:^(BOOL finished) {\n                // 如果执行完动画发现不是idle状态，就直接返回，进入其他状态\n                if (self.state != MJRefreshStateIdle) return;\n                \n                self.loadingView.alpha = 1.0;\n                [self.loadingView stopAnimating];\n                self.arrowView.hidden = NO;\n            }];\n        } else {\n            [self.loadingView stopAnimating];\n            self.arrowView.hidden = NO;\n            [UIView animateWithDuration:MJRefreshFastAnimationDuration animations:^{\n                self.arrowView.transform = CGAffineTransformIdentity;\n            }];\n        }\n    } else if (state == MJRefreshStatePulling) {\n        [self.loadingView stopAnimating];\n        self.arrowView.hidden = NO;\n        [UIView animateWithDuration:MJRefreshFastAnimationDuration animations:^{\n            self.arrowView.transform = CGAffineTransformMakeRotation(0.000001 - M_PI);\n        }];\n    } else if (state == MJRefreshStateRefreshing) {\n        self.loadingView.alpha = 1.0; // 防止refreshing -> idle的动画完毕动作没有被执行\n        [self.loadingView startAnimating];\n        self.arrowView.hidden = YES;\n    }\n}\n@end\n"
  },
  {
    "path": "CKMeiTuanShopView/Pods/MJRefresh/MJRefresh/Custom/Header/MJRefreshStateHeader.h",
    "content": "//\n//  MJRefreshStateHeader.h\n//  MJRefreshExample\n//\n//  Created by MJ Lee on 15/4/24.\n//  Copyright (c) 2015年 小码哥. All rights reserved.\n//\n\n#import \"MJRefreshHeader.h\"\n\n@interface MJRefreshStateHeader : MJRefreshHeader\n#pragma mark - 刷新时间相关\n/** 利用这个block来决定显示的更新时间文字 */\n@property (copy, nonatomic) NSString *(^lastUpdatedTimeText)(NSDate *lastUpdatedTime);\n/** 显示上一次刷新时间的label */\n@property (weak, nonatomic, readonly) UILabel *lastUpdatedTimeLabel;\n\n#pragma mark - 状态相关\n/** 文字距离圈圈、箭头的距离 */\n@property (assign, nonatomic) CGFloat labelLeftInset;\n/** 显示刷新状态的label */\n@property (weak, nonatomic, readonly) UILabel *stateLabel;\n/** 设置state状态下的文字 */\n- (void)setTitle:(NSString *)title forState:(MJRefreshState)state;\n@end\n"
  },
  {
    "path": "CKMeiTuanShopView/Pods/MJRefresh/MJRefresh/Custom/Header/MJRefreshStateHeader.m",
    "content": "//\n//  MJRefreshStateHeader.m\n//  MJRefreshExample\n//\n//  Created by MJ Lee on 15/4/24.\n//  Copyright (c) 2015年 小码哥. All rights reserved.\n//\n\n#import \"MJRefreshStateHeader.h\"\n\n@interface MJRefreshStateHeader()\n{\n    /** 显示上一次刷新时间的label */\n    __unsafe_unretained UILabel *_lastUpdatedTimeLabel;\n    /** 显示刷新状态的label */\n    __unsafe_unretained UILabel *_stateLabel;\n}\n/** 所有状态对应的文字 */\n@property (strong, nonatomic) NSMutableDictionary *stateTitles;\n@end\n\n@implementation MJRefreshStateHeader\n#pragma mark - 懒加载\n- (NSMutableDictionary *)stateTitles\n{\n    if (!_stateTitles) {\n        self.stateTitles = [NSMutableDictionary dictionary];\n    }\n    return _stateTitles;\n}\n\n- (UILabel *)stateLabel\n{\n    if (!_stateLabel) {\n        [self addSubview:_stateLabel = [UILabel mj_label]];\n    }\n    return _stateLabel;\n}\n\n- (UILabel *)lastUpdatedTimeLabel\n{\n    if (!_lastUpdatedTimeLabel) {\n        [self addSubview:_lastUpdatedTimeLabel = [UILabel mj_label]];\n    }\n    return _lastUpdatedTimeLabel;\n}\n\n#pragma mark - 公共方法\n- (void)setTitle:(NSString *)title forState:(MJRefreshState)state\n{\n    if (title == nil) return;\n    self.stateTitles[@(state)] = title;\n    self.stateLabel.text = self.stateTitles[@(self.state)];\n}\n\n#pragma mark - 日历获取在9.x之后的系统使用currentCalendar会出异常。在8.0之后使用系统新API。\n- (NSCalendar *)currentCalendar {\n    if ([NSCalendar respondsToSelector:@selector(calendarWithIdentifier:)]) {\n        return [NSCalendar calendarWithIdentifier:NSCalendarIdentifierGregorian];\n    }\n    return [NSCalendar currentCalendar];\n}\n\n#pragma mark key的处理\n- (void)setLastUpdatedTimeKey:(NSString *)lastUpdatedTimeKey\n{\n    [super setLastUpdatedTimeKey:lastUpdatedTimeKey];\n    \n    // 如果label隐藏了，就不用再处理\n    if (self.lastUpdatedTimeLabel.hidden) return;\n    \n    NSDate *lastUpdatedTime = [[NSUserDefaults standardUserDefaults] objectForKey:lastUpdatedTimeKey];\n    \n    // 如果有block\n    if (self.lastUpdatedTimeText) {\n        self.lastUpdatedTimeLabel.text = self.lastUpdatedTimeText(lastUpdatedTime);\n        return;\n    }\n    \n    if (lastUpdatedTime) {\n        // 1.获得年月日\n        NSCalendar *calendar = [self currentCalendar];\n        NSUInteger unitFlags = NSCalendarUnitYear| NSCalendarUnitMonth | NSCalendarUnitDay |NSCalendarUnitHour |NSCalendarUnitMinute;\n        NSDateComponents *cmp1 = [calendar components:unitFlags fromDate:lastUpdatedTime];\n        NSDateComponents *cmp2 = [calendar components:unitFlags fromDate:[NSDate date]];\n        \n        // 2.格式化日期\n        NSDateFormatter *formatter = [[NSDateFormatter alloc] init];\n        BOOL isToday = NO;\n        if ([cmp1 day] == [cmp2 day]) { // 今天\n            formatter.dateFormat = @\" HH:mm\";\n            isToday = YES;\n        } else if ([cmp1 year] == [cmp2 year]) { // 今年\n            formatter.dateFormat = @\"MM-dd HH:mm\";\n        } else {\n            formatter.dateFormat = @\"yyyy-MM-dd HH:mm\";\n        }\n        NSString *time = [formatter stringFromDate:lastUpdatedTime];\n        \n        // 3.显示日期\n        self.lastUpdatedTimeLabel.text = [NSString stringWithFormat:@\"%@%@%@\",\n                                          [NSBundle mj_localizedStringForKey:MJRefreshHeaderLastTimeText],\n                                          isToday ? [NSBundle mj_localizedStringForKey:MJRefreshHeaderDateTodayText] : @\"\",\n                                          time];\n    } else {\n        self.lastUpdatedTimeLabel.text = [NSString stringWithFormat:@\"%@%@\",\n                                          [NSBundle mj_localizedStringForKey:MJRefreshHeaderLastTimeText],\n                                          [NSBundle mj_localizedStringForKey:MJRefreshHeaderNoneLastDateText]];\n    }\n}\n\n#pragma mark - 覆盖父类的方法\n- (void)prepare\n{\n    [super prepare];\n    \n    // 初始化间距\n    self.labelLeftInset = MJRefreshLabelLeftInset;\n    \n    // 初始化文字\n    [self setTitle:[NSBundle mj_localizedStringForKey:MJRefreshHeaderIdleText] forState:MJRefreshStateIdle];\n    [self setTitle:[NSBundle mj_localizedStringForKey:MJRefreshHeaderPullingText] forState:MJRefreshStatePulling];\n    [self setTitle:[NSBundle mj_localizedStringForKey:MJRefreshHeaderRefreshingText] forState:MJRefreshStateRefreshing];\n}\n\n- (void)placeSubviews\n{\n    [super placeSubviews];\n    \n    if (self.stateLabel.hidden) return;\n    \n    BOOL noConstrainsOnStatusLabel = self.stateLabel.constraints.count == 0;\n    \n    if (self.lastUpdatedTimeLabel.hidden) {\n        // 状态\n        if (noConstrainsOnStatusLabel) self.stateLabel.frame = self.bounds;\n    } else {\n        CGFloat stateLabelH = self.mj_h * 0.5;\n        // 状态\n        if (noConstrainsOnStatusLabel) {\n            self.stateLabel.mj_x = 0;\n            self.stateLabel.mj_y = 0;\n            self.stateLabel.mj_w = self.mj_w;\n            self.stateLabel.mj_h = stateLabelH;\n        }\n        \n        // 更新时间\n        if (self.lastUpdatedTimeLabel.constraints.count == 0) {\n            self.lastUpdatedTimeLabel.mj_x = 0;\n            self.lastUpdatedTimeLabel.mj_y = stateLabelH;\n            self.lastUpdatedTimeLabel.mj_w = self.mj_w;\n            self.lastUpdatedTimeLabel.mj_h = self.mj_h - self.lastUpdatedTimeLabel.mj_y;\n        }\n    }\n}\n\n- (void)setState:(MJRefreshState)state\n{\n    MJRefreshCheckState\n    \n    // 设置状态文字\n    self.stateLabel.text = self.stateTitles[@(state)];\n    \n    // 重新设置key（重新显示时间）\n    self.lastUpdatedTimeKey = self.lastUpdatedTimeKey;\n}\n@end\n"
  },
  {
    "path": "CKMeiTuanShopView/Pods/MJRefresh/MJRefresh/MJRefresh.bundle/en.lproj/Localizable.strings",
    "content": "﻿\"MJRefreshHeaderIdleText\" = \"Pull down to refresh\";\n\"MJRefreshHeaderPullingText\" = \"Release to refresh\";\n\"MJRefreshHeaderRefreshingText\" = \"Loading...\";\n\n\"MJRefreshAutoFooterIdleText\" = \"Tap or pull up to load more\";\n\"MJRefreshAutoFooterRefreshingText\" = \"Loading...\";\n\"MJRefreshAutoFooterNoMoreDataText\" = \"No more data\";\n\n\"MJRefreshBackFooterIdleText\" = \"Pull up to load more\";\n\"MJRefreshBackFooterPullingText\" = \"Release to load more.\";\n\"MJRefreshBackFooterRefreshingText\" = \"Loading...\";\n\"MJRefreshBackFooterNoMoreDataText\" = \"No more data\";\n\n\"MJRefreshHeaderLastTimeText\" = \"Last updated: \";\n\"MJRefreshHeaderDateTodayText\" = \"Today\";\n\"MJRefreshHeaderNoneLastDateText\" = \"No record\";\n"
  },
  {
    "path": "CKMeiTuanShopView/Pods/MJRefresh/MJRefresh/MJRefresh.bundle/zh-Hant.lproj/Localizable.strings",
    "content": "\"MJRefreshHeaderIdleText\" = \"下拉可以刷新\";\n\"MJRefreshHeaderPullingText\" = \"鬆開立即刷新\";\n\"MJRefreshHeaderRefreshingText\" = \"正在刷新數據中...\";\n\n\"MJRefreshAutoFooterIdleText\" = \"點擊或上拉加載更多\";\n\"MJRefreshAutoFooterRefreshingText\" = \"正在加載更多的數據...\";\n\"MJRefreshAutoFooterNoMoreDataText\" = \"已經全部加載完畢\";\n\n\"MJRefreshBackFooterIdleText\" = \"上拉可以加載更多\";\n\"MJRefreshBackFooterPullingText\" = \"鬆開立即加載更多\";\n\"MJRefreshBackFooterRefreshingText\" = \"正在加載更多的數據...\";\n\"MJRefreshBackFooterNoMoreDataText\" = \"已經全部加載完畢\";\n\n\"MJRefreshHeaderLastTimeText\" = \"最後更新：\";\n\"MJRefreshHeaderDateTodayText\" = \"今天\";\n\"MJRefreshHeaderNoneLastDateText\" = \"無記錄\";\n"
  },
  {
    "path": "CKMeiTuanShopView/Pods/MJRefresh/MJRefresh/MJRefresh.h",
    "content": "//  代码地址: https://github.com/CoderMJLee/MJRefresh\n//  代码地址: http://code4app.com/ios/%E5%BF%AB%E9%80%9F%E9%9B%86%E6%88%90%E4%B8%8B%E6%8B%89%E4%B8%8A%E6%8B%89%E5%88%B7%E6%96%B0/52326ce26803fabc46000000\n\n#import \"UIScrollView+MJRefresh.h\"\n#import \"UIScrollView+MJExtension.h\"\n#import \"UIView+MJExtension.h\"\n\n#import \"MJRefreshNormalHeader.h\"\n#import \"MJRefreshGifHeader.h\"\n\n#import \"MJRefreshBackNormalFooter.h\"\n#import \"MJRefreshBackGifFooter.h\"\n#import \"MJRefreshAutoNormalFooter.h\"\n#import \"MJRefreshAutoGifFooter.h\""
  },
  {
    "path": "CKMeiTuanShopView/Pods/MJRefresh/MJRefresh/MJRefreshConst.h",
    "content": "//  代码地址: https://github.com/CoderMJLee/MJRefresh\n//  代码地址: http://code4app.com/ios/%E5%BF%AB%E9%80%9F%E9%9B%86%E6%88%90%E4%B8%8B%E6%8B%89%E4%B8%8A%E6%8B%89%E5%88%B7%E6%96%B0/52326ce26803fabc46000000\n#import <UIKit/UIKit.h>\n#import <objc/message.h>\n\n// 弱引用\n#define MJWeakSelf __weak typeof(self) weakSelf = self;\n\n// 日志输出\n#ifdef DEBUG\n#define MJRefreshLog(...) NSLog(__VA_ARGS__)\n#else\n#define MJRefreshLog(...)\n#endif\n\n// 过期提醒\n#define MJRefreshDeprecated(instead) NS_DEPRECATED(2_0, 2_0, 2_0, 2_0, instead)\n\n// 运行时objc_msgSend\n#define MJRefreshMsgSend(...) ((void (*)(void *, SEL, UIView *))objc_msgSend)(__VA_ARGS__)\n#define MJRefreshMsgTarget(target) (__bridge void *)(target)\n\n// RGB颜色\n#define MJRefreshColor(r, g, b) [UIColor colorWithRed:(r)/255.0 green:(g)/255.0 blue:(b)/255.0 alpha:1.0]\n\n// 文字颜色\n#define MJRefreshLabelTextColor MJRefreshColor(90, 90, 90)\n\n// 字体大小\n#define MJRefreshLabelFont [UIFont boldSystemFontOfSize:14]\n\n// 常量\nUIKIT_EXTERN const CGFloat MJRefreshLabelLeftInset;\nUIKIT_EXTERN const CGFloat MJRefreshHeaderHeight;\nUIKIT_EXTERN const CGFloat MJRefreshFooterHeight;\nUIKIT_EXTERN const CGFloat MJRefreshFastAnimationDuration;\nUIKIT_EXTERN const CGFloat MJRefreshSlowAnimationDuration;\n\nUIKIT_EXTERN NSString *const MJRefreshKeyPathContentOffset;\nUIKIT_EXTERN NSString *const MJRefreshKeyPathContentSize;\nUIKIT_EXTERN NSString *const MJRefreshKeyPathContentInset;\nUIKIT_EXTERN NSString *const MJRefreshKeyPathPanState;\n\nUIKIT_EXTERN NSString *const MJRefreshHeaderLastUpdatedTimeKey;\n\nUIKIT_EXTERN NSString *const MJRefreshHeaderIdleText;\nUIKIT_EXTERN NSString *const MJRefreshHeaderPullingText;\nUIKIT_EXTERN NSString *const MJRefreshHeaderRefreshingText;\n\nUIKIT_EXTERN NSString *const MJRefreshAutoFooterIdleText;\nUIKIT_EXTERN NSString *const MJRefreshAutoFooterRefreshingText;\nUIKIT_EXTERN NSString *const MJRefreshAutoFooterNoMoreDataText;\n\nUIKIT_EXTERN NSString *const MJRefreshBackFooterIdleText;\nUIKIT_EXTERN NSString *const MJRefreshBackFooterPullingText;\nUIKIT_EXTERN NSString *const MJRefreshBackFooterRefreshingText;\nUIKIT_EXTERN NSString *const MJRefreshBackFooterNoMoreDataText;\n\nUIKIT_EXTERN NSString *const MJRefreshHeaderLastTimeText;\nUIKIT_EXTERN NSString *const MJRefreshHeaderDateTodayText;\nUIKIT_EXTERN NSString *const MJRefreshHeaderNoneLastDateText;\n\n// 状态检查\n#define MJRefreshCheckState \\\nMJRefreshState oldState = self.state; \\\nif (state == oldState) return; \\\n[super setState:state];\n\n// 异步主线程执行，不强持有Self\n#define MJRefreshDispatchAsyncOnMainQueue(x) \\\n__weak typeof(self) weakSelf = self; \\\ndispatch_async(dispatch_get_main_queue(), ^{ \\\ntypeof(weakSelf) self = weakSelf; \\\n{x} \\\n});\n\n"
  },
  {
    "path": "CKMeiTuanShopView/Pods/MJRefresh/MJRefresh/MJRefreshConst.m",
    "content": "//  代码地址: https://github.com/CoderMJLee/MJRefresh\n//  代码地址: http://code4app.com/ios/%E5%BF%AB%E9%80%9F%E9%9B%86%E6%88%90%E4%B8%8B%E6%8B%89%E4%B8%8A%E6%8B%89%E5%88%B7%E6%96%B0/52326ce26803fabc46000000\n#import <UIKit/UIKit.h>\n\nconst CGFloat MJRefreshLabelLeftInset = 25;\nconst CGFloat MJRefreshHeaderHeight = 54.0;\nconst CGFloat MJRefreshFooterHeight = 44.0;\nconst CGFloat MJRefreshFastAnimationDuration = 0.25;\nconst CGFloat MJRefreshSlowAnimationDuration = 0.4;\n\nNSString *const MJRefreshKeyPathContentOffset = @\"contentOffset\";\nNSString *const MJRefreshKeyPathContentInset = @\"contentInset\";\nNSString *const MJRefreshKeyPathContentSize = @\"contentSize\";\nNSString *const MJRefreshKeyPathPanState = @\"state\";\n\nNSString *const MJRefreshHeaderLastUpdatedTimeKey = @\"MJRefreshHeaderLastUpdatedTimeKey\";\n\nNSString *const MJRefreshHeaderIdleText = @\"MJRefreshHeaderIdleText\";\nNSString *const MJRefreshHeaderPullingText = @\"MJRefreshHeaderPullingText\";\nNSString *const MJRefreshHeaderRefreshingText = @\"MJRefreshHeaderRefreshingText\";\n\nNSString *const MJRefreshAutoFooterIdleText = @\"MJRefreshAutoFooterIdleText\";\nNSString *const MJRefreshAutoFooterRefreshingText = @\"MJRefreshAutoFooterRefreshingText\";\nNSString *const MJRefreshAutoFooterNoMoreDataText = @\"MJRefreshAutoFooterNoMoreDataText\";\n\nNSString *const MJRefreshBackFooterIdleText = @\"MJRefreshBackFooterIdleText\";\nNSString *const MJRefreshBackFooterPullingText = @\"MJRefreshBackFooterPullingText\";\nNSString *const MJRefreshBackFooterRefreshingText = @\"MJRefreshBackFooterRefreshingText\";\nNSString *const MJRefreshBackFooterNoMoreDataText = @\"MJRefreshBackFooterNoMoreDataText\";\n\nNSString *const MJRefreshHeaderLastTimeText = @\"MJRefreshHeaderLastTimeText\";\nNSString *const MJRefreshHeaderDateTodayText = @\"MJRefreshHeaderDateTodayText\";\nNSString *const MJRefreshHeaderNoneLastDateText = @\"MJRefreshHeaderNoneLastDateText\";"
  },
  {
    "path": "CKMeiTuanShopView/Pods/MJRefresh/MJRefresh/NSBundle+MJRefresh.h",
    "content": "//\n//  NSBundle+MJRefresh.h\n//  MJRefreshExample\n//\n//  Created by MJ Lee on 16/6/13.\n//  Copyright © 2016年 小码哥. All rights reserved.\n//\n\n#import <UIKit/UIKit.h>\n\n@interface NSBundle (MJRefresh)\n+ (instancetype)mj_refreshBundle;\n+ (UIImage *)mj_arrowImage;\n+ (NSString *)mj_localizedStringForKey:(NSString *)key value:(NSString *)value;\n+ (NSString *)mj_localizedStringForKey:(NSString *)key;\n@end\n"
  },
  {
    "path": "CKMeiTuanShopView/Pods/MJRefresh/MJRefresh/NSBundle+MJRefresh.m",
    "content": "//\n//  NSBundle+MJRefresh.m\n//  MJRefreshExample\n//\n//  Created by MJ Lee on 16/6/13.\n//  Copyright © 2016年 小码哥. All rights reserved.\n//\n\n#import \"NSBundle+MJRefresh.h\"\n#import \"MJRefreshComponent.h\"\n\n@implementation NSBundle (MJRefresh)\n+ (instancetype)mj_refreshBundle\n{\n    static NSBundle *refreshBundle = nil;\n    if (refreshBundle == nil) {\n        // 这里不使用mainBundle是为了适配pod 1.x和0.x\n        refreshBundle = [NSBundle bundleWithPath:[[NSBundle bundleForClass:[MJRefreshComponent class]] pathForResource:@\"MJRefresh\" ofType:@\"bundle\"]];\n    }\n    return refreshBundle;\n}\n\n+ (UIImage *)mj_arrowImage\n{\n    static UIImage *arrowImage = nil;\n    if (arrowImage == nil) {\n        arrowImage = [[UIImage imageWithContentsOfFile:[[self mj_refreshBundle] pathForResource:@\"arrow@2x\" ofType:@\"png\"]] imageWithRenderingMode:UIImageRenderingModeAlwaysTemplate];\n    }\n    return arrowImage;\n}\n\n+ (NSString *)mj_localizedStringForKey:(NSString *)key\n{\n    return [self mj_localizedStringForKey:key value:nil];\n}\n\n+ (NSString *)mj_localizedStringForKey:(NSString *)key value:(NSString *)value\n{\n    static NSBundle *bundle = nil;\n    if (bundle == nil) {\n        // （iOS获取的语言字符串比较不稳定）目前框架只处理en、zh-Hans、zh-Hant三种情况，其他按照系统默认处理\n        NSString *language = [NSLocale preferredLanguages].firstObject;\n        if ([language hasPrefix:@\"en\"]) {\n            language = @\"en\";\n        } else if ([language hasPrefix:@\"zh\"]) {\n            if ([language rangeOfString:@\"Hans\"].location != NSNotFound) {\n                language = @\"zh-Hans\"; // 简体中文\n            } else { // zh-Hant\\zh-HK\\zh-TW\n                language = @\"zh-Hant\"; // 繁體中文\n            }\n        } else {\n            language = @\"en\";\n        }\n        \n        // 从MJRefresh.bundle中查找资源\n        bundle = [NSBundle bundleWithPath:[[NSBundle mj_refreshBundle] pathForResource:language ofType:@\"lproj\"]];\n    }\n    value = [bundle localizedStringForKey:key value:value table:nil];\n    return [[NSBundle mainBundle] localizedStringForKey:key value:value table:nil];\n}\n@end\n"
  },
  {
    "path": "CKMeiTuanShopView/Pods/MJRefresh/MJRefresh/UIScrollView+MJExtension.h",
    "content": "//  代码地址: https://github.com/CoderMJLee/MJRefresh\n//  代码地址: http://code4app.com/ios/%E5%BF%AB%E9%80%9F%E9%9B%86%E6%88%90%E4%B8%8B%E6%8B%89%E4%B8%8A%E6%8B%89%E5%88%B7%E6%96%B0/52326ce26803fabc46000000\n//  UIScrollView+Extension.h\n//  MJRefreshExample\n//\n//  Created by MJ Lee on 14-5-28.\n//  Copyright (c) 2014年 小码哥. All rights reserved.\n//\n\n#import <UIKit/UIKit.h>\n\n@interface UIScrollView (MJExtension)\n@property (readonly, nonatomic) UIEdgeInsets mj_inset;\n\n@property (assign, nonatomic) CGFloat mj_insetT;\n@property (assign, nonatomic) CGFloat mj_insetB;\n@property (assign, nonatomic) CGFloat mj_insetL;\n@property (assign, nonatomic) CGFloat mj_insetR;\n\n@property (assign, nonatomic) CGFloat mj_offsetX;\n@property (assign, nonatomic) CGFloat mj_offsetY;\n\n@property (assign, nonatomic) CGFloat mj_contentW;\n@property (assign, nonatomic) CGFloat mj_contentH;\n@end\n"
  },
  {
    "path": "CKMeiTuanShopView/Pods/MJRefresh/MJRefresh/UIScrollView+MJExtension.m",
    "content": "//  代码地址: https://github.com/CoderMJLee/MJRefresh\n//  代码地址: http://code4app.com/ios/%E5%BF%AB%E9%80%9F%E9%9B%86%E6%88%90%E4%B8%8B%E6%8B%89%E4%B8%8A%E6%8B%89%E5%88%B7%E6%96%B0/52326ce26803fabc46000000\n//  UIScrollView+Extension.m\n//  MJRefreshExample\n//\n//  Created by MJ Lee on 14-5-28.\n//  Copyright (c) 2014年 小码哥. All rights reserved.\n//\n\n#import \"UIScrollView+MJExtension.h\"\n#import <objc/runtime.h>\n\n#pragma clang diagnostic push\n#pragma clang diagnostic ignored \"-Wunguarded-availability-new\"\n\n@implementation UIScrollView (MJExtension)\n\nstatic BOOL respondsToAdjustedContentInset_;\n\n+ (void)initialize\n{\n    static dispatch_once_t onceToken;\n    dispatch_once(&onceToken, ^{\n        respondsToAdjustedContentInset_ = [self instancesRespondToSelector:@selector(adjustedContentInset)];\n    });\n}\n\n- (UIEdgeInsets)mj_inset\n{\n#ifdef __IPHONE_11_0\n    if (respondsToAdjustedContentInset_) {\n        return self.adjustedContentInset;\n    }\n#endif\n    return self.contentInset;\n}\n\n- (void)setMj_insetT:(CGFloat)mj_insetT\n{\n    UIEdgeInsets inset = self.contentInset;\n    inset.top = mj_insetT;\n#ifdef __IPHONE_11_0\n    if (respondsToAdjustedContentInset_) {\n        inset.top -= (self.adjustedContentInset.top - self.contentInset.top);\n    }\n#endif\n    self.contentInset = inset;\n}\n\n- (CGFloat)mj_insetT\n{\n    return self.mj_inset.top;\n}\n\n- (void)setMj_insetB:(CGFloat)mj_insetB\n{\n    UIEdgeInsets inset = self.contentInset;\n    inset.bottom = mj_insetB;\n#ifdef __IPHONE_11_0\n    if (respondsToAdjustedContentInset_) {\n        inset.bottom -= (self.adjustedContentInset.bottom - self.contentInset.bottom);\n    }\n#endif\n    self.contentInset = inset;\n}\n\n- (CGFloat)mj_insetB\n{\n    return self.mj_inset.bottom;\n}\n\n- (void)setMj_insetL:(CGFloat)mj_insetL\n{\n    UIEdgeInsets inset = self.contentInset;\n    inset.left = mj_insetL;\n#ifdef __IPHONE_11_0\n    if (respondsToAdjustedContentInset_) {\n        inset.left -= (self.adjustedContentInset.left - self.contentInset.left);\n    }\n#endif\n    self.contentInset = inset;\n}\n\n- (CGFloat)mj_insetL\n{\n    return self.mj_inset.left;\n}\n\n- (void)setMj_insetR:(CGFloat)mj_insetR\n{\n    UIEdgeInsets inset = self.contentInset;\n    inset.right = mj_insetR;\n#ifdef __IPHONE_11_0\n    if (respondsToAdjustedContentInset_) {\n        inset.right -= (self.adjustedContentInset.right - self.contentInset.right);\n    }\n#endif\n    self.contentInset = inset;\n}\n\n- (CGFloat)mj_insetR\n{\n    return self.mj_inset.right;\n}\n\n- (void)setMj_offsetX:(CGFloat)mj_offsetX\n{\n    CGPoint offset = self.contentOffset;\n    offset.x = mj_offsetX;\n    self.contentOffset = offset;\n}\n\n- (CGFloat)mj_offsetX\n{\n    return self.contentOffset.x;\n}\n\n- (void)setMj_offsetY:(CGFloat)mj_offsetY\n{\n    CGPoint offset = self.contentOffset;\n    offset.y = mj_offsetY;\n    self.contentOffset = offset;\n}\n\n- (CGFloat)mj_offsetY\n{\n    return self.contentOffset.y;\n}\n\n- (void)setMj_contentW:(CGFloat)mj_contentW\n{\n    CGSize size = self.contentSize;\n    size.width = mj_contentW;\n    self.contentSize = size;\n}\n\n- (CGFloat)mj_contentW\n{\n    return self.contentSize.width;\n}\n\n- (void)setMj_contentH:(CGFloat)mj_contentH\n{\n    CGSize size = self.contentSize;\n    size.height = mj_contentH;\n    self.contentSize = size;\n}\n\n- (CGFloat)mj_contentH\n{\n    return self.contentSize.height;\n}\n@end\n#pragma clang diagnostic pop\n"
  },
  {
    "path": "CKMeiTuanShopView/Pods/MJRefresh/MJRefresh/UIScrollView+MJRefresh.h",
    "content": "//  代码地址: https://github.com/CoderMJLee/MJRefresh\n//  代码地址: http://code4app.com/ios/%E5%BF%AB%E9%80%9F%E9%9B%86%E6%88%90%E4%B8%8B%E6%8B%89%E4%B8%8A%E6%8B%89%E5%88%B7%E6%96%B0/52326ce26803fabc46000000\n//  UIScrollView+MJRefresh.h\n//  MJRefreshExample\n//\n//  Created by MJ Lee on 15/3/4.\n//  Copyright (c) 2015年 小码哥. All rights reserved.\n//  给ScrollView增加下拉刷新、上拉刷新的功能\n\n#import <UIKit/UIKit.h>\n#import \"MJRefreshConst.h\"\n\n@class MJRefreshHeader, MJRefreshFooter;\n\n@interface UIScrollView (MJRefresh)\n/** 下拉刷新控件 */\n@property (strong, nonatomic) MJRefreshHeader *mj_header;\n@property (strong, nonatomic) MJRefreshHeader *header MJRefreshDeprecated(\"使用mj_header\");\n/** 上拉刷新控件 */\n@property (strong, nonatomic) MJRefreshFooter *mj_footer;\n@property (strong, nonatomic) MJRefreshFooter *footer MJRefreshDeprecated(\"使用mj_footer\");\n\n#pragma mark - other\n- (NSInteger)mj_totalDataCount;\n@property (copy, nonatomic) void (^mj_reloadDataBlock)(NSInteger totalDataCount);\n@end\n"
  },
  {
    "path": "CKMeiTuanShopView/Pods/MJRefresh/MJRefresh/UIScrollView+MJRefresh.m",
    "content": "//  代码地址: https://github.com/CoderMJLee/MJRefresh\n//  代码地址: http://code4app.com/ios/%E5%BF%AB%E9%80%9F%E9%9B%86%E6%88%90%E4%B8%8B%E6%8B%89%E4%B8%8A%E6%8B%89%E5%88%B7%E6%96%B0/52326ce26803fabc46000000\n//  UIScrollView+MJRefresh.m\n//  MJRefreshExample\n//\n//  Created by MJ Lee on 15/3/4.\n//  Copyright (c) 2015年 小码哥. All rights reserved.\n//\n\n#import \"UIScrollView+MJRefresh.h\"\n#import \"MJRefreshHeader.h\"\n#import \"MJRefreshFooter.h\"\n#import <objc/runtime.h>\n\n@implementation NSObject (MJRefresh)\n\n+ (void)exchangeInstanceMethod1:(SEL)method1 method2:(SEL)method2\n{\n    method_exchangeImplementations(class_getInstanceMethod(self, method1), class_getInstanceMethod(self, method2));\n}\n\n+ (void)exchangeClassMethod1:(SEL)method1 method2:(SEL)method2\n{\n    method_exchangeImplementations(class_getClassMethod(self, method1), class_getClassMethod(self, method2));\n}\n\n@end\n\n@implementation UIScrollView (MJRefresh)\n\n#pragma mark - header\nstatic const char MJRefreshHeaderKey = '\\0';\n- (void)setMj_header:(MJRefreshHeader *)mj_header\n{\n    if (mj_header != self.mj_header) {\n        // 删除旧的，添加新的\n        [self.mj_header removeFromSuperview];\n        [self insertSubview:mj_header atIndex:0];\n        \n        // 存储新的\n        objc_setAssociatedObject(self, &MJRefreshHeaderKey,\n                                 mj_header, OBJC_ASSOCIATION_RETAIN);\n    }\n}\n\n- (MJRefreshHeader *)mj_header\n{\n    return objc_getAssociatedObject(self, &MJRefreshHeaderKey);\n}\n\n#pragma mark - footer\nstatic const char MJRefreshFooterKey = '\\0';\n- (void)setMj_footer:(MJRefreshFooter *)mj_footer\n{\n    if (mj_footer != self.mj_footer) {\n        // 删除旧的，添加新的\n        [self.mj_footer removeFromSuperview];\n        [self insertSubview:mj_footer atIndex:0];\n        \n        // 存储新的\n        objc_setAssociatedObject(self, &MJRefreshFooterKey,\n                                 mj_footer, OBJC_ASSOCIATION_RETAIN);\n    }\n}\n\n- (MJRefreshFooter *)mj_footer\n{\n    return objc_getAssociatedObject(self, &MJRefreshFooterKey);\n}\n\n#pragma mark - 过期\n- (void)setFooter:(MJRefreshFooter *)footer\n{\n    self.mj_footer = footer;\n}\n\n- (MJRefreshFooter *)footer\n{\n    return self.mj_footer;\n}\n\n- (void)setHeader:(MJRefreshHeader *)header\n{\n    self.mj_header = header;\n}\n\n- (MJRefreshHeader *)header\n{\n    return self.mj_header;\n}\n\n#pragma mark - other\n- (NSInteger)mj_totalDataCount\n{\n    NSInteger totalCount = 0;\n    if ([self isKindOfClass:[UITableView class]]) {\n        UITableView *tableView = (UITableView *)self;\n        \n        for (NSInteger section = 0; section<tableView.numberOfSections; section++) {\n            totalCount += [tableView numberOfRowsInSection:section];\n        }\n    } else if ([self isKindOfClass:[UICollectionView class]]) {\n        UICollectionView *collectionView = (UICollectionView *)self;\n        \n        for (NSInteger section = 0; section<collectionView.numberOfSections; section++) {\n            totalCount += [collectionView numberOfItemsInSection:section];\n        }\n    }\n    return totalCount;\n}\n\nstatic const char MJRefreshReloadDataBlockKey = '\\0';\n- (void)setMj_reloadDataBlock:(void (^)(NSInteger))mj_reloadDataBlock\n{\n    [self willChangeValueForKey:@\"mj_reloadDataBlock\"]; // KVO\n    objc_setAssociatedObject(self, &MJRefreshReloadDataBlockKey, mj_reloadDataBlock, OBJC_ASSOCIATION_COPY_NONATOMIC);\n    [self didChangeValueForKey:@\"mj_reloadDataBlock\"]; // KVO\n}\n\n- (void (^)(NSInteger))mj_reloadDataBlock\n{\n    return objc_getAssociatedObject(self, &MJRefreshReloadDataBlockKey);\n}\n\n- (void)executeReloadDataBlock\n{\n    !self.mj_reloadDataBlock ? : self.mj_reloadDataBlock(self.mj_totalDataCount);\n}\n@end\n\n@implementation UITableView (MJRefresh)\n\n+ (void)load\n{\n    [self exchangeInstanceMethod1:@selector(reloadData) method2:@selector(mj_reloadData)];\n}\n\n- (void)mj_reloadData\n{\n    [self mj_reloadData];\n    \n    [self executeReloadDataBlock];\n}\n@end\n\n@implementation UICollectionView (MJRefresh)\n\n+ (void)load\n{\n    [self exchangeInstanceMethod1:@selector(reloadData) method2:@selector(mj_reloadData)];\n}\n\n- (void)mj_reloadData\n{\n    [self mj_reloadData];\n    \n    [self executeReloadDataBlock];\n}\n@end\n"
  },
  {
    "path": "CKMeiTuanShopView/Pods/MJRefresh/MJRefresh/UIView+MJExtension.h",
    "content": "// 代码地址: https://github.com/CoderMJLee/MJRefresh\n// 代码地址: http://code4app.com/ios/%E5%BF%AB%E9%80%9F%E9%9B%86%E6%88%90%E4%B8%8B%E6%8B%89%E4%B8%8A%E6%8B%89%E5%88%B7%E6%96%B0/52326ce26803fabc46000000\n//  UIView+Extension.h\n//  MJRefreshExample\n//\n//  Created by MJ Lee on 14-5-28.\n//  Copyright (c) 2014年 小码哥. All rights reserved.\n//\n\n#import <UIKit/UIKit.h>\n\n@interface UIView (MJExtension)\n@property (assign, nonatomic) CGFloat mj_x;\n@property (assign, nonatomic) CGFloat mj_y;\n@property (assign, nonatomic) CGFloat mj_w;\n@property (assign, nonatomic) CGFloat mj_h;\n@property (assign, nonatomic) CGSize mj_size;\n@property (assign, nonatomic) CGPoint mj_origin;\n@end\n"
  },
  {
    "path": "CKMeiTuanShopView/Pods/MJRefresh/MJRefresh/UIView+MJExtension.m",
    "content": "//  代码地址: https://github.com/CoderMJLee/MJRefresh\n//  代码地址: http://code4app.com/ios/%E5%BF%AB%E9%80%9F%E9%9B%86%E6%88%90%E4%B8%8B%E6%8B%89%E4%B8%8A%E6%8B%89%E5%88%B7%E6%96%B0/52326ce26803fabc46000000\n//  UIView+Extension.m\n//  MJRefreshExample\n//\n//  Created by MJ Lee on 14-5-28.\n//  Copyright (c) 2014年 小码哥. All rights reserved.\n//\n\n#import \"UIView+MJExtension.h\"\n\n@implementation UIView (MJExtension)\n- (void)setMj_x:(CGFloat)mj_x\n{\n    CGRect frame = self.frame;\n    frame.origin.x = mj_x;\n    self.frame = frame;\n}\n\n- (CGFloat)mj_x\n{\n    return self.frame.origin.x;\n}\n\n- (void)setMj_y:(CGFloat)mj_y\n{\n    CGRect frame = self.frame;\n    frame.origin.y = mj_y;\n    self.frame = frame;\n}\n\n- (CGFloat)mj_y\n{\n    return self.frame.origin.y;\n}\n\n- (void)setMj_w:(CGFloat)mj_w\n{\n    CGRect frame = self.frame;\n    frame.size.width = mj_w;\n    self.frame = frame;\n}\n\n- (CGFloat)mj_w\n{\n    return self.frame.size.width;\n}\n\n- (void)setMj_h:(CGFloat)mj_h\n{\n    CGRect frame = self.frame;\n    frame.size.height = mj_h;\n    self.frame = frame;\n}\n\n- (CGFloat)mj_h\n{\n    return self.frame.size.height;\n}\n\n- (void)setMj_size:(CGSize)mj_size\n{\n    CGRect frame = self.frame;\n    frame.size = mj_size;\n    self.frame = frame;\n}\n\n- (CGSize)mj_size\n{\n    return self.frame.size;\n}\n\n- (void)setMj_origin:(CGPoint)mj_origin\n{\n    CGRect frame = self.frame;\n    frame.origin = mj_origin;\n    self.frame = frame;\n}\n\n- (CGPoint)mj_origin\n{\n    return self.frame.origin;\n}\n@end\n"
  },
  {
    "path": "CKMeiTuanShopView/Pods/MJRefresh/README.md",
    "content": "![(logo)](http://images.cnitblog.com/blog2015/497279/201505/051004492043385.png)\n## MJRefresh\n* An easy way to use pull-to-refresh\n\n## Contents\n* Getting Started\n    * [Features【Support what kinds of controls to refresh】](#Support_what_kinds_of_controls_to_refresh)\n    * [Installation【How to use MJRefresh】](#How_to_use_MJRefresh)\n    * [Who's using【More than hundreds of Apps are using MJRefresh】](#More_than_hundreds_of_Apps_are_using_MJRefresh)\n    * [Classes【The Class Structure Chart of MJRefresh】](#The_Class_Structure_Chart_of_MJRefresh)\n* Comment API\n\t* [MJRefreshComponent.h](#MJRefreshComponent.h)\n\t* [MJRefreshHeader.h](#MJRefreshHeader.h)\n\t* [MJRefreshFooter.h](#MJRefreshFooter.h)\n\t* [MJRefreshAutoFooter.h](#MJRefreshAutoFooter.h)\n* Examples\n    * [Reference](#Reference)\n    * [The drop-down refresh 01-Default](#The_drop-down_refresh_01-Default)\n    * [The drop-down refresh 02-Animation image](#The_drop-down_refresh_02-Animation_image)\n    * [The drop-down refresh 03-Hide the time](#The_drop-down_refresh_03-Hide_the_time)\n    * [The drop-down refresh 04-Hide status and time](#The_drop-down_refresh_04-Hide_status_and_time)\n    * [The drop-down refresh 05-DIY title](#The_drop-down_refresh_05-DIY_title)\n    * [The drop-down refresh 06-DIY the control of refresh](#The_drop-down_refresh_06-DIY_the_control_of_refresh)\n    * [The pull to refresh 01-Default](#The_pull_to_refresh_01-Default)\n    * [The pull to refresh 02-Animation image](#The_pull_to_refresh_02-Animation_image)\n    * [The pull to refresh 03-Hide the title of refresh status](#The_pull_to_refresh_03-Hide_the_title_of_refresh_status)\n    * [The pull to refresh 04-All loaded](#The_pull_to_refresh_04-All_loaded)\n    * [The pull to refresh 05-DIY title](#The_pull_to_refresh_05-DIY_title)\n    * [The pull to refresh 06-Hidden After loaded](#The_pull_to_refresh_06-Hidden_After_loaded)\n    * [The pull to refresh 07-Automatic back of the pull01](#The_pull_to_refresh_07-Automatic_back_of_the_pull01)\n    * [The pull to refresh 08-Automatic back of the pull02](#The_pull_to_refresh_08-Automatic_back_of_the_pull02)\n    * [The pull to refresh 09-DIY the control of refresh(Automatic refresh)](#The_pull_to_refresh_09-DIY_the_control_of_refresh(Automatic_refresh))\n    * [The pull to refresh 10-DIY the control of refresh(Automatic back)](#The_pull_to_refresh_10-DIY_the_control_of_refresh(Automatic_back))\n    * [UICollectionView01-The pull and drop-down refresh](#UICollectionView01-The_pull_and_drop-down_refresh)\n    * [UIWebView01-The drop-down refresh](#UIWebView01-The_drop-down_refresh)\n* [Hope](#Hope)\n\n## <a id=\"Support_what_kinds_of_controls_to_refresh\"></a>Support what kinds of controls to refresh\n* `UIScrollView`、`UITableView`、`UICollectionView`、`UIWebView`\n\n## <a id=\"How_to_use_MJRefresh\"></a>How to use MJRefresh\n* Installation with CocoaPods：`pod 'MJRefresh'`\n* Manual import：\n    * Drag All files in the `MJRefresh` folder to project\n    * Import the main file：`#import \"MJRefresh.h\"`\n\n```objc\nBase                        Custom\nMJRefresh.bundle            MJRefresh.h\nMJRefreshConst.h            MJRefreshConst.m\nUIScrollView+MJExtension.h  UIScrollView+MJExtension.m\nUIScrollView+MJRefresh.h    UIScrollView+MJRefresh.m\nUIView+MJExtension.h        UIView+MJExtension.m\n```\n\n## <a id=\"More_than_hundreds_of_Apps_are_using_MJRefresh\"></a>More than hundreds of Apps are using MJRefresh\n<img src=\"http://images0.cnblogs.com/blog2015/497279/201506/141212365041650.png\" width=\"200\" height=\"300\">\n* More information of App can focus on：[M了个J-博客园](http://www.cnblogs.com/mjios/p/4409853.html)\n\n## <a id=\"The_Class_Structure_Chart_of_MJRefresh\"></a>The Class Structure Chart of MJRefresh\n![](http://images0.cnblogs.com/blog2015/497279/201506/132232456139177.png)\n- `The class of red text` in the chart：You can use them directly\n    - The drop-down refresh control types\n        - Normal：`MJRefreshNormalHeader`\n        - Gif：`MJRefreshGifHeader`\n    - The pull to refresh control types\n        - Auto refresh\n            - Normal：`MJRefreshAutoNormalFooter`\n            - Gif：`MJRefreshAutoGifFooter`\n        - Auto Back\n            - Normal：`MJRefreshBackNormalFooter`\n            - Gif：`MJRefreshBackGifFooter`\n- `The class of non-red text` in the chart：For inheritance，to use DIY the control of refresh\n- About how to DIY the control of refresh，You can refer the Class in below Chart<br>\n<img src=\"http://images0.cnblogs.com/blog2015/497279/201506/141358159107893.png\" width=\"30%\" height=\"30%\">\n\n## <a id=\"MJRefreshComponent.h\"></a>MJRefreshComponent.h\n```objc\n/** The Base Class of refresh control */\n@interface MJRefreshComponent : UIView\n#pragma mark -  Control the state of Refresh \n\n/** BeginRefreshing */\n- (void)beginRefreshing;\n/** EndRefreshing */\n- (void)endRefreshing; \n/** IsRefreshing */\n- (BOOL)isRefreshing;\n\n#pragma mark - Other\n/** According to the drag ratio to change alpha automatically */\n@property (assign, nonatomic, getter=isAutomaticallyChangeAlpha) BOOL automaticallyChangeAlpha;\n@end\n```\n\n## <a id=\"MJRefreshHeader.h\"></a>MJRefreshHeader.h\n```objc\n@interface MJRefreshHeader : MJRefreshComponent\n/** Creat header */\n+ (instancetype)headerWithRefreshingBlock:(MJRefreshComponentRefreshingBlock)refreshingBlock;\n/** Creat header */\n+ (instancetype)headerWithRefreshingTarget:(id)target refreshingAction:(SEL)action;\n\n/** This key is used to storage the time that the last time of drown-down successfully */\n@property (copy, nonatomic) NSString *lastUpdatedTimeKey;\n/** The last time of drown-down successfully */\n@property (strong, nonatomic, readonly) NSDate *lastUpdatedTime;\n\n/** Ignored scrollView contentInset top */\n@property (assign, nonatomic) CGFloat ignoredScrollViewContentInsetTop;\n@end\n```\n\n## <a id=\"MJRefreshFooter.h\"></a>MJRefreshFooter.h\n```objc\n@interface MJRefreshFooter : MJRefreshComponent\n/** Creat footer */\n+ (instancetype)footerWithRefreshingBlock:(MJRefreshComponentRefreshingBlock)refreshingBlock;\n/** Creat footer */\n+ (instancetype)footerWithRefreshingTarget:(id)target refreshingAction:(SEL)action;\n\n/** NoticeNoMoreData */\n- (void)noticeNoMoreData;\n/** ResetNoMoreData（Clear the status of NoMoreData ） */\n- (void)resetNoMoreData;\n\n/** Ignored scrollView contentInset bottom */\n@property (assign, nonatomic) CGFloat ignoredScrollViewContentInsetBottom;\n\n/** Automaticlly show or hidden by the count of data（Show-have data，Hidden- no data） */\n@property (assign, nonatomic) BOOL automaticallyHidden;\n@end\n```\n\n## <a id=\"MJRefreshAutoFooter.h\"></a>MJRefreshAutoFooter.h\n```objc\n@interface MJRefreshAutoFooter : MJRefreshFooter\n/** Is Automatically Refresh(Default is Yes) */\n@property (assign, nonatomic, getter=isAutomaticallyRefresh) BOOL automaticallyRefresh;\n\n/** When there is much at the bottom of the control is automatically refresh(Default is 1.0，Is at the bottom of the control appears in full, will refresh automatically) */\n@property (assign, nonatomic) CGFloat triggerAutomaticallyRefreshPercent;\n@end\n```\n\n## <a id=\"Reference\"></a>Reference\n```objc\n* Due to there are more functions of this framework，Don't write specific text describe its usage\n* You can directly reference examples MJTableViewController、MJCollectionViewController、MJWebViewController，More intuitive and fast.\n```\n<img src=\"http://images0.cnblogs.com/blog2015/497279/201506/141345470048120.png\" width=\"30%\" height=\"30%\">\n\n## <a id=\"The_drop-down_refresh_01-Default\"></a>The drop-down refresh 01-Default\n\n```objc\nself.tableView.header = [MJRefreshNormalHeader headerWithRefreshingBlock:^{\n   //Call this Block When enter the refresh status automatically \n}];\n或\n// Set the callback（Once you enter the refresh status，then call the action of target，that is call [self loadNewData]）\nself.tableView.header = [MJRefreshNormalHeader headerWithRefreshingTarget:self refreshingAction:@selector(loadNewData)];\n\n// Enter the refresh status immediately\n[self.tableView.header beginRefreshing];\n```\n![(下拉刷新01-普通)](http://images0.cnblogs.com/blog2015/497279/201506/141204343486151.gif)\n\n## <a id=\"The_drop-down_refresh_02-Animation_image\"></a>The drop-down refresh 02-Animation image\n```objc\n// Set the callback（一Once you enter the refresh status，then call the action of target，that is call [self loadNewData]）\nMJRefreshGifHeader *header = [MJRefreshGifHeader headerWithRefreshingTarget:self refreshingAction:@selector(loadNewData)];\n// Set the ordinary state of animated images\n[header setImages:idleImages forState:MJRefreshStateIdle];\n// Set the pulling state of animated images（Enter the status of refreshing as soon as loosen）\n[header setImages:pullingImages forState:MJRefreshStatePulling];\n// Set the refreshing state of animated images\n[header setImages:refreshingImages forState:MJRefreshStateRefreshing];\n// Set header\nself.tableView.mj_header = header;\n```\n![(下拉刷新02-动画图片)](http://images0.cnblogs.com/blog2015/497279/201506/141204402238389.gif)\n\n## <a id=\"The_drop-down_refresh_03-Hide_the_time\"></a>The drop-down refresh 03-Hide the time\n```objc\n// Hide the time\nheader.lastUpdatedTimeLabel.hidden = YES;\n```\n![(下拉刷新03-隐藏时间)](http://images0.cnblogs.com/blog2015/497279/201506/141204456132944.gif)\n\n## <a id=\"The_drop-down_refresh_04-Hide_status_and_time\"></a>The drop-down refresh 04-Hide status and time\n```objc\n// Hide the time\nheader.lastUpdatedTimeLabel.hidden = YES;\n\n// Hide the status\nheader.stateLabel.hidden = YES;\n```\n![(下拉刷新04-隐藏状态和时间0)](http://images0.cnblogs.com/blog2015/497279/201506/141204508639539.gif)\n\n## <a id=\"The_drop-down_refresh_05-DIY_title\"></a>The drop-down refresh 05-DIY title\n```objc\n// Set title\n[header setTitle:@\"Pull down to refresh\" forState:MJRefreshStateIdle];\n[header setTitle:@\"Release to refresh\" forState:MJRefreshStatePulling];\n[header setTitle:@\"Loading ...\" forState:MJRefreshStateRefreshing];\n\n// Set font\nheader.stateLabel.font = [UIFont systemFontOfSize:15];\nheader.lastUpdatedTimeLabel.font = [UIFont systemFontOfSize:14];\n\n// Set textColor\nheader.stateLabel.textColor = [UIColor redColor];\nheader.lastUpdatedTimeLabel.textColor = [UIColor blueColor];\n```\n![(下拉刷新05-自定义文字)](http://images0.cnblogs.com/blog2015/497279/201506/141204563633593.gif)\n\n## <a id=\"The_drop-down_refresh_06-DIY_the_control_of_refresh\"></a>The drop-down refresh 06-DIY the control of refresh\n```objc\nself.tableView.mj_header = [MJDIYHeader headerWithRefreshingTarget:self refreshingAction:@selector(loadNewData)];\n// Implementation reference to MJDIYHeader.h和MJDIYHeader.m\n```\n![(下拉刷新06-自定义刷新控件)](http://images0.cnblogs.com/blog2015/497279/201506/141205019261159.gif)\n\n## <a id=\"The_pull_to_refresh_01-Default\"></a>The pull to refresh 01-Default\n```objc\nself.tableView.mj_footer = [MJRefreshAutoNormalFooter footerWithRefreshingBlock:^{\n    //Call this Block When enter the refresh status automatically\n}];\n或\n// Set the callback（Once you enter the refresh status，then call the action of target，that is call [self loadMoreData]）\nself.tableView.mj_footer = [MJRefreshAutoNormalFooter footerWithRefreshingTarget:self refreshingAction:@selector(loadMoreData)];\n```\n![(上拉刷新01-默认)](http://images0.cnblogs.com/blog2015/497279/201506/141205090047696.gif)\n\n## <a id=\"The_pull_to_refresh_02-Animation_image\"></a>The pull to refresh 02-Animation image\n```objc\n// Set the callback（Once you enter the refresh status，then call the action of target，that is call [self loadMoreData]）\nMJRefreshAutoGifFooter *footer = [MJRefreshAutoGifFooter footerWithRefreshingTarget:self refreshingAction:@selector(loadMoreData)];\n\n// Set the refresh image\n[footer setImages:refreshingImages forState:MJRefreshStateRefreshing];\n\n// Set footer\nself.tableView.mj_footer = footer;\n```\n![(上拉刷新02-动画图片)](http://images0.cnblogs.com/blog2015/497279/201506/141205141445793.gif)\n\n## <a id=\"The_pull_to_refresh_03-Hide_the_title_of_refresh_status\"></a>The pull to refresh 03-Hide the title of refresh status\n```objc\n// Hide the title of refresh status\nfooter.refreshingTitleHidden = YES;\n// If does have not above method，then use footer.stateLabel.hidden = YES;\n```\n![(上拉刷新03-隐藏刷新状态的文字)](http://images0.cnblogs.com/blog2015/497279/201506/141205200985774.gif)\n\n## <a id=\"The_pull_to_refresh_04-All_loaded\"></a>The pull to refresh 04-All loaded\n```objc\n//Become the status of NoMoreData\n[footer noticeNoMoreData];\n```\n![(上拉刷新04-全部加载完毕)](http://images0.cnblogs.com/blog2015/497279/201506/141205248634686.gif)\n\n## <a id=\"The_pull_to_refresh_05-DIY_title\"></a>The pull to refresh 05-DIY title\n```objc\n// Set title\n[footer setTitle:@\"Click or drag up to refresh\" forState:MJRefreshStateIdle];\n[footer setTitle:@\"Loading more ...\" forState:MJRefreshStateRefreshing];\n[footer setTitle:@\"No more data\" forState:MJRefreshStateNoMoreData];\n\n// Set font\nfooter.stateLabel.font = [UIFont systemFontOfSize:17];\n\n// Set textColor\nfooter.stateLabel.textColor = [UIColor blueColor];\n```\n![(上拉刷新05-自定义文字)](http://images0.cnblogs.com/blog2015/497279/201506/141205295511153.gif)\n\n## <a id=\"The_pull_to_refresh_06-Hidden_After_loaded\"></a>The pull to refresh 06-Hidden After loaded\n```objc\n//Hidden current control of the pull to refresh\nself.tableView.mj_footer.hidden = YES;\n```\n![(上拉刷新06-加载后隐藏)](http://images0.cnblogs.com/blog2015/497279/201506/141205343481821.gif)\n\n## <a id=\"The_pull_to_refresh_07-Automatic_back_of_the_pull01\"></a>The pull to refresh 07-Automatic back of the pull01\n```objc\nself.tableView.mj_footer = [MJRefreshBackNormalFooter footerWithRefreshingTarget:self refreshingAction:@selector(loadMoreData)];\n```\n![(上拉刷新07-自动回弹的上拉01)](http://images0.cnblogs.com/blog2015/497279/201506/141205392239231.gif)\n\n## <a id=\"The_pull_to_refresh_08-Automatic_back_of_the_pull02\"></a>The pull to refresh 08-Automatic back of the pull02\n```objc\nMJRefreshBackGifFooter *footer = [MJRefreshBackGifFooter footerWithRefreshingTarget:self refreshingAction:@selector(loadMoreData)];\n\n// Set the normal state of the animated image\n[footer setImages:idleImages forState:MJRefreshStateIdle];\n//  Set the pulling state of animated images（Enter the status of refreshing as soon as loosen）\n[footer setImages:pullingImages forState:MJRefreshStatePulling];\n// Set the refreshing state of animated images\n[footer setImages:refreshingImages forState:MJRefreshStateRefreshing];\n\n// Set footer\nself.tableView.mj_footer = footer;\n```\n![(上拉刷新07-自动回弹的上拉02)](http://images0.cnblogs.com/blog2015/497279/201506/141205441443628.gif)\n\n## <a id=\"The_pull_to_refresh_09-DIY_the_control_of_refresh(Automatic_refresh)\"></a>The pull to refresh 09-DIY the control of refresh(Automatic refresh)\n```objc\nself.tableView.mj_footer = [MJDIYAutoFooter footerWithRefreshingTarget:self refreshingAction:@selector(loadMoreData)];\n// Implementation reference to MJDIYAutoFooter.h和MJDIYAutoFooter.m\n```\n![(上拉刷新09-自定义刷新控件(自动刷新))](http://images0.cnblogs.com/blog2015/497279/201506/141205500195866.gif)\n\n## <a id=\"The_pull_to_refresh_10-DIY_the_control_of_refresh(Automatic_back)\"></a>The pull to refresh 10-DIY the control of refresh(Automatic back)\n```objc\nself.tableView.mj_footer = [MJDIYBackFooter footerWithRefreshingTarget:self refreshingAction:@selector(loadMoreData)];\n// Implementation reference to MJDIYBackFooter.h和MJDIYBackFooter.m\n```\n![(上拉刷新10-自定义刷新控件(自动回弹))](http://images0.cnblogs.com/blog2015/497279/201506/141205560666819.gif)\n\n## <a id=\"UICollectionView01-The_pull_and_drop-down_refresh\"></a>UICollectionView01-The pull and drop-down refresh\n```objc\n// The drop-down refresh\nself.collectionView.mj_header = [MJRefreshNormalHeader headerWithRefreshingBlock:^{\n   //Call this Block When enter the refresh status automatically \n}];\n\n// The pull to refresh\nself.collectionView.mj_footer = [MJRefreshAutoNormalFooter footerWithRefreshingBlock:^{\n   //Call this Block When enter the refresh status automatically\n}];\n```\n![(UICollectionView01-上下拉刷新)](http://images0.cnblogs.com/blog2015/497279/201506/141206021603758.gif)\n\n## <a id=\"UIWebView01-The_drop-down_refresh\"></a>UIWebView01-The drop-down refresh\n```objc\n//Add the control of The drop-down refresh\nself.webView.scrollView.mj_header = [MJRefreshNormalHeader headerWithRefreshingBlock:^{\n   //Call this Block When enter the refresh status automatically\n}];\n```\n![(UICollectionView01-上下拉刷新)](http://images0.cnblogs.com/blog2015/497279/201506/141206080514524.gif)\n\n## Remind\n* ARC\n* iOS>=6.0\n* iPhone \\ iPad screen anyway\n\n## <a id=\"Hope\"></a>Hope\n* If you find bug when used，Hope you can Issues me，Thank you or try to download the latest code of this framework to see the BUG has been fixed or not）\n* If you find the function is not enough when used，Hope you can Issues me，I very much to add more useful function to this framework ，Thank you !\n* If you want to contribute code for MJRefresh，please Pull Requests me\n*  If you use MJRefresh in your develop app，Hope you can go to[CocoaControls](https://www.cocoacontrols.com/controls/mjrefresh)to add the iTunes path\n of you app，I Will install your app，and according to the usage of many app，to be a better design and improve to MJRefresh，Thank you !\n   * StepO1（WeChat is just an Example，Explore“Your app name itunes”）\n![(step01)](http://ww4.sinaimg.cn/mw1024/800cdf9ctw1eq0viiv5rsj20sm0ea41t.jpg)\n   * StepO2\n![(step02)](http://ww2.sinaimg.cn/mw1024/800cdf9ctw1eq0vilejxlj20tu0me7a0.jpg)\n   * StepO3\n![(step03)](http://ww1.sinaimg.cn/mw1024/800cdf9ctw1eq0viocpo5j20wc0dc0un.jpg)\n   * StepO4\n![(step04)](http://ww3.sinaimg.cn/mw1024/800cdf9ctw1eq0vir137xj20si0gewgu.jpg)\n"
  },
  {
    "path": "CKMeiTuanShopView/Pods/Masonry/LICENSE",
    "content": "Copyright (c) 2011-2012 Masonry Team - https://github.com/Masonry\n\nPermission is hereby granted, free of charge, to any person obtaining a copy\nof this software and associated documentation files (the \"Software\"), to deal\nin the Software without restriction, including without limitation the rights\nto use, copy, modify, merge, publish, distribute, sublicense, and/or sell\ncopies of the Software, and to permit persons to whom the Software is\nfurnished to do so, subject to the following conditions:\n\nThe above copyright notice and this permission notice shall be included in\nall copies or substantial portions of the Software.\n\nTHE SOFTWARE IS PROVIDED \"AS IS\", WITHOUT WARRANTY OF ANY KIND, EXPRESS OR\nIMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF MERCHANTABILITY,\nFITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT. IN NO EVENT SHALL THE\nAUTHORS OR COPYRIGHT HOLDERS BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER\nLIABILITY, WHETHER IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING FROM,\nOUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN\nTHE SOFTWARE."
  },
  {
    "path": "CKMeiTuanShopView/Pods/Masonry/Masonry/MASCompositeConstraint.h",
    "content": "//\n//  MASCompositeConstraint.h\n//  Masonry\n//\n//  Created by Jonas Budelmann on 21/07/13.\n//  Copyright (c) 2013 cloudling. All rights reserved.\n//\n\n#import \"MASConstraint.h\"\n#import \"MASUtilities.h\"\n\n/**\n *\tA group of MASConstraint objects\n */\n@interface MASCompositeConstraint : MASConstraint\n\n/**\n *\tCreates a composite with a predefined array of children\n *\n *\t@param\tchildren\tchild MASConstraints\n *\n *\t@return\ta composite constraint\n */\n- (id)initWithChildren:(NSArray *)children;\n\n@end\n"
  },
  {
    "path": "CKMeiTuanShopView/Pods/Masonry/Masonry/MASCompositeConstraint.m",
    "content": "//\n//  MASCompositeConstraint.m\n//  Masonry\n//\n//  Created by Jonas Budelmann on 21/07/13.\n//  Copyright (c) 2013 cloudling. All rights reserved.\n//\n\n#import \"MASCompositeConstraint.h\"\n#import \"MASConstraint+Private.h\"\n\n@interface MASCompositeConstraint () <MASConstraintDelegate>\n\n@property (nonatomic, strong) id mas_key;\n@property (nonatomic, strong) NSMutableArray *childConstraints;\n\n@end\n\n@implementation MASCompositeConstraint\n\n- (id)initWithChildren:(NSArray *)children {\n    self = [super init];\n    if (!self) return nil;\n\n    _childConstraints = [children mutableCopy];\n    for (MASConstraint *constraint in _childConstraints) {\n        constraint.delegate = self;\n    }\n\n    return self;\n}\n\n#pragma mark - MASConstraintDelegate\n\n- (void)constraint:(MASConstraint *)constraint shouldBeReplacedWithConstraint:(MASConstraint *)replacementConstraint {\n    NSUInteger index = [self.childConstraints indexOfObject:constraint];\n    NSAssert(index != NSNotFound, @\"Could not find constraint %@\", constraint);\n    [self.childConstraints replaceObjectAtIndex:index withObject:replacementConstraint];\n}\n\n- (MASConstraint *)constraint:(MASConstraint __unused *)constraint addConstraintWithLayoutAttribute:(NSLayoutAttribute)layoutAttribute {\n    id<MASConstraintDelegate> strongDelegate = self.delegate;\n    MASConstraint *newConstraint = [strongDelegate constraint:self addConstraintWithLayoutAttribute:layoutAttribute];\n    newConstraint.delegate = self;\n    [self.childConstraints addObject:newConstraint];\n    return newConstraint;\n}\n\n#pragma mark - NSLayoutConstraint multiplier proxies \n\n- (MASConstraint * (^)(CGFloat))multipliedBy {\n    return ^id(CGFloat multiplier) {\n        for (MASConstraint *constraint in self.childConstraints) {\n            constraint.multipliedBy(multiplier);\n        }\n        return self;\n    };\n}\n\n- (MASConstraint * (^)(CGFloat))dividedBy {\n    return ^id(CGFloat divider) {\n        for (MASConstraint *constraint in self.childConstraints) {\n            constraint.dividedBy(divider);\n        }\n        return self;\n    };\n}\n\n#pragma mark - MASLayoutPriority proxy\n\n- (MASConstraint * (^)(MASLayoutPriority))priority {\n    return ^id(MASLayoutPriority priority) {\n        for (MASConstraint *constraint in self.childConstraints) {\n            constraint.priority(priority);\n        }\n        return self;\n    };\n}\n\n#pragma mark - NSLayoutRelation proxy\n\n- (MASConstraint * (^)(id, NSLayoutRelation))equalToWithRelation {\n    return ^id(id attr, NSLayoutRelation relation) {\n        for (MASConstraint *constraint in self.childConstraints.copy) {\n            constraint.equalToWithRelation(attr, relation);\n        }\n        return self;\n    };\n}\n\n#pragma mark - attribute chaining\n\n- (MASConstraint *)addConstraintWithLayoutAttribute:(NSLayoutAttribute)layoutAttribute {\n    [self constraint:self addConstraintWithLayoutAttribute:layoutAttribute];\n    return self;\n}\n\n#pragma mark - Animator proxy\n\n#if TARGET_OS_MAC && !(TARGET_OS_IPHONE || TARGET_OS_TV)\n\n- (MASConstraint *)animator {\n    for (MASConstraint *constraint in self.childConstraints) {\n        [constraint animator];\n    }\n    return self;\n}\n\n#endif\n\n#pragma mark - debug helpers\n\n- (MASConstraint * (^)(id))key {\n    return ^id(id key) {\n        self.mas_key = key;\n        int i = 0;\n        for (MASConstraint *constraint in self.childConstraints) {\n            constraint.key([NSString stringWithFormat:@\"%@[%d]\", key, i++]);\n        }\n        return self;\n    };\n}\n\n#pragma mark - NSLayoutConstraint constant setters\n\n- (void)setInsets:(MASEdgeInsets)insets {\n    for (MASConstraint *constraint in self.childConstraints) {\n        constraint.insets = insets;\n    }\n}\n\n- (void)setInset:(CGFloat)inset {\n    for (MASConstraint *constraint in self.childConstraints) {\n        constraint.inset = inset;\n    }\n}\n\n- (void)setOffset:(CGFloat)offset {\n    for (MASConstraint *constraint in self.childConstraints) {\n        constraint.offset = offset;\n    }\n}\n\n- (void)setSizeOffset:(CGSize)sizeOffset {\n    for (MASConstraint *constraint in self.childConstraints) {\n        constraint.sizeOffset = sizeOffset;\n    }\n}\n\n- (void)setCenterOffset:(CGPoint)centerOffset {\n    for (MASConstraint *constraint in self.childConstraints) {\n        constraint.centerOffset = centerOffset;\n    }\n}\n\n#pragma mark - MASConstraint\n\n- (void)activate {\n    for (MASConstraint *constraint in self.childConstraints) {\n        [constraint activate];\n    }\n}\n\n- (void)deactivate {\n    for (MASConstraint *constraint in self.childConstraints) {\n        [constraint deactivate];\n    }\n}\n\n- (void)install {\n    for (MASConstraint *constraint in self.childConstraints) {\n        constraint.updateExisting = self.updateExisting;\n        [constraint install];\n    }\n}\n\n- (void)uninstall {\n    for (MASConstraint *constraint in self.childConstraints) {\n        [constraint uninstall];\n    }\n}\n\n@end\n"
  },
  {
    "path": "CKMeiTuanShopView/Pods/Masonry/Masonry/MASConstraint+Private.h",
    "content": "//\n//  MASConstraint+Private.h\n//  Masonry\n//\n//  Created by Nick Tymchenko on 29/04/14.\n//  Copyright (c) 2014 cloudling. All rights reserved.\n//\n\n#import \"MASConstraint.h\"\n\n@protocol MASConstraintDelegate;\n\n\n@interface MASConstraint ()\n\n/**\n *  Whether or not to check for an existing constraint instead of adding constraint\n */\n@property (nonatomic, assign) BOOL updateExisting;\n\n/**\n *\tUsually MASConstraintMaker but could be a parent MASConstraint\n */\n@property (nonatomic, weak) id<MASConstraintDelegate> delegate;\n\n/**\n *  Based on a provided value type, is equal to calling:\n *  NSNumber - setOffset:\n *  NSValue with CGPoint - setPointOffset:\n *  NSValue with CGSize - setSizeOffset:\n *  NSValue with MASEdgeInsets - setInsets:\n */\n- (void)setLayoutConstantWithValue:(NSValue *)value;\n\n@end\n\n\n@interface MASConstraint (Abstract)\n\n/**\n *\tSets the constraint relation to given NSLayoutRelation\n *  returns a block which accepts one of the following:\n *    MASViewAttribute, UIView, NSValue, NSArray\n *  see readme for more details.\n */\n- (MASConstraint * (^)(id, NSLayoutRelation))equalToWithRelation;\n\n/**\n *\tOverride to set a custom chaining behaviour\n */\n- (MASConstraint *)addConstraintWithLayoutAttribute:(NSLayoutAttribute)layoutAttribute;\n\n@end\n\n\n@protocol MASConstraintDelegate <NSObject>\n\n/**\n *\tNotifies the delegate when the constraint needs to be replaced with another constraint. For example\n *  A MASViewConstraint may turn into a MASCompositeConstraint when an array is passed to one of the equality blocks\n */\n- (void)constraint:(MASConstraint *)constraint shouldBeReplacedWithConstraint:(MASConstraint *)replacementConstraint;\n\n- (MASConstraint *)constraint:(MASConstraint *)constraint addConstraintWithLayoutAttribute:(NSLayoutAttribute)layoutAttribute;\n\n@end\n"
  },
  {
    "path": "CKMeiTuanShopView/Pods/Masonry/Masonry/MASConstraint.h",
    "content": "//\n//  MASConstraint.h\n//  Masonry\n//\n//  Created by Jonas Budelmann on 22/07/13.\n//  Copyright (c) 2013 cloudling. All rights reserved.\n//\n\n#import \"MASUtilities.h\"\n\n/**\n *\tEnables Constraints to be created with chainable syntax\n *  Constraint can represent single NSLayoutConstraint (MASViewConstraint) \n *  or a group of NSLayoutConstraints (MASComposisteConstraint)\n */\n@interface MASConstraint : NSObject\n\n// Chaining Support\n\n/**\n *\tModifies the NSLayoutConstraint constant,\n *  only affects MASConstraints in which the first item's NSLayoutAttribute is one of the following\n *  NSLayoutAttributeTop, NSLayoutAttributeLeft, NSLayoutAttributeBottom, NSLayoutAttributeRight\n */\n- (MASConstraint * (^)(MASEdgeInsets insets))insets;\n\n/**\n *\tModifies the NSLayoutConstraint constant,\n *  only affects MASConstraints in which the first item's NSLayoutAttribute is one of the following\n *  NSLayoutAttributeTop, NSLayoutAttributeLeft, NSLayoutAttributeBottom, NSLayoutAttributeRight\n */\n- (MASConstraint * (^)(CGFloat inset))inset;\n\n/**\n *\tModifies the NSLayoutConstraint constant,\n *  only affects MASConstraints in which the first item's NSLayoutAttribute is one of the following\n *  NSLayoutAttributeWidth, NSLayoutAttributeHeight\n */\n- (MASConstraint * (^)(CGSize offset))sizeOffset;\n\n/**\n *\tModifies the NSLayoutConstraint constant,\n *  only affects MASConstraints in which the first item's NSLayoutAttribute is one of the following\n *  NSLayoutAttributeCenterX, NSLayoutAttributeCenterY\n */\n- (MASConstraint * (^)(CGPoint offset))centerOffset;\n\n/**\n *\tModifies the NSLayoutConstraint constant\n */\n- (MASConstraint * (^)(CGFloat offset))offset;\n\n/**\n *  Modifies the NSLayoutConstraint constant based on a value type\n */\n- (MASConstraint * (^)(NSValue *value))valueOffset;\n\n/**\n *\tSets the NSLayoutConstraint multiplier property\n */\n- (MASConstraint * (^)(CGFloat multiplier))multipliedBy;\n\n/**\n *\tSets the NSLayoutConstraint multiplier to 1.0/dividedBy\n */\n- (MASConstraint * (^)(CGFloat divider))dividedBy;\n\n/**\n *\tSets the NSLayoutConstraint priority to a float or MASLayoutPriority\n */\n- (MASConstraint * (^)(MASLayoutPriority priority))priority;\n\n/**\n *\tSets the NSLayoutConstraint priority to MASLayoutPriorityLow\n */\n- (MASConstraint * (^)(void))priorityLow;\n\n/**\n *\tSets the NSLayoutConstraint priority to MASLayoutPriorityMedium\n */\n- (MASConstraint * (^)(void))priorityMedium;\n\n/**\n *\tSets the NSLayoutConstraint priority to MASLayoutPriorityHigh\n */\n- (MASConstraint * (^)(void))priorityHigh;\n\n/**\n *\tSets the constraint relation to NSLayoutRelationEqual\n *  returns a block which accepts one of the following:\n *    MASViewAttribute, UIView, NSValue, NSArray\n *  see readme for more details.\n */\n- (MASConstraint * (^)(id attr))equalTo;\n\n/**\n *\tSets the constraint relation to NSLayoutRelationGreaterThanOrEqual\n *  returns a block which accepts one of the following:\n *    MASViewAttribute, UIView, NSValue, NSArray\n *  see readme for more details.\n */\n- (MASConstraint * (^)(id attr))greaterThanOrEqualTo;\n\n/**\n *\tSets the constraint relation to NSLayoutRelationLessThanOrEqual\n *  returns a block which accepts one of the following:\n *    MASViewAttribute, UIView, NSValue, NSArray\n *  see readme for more details.\n */\n- (MASConstraint * (^)(id attr))lessThanOrEqualTo;\n\n/**\n *\tOptional semantic property which has no effect but improves the readability of constraint\n */\n- (MASConstraint *)with;\n\n/**\n *\tOptional semantic property which has no effect but improves the readability of constraint\n */\n- (MASConstraint *)and;\n\n/**\n *\tCreates a new MASCompositeConstraint with the called attribute and reciever\n */\n- (MASConstraint *)left;\n- (MASConstraint *)top;\n- (MASConstraint *)right;\n- (MASConstraint *)bottom;\n- (MASConstraint *)leading;\n- (MASConstraint *)trailing;\n- (MASConstraint *)width;\n- (MASConstraint *)height;\n- (MASConstraint *)centerX;\n- (MASConstraint *)centerY;\n- (MASConstraint *)baseline;\n\n#if (__IPHONE_OS_VERSION_MIN_REQUIRED >= 80000) || (__TV_OS_VERSION_MIN_REQUIRED >= 9000) || (__MAC_OS_X_VERSION_MIN_REQUIRED >= 101100)\n\n- (MASConstraint *)firstBaseline;\n- (MASConstraint *)lastBaseline;\n\n#endif\n\n#if (__IPHONE_OS_VERSION_MIN_REQUIRED >= 80000) || (__TV_OS_VERSION_MIN_REQUIRED >= 9000)\n\n- (MASConstraint *)leftMargin;\n- (MASConstraint *)rightMargin;\n- (MASConstraint *)topMargin;\n- (MASConstraint *)bottomMargin;\n- (MASConstraint *)leadingMargin;\n- (MASConstraint *)trailingMargin;\n- (MASConstraint *)centerXWithinMargins;\n- (MASConstraint *)centerYWithinMargins;\n\n#endif\n\n\n/**\n *\tSets the constraint debug name\n */\n- (MASConstraint * (^)(id key))key;\n\n// NSLayoutConstraint constant Setters\n// for use outside of mas_updateConstraints/mas_makeConstraints blocks\n\n/**\n *\tModifies the NSLayoutConstraint constant,\n *  only affects MASConstraints in which the first item's NSLayoutAttribute is one of the following\n *  NSLayoutAttributeTop, NSLayoutAttributeLeft, NSLayoutAttributeBottom, NSLayoutAttributeRight\n */\n- (void)setInsets:(MASEdgeInsets)insets;\n\n/**\n *\tModifies the NSLayoutConstraint constant,\n *  only affects MASConstraints in which the first item's NSLayoutAttribute is one of the following\n *  NSLayoutAttributeTop, NSLayoutAttributeLeft, NSLayoutAttributeBottom, NSLayoutAttributeRight\n */\n- (void)setInset:(CGFloat)inset;\n\n/**\n *\tModifies the NSLayoutConstraint constant,\n *  only affects MASConstraints in which the first item's NSLayoutAttribute is one of the following\n *  NSLayoutAttributeWidth, NSLayoutAttributeHeight\n */\n- (void)setSizeOffset:(CGSize)sizeOffset;\n\n/**\n *\tModifies the NSLayoutConstraint constant,\n *  only affects MASConstraints in which the first item's NSLayoutAttribute is one of the following\n *  NSLayoutAttributeCenterX, NSLayoutAttributeCenterY\n */\n- (void)setCenterOffset:(CGPoint)centerOffset;\n\n/**\n *\tModifies the NSLayoutConstraint constant\n */\n- (void)setOffset:(CGFloat)offset;\n\n\n// NSLayoutConstraint Installation support\n\n#if TARGET_OS_MAC && !(TARGET_OS_IPHONE || TARGET_OS_TV)\n/**\n *  Whether or not to go through the animator proxy when modifying the constraint\n */\n@property (nonatomic, copy, readonly) MASConstraint *animator;\n#endif\n\n/**\n *  Activates an NSLayoutConstraint if it's supported by an OS. \n *  Invokes install otherwise.\n */\n- (void)activate;\n\n/**\n *  Deactivates previously installed/activated NSLayoutConstraint.\n */\n- (void)deactivate;\n\n/**\n *\tCreates a NSLayoutConstraint and adds it to the appropriate view.\n */\n- (void)install;\n\n/**\n *\tRemoves previously installed NSLayoutConstraint\n */\n- (void)uninstall;\n\n@end\n\n\n/**\n *  Convenience auto-boxing macros for MASConstraint methods.\n *\n *  Defining MAS_SHORTHAND_GLOBALS will turn on auto-boxing for default syntax.\n *  A potential drawback of this is that the unprefixed macros will appear in global scope.\n */\n#define mas_equalTo(...)                 equalTo(MASBoxValue((__VA_ARGS__)))\n#define mas_greaterThanOrEqualTo(...)    greaterThanOrEqualTo(MASBoxValue((__VA_ARGS__)))\n#define mas_lessThanOrEqualTo(...)       lessThanOrEqualTo(MASBoxValue((__VA_ARGS__)))\n\n#define mas_offset(...)                  valueOffset(MASBoxValue((__VA_ARGS__)))\n\n\n#ifdef MAS_SHORTHAND_GLOBALS\n\n#define equalTo(...)                     mas_equalTo(__VA_ARGS__)\n#define greaterThanOrEqualTo(...)        mas_greaterThanOrEqualTo(__VA_ARGS__)\n#define lessThanOrEqualTo(...)           mas_lessThanOrEqualTo(__VA_ARGS__)\n\n#define offset(...)                      mas_offset(__VA_ARGS__)\n\n#endif\n\n\n@interface MASConstraint (AutoboxingSupport)\n\n/**\n *  Aliases to corresponding relation methods (for shorthand macros)\n *  Also needed to aid autocompletion\n */\n- (MASConstraint * (^)(id attr))mas_equalTo;\n- (MASConstraint * (^)(id attr))mas_greaterThanOrEqualTo;\n- (MASConstraint * (^)(id attr))mas_lessThanOrEqualTo;\n\n/**\n *  A dummy method to aid autocompletion\n */\n- (MASConstraint * (^)(id offset))mas_offset;\n\n@end\n"
  },
  {
    "path": "CKMeiTuanShopView/Pods/Masonry/Masonry/MASConstraint.m",
    "content": "//\n//  MASConstraint.m\n//  Masonry\n//\n//  Created by Nick Tymchenko on 1/20/14.\n//\n\n#import \"MASConstraint.h\"\n#import \"MASConstraint+Private.h\"\n\n#define MASMethodNotImplemented() \\\n    @throw [NSException exceptionWithName:NSInternalInconsistencyException \\\n                                   reason:[NSString stringWithFormat:@\"You must override %@ in a subclass.\", NSStringFromSelector(_cmd)] \\\n                                 userInfo:nil]\n\n@implementation MASConstraint\n\n#pragma mark - Init\n\n- (id)init {\n\tNSAssert(![self isMemberOfClass:[MASConstraint class]], @\"MASConstraint is an abstract class, you should not instantiate it directly.\");\n\treturn [super init];\n}\n\n#pragma mark - NSLayoutRelation proxies\n\n- (MASConstraint * (^)(id))equalTo {\n    return ^id(id attribute) {\n        return self.equalToWithRelation(attribute, NSLayoutRelationEqual);\n    };\n}\n\n- (MASConstraint * (^)(id))mas_equalTo {\n    return ^id(id attribute) {\n        return self.equalToWithRelation(attribute, NSLayoutRelationEqual);\n    };\n}\n\n- (MASConstraint * (^)(id))greaterThanOrEqualTo {\n    return ^id(id attribute) {\n        return self.equalToWithRelation(attribute, NSLayoutRelationGreaterThanOrEqual);\n    };\n}\n\n- (MASConstraint * (^)(id))mas_greaterThanOrEqualTo {\n    return ^id(id attribute) {\n        return self.equalToWithRelation(attribute, NSLayoutRelationGreaterThanOrEqual);\n    };\n}\n\n- (MASConstraint * (^)(id))lessThanOrEqualTo {\n    return ^id(id attribute) {\n        return self.equalToWithRelation(attribute, NSLayoutRelationLessThanOrEqual);\n    };\n}\n\n- (MASConstraint * (^)(id))mas_lessThanOrEqualTo {\n    return ^id(id attribute) {\n        return self.equalToWithRelation(attribute, NSLayoutRelationLessThanOrEqual);\n    };\n}\n\n#pragma mark - MASLayoutPriority proxies\n\n- (MASConstraint * (^)(void))priorityLow {\n    return ^id{\n        self.priority(MASLayoutPriorityDefaultLow);\n        return self;\n    };\n}\n\n- (MASConstraint * (^)(void))priorityMedium {\n    return ^id{\n        self.priority(MASLayoutPriorityDefaultMedium);\n        return self;\n    };\n}\n\n- (MASConstraint * (^)(void))priorityHigh {\n    return ^id{\n        self.priority(MASLayoutPriorityDefaultHigh);\n        return self;\n    };\n}\n\n#pragma mark - NSLayoutConstraint constant proxies\n\n- (MASConstraint * (^)(MASEdgeInsets))insets {\n    return ^id(MASEdgeInsets insets){\n        self.insets = insets;\n        return self;\n    };\n}\n\n- (MASConstraint * (^)(CGFloat))inset {\n    return ^id(CGFloat inset){\n        self.inset = inset;\n        return self;\n    };\n}\n\n- (MASConstraint * (^)(CGSize))sizeOffset {\n    return ^id(CGSize offset) {\n        self.sizeOffset = offset;\n        return self;\n    };\n}\n\n- (MASConstraint * (^)(CGPoint))centerOffset {\n    return ^id(CGPoint offset) {\n        self.centerOffset = offset;\n        return self;\n    };\n}\n\n- (MASConstraint * (^)(CGFloat))offset {\n    return ^id(CGFloat offset){\n        self.offset = offset;\n        return self;\n    };\n}\n\n- (MASConstraint * (^)(NSValue *value))valueOffset {\n    return ^id(NSValue *offset) {\n        NSAssert([offset isKindOfClass:NSValue.class], @\"expected an NSValue offset, got: %@\", offset);\n        [self setLayoutConstantWithValue:offset];\n        return self;\n    };\n}\n\n- (MASConstraint * (^)(id offset))mas_offset {\n    // Will never be called due to macro\n    return nil;\n}\n\n#pragma mark - NSLayoutConstraint constant setter\n\n- (void)setLayoutConstantWithValue:(NSValue *)value {\n    if ([value isKindOfClass:NSNumber.class]) {\n        self.offset = [(NSNumber *)value doubleValue];\n    } else if (strcmp(value.objCType, @encode(CGPoint)) == 0) {\n        CGPoint point;\n        [value getValue:&point];\n        self.centerOffset = point;\n    } else if (strcmp(value.objCType, @encode(CGSize)) == 0) {\n        CGSize size;\n        [value getValue:&size];\n        self.sizeOffset = size;\n    } else if (strcmp(value.objCType, @encode(MASEdgeInsets)) == 0) {\n        MASEdgeInsets insets;\n        [value getValue:&insets];\n        self.insets = insets;\n    } else {\n        NSAssert(NO, @\"attempting to set layout constant with unsupported value: %@\", value);\n    }\n}\n\n#pragma mark - Semantic properties\n\n- (MASConstraint *)with {\n    return self;\n}\n\n- (MASConstraint *)and {\n    return self;\n}\n\n#pragma mark - Chaining\n\n- (MASConstraint *)addConstraintWithLayoutAttribute:(NSLayoutAttribute __unused)layoutAttribute {\n    MASMethodNotImplemented();\n}\n\n- (MASConstraint *)left {\n    return [self addConstraintWithLayoutAttribute:NSLayoutAttributeLeft];\n}\n\n- (MASConstraint *)top {\n    return [self addConstraintWithLayoutAttribute:NSLayoutAttributeTop];\n}\n\n- (MASConstraint *)right {\n    return [self addConstraintWithLayoutAttribute:NSLayoutAttributeRight];\n}\n\n- (MASConstraint *)bottom {\n    return [self addConstraintWithLayoutAttribute:NSLayoutAttributeBottom];\n}\n\n- (MASConstraint *)leading {\n    return [self addConstraintWithLayoutAttribute:NSLayoutAttributeLeading];\n}\n\n- (MASConstraint *)trailing {\n    return [self addConstraintWithLayoutAttribute:NSLayoutAttributeTrailing];\n}\n\n- (MASConstraint *)width {\n    return [self addConstraintWithLayoutAttribute:NSLayoutAttributeWidth];\n}\n\n- (MASConstraint *)height {\n    return [self addConstraintWithLayoutAttribute:NSLayoutAttributeHeight];\n}\n\n- (MASConstraint *)centerX {\n    return [self addConstraintWithLayoutAttribute:NSLayoutAttributeCenterX];\n}\n\n- (MASConstraint *)centerY {\n    return [self addConstraintWithLayoutAttribute:NSLayoutAttributeCenterY];\n}\n\n- (MASConstraint *)baseline {\n    return [self addConstraintWithLayoutAttribute:NSLayoutAttributeBaseline];\n}\n\n#if (__IPHONE_OS_VERSION_MIN_REQUIRED >= 80000) || (__TV_OS_VERSION_MIN_REQUIRED >= 9000) || (__MAC_OS_X_VERSION_MIN_REQUIRED >= 101100)\n\n- (MASConstraint *)firstBaseline {\n    return [self addConstraintWithLayoutAttribute:NSLayoutAttributeFirstBaseline];\n}\n- (MASConstraint *)lastBaseline {\n    return [self addConstraintWithLayoutAttribute:NSLayoutAttributeLastBaseline];\n}\n\n#endif\n\n#if (__IPHONE_OS_VERSION_MIN_REQUIRED >= 80000) || (__TV_OS_VERSION_MIN_REQUIRED >= 9000)\n\n- (MASConstraint *)leftMargin {\n    return [self addConstraintWithLayoutAttribute:NSLayoutAttributeLeftMargin];\n}\n\n- (MASConstraint *)rightMargin {\n    return [self addConstraintWithLayoutAttribute:NSLayoutAttributeRightMargin];\n}\n\n- (MASConstraint *)topMargin {\n    return [self addConstraintWithLayoutAttribute:NSLayoutAttributeTopMargin];\n}\n\n- (MASConstraint *)bottomMargin {\n    return [self addConstraintWithLayoutAttribute:NSLayoutAttributeBottomMargin];\n}\n\n- (MASConstraint *)leadingMargin {\n    return [self addConstraintWithLayoutAttribute:NSLayoutAttributeLeadingMargin];\n}\n\n- (MASConstraint *)trailingMargin {\n    return [self addConstraintWithLayoutAttribute:NSLayoutAttributeTrailingMargin];\n}\n\n- (MASConstraint *)centerXWithinMargins {\n    return [self addConstraintWithLayoutAttribute:NSLayoutAttributeCenterXWithinMargins];\n}\n\n- (MASConstraint *)centerYWithinMargins {\n    return [self addConstraintWithLayoutAttribute:NSLayoutAttributeCenterYWithinMargins];\n}\n\n#endif\n\n#pragma mark - Abstract\n\n- (MASConstraint * (^)(CGFloat multiplier))multipliedBy { MASMethodNotImplemented(); }\n\n- (MASConstraint * (^)(CGFloat divider))dividedBy { MASMethodNotImplemented(); }\n\n- (MASConstraint * (^)(MASLayoutPriority priority))priority { MASMethodNotImplemented(); }\n\n- (MASConstraint * (^)(id, NSLayoutRelation))equalToWithRelation { MASMethodNotImplemented(); }\n\n- (MASConstraint * (^)(id key))key { MASMethodNotImplemented(); }\n\n- (void)setInsets:(MASEdgeInsets __unused)insets { MASMethodNotImplemented(); }\n\n- (void)setInset:(CGFloat __unused)inset { MASMethodNotImplemented(); }\n\n- (void)setSizeOffset:(CGSize __unused)sizeOffset { MASMethodNotImplemented(); }\n\n- (void)setCenterOffset:(CGPoint __unused)centerOffset { MASMethodNotImplemented(); }\n\n- (void)setOffset:(CGFloat __unused)offset { MASMethodNotImplemented(); }\n\n#if TARGET_OS_MAC && !(TARGET_OS_IPHONE || TARGET_OS_TV)\n\n- (MASConstraint *)animator { MASMethodNotImplemented(); }\n\n#endif\n\n- (void)activate { MASMethodNotImplemented(); }\n\n- (void)deactivate { MASMethodNotImplemented(); }\n\n- (void)install { MASMethodNotImplemented(); }\n\n- (void)uninstall { MASMethodNotImplemented(); }\n\n@end\n"
  },
  {
    "path": "CKMeiTuanShopView/Pods/Masonry/Masonry/MASConstraintMaker.h",
    "content": "//\n//  MASConstraintMaker.h\n//  Masonry\n//\n//  Created by Jonas Budelmann on 20/07/13.\n//  Copyright (c) 2013 cloudling. All rights reserved.\n//\n\n#import \"MASConstraint.h\"\n#import \"MASUtilities.h\"\n\ntypedef NS_OPTIONS(NSInteger, MASAttribute) {\n    MASAttributeLeft = 1 << NSLayoutAttributeLeft,\n    MASAttributeRight = 1 << NSLayoutAttributeRight,\n    MASAttributeTop = 1 << NSLayoutAttributeTop,\n    MASAttributeBottom = 1 << NSLayoutAttributeBottom,\n    MASAttributeLeading = 1 << NSLayoutAttributeLeading,\n    MASAttributeTrailing = 1 << NSLayoutAttributeTrailing,\n    MASAttributeWidth = 1 << NSLayoutAttributeWidth,\n    MASAttributeHeight = 1 << NSLayoutAttributeHeight,\n    MASAttributeCenterX = 1 << NSLayoutAttributeCenterX,\n    MASAttributeCenterY = 1 << NSLayoutAttributeCenterY,\n    MASAttributeBaseline = 1 << NSLayoutAttributeBaseline,\n    \n#if (__IPHONE_OS_VERSION_MIN_REQUIRED >= 80000) || (__TV_OS_VERSION_MIN_REQUIRED >= 9000) || (__MAC_OS_X_VERSION_MIN_REQUIRED >= 101100)\n    \n    MASAttributeFirstBaseline = 1 << NSLayoutAttributeFirstBaseline,\n    MASAttributeLastBaseline = 1 << NSLayoutAttributeLastBaseline,\n    \n#endif\n    \n#if (__IPHONE_OS_VERSION_MIN_REQUIRED >= 80000) || (__TV_OS_VERSION_MIN_REQUIRED >= 9000)\n    \n    MASAttributeLeftMargin = 1 << NSLayoutAttributeLeftMargin,\n    MASAttributeRightMargin = 1 << NSLayoutAttributeRightMargin,\n    MASAttributeTopMargin = 1 << NSLayoutAttributeTopMargin,\n    MASAttributeBottomMargin = 1 << NSLayoutAttributeBottomMargin,\n    MASAttributeLeadingMargin = 1 << NSLayoutAttributeLeadingMargin,\n    MASAttributeTrailingMargin = 1 << NSLayoutAttributeTrailingMargin,\n    MASAttributeCenterXWithinMargins = 1 << NSLayoutAttributeCenterXWithinMargins,\n    MASAttributeCenterYWithinMargins = 1 << NSLayoutAttributeCenterYWithinMargins,\n\n#endif\n    \n};\n\n/**\n *  Provides factory methods for creating MASConstraints.\n *  Constraints are collected until they are ready to be installed\n *\n */\n@interface MASConstraintMaker : NSObject\n\n/**\n *\tThe following properties return a new MASViewConstraint\n *  with the first item set to the makers associated view and the appropriate MASViewAttribute\n */\n@property (nonatomic, strong, readonly) MASConstraint *left;\n@property (nonatomic, strong, readonly) MASConstraint *top;\n@property (nonatomic, strong, readonly) MASConstraint *right;\n@property (nonatomic, strong, readonly) MASConstraint *bottom;\n@property (nonatomic, strong, readonly) MASConstraint *leading;\n@property (nonatomic, strong, readonly) MASConstraint *trailing;\n@property (nonatomic, strong, readonly) MASConstraint *width;\n@property (nonatomic, strong, readonly) MASConstraint *height;\n@property (nonatomic, strong, readonly) MASConstraint *centerX;\n@property (nonatomic, strong, readonly) MASConstraint *centerY;\n@property (nonatomic, strong, readonly) MASConstraint *baseline;\n\n#if (__IPHONE_OS_VERSION_MIN_REQUIRED >= 80000) || (__TV_OS_VERSION_MIN_REQUIRED >= 9000) || (__MAC_OS_X_VERSION_MIN_REQUIRED >= 101100)\n\n@property (nonatomic, strong, readonly) MASConstraint *firstBaseline;\n@property (nonatomic, strong, readonly) MASConstraint *lastBaseline;\n\n#endif\n\n#if (__IPHONE_OS_VERSION_MIN_REQUIRED >= 80000) || (__TV_OS_VERSION_MIN_REQUIRED >= 9000)\n\n@property (nonatomic, strong, readonly) MASConstraint *leftMargin;\n@property (nonatomic, strong, readonly) MASConstraint *rightMargin;\n@property (nonatomic, strong, readonly) MASConstraint *topMargin;\n@property (nonatomic, strong, readonly) MASConstraint *bottomMargin;\n@property (nonatomic, strong, readonly) MASConstraint *leadingMargin;\n@property (nonatomic, strong, readonly) MASConstraint *trailingMargin;\n@property (nonatomic, strong, readonly) MASConstraint *centerXWithinMargins;\n@property (nonatomic, strong, readonly) MASConstraint *centerYWithinMargins;\n\n#endif\n\n/**\n *  Returns a block which creates a new MASCompositeConstraint with the first item set\n *  to the makers associated view and children corresponding to the set bits in the\n *  MASAttribute parameter. Combine multiple attributes via binary-or.\n */\n@property (nonatomic, strong, readonly) MASConstraint *(^attributes)(MASAttribute attrs);\n\n/**\n *\tCreates a MASCompositeConstraint with type MASCompositeConstraintTypeEdges\n *  which generates the appropriate MASViewConstraint children (top, left, bottom, right)\n *  with the first item set to the makers associated view\n */\n@property (nonatomic, strong, readonly) MASConstraint *edges;\n\n/**\n *\tCreates a MASCompositeConstraint with type MASCompositeConstraintTypeSize\n *  which generates the appropriate MASViewConstraint children (width, height)\n *  with the first item set to the makers associated view\n */\n@property (nonatomic, strong, readonly) MASConstraint *size;\n\n/**\n *\tCreates a MASCompositeConstraint with type MASCompositeConstraintTypeCenter\n *  which generates the appropriate MASViewConstraint children (centerX, centerY)\n *  with the first item set to the makers associated view\n */\n@property (nonatomic, strong, readonly) MASConstraint *center;\n\n/**\n *  Whether or not to check for an existing constraint instead of adding constraint\n */\n@property (nonatomic, assign) BOOL updateExisting;\n\n/**\n *  Whether or not to remove existing constraints prior to installing\n */\n@property (nonatomic, assign) BOOL removeExisting;\n\n/**\n *\tinitialises the maker with a default view\n *\n *\t@param\tview\tany MASConstraint are created with this view as the first item\n *\n *\t@return\ta new MASConstraintMaker\n */\n- (id)initWithView:(MAS_VIEW *)view;\n\n/**\n *\tCalls install method on any MASConstraints which have been created by this maker\n *\n *\t@return\tan array of all the installed MASConstraints\n */\n- (NSArray *)install;\n\n- (MASConstraint * (^)(dispatch_block_t))group;\n\n@end\n"
  },
  {
    "path": "CKMeiTuanShopView/Pods/Masonry/Masonry/MASConstraintMaker.m",
    "content": "//\n//  MASConstraintMaker.m\n//  Masonry\n//\n//  Created by Jonas Budelmann on 20/07/13.\n//  Copyright (c) 2013 cloudling. All rights reserved.\n//\n\n#import \"MASConstraintMaker.h\"\n#import \"MASViewConstraint.h\"\n#import \"MASCompositeConstraint.h\"\n#import \"MASConstraint+Private.h\"\n#import \"MASViewAttribute.h\"\n#import \"View+MASAdditions.h\"\n\n@interface MASConstraintMaker () <MASConstraintDelegate>\n\n@property (nonatomic, weak) MAS_VIEW *view;\n@property (nonatomic, strong) NSMutableArray *constraints;\n\n@end\n\n@implementation MASConstraintMaker\n\n- (id)initWithView:(MAS_VIEW *)view {\n    self = [super init];\n    if (!self) return nil;\n    \n    self.view = view;\n    self.constraints = NSMutableArray.new;\n    \n    return self;\n}\n\n- (NSArray *)install {\n    if (self.removeExisting) {\n        NSArray *installedConstraints = [MASViewConstraint installedConstraintsForView:self.view];\n        for (MASConstraint *constraint in installedConstraints) {\n            [constraint uninstall];\n        }\n    }\n    NSArray *constraints = self.constraints.copy;\n    for (MASConstraint *constraint in constraints) {\n        constraint.updateExisting = self.updateExisting;\n        [constraint install];\n    }\n    [self.constraints removeAllObjects];\n    return constraints;\n}\n\n#pragma mark - MASConstraintDelegate\n\n- (void)constraint:(MASConstraint *)constraint shouldBeReplacedWithConstraint:(MASConstraint *)replacementConstraint {\n    NSUInteger index = [self.constraints indexOfObject:constraint];\n    NSAssert(index != NSNotFound, @\"Could not find constraint %@\", constraint);\n    [self.constraints replaceObjectAtIndex:index withObject:replacementConstraint];\n}\n\n- (MASConstraint *)constraint:(MASConstraint *)constraint addConstraintWithLayoutAttribute:(NSLayoutAttribute)layoutAttribute {\n    MASViewAttribute *viewAttribute = [[MASViewAttribute alloc] initWithView:self.view layoutAttribute:layoutAttribute];\n    MASViewConstraint *newConstraint = [[MASViewConstraint alloc] initWithFirstViewAttribute:viewAttribute];\n    if ([constraint isKindOfClass:MASViewConstraint.class]) {\n        //replace with composite constraint\n        NSArray *children = @[constraint, newConstraint];\n        MASCompositeConstraint *compositeConstraint = [[MASCompositeConstraint alloc] initWithChildren:children];\n        compositeConstraint.delegate = self;\n        [self constraint:constraint shouldBeReplacedWithConstraint:compositeConstraint];\n        return compositeConstraint;\n    }\n    if (!constraint) {\n        newConstraint.delegate = self;\n        [self.constraints addObject:newConstraint];\n    }\n    return newConstraint;\n}\n\n- (MASConstraint *)addConstraintWithAttributes:(MASAttribute)attrs {\n    __unused MASAttribute anyAttribute = (MASAttributeLeft | MASAttributeRight | MASAttributeTop | MASAttributeBottom | MASAttributeLeading\n                                          | MASAttributeTrailing | MASAttributeWidth | MASAttributeHeight | MASAttributeCenterX\n                                          | MASAttributeCenterY | MASAttributeBaseline\n#if (__IPHONE_OS_VERSION_MIN_REQUIRED >= 80000) || (__TV_OS_VERSION_MIN_REQUIRED >= 9000) || (__MAC_OS_X_VERSION_MIN_REQUIRED >= 101100)\n                                          | MASAttributeFirstBaseline | MASAttributeLastBaseline\n#endif\n#if (__IPHONE_OS_VERSION_MIN_REQUIRED >= 80000) || (__TV_OS_VERSION_MIN_REQUIRED >= 9000)\n                                          | MASAttributeLeftMargin | MASAttributeRightMargin | MASAttributeTopMargin | MASAttributeBottomMargin\n                                          | MASAttributeLeadingMargin | MASAttributeTrailingMargin | MASAttributeCenterXWithinMargins\n                                          | MASAttributeCenterYWithinMargins\n#endif\n                                          );\n    \n    NSAssert((attrs & anyAttribute) != 0, @\"You didn't pass any attribute to make.attributes(...)\");\n    \n    NSMutableArray *attributes = [NSMutableArray array];\n    \n    if (attrs & MASAttributeLeft) [attributes addObject:self.view.mas_left];\n    if (attrs & MASAttributeRight) [attributes addObject:self.view.mas_right];\n    if (attrs & MASAttributeTop) [attributes addObject:self.view.mas_top];\n    if (attrs & MASAttributeBottom) [attributes addObject:self.view.mas_bottom];\n    if (attrs & MASAttributeLeading) [attributes addObject:self.view.mas_leading];\n    if (attrs & MASAttributeTrailing) [attributes addObject:self.view.mas_trailing];\n    if (attrs & MASAttributeWidth) [attributes addObject:self.view.mas_width];\n    if (attrs & MASAttributeHeight) [attributes addObject:self.view.mas_height];\n    if (attrs & MASAttributeCenterX) [attributes addObject:self.view.mas_centerX];\n    if (attrs & MASAttributeCenterY) [attributes addObject:self.view.mas_centerY];\n    if (attrs & MASAttributeBaseline) [attributes addObject:self.view.mas_baseline];\n    \n#if (__IPHONE_OS_VERSION_MIN_REQUIRED >= 80000) || (__TV_OS_VERSION_MIN_REQUIRED >= 9000) || (__MAC_OS_X_VERSION_MIN_REQUIRED >= 101100)\n    \n    if (attrs & MASAttributeFirstBaseline) [attributes addObject:self.view.mas_firstBaseline];\n    if (attrs & MASAttributeLastBaseline) [attributes addObject:self.view.mas_lastBaseline];\n    \n#endif\n    \n#if (__IPHONE_OS_VERSION_MIN_REQUIRED >= 80000) || (__TV_OS_VERSION_MIN_REQUIRED >= 9000)\n    \n    if (attrs & MASAttributeLeftMargin) [attributes addObject:self.view.mas_leftMargin];\n    if (attrs & MASAttributeRightMargin) [attributes addObject:self.view.mas_rightMargin];\n    if (attrs & MASAttributeTopMargin) [attributes addObject:self.view.mas_topMargin];\n    if (attrs & MASAttributeBottomMargin) [attributes addObject:self.view.mas_bottomMargin];\n    if (attrs & MASAttributeLeadingMargin) [attributes addObject:self.view.mas_leadingMargin];\n    if (attrs & MASAttributeTrailingMargin) [attributes addObject:self.view.mas_trailingMargin];\n    if (attrs & MASAttributeCenterXWithinMargins) [attributes addObject:self.view.mas_centerXWithinMargins];\n    if (attrs & MASAttributeCenterYWithinMargins) [attributes addObject:self.view.mas_centerYWithinMargins];\n    \n#endif\n    \n    NSMutableArray *children = [NSMutableArray arrayWithCapacity:attributes.count];\n    \n    for (MASViewAttribute *a in attributes) {\n        [children addObject:[[MASViewConstraint alloc] initWithFirstViewAttribute:a]];\n    }\n    \n    MASCompositeConstraint *constraint = [[MASCompositeConstraint alloc] initWithChildren:children];\n    constraint.delegate = self;\n    [self.constraints addObject:constraint];\n    return constraint;\n}\n\n#pragma mark - standard Attributes\n\n- (MASConstraint *)addConstraintWithLayoutAttribute:(NSLayoutAttribute)layoutAttribute {\n    return [self constraint:nil addConstraintWithLayoutAttribute:layoutAttribute];\n}\n\n- (MASConstraint *)left {\n    return [self addConstraintWithLayoutAttribute:NSLayoutAttributeLeft];\n}\n\n- (MASConstraint *)top {\n    return [self addConstraintWithLayoutAttribute:NSLayoutAttributeTop];\n}\n\n- (MASConstraint *)right {\n    return [self addConstraintWithLayoutAttribute:NSLayoutAttributeRight];\n}\n\n- (MASConstraint *)bottom {\n    return [self addConstraintWithLayoutAttribute:NSLayoutAttributeBottom];\n}\n\n- (MASConstraint *)leading {\n    return [self addConstraintWithLayoutAttribute:NSLayoutAttributeLeading];\n}\n\n- (MASConstraint *)trailing {\n    return [self addConstraintWithLayoutAttribute:NSLayoutAttributeTrailing];\n}\n\n- (MASConstraint *)width {\n    return [self addConstraintWithLayoutAttribute:NSLayoutAttributeWidth];\n}\n\n- (MASConstraint *)height {\n    return [self addConstraintWithLayoutAttribute:NSLayoutAttributeHeight];\n}\n\n- (MASConstraint *)centerX {\n    return [self addConstraintWithLayoutAttribute:NSLayoutAttributeCenterX];\n}\n\n- (MASConstraint *)centerY {\n    return [self addConstraintWithLayoutAttribute:NSLayoutAttributeCenterY];\n}\n\n- (MASConstraint *)baseline {\n    return [self addConstraintWithLayoutAttribute:NSLayoutAttributeBaseline];\n}\n\n- (MASConstraint *(^)(MASAttribute))attributes {\n    return ^(MASAttribute attrs){\n        return [self addConstraintWithAttributes:attrs];\n    };\n}\n\n#if (__IPHONE_OS_VERSION_MIN_REQUIRED >= 80000) || (__TV_OS_VERSION_MIN_REQUIRED >= 9000) || (__MAC_OS_X_VERSION_MIN_REQUIRED >= 101100)\n\n- (MASConstraint *)firstBaseline {\n    return [self addConstraintWithLayoutAttribute:NSLayoutAttributeFirstBaseline];\n}\n\n- (MASConstraint *)lastBaseline {\n    return [self addConstraintWithLayoutAttribute:NSLayoutAttributeLastBaseline];\n}\n\n#endif\n\n\n#if (__IPHONE_OS_VERSION_MIN_REQUIRED >= 80000) || (__TV_OS_VERSION_MIN_REQUIRED >= 9000)\n\n- (MASConstraint *)leftMargin {\n    return [self addConstraintWithLayoutAttribute:NSLayoutAttributeLeftMargin];\n}\n\n- (MASConstraint *)rightMargin {\n    return [self addConstraintWithLayoutAttribute:NSLayoutAttributeRightMargin];\n}\n\n- (MASConstraint *)topMargin {\n    return [self addConstraintWithLayoutAttribute:NSLayoutAttributeTopMargin];\n}\n\n- (MASConstraint *)bottomMargin {\n    return [self addConstraintWithLayoutAttribute:NSLayoutAttributeBottomMargin];\n}\n\n- (MASConstraint *)leadingMargin {\n    return [self addConstraintWithLayoutAttribute:NSLayoutAttributeLeadingMargin];\n}\n\n- (MASConstraint *)trailingMargin {\n    return [self addConstraintWithLayoutAttribute:NSLayoutAttributeTrailingMargin];\n}\n\n- (MASConstraint *)centerXWithinMargins {\n    return [self addConstraintWithLayoutAttribute:NSLayoutAttributeCenterXWithinMargins];\n}\n\n- (MASConstraint *)centerYWithinMargins {\n    return [self addConstraintWithLayoutAttribute:NSLayoutAttributeCenterYWithinMargins];\n}\n\n#endif\n\n\n#pragma mark - composite Attributes\n\n- (MASConstraint *)edges {\n    return [self addConstraintWithAttributes:MASAttributeTop | MASAttributeLeft | MASAttributeRight | MASAttributeBottom];\n}\n\n- (MASConstraint *)size {\n    return [self addConstraintWithAttributes:MASAttributeWidth | MASAttributeHeight];\n}\n\n- (MASConstraint *)center {\n    return [self addConstraintWithAttributes:MASAttributeCenterX | MASAttributeCenterY];\n}\n\n#pragma mark - grouping\n\n- (MASConstraint *(^)(dispatch_block_t group))group {\n    return ^id(dispatch_block_t group) {\n        NSInteger previousCount = self.constraints.count;\n        group();\n\n        NSArray *children = [self.constraints subarrayWithRange:NSMakeRange(previousCount, self.constraints.count - previousCount)];\n        MASCompositeConstraint *constraint = [[MASCompositeConstraint alloc] initWithChildren:children];\n        constraint.delegate = self;\n        return constraint;\n    };\n}\n\n@end\n"
  },
  {
    "path": "CKMeiTuanShopView/Pods/Masonry/Masonry/MASLayoutConstraint.h",
    "content": "//\n//  MASLayoutConstraint.h\n//  Masonry\n//\n//  Created by Jonas Budelmann on 3/08/13.\n//  Copyright (c) 2013 Jonas Budelmann. All rights reserved.\n//\n\n#import \"MASUtilities.h\"\n\n/**\n *\tWhen you are debugging or printing the constraints attached to a view this subclass\n *  makes it easier to identify which constraints have been created via Masonry\n */\n@interface MASLayoutConstraint : NSLayoutConstraint\n\n/**\n *\ta key to associate with this constraint\n */\n@property (nonatomic, strong) id mas_key;\n\n@end\n"
  },
  {
    "path": "CKMeiTuanShopView/Pods/Masonry/Masonry/MASLayoutConstraint.m",
    "content": "//\n//  MASLayoutConstraint.m\n//  Masonry\n//\n//  Created by Jonas Budelmann on 3/08/13.\n//  Copyright (c) 2013 Jonas Budelmann. All rights reserved.\n//\n\n#import \"MASLayoutConstraint.h\"\n\n@implementation MASLayoutConstraint\n\n@end\n"
  },
  {
    "path": "CKMeiTuanShopView/Pods/Masonry/Masonry/MASUtilities.h",
    "content": "//\n//  MASUtilities.h\n//  Masonry\n//\n//  Created by Jonas Budelmann on 19/08/13.\n//  Copyright (c) 2013 Jonas Budelmann. All rights reserved.\n//\n\n#import <Foundation/Foundation.h>\n\n\n\n#if TARGET_OS_IPHONE || TARGET_OS_TV\n\n    #import <UIKit/UIKit.h>\n    #define MAS_VIEW UIView\n    #define MAS_VIEW_CONTROLLER UIViewController\n    #define MASEdgeInsets UIEdgeInsets\n\n    typedef UILayoutPriority MASLayoutPriority;\n    static const MASLayoutPriority MASLayoutPriorityRequired = UILayoutPriorityRequired;\n    static const MASLayoutPriority MASLayoutPriorityDefaultHigh = UILayoutPriorityDefaultHigh;\n    static const MASLayoutPriority MASLayoutPriorityDefaultMedium = 500;\n    static const MASLayoutPriority MASLayoutPriorityDefaultLow = UILayoutPriorityDefaultLow;\n    static const MASLayoutPriority MASLayoutPriorityFittingSizeLevel = UILayoutPriorityFittingSizeLevel;\n\n#elif TARGET_OS_MAC\n\n    #import <AppKit/AppKit.h>\n    #define MAS_VIEW NSView\n    #define MASEdgeInsets NSEdgeInsets\n\n    typedef NSLayoutPriority MASLayoutPriority;\n    static const MASLayoutPriority MASLayoutPriorityRequired = NSLayoutPriorityRequired;\n    static const MASLayoutPriority MASLayoutPriorityDefaultHigh = NSLayoutPriorityDefaultHigh;\n    static const MASLayoutPriority MASLayoutPriorityDragThatCanResizeWindow = NSLayoutPriorityDragThatCanResizeWindow;\n    static const MASLayoutPriority MASLayoutPriorityDefaultMedium = 501;\n    static const MASLayoutPriority MASLayoutPriorityWindowSizeStayPut = NSLayoutPriorityWindowSizeStayPut;\n    static const MASLayoutPriority MASLayoutPriorityDragThatCannotResizeWindow = NSLayoutPriorityDragThatCannotResizeWindow;\n    static const MASLayoutPriority MASLayoutPriorityDefaultLow = NSLayoutPriorityDefaultLow;\n    static const MASLayoutPriority MASLayoutPriorityFittingSizeCompression = NSLayoutPriorityFittingSizeCompression;\n\n#endif\n\n/**\n *\tAllows you to attach keys to objects matching the variable names passed.\n *\n *  view1.mas_key = @\"view1\", view2.mas_key = @\"view2\";\n *\n *  is equivalent to:\n *\n *  MASAttachKeys(view1, view2);\n */\n#define MASAttachKeys(...)                                                        \\\n    {                                                                             \\\n        NSDictionary *keyPairs = NSDictionaryOfVariableBindings(__VA_ARGS__);     \\\n        for (id key in keyPairs.allKeys) {                                        \\\n            id obj = keyPairs[key];                                               \\\n            NSAssert([obj respondsToSelector:@selector(setMas_key:)],             \\\n                     @\"Cannot attach mas_key to %@\", obj);                        \\\n            [obj setMas_key:key];                                                 \\\n        }                                                                         \\\n    }\n\n/**\n *  Used to create object hashes\n *  Based on http://www.mikeash.com/pyblog/friday-qa-2010-06-18-implementing-equality-and-hashing.html\n */\n#define MAS_NSUINT_BIT (CHAR_BIT * sizeof(NSUInteger))\n#define MAS_NSUINTROTATE(val, howmuch) ((((NSUInteger)val) << howmuch) | (((NSUInteger)val) >> (MAS_NSUINT_BIT - howmuch)))\n\n/**\n *  Given a scalar or struct value, wraps it in NSValue\n *  Based on EXPObjectify: https://github.com/specta/expecta\n */\nstatic inline id _MASBoxValue(const char *type, ...) {\n    va_list v;\n    va_start(v, type);\n    id obj = nil;\n    if (strcmp(type, @encode(id)) == 0) {\n        id actual = va_arg(v, id);\n        obj = actual;\n    } else if (strcmp(type, @encode(CGPoint)) == 0) {\n        CGPoint actual = (CGPoint)va_arg(v, CGPoint);\n        obj = [NSValue value:&actual withObjCType:type];\n    } else if (strcmp(type, @encode(CGSize)) == 0) {\n        CGSize actual = (CGSize)va_arg(v, CGSize);\n        obj = [NSValue value:&actual withObjCType:type];\n    } else if (strcmp(type, @encode(MASEdgeInsets)) == 0) {\n        MASEdgeInsets actual = (MASEdgeInsets)va_arg(v, MASEdgeInsets);\n        obj = [NSValue value:&actual withObjCType:type];\n    } else if (strcmp(type, @encode(double)) == 0) {\n        double actual = (double)va_arg(v, double);\n        obj = [NSNumber numberWithDouble:actual];\n    } else if (strcmp(type, @encode(float)) == 0) {\n        float actual = (float)va_arg(v, double);\n        obj = [NSNumber numberWithFloat:actual];\n    } else if (strcmp(type, @encode(int)) == 0) {\n        int actual = (int)va_arg(v, int);\n        obj = [NSNumber numberWithInt:actual];\n    } else if (strcmp(type, @encode(long)) == 0) {\n        long actual = (long)va_arg(v, long);\n        obj = [NSNumber numberWithLong:actual];\n    } else if (strcmp(type, @encode(long long)) == 0) {\n        long long actual = (long long)va_arg(v, long long);\n        obj = [NSNumber numberWithLongLong:actual];\n    } else if (strcmp(type, @encode(short)) == 0) {\n        short actual = (short)va_arg(v, int);\n        obj = [NSNumber numberWithShort:actual];\n    } else if (strcmp(type, @encode(char)) == 0) {\n        char actual = (char)va_arg(v, int);\n        obj = [NSNumber numberWithChar:actual];\n    } else if (strcmp(type, @encode(bool)) == 0) {\n        bool actual = (bool)va_arg(v, int);\n        obj = [NSNumber numberWithBool:actual];\n    } else if (strcmp(type, @encode(unsigned char)) == 0) {\n        unsigned char actual = (unsigned char)va_arg(v, unsigned int);\n        obj = [NSNumber numberWithUnsignedChar:actual];\n    } else if (strcmp(type, @encode(unsigned int)) == 0) {\n        unsigned int actual = (unsigned int)va_arg(v, unsigned int);\n        obj = [NSNumber numberWithUnsignedInt:actual];\n    } else if (strcmp(type, @encode(unsigned long)) == 0) {\n        unsigned long actual = (unsigned long)va_arg(v, unsigned long);\n        obj = [NSNumber numberWithUnsignedLong:actual];\n    } else if (strcmp(type, @encode(unsigned long long)) == 0) {\n        unsigned long long actual = (unsigned long long)va_arg(v, unsigned long long);\n        obj = [NSNumber numberWithUnsignedLongLong:actual];\n    } else if (strcmp(type, @encode(unsigned short)) == 0) {\n        unsigned short actual = (unsigned short)va_arg(v, unsigned int);\n        obj = [NSNumber numberWithUnsignedShort:actual];\n    }\n    va_end(v);\n    return obj;\n}\n\n#define MASBoxValue(value) _MASBoxValue(@encode(__typeof__((value))), (value))\n"
  },
  {
    "path": "CKMeiTuanShopView/Pods/Masonry/Masonry/MASViewAttribute.h",
    "content": "//\n//  MASViewAttribute.h\n//  Masonry\n//\n//  Created by Jonas Budelmann on 21/07/13.\n//  Copyright (c) 2013 cloudling. All rights reserved.\n//\n\n#import \"MASUtilities.h\"\n\n/**\n *  An immutable tuple which stores the view and the related NSLayoutAttribute.\n *  Describes part of either the left or right hand side of a constraint equation\n */\n@interface MASViewAttribute : NSObject\n\n/**\n *  The view which the reciever relates to. Can be nil if item is not a view.\n */\n@property (nonatomic, weak, readonly) MAS_VIEW *view;\n\n/**\n *  The item which the reciever relates to.\n */\n@property (nonatomic, weak, readonly) id item;\n\n/**\n *  The attribute which the reciever relates to\n */\n@property (nonatomic, assign, readonly) NSLayoutAttribute layoutAttribute;\n\n/**\n *  Convenience initializer.\n */\n- (id)initWithView:(MAS_VIEW *)view layoutAttribute:(NSLayoutAttribute)layoutAttribute;\n\n/**\n *  The designated initializer.\n */\n- (id)initWithView:(MAS_VIEW *)view item:(id)item layoutAttribute:(NSLayoutAttribute)layoutAttribute;\n\n/**\n *\tDetermine whether the layoutAttribute is a size attribute\n *\n *\t@return\tYES if layoutAttribute is equal to NSLayoutAttributeWidth or NSLayoutAttributeHeight\n */\n- (BOOL)isSizeAttribute;\n\n@end\n"
  },
  {
    "path": "CKMeiTuanShopView/Pods/Masonry/Masonry/MASViewAttribute.m",
    "content": "//\n//  MASViewAttribute.m\n//  Masonry\n//\n//  Created by Jonas Budelmann on 21/07/13.\n//  Copyright (c) 2013 cloudling. All rights reserved.\n//\n\n#import \"MASViewAttribute.h\"\n\n@implementation MASViewAttribute\n\n- (id)initWithView:(MAS_VIEW *)view layoutAttribute:(NSLayoutAttribute)layoutAttribute {\n    self = [self initWithView:view item:view layoutAttribute:layoutAttribute];\n    return self;\n}\n\n- (id)initWithView:(MAS_VIEW *)view item:(id)item layoutAttribute:(NSLayoutAttribute)layoutAttribute {\n    self = [super init];\n    if (!self) return nil;\n    \n    _view = view;\n    _item = item;\n    _layoutAttribute = layoutAttribute;\n    \n    return self;\n}\n\n- (BOOL)isSizeAttribute {\n    return self.layoutAttribute == NSLayoutAttributeWidth\n        || self.layoutAttribute == NSLayoutAttributeHeight;\n}\n\n- (BOOL)isEqual:(MASViewAttribute *)viewAttribute {\n    if ([viewAttribute isKindOfClass:self.class]) {\n        return self.view == viewAttribute.view\n            && self.layoutAttribute == viewAttribute.layoutAttribute;\n    }\n    return [super isEqual:viewAttribute];\n}\n\n- (NSUInteger)hash {\n    return MAS_NSUINTROTATE([self.view hash], MAS_NSUINT_BIT / 2) ^ self.layoutAttribute;\n}\n\n@end\n"
  },
  {
    "path": "CKMeiTuanShopView/Pods/Masonry/Masonry/MASViewConstraint.h",
    "content": "//\n//  MASViewConstraint.h\n//  Masonry\n//\n//  Created by Jonas Budelmann on 20/07/13.\n//  Copyright (c) 2013 cloudling. All rights reserved.\n//\n\n#import \"MASViewAttribute.h\"\n#import \"MASConstraint.h\"\n#import \"MASLayoutConstraint.h\"\n#import \"MASUtilities.h\"\n\n/**\n *  A single constraint.\n *  Contains the attributes neccessary for creating a NSLayoutConstraint and adding it to the appropriate view\n */\n@interface MASViewConstraint : MASConstraint <NSCopying>\n\n/**\n *\tFirst item/view and first attribute of the NSLayoutConstraint\n */\n@property (nonatomic, strong, readonly) MASViewAttribute *firstViewAttribute;\n\n/**\n *\tSecond item/view and second attribute of the NSLayoutConstraint\n */\n@property (nonatomic, strong, readonly) MASViewAttribute *secondViewAttribute;\n\n/**\n *\tinitialises the MASViewConstraint with the first part of the equation\n *\n *\t@param\tfirstViewAttribute\tview.mas_left, view.mas_width etc.\n *\n *\t@return\ta new view constraint\n */\n- (id)initWithFirstViewAttribute:(MASViewAttribute *)firstViewAttribute;\n\n/**\n *  Returns all MASViewConstraints installed with this view as a first item.\n *\n *  @param  view  A view to retrieve constraints for.\n *\n *  @return An array of MASViewConstraints.\n */\n+ (NSArray *)installedConstraintsForView:(MAS_VIEW *)view;\n\n@end\n"
  },
  {
    "path": "CKMeiTuanShopView/Pods/Masonry/Masonry/MASViewConstraint.m",
    "content": "//\n//  MASViewConstraint.m\n//  Masonry\n//\n//  Created by Jonas Budelmann on 20/07/13.\n//  Copyright (c) 2013 cloudling. All rights reserved.\n//\n\n#import \"MASViewConstraint.h\"\n#import \"MASConstraint+Private.h\"\n#import \"MASCompositeConstraint.h\"\n#import \"MASLayoutConstraint.h\"\n#import \"View+MASAdditions.h\"\n#import <objc/runtime.h>\n\n@interface MAS_VIEW (MASConstraints)\n\n@property (nonatomic, readonly) NSMutableSet *mas_installedConstraints;\n\n@end\n\n@implementation MAS_VIEW (MASConstraints)\n\nstatic char kInstalledConstraintsKey;\n\n- (NSMutableSet *)mas_installedConstraints {\n    NSMutableSet *constraints = objc_getAssociatedObject(self, &kInstalledConstraintsKey);\n    if (!constraints) {\n        constraints = [NSMutableSet set];\n        objc_setAssociatedObject(self, &kInstalledConstraintsKey, constraints, OBJC_ASSOCIATION_RETAIN_NONATOMIC);\n    }\n    return constraints;\n}\n\n@end\n\n\n@interface MASViewConstraint ()\n\n@property (nonatomic, strong, readwrite) MASViewAttribute *secondViewAttribute;\n@property (nonatomic, weak) MAS_VIEW *installedView;\n@property (nonatomic, weak) MASLayoutConstraint *layoutConstraint;\n@property (nonatomic, assign) NSLayoutRelation layoutRelation;\n@property (nonatomic, assign) MASLayoutPriority layoutPriority;\n@property (nonatomic, assign) CGFloat layoutMultiplier;\n@property (nonatomic, assign) CGFloat layoutConstant;\n@property (nonatomic, assign) BOOL hasLayoutRelation;\n@property (nonatomic, strong) id mas_key;\n@property (nonatomic, assign) BOOL useAnimator;\n\n@end\n\n@implementation MASViewConstraint\n\n- (id)initWithFirstViewAttribute:(MASViewAttribute *)firstViewAttribute {\n    self = [super init];\n    if (!self) return nil;\n    \n    _firstViewAttribute = firstViewAttribute;\n    self.layoutPriority = MASLayoutPriorityRequired;\n    self.layoutMultiplier = 1;\n    \n    return self;\n}\n\n#pragma mark - NSCoping\n\n- (id)copyWithZone:(NSZone __unused *)zone {\n    MASViewConstraint *constraint = [[MASViewConstraint alloc] initWithFirstViewAttribute:self.firstViewAttribute];\n    constraint.layoutConstant = self.layoutConstant;\n    constraint.layoutRelation = self.layoutRelation;\n    constraint.layoutPriority = self.layoutPriority;\n    constraint.layoutMultiplier = self.layoutMultiplier;\n    constraint.delegate = self.delegate;\n    return constraint;\n}\n\n#pragma mark - Public\n\n+ (NSArray *)installedConstraintsForView:(MAS_VIEW *)view {\n    return [view.mas_installedConstraints allObjects];\n}\n\n#pragma mark - Private\n\n- (void)setLayoutConstant:(CGFloat)layoutConstant {\n    _layoutConstant = layoutConstant;\n\n#if TARGET_OS_MAC && !(TARGET_OS_IPHONE || TARGET_OS_TV)\n    if (self.useAnimator) {\n        [self.layoutConstraint.animator setConstant:layoutConstant];\n    } else {\n        self.layoutConstraint.constant = layoutConstant;\n    }\n#else\n    self.layoutConstraint.constant = layoutConstant;\n#endif\n}\n\n- (void)setLayoutRelation:(NSLayoutRelation)layoutRelation {\n    _layoutRelation = layoutRelation;\n    self.hasLayoutRelation = YES;\n}\n\n- (BOOL)supportsActiveProperty {\n    return [self.layoutConstraint respondsToSelector:@selector(isActive)];\n}\n\n- (BOOL)isActive {\n    BOOL active = YES;\n    if ([self supportsActiveProperty]) {\n        active = [self.layoutConstraint isActive];\n    }\n\n    return active;\n}\n\n- (BOOL)hasBeenInstalled {\n    return (self.layoutConstraint != nil) && [self isActive];\n}\n\n- (void)setSecondViewAttribute:(id)secondViewAttribute {\n    if ([secondViewAttribute isKindOfClass:NSValue.class]) {\n        [self setLayoutConstantWithValue:secondViewAttribute];\n    } else if ([secondViewAttribute isKindOfClass:MAS_VIEW.class]) {\n        _secondViewAttribute = [[MASViewAttribute alloc] initWithView:secondViewAttribute layoutAttribute:self.firstViewAttribute.layoutAttribute];\n    } else if ([secondViewAttribute isKindOfClass:MASViewAttribute.class]) {\n        _secondViewAttribute = secondViewAttribute;\n    } else {\n        NSAssert(NO, @\"attempting to add unsupported attribute: %@\", secondViewAttribute);\n    }\n}\n\n#pragma mark - NSLayoutConstraint multiplier proxies\n\n- (MASConstraint * (^)(CGFloat))multipliedBy {\n    return ^id(CGFloat multiplier) {\n        NSAssert(!self.hasBeenInstalled,\n                 @\"Cannot modify constraint multiplier after it has been installed\");\n        \n        self.layoutMultiplier = multiplier;\n        return self;\n    };\n}\n\n\n- (MASConstraint * (^)(CGFloat))dividedBy {\n    return ^id(CGFloat divider) {\n        NSAssert(!self.hasBeenInstalled,\n                 @\"Cannot modify constraint multiplier after it has been installed\");\n\n        self.layoutMultiplier = 1.0/divider;\n        return self;\n    };\n}\n\n#pragma mark - MASLayoutPriority proxy\n\n- (MASConstraint * (^)(MASLayoutPriority))priority {\n    return ^id(MASLayoutPriority priority) {\n        NSAssert(!self.hasBeenInstalled,\n                 @\"Cannot modify constraint priority after it has been installed\");\n        \n        self.layoutPriority = priority;\n        return self;\n    };\n}\n\n#pragma mark - NSLayoutRelation proxy\n\n- (MASConstraint * (^)(id, NSLayoutRelation))equalToWithRelation {\n    return ^id(id attribute, NSLayoutRelation relation) {\n        if ([attribute isKindOfClass:NSArray.class]) {\n            NSAssert(!self.hasLayoutRelation, @\"Redefinition of constraint relation\");\n            NSMutableArray *children = NSMutableArray.new;\n            for (id attr in attribute) {\n                MASViewConstraint *viewConstraint = [self copy];\n                viewConstraint.layoutRelation = relation;\n                viewConstraint.secondViewAttribute = attr;\n                [children addObject:viewConstraint];\n            }\n            MASCompositeConstraint *compositeConstraint = [[MASCompositeConstraint alloc] initWithChildren:children];\n            compositeConstraint.delegate = self.delegate;\n            [self.delegate constraint:self shouldBeReplacedWithConstraint:compositeConstraint];\n            return compositeConstraint;\n        } else {\n            NSAssert(!self.hasLayoutRelation || self.layoutRelation == relation && [attribute isKindOfClass:NSValue.class], @\"Redefinition of constraint relation\");\n            self.layoutRelation = relation;\n            self.secondViewAttribute = attribute;\n            return self;\n        }\n    };\n}\n\n#pragma mark - Semantic properties\n\n- (MASConstraint *)with {\n    return self;\n}\n\n- (MASConstraint *)and {\n    return self;\n}\n\n#pragma mark - attribute chaining\n\n- (MASConstraint *)addConstraintWithLayoutAttribute:(NSLayoutAttribute)layoutAttribute {\n    NSAssert(!self.hasLayoutRelation, @\"Attributes should be chained before defining the constraint relation\");\n\n    return [self.delegate constraint:self addConstraintWithLayoutAttribute:layoutAttribute];\n}\n\n#pragma mark - Animator proxy\n\n#if TARGET_OS_MAC && !(TARGET_OS_IPHONE || TARGET_OS_TV)\n\n- (MASConstraint *)animator {\n    self.useAnimator = YES;\n    return self;\n}\n\n#endif\n\n#pragma mark - debug helpers\n\n- (MASConstraint * (^)(id))key {\n    return ^id(id key) {\n        self.mas_key = key;\n        return self;\n    };\n}\n\n#pragma mark - NSLayoutConstraint constant setters\n\n- (void)setInsets:(MASEdgeInsets)insets {\n    NSLayoutAttribute layoutAttribute = self.firstViewAttribute.layoutAttribute;\n    switch (layoutAttribute) {\n        case NSLayoutAttributeLeft:\n        case NSLayoutAttributeLeading:\n            self.layoutConstant = insets.left;\n            break;\n        case NSLayoutAttributeTop:\n            self.layoutConstant = insets.top;\n            break;\n        case NSLayoutAttributeBottom:\n            self.layoutConstant = -insets.bottom;\n            break;\n        case NSLayoutAttributeRight:\n        case NSLayoutAttributeTrailing:\n            self.layoutConstant = -insets.right;\n            break;\n        default:\n            break;\n    }\n}\n\n- (void)setInset:(CGFloat)inset {\n    [self setInsets:(MASEdgeInsets){.top = inset, .left = inset, .bottom = inset, .right = inset}];\n}\n\n- (void)setOffset:(CGFloat)offset {\n    self.layoutConstant = offset;\n}\n\n- (void)setSizeOffset:(CGSize)sizeOffset {\n    NSLayoutAttribute layoutAttribute = self.firstViewAttribute.layoutAttribute;\n    switch (layoutAttribute) {\n        case NSLayoutAttributeWidth:\n            self.layoutConstant = sizeOffset.width;\n            break;\n        case NSLayoutAttributeHeight:\n            self.layoutConstant = sizeOffset.height;\n            break;\n        default:\n            break;\n    }\n}\n\n- (void)setCenterOffset:(CGPoint)centerOffset {\n    NSLayoutAttribute layoutAttribute = self.firstViewAttribute.layoutAttribute;\n    switch (layoutAttribute) {\n        case NSLayoutAttributeCenterX:\n            self.layoutConstant = centerOffset.x;\n            break;\n        case NSLayoutAttributeCenterY:\n            self.layoutConstant = centerOffset.y;\n            break;\n        default:\n            break;\n    }\n}\n\n#pragma mark - MASConstraint\n\n- (void)activate {\n    [self install];\n}\n\n- (void)deactivate {\n    [self uninstall];\n}\n\n- (void)install {\n    if (self.hasBeenInstalled) {\n        return;\n    }\n    \n    if ([self supportsActiveProperty] && self.layoutConstraint) {\n        self.layoutConstraint.active = YES;\n        [self.firstViewAttribute.view.mas_installedConstraints addObject:self];\n        return;\n    }\n    \n    MAS_VIEW *firstLayoutItem = self.firstViewAttribute.item;\n    NSLayoutAttribute firstLayoutAttribute = self.firstViewAttribute.layoutAttribute;\n    MAS_VIEW *secondLayoutItem = self.secondViewAttribute.item;\n    NSLayoutAttribute secondLayoutAttribute = self.secondViewAttribute.layoutAttribute;\n\n    // alignment attributes must have a secondViewAttribute\n    // therefore we assume that is refering to superview\n    // eg make.left.equalTo(@10)\n    if (!self.firstViewAttribute.isSizeAttribute && !self.secondViewAttribute) {\n        secondLayoutItem = self.firstViewAttribute.view.superview;\n        secondLayoutAttribute = firstLayoutAttribute;\n    }\n    \n    MASLayoutConstraint *layoutConstraint\n        = [MASLayoutConstraint constraintWithItem:firstLayoutItem\n                                        attribute:firstLayoutAttribute\n                                        relatedBy:self.layoutRelation\n                                           toItem:secondLayoutItem\n                                        attribute:secondLayoutAttribute\n                                       multiplier:self.layoutMultiplier\n                                         constant:self.layoutConstant];\n    \n    layoutConstraint.priority = self.layoutPriority;\n    layoutConstraint.mas_key = self.mas_key;\n    \n    if (self.secondViewAttribute.view) {\n        MAS_VIEW *closestCommonSuperview = [self.firstViewAttribute.view mas_closestCommonSuperview:self.secondViewAttribute.view];\n        NSAssert(closestCommonSuperview,\n                 @\"couldn't find a common superview for %@ and %@\",\n                 self.firstViewAttribute.view, self.secondViewAttribute.view);\n        self.installedView = closestCommonSuperview;\n    } else if (self.firstViewAttribute.isSizeAttribute) {\n        self.installedView = self.firstViewAttribute.view;\n    } else {\n        self.installedView = self.firstViewAttribute.view.superview;\n    }\n\n\n    MASLayoutConstraint *existingConstraint = nil;\n    if (self.updateExisting) {\n        existingConstraint = [self layoutConstraintSimilarTo:layoutConstraint];\n    }\n    if (existingConstraint) {\n        // just update the constant\n        existingConstraint.constant = layoutConstraint.constant;\n        self.layoutConstraint = existingConstraint;\n    } else {\n        [self.installedView addConstraint:layoutConstraint];\n        self.layoutConstraint = layoutConstraint;\n        [firstLayoutItem.mas_installedConstraints addObject:self];\n    }\n}\n\n- (MASLayoutConstraint *)layoutConstraintSimilarTo:(MASLayoutConstraint *)layoutConstraint {\n    // check if any constraints are the same apart from the only mutable property constant\n\n    // go through constraints in reverse as we do not want to match auto-resizing or interface builder constraints\n    // and they are likely to be added first.\n    for (NSLayoutConstraint *existingConstraint in self.installedView.constraints.reverseObjectEnumerator) {\n        if (![existingConstraint isKindOfClass:MASLayoutConstraint.class]) continue;\n        if (existingConstraint.firstItem != layoutConstraint.firstItem) continue;\n        if (existingConstraint.secondItem != layoutConstraint.secondItem) continue;\n        if (existingConstraint.firstAttribute != layoutConstraint.firstAttribute) continue;\n        if (existingConstraint.secondAttribute != layoutConstraint.secondAttribute) continue;\n        if (existingConstraint.relation != layoutConstraint.relation) continue;\n        if (existingConstraint.multiplier != layoutConstraint.multiplier) continue;\n        if (existingConstraint.priority != layoutConstraint.priority) continue;\n\n        return (id)existingConstraint;\n    }\n    return nil;\n}\n\n- (void)uninstall {\n    if ([self supportsActiveProperty]) {\n        self.layoutConstraint.active = NO;\n        [self.firstViewAttribute.view.mas_installedConstraints removeObject:self];\n        return;\n    }\n    \n    [self.installedView removeConstraint:self.layoutConstraint];\n    self.layoutConstraint = nil;\n    self.installedView = nil;\n    \n    [self.firstViewAttribute.view.mas_installedConstraints removeObject:self];\n}\n\n@end\n"
  },
  {
    "path": "CKMeiTuanShopView/Pods/Masonry/Masonry/Masonry.h",
    "content": "//\n//  Masonry.h\n//  Masonry\n//\n//  Created by Jonas Budelmann on 20/07/13.\n//  Copyright (c) 2013 cloudling. All rights reserved.\n//\n\n#import <Foundation/Foundation.h>\n\n//! Project version number for Masonry.\nFOUNDATION_EXPORT double MasonryVersionNumber;\n\n//! Project version string for Masonry.\nFOUNDATION_EXPORT const unsigned char MasonryVersionString[];\n\n#import \"MASUtilities.h\"\n#import \"View+MASAdditions.h\"\n#import \"View+MASShorthandAdditions.h\"\n#import \"ViewController+MASAdditions.h\"\n#import \"NSArray+MASAdditions.h\"\n#import \"NSArray+MASShorthandAdditions.h\"\n#import \"MASConstraint.h\"\n#import \"MASCompositeConstraint.h\"\n#import \"MASViewAttribute.h\"\n#import \"MASViewConstraint.h\"\n#import \"MASConstraintMaker.h\"\n#import \"MASLayoutConstraint.h\"\n#import \"NSLayoutConstraint+MASDebugAdditions.h\"\n"
  },
  {
    "path": "CKMeiTuanShopView/Pods/Masonry/Masonry/NSArray+MASAdditions.h",
    "content": "//\n//  NSArray+MASAdditions.h\n//\n//\n//  Created by Daniel Hammond on 11/26/13.\n//\n//\n\n#import \"MASUtilities.h\"\n#import \"MASConstraintMaker.h\"\n#import \"MASViewAttribute.h\"\n\ntypedef NS_ENUM(NSUInteger, MASAxisType) {\n    MASAxisTypeHorizontal,\n    MASAxisTypeVertical\n};\n\n@interface NSArray (MASAdditions)\n\n/**\n *  Creates a MASConstraintMaker with each view in the callee.\n *  Any constraints defined are added to the view or the appropriate superview once the block has finished executing on each view\n *\n *  @param block scope within which you can build up the constraints which you wish to apply to each view.\n *\n *  @return Array of created MASConstraints\n */\n- (NSArray *)mas_makeConstraints:(void (NS_NOESCAPE ^)(MASConstraintMaker *make))block;\n\n/**\n *  Creates a MASConstraintMaker with each view in the callee.\n *  Any constraints defined are added to each view or the appropriate superview once the block has finished executing on each view.\n *  If an existing constraint exists then it will be updated instead.\n *\n *  @param block scope within which you can build up the constraints which you wish to apply to each view.\n *\n *  @return Array of created/updated MASConstraints\n */\n- (NSArray *)mas_updateConstraints:(void (NS_NOESCAPE ^)(MASConstraintMaker *make))block;\n\n/**\n *  Creates a MASConstraintMaker with each view in the callee.\n *  Any constraints defined are added to each view or the appropriate superview once the block has finished executing on each view.\n *  All constraints previously installed for the views will be removed.\n *\n *  @param block scope within which you can build up the constraints which you wish to apply to each view.\n *\n *  @return Array of created/updated MASConstraints\n */\n- (NSArray *)mas_remakeConstraints:(void (NS_NOESCAPE ^)(MASConstraintMaker *make))block;\n\n/**\n *  distribute with fixed spacing\n *\n *  @param axisType     which axis to distribute items along\n *  @param fixedSpacing the spacing between each item\n *  @param leadSpacing  the spacing before the first item and the container\n *  @param tailSpacing  the spacing after the last item and the container\n */\n- (void)mas_distributeViewsAlongAxis:(MASAxisType)axisType withFixedSpacing:(CGFloat)fixedSpacing leadSpacing:(CGFloat)leadSpacing tailSpacing:(CGFloat)tailSpacing;\n\n/**\n *  distribute with fixed item size\n *\n *  @param axisType        which axis to distribute items along\n *  @param fixedItemLength the fixed length of each item\n *  @param leadSpacing     the spacing before the first item and the container\n *  @param tailSpacing     the spacing after the last item and the container\n */\n- (void)mas_distributeViewsAlongAxis:(MASAxisType)axisType withFixedItemLength:(CGFloat)fixedItemLength leadSpacing:(CGFloat)leadSpacing tailSpacing:(CGFloat)tailSpacing;\n\n@end\n"
  },
  {
    "path": "CKMeiTuanShopView/Pods/Masonry/Masonry/NSArray+MASAdditions.m",
    "content": "//\n//  NSArray+MASAdditions.m\n//  \n//\n//  Created by Daniel Hammond on 11/26/13.\n//\n//\n\n#import \"NSArray+MASAdditions.h\"\n#import \"View+MASAdditions.h\"\n\n@implementation NSArray (MASAdditions)\n\n- (NSArray *)mas_makeConstraints:(void(^)(MASConstraintMaker *make))block {\n    NSMutableArray *constraints = [NSMutableArray array];\n    for (MAS_VIEW *view in self) {\n        NSAssert([view isKindOfClass:[MAS_VIEW class]], @\"All objects in the array must be views\");\n        [constraints addObjectsFromArray:[view mas_makeConstraints:block]];\n    }\n    return constraints;\n}\n\n- (NSArray *)mas_updateConstraints:(void(^)(MASConstraintMaker *make))block {\n    NSMutableArray *constraints = [NSMutableArray array];\n    for (MAS_VIEW *view in self) {\n        NSAssert([view isKindOfClass:[MAS_VIEW class]], @\"All objects in the array must be views\");\n        [constraints addObjectsFromArray:[view mas_updateConstraints:block]];\n    }\n    return constraints;\n}\n\n- (NSArray *)mas_remakeConstraints:(void(^)(MASConstraintMaker *make))block {\n    NSMutableArray *constraints = [NSMutableArray array];\n    for (MAS_VIEW *view in self) {\n        NSAssert([view isKindOfClass:[MAS_VIEW class]], @\"All objects in the array must be views\");\n        [constraints addObjectsFromArray:[view mas_remakeConstraints:block]];\n    }\n    return constraints;\n}\n\n- (void)mas_distributeViewsAlongAxis:(MASAxisType)axisType withFixedSpacing:(CGFloat)fixedSpacing leadSpacing:(CGFloat)leadSpacing tailSpacing:(CGFloat)tailSpacing {\n    if (self.count < 2) {\n        NSAssert(self.count>1,@\"views to distribute need to bigger than one\");\n        return;\n    }\n    \n    MAS_VIEW *tempSuperView = [self mas_commonSuperviewOfViews];\n    if (axisType == MASAxisTypeHorizontal) {\n        MAS_VIEW *prev;\n        for (int i = 0; i < self.count; i++) {\n            MAS_VIEW *v = self[i];\n            [v mas_makeConstraints:^(MASConstraintMaker *make) {\n                if (prev) {\n                    make.width.equalTo(prev);\n                    make.left.equalTo(prev.mas_right).offset(fixedSpacing);\n                    if (i == self.count - 1) {//last one\n                        make.right.equalTo(tempSuperView).offset(-tailSpacing);\n                    }\n                }\n                else {//first one\n                    make.left.equalTo(tempSuperView).offset(leadSpacing);\n                }\n                \n            }];\n            prev = v;\n        }\n    }\n    else {\n        MAS_VIEW *prev;\n        for (int i = 0; i < self.count; i++) {\n            MAS_VIEW *v = self[i];\n            [v mas_makeConstraints:^(MASConstraintMaker *make) {\n                if (prev) {\n                    make.height.equalTo(prev);\n                    make.top.equalTo(prev.mas_bottom).offset(fixedSpacing);\n                    if (i == self.count - 1) {//last one\n                        make.bottom.equalTo(tempSuperView).offset(-tailSpacing);\n                    }                    \n                }\n                else {//first one\n                    make.top.equalTo(tempSuperView).offset(leadSpacing);\n                }\n                \n            }];\n            prev = v;\n        }\n    }\n}\n\n- (void)mas_distributeViewsAlongAxis:(MASAxisType)axisType withFixedItemLength:(CGFloat)fixedItemLength leadSpacing:(CGFloat)leadSpacing tailSpacing:(CGFloat)tailSpacing {\n    if (self.count < 2) {\n        NSAssert(self.count>1,@\"views to distribute need to bigger than one\");\n        return;\n    }\n    \n    MAS_VIEW *tempSuperView = [self mas_commonSuperviewOfViews];\n    if (axisType == MASAxisTypeHorizontal) {\n        MAS_VIEW *prev;\n        for (int i = 0; i < self.count; i++) {\n            MAS_VIEW *v = self[i];\n            [v mas_makeConstraints:^(MASConstraintMaker *make) {\n                make.width.equalTo(@(fixedItemLength));\n                if (prev) {\n                    if (i == self.count - 1) {//last one\n                        make.right.equalTo(tempSuperView).offset(-tailSpacing);\n                    }\n                    else {\n                        CGFloat offset = (1-(i/((CGFloat)self.count-1)))*(fixedItemLength+leadSpacing)-i*tailSpacing/(((CGFloat)self.count-1));\n                        make.right.equalTo(tempSuperView).multipliedBy(i/((CGFloat)self.count-1)).with.offset(offset);\n                    }\n                }\n                else {//first one\n                    make.left.equalTo(tempSuperView).offset(leadSpacing);\n                }\n            }];\n            prev = v;\n        }\n    }\n    else {\n        MAS_VIEW *prev;\n        for (int i = 0; i < self.count; i++) {\n            MAS_VIEW *v = self[i];\n            [v mas_makeConstraints:^(MASConstraintMaker *make) {\n                make.height.equalTo(@(fixedItemLength));\n                if (prev) {\n                    if (i == self.count - 1) {//last one\n                        make.bottom.equalTo(tempSuperView).offset(-tailSpacing);\n                    }\n                    else {\n                        CGFloat offset = (1-(i/((CGFloat)self.count-1)))*(fixedItemLength+leadSpacing)-i*tailSpacing/(((CGFloat)self.count-1));\n                        make.bottom.equalTo(tempSuperView).multipliedBy(i/((CGFloat)self.count-1)).with.offset(offset);\n                    }\n                }\n                else {//first one\n                    make.top.equalTo(tempSuperView).offset(leadSpacing);\n                }\n            }];\n            prev = v;\n        }\n    }\n}\n\n- (MAS_VIEW *)mas_commonSuperviewOfViews\n{\n    MAS_VIEW *commonSuperview = nil;\n    MAS_VIEW *previousView = nil;\n    for (id object in self) {\n        if ([object isKindOfClass:[MAS_VIEW class]]) {\n            MAS_VIEW *view = (MAS_VIEW *)object;\n            if (previousView) {\n                commonSuperview = [view mas_closestCommonSuperview:commonSuperview];\n            } else {\n                commonSuperview = view;\n            }\n            previousView = view;\n        }\n    }\n    NSAssert(commonSuperview, @\"Can't constrain views that do not share a common superview. Make sure that all the views in this array have been added into the same view hierarchy.\");\n    return commonSuperview;\n}\n\n@end\n"
  },
  {
    "path": "CKMeiTuanShopView/Pods/Masonry/Masonry/NSArray+MASShorthandAdditions.h",
    "content": "//\n//  NSArray+MASShorthandAdditions.h\n//  Masonry\n//\n//  Created by Jonas Budelmann on 22/07/13.\n//  Copyright (c) 2013 Jonas Budelmann. All rights reserved.\n//\n\n#import \"NSArray+MASAdditions.h\"\n\n#ifdef MAS_SHORTHAND\n\n/**\n *\tShorthand array additions without the 'mas_' prefixes,\n *  only enabled if MAS_SHORTHAND is defined\n */\n@interface NSArray (MASShorthandAdditions)\n\n- (NSArray *)makeConstraints:(void(^)(MASConstraintMaker *make))block;\n- (NSArray *)updateConstraints:(void(^)(MASConstraintMaker *make))block;\n- (NSArray *)remakeConstraints:(void(^)(MASConstraintMaker *make))block;\n\n@end\n\n@implementation NSArray (MASShorthandAdditions)\n\n- (NSArray *)makeConstraints:(void(^)(MASConstraintMaker *))block {\n    return [self mas_makeConstraints:block];\n}\n\n- (NSArray *)updateConstraints:(void(^)(MASConstraintMaker *))block {\n    return [self mas_updateConstraints:block];\n}\n\n- (NSArray *)remakeConstraints:(void(^)(MASConstraintMaker *))block {\n    return [self mas_remakeConstraints:block];\n}\n\n@end\n\n#endif\n"
  },
  {
    "path": "CKMeiTuanShopView/Pods/Masonry/Masonry/NSLayoutConstraint+MASDebugAdditions.h",
    "content": "//\n//  NSLayoutConstraint+MASDebugAdditions.h\n//  Masonry\n//\n//  Created by Jonas Budelmann on 3/08/13.\n//  Copyright (c) 2013 Jonas Budelmann. All rights reserved.\n//\n\n#import \"MASUtilities.h\"\n\n/**\n *\tmakes debug and log output of NSLayoutConstraints more readable\n */\n@interface NSLayoutConstraint (MASDebugAdditions)\n\n@end\n"
  },
  {
    "path": "CKMeiTuanShopView/Pods/Masonry/Masonry/NSLayoutConstraint+MASDebugAdditions.m",
    "content": "//\n//  NSLayoutConstraint+MASDebugAdditions.m\n//  Masonry\n//\n//  Created by Jonas Budelmann on 3/08/13.\n//  Copyright (c) 2013 Jonas Budelmann. All rights reserved.\n//\n\n#import \"NSLayoutConstraint+MASDebugAdditions.h\"\n#import \"MASConstraint.h\"\n#import \"MASLayoutConstraint.h\"\n\n@implementation NSLayoutConstraint (MASDebugAdditions)\n\n#pragma mark - description maps\n\n+ (NSDictionary *)layoutRelationDescriptionsByValue {\n    static dispatch_once_t once;\n    static NSDictionary *descriptionMap;\n    dispatch_once(&once, ^{\n        descriptionMap = @{\n            @(NSLayoutRelationEqual)                : @\"==\",\n            @(NSLayoutRelationGreaterThanOrEqual)   : @\">=\",\n            @(NSLayoutRelationLessThanOrEqual)      : @\"<=\",\n        };\n    });\n    return descriptionMap;\n}\n\n+ (NSDictionary *)layoutAttributeDescriptionsByValue {\n    static dispatch_once_t once;\n    static NSDictionary *descriptionMap;\n    dispatch_once(&once, ^{\n        descriptionMap = @{\n            @(NSLayoutAttributeTop)      : @\"top\",\n            @(NSLayoutAttributeLeft)     : @\"left\",\n            @(NSLayoutAttributeBottom)   : @\"bottom\",\n            @(NSLayoutAttributeRight)    : @\"right\",\n            @(NSLayoutAttributeLeading)  : @\"leading\",\n            @(NSLayoutAttributeTrailing) : @\"trailing\",\n            @(NSLayoutAttributeWidth)    : @\"width\",\n            @(NSLayoutAttributeHeight)   : @\"height\",\n            @(NSLayoutAttributeCenterX)  : @\"centerX\",\n            @(NSLayoutAttributeCenterY)  : @\"centerY\",\n            @(NSLayoutAttributeBaseline) : @\"baseline\",\n            \n#if (__IPHONE_OS_VERSION_MIN_REQUIRED >= 80000) || (__TV_OS_VERSION_MIN_REQUIRED >= 9000) || (__MAC_OS_X_VERSION_MIN_REQUIRED >= 101100)\n            @(NSLayoutAttributeFirstBaseline) : @\"firstBaseline\",\n            @(NSLayoutAttributeLastBaseline) : @\"lastBaseline\",\n#endif\n            \n#if (__IPHONE_OS_VERSION_MIN_REQUIRED >= 80000) || (__TV_OS_VERSION_MIN_REQUIRED >= 9000)\n            @(NSLayoutAttributeLeftMargin)           : @\"leftMargin\",\n            @(NSLayoutAttributeRightMargin)          : @\"rightMargin\",\n            @(NSLayoutAttributeTopMargin)            : @\"topMargin\",\n            @(NSLayoutAttributeBottomMargin)         : @\"bottomMargin\",\n            @(NSLayoutAttributeLeadingMargin)        : @\"leadingMargin\",\n            @(NSLayoutAttributeTrailingMargin)       : @\"trailingMargin\",\n            @(NSLayoutAttributeCenterXWithinMargins) : @\"centerXWithinMargins\",\n            @(NSLayoutAttributeCenterYWithinMargins) : @\"centerYWithinMargins\",\n#endif\n            \n        };\n    \n    });\n    return descriptionMap;\n}\n\n\n+ (NSDictionary *)layoutPriorityDescriptionsByValue {\n    static dispatch_once_t once;\n    static NSDictionary *descriptionMap;\n    dispatch_once(&once, ^{\n#if TARGET_OS_IPHONE || TARGET_OS_TV\n        descriptionMap = @{\n            @(MASLayoutPriorityDefaultHigh)      : @\"high\",\n            @(MASLayoutPriorityDefaultLow)       : @\"low\",\n            @(MASLayoutPriorityDefaultMedium)    : @\"medium\",\n            @(MASLayoutPriorityRequired)         : @\"required\",\n            @(MASLayoutPriorityFittingSizeLevel) : @\"fitting size\",\n        };\n#elif TARGET_OS_MAC\n        descriptionMap = @{\n            @(MASLayoutPriorityDefaultHigh)                 : @\"high\",\n            @(MASLayoutPriorityDragThatCanResizeWindow)     : @\"drag can resize window\",\n            @(MASLayoutPriorityDefaultMedium)               : @\"medium\",\n            @(MASLayoutPriorityWindowSizeStayPut)           : @\"window size stay put\",\n            @(MASLayoutPriorityDragThatCannotResizeWindow)  : @\"drag cannot resize window\",\n            @(MASLayoutPriorityDefaultLow)                  : @\"low\",\n            @(MASLayoutPriorityFittingSizeCompression)      : @\"fitting size\",\n            @(MASLayoutPriorityRequired)                    : @\"required\",\n        };\n#endif\n    });\n    return descriptionMap;\n}\n\n#pragma mark - description override\n\n+ (NSString *)descriptionForObject:(id)obj {\n    if ([obj respondsToSelector:@selector(mas_key)] && [obj mas_key]) {\n        return [NSString stringWithFormat:@\"%@:%@\", [obj class], [obj mas_key]];\n    }\n    return [NSString stringWithFormat:@\"%@:%p\", [obj class], obj];\n}\n\n- (NSString *)description {\n    NSMutableString *description = [[NSMutableString alloc] initWithString:@\"<\"];\n\n    [description appendString:[self.class descriptionForObject:self]];\n\n    [description appendFormat:@\" %@\", [self.class descriptionForObject:self.firstItem]];\n    if (self.firstAttribute != NSLayoutAttributeNotAnAttribute) {\n        [description appendFormat:@\".%@\", self.class.layoutAttributeDescriptionsByValue[@(self.firstAttribute)]];\n    }\n\n    [description appendFormat:@\" %@\", self.class.layoutRelationDescriptionsByValue[@(self.relation)]];\n\n    if (self.secondItem) {\n        [description appendFormat:@\" %@\", [self.class descriptionForObject:self.secondItem]];\n    }\n    if (self.secondAttribute != NSLayoutAttributeNotAnAttribute) {\n        [description appendFormat:@\".%@\", self.class.layoutAttributeDescriptionsByValue[@(self.secondAttribute)]];\n    }\n    \n    if (self.multiplier != 1) {\n        [description appendFormat:@\" * %g\", self.multiplier];\n    }\n    \n    if (self.secondAttribute == NSLayoutAttributeNotAnAttribute) {\n        [description appendFormat:@\" %g\", self.constant];\n    } else {\n        if (self.constant) {\n            [description appendFormat:@\" %@ %g\", (self.constant < 0 ? @\"-\" : @\"+\"), ABS(self.constant)];\n        }\n    }\n\n    if (self.priority != MASLayoutPriorityRequired) {\n        [description appendFormat:@\" ^%@\", self.class.layoutPriorityDescriptionsByValue[@(self.priority)] ?: [NSNumber numberWithDouble:self.priority]];\n    }\n\n    [description appendString:@\">\"];\n    return description;\n}\n\n@end\n"
  },
  {
    "path": "CKMeiTuanShopView/Pods/Masonry/Masonry/View+MASAdditions.h",
    "content": "//\n//  UIView+MASAdditions.h\n//  Masonry\n//\n//  Created by Jonas Budelmann on 20/07/13.\n//  Copyright (c) 2013 cloudling. All rights reserved.\n//\n\n#import \"MASUtilities.h\"\n#import \"MASConstraintMaker.h\"\n#import \"MASViewAttribute.h\"\n\n/**\n *\tProvides constraint maker block\n *  and convience methods for creating MASViewAttribute which are view + NSLayoutAttribute pairs\n */\n@interface MAS_VIEW (MASAdditions)\n\n/**\n *\tfollowing properties return a new MASViewAttribute with current view and appropriate NSLayoutAttribute\n */\n@property (nonatomic, strong, readonly) MASViewAttribute *mas_left;\n@property (nonatomic, strong, readonly) MASViewAttribute *mas_top;\n@property (nonatomic, strong, readonly) MASViewAttribute *mas_right;\n@property (nonatomic, strong, readonly) MASViewAttribute *mas_bottom;\n@property (nonatomic, strong, readonly) MASViewAttribute *mas_leading;\n@property (nonatomic, strong, readonly) MASViewAttribute *mas_trailing;\n@property (nonatomic, strong, readonly) MASViewAttribute *mas_width;\n@property (nonatomic, strong, readonly) MASViewAttribute *mas_height;\n@property (nonatomic, strong, readonly) MASViewAttribute *mas_centerX;\n@property (nonatomic, strong, readonly) MASViewAttribute *mas_centerY;\n@property (nonatomic, strong, readonly) MASViewAttribute *mas_baseline;\n@property (nonatomic, strong, readonly) MASViewAttribute *(^mas_attribute)(NSLayoutAttribute attr);\n\n#if (__IPHONE_OS_VERSION_MIN_REQUIRED >= 80000) || (__TV_OS_VERSION_MIN_REQUIRED >= 9000) || (__MAC_OS_X_VERSION_MIN_REQUIRED >= 101100)\n\n@property (nonatomic, strong, readonly) MASViewAttribute *mas_firstBaseline;\n@property (nonatomic, strong, readonly) MASViewAttribute *mas_lastBaseline;\n\n#endif\n\n#if (__IPHONE_OS_VERSION_MIN_REQUIRED >= 80000) || (__TV_OS_VERSION_MIN_REQUIRED >= 9000)\n\n@property (nonatomic, strong, readonly) MASViewAttribute *mas_leftMargin;\n@property (nonatomic, strong, readonly) MASViewAttribute *mas_rightMargin;\n@property (nonatomic, strong, readonly) MASViewAttribute *mas_topMargin;\n@property (nonatomic, strong, readonly) MASViewAttribute *mas_bottomMargin;\n@property (nonatomic, strong, readonly) MASViewAttribute *mas_leadingMargin;\n@property (nonatomic, strong, readonly) MASViewAttribute *mas_trailingMargin;\n@property (nonatomic, strong, readonly) MASViewAttribute *mas_centerXWithinMargins;\n@property (nonatomic, strong, readonly) MASViewAttribute *mas_centerYWithinMargins;\n\n#endif\n\n#if (__IPHONE_OS_VERSION_MAX_ALLOWED >= 110000) || (__TV_OS_VERSION_MAX_ALLOWED >= 110000)\n\n@property (nonatomic, strong, readonly) MASViewAttribute *mas_safeAreaLayoutGuide API_AVAILABLE(ios(11.0),tvos(11.0));\n@property (nonatomic, strong, readonly) MASViewAttribute *mas_safeAreaLayoutGuideTop API_AVAILABLE(ios(11.0),tvos(11.0));\n@property (nonatomic, strong, readonly) MASViewAttribute *mas_safeAreaLayoutGuideBottom API_AVAILABLE(ios(11.0),tvos(11.0));\n@property (nonatomic, strong, readonly) MASViewAttribute *mas_safeAreaLayoutGuideLeft API_AVAILABLE(ios(11.0),tvos(11.0));\n@property (nonatomic, strong, readonly) MASViewAttribute *mas_safeAreaLayoutGuideRight API_AVAILABLE(ios(11.0),tvos(11.0));\n\n#endif\n\n/**\n *\ta key to associate with this view\n */\n@property (nonatomic, strong) id mas_key;\n\n/**\n *\tFinds the closest common superview between this view and another view\n *\n *\t@param\tview\tother view\n *\n *\t@return\treturns nil if common superview could not be found\n */\n- (instancetype)mas_closestCommonSuperview:(MAS_VIEW *)view;\n\n/**\n *  Creates a MASConstraintMaker with the callee view.\n *  Any constraints defined are added to the view or the appropriate superview once the block has finished executing\n *\n *  @param block scope within which you can build up the constraints which you wish to apply to the view.\n *\n *  @return Array of created MASConstraints\n */\n- (NSArray *)mas_makeConstraints:(void(NS_NOESCAPE ^)(MASConstraintMaker *make))block;\n\n/**\n *  Creates a MASConstraintMaker with the callee view.\n *  Any constraints defined are added to the view or the appropriate superview once the block has finished executing.\n *  If an existing constraint exists then it will be updated instead.\n *\n *  @param block scope within which you can build up the constraints which you wish to apply to the view.\n *\n *  @return Array of created/updated MASConstraints\n */\n- (NSArray *)mas_updateConstraints:(void(NS_NOESCAPE ^)(MASConstraintMaker *make))block;\n\n/**\n *  Creates a MASConstraintMaker with the callee view.\n *  Any constraints defined are added to the view or the appropriate superview once the block has finished executing.\n *  All constraints previously installed for the view will be removed.\n *\n *  @param block scope within which you can build up the constraints which you wish to apply to the view.\n *\n *  @return Array of created/updated MASConstraints\n */\n- (NSArray *)mas_remakeConstraints:(void(NS_NOESCAPE ^)(MASConstraintMaker *make))block;\n\n@end\n"
  },
  {
    "path": "CKMeiTuanShopView/Pods/Masonry/Masonry/View+MASAdditions.m",
    "content": "//\n//  UIView+MASAdditions.m\n//  Masonry\n//\n//  Created by Jonas Budelmann on 20/07/13.\n//  Copyright (c) 2013 cloudling. All rights reserved.\n//\n\n#import \"View+MASAdditions.h\"\n#import <objc/runtime.h>\n\n@implementation MAS_VIEW (MASAdditions)\n\n- (NSArray *)mas_makeConstraints:(void(^)(MASConstraintMaker *))block {\n    self.translatesAutoresizingMaskIntoConstraints = NO;\n    MASConstraintMaker *constraintMaker = [[MASConstraintMaker alloc] initWithView:self];\n    block(constraintMaker);\n    return [constraintMaker install];\n}\n\n- (NSArray *)mas_updateConstraints:(void(^)(MASConstraintMaker *))block {\n    self.translatesAutoresizingMaskIntoConstraints = NO;\n    MASConstraintMaker *constraintMaker = [[MASConstraintMaker alloc] initWithView:self];\n    constraintMaker.updateExisting = YES;\n    block(constraintMaker);\n    return [constraintMaker install];\n}\n\n- (NSArray *)mas_remakeConstraints:(void(^)(MASConstraintMaker *make))block {\n    self.translatesAutoresizingMaskIntoConstraints = NO;\n    MASConstraintMaker *constraintMaker = [[MASConstraintMaker alloc] initWithView:self];\n    constraintMaker.removeExisting = YES;\n    block(constraintMaker);\n    return [constraintMaker install];\n}\n\n#pragma mark - NSLayoutAttribute properties\n\n- (MASViewAttribute *)mas_left {\n    return [[MASViewAttribute alloc] initWithView:self layoutAttribute:NSLayoutAttributeLeft];\n}\n\n- (MASViewAttribute *)mas_top {\n    return [[MASViewAttribute alloc] initWithView:self layoutAttribute:NSLayoutAttributeTop];\n}\n\n- (MASViewAttribute *)mas_right {\n    return [[MASViewAttribute alloc] initWithView:self layoutAttribute:NSLayoutAttributeRight];\n}\n\n- (MASViewAttribute *)mas_bottom {\n    return [[MASViewAttribute alloc] initWithView:self layoutAttribute:NSLayoutAttributeBottom];\n}\n\n- (MASViewAttribute *)mas_leading {\n    return [[MASViewAttribute alloc] initWithView:self layoutAttribute:NSLayoutAttributeLeading];\n}\n\n- (MASViewAttribute *)mas_trailing {\n    return [[MASViewAttribute alloc] initWithView:self layoutAttribute:NSLayoutAttributeTrailing];\n}\n\n- (MASViewAttribute *)mas_width {\n    return [[MASViewAttribute alloc] initWithView:self layoutAttribute:NSLayoutAttributeWidth];\n}\n\n- (MASViewAttribute *)mas_height {\n    return [[MASViewAttribute alloc] initWithView:self layoutAttribute:NSLayoutAttributeHeight];\n}\n\n- (MASViewAttribute *)mas_centerX {\n    return [[MASViewAttribute alloc] initWithView:self layoutAttribute:NSLayoutAttributeCenterX];\n}\n\n- (MASViewAttribute *)mas_centerY {\n    return [[MASViewAttribute alloc] initWithView:self layoutAttribute:NSLayoutAttributeCenterY];\n}\n\n- (MASViewAttribute *)mas_baseline {\n    return [[MASViewAttribute alloc] initWithView:self layoutAttribute:NSLayoutAttributeBaseline];\n}\n\n- (MASViewAttribute *(^)(NSLayoutAttribute))mas_attribute\n{\n    return ^(NSLayoutAttribute attr) {\n        return [[MASViewAttribute alloc] initWithView:self layoutAttribute:attr];\n    };\n}\n\n#if (__IPHONE_OS_VERSION_MIN_REQUIRED >= 80000) || (__TV_OS_VERSION_MIN_REQUIRED >= 9000) || (__MAC_OS_X_VERSION_MIN_REQUIRED >= 101100)\n\n- (MASViewAttribute *)mas_firstBaseline {\n    return [[MASViewAttribute alloc] initWithView:self layoutAttribute:NSLayoutAttributeFirstBaseline];\n}\n- (MASViewAttribute *)mas_lastBaseline {\n    return [[MASViewAttribute alloc] initWithView:self layoutAttribute:NSLayoutAttributeLastBaseline];\n}\n\n#endif\n\n#if (__IPHONE_OS_VERSION_MIN_REQUIRED >= 80000) || (__TV_OS_VERSION_MIN_REQUIRED >= 9000)\n\n- (MASViewAttribute *)mas_leftMargin {\n    return [[MASViewAttribute alloc] initWithView:self layoutAttribute:NSLayoutAttributeLeftMargin];\n}\n\n- (MASViewAttribute *)mas_rightMargin {\n    return [[MASViewAttribute alloc] initWithView:self layoutAttribute:NSLayoutAttributeRightMargin];\n}\n\n- (MASViewAttribute *)mas_topMargin {\n    return [[MASViewAttribute alloc] initWithView:self layoutAttribute:NSLayoutAttributeTopMargin];\n}\n\n- (MASViewAttribute *)mas_bottomMargin {\n    return [[MASViewAttribute alloc] initWithView:self layoutAttribute:NSLayoutAttributeBottomMargin];\n}\n\n- (MASViewAttribute *)mas_leadingMargin {\n    return [[MASViewAttribute alloc] initWithView:self layoutAttribute:NSLayoutAttributeLeadingMargin];\n}\n\n- (MASViewAttribute *)mas_trailingMargin {\n    return [[MASViewAttribute alloc] initWithView:self layoutAttribute:NSLayoutAttributeTrailingMargin];\n}\n\n- (MASViewAttribute *)mas_centerXWithinMargins {\n    return [[MASViewAttribute alloc] initWithView:self layoutAttribute:NSLayoutAttributeCenterXWithinMargins];\n}\n\n- (MASViewAttribute *)mas_centerYWithinMargins {\n    return [[MASViewAttribute alloc] initWithView:self layoutAttribute:NSLayoutAttributeCenterYWithinMargins];\n}\n\n#endif\n\n#if (__IPHONE_OS_VERSION_MAX_ALLOWED >= 110000) || (__TV_OS_VERSION_MAX_ALLOWED >= 110000)\n\n- (MASViewAttribute *)mas_safeAreaLayoutGuide {\n    return [[MASViewAttribute alloc] initWithView:self item:self.safeAreaLayoutGuide layoutAttribute:NSLayoutAttributeBottom];\n}\n- (MASViewAttribute *)mas_safeAreaLayoutGuideTop {\n    return [[MASViewAttribute alloc] initWithView:self item:self.safeAreaLayoutGuide layoutAttribute:NSLayoutAttributeTop];\n}\n- (MASViewAttribute *)mas_safeAreaLayoutGuideBottom {\n    return [[MASViewAttribute alloc] initWithView:self item:self.safeAreaLayoutGuide layoutAttribute:NSLayoutAttributeBottom];\n}\n- (MASViewAttribute *)mas_safeAreaLayoutGuideLeft {\n    return [[MASViewAttribute alloc] initWithView:self item:self.safeAreaLayoutGuide layoutAttribute:NSLayoutAttributeLeft];\n}\n- (MASViewAttribute *)mas_safeAreaLayoutGuideRight {\n    return [[MASViewAttribute alloc] initWithView:self item:self.safeAreaLayoutGuide layoutAttribute:NSLayoutAttributeRight];\n}\n\n#endif\n\n#pragma mark - associated properties\n\n- (id)mas_key {\n    return objc_getAssociatedObject(self, @selector(mas_key));\n}\n\n- (void)setMas_key:(id)key {\n    objc_setAssociatedObject(self, @selector(mas_key), key, OBJC_ASSOCIATION_RETAIN_NONATOMIC);\n}\n\n#pragma mark - heirachy\n\n- (instancetype)mas_closestCommonSuperview:(MAS_VIEW *)view {\n    MAS_VIEW *closestCommonSuperview = nil;\n\n    MAS_VIEW *secondViewSuperview = view;\n    while (!closestCommonSuperview && secondViewSuperview) {\n        MAS_VIEW *firstViewSuperview = self;\n        while (!closestCommonSuperview && firstViewSuperview) {\n            if (secondViewSuperview == firstViewSuperview) {\n                closestCommonSuperview = secondViewSuperview;\n            }\n            firstViewSuperview = firstViewSuperview.superview;\n        }\n        secondViewSuperview = secondViewSuperview.superview;\n    }\n    return closestCommonSuperview;\n}\n\n@end\n"
  },
  {
    "path": "CKMeiTuanShopView/Pods/Masonry/Masonry/View+MASShorthandAdditions.h",
    "content": "//\n//  UIView+MASShorthandAdditions.h\n//  Masonry\n//\n//  Created by Jonas Budelmann on 22/07/13.\n//  Copyright (c) 2013 Jonas Budelmann. All rights reserved.\n//\n\n#import \"View+MASAdditions.h\"\n\n#ifdef MAS_SHORTHAND\n\n/**\n *\tShorthand view additions without the 'mas_' prefixes,\n *  only enabled if MAS_SHORTHAND is defined\n */\n@interface MAS_VIEW (MASShorthandAdditions)\n\n@property (nonatomic, strong, readonly) MASViewAttribute *left;\n@property (nonatomic, strong, readonly) MASViewAttribute *top;\n@property (nonatomic, strong, readonly) MASViewAttribute *right;\n@property (nonatomic, strong, readonly) MASViewAttribute *bottom;\n@property (nonatomic, strong, readonly) MASViewAttribute *leading;\n@property (nonatomic, strong, readonly) MASViewAttribute *trailing;\n@property (nonatomic, strong, readonly) MASViewAttribute *width;\n@property (nonatomic, strong, readonly) MASViewAttribute *height;\n@property (nonatomic, strong, readonly) MASViewAttribute *centerX;\n@property (nonatomic, strong, readonly) MASViewAttribute *centerY;\n@property (nonatomic, strong, readonly) MASViewAttribute *baseline;\n@property (nonatomic, strong, readonly) MASViewAttribute *(^attribute)(NSLayoutAttribute attr);\n\n#if (__IPHONE_OS_VERSION_MIN_REQUIRED >= 80000) || (__TV_OS_VERSION_MIN_REQUIRED >= 9000) || (__MAC_OS_X_VERSION_MIN_REQUIRED >= 101100)\n\n@property (nonatomic, strong, readonly) MASViewAttribute *firstBaseline;\n@property (nonatomic, strong, readonly) MASViewAttribute *lastBaseline;\n\n#endif\n\n#if (__IPHONE_OS_VERSION_MIN_REQUIRED >= 80000) || (__TV_OS_VERSION_MIN_REQUIRED >= 9000)\n\n@property (nonatomic, strong, readonly) MASViewAttribute *leftMargin;\n@property (nonatomic, strong, readonly) MASViewAttribute *rightMargin;\n@property (nonatomic, strong, readonly) MASViewAttribute *topMargin;\n@property (nonatomic, strong, readonly) MASViewAttribute *bottomMargin;\n@property (nonatomic, strong, readonly) MASViewAttribute *leadingMargin;\n@property (nonatomic, strong, readonly) MASViewAttribute *trailingMargin;\n@property (nonatomic, strong, readonly) MASViewAttribute *centerXWithinMargins;\n@property (nonatomic, strong, readonly) MASViewAttribute *centerYWithinMargins;\n\n#endif\n\n#if (__IPHONE_OS_VERSION_MAX_ALLOWED >= 110000) || (__TV_OS_VERSION_MAX_ALLOWED >= 110000)\n\n@property (nonatomic, strong, readonly) MASViewAttribute *safeAreaLayoutGuideTop API_AVAILABLE(ios(11.0),tvos(11.0));\n@property (nonatomic, strong, readonly) MASViewAttribute *safeAreaLayoutGuideBottom API_AVAILABLE(ios(11.0),tvos(11.0));\n@property (nonatomic, strong, readonly) MASViewAttribute *safeAreaLayoutGuideLeft API_AVAILABLE(ios(11.0),tvos(11.0));\n@property (nonatomic, strong, readonly) MASViewAttribute *safeAreaLayoutGuideRight API_AVAILABLE(ios(11.0),tvos(11.0));\n\n#endif\n\n- (NSArray *)makeConstraints:(void(^)(MASConstraintMaker *make))block;\n- (NSArray *)updateConstraints:(void(^)(MASConstraintMaker *make))block;\n- (NSArray *)remakeConstraints:(void(^)(MASConstraintMaker *make))block;\n\n@end\n\n#define MAS_ATTR_FORWARD(attr)  \\\n- (MASViewAttribute *)attr {    \\\n    return [self mas_##attr];   \\\n}\n\n@implementation MAS_VIEW (MASShorthandAdditions)\n\nMAS_ATTR_FORWARD(top);\nMAS_ATTR_FORWARD(left);\nMAS_ATTR_FORWARD(bottom);\nMAS_ATTR_FORWARD(right);\nMAS_ATTR_FORWARD(leading);\nMAS_ATTR_FORWARD(trailing);\nMAS_ATTR_FORWARD(width);\nMAS_ATTR_FORWARD(height);\nMAS_ATTR_FORWARD(centerX);\nMAS_ATTR_FORWARD(centerY);\nMAS_ATTR_FORWARD(baseline);\n\n#if (__IPHONE_OS_VERSION_MIN_REQUIRED >= 80000) || (__TV_OS_VERSION_MIN_REQUIRED >= 9000) || (__MAC_OS_X_VERSION_MIN_REQUIRED >= 101100)\n\nMAS_ATTR_FORWARD(firstBaseline);\nMAS_ATTR_FORWARD(lastBaseline);\n\n#endif\n\n#if (__IPHONE_OS_VERSION_MIN_REQUIRED >= 80000) || (__TV_OS_VERSION_MIN_REQUIRED >= 9000)\n\nMAS_ATTR_FORWARD(leftMargin);\nMAS_ATTR_FORWARD(rightMargin);\nMAS_ATTR_FORWARD(topMargin);\nMAS_ATTR_FORWARD(bottomMargin);\nMAS_ATTR_FORWARD(leadingMargin);\nMAS_ATTR_FORWARD(trailingMargin);\nMAS_ATTR_FORWARD(centerXWithinMargins);\nMAS_ATTR_FORWARD(centerYWithinMargins);\n\n#endif\n\n#if (__IPHONE_OS_VERSION_MAX_ALLOWED >= 110000) || (__TV_OS_VERSION_MAX_ALLOWED >= 110000)\n\nMAS_ATTR_FORWARD(safeAreaLayoutGuideTop);\nMAS_ATTR_FORWARD(safeAreaLayoutGuideBottom);\nMAS_ATTR_FORWARD(safeAreaLayoutGuideLeft);\nMAS_ATTR_FORWARD(safeAreaLayoutGuideRight);\n\n#endif\n\n- (MASViewAttribute *(^)(NSLayoutAttribute))attribute {\n    return [self mas_attribute];\n}\n\n- (NSArray *)makeConstraints:(void(NS_NOESCAPE ^)(MASConstraintMaker *))block {\n    return [self mas_makeConstraints:block];\n}\n\n- (NSArray *)updateConstraints:(void(NS_NOESCAPE ^)(MASConstraintMaker *))block {\n    return [self mas_updateConstraints:block];\n}\n\n- (NSArray *)remakeConstraints:(void(NS_NOESCAPE ^)(MASConstraintMaker *))block {\n    return [self mas_remakeConstraints:block];\n}\n\n@end\n\n#endif\n"
  },
  {
    "path": "CKMeiTuanShopView/Pods/Masonry/Masonry/ViewController+MASAdditions.h",
    "content": "//\n//  UIViewController+MASAdditions.h\n//  Masonry\n//\n//  Created by Craig Siemens on 2015-06-23.\n//\n//\n\n#import \"MASUtilities.h\"\n#import \"MASConstraintMaker.h\"\n#import \"MASViewAttribute.h\"\n\n#ifdef MAS_VIEW_CONTROLLER\n\n@interface MAS_VIEW_CONTROLLER (MASAdditions)\n\n/**\n *\tfollowing properties return a new MASViewAttribute with appropriate UILayoutGuide and NSLayoutAttribute\n */\n@property (nonatomic, strong, readonly) MASViewAttribute *mas_topLayoutGuide;\n@property (nonatomic, strong, readonly) MASViewAttribute *mas_bottomLayoutGuide;\n@property (nonatomic, strong, readonly) MASViewAttribute *mas_topLayoutGuideTop;\n@property (nonatomic, strong, readonly) MASViewAttribute *mas_topLayoutGuideBottom;\n@property (nonatomic, strong, readonly) MASViewAttribute *mas_bottomLayoutGuideTop;\n@property (nonatomic, strong, readonly) MASViewAttribute *mas_bottomLayoutGuideBottom;\n\n\n@end\n\n#endif\n"
  },
  {
    "path": "CKMeiTuanShopView/Pods/Masonry/Masonry/ViewController+MASAdditions.m",
    "content": "//\n//  UIViewController+MASAdditions.m\n//  Masonry\n//\n//  Created by Craig Siemens on 2015-06-23.\n//\n//\n\n#import \"ViewController+MASAdditions.h\"\n\n#ifdef MAS_VIEW_CONTROLLER\n\n@implementation MAS_VIEW_CONTROLLER (MASAdditions)\n\n- (MASViewAttribute *)mas_topLayoutGuide {\n    return [[MASViewAttribute alloc] initWithView:self.view item:self.topLayoutGuide layoutAttribute:NSLayoutAttributeBottom];\n}\n- (MASViewAttribute *)mas_topLayoutGuideTop {\n    return [[MASViewAttribute alloc] initWithView:self.view item:self.topLayoutGuide layoutAttribute:NSLayoutAttributeTop];\n}\n- (MASViewAttribute *)mas_topLayoutGuideBottom {\n    return [[MASViewAttribute alloc] initWithView:self.view item:self.topLayoutGuide layoutAttribute:NSLayoutAttributeBottom];\n}\n\n- (MASViewAttribute *)mas_bottomLayoutGuide {\n    return [[MASViewAttribute alloc] initWithView:self.view item:self.bottomLayoutGuide layoutAttribute:NSLayoutAttributeTop];\n}\n- (MASViewAttribute *)mas_bottomLayoutGuideTop {\n    return [[MASViewAttribute alloc] initWithView:self.view item:self.bottomLayoutGuide layoutAttribute:NSLayoutAttributeTop];\n}\n- (MASViewAttribute *)mas_bottomLayoutGuideBottom {\n    return [[MASViewAttribute alloc] initWithView:self.view item:self.bottomLayoutGuide layoutAttribute:NSLayoutAttributeBottom];\n}\n\n\n\n@end\n\n#endif\n"
  },
  {
    "path": "CKMeiTuanShopView/Pods/Masonry/README.md",
    "content": "# Masonry [![Build Status](https://travis-ci.org/SnapKit/Masonry.svg?branch=master)](https://travis-ci.org/SnapKit/Masonry) [![Coverage Status](https://img.shields.io/coveralls/SnapKit/Masonry.svg?style=flat-square)](https://coveralls.io/r/SnapKit/Masonry) [![Carthage compatible](https://img.shields.io/badge/Carthage-compatible-4BC51D.svg?style=flat)](https://github.com/Carthage/Carthage) ![Pod Version](https://img.shields.io/cocoapods/v/Masonry.svg?style=flat)\n\n**Masonry is still actively maintained, we are committed to fixing bugs and merging good quality PRs from the wider community. However if you're using Swift in your project, we recommend using [SnapKit](https://github.com/SnapKit/SnapKit) as it provides better type safety with a simpler API.**\n\nMasonry is a light-weight layout framework which wraps AutoLayout with a nicer syntax. Masonry has its own layout DSL which provides a chainable way of describing your NSLayoutConstraints which results in layout code that is more concise and readable.\nMasonry supports iOS and Mac OS X.\n\nFor examples take a look at the **Masonry iOS Examples** project in the Masonry workspace. You will need to run `pod install` after downloading.\n\n## What's wrong with NSLayoutConstraints?\n\nUnder the hood Auto Layout is a powerful and flexible way of organising and laying out your views. However creating constraints from code is verbose and not very descriptive.\nImagine a simple example in which you want to have a view fill its superview but inset by 10 pixels on every side\n```obj-c\nUIView *superview = self.view;\n\nUIView *view1 = [[UIView alloc] init];\nview1.translatesAutoresizingMaskIntoConstraints = NO;\nview1.backgroundColor = [UIColor greenColor];\n[superview addSubview:view1];\n\nUIEdgeInsets padding = UIEdgeInsetsMake(10, 10, 10, 10);\n\n[superview addConstraints:@[\n\n    //view1 constraints\n    [NSLayoutConstraint constraintWithItem:view1\n                                 attribute:NSLayoutAttributeTop\n                                 relatedBy:NSLayoutRelationEqual\n                                    toItem:superview\n                                 attribute:NSLayoutAttributeTop\n                                multiplier:1.0\n                                  constant:padding.top],\n\n    [NSLayoutConstraint constraintWithItem:view1\n                                 attribute:NSLayoutAttributeLeft\n                                 relatedBy:NSLayoutRelationEqual\n                                    toItem:superview\n                                 attribute:NSLayoutAttributeLeft\n                                multiplier:1.0\n                                  constant:padding.left],\n\n    [NSLayoutConstraint constraintWithItem:view1\n                                 attribute:NSLayoutAttributeBottom\n                                 relatedBy:NSLayoutRelationEqual\n                                    toItem:superview\n                                 attribute:NSLayoutAttributeBottom\n                                multiplier:1.0\n                                  constant:-padding.bottom],\n\n    [NSLayoutConstraint constraintWithItem:view1\n                                 attribute:NSLayoutAttributeRight\n                                 relatedBy:NSLayoutRelationEqual\n                                    toItem:superview\n                                 attribute:NSLayoutAttributeRight\n                                multiplier:1\n                                  constant:-padding.right],\n\n ]];\n```\nEven with such a simple example the code needed is quite verbose and quickly becomes unreadable when you have more than 2 or 3 views.\nAnother option is to use Visual Format Language (VFL), which is a bit less long winded.\nHowever the ASCII type syntax has its own pitfalls and its also a bit harder to animate as `NSLayoutConstraint constraintsWithVisualFormat:` returns an array.\n\n## Prepare to meet your Maker!\n\nHeres the same constraints created using MASConstraintMaker\n\n```obj-c\nUIEdgeInsets padding = UIEdgeInsetsMake(10, 10, 10, 10);\n\n[view1 mas_makeConstraints:^(MASConstraintMaker *make) {\n    make.top.equalTo(superview.mas_top).with.offset(padding.top); //with is an optional semantic filler\n    make.left.equalTo(superview.mas_left).with.offset(padding.left);\n    make.bottom.equalTo(superview.mas_bottom).with.offset(-padding.bottom);\n    make.right.equalTo(superview.mas_right).with.offset(-padding.right);\n}];\n```\nOr even shorter\n\n```obj-c\n[view1 mas_makeConstraints:^(MASConstraintMaker *make) {\n    make.edges.equalTo(superview).with.insets(padding);\n}];\n```\n\nAlso note in the first example we had to add the constraints to the superview `[superview addConstraints:...`.\nMasonry however will automagically add constraints to the appropriate view.\n\nMasonry will also call `view1.translatesAutoresizingMaskIntoConstraints = NO;` for you.\n\n## Not all things are created equal\n\n> `.equalTo` equivalent to **NSLayoutRelationEqual**\n\n> `.lessThanOrEqualTo` equivalent to **NSLayoutRelationLessThanOrEqual**\n\n> `.greaterThanOrEqualTo` equivalent to **NSLayoutRelationGreaterThanOrEqual**\n\nThese three equality constraints accept one argument which can be any of the following:\n\n#### 1. MASViewAttribute\n\n```obj-c\nmake.centerX.lessThanOrEqualTo(view2.mas_left);\n```\n\nMASViewAttribute           |  NSLayoutAttribute\n-------------------------  |  --------------------------\nview.mas_left              |  NSLayoutAttributeLeft\nview.mas_right             |  NSLayoutAttributeRight\nview.mas_top               |  NSLayoutAttributeTop\nview.mas_bottom            |  NSLayoutAttributeBottom\nview.mas_leading           |  NSLayoutAttributeLeading\nview.mas_trailing          |  NSLayoutAttributeTrailing\nview.mas_width             |  NSLayoutAttributeWidth\nview.mas_height            |  NSLayoutAttributeHeight\nview.mas_centerX           |  NSLayoutAttributeCenterX\nview.mas_centerY           |  NSLayoutAttributeCenterY\nview.mas_baseline          |  NSLayoutAttributeBaseline\n\n#### 2. UIView/NSView\n\nif you want view.left to be greater than or equal to label.left :\n```obj-c\n//these two constraints are exactly the same\nmake.left.greaterThanOrEqualTo(label);\nmake.left.greaterThanOrEqualTo(label.mas_left);\n```\n\n#### 3. NSNumber\n\nAuto Layout allows width and height to be set to constant values.\nif you want to set view to have a minimum and maximum width you could pass a number to the equality blocks:\n```obj-c\n//width >= 200 && width <= 400\nmake.width.greaterThanOrEqualTo(@200);\nmake.width.lessThanOrEqualTo(@400)\n```\n\nHowever Auto Layout does not allow alignment attributes such as left, right, centerY etc to be set to constant values.\nSo if you pass a NSNumber for these attributes Masonry will turn these into constraints relative to the view&rsquo;s superview ie:\n```obj-c\n//creates view.left = view.superview.left + 10\nmake.left.lessThanOrEqualTo(@10)\n```\n\nInstead of using NSNumber, you can use primitives and structs to build your constraints, like so:\n```obj-c\nmake.top.mas_equalTo(42);\nmake.height.mas_equalTo(20);\nmake.size.mas_equalTo(CGSizeMake(50, 100));\nmake.edges.mas_equalTo(UIEdgeInsetsMake(10, 0, 10, 0));\nmake.left.mas_equalTo(view).mas_offset(UIEdgeInsetsMake(10, 0, 10, 0));\n```\n\nBy default, macros which support [autoboxing](https://en.wikipedia.org/wiki/Autoboxing#Autoboxing) are prefixed with `mas_`. Unprefixed versions are available by defining `MAS_SHORTHAND_GLOBALS` before importing Masonry.\n\n#### 4. NSArray\n\nAn array of a mixture of any of the previous types\n```obj-c\nmake.height.equalTo(@[view1.mas_height, view2.mas_height]);\nmake.height.equalTo(@[view1, view2]);\nmake.left.equalTo(@[view1, @100, view3.right]);\n````\n\n## Learn to prioritize\n\n> `.priority` allows you to specify an exact priority\n\n> `.priorityHigh` equivalent to **UILayoutPriorityDefaultHigh**\n\n> `.priorityMedium` is half way between high and low\n\n> `.priorityLow` equivalent to **UILayoutPriorityDefaultLow**\n\nPriorities are can be tacked on to the end of a constraint chain like so:\n```obj-c\nmake.left.greaterThanOrEqualTo(label.mas_left).with.priorityLow();\n\nmake.top.equalTo(label.mas_top).with.priority(600);\n```\n\n## Composition, composition, composition\n\nMasonry also gives you a few convenience methods which create multiple constraints at the same time. These are called MASCompositeConstraints\n\n#### edges\n\n```obj-c\n// make top, left, bottom, right equal view2\nmake.edges.equalTo(view2);\n\n// make top = superview.top + 5, left = superview.left + 10,\n//      bottom = superview.bottom - 15, right = superview.right - 20\nmake.edges.equalTo(superview).insets(UIEdgeInsetsMake(5, 10, 15, 20))\n```\n\n#### size\n\n```obj-c\n// make width and height greater than or equal to titleLabel\nmake.size.greaterThanOrEqualTo(titleLabel)\n\n// make width = superview.width + 100, height = superview.height - 50\nmake.size.equalTo(superview).sizeOffset(CGSizeMake(100, -50))\n```\n\n#### center\n```obj-c\n// make centerX and centerY = button1\nmake.center.equalTo(button1)\n\n// make centerX = superview.centerX - 5, centerY = superview.centerY + 10\nmake.center.equalTo(superview).centerOffset(CGPointMake(-5, 10))\n```\n\nYou can chain view attributes for increased readability:\n\n```obj-c\n// All edges but the top should equal those of the superview\nmake.left.right.and.bottom.equalTo(superview);\nmake.top.equalTo(otherView);\n```\n\n## Hold on for dear life\n\nSometimes you need modify existing constraints in order to animate or remove/replace constraints.\nIn Masonry there are a few different approaches to updating constraints.\n\n#### 1. References\nYou can hold on to a reference of a particular constraint by assigning the result of a constraint make expression to a local variable or a class property.\nYou could also reference multiple constraints by storing them away in an array.\n\n```obj-c\n// in public/private interface\n@property (nonatomic, strong) MASConstraint *topConstraint;\n\n...\n\n// when making constraints\n[view1 mas_makeConstraints:^(MASConstraintMaker *make) {\n    self.topConstraint = make.top.equalTo(superview.mas_top).with.offset(padding.top);\n    make.left.equalTo(superview.mas_left).with.offset(padding.left);\n}];\n\n...\n// then later you can call\n[self.topConstraint uninstall];\n```\n\n#### 2. mas_updateConstraints\nAlternatively if you are only updating the constant value of the constraint you can use the convience method `mas_updateConstraints` instead of `mas_makeConstraints`\n\n```obj-c\n// this is Apple's recommended place for adding/updating constraints\n// this method can get called multiple times in response to setNeedsUpdateConstraints\n// which can be called by UIKit internally or in your code if you need to trigger an update to your constraints\n- (void)updateConstraints {\n    [self.growingButton mas_updateConstraints:^(MASConstraintMaker *make) {\n        make.center.equalTo(self);\n        make.width.equalTo(@(self.buttonSize.width)).priorityLow();\n        make.height.equalTo(@(self.buttonSize.height)).priorityLow();\n        make.width.lessThanOrEqualTo(self);\n        make.height.lessThanOrEqualTo(self);\n    }];\n\n    //according to apple super should be called at end of method\n    [super updateConstraints];\n}\n```\n\n### 3. mas_remakeConstraints\n`mas_updateConstraints` is useful for updating a set of constraints, but doing anything beyond updating constant values can get exhausting. That's where `mas_remakeConstraints` comes in.\n\n`mas_remakeConstraints` is similar to `mas_updateConstraints`, but instead of updating constant values, it will remove all of its constraints before installing them again. This lets you provide different constraints without having to keep around references to ones which you want to remove.\n\n```obj-c\n- (void)changeButtonPosition {\n    [self.button mas_remakeConstraints:^(MASConstraintMaker *make) {\n        make.size.equalTo(self.buttonSize);\n\n        if (topLeft) {\n        \tmake.top.and.left.offset(10);\n        } else {\n        \tmake.bottom.and.right.offset(-10);\n        }\n    }];\n}\n```\n\nYou can find more detailed examples of all three approaches in the **Masonry iOS Examples** project.\n\n## When the ^&*!@ hits the fan!\n\nLaying out your views doesn't always goto plan. So when things literally go pear shaped, you don't want to be looking at console output like this:\n\n```obj-c\nUnable to simultaneously satisfy constraints.....blah blah blah....\n(\n    \"<NSLayoutConstraint:0x7189ac0 V:[UILabel:0x7186980(>=5000)]>\",\n    \"<NSAutoresizingMaskLayoutConstraint:0x839ea20 h=--& v=--& V:[MASExampleDebuggingView:0x7186560(416)]>\",\n    \"<NSLayoutConstraint:0x7189c70 UILabel:0x7186980.bottom == MASExampleDebuggingView:0x7186560.bottom - 10>\",\n    \"<NSLayoutConstraint:0x7189560 V:|-(1)-[UILabel:0x7186980]   (Names: '|':MASExampleDebuggingView:0x7186560 )>\"\n)\n\nWill attempt to recover by breaking constraint\n<NSLayoutConstraint:0x7189ac0 V:[UILabel:0x7186980(>=5000)]>\n```\n\nMasonry adds a category to NSLayoutConstraint which overrides the default implementation of `- (NSString *)description`.\nNow you can give meaningful names to views and constraints, and also easily pick out the constraints created by Masonry.\n\nwhich means your console output can now look like this:\n\n```obj-c\nUnable to simultaneously satisfy constraints......blah blah blah....\n(\n    \"<NSAutoresizingMaskLayoutConstraint:0x8887740 MASExampleDebuggingView:superview.height == 416>\",\n    \"<MASLayoutConstraint:ConstantConstraint UILabel:messageLabel.height >= 5000>\",\n    \"<MASLayoutConstraint:BottomConstraint UILabel:messageLabel.bottom == MASExampleDebuggingView:superview.bottom - 10>\",\n    \"<MASLayoutConstraint:ConflictingConstraint[0] UILabel:messageLabel.top == MASExampleDebuggingView:superview.top + 1>\"\n)\n\nWill attempt to recover by breaking constraint\n<MASLayoutConstraint:ConstantConstraint UILabel:messageLabel.height >= 5000>\n```\n\nFor an example of how to set this up take a look at the **Masonry iOS Examples** project in the Masonry workspace.\n\n## Where should I create my constraints?\n\n```objc\n@implementation DIYCustomView\n\n- (id)init {\n    self = [super init];\n    if (!self) return nil;\n\n    // --- Create your views here ---\n    self.button = [[UIButton alloc] init];\n\n    return self;\n}\n\n// tell UIKit that you are using AutoLayout\n+ (BOOL)requiresConstraintBasedLayout {\n    return YES;\n}\n\n// this is Apple's recommended place for adding/updating constraints\n- (void)updateConstraints {\n\n    // --- remake/update constraints here\n    [self.button remakeConstraints:^(MASConstraintMaker *make) {\n        make.width.equalTo(@(self.buttonSize.width));\n        make.height.equalTo(@(self.buttonSize.height));\n    }];\n    \n    //according to apple super should be called at end of method\n    [super updateConstraints];\n}\n\n- (void)didTapButton:(UIButton *)button {\n    // --- Do your changes ie change variables that affect your layout etc ---\n    self.buttonSize = CGSize(200, 200);\n\n    // tell constraints they need updating\n    [self setNeedsUpdateConstraints];\n}\n\n@end\n```\n\n## Installation\nUse the [orsome](http://www.youtube.com/watch?v=YaIZF8uUTtk) [CocoaPods](http://github.com/CocoaPods/CocoaPods).\n\nIn your Podfile\n>`pod 'Masonry'`\n\nIf you want to use masonry without all those pesky 'mas_' prefixes. Add #define MAS_SHORTHAND to your prefix.pch before importing Masonry\n>`#define MAS_SHORTHAND`\n\nGet busy Masoning\n>`#import \"Masonry.h\"`\n\n## Code Snippets\n\nCopy the included code snippets to ``~/Library/Developer/Xcode/UserData/CodeSnippets`` to write your masonry blocks at lightning speed!\n\n`mas_make` -> ` [<#view#> mas_makeConstraints:^(MASConstraintMaker *make) {\n     <#code#>\n }];`\n\n`mas_update` -> ` [<#view#> mas_updateConstraints:^(MASConstraintMaker *make) {\n     <#code#>\n }];`\n\n`mas_remake` -> ` [<#view#> mas_remakeConstraints:^(MASConstraintMaker *make) {\n     <#code#>\n }];`\n\n## Features\n* Not limited to subset of Auto Layout. Anything NSLayoutConstraint can do, Masonry can do too!\n* Great debug support, give your views and constraints meaningful names.\n* Constraints read like sentences.\n* No crazy macro magic. Masonry won't pollute the global namespace with macros.\n* Not string or dictionary based and hence you get compile time checking.\n\n## TODO\n* Eye candy\n* Mac example project\n* More tests and examples\n\n"
  },
  {
    "path": "CKMeiTuanShopView/Pods/Pods.xcodeproj/project.pbxproj",
    "content": "// !$*UTF8*$!\n{\n\tarchiveVersion = 1;\n\tclasses = {\n\t};\n\tobjectVersion = 50;\n\tobjects = {\n\n/* Begin PBXBuildFile section */\n\t\t0580CC9C4BCB7E968D327B50E8C4650F /* MJRefreshGifHeader.h in Headers */ = {isa = PBXBuildFile; fileRef = 87219593AB800FE9353365B682DCB8DB /* MJRefreshGifHeader.h */; settings = {ATTRIBUTES = (Project, ); }; };\n\t\t069873836A909B1DE0966ECA339C10C5 /* JSONModel+networking.h in Headers */ = {isa = PBXBuildFile; fileRef = D78F6F2BA9CE1F3B67ED424990023B82 /* JSONModel+networking.h */; settings = {ATTRIBUTES = (Project, ); }; };\n\t\t081AD4639FCDCC3D435C70610B3A759A /* SDWebImageManager.m in Sources */ = {isa = PBXBuildFile; fileRef = E4278303B183BC735CF396F27011D87F /* SDWebImageManager.m */; };\n\t\t0A3D1CD55CA82621983A1123DADE4FE3 /* UIView+WebCacheOperation.m in Sources */ = {isa = PBXBuildFile; fileRef = 072199AB902C13FB086881E8D565BDBD /* UIView+WebCacheOperation.m */; };\n\t\t0CD6A958B421C84959F921143E7662FF /* IQUIViewController+Additions.m in Sources */ = {isa = PBXBuildFile; fileRef = AE94DB777C825A104BB0DC12D6219BA6 /* IQUIViewController+Additions.m */; };\n\t\t0D64F957BE8A79371D159A4F2A3153B2 /* AFURLRequestSerialization.m in Sources */ = {isa = PBXBuildFile; fileRef = 1E6E124B86D696741661C4444D6D0E7F /* AFURLRequestSerialization.m */; };\n\t\t0F6788BFAD5BF640B57EAD93E4BC8FDF /* MJRefreshStateHeader.h in Headers */ = {isa = PBXBuildFile; fileRef = EF68077839E34CAF9215B7F6DE559C08 /* MJRefreshStateHeader.h */; settings = {ATTRIBUTES = (Project, ); }; };\n\t\t100DCBFE39E91CF7A296FABFAB4D7CC6 /* MASViewAttribute.h in Headers */ = {isa = PBXBuildFile; fileRef = 372377CFA929EEE78E981021576D0185 /* MASViewAttribute.h */; settings = {ATTRIBUTES = (Project, ); }; };\n\t\t105D632E428DB81953E48F18B05A7C88 /* JSONModel+networking.m in Sources */ = {isa = PBXBuildFile; fileRef = F054F6807F8DDFEF4DC5026AB4CB073A /* JSONModel+networking.m */; };\n\t\t13635B78121B99E5C03C92506A161607 /* MASViewAttribute.m in Sources */ = {isa = PBXBuildFile; fileRef = BF01A2FB66A91A729EF2F91449F9E8BD /* MASViewAttribute.m */; };\n\t\t13AA97B9D9B0E943554B3513A9273385 /* IQKeyboardReturnKeyHandler.h in Headers */ = {isa = PBXBuildFile; fileRef = B620FC0B4896B0458BFCAD6BAE1FBB8D /* IQKeyboardReturnKeyHandler.h */; settings = {ATTRIBUTES = (Project, ); }; };\n\t\t142C303DDD4FD9CA40B512A71637DE8C /* MJRefreshHeader.h in Headers */ = {isa = PBXBuildFile; fileRef = 6D2A2912CB5FF40922F33DA5122380BC /* MJRefreshHeader.h */; settings = {ATTRIBUTES = (Project, ); }; };\n\t\t149390D660E23EA49CA4DD2AA906F950 /* SDWebImagePrefetcher.m in Sources */ = {isa = PBXBuildFile; fileRef = 3B6FEC59C048693731901FD524C5073C /* SDWebImagePrefetcher.m */; };\n\t\t15DF59F74A3D2C503BA9C509A6CADEB4 /* UIButton+AFNetworking.m in Sources */ = {isa = PBXBuildFile; fileRef = 506F9F4A582D7B4F3CF6BD205E7EB320 /* UIButton+AFNetworking.m */; };\n\t\t17B59D96588A16064AF8118C73781AA4 /* JSONModel.h in Headers */ = {isa = PBXBuildFile; fileRef = B70EF1ADE5AD0538A483935884FD3261 /* JSONModel.h */; settings = {ATTRIBUTES = (Project, ); }; };\n\t\t188AC19DD7A33293A523416933105417 /* UIImageView+WebCache.m in Sources */ = {isa = PBXBuildFile; fileRef = B1C385BB34C452FFDFBE3B34E66C5042 /* UIImageView+WebCache.m */; };\n\t\t18A0969FF6EEC2C58A7D4D4AAB7C6060 /* MobileCoreServices.framework in Frameworks */ = {isa = PBXBuildFile; fileRef = DAABC69A5667877A1A707C4A56B972C8 /* MobileCoreServices.framework */; };\n\t\t193D69BD85D0A0899EDF0D6FF269E86D /* UIProgressView+AFNetworking.m in Sources */ = {isa = PBXBuildFile; fileRef = D7C97FD457A28A6BC56615758E665F59 /* UIProgressView+AFNetworking.m */; };\n\t\t1AE740CA9DD11A1C662E179F881A7386 /* IQKeyboardManager.m in Sources */ = {isa = PBXBuildFile; fileRef = D0CA8ACC4583E47884F62A7511A2B330 /* IQKeyboardManager.m */; };\n\t\t1D43391CC1D9B8C360445F4DA1155002 /* SDWebImageDownloader.h in Headers */ = {isa = PBXBuildFile; fileRef = 8023299312890570F8B725D1B37A096B /* SDWebImageDownloader.h */; settings = {ATTRIBUTES = (Project, ); }; };\n\t\t1F21C5A5CC17546C0BAD635D50F45372 /* UIRefreshControl+AFNetworking.m in Sources */ = {isa = PBXBuildFile; fileRef = FE7A35F6384D39CBBE4404AD42D6A8B7 /* UIRefreshControl+AFNetworking.m */; };\n\t\t214DF0B6664033C87D6B846599FB477A /* NSLayoutConstraint+MASDebugAdditions.h in Headers */ = {isa = PBXBuildFile; fileRef = 55AF813A1109C1A9466CF0DE1840266E /* NSLayoutConstraint+MASDebugAdditions.h */; settings = {ATTRIBUTES = (Project, ); }; };\n\t\t22254801D9F6F3147F70CC030DAD14F0 /* UIButton+WebCache.m in Sources */ = {isa = PBXBuildFile; fileRef = F1D49456C853E5629F18A4451FFC18C7 /* UIButton+WebCache.m */; };\n\t\t2286EEDC0733FEDA8AF326E5FED10658 /* MJRefreshBackStateFooter.m in Sources */ = {isa = PBXBuildFile; fileRef = E4353C5694DDFEF33B194E0D53EF1F42 /* MJRefreshBackStateFooter.m */; };\n\t\t236BF693F1070BB58D4C63CB55E020BC /* SDWebImageCoderHelper.m in Sources */ = {isa = PBXBuildFile; fileRef = B3D09683D9EE8F629CBE54F6BE93D9C7 /* SDWebImageCoderHelper.m */; };\n\t\t2474C980446D6CBCE6CCD23A0ED889E1 /* IQUIScrollView+Additions.h in Headers */ = {isa = PBXBuildFile; fileRef = C02A71CFEA4D6E4E92165918AAC0B00E /* IQUIScrollView+Additions.h */; settings = {ATTRIBUTES = (Project, ); }; };\n\t\t26873CE294135E7F21A809C79C117DEB /* UIImageView+AFNetworking.h in Headers */ = {isa = PBXBuildFile; fileRef = A30FB687D2D1EDF9288CB313047AA39B /* UIImageView+AFNetworking.h */; settings = {ATTRIBUTES = (Project, ); }; };\n\t\t26EBBEF56FF5ED5A281A569D2F408B1C /* UIActivityIndicatorView+AFNetworking.m in Sources */ = {isa = PBXBuildFile; fileRef = 3B489E4CDBA41E2E836AFD21D07E68D6 /* UIActivityIndicatorView+AFNetworking.m */; };\n\t\t27290A08F2D4A3C69C74968438971EF4 /* MJRefresh-dummy.m in Sources */ = {isa = PBXBuildFile; fileRef = 77683307D2F6EB6572856D83B8803BFE /* MJRefresh-dummy.m */; };\n\t\t275BC00DC0190F8DD0184F236F31E1B7 /* UIImage+MultiFormat.m in Sources */ = {isa = PBXBuildFile; fileRef = 9810E849B6B9FD4EE7BAD07962C2D60D /* UIImage+MultiFormat.m */; };\n\t\t2DA0795313E480A80A5A90BB1E9BDDB8 /* IQTitleBarButtonItem.m in Sources */ = {isa = PBXBuildFile; fileRef = EA23579217F8A09734A9AFFEB1A0C34D /* IQTitleBarButtonItem.m */; };\n\t\t2DBB74B8B5DDB1F621433DD12BF35102 /* MASViewConstraint.m in Sources */ = {isa = PBXBuildFile; fileRef = F3E48C0ADDCE3CAD3ECBDD3459D270B8 /* MASViewConstraint.m */; };\n\t\t31BD6B601755B15049F76093D698D2B7 /* AFSecurityPolicy.m in Sources */ = {isa = PBXBuildFile; fileRef = 02BFFAD75E83A53DC3CE43CE65422318 /* AFSecurityPolicy.m */; };\n\t\t352427C52DC4C93B0718498D19FFD696 /* IQKeyboardManager-dummy.m in Sources */ = {isa = PBXBuildFile; fileRef = 649837298454F83E8144C58772716966 /* IQKeyboardManager-dummy.m */; };\n\t\t367548C5A2EC0FDBB1B5DB9CAE4AFC57 /* MJRefreshBackGifFooter.h in Headers */ = {isa = PBXBuildFile; fileRef = FD248A6F40362D9EF3809F550A251C75 /* MJRefreshBackGifFooter.h */; settings = {ATTRIBUTES = (Project, ); }; };\n\t\t37AB6438A6A2EA3A12521FBD7B286F04 /* Pods-CKMeiTuanShopView-dummy.m in Sources */ = {isa = PBXBuildFile; fileRef = C54D6B28E36826F91C66A854B938CE20 /* Pods-CKMeiTuanShopView-dummy.m */; };\n\t\t381B7AE4D90DB87F384B22E7C1540901 /* UIRefreshControl+AFNetworking.h in Headers */ = {isa = PBXBuildFile; fileRef = 5EA06D39BE3BB30F7CAB0993DBF419C7 /* UIRefreshControl+AFNetworking.h */; settings = {ATTRIBUTES = (Project, ); }; };\n\t\t3887C2A6B97237FAF76B9BC8F73A75FC /* NSButton+WebCache.h in Headers */ = {isa = PBXBuildFile; fileRef = 5607B81B431F831E45EAD8D468B6909C /* NSButton+WebCache.h */; settings = {ATTRIBUTES = (Project, ); }; };\n\t\t3900DFA1603FCF8682419667AFC6002F /* SDWebImageImageIOCoder.m in Sources */ = {isa = PBXBuildFile; fileRef = DEBA3FEECD41A0A4ED1B6CBF7008321C /* SDWebImageImageIOCoder.m */; };\n\t\t394685034942F5FA49C1E8A0CCFD93F9 /* UIKit+AFNetworking.h in Headers */ = {isa = PBXBuildFile; fileRef = 6E3AA079F08094FC8DED54681851D4AF /* UIKit+AFNetworking.h */; settings = {ATTRIBUTES = (Project, ); }; };\n\t\t3BE2B8DF14E40C80FD77000DFF97E1F2 /* AFURLResponseSerialization.h in Headers */ = {isa = PBXBuildFile; fileRef = 98F4FB200CB5D6F4AF6D96649EEFB9B3 /* AFURLResponseSerialization.h */; settings = {ATTRIBUTES = (Project, ); }; };\n\t\t3CB0DCF4EECBF247DF7340A30C4F98E6 /* MJRefreshAutoNormalFooter.h in Headers */ = {isa = PBXBuildFile; fileRef = E22C1B8A69949D3E25EB45CBF0F860B1 /* MJRefreshAutoNormalFooter.h */; settings = {ATTRIBUTES = (Project, ); }; };\n\t\t3E44350BC8A888C2C356C12E2555CDEA /* NSImage+WebCache.h in Headers */ = {isa = PBXBuildFile; fileRef = EC200DE07039564FC22F41E3EDA6BE8A /* NSImage+WebCache.h */; settings = {ATTRIBUTES = (Project, ); }; };\n\t\t3E8E6916C563B9CB12AA417275FC6EB3 /* NSLayoutConstraint+MASDebugAdditions.m in Sources */ = {isa = PBXBuildFile; fileRef = F41150B3CA59DABF15FA6EED02960852 /* NSLayoutConstraint+MASDebugAdditions.m */; };\n\t\t3EAB19A608770913B8A78A0A9BDB818D /* NSData+ImageContentType.h in Headers */ = {isa = PBXBuildFile; fileRef = C968DAAF4B8479DD1212B231D7E51398 /* NSData+ImageContentType.h */; settings = {ATTRIBUTES = (Project, ); }; };\n\t\t3ECBF67EB4A99CBC1F04154ED07C25EC /* SDWebImageCompat.m in Sources */ = {isa = PBXBuildFile; fileRef = 62481C62B368316FCA335AAF70FFA7EE /* SDWebImageCompat.m */; };\n\t\t3FBFF015B78FCB610A10AC30E979D239 /* IQUIView+IQKeyboardToolbar.h in Headers */ = {isa = PBXBuildFile; fileRef = A1C83B7AF8A2B8B619852AD14A455176 /* IQUIView+IQKeyboardToolbar.h */; settings = {ATTRIBUTES = (Project, ); }; };\n\t\t43CD2D85B19B7EF499C84986357EE442 /* JSONModelClassProperty.h in Headers */ = {isa = PBXBuildFile; fileRef = 22DFE045DCA062C30F2293C54426FA92 /* JSONModelClassProperty.h */; settings = {ATTRIBUTES = (Project, ); }; };\n\t\t44C04CD549A629017B887FE4FCE0F589 /* UIScrollView+MJExtension.h in Headers */ = {isa = PBXBuildFile; fileRef = 46777865D3540B530A92F0634911FDA7 /* UIScrollView+MJExtension.h */; settings = {ATTRIBUTES = (Project, ); }; };\n\t\t452FA80139D393F7212F57FC157E5A8E /* CoreGraphics.framework in Frameworks */ = {isa = PBXBuildFile; fileRef = CCEDD084C280BDDA89FA4DC76D52A359 /* CoreGraphics.framework */; };\n\t\t46B538AFD3B41E0E9E53F78C76D65AA9 /* Foundation.framework in Frameworks */ = {isa = PBXBuildFile; fileRef = 7B1077777AC68CEF17E0DAA394FA8E3F /* Foundation.framework */; };\n\t\t49007499B497D9E2A11F990274A60ED8 /* AFNetworking-dummy.m in Sources */ = {isa = PBXBuildFile; fileRef = 5B3D0A85E6A457B53E83FDDA1AE7FADF /* AFNetworking-dummy.m */; };\n\t\t494E55287D62470EB5F886CB074EA454 /* SDWebImageDownloaderOperation.m in Sources */ = {isa = PBXBuildFile; fileRef = 6CE2BF06CA095D6DCF251897E908D122 /* SDWebImageDownloaderOperation.m */; };\n\t\t497A76E88D92C8DE09898281F661ADB4 /* NSData+ImageContentType.m in Sources */ = {isa = PBXBuildFile; fileRef = 2802132384B84AC67785E22EEC9B9A6D /* NSData+ImageContentType.m */; };\n\t\t4AB16F37F3DB310D29874942A952568B /* UIImage+AFNetworking.h in Headers */ = {isa = PBXBuildFile; fileRef = 07658CC763408BE00B090DDB7A4FB5F2 /* UIImage+AFNetworking.h */; settings = {ATTRIBUTES = (Project, ); }; };\n\t\t4BEF78E1065A136DE9EFA3756298A136 /* MJRefreshBackNormalFooter.m in Sources */ = {isa = PBXBuildFile; fileRef = 165D84D8F003A454616469F825EF11D6 /* MJRefreshBackNormalFooter.m */; };\n\t\t4C0FD3FE2060705D4B50EB795E637F86 /* JSONModelError.m in Sources */ = {isa = PBXBuildFile; fileRef = EB8564D26A815B7E235BB052793C1CDF /* JSONModelError.m */; };\n\t\t4D9A1C080AA31B7E5F22A9468B60C1B0 /* JSONAPI.h in Headers */ = {isa = PBXBuildFile; fileRef = A1059693069E66F6E0FF45E00767F0E1 /* JSONAPI.h */; settings = {ATTRIBUTES = (Project, ); }; };\n\t\t4F8BB5F8AB4A82683D9C3A0D65E2BE66 /* SDImageCache.h in Headers */ = {isa = PBXBuildFile; fileRef = 0D502E0A6679D6A110146A7233326ABE /* SDImageCache.h */; settings = {ATTRIBUTES = (Project, ); }; };\n\t\t51AC416EC6CE3452E484DAC6AB0C39BC /* MJRefreshHeader.m in Sources */ = {isa = PBXBuildFile; fileRef = 85F96DD0D7BEDA4A58976F79488C734A /* MJRefreshHeader.m */; };\n\t\t523F69012549DCADB26D11EFB6593B5B /* Masonry.h in Headers */ = {isa = PBXBuildFile; fileRef = BC85C4BF5AFDE1C82650A6345EDD3E3D /* Masonry.h */; settings = {ATTRIBUTES = (Project, ); }; };\n\t\t5652A23731748148CBE5E8794A035612 /* UIView+MJExtension.h in Headers */ = {isa = PBXBuildFile; fileRef = 815E47734E8A3C0BB660AD9CCC50D8E5 /* UIView+MJExtension.h */; settings = {ATTRIBUTES = (Project, ); }; };\n\t\t573164B6986DF363037541BB9AAFE0F1 /* MJRefreshGifHeader.m in Sources */ = {isa = PBXBuildFile; fileRef = F3E56203EA3EAA3A2EC5075754B165C0 /* MJRefreshGifHeader.m */; };\n\t\t581FC7FC90FCA8763D87222D58F356C0 /* MJRefreshAutoGifFooter.h in Headers */ = {isa = PBXBuildFile; fileRef = 1B53CEDD279FB645B19382B4DD1F7583 /* MJRefreshAutoGifFooter.h */; settings = {ATTRIBUTES = (Project, ); }; };\n\t\t5C0F7581C20219C281BA5DEE500077F9 /* MJRefreshStateHeader.m in Sources */ = {isa = PBXBuildFile; fileRef = 86959761A202F2545D1564FE66791F38 /* MJRefreshStateHeader.m */; };\n\t\t5EBFADB0ACACA114B98082EBD8FDA650 /* MASViewConstraint.h in Headers */ = {isa = PBXBuildFile; fileRef = 1576645C235C2BA60268F89C87BC372F /* MASViewConstraint.h */; settings = {ATTRIBUTES = (Project, ); }; };\n\t\t5ECB3B4EE63B35693244DC8E476272AF /* IQKeyboardManagerConstants.h in Headers */ = {isa = PBXBuildFile; fileRef = CCAF23CBD979883A953DDFCAC2F7235B /* IQKeyboardManagerConstants.h */; settings = {ATTRIBUTES = (Project, ); }; };\n\t\t61CCEA01CBE8EFFA5515E7A0D8635AAE /* MASCompositeConstraint.m in Sources */ = {isa = PBXBuildFile; fileRef = 655F8119C2E04E6B0901518F680B1AA1 /* MASCompositeConstraint.m */; };\n\t\t63391430C243A5D8449DFC2F945455A3 /* IQToolbar.h in Headers */ = {isa = PBXBuildFile; fileRef = 942C4532EF198853220A432D58422DD2 /* IQToolbar.h */; settings = {ATTRIBUTES = (Project, ); }; };\n\t\t65F56DD218227209F7AFCF2A15EDCE2D /* AFNetworking.h in Headers */ = {isa = PBXBuildFile; fileRef = 055B859FB30F264CD31B98ABBC388701 /* AFNetworking.h */; settings = {ATTRIBUTES = (Project, ); }; };\n\t\t66E3164519B5436903757501E2982E3E /* IQTextView.h in Headers */ = {isa = PBXBuildFile; fileRef = 8CB6CEE856DE92651E1990407B44D4BB /* IQTextView.h */; settings = {ATTRIBUTES = (Project, ); }; };\n\t\t677767C75BD3CAEE224F5ED5670B5872 /* MJRefreshConst.m in Sources */ = {isa = PBXBuildFile; fileRef = E05E32E3CC552529A3CA3EDF4AC8C2BD /* MJRefreshConst.m */; };\n\t\t68F98758BA84B8EC3472A8C6FD646D16 /* Masonry-dummy.m in Sources */ = {isa = PBXBuildFile; fileRef = 6FDD8673C0216FB65AB93DE0BDEFF907 /* Masonry-dummy.m */; };\n\t\t6B5C4F01AEFD4D5974480AC2EB032251 /* UIScrollView+MJExtension.m in Sources */ = {isa = PBXBuildFile; fileRef = 76A412A95DB82662CC347D5A87C53441 /* UIScrollView+MJExtension.m */; };\n\t\t6B5E29AF5CC52D74BF3101BC7E2C59A1 /* AFCompatibilityMacros.h in Headers */ = {isa = PBXBuildFile; fileRef = 92B6BBB6C315EC259D88AE15492CB00C /* AFCompatibilityMacros.h */; settings = {ATTRIBUTES = (Project, ); }; };\n\t\t6D30D526D42FB8BD39880C9C7C051CC8 /* JSONKeyMapper.m in Sources */ = {isa = PBXBuildFile; fileRef = B5D3022E3C0E43A8341A77DF4A1C8CBF /* JSONKeyMapper.m */; };\n\t\t6FBEF9BEF976F73220F5EA0246FA6674 /* MASConstraint.h in Headers */ = {isa = PBXBuildFile; fileRef = 9368782BB739A9D126E04B22303D9202 /* MASConstraint.h */; settings = {ATTRIBUTES = (Project, ); }; };\n\t\t7144D3B203E74EE6011646A365F64502 /* MJRefreshFooter.h in Headers */ = {isa = PBXBuildFile; fileRef = AA17B0A0C5BB1D2307458B0860AD53F4 /* MJRefreshFooter.h */; settings = {ATTRIBUTES = (Project, ); }; };\n\t\t71535BC0C8DBE3B520D3AB5AC60D2E89 /* UIImageView+HighlightedWebCache.h in Headers */ = {isa = PBXBuildFile; fileRef = F2A4BA4A981FA7EDECBFFAFDFEE402B0 /* UIImageView+HighlightedWebCache.h */; settings = {ATTRIBUTES = (Project, ); }; };\n\t\t739ADAF7569E923F69FBF5332A72B036 /* IQToolbar.m in Sources */ = {isa = PBXBuildFile; fileRef = 36350DBB0F09F3F134040D39B4C12180 /* IQToolbar.m */; };\n\t\t73F8A20273DDD2758D6E74523CD46C9A /* IQUIViewController+Additions.h in Headers */ = {isa = PBXBuildFile; fileRef = F174FC7BF0F8FB5A45DB1844AA9451EF /* IQUIViewController+Additions.h */; settings = {ATTRIBUTES = (Project, ); }; };\n\t\t76C933FFC995890E79CC7343F7BCF32F /* SDWebImageCompat.h in Headers */ = {isa = PBXBuildFile; fileRef = 3E0CF4271F4F30090E68F88C2D646CE4 /* SDWebImageCompat.h */; settings = {ATTRIBUTES = (Project, ); }; };\n\t\t7966709F2A541B2966934B220072C118 /* NSButton+WebCache.m in Sources */ = {isa = PBXBuildFile; fileRef = D830C6B98CF93347BACB91A39444BD0B /* NSButton+WebCache.m */; };\n\t\t79937C9C63DEB8056D54BE6882089A85 /* NSBundle+MJRefresh.m in Sources */ = {isa = PBXBuildFile; fileRef = 2EFD6AEEC35AE9336BF7F938219CD459 /* NSBundle+MJRefresh.m */; };\n\t\t79992E5FAA17690D47F4CD9D2AB74F26 /* MJRefreshAutoGifFooter.m in Sources */ = {isa = PBXBuildFile; fileRef = 71A0E6FA0AF7C99580E4B50C0C6CA805 /* MJRefreshAutoGifFooter.m */; };\n\t\t7A37E2F0B3BB402D14E60E386519E392 /* UIView+MJExtension.m in Sources */ = {isa = PBXBuildFile; fileRef = 0F7F8423CCA06EA9385E13E251EB13ED /* UIView+MJExtension.m */; };\n\t\t7AC0D0965486ED43C064F1BC177ACBC9 /* MASUtilities.h in Headers */ = {isa = PBXBuildFile; fileRef = D6A0729E53DB0DF8B08FD6B3612DA23D /* MASUtilities.h */; settings = {ATTRIBUTES = (Project, ); }; };\n\t\t7B6C0C29E2AC0F93F9C525BC89123049 /* SystemConfiguration.framework in Frameworks */ = {isa = PBXBuildFile; fileRef = 298708999EC11F8180A02C8234F866DF /* SystemConfiguration.framework */; };\n\t\t7BDDE51AF16FA53A09506EDB91E1C3C2 /* NSArray+MASAdditions.m in Sources */ = {isa = PBXBuildFile; fileRef = F3BE4FB3E26549B03E4BCC72BD439BB8 /* NSArray+MASAdditions.m */; };\n\t\t7E2F48498990FF0F0786C23E6AD57164 /* SDAnimatedImageRep.h in Headers */ = {isa = PBXBuildFile; fileRef = 71693AD16BBB8076F062D95F8E0507AD /* SDAnimatedImageRep.h */; settings = {ATTRIBUTES = (Project, ); }; };\n\t\t7EFF7912664C65FA7DEAD8CC4837E9EF /* UIScrollView+MJRefresh.m in Sources */ = {isa = PBXBuildFile; fileRef = B65FF06B4D8C9D3B68EE1340014AB01B /* UIScrollView+MJRefresh.m */; };\n\t\t7F4B3DFF3848E512F7FCFA7B76DA2A9F /* IQUITextFieldView+Additions.m in Sources */ = {isa = PBXBuildFile; fileRef = 900E6C38664DDD02FD9220587315BEA9 /* IQUITextFieldView+Additions.m */; };\n\t\t818876C655F5334187A65A52ADC13899 /* UIImage+ForceDecode.h in Headers */ = {isa = PBXBuildFile; fileRef = 9FC34005AFEC5A413340BE6AFC5F8205 /* UIImage+ForceDecode.h */; settings = {ATTRIBUTES = (Project, ); }; };\n\t\t81C1291C7ABA4942277F5756671AEE37 /* MASConstraint+Private.h in Headers */ = {isa = PBXBuildFile; fileRef = 97BA14749414BDF300B90BB317303DC0 /* MASConstraint+Private.h */; settings = {ATTRIBUTES = (Project, ); }; };\n\t\t85AC20F21D048A0B0364DA067BBFDDE6 /* SDWebImageFrame.h in Headers */ = {isa = PBXBuildFile; fileRef = 48D4210E421744955550D766903FC2C9 /* SDWebImageFrame.h */; settings = {ATTRIBUTES = (Project, ); }; };\n\t\t85D89322451CE3E68557807D935F7579 /* CoreGraphics.framework in Frameworks */ = {isa = PBXBuildFile; fileRef = CCEDD084C280BDDA89FA4DC76D52A359 /* CoreGraphics.framework */; };\n\t\t86B2DF4CC6E598AAA73D0CC6EEBA0E96 /* ViewController+MASAdditions.h in Headers */ = {isa = PBXBuildFile; fileRef = 7BF4A280B8EB328BD45450273C8137A2 /* ViewController+MASAdditions.h */; settings = {ATTRIBUTES = (Project, ); }; };\n\t\t8747045F93FA4659A5B4ED3D1E7A5F00 /* JSONHTTPClient.m in Sources */ = {isa = PBXBuildFile; fileRef = 6E6AFD1FA062A85473D365A124A63518 /* JSONHTTPClient.m */; };\n\t\t87683757B7B15F677EFA76037734127B /* AFNetworkReachabilityManager.m in Sources */ = {isa = PBXBuildFile; fileRef = 86A20EE8321B3832CFA99A2E3499677A /* AFNetworkReachabilityManager.m */; };\n\t\t87D100CB62B0095A58AB342A05213A95 /* AFAutoPurgingImageCache.m in Sources */ = {isa = PBXBuildFile; fileRef = 50A48C40592674FBD4DD121F72259442 /* AFAutoPurgingImageCache.m */; };\n\t\t89450A58FD91E5B227171FC75160E4EA /* MASConstraint.m in Sources */ = {isa = PBXBuildFile; fileRef = 46DC3ACBF16E4AE3C428FBEADEB9746D /* MASConstraint.m */; };\n\t\t8A3FE2C9859B734BCCF232A1F6B4BDCC /* MJRefreshAutoFooter.m in Sources */ = {isa = PBXBuildFile; fileRef = 9FF4C03D27CF05261DC3E872097E386B /* MJRefreshAutoFooter.m */; };\n\t\t8A49D61B987AF301489E7CF3FAA61C50 /* AFNetworkActivityIndicatorManager.m in Sources */ = {isa = PBXBuildFile; fileRef = 9672167A5CB36F21555EB8667E00E648 /* AFNetworkActivityIndicatorManager.m */; };\n\t\t8BFDD24EA734D85A262AAE9A3AA33222 /* UIProgressView+AFNetworking.h in Headers */ = {isa = PBXBuildFile; fileRef = CB4C94EFBC30036105D5B196BE7A390D /* UIProgressView+AFNetworking.h */; settings = {ATTRIBUTES = (Project, ); }; };\n\t\t8D4FC3AE88ECF9CBA0079DA7249C4476 /* MJRefreshAutoStateFooter.m in Sources */ = {isa = PBXBuildFile; fileRef = 211383DA292E2341205669D9709CA26B /* MJRefreshAutoStateFooter.m */; };\n\t\t8E05402B04BC0FE6DE6998C8288F559B /* IQPreviousNextView.h in Headers */ = {isa = PBXBuildFile; fileRef = 84F8F51C39A7E61A3F242C5F314C4573 /* IQPreviousNextView.h */; settings = {ATTRIBUTES = (Project, ); }; };\n\t\t911FC8E31DDA0EB42502C2D94A5F70DA /* SDWebImageGIFCoder.m in Sources */ = {isa = PBXBuildFile; fileRef = 2FBCF183467E8CE4D7286D55EFDE77B3 /* SDWebImageGIFCoder.m */; };\n\t\t912EA0C6D7ED28B7FDA603B2A965B16D /* AFURLSessionManager.m in Sources */ = {isa = PBXBuildFile; fileRef = 48A0A184D6BACD66155704FED8A26BA6 /* AFURLSessionManager.m */; };\n\t\t91765C3D6BA6E88AEDE3DAC36C9A0D4D /* UIImage+MultiFormat.h in Headers */ = {isa = PBXBuildFile; fileRef = 2F19363E1A8200F58033D3A6DD0C6738 /* UIImage+MultiFormat.h */; settings = {ATTRIBUTES = (Project, ); }; };\n\t\t92711327ED7920702A69A828271279AE /* View+MASShorthandAdditions.h in Headers */ = {isa = PBXBuildFile; fileRef = 44DF894B1952115C464D96A3DEAE1469 /* View+MASShorthandAdditions.h */; settings = {ATTRIBUTES = (Project, ); }; };\n\t\t9272085131E5B9072B7C0F4B21008A6D /* AFNetworkReachabilityManager.h in Headers */ = {isa = PBXBuildFile; fileRef = 2A8B2C5250F37FACD509829A818D43E9 /* AFNetworkReachabilityManager.h */; settings = {ATTRIBUTES = (Project, ); }; };\n\t\t935782A2C79C525F33690680ED4C98B2 /* MJRefreshAutoNormalFooter.m in Sources */ = {isa = PBXBuildFile; fileRef = 9045CD1C3BA3C6746F1E615026E151F9 /* MJRefreshAutoNormalFooter.m */; };\n\t\t93780EA70BC34B10046D564F3AF2F2E1 /* SDWebImageCoder.h in Headers */ = {isa = PBXBuildFile; fileRef = FA812C8EBFA4BDC1E69D14C7C13A3C58 /* SDWebImageCoder.h */; settings = {ATTRIBUTES = (Project, ); }; };\n\t\t944157BB28D88976C023E1D87C8268AA /* SDWebImageFrame.m in Sources */ = {isa = PBXBuildFile; fileRef = 7B5F975D69BC82E86E925ED7C7517396 /* SDWebImageFrame.m */; };\n\t\t94E744F8018C62C107FA8E053CEA7BA1 /* CoreGraphics.framework in Frameworks */ = {isa = PBXBuildFile; fileRef = CCEDD084C280BDDA89FA4DC76D52A359 /* CoreGraphics.framework */; };\n\t\t955BE39896CA35F2A585DC3309E5FDA5 /* MASLayoutConstraint.m in Sources */ = {isa = PBXBuildFile; fileRef = 02813F02AFDCE8F316C5C7B7C5342B0D /* MASLayoutConstraint.m */; };\n\t\t97498D4881297B6FC9342DE2DFCDD173 /* SDWebImageCoderHelper.h in Headers */ = {isa = PBXBuildFile; fileRef = 25CA6D68E68A4C0BE409FB67069131E8 /* SDWebImageCoderHelper.h */; settings = {ATTRIBUTES = (Project, ); }; };\n\t\t97ACF1603BEF20B66F0058CCF0AE05B2 /* AFImageDownloader.h in Headers */ = {isa = PBXBuildFile; fileRef = 94A43B8C857DD1704382376EB059966F /* AFImageDownloader.h */; settings = {ATTRIBUTES = (Project, ); }; };\n\t\t97B5DDC289C8AD26F68C53478F73EC71 /* SDWebImageGIFCoder.h in Headers */ = {isa = PBXBuildFile; fileRef = 43432F5BDD67CC010395E5E889BE48F9 /* SDWebImageGIFCoder.h */; settings = {ATTRIBUTES = (Project, ); }; };\n\t\t9850E882580946A760AA98D482597717 /* UIImage+GIF.h in Headers */ = {isa = PBXBuildFile; fileRef = 71385504D7D50839436BED58331C229D /* UIImage+GIF.h */; settings = {ATTRIBUTES = (Project, ); }; };\n\t\t9974FFB0D85A356B246257AF1EC90E82 /* SDWebImageTransition.m in Sources */ = {isa = PBXBuildFile; fileRef = 3F087D9FB8FC0EC5CE4E090010955495 /* SDWebImageTransition.m */; };\n\t\t9AB27A7F752AB644728D50B0228A070E /* MASLayoutConstraint.h in Headers */ = {isa = PBXBuildFile; fileRef = E40D2C513286835189103AC2C9C78CF6 /* MASLayoutConstraint.h */; settings = {ATTRIBUTES = (Project, ); }; };\n\t\t9BFA18F9D40F5EFBEF6786865026628E /* UIView+WebCache.h in Headers */ = {isa = PBXBuildFile; fileRef = 091B0463C9A5CFDD88D5217495A83029 /* UIView+WebCache.h */; settings = {ATTRIBUTES = (Project, ); }; };\n\t\t9BFAE06AC2F3B426C64EEDBF8C99A69E /* NSArray+MASAdditions.h in Headers */ = {isa = PBXBuildFile; fileRef = D92AA134D8C416BA2D30B655C9426FC3 /* NSArray+MASAdditions.h */; settings = {ATTRIBUTES = (Project, ); }; };\n\t\t9C5491AE50773281F9F5F4E9C2FDB59C /* MJRefreshComponent.m in Sources */ = {isa = PBXBuildFile; fileRef = 781F7906B78028CA5D2202F266FEC7ED /* MJRefreshComponent.m */; };\n\t\t9C853E0503634DDBA6DB1123CAAE0DC9 /* UIKit.framework in Frameworks */ = {isa = PBXBuildFile; fileRef = 6A296C8316B24EFAEBFD88B95BFD88C7 /* UIKit.framework */; };\n\t\t9D9B57165172AE727DF0C3D24190B8F3 /* UIImage+GIF.m in Sources */ = {isa = PBXBuildFile; fileRef = 7F29887BB7024C272D6272610E5F25F6 /* UIImage+GIF.m */; };\n\t\t9DADA771D05EF0C45355B6544AFB5C16 /* IQKeyboardManager.h in Headers */ = {isa = PBXBuildFile; fileRef = 22C0DCA8E9A859C768627682EF3A98F5 /* IQKeyboardManager.h */; settings = {ATTRIBUTES = (Project, ); }; };\n\t\tA1896B941964FABAEF36F6458389B824 /* MJRefreshComponent.h in Headers */ = {isa = PBXBuildFile; fileRef = 68916B264463D8B55C9999AFEE3F57EF /* MJRefreshComponent.h */; settings = {ATTRIBUTES = (Project, ); }; };\n\t\tA1FA046FDFC42676D17FEC387B10D24A /* View+MASAdditions.m in Sources */ = {isa = PBXBuildFile; fileRef = 83F74F4B6795B1BA60F189FC5861257C /* View+MASAdditions.m */; };\n\t\tAB5E0668ECE58C8965EACB5078BA644A /* AFHTTPSessionManager.h in Headers */ = {isa = PBXBuildFile; fileRef = 047E568C9F7EFED9EC0FB20C7B697D87 /* AFHTTPSessionManager.h */; settings = {ATTRIBUTES = (Project, ); }; };\n\t\tAC8D186EE1BC6C944C4DBFDFEF95698B /* SDWebImageTransition.h in Headers */ = {isa = PBXBuildFile; fileRef = 6F668CAAA39CB1143C43CF8024723A2C /* SDWebImageTransition.h */; settings = {ATTRIBUTES = (Project, ); }; };\n\t\tACD96A5AA67379CAA1DA67F2CDD340B3 /* JSONValueTransformer.h in Headers */ = {isa = PBXBuildFile; fileRef = 3F527CA0DC0885E44F10F62CC7AB3A2A /* JSONValueTransformer.h */; settings = {ATTRIBUTES = (Project, ); }; };\n\t\tAF78683CEF1381E2C0BF8790A449A7CA /* UIView+WebCache.m in Sources */ = {isa = PBXBuildFile; fileRef = 189318FE7451253F0040A6CF0C9D7966 /* UIView+WebCache.m */; };\n\t\tB208DFD782346C6A1F400EAB2DF36455 /* QuartzCore.framework in Frameworks */ = {isa = PBXBuildFile; fileRef = 536AE7A0CDAD2846698943B32623CD88 /* QuartzCore.framework */; };\n\t\tB2CEC9E22024D517980E298D432BADFA /* MJRefresh.h in Headers */ = {isa = PBXBuildFile; fileRef = A35F27CB0E69D2B1D7E4EC37206DBBE3 /* MJRefresh.h */; settings = {ATTRIBUTES = (Project, ); }; };\n\t\tB31415956275112FF97C6D24263BC768 /* MJRefreshBackNormalFooter.h in Headers */ = {isa = PBXBuildFile; fileRef = 043C8F289F5D202105B7AC3193CEFC4B /* MJRefreshBackNormalFooter.h */; settings = {ATTRIBUTES = (Project, ); }; };\n\t\tB3954BD0A3F350EDB5DC9B7E895C824B /* IQKeyboardReturnKeyHandler.m in Sources */ = {isa = PBXBuildFile; fileRef = 07BA75BAB50A4867FE6E393C6FA0E6BE /* IQKeyboardReturnKeyHandler.m */; };\n\t\tB3D30C9DAA6690CF07F3E78342EDCD43 /* SDWebImageCoder.m in Sources */ = {isa = PBXBuildFile; fileRef = 1E1A4D20C261AB807198E144EB0D79B3 /* SDWebImageCoder.m */; };\n\t\tB5EC5518E18B05A5334C49ABBF4C78F7 /* MASConstraintMaker.h in Headers */ = {isa = PBXBuildFile; fileRef = A42DBD13DC3011C2A7ABA399676C9060 /* MASConstraintMaker.h */; settings = {ATTRIBUTES = (Project, ); }; };\n\t\tBB4081015DA88477E27A91FC9C713B0C /* MBProgressHUD.m in Sources */ = {isa = PBXBuildFile; fileRef = C125EE2696892D1D92D34B40ADF01529 /* MBProgressHUD.m */; };\n\t\tBC83EB7646163EC9C870401EA11C25F0 /* SDWebImageDownloader.m in Sources */ = {isa = PBXBuildFile; fileRef = BA33D3E43E92A561A9A7C5879CE85CC4 /* SDWebImageDownloader.m */; };\n\t\tBE08FC3CA35C9B85C0B51D945646E7E3 /* MBProgressHUD.h in Headers */ = {isa = PBXBuildFile; fileRef = A6DBA11C42E5765840699D6680828779 /* MBProgressHUD.h */; settings = {ATTRIBUTES = (Project, ); }; };\n\t\tBEE14F310402AD896792AA9B9C1BD077 /* SDWebImageImageIOCoder.h in Headers */ = {isa = PBXBuildFile; fileRef = 092119ED686EB41EA9556AF3F5571E8C /* SDWebImageImageIOCoder.h */; settings = {ATTRIBUTES = (Project, ); }; };\n\t\tBFE44435DE67E992BC197AA192C1DA88 /* IQUITextFieldView+Additions.h in Headers */ = {isa = PBXBuildFile; fileRef = 5B5B17567BB1FC6DFDD9F4616D74474C /* IQUITextFieldView+Additions.h */; settings = {ATTRIBUTES = (Project, ); }; };\n\t\tC003574556A419434A9DDD5573246609 /* QuartzCore.framework in Frameworks */ = {isa = PBXBuildFile; fileRef = 536AE7A0CDAD2846698943B32623CD88 /* QuartzCore.framework */; };\n\t\tC00F796F20009AD46CD3910D5A1AA20F /* SDAnimatedImageRep.m in Sources */ = {isa = PBXBuildFile; fileRef = 46DD52FF1C07F8F59DF74F2421AF3C74 /* SDAnimatedImageRep.m */; };\n\t\tC05337A19BC03420EE59861B36F0B7D9 /* AFHTTPSessionManager.m in Sources */ = {isa = PBXBuildFile; fileRef = 0DE8BF3EE5EA937DE01C67A27F37DD79 /* AFHTTPSessionManager.m */; };\n\t\tC0880FB8A5FEBD18937924CB981C5EAB /* IQNSArray+Sort.m in Sources */ = {isa = PBXBuildFile; fileRef = D1A2ECC05546A21BC4F67C686FA4EF17 /* IQNSArray+Sort.m */; };\n\t\tC1D7647AD60CE3CCD9D86B030A36E442 /* UIActivityIndicatorView+AFNetworking.h in Headers */ = {isa = PBXBuildFile; fileRef = 9CB1315D5EF9F1AE71C34B3A4ED37E5C /* UIActivityIndicatorView+AFNetworking.h */; settings = {ATTRIBUTES = (Project, ); }; };\n\t\tC36ECE1885D6B6782248E5AFFA5E0352 /* MJRefreshAutoStateFooter.h in Headers */ = {isa = PBXBuildFile; fileRef = 8BD1FDB0190B9FFBFC42744B1B4A103D /* MJRefreshAutoStateFooter.h */; settings = {ATTRIBUTES = (Project, ); }; };\n\t\tC4720488CC6D5D454BE0C1AEF554B337 /* IQTitleBarButtonItem.h in Headers */ = {isa = PBXBuildFile; fileRef = F729F0917BB520D508FEAA84B546885A /* IQTitleBarButtonItem.h */; settings = {ATTRIBUTES = (Project, ); }; };\n\t\tC493AB53C8DA1397EB043353081690EE /* IQBarButtonItem.m in Sources */ = {isa = PBXBuildFile; fileRef = 3F3F6C918398180A2A2F0FED690628E2 /* IQBarButtonItem.m */; };\n\t\tC59AF1AD6B08F9F47F1E0C809A67D4B2 /* JSONValueTransformer.m in Sources */ = {isa = PBXBuildFile; fileRef = B6FF690A4E1746B96F4EA0582670EDB5 /* JSONValueTransformer.m */; };\n\t\tC5A58C6A82A9E4CBE9E1CE877E3C55AB /* AFImageDownloader.m in Sources */ = {isa = PBXBuildFile; fileRef = CEC313A9D33B2E526DA0888542B56E3B /* AFImageDownloader.m */; };\n\t\tC64649615017A15D5A768618699E03E1 /* UIWebView+AFNetworking.m in Sources */ = {isa = PBXBuildFile; fileRef = F9514CE7D35DF6B5D9EC1FC5CF0D83DF /* UIWebView+AFNetworking.m */; };\n\t\tC6E83C10646E2DF6C83A578CE6AF0E5A /* View+MASAdditions.h in Headers */ = {isa = PBXBuildFile; fileRef = 7C7B1880F8A3FFE984C771ABD035C8B9 /* View+MASAdditions.h */; settings = {ATTRIBUTES = (Project, ); }; };\n\t\tC70D8C8373AA1B91F7F36E0CD91F6C9D /* SDImageCache.m in Sources */ = {isa = PBXBuildFile; fileRef = 212C238B28ECDF4A67E870EDB1614A46 /* SDImageCache.m */; };\n\t\tC8F08270F5B2B28B10B91FDA4007C368 /* AFURLResponseSerialization.m in Sources */ = {isa = PBXBuildFile; fileRef = 96ABBB90FE39224F370EF082D62700D6 /* AFURLResponseSerialization.m */; };\n\t\tC973E131940932D82E6B18C79BDE6AFF /* AFURLRequestSerialization.h in Headers */ = {isa = PBXBuildFile; fileRef = F3878840F7FFA445AA5037C5C39E4327 /* AFURLRequestSerialization.h */; settings = {ATTRIBUTES = (Project, ); }; };\n\t\tC9C6C5D9934C16C0BB081525FF627E61 /* UIImageView+HighlightedWebCache.m in Sources */ = {isa = PBXBuildFile; fileRef = 258FDF51472BA6E79392430ABAA56EE8 /* UIImageView+HighlightedWebCache.m */; };\n\t\tCA935CE6460FF9FBDBBD4A5FA5663EE6 /* JSONModelClassProperty.m in Sources */ = {isa = PBXBuildFile; fileRef = F64CA8A154383326CCAF53A79E45F734 /* JSONModelClassProperty.m */; };\n\t\tCAEDE8F76BA68EB0718A6A754A58E2BF /* JSONModelLib.h in Headers */ = {isa = PBXBuildFile; fileRef = 83DC88DE035478E7C11BDE937F97811B /* JSONModelLib.h */; settings = {ATTRIBUTES = (Project, ); }; };\n\t\tCAFC9622F9174BACE6787BC24E3E4444 /* AFSecurityPolicy.h in Headers */ = {isa = PBXBuildFile; fileRef = D75E0AB25FBA9C94CC38D8073FD08C85 /* AFSecurityPolicy.h */; settings = {ATTRIBUTES = (Project, ); }; };\n\t\tCB225303BB0114B9759CBD02722BD9D2 /* Foundation.framework in Frameworks */ = {isa = PBXBuildFile; fileRef = 7B1077777AC68CEF17E0DAA394FA8E3F /* Foundation.framework */; };\n\t\tCB32B4D15F14AA6ACFEAB4811610D6A0 /* UIButton+WebCache.h in Headers */ = {isa = PBXBuildFile; fileRef = 754460029FBC2AFED4D3911A88C66E08 /* UIButton+WebCache.h */; settings = {ATTRIBUTES = (Project, ); }; };\n\t\tD131B9BE5167B85BE64F317B7D21ECB7 /* SDImageCacheConfig.m in Sources */ = {isa = PBXBuildFile; fileRef = 946ED4F65A930E27B87B4C64CF93448F /* SDImageCacheConfig.m */; };\n\t\tD2BF2A30F845978BD2257306C0A0F4F4 /* AFNetworkActivityIndicatorManager.h in Headers */ = {isa = PBXBuildFile; fileRef = B662AC86F01BC571112C98BBC57D69C0 /* AFNetworkActivityIndicatorManager.h */; settings = {ATTRIBUTES = (Project, ); }; };\n\t\tD49FF46F3D5BA6EFE0E4A12AF1B8E9A9 /* IQUIView+Hierarchy.h in Headers */ = {isa = PBXBuildFile; fileRef = 3FB959563DF7D2FE6C4C991D333F01EF /* IQUIView+Hierarchy.h */; settings = {ATTRIBUTES = (Project, ); }; };\n\t\tD5226D7319EB102A38C76B9B2E77BC89 /* MJRefreshConst.h in Headers */ = {isa = PBXBuildFile; fileRef = 5E19EC6D291215C7B977A8A986878DC8 /* MJRefreshConst.h */; settings = {ATTRIBUTES = (Project, ); }; };\n\t\tD669E6004423E44271C78E7FE5E5582B /* MBProgressHUD-dummy.m in Sources */ = {isa = PBXBuildFile; fileRef = 13BF75DF266C273C41FF335FE11F7744 /* MBProgressHUD-dummy.m */; };\n\t\tD6F7838E24908CCBD045074A218B1EE8 /* MJRefreshBackGifFooter.m in Sources */ = {isa = PBXBuildFile; fileRef = 731D898551F981D32F5AE01CA9B92433 /* MJRefreshBackGifFooter.m */; };\n\t\tD7CE05A743B7ACD50796191FA442814C /* ViewController+MASAdditions.m in Sources */ = {isa = PBXBuildFile; fileRef = B5AE0EA630B7F8A8474F8FE5154DCDD2 /* ViewController+MASAdditions.m */; };\n\t\tD8188D3ADB1BB024A8798BBED5593B5E /* IQKeyboardManagerConstantsInternal.h in Headers */ = {isa = PBXBuildFile; fileRef = 3BE565538E3E1F8F8457D54DE17F214D /* IQKeyboardManagerConstantsInternal.h */; settings = {ATTRIBUTES = (Project, ); }; };\n\t\tD865F1299909BDA5029ACA535789B510 /* IQBarButtonItem.h in Headers */ = {isa = PBXBuildFile; fileRef = 68730D85D43C46F0598728AF8EFE1E5D /* IQBarButtonItem.h */; settings = {ATTRIBUTES = (Project, ); }; };\n\t\tD98696BE1A49E14D1AC2F1E9FA5DC82E /* SDWebImageManager.h in Headers */ = {isa = PBXBuildFile; fileRef = 5AD18AE9111D576DB3D62B7FED6B1E66 /* SDWebImageManager.h */; settings = {ATTRIBUTES = (Project, ); }; };\n\t\tDB11D96468F2FB045746DB2DC9EC878A /* AFAutoPurgingImageCache.h in Headers */ = {isa = PBXBuildFile; fileRef = 05C52F33951AD52B6EE2D7F16084DF86 /* AFAutoPurgingImageCache.h */; settings = {ATTRIBUTES = (Project, ); }; };\n\t\tDE8DC7173E7D61FB765987EDBCCB7FB0 /* UIImageView+AFNetworking.m in Sources */ = {isa = PBXBuildFile; fileRef = 5409FCE15124E7503F7B8AA7E8AD8AA6 /* UIImageView+AFNetworking.m */; };\n\t\tDF6DCF8FC0B5E6B7750FDFB7B5729089 /* SDWebImageOperation.h in Headers */ = {isa = PBXBuildFile; fileRef = 75AC8508B82117BD2388134252218A4D /* SDWebImageOperation.h */; settings = {ATTRIBUTES = (Project, ); }; };\n\t\tDF7F88B58B564EDF169EC0C9CF8E5124 /* MASConstraintMaker.m in Sources */ = {isa = PBXBuildFile; fileRef = 097602A71B2C1007BE60C56AECE91D78 /* MASConstraintMaker.m */; };\n\t\tE07567BF333733CFD55EC2BD07C614CF /* NSBundle+MJRefresh.h in Headers */ = {isa = PBXBuildFile; fileRef = 59C95A3EBCE868275AF00DB69D3B1EF4 /* NSBundle+MJRefresh.h */; settings = {ATTRIBUTES = (Project, ); }; };\n\t\tE07F7C51868A67DD151C337E6F2EA6D6 /* IQPreviousNextView.m in Sources */ = {isa = PBXBuildFile; fileRef = 420658F05868578626DD62E9544AB362 /* IQPreviousNextView.m */; };\n\t\tE0E3ED8A5DF6AB934C1418C959A9D2FD /* SDWebImageCodersManager.h in Headers */ = {isa = PBXBuildFile; fileRef = D0C49A52712D5B3FDD7C25502B9DD9F4 /* SDWebImageCodersManager.h */; settings = {ATTRIBUTES = (Project, ); }; };\n\t\tE101FDBBFFE23CA5D3434CA002CED85A /* NSImage+WebCache.m in Sources */ = {isa = PBXBuildFile; fileRef = 4AF356DD0D6B70E4EB41B4441B05C09A /* NSImage+WebCache.m */; };\n\t\tE15CB9B0324893B34A7D0D06E85E909F /* UIImageView+WebCache.h in Headers */ = {isa = PBXBuildFile; fileRef = F1F1B43A9AF0FD277FB9AA0F46CC6DF8 /* UIImageView+WebCache.h */; settings = {ATTRIBUTES = (Project, ); }; };\n\t\tE28D315C00C8F9CD7D3A4887E94D6DAA /* AFURLSessionManager.h in Headers */ = {isa = PBXBuildFile; fileRef = 6469B0DE97EC3C337C7DEF928D660CC5 /* AFURLSessionManager.h */; settings = {ATTRIBUTES = (Project, ); }; };\n\t\tE2F5817E19C6E18ACD1B1AEEADD14614 /* MJRefreshAutoFooter.h in Headers */ = {isa = PBXBuildFile; fileRef = 91B14F7A7D966EC0378A851B4B8BB9F0 /* MJRefreshAutoFooter.h */; settings = {ATTRIBUTES = (Project, ); }; };\n\t\tE32307F2F563511737FCD523E9C4D391 /* IQNSArray+Sort.h in Headers */ = {isa = PBXBuildFile; fileRef = 3B6B6DF7459C009420C9477E6B988025 /* IQNSArray+Sort.h */; settings = {ATTRIBUTES = (Project, ); }; };\n\t\tE3AB8838B298241159A497F40752A67A /* SDWebImageCodersManager.m in Sources */ = {isa = PBXBuildFile; fileRef = 561445C0DE9A5EF6E8945E036B30A0F0 /* SDWebImageCodersManager.m */; };\n\t\tE581A2D6E3607CD5F15B2EB42E3436C0 /* SDWebImage-dummy.m in Sources */ = {isa = PBXBuildFile; fileRef = FD1D5EAAD8DF2CA1A7D724DC8884BF50 /* SDWebImage-dummy.m */; };\n\t\tE74C2BD17215F2B2257B1444C32784BA /* IQUIView+IQKeyboardToolbar.m in Sources */ = {isa = PBXBuildFile; fileRef = FB5C5918924F1F406F47B52BDF6C9B86 /* IQUIView+IQKeyboardToolbar.m */; };\n\t\tE818D98F5ED54FF8F72260606E97241B /* MJRefreshBackFooter.h in Headers */ = {isa = PBXBuildFile; fileRef = 6ED23BB9A53BCEEE16B8BC413F26BB87 /* MJRefreshBackFooter.h */; settings = {ATTRIBUTES = (Project, ); }; };\n\t\tEAFABACBA257B6B2FF394A8CC1B1BEB1 /* MJRefreshBackFooter.m in Sources */ = {isa = PBXBuildFile; fileRef = 2804CAC0E781A53FFE19D981C1D44281 /* MJRefreshBackFooter.m */; };\n\t\tEB05BD749E2DF33D5276576994178ECB /* UIImage+ForceDecode.m in Sources */ = {isa = PBXBuildFile; fileRef = CF2B09D0B4866290BD2968E459BF495A /* UIImage+ForceDecode.m */; };\n\t\tEB787F72C1DF3270CF66493633775065 /* JSONModel-dummy.m in Sources */ = {isa = PBXBuildFile; fileRef = A1497C2A11E327A3EC5146BA008E16A8 /* JSONModel-dummy.m */; };\n\t\tEB7E3754BBBB22ED74867C40D67DA990 /* JSONModel.m in Sources */ = {isa = PBXBuildFile; fileRef = 089A741D3CF2BEC18B399DDFF1419A36 /* JSONModel.m */; };\n\t\tEC04F2F828BAADBAB9FA13518F1F2EE7 /* UIWebView+AFNetworking.h in Headers */ = {isa = PBXBuildFile; fileRef = 56D9AD191DD7522A8D3A5E9985524EA7 /* UIWebView+AFNetworking.h */; settings = {ATTRIBUTES = (Project, ); }; };\n\t\tEC6F67D55D8FCDF3F76FF6D16A491BF7 /* UIButton+AFNetworking.h in Headers */ = {isa = PBXBuildFile; fileRef = 2560727E705165398131333EE349987C /* UIButton+AFNetworking.h */; settings = {ATTRIBUTES = (Project, ); }; };\n\t\tECD4D4937770BF8AB75C739EAA3A5DE5 /* MJRefreshBackStateFooter.h in Headers */ = {isa = PBXBuildFile; fileRef = CE9F45F1C5C94953B7CE8CBCA6C4A2D9 /* MJRefreshBackStateFooter.h */; settings = {ATTRIBUTES = (Project, ); }; };\n\t\tEF23ED9F9BE7443E830973846D7F3480 /* IQUIScrollView+Additions.m in Sources */ = {isa = PBXBuildFile; fileRef = 49D6EF8DC01818120C436057AA10910A /* IQUIScrollView+Additions.m */; };\n\t\tF05F4539FE29BE422E8F3EC26782B1A7 /* MJRefreshNormalHeader.h in Headers */ = {isa = PBXBuildFile; fileRef = 2D71F9AAF6A787722CFA32B8BA69C6BC /* MJRefreshNormalHeader.h */; settings = {ATTRIBUTES = (Project, ); }; };\n\t\tF16E8F1485414AA6CF110F3CFF4EADA2 /* MJRefreshFooter.m in Sources */ = {isa = PBXBuildFile; fileRef = 4FE02DD3901C8710F0CAC7F862874FCB /* MJRefreshFooter.m */; };\n\t\tF33C1CF8CB9CA3FE0BD907563D435549 /* SDWebImagePrefetcher.h in Headers */ = {isa = PBXBuildFile; fileRef = EA538CFE76E6657A63EC792CFA8FD5D1 /* SDWebImagePrefetcher.h */; settings = {ATTRIBUTES = (Project, ); }; };\n\t\tF39E719EC0DBFFD65ABE270D4CA559FA /* MJRefreshNormalHeader.m in Sources */ = {isa = PBXBuildFile; fileRef = F0D65A04126D96B1F5691912F64913C4 /* MJRefreshNormalHeader.m */; };\n\t\tF49C9CDB089E8335E0C6593F945E98CE /* IQTextView.m in Sources */ = {isa = PBXBuildFile; fileRef = 36B3F387C4DF3AD77C70BAE323D6775E /* IQTextView.m */; };\n\t\tF4E37076158983951363B96E4B63D776 /* IQUIView+Hierarchy.m in Sources */ = {isa = PBXBuildFile; fileRef = 1429AED655C1D66D8CB863E9E2C088A2 /* IQUIView+Hierarchy.m */; };\n\t\tF4EBD82B463CE6CE387693BCD8DC4BD7 /* ImageIO.framework in Frameworks */ = {isa = PBXBuildFile; fileRef = 355F0781F5A967DBB9D6F32FE54C1FB6 /* ImageIO.framework */; };\n\t\tF529C182C572AF6EE5CB25321644D467 /* SDWebImageDownloaderOperation.h in Headers */ = {isa = PBXBuildFile; fileRef = 46810B1FC079337AE8715B63423920EB /* SDWebImageDownloaderOperation.h */; settings = {ATTRIBUTES = (Project, ); }; };\n\t\tF6326994F3CD0CD13298840063CE0CF0 /* JSONKeyMapper.h in Headers */ = {isa = PBXBuildFile; fileRef = ABC43EB60DFE1140AE7BE1C68F6B510A /* JSONKeyMapper.h */; settings = {ATTRIBUTES = (Project, ); }; };\n\t\tF6A31A02A46D2B0BE72F2E5D837F70DD /* JSONAPI.m in Sources */ = {isa = PBXBuildFile; fileRef = A35350D799EF4AC1AAE298C89F75FC90 /* JSONAPI.m */; };\n\t\tF6CE47DBEE3FF8DFC5FB5743AAB191DA /* UIScrollView+MJRefresh.h in Headers */ = {isa = PBXBuildFile; fileRef = 39D3CF37F24DAAAAB66B851B6DC78F93 /* UIScrollView+MJRefresh.h */; settings = {ATTRIBUTES = (Project, ); }; };\n\t\tF861D2DADCE8A8F94F1DCB22EB8A6CE2 /* MASCompositeConstraint.h in Headers */ = {isa = PBXBuildFile; fileRef = 8847EC2DE1616A45FCA0B9FA11163EBA /* MASCompositeConstraint.h */; settings = {ATTRIBUTES = (Project, ); }; };\n\t\tF90BEF6AFF58434F9A29C235CBC63F9C /* JSONModelError.h in Headers */ = {isa = PBXBuildFile; fileRef = 522DE1350A47486F796269A1AE7B64D2 /* JSONModelError.h */; settings = {ATTRIBUTES = (Project, ); }; };\n\t\tF9CF536BC5A68DCA9D3EECEAA2D89EC7 /* JSONHTTPClient.h in Headers */ = {isa = PBXBuildFile; fileRef = E10621253D7C472F0A05D590F7F6D3F8 /* JSONHTTPClient.h */; settings = {ATTRIBUTES = (Project, ); }; };\n\t\tFB2D6684809FC69FE060B456E307F0D8 /* UIKit.framework in Frameworks */ = {isa = PBXBuildFile; fileRef = 6A296C8316B24EFAEBFD88B95BFD88C7 /* UIKit.framework */; };\n\t\tFB415F79751F1A1F2203183C3CEE0723 /* NSArray+MASShorthandAdditions.h in Headers */ = {isa = PBXBuildFile; fileRef = ADCC9CEC989A17B95F7FBC2BB7B59B5B /* NSArray+MASShorthandAdditions.h */; settings = {ATTRIBUTES = (Project, ); }; };\n\t\tFC8D08EDD1F29872A0468F214FE70A4A /* SDImageCacheConfig.h in Headers */ = {isa = PBXBuildFile; fileRef = 1AF0517C2CAAB40E26A57E3F05ABB1FF /* SDImageCacheConfig.h */; settings = {ATTRIBUTES = (Project, ); }; };\n\t\tFEDC1552CAE6D0410E6A27D827B0EF1B /* Security.framework in Frameworks */ = {isa = PBXBuildFile; fileRef = 4941F7B4F717F8B33DF370923BA27C68 /* Security.framework */; };\n\t\tFF065D39E8739E99402437C26E297567 /* UIView+WebCacheOperation.h in Headers */ = {isa = PBXBuildFile; fileRef = 12D6217F5A02928CEAEF63B55528895B /* UIView+WebCacheOperation.h */; settings = {ATTRIBUTES = (Project, ); }; };\n/* End PBXBuildFile section */\n\n/* Begin PBXContainerItemProxy section */\n\t\t615EB7704759E90F309A1195892F789C /* PBXContainerItemProxy */ = {\n\t\t\tisa = PBXContainerItemProxy;\n\t\t\tcontainerPortal = D41D8CD98F00B204E9800998ECF8427E /* Project object */;\n\t\t\tproxyType = 1;\n\t\t\tremoteGlobalIDString = A40703D04FD0C353D064A70AF8E18893;\n\t\t\tremoteInfo = SDWebImage;\n\t\t};\n\t\t6B984C97A8F49B3142F0B9E6C0812CBE /* PBXContainerItemProxy */ = {\n\t\t\tisa = PBXContainerItemProxy;\n\t\t\tcontainerPortal = D41D8CD98F00B204E9800998ECF8427E /* Project object */;\n\t\t\tproxyType = 1;\n\t\t\tremoteGlobalIDString = 21CB3E64059981A1FFFE60ACF5AD287E;\n\t\t\tremoteInfo = JSONModel;\n\t\t};\n\t\t6FDD088E2F4FAFD2E948DFC0E2BBE491 /* PBXContainerItemProxy */ = {\n\t\t\tisa = PBXContainerItemProxy;\n\t\t\tcontainerPortal = D41D8CD98F00B204E9800998ECF8427E /* Project object */;\n\t\t\tproxyType = 1;\n\t\t\tremoteGlobalIDString = 9DC8D9E02903E93BD0B2FEC9D846EA20;\n\t\t\tremoteInfo = Masonry;\n\t\t};\n\t\t73540890F7A660417A055A80A26D05DF /* PBXContainerItemProxy */ = {\n\t\t\tisa = PBXContainerItemProxy;\n\t\t\tcontainerPortal = D41D8CD98F00B204E9800998ECF8427E /* Project object */;\n\t\t\tproxyType = 1;\n\t\t\tremoteGlobalIDString = 488D77882F65BA00D291462E43C45C54;\n\t\t\tremoteInfo = MJRefresh;\n\t\t};\n\t\t88C6CC80533ABFE0863B56600ABE48C0 /* PBXContainerItemProxy */ = {\n\t\t\tisa = PBXContainerItemProxy;\n\t\t\tcontainerPortal = D41D8CD98F00B204E9800998ECF8427E /* Project object */;\n\t\t\tproxyType = 1;\n\t\t\tremoteGlobalIDString = DDAAFF9586B2A56E23A7293F173018C5;\n\t\t\tremoteInfo = AFNetworking;\n\t\t};\n\t\tC0B4FEA2F08D2272AB96324EFB907020 /* PBXContainerItemProxy */ = {\n\t\t\tisa = PBXContainerItemProxy;\n\t\t\tcontainerPortal = D41D8CD98F00B204E9800998ECF8427E /* Project object */;\n\t\t\tproxyType = 1;\n\t\t\tremoteGlobalIDString = 175B076ED45EB1A3E40F58BA14036467;\n\t\t\tremoteInfo = MBProgressHUD;\n\t\t};\n\t\tEAE1AD11A69D9AF15CC6A3A2BE3444B0 /* PBXContainerItemProxy */ = {\n\t\t\tisa = PBXContainerItemProxy;\n\t\t\tcontainerPortal = D41D8CD98F00B204E9800998ECF8427E /* Project object */;\n\t\t\tproxyType = 1;\n\t\t\tremoteGlobalIDString = D6FBFDBC00B388471F2914F736751944;\n\t\t\tremoteInfo = IQKeyboardManager;\n\t\t};\n/* End PBXContainerItemProxy section */\n\n/* Begin PBXFileReference section */\n\t\t02813F02AFDCE8F316C5C7B7C5342B0D /* MASLayoutConstraint.m */ = {isa = PBXFileReference; includeInIndex = 1; lastKnownFileType = sourcecode.c.objc; name = MASLayoutConstraint.m; path = Masonry/MASLayoutConstraint.m; sourceTree = \"<group>\"; };\n\t\t02BFFAD75E83A53DC3CE43CE65422318 /* AFSecurityPolicy.m */ = {isa = PBXFileReference; includeInIndex = 1; lastKnownFileType = sourcecode.c.objc; name = AFSecurityPolicy.m; path = AFNetworking/AFSecurityPolicy.m; sourceTree = \"<group>\"; };\n\t\t03E4BE49F5FFBA96BD527EF7611BDD6C /* MBProgressHUD-prefix.pch */ = {isa = PBXFileReference; includeInIndex = 1; lastKnownFileType = sourcecode.c.h; path = \"MBProgressHUD-prefix.pch\"; sourceTree = \"<group>\"; };\n\t\t043C8F289F5D202105B7AC3193CEFC4B /* MJRefreshBackNormalFooter.h */ = {isa = PBXFileReference; includeInIndex = 1; lastKnownFileType = sourcecode.c.h; name = MJRefreshBackNormalFooter.h; path = MJRefresh/Custom/Footer/Back/MJRefreshBackNormalFooter.h; sourceTree = \"<group>\"; };\n\t\t047E568C9F7EFED9EC0FB20C7B697D87 /* AFHTTPSessionManager.h */ = {isa = PBXFileReference; includeInIndex = 1; lastKnownFileType = sourcecode.c.h; name = AFHTTPSessionManager.h; path = AFNetworking/AFHTTPSessionManager.h; sourceTree = \"<group>\"; };\n\t\t055B859FB30F264CD31B98ABBC388701 /* AFNetworking.h */ = {isa = PBXFileReference; includeInIndex = 1; lastKnownFileType = sourcecode.c.h; name = AFNetworking.h; path = AFNetworking/AFNetworking.h; sourceTree = \"<group>\"; };\n\t\t05C52F33951AD52B6EE2D7F16084DF86 /* AFAutoPurgingImageCache.h */ = {isa = PBXFileReference; includeInIndex = 1; lastKnownFileType = sourcecode.c.h; name = AFAutoPurgingImageCache.h; path = \"UIKit+AFNetworking/AFAutoPurgingImageCache.h\"; sourceTree = \"<group>\"; };\n\t\t072199AB902C13FB086881E8D565BDBD /* UIView+WebCacheOperation.m */ = {isa = PBXFileReference; includeInIndex = 1; lastKnownFileType = sourcecode.c.objc; name = \"UIView+WebCacheOperation.m\"; path = \"SDWebImage/UIView+WebCacheOperation.m\"; sourceTree = \"<group>\"; };\n\t\t07658CC763408BE00B090DDB7A4FB5F2 /* UIImage+AFNetworking.h */ = {isa = PBXFileReference; includeInIndex = 1; lastKnownFileType = sourcecode.c.h; name = \"UIImage+AFNetworking.h\"; path = \"UIKit+AFNetworking/UIImage+AFNetworking.h\"; sourceTree = \"<group>\"; };\n\t\t07BA75BAB50A4867FE6E393C6FA0E6BE /* IQKeyboardReturnKeyHandler.m */ = {isa = PBXFileReference; includeInIndex = 1; lastKnownFileType = sourcecode.c.objc; name = IQKeyboardReturnKeyHandler.m; path = IQKeyboardManager/IQKeyboardReturnKeyHandler.m; sourceTree = \"<group>\"; };\n\t\t0888CBF5A250C6F65D8138E6283F415B /* JSONModel-prefix.pch */ = {isa = PBXFileReference; includeInIndex = 1; lastKnownFileType = sourcecode.c.h; path = \"JSONModel-prefix.pch\"; sourceTree = \"<group>\"; };\n\t\t089A741D3CF2BEC18B399DDFF1419A36 /* JSONModel.m */ = {isa = PBXFileReference; includeInIndex = 1; lastKnownFileType = sourcecode.c.objc; name = JSONModel.m; path = JSONModel/JSONModel/JSONModel.m; sourceTree = \"<group>\"; };\n\t\t091B0463C9A5CFDD88D5217495A83029 /* UIView+WebCache.h */ = {isa = PBXFileReference; includeInIndex = 1; lastKnownFileType = sourcecode.c.h; name = \"UIView+WebCache.h\"; path = \"SDWebImage/UIView+WebCache.h\"; sourceTree = \"<group>\"; };\n\t\t092119ED686EB41EA9556AF3F5571E8C /* SDWebImageImageIOCoder.h */ = {isa = PBXFileReference; includeInIndex = 1; lastKnownFileType = sourcecode.c.h; name = SDWebImageImageIOCoder.h; path = SDWebImage/SDWebImageImageIOCoder.h; sourceTree = \"<group>\"; };\n\t\t097602A71B2C1007BE60C56AECE91D78 /* MASConstraintMaker.m */ = {isa = PBXFileReference; includeInIndex = 1; lastKnownFileType = sourcecode.c.objc; name = MASConstraintMaker.m; path = Masonry/MASConstraintMaker.m; sourceTree = \"<group>\"; };\n\t\t0D502E0A6679D6A110146A7233326ABE /* SDImageCache.h */ = {isa = PBXFileReference; includeInIndex = 1; lastKnownFileType = sourcecode.c.h; name = SDImageCache.h; path = SDWebImage/SDImageCache.h; sourceTree = \"<group>\"; };\n\t\t0DE8BF3EE5EA937DE01C67A27F37DD79 /* AFHTTPSessionManager.m */ = {isa = PBXFileReference; includeInIndex = 1; lastKnownFileType = sourcecode.c.objc; name = AFHTTPSessionManager.m; path = AFNetworking/AFHTTPSessionManager.m; sourceTree = \"<group>\"; };\n\t\t0F7F8423CCA06EA9385E13E251EB13ED /* UIView+MJExtension.m */ = {isa = PBXFileReference; includeInIndex = 1; lastKnownFileType = sourcecode.c.objc; name = \"UIView+MJExtension.m\"; path = \"MJRefresh/UIView+MJExtension.m\"; sourceTree = \"<group>\"; };\n\t\t12D6217F5A02928CEAEF63B55528895B /* UIView+WebCacheOperation.h */ = {isa = PBXFileReference; includeInIndex = 1; lastKnownFileType = sourcecode.c.h; name = \"UIView+WebCacheOperation.h\"; path = \"SDWebImage/UIView+WebCacheOperation.h\"; sourceTree = \"<group>\"; };\n\t\t13BF75DF266C273C41FF335FE11F7744 /* MBProgressHUD-dummy.m */ = {isa = PBXFileReference; includeInIndex = 1; lastKnownFileType = sourcecode.c.objc; path = \"MBProgressHUD-dummy.m\"; sourceTree = \"<group>\"; };\n\t\t1429AED655C1D66D8CB863E9E2C088A2 /* IQUIView+Hierarchy.m */ = {isa = PBXFileReference; includeInIndex = 1; lastKnownFileType = sourcecode.c.objc; name = \"IQUIView+Hierarchy.m\"; path = \"IQKeyboardManager/Categories/IQUIView+Hierarchy.m\"; sourceTree = \"<group>\"; };\n\t\t1576645C235C2BA60268F89C87BC372F /* MASViewConstraint.h */ = {isa = PBXFileReference; includeInIndex = 1; lastKnownFileType = sourcecode.c.h; name = MASViewConstraint.h; path = Masonry/MASViewConstraint.h; sourceTree = \"<group>\"; };\n\t\t165D84D8F003A454616469F825EF11D6 /* MJRefreshBackNormalFooter.m */ = {isa = PBXFileReference; includeInIndex = 1; lastKnownFileType = sourcecode.c.objc; name = MJRefreshBackNormalFooter.m; path = MJRefresh/Custom/Footer/Back/MJRefreshBackNormalFooter.m; sourceTree = \"<group>\"; };\n\t\t189318FE7451253F0040A6CF0C9D7966 /* UIView+WebCache.m */ = {isa = PBXFileReference; includeInIndex = 1; lastKnownFileType = sourcecode.c.objc; name = \"UIView+WebCache.m\"; path = \"SDWebImage/UIView+WebCache.m\"; sourceTree = \"<group>\"; };\n\t\t1900A85AC9677D3260068593A1EBCFF0 /* libJSONModel.a */ = {isa = PBXFileReference; explicitFileType = archive.ar; includeInIndex = 0; name = libJSONModel.a; path = libJSONModel.a; sourceTree = BUILT_PRODUCTS_DIR; };\n\t\t1AF0517C2CAAB40E26A57E3F05ABB1FF /* SDImageCacheConfig.h */ = {isa = PBXFileReference; includeInIndex = 1; lastKnownFileType = sourcecode.c.h; name = SDImageCacheConfig.h; path = SDWebImage/SDImageCacheConfig.h; sourceTree = \"<group>\"; };\n\t\t1B53CEDD279FB645B19382B4DD1F7583 /* MJRefreshAutoGifFooter.h */ = {isa = PBXFileReference; includeInIndex = 1; lastKnownFileType = sourcecode.c.h; name = MJRefreshAutoGifFooter.h; path = MJRefresh/Custom/Footer/Auto/MJRefreshAutoGifFooter.h; sourceTree = \"<group>\"; };\n\t\t1E1A4D20C261AB807198E144EB0D79B3 /* SDWebImageCoder.m */ = {isa = PBXFileReference; includeInIndex = 1; lastKnownFileType = sourcecode.c.objc; name = SDWebImageCoder.m; path = SDWebImage/SDWebImageCoder.m; sourceTree = \"<group>\"; };\n\t\t1E6E124B86D696741661C4444D6D0E7F /* AFURLRequestSerialization.m */ = {isa = PBXFileReference; includeInIndex = 1; lastKnownFileType = sourcecode.c.objc; name = AFURLRequestSerialization.m; path = AFNetworking/AFURLRequestSerialization.m; sourceTree = \"<group>\"; };\n\t\t211383DA292E2341205669D9709CA26B /* MJRefreshAutoStateFooter.m */ = {isa = PBXFileReference; includeInIndex = 1; lastKnownFileType = sourcecode.c.objc; name = MJRefreshAutoStateFooter.m; path = MJRefresh/Custom/Footer/Auto/MJRefreshAutoStateFooter.m; sourceTree = \"<group>\"; };\n\t\t212C238B28ECDF4A67E870EDB1614A46 /* SDImageCache.m */ = {isa = PBXFileReference; includeInIndex = 1; lastKnownFileType = sourcecode.c.objc; name = SDImageCache.m; path = SDWebImage/SDImageCache.m; sourceTree = \"<group>\"; };\n\t\t22C0DCA8E9A859C768627682EF3A98F5 /* IQKeyboardManager.h */ = {isa = PBXFileReference; includeInIndex = 1; lastKnownFileType = sourcecode.c.h; name = IQKeyboardManager.h; path = IQKeyboardManager/IQKeyboardManager.h; sourceTree = \"<group>\"; };\n\t\t22DFE045DCA062C30F2293C54426FA92 /* JSONModelClassProperty.h */ = {isa = PBXFileReference; includeInIndex = 1; lastKnownFileType = sourcecode.c.h; name = JSONModelClassProperty.h; path = JSONModel/JSONModel/JSONModelClassProperty.h; sourceTree = \"<group>\"; };\n\t\t24C457DD332C1FD2BB6D5556EED370F5 /* Pods-CKMeiTuanShopView.release.xcconfig */ = {isa = PBXFileReference; includeInIndex = 1; lastKnownFileType = text.xcconfig; path = \"Pods-CKMeiTuanShopView.release.xcconfig\"; sourceTree = \"<group>\"; };\n\t\t2560727E705165398131333EE349987C /* UIButton+AFNetworking.h */ = {isa = PBXFileReference; includeInIndex = 1; lastKnownFileType = sourcecode.c.h; name = \"UIButton+AFNetworking.h\"; path = \"UIKit+AFNetworking/UIButton+AFNetworking.h\"; sourceTree = \"<group>\"; };\n\t\t258FDF51472BA6E79392430ABAA56EE8 /* UIImageView+HighlightedWebCache.m */ = {isa = PBXFileReference; includeInIndex = 1; lastKnownFileType = sourcecode.c.objc; name = \"UIImageView+HighlightedWebCache.m\"; path = \"SDWebImage/UIImageView+HighlightedWebCache.m\"; sourceTree = \"<group>\"; };\n\t\t25CA6D68E68A4C0BE409FB67069131E8 /* SDWebImageCoderHelper.h */ = {isa = PBXFileReference; includeInIndex = 1; lastKnownFileType = sourcecode.c.h; name = SDWebImageCoderHelper.h; path = SDWebImage/SDWebImageCoderHelper.h; sourceTree = \"<group>\"; };\n\t\t2802132384B84AC67785E22EEC9B9A6D /* NSData+ImageContentType.m */ = {isa = PBXFileReference; includeInIndex = 1; lastKnownFileType = sourcecode.c.objc; name = \"NSData+ImageContentType.m\"; path = \"SDWebImage/NSData+ImageContentType.m\"; sourceTree = \"<group>\"; };\n\t\t2804CAC0E781A53FFE19D981C1D44281 /* MJRefreshBackFooter.m */ = {isa = PBXFileReference; includeInIndex = 1; lastKnownFileType = sourcecode.c.objc; name = MJRefreshBackFooter.m; path = MJRefresh/Base/MJRefreshBackFooter.m; sourceTree = \"<group>\"; };\n\t\t298708999EC11F8180A02C8234F866DF /* SystemConfiguration.framework */ = {isa = PBXFileReference; lastKnownFileType = wrapper.framework; name = SystemConfiguration.framework; path = Platforms/iPhoneOS.platform/Developer/SDKs/iPhoneOS11.3.sdk/System/Library/Frameworks/SystemConfiguration.framework; sourceTree = DEVELOPER_DIR; };\n\t\t2A8B2C5250F37FACD509829A818D43E9 /* AFNetworkReachabilityManager.h */ = {isa = PBXFileReference; includeInIndex = 1; lastKnownFileType = sourcecode.c.h; name = AFNetworkReachabilityManager.h; path = AFNetworking/AFNetworkReachabilityManager.h; sourceTree = \"<group>\"; };\n\t\t2ACAA41ED8C939BF5F78AF2DA5B5BA5E /* Pods-CKMeiTuanShopView.debug.xcconfig */ = {isa = PBXFileReference; includeInIndex = 1; lastKnownFileType = text.xcconfig; path = \"Pods-CKMeiTuanShopView.debug.xcconfig\"; sourceTree = \"<group>\"; };\n\t\t2D71F9AAF6A787722CFA32B8BA69C6BC /* MJRefreshNormalHeader.h */ = {isa = PBXFileReference; includeInIndex = 1; lastKnownFileType = sourcecode.c.h; name = MJRefreshNormalHeader.h; path = MJRefresh/Custom/Header/MJRefreshNormalHeader.h; sourceTree = \"<group>\"; };\n\t\t2EFD6AEEC35AE9336BF7F938219CD459 /* NSBundle+MJRefresh.m */ = {isa = PBXFileReference; includeInIndex = 1; lastKnownFileType = sourcecode.c.objc; name = \"NSBundle+MJRefresh.m\"; path = \"MJRefresh/NSBundle+MJRefresh.m\"; sourceTree = \"<group>\"; };\n\t\t2F19363E1A8200F58033D3A6DD0C6738 /* UIImage+MultiFormat.h */ = {isa = PBXFileReference; includeInIndex = 1; lastKnownFileType = sourcecode.c.h; name = \"UIImage+MultiFormat.h\"; path = \"SDWebImage/UIImage+MultiFormat.h\"; sourceTree = \"<group>\"; };\n\t\t2FBCF183467E8CE4D7286D55EFDE77B3 /* SDWebImageGIFCoder.m */ = {isa = PBXFileReference; includeInIndex = 1; lastKnownFileType = sourcecode.c.objc; name = SDWebImageGIFCoder.m; path = SDWebImage/SDWebImageGIFCoder.m; sourceTree = \"<group>\"; };\n\t\t325F463F7AC2C8FB3164911DF0EA6887 /* libIQKeyboardManager.a */ = {isa = PBXFileReference; explicitFileType = archive.ar; includeInIndex = 0; name = libIQKeyboardManager.a; path = libIQKeyboardManager.a; sourceTree = BUILT_PRODUCTS_DIR; };\n\t\t3279E14C68704E297C9E69D3AC62ED1E /* IQKeyboardManager.xcconfig */ = {isa = PBXFileReference; includeInIndex = 1; lastKnownFileType = text.xcconfig; path = IQKeyboardManager.xcconfig; sourceTree = \"<group>\"; };\n\t\t355F0781F5A967DBB9D6F32FE54C1FB6 /* ImageIO.framework */ = {isa = PBXFileReference; lastKnownFileType = wrapper.framework; name = ImageIO.framework; path = Platforms/iPhoneOS.platform/Developer/SDKs/iPhoneOS11.3.sdk/System/Library/Frameworks/ImageIO.framework; sourceTree = DEVELOPER_DIR; };\n\t\t36350DBB0F09F3F134040D39B4C12180 /* IQToolbar.m */ = {isa = PBXFileReference; includeInIndex = 1; lastKnownFileType = sourcecode.c.objc; name = IQToolbar.m; path = IQKeyboardManager/IQToolbar/IQToolbar.m; sourceTree = \"<group>\"; };\n\t\t36B3F387C4DF3AD77C70BAE323D6775E /* IQTextView.m */ = {isa = PBXFileReference; includeInIndex = 1; lastKnownFileType = sourcecode.c.objc; name = IQTextView.m; path = IQKeyboardManager/IQTextView/IQTextView.m; sourceTree = \"<group>\"; };\n\t\t372377CFA929EEE78E981021576D0185 /* MASViewAttribute.h */ = {isa = PBXFileReference; includeInIndex = 1; lastKnownFileType = sourcecode.c.h; name = MASViewAttribute.h; path = Masonry/MASViewAttribute.h; sourceTree = \"<group>\"; };\n\t\t39D3CF37F24DAAAAB66B851B6DC78F93 /* UIScrollView+MJRefresh.h */ = {isa = PBXFileReference; includeInIndex = 1; lastKnownFileType = sourcecode.c.h; name = \"UIScrollView+MJRefresh.h\"; path = \"MJRefresh/UIScrollView+MJRefresh.h\"; sourceTree = \"<group>\"; };\n\t\t3A47D37A9C24FDAAF36843C718C15CBB /* SDWebImage-prefix.pch */ = {isa = PBXFileReference; includeInIndex = 1; lastKnownFileType = sourcecode.c.h; path = \"SDWebImage-prefix.pch\"; sourceTree = \"<group>\"; };\n\t\t3B489E4CDBA41E2E836AFD21D07E68D6 /* UIActivityIndicatorView+AFNetworking.m */ = {isa = PBXFileReference; includeInIndex = 1; lastKnownFileType = sourcecode.c.objc; name = \"UIActivityIndicatorView+AFNetworking.m\"; path = \"UIKit+AFNetworking/UIActivityIndicatorView+AFNetworking.m\"; sourceTree = \"<group>\"; };\n\t\t3B6B6DF7459C009420C9477E6B988025 /* IQNSArray+Sort.h */ = {isa = PBXFileReference; includeInIndex = 1; lastKnownFileType = sourcecode.c.h; name = \"IQNSArray+Sort.h\"; path = \"IQKeyboardManager/Categories/IQNSArray+Sort.h\"; sourceTree = \"<group>\"; };\n\t\t3B6FEC59C048693731901FD524C5073C /* SDWebImagePrefetcher.m */ = {isa = PBXFileReference; includeInIndex = 1; lastKnownFileType = sourcecode.c.objc; name = SDWebImagePrefetcher.m; path = SDWebImage/SDWebImagePrefetcher.m; sourceTree = \"<group>\"; };\n\t\t3BD9BC55B1B6BB66C4976E1EC30550DC /* libMasonry.a */ = {isa = PBXFileReference; explicitFileType = archive.ar; includeInIndex = 0; name = libMasonry.a; path = libMasonry.a; sourceTree = BUILT_PRODUCTS_DIR; };\n\t\t3BE565538E3E1F8F8457D54DE17F214D /* IQKeyboardManagerConstantsInternal.h */ = {isa = PBXFileReference; includeInIndex = 1; lastKnownFileType = sourcecode.c.h; name = IQKeyboardManagerConstantsInternal.h; path = IQKeyboardManager/Constants/IQKeyboardManagerConstantsInternal.h; sourceTree = \"<group>\"; };\n\t\t3E0CF4271F4F30090E68F88C2D646CE4 /* SDWebImageCompat.h */ = {isa = PBXFileReference; includeInIndex = 1; lastKnownFileType = sourcecode.c.h; name = SDWebImageCompat.h; path = SDWebImage/SDWebImageCompat.h; sourceTree = \"<group>\"; };\n\t\t3F087D9FB8FC0EC5CE4E090010955495 /* SDWebImageTransition.m */ = {isa = PBXFileReference; includeInIndex = 1; lastKnownFileType = sourcecode.c.objc; name = SDWebImageTransition.m; path = SDWebImage/SDWebImageTransition.m; sourceTree = \"<group>\"; };\n\t\t3F3F6C918398180A2A2F0FED690628E2 /* IQBarButtonItem.m */ = {isa = PBXFileReference; includeInIndex = 1; lastKnownFileType = sourcecode.c.objc; name = IQBarButtonItem.m; path = IQKeyboardManager/IQToolbar/IQBarButtonItem.m; sourceTree = \"<group>\"; };\n\t\t3F527CA0DC0885E44F10F62CC7AB3A2A /* JSONValueTransformer.h */ = {isa = PBXFileReference; includeInIndex = 1; lastKnownFileType = sourcecode.c.h; name = JSONValueTransformer.h; path = JSONModel/JSONModelTransformations/JSONValueTransformer.h; sourceTree = \"<group>\"; };\n\t\t3FB959563DF7D2FE6C4C991D333F01EF /* IQUIView+Hierarchy.h */ = {isa = PBXFileReference; includeInIndex = 1; lastKnownFileType = sourcecode.c.h; name = \"IQUIView+Hierarchy.h\"; path = \"IQKeyboardManager/Categories/IQUIView+Hierarchy.h\"; sourceTree = \"<group>\"; };\n\t\t420658F05868578626DD62E9544AB362 /* IQPreviousNextView.m */ = {isa = PBXFileReference; includeInIndex = 1; lastKnownFileType = sourcecode.c.objc; name = IQPreviousNextView.m; path = IQKeyboardManager/IQToolbar/IQPreviousNextView.m; sourceTree = \"<group>\"; };\n\t\t43432F5BDD67CC010395E5E889BE48F9 /* SDWebImageGIFCoder.h */ = {isa = PBXFileReference; includeInIndex = 1; lastKnownFileType = sourcecode.c.h; name = SDWebImageGIFCoder.h; path = SDWebImage/SDWebImageGIFCoder.h; sourceTree = \"<group>\"; };\n\t\t43C97CA6F2F451BBCE6793BD968B0831 /* JSONModel.xcconfig */ = {isa = PBXFileReference; includeInIndex = 1; lastKnownFileType = text.xcconfig; path = JSONModel.xcconfig; sourceTree = \"<group>\"; };\n\t\t44DF894B1952115C464D96A3DEAE1469 /* View+MASShorthandAdditions.h */ = {isa = PBXFileReference; includeInIndex = 1; lastKnownFileType = sourcecode.c.h; name = \"View+MASShorthandAdditions.h\"; path = \"Masonry/View+MASShorthandAdditions.h\"; sourceTree = \"<group>\"; };\n\t\t46396598B8F473E16C4ADC266AB742E2 /* IQKeyboardManager-prefix.pch */ = {isa = PBXFileReference; includeInIndex = 1; lastKnownFileType = sourcecode.c.h; path = \"IQKeyboardManager-prefix.pch\"; sourceTree = \"<group>\"; };\n\t\t46777865D3540B530A92F0634911FDA7 /* UIScrollView+MJExtension.h */ = {isa = PBXFileReference; includeInIndex = 1; lastKnownFileType = sourcecode.c.h; name = \"UIScrollView+MJExtension.h\"; path = \"MJRefresh/UIScrollView+MJExtension.h\"; sourceTree = \"<group>\"; };\n\t\t46810B1FC079337AE8715B63423920EB /* SDWebImageDownloaderOperation.h */ = {isa = PBXFileReference; includeInIndex = 1; lastKnownFileType = sourcecode.c.h; name = SDWebImageDownloaderOperation.h; path = SDWebImage/SDWebImageDownloaderOperation.h; sourceTree = \"<group>\"; };\n\t\t46DC3ACBF16E4AE3C428FBEADEB9746D /* MASConstraint.m */ = {isa = PBXFileReference; includeInIndex = 1; lastKnownFileType = sourcecode.c.objc; name = MASConstraint.m; path = Masonry/MASConstraint.m; sourceTree = \"<group>\"; };\n\t\t46DD52FF1C07F8F59DF74F2421AF3C74 /* SDAnimatedImageRep.m */ = {isa = PBXFileReference; includeInIndex = 1; lastKnownFileType = sourcecode.c.objc; name = SDAnimatedImageRep.m; path = SDWebImage/SDAnimatedImageRep.m; sourceTree = \"<group>\"; };\n\t\t48A0A184D6BACD66155704FED8A26BA6 /* AFURLSessionManager.m */ = {isa = PBXFileReference; includeInIndex = 1; lastKnownFileType = sourcecode.c.objc; name = AFURLSessionManager.m; path = AFNetworking/AFURLSessionManager.m; sourceTree = \"<group>\"; };\n\t\t48D4210E421744955550D766903FC2C9 /* SDWebImageFrame.h */ = {isa = PBXFileReference; includeInIndex = 1; lastKnownFileType = sourcecode.c.h; name = SDWebImageFrame.h; path = SDWebImage/SDWebImageFrame.h; sourceTree = \"<group>\"; };\n\t\t4941F7B4F717F8B33DF370923BA27C68 /* Security.framework */ = {isa = PBXFileReference; lastKnownFileType = wrapper.framework; name = Security.framework; path = Platforms/iPhoneOS.platform/Developer/SDKs/iPhoneOS11.3.sdk/System/Library/Frameworks/Security.framework; sourceTree = DEVELOPER_DIR; };\n\t\t49D6EF8DC01818120C436057AA10910A /* IQUIScrollView+Additions.m */ = {isa = PBXFileReference; includeInIndex = 1; lastKnownFileType = sourcecode.c.objc; name = \"IQUIScrollView+Additions.m\"; path = \"IQKeyboardManager/Categories/IQUIScrollView+Additions.m\"; sourceTree = \"<group>\"; };\n\t\t4AF356DD0D6B70E4EB41B4441B05C09A /* NSImage+WebCache.m */ = {isa = PBXFileReference; includeInIndex = 1; lastKnownFileType = sourcecode.c.objc; name = \"NSImage+WebCache.m\"; path = \"SDWebImage/NSImage+WebCache.m\"; sourceTree = \"<group>\"; };\n\t\t4FE02DD3901C8710F0CAC7F862874FCB /* MJRefreshFooter.m */ = {isa = PBXFileReference; includeInIndex = 1; lastKnownFileType = sourcecode.c.objc; name = MJRefreshFooter.m; path = MJRefresh/Base/MJRefreshFooter.m; sourceTree = \"<group>\"; };\n\t\t506F9F4A582D7B4F3CF6BD205E7EB320 /* UIButton+AFNetworking.m */ = {isa = PBXFileReference; includeInIndex = 1; lastKnownFileType = sourcecode.c.objc; name = \"UIButton+AFNetworking.m\"; path = \"UIKit+AFNetworking/UIButton+AFNetworking.m\"; sourceTree = \"<group>\"; };\n\t\t5092091294D6C68998367AB7E5FD1FCF /* IQKeyboardManager.bundle */ = {isa = PBXFileReference; includeInIndex = 1; lastKnownFileType = \"wrapper.plug-in\"; name = IQKeyboardManager.bundle; path = IQKeyboardManager/Resources/IQKeyboardManager.bundle; sourceTree = \"<group>\"; };\n\t\t50A48C40592674FBD4DD121F72259442 /* AFAutoPurgingImageCache.m */ = {isa = PBXFileReference; includeInIndex = 1; lastKnownFileType = sourcecode.c.objc; name = AFAutoPurgingImageCache.m; path = \"UIKit+AFNetworking/AFAutoPurgingImageCache.m\"; sourceTree = \"<group>\"; };\n\t\t522DE1350A47486F796269A1AE7B64D2 /* JSONModelError.h */ = {isa = PBXFileReference; includeInIndex = 1; lastKnownFileType = sourcecode.c.h; name = JSONModelError.h; path = JSONModel/JSONModel/JSONModelError.h; sourceTree = \"<group>\"; };\n\t\t536AE7A0CDAD2846698943B32623CD88 /* QuartzCore.framework */ = {isa = PBXFileReference; lastKnownFileType = wrapper.framework; name = QuartzCore.framework; path = Platforms/iPhoneOS.platform/Developer/SDKs/iPhoneOS11.3.sdk/System/Library/Frameworks/QuartzCore.framework; sourceTree = DEVELOPER_DIR; };\n\t\t53D43D51A8AA4613171A675AF4605F6F /* Pods-CKMeiTuanShopView-frameworks.sh */ = {isa = PBXFileReference; includeInIndex = 1; lastKnownFileType = text.script.sh; path = \"Pods-CKMeiTuanShopView-frameworks.sh\"; sourceTree = \"<group>\"; };\n\t\t5409FCE15124E7503F7B8AA7E8AD8AA6 /* UIImageView+AFNetworking.m */ = {isa = PBXFileReference; includeInIndex = 1; lastKnownFileType = sourcecode.c.objc; name = \"UIImageView+AFNetworking.m\"; path = \"UIKit+AFNetworking/UIImageView+AFNetworking.m\"; sourceTree = \"<group>\"; };\n\t\t55AF813A1109C1A9466CF0DE1840266E /* NSLayoutConstraint+MASDebugAdditions.h */ = {isa = PBXFileReference; includeInIndex = 1; lastKnownFileType = sourcecode.c.h; name = \"NSLayoutConstraint+MASDebugAdditions.h\"; path = \"Masonry/NSLayoutConstraint+MASDebugAdditions.h\"; sourceTree = \"<group>\"; };\n\t\t5607B81B431F831E45EAD8D468B6909C /* NSButton+WebCache.h */ = {isa = PBXFileReference; includeInIndex = 1; lastKnownFileType = sourcecode.c.h; name = \"NSButton+WebCache.h\"; path = \"SDWebImage/NSButton+WebCache.h\"; sourceTree = \"<group>\"; };\n\t\t561445C0DE9A5EF6E8945E036B30A0F0 /* SDWebImageCodersManager.m */ = {isa = PBXFileReference; includeInIndex = 1; lastKnownFileType = sourcecode.c.objc; name = SDWebImageCodersManager.m; path = SDWebImage/SDWebImageCodersManager.m; sourceTree = \"<group>\"; };\n\t\t56CDFDC4544D0E085400CD4B3A4EFB7F /* AFNetworking-prefix.pch */ = {isa = PBXFileReference; includeInIndex = 1; lastKnownFileType = sourcecode.c.h; path = \"AFNetworking-prefix.pch\"; sourceTree = \"<group>\"; };\n\t\t56D9AD191DD7522A8D3A5E9985524EA7 /* UIWebView+AFNetworking.h */ = {isa = PBXFileReference; includeInIndex = 1; lastKnownFileType = sourcecode.c.h; name = \"UIWebView+AFNetworking.h\"; path = \"UIKit+AFNetworking/UIWebView+AFNetworking.h\"; sourceTree = \"<group>\"; };\n\t\t59C95A3EBCE868275AF00DB69D3B1EF4 /* NSBundle+MJRefresh.h */ = {isa = PBXFileReference; includeInIndex = 1; lastKnownFileType = sourcecode.c.h; name = \"NSBundle+MJRefresh.h\"; path = \"MJRefresh/NSBundle+MJRefresh.h\"; sourceTree = \"<group>\"; };\n\t\t5AD18AE9111D576DB3D62B7FED6B1E66 /* SDWebImageManager.h */ = {isa = PBXFileReference; includeInIndex = 1; lastKnownFileType = sourcecode.c.h; name = SDWebImageManager.h; path = SDWebImage/SDWebImageManager.h; sourceTree = \"<group>\"; };\n\t\t5B3D0A85E6A457B53E83FDDA1AE7FADF /* AFNetworking-dummy.m */ = {isa = PBXFileReference; includeInIndex = 1; lastKnownFileType = sourcecode.c.objc; path = \"AFNetworking-dummy.m\"; sourceTree = \"<group>\"; };\n\t\t5B5B17567BB1FC6DFDD9F4616D74474C /* IQUITextFieldView+Additions.h */ = {isa = PBXFileReference; includeInIndex = 1; lastKnownFileType = sourcecode.c.h; name = \"IQUITextFieldView+Additions.h\"; path = \"IQKeyboardManager/Categories/IQUITextFieldView+Additions.h\"; sourceTree = \"<group>\"; };\n\t\t5D64A4017D1D573E906D815F8199E562 /* Pods-CKMeiTuanShopView-acknowledgements.plist */ = {isa = PBXFileReference; includeInIndex = 1; lastKnownFileType = text.plist.xml; path = \"Pods-CKMeiTuanShopView-acknowledgements.plist\"; sourceTree = \"<group>\"; };\n\t\t5E19EC6D291215C7B977A8A986878DC8 /* MJRefreshConst.h */ = {isa = PBXFileReference; includeInIndex = 1; lastKnownFileType = sourcecode.c.h; name = MJRefreshConst.h; path = MJRefresh/MJRefreshConst.h; sourceTree = \"<group>\"; };\n\t\t5E5D42481A8D47EBC5FC652134166073 /* MJRefresh.bundle */ = {isa = PBXFileReference; includeInIndex = 1; lastKnownFileType = \"wrapper.plug-in\"; name = MJRefresh.bundle; path = MJRefresh/MJRefresh.bundle; sourceTree = \"<group>\"; };\n\t\t5EA06D39BE3BB30F7CAB0993DBF419C7 /* UIRefreshControl+AFNetworking.h */ = {isa = PBXFileReference; includeInIndex = 1; lastKnownFileType = sourcecode.c.h; name = \"UIRefreshControl+AFNetworking.h\"; path = \"UIKit+AFNetworking/UIRefreshControl+AFNetworking.h\"; sourceTree = \"<group>\"; };\n\t\t62481C62B368316FCA335AAF70FFA7EE /* SDWebImageCompat.m */ = {isa = PBXFileReference; includeInIndex = 1; lastKnownFileType = sourcecode.c.objc; name = SDWebImageCompat.m; path = SDWebImage/SDWebImageCompat.m; sourceTree = \"<group>\"; };\n\t\t6469B0DE97EC3C337C7DEF928D660CC5 /* AFURLSessionManager.h */ = {isa = PBXFileReference; includeInIndex = 1; lastKnownFileType = sourcecode.c.h; name = AFURLSessionManager.h; path = AFNetworking/AFURLSessionManager.h; sourceTree = \"<group>\"; };\n\t\t649837298454F83E8144C58772716966 /* IQKeyboardManager-dummy.m */ = {isa = PBXFileReference; includeInIndex = 1; lastKnownFileType = sourcecode.c.objc; path = \"IQKeyboardManager-dummy.m\"; sourceTree = \"<group>\"; };\n\t\t655F8119C2E04E6B0901518F680B1AA1 /* MASCompositeConstraint.m */ = {isa = PBXFileReference; includeInIndex = 1; lastKnownFileType = sourcecode.c.objc; name = MASCompositeConstraint.m; path = Masonry/MASCompositeConstraint.m; sourceTree = \"<group>\"; };\n\t\t669BD396688BA61D05A94633CBF67E9B /* MBProgressHUD.xcconfig */ = {isa = PBXFileReference; includeInIndex = 1; lastKnownFileType = text.xcconfig; path = MBProgressHUD.xcconfig; sourceTree = \"<group>\"; };\n\t\t68730D85D43C46F0598728AF8EFE1E5D /* IQBarButtonItem.h */ = {isa = PBXFileReference; includeInIndex = 1; lastKnownFileType = sourcecode.c.h; name = IQBarButtonItem.h; path = IQKeyboardManager/IQToolbar/IQBarButtonItem.h; sourceTree = \"<group>\"; };\n\t\t68916B264463D8B55C9999AFEE3F57EF /* MJRefreshComponent.h */ = {isa = PBXFileReference; includeInIndex = 1; lastKnownFileType = sourcecode.c.h; name = MJRefreshComponent.h; path = MJRefresh/Base/MJRefreshComponent.h; sourceTree = \"<group>\"; };\n\t\t6A296C8316B24EFAEBFD88B95BFD88C7 /* UIKit.framework */ = {isa = PBXFileReference; lastKnownFileType = wrapper.framework; name = UIKit.framework; path = Platforms/iPhoneOS.platform/Developer/SDKs/iPhoneOS11.3.sdk/System/Library/Frameworks/UIKit.framework; sourceTree = DEVELOPER_DIR; };\n\t\t6BD0970F642137CAF5131B912B7AF67B /* SDWebImage.xcconfig */ = {isa = PBXFileReference; includeInIndex = 1; lastKnownFileType = text.xcconfig; path = SDWebImage.xcconfig; sourceTree = \"<group>\"; };\n\t\t6CD236D851589CF49B9869E62A6A2803 /* libSDWebImage.a */ = {isa = PBXFileReference; explicitFileType = archive.ar; includeInIndex = 0; name = libSDWebImage.a; path = libSDWebImage.a; sourceTree = BUILT_PRODUCTS_DIR; };\n\t\t6CE2BF06CA095D6DCF251897E908D122 /* SDWebImageDownloaderOperation.m */ = {isa = PBXFileReference; includeInIndex = 1; lastKnownFileType = sourcecode.c.objc; name = SDWebImageDownloaderOperation.m; path = SDWebImage/SDWebImageDownloaderOperation.m; sourceTree = \"<group>\"; };\n\t\t6D2A2912CB5FF40922F33DA5122380BC /* MJRefreshHeader.h */ = {isa = PBXFileReference; includeInIndex = 1; lastKnownFileType = sourcecode.c.h; name = MJRefreshHeader.h; path = MJRefresh/Base/MJRefreshHeader.h; sourceTree = \"<group>\"; };\n\t\t6E3AA079F08094FC8DED54681851D4AF /* UIKit+AFNetworking.h */ = {isa = PBXFileReference; includeInIndex = 1; lastKnownFileType = sourcecode.c.h; name = \"UIKit+AFNetworking.h\"; path = \"UIKit+AFNetworking/UIKit+AFNetworking.h\"; sourceTree = \"<group>\"; };\n\t\t6E6AFD1FA062A85473D365A124A63518 /* JSONHTTPClient.m */ = {isa = PBXFileReference; includeInIndex = 1; lastKnownFileType = sourcecode.c.objc; name = JSONHTTPClient.m; path = JSONModel/JSONModelNetworking/JSONHTTPClient.m; sourceTree = \"<group>\"; };\n\t\t6ED23BB9A53BCEEE16B8BC413F26BB87 /* MJRefreshBackFooter.h */ = {isa = PBXFileReference; includeInIndex = 1; lastKnownFileType = sourcecode.c.h; name = MJRefreshBackFooter.h; path = MJRefresh/Base/MJRefreshBackFooter.h; sourceTree = \"<group>\"; };\n\t\t6F668CAAA39CB1143C43CF8024723A2C /* SDWebImageTransition.h */ = {isa = PBXFileReference; includeInIndex = 1; lastKnownFileType = sourcecode.c.h; name = SDWebImageTransition.h; path = SDWebImage/SDWebImageTransition.h; sourceTree = \"<group>\"; };\n\t\t6FDD8673C0216FB65AB93DE0BDEFF907 /* Masonry-dummy.m */ = {isa = PBXFileReference; includeInIndex = 1; lastKnownFileType = sourcecode.c.objc; path = \"Masonry-dummy.m\"; sourceTree = \"<group>\"; };\n\t\t71385504D7D50839436BED58331C229D /* UIImage+GIF.h */ = {isa = PBXFileReference; includeInIndex = 1; lastKnownFileType = sourcecode.c.h; name = \"UIImage+GIF.h\"; path = \"SDWebImage/UIImage+GIF.h\"; sourceTree = \"<group>\"; };\n\t\t71693AD16BBB8076F062D95F8E0507AD /* SDAnimatedImageRep.h */ = {isa = PBXFileReference; includeInIndex = 1; lastKnownFileType = sourcecode.c.h; name = SDAnimatedImageRep.h; path = SDWebImage/SDAnimatedImageRep.h; sourceTree = \"<group>\"; };\n\t\t71A0E6FA0AF7C99580E4B50C0C6CA805 /* MJRefreshAutoGifFooter.m */ = {isa = PBXFileReference; includeInIndex = 1; lastKnownFileType = sourcecode.c.objc; name = MJRefreshAutoGifFooter.m; path = MJRefresh/Custom/Footer/Auto/MJRefreshAutoGifFooter.m; sourceTree = \"<group>\"; };\n\t\t731D898551F981D32F5AE01CA9B92433 /* MJRefreshBackGifFooter.m */ = {isa = PBXFileReference; includeInIndex = 1; lastKnownFileType = sourcecode.c.objc; name = MJRefreshBackGifFooter.m; path = MJRefresh/Custom/Footer/Back/MJRefreshBackGifFooter.m; sourceTree = \"<group>\"; };\n\t\t747E373CF2C681DD5B4735A9D3468550 /* AFNetworking.xcconfig */ = {isa = PBXFileReference; includeInIndex = 1; lastKnownFileType = text.xcconfig; path = AFNetworking.xcconfig; sourceTree = \"<group>\"; };\n\t\t754460029FBC2AFED4D3911A88C66E08 /* UIButton+WebCache.h */ = {isa = PBXFileReference; includeInIndex = 1; lastKnownFileType = sourcecode.c.h; name = \"UIButton+WebCache.h\"; path = \"SDWebImage/UIButton+WebCache.h\"; sourceTree = \"<group>\"; };\n\t\t75AC8508B82117BD2388134252218A4D /* SDWebImageOperation.h */ = {isa = PBXFileReference; includeInIndex = 1; lastKnownFileType = sourcecode.c.h; name = SDWebImageOperation.h; path = SDWebImage/SDWebImageOperation.h; sourceTree = \"<group>\"; };\n\t\t76A412A95DB82662CC347D5A87C53441 /* UIScrollView+MJExtension.m */ = {isa = PBXFileReference; includeInIndex = 1; lastKnownFileType = sourcecode.c.objc; name = \"UIScrollView+MJExtension.m\"; path = \"MJRefresh/UIScrollView+MJExtension.m\"; sourceTree = \"<group>\"; };\n\t\t77683307D2F6EB6572856D83B8803BFE /* MJRefresh-dummy.m */ = {isa = PBXFileReference; includeInIndex = 1; lastKnownFileType = sourcecode.c.objc; path = \"MJRefresh-dummy.m\"; sourceTree = \"<group>\"; };\n\t\t781F7906B78028CA5D2202F266FEC7ED /* MJRefreshComponent.m */ = {isa = PBXFileReference; includeInIndex = 1; lastKnownFileType = sourcecode.c.objc; name = MJRefreshComponent.m; path = MJRefresh/Base/MJRefreshComponent.m; sourceTree = \"<group>\"; };\n\t\t7B1077777AC68CEF17E0DAA394FA8E3F /* Foundation.framework */ = {isa = PBXFileReference; lastKnownFileType = wrapper.framework; name = Foundation.framework; path = Platforms/iPhoneOS.platform/Developer/SDKs/iPhoneOS11.3.sdk/System/Library/Frameworks/Foundation.framework; sourceTree = DEVELOPER_DIR; };\n\t\t7B5F975D69BC82E86E925ED7C7517396 /* SDWebImageFrame.m */ = {isa = PBXFileReference; includeInIndex = 1; lastKnownFileType = sourcecode.c.objc; name = SDWebImageFrame.m; path = SDWebImage/SDWebImageFrame.m; sourceTree = \"<group>\"; };\n\t\t7BF4A280B8EB328BD45450273C8137A2 /* ViewController+MASAdditions.h */ = {isa = PBXFileReference; includeInIndex = 1; lastKnownFileType = sourcecode.c.h; name = \"ViewController+MASAdditions.h\"; path = \"Masonry/ViewController+MASAdditions.h\"; sourceTree = \"<group>\"; };\n\t\t7C7B1880F8A3FFE984C771ABD035C8B9 /* View+MASAdditions.h */ = {isa = PBXFileReference; includeInIndex = 1; lastKnownFileType = sourcecode.c.h; name = \"View+MASAdditions.h\"; path = \"Masonry/View+MASAdditions.h\"; sourceTree = \"<group>\"; };\n\t\t7CD39885DB5B0E34BE3F3760574CDDE4 /* Masonry.xcconfig */ = {isa = PBXFileReference; includeInIndex = 1; lastKnownFileType = text.xcconfig; path = Masonry.xcconfig; sourceTree = \"<group>\"; };\n\t\t7DD69C62C141CD6689A34F3197F85FD7 /* Pods-CKMeiTuanShopView-acknowledgements.markdown */ = {isa = PBXFileReference; includeInIndex = 1; lastKnownFileType = text; path = \"Pods-CKMeiTuanShopView-acknowledgements.markdown\"; sourceTree = \"<group>\"; };\n\t\t7F29887BB7024C272D6272610E5F25F6 /* UIImage+GIF.m */ = {isa = PBXFileReference; includeInIndex = 1; lastKnownFileType = sourcecode.c.objc; name = \"UIImage+GIF.m\"; path = \"SDWebImage/UIImage+GIF.m\"; sourceTree = \"<group>\"; };\n\t\t8023299312890570F8B725D1B37A096B /* SDWebImageDownloader.h */ = {isa = PBXFileReference; includeInIndex = 1; lastKnownFileType = sourcecode.c.h; name = SDWebImageDownloader.h; path = SDWebImage/SDWebImageDownloader.h; sourceTree = \"<group>\"; };\n\t\t815E47734E8A3C0BB660AD9CCC50D8E5 /* UIView+MJExtension.h */ = {isa = PBXFileReference; includeInIndex = 1; lastKnownFileType = sourcecode.c.h; name = \"UIView+MJExtension.h\"; path = \"MJRefresh/UIView+MJExtension.h\"; sourceTree = \"<group>\"; };\n\t\t83DC88DE035478E7C11BDE937F97811B /* JSONModelLib.h */ = {isa = PBXFileReference; includeInIndex = 1; lastKnownFileType = sourcecode.c.h; name = JSONModelLib.h; path = JSONModel/JSONModelLib.h; sourceTree = \"<group>\"; };\n\t\t83F74F4B6795B1BA60F189FC5861257C /* View+MASAdditions.m */ = {isa = PBXFileReference; includeInIndex = 1; lastKnownFileType = sourcecode.c.objc; name = \"View+MASAdditions.m\"; path = \"Masonry/View+MASAdditions.m\"; sourceTree = \"<group>\"; };\n\t\t84F8F51C39A7E61A3F242C5F314C4573 /* IQPreviousNextView.h */ = {isa = PBXFileReference; includeInIndex = 1; lastKnownFileType = sourcecode.c.h; name = IQPreviousNextView.h; path = IQKeyboardManager/IQToolbar/IQPreviousNextView.h; sourceTree = \"<group>\"; };\n\t\t85F96DD0D7BEDA4A58976F79488C734A /* MJRefreshHeader.m */ = {isa = PBXFileReference; includeInIndex = 1; lastKnownFileType = sourcecode.c.objc; name = MJRefreshHeader.m; path = MJRefresh/Base/MJRefreshHeader.m; sourceTree = \"<group>\"; };\n\t\t86959761A202F2545D1564FE66791F38 /* MJRefreshStateHeader.m */ = {isa = PBXFileReference; includeInIndex = 1; lastKnownFileType = sourcecode.c.objc; name = MJRefreshStateHeader.m; path = MJRefresh/Custom/Header/MJRefreshStateHeader.m; sourceTree = \"<group>\"; };\n\t\t86A20EE8321B3832CFA99A2E3499677A /* AFNetworkReachabilityManager.m */ = {isa = PBXFileReference; includeInIndex = 1; lastKnownFileType = sourcecode.c.objc; name = AFNetworkReachabilityManager.m; path = AFNetworking/AFNetworkReachabilityManager.m; sourceTree = \"<group>\"; };\n\t\t87219593AB800FE9353365B682DCB8DB /* MJRefreshGifHeader.h */ = {isa = PBXFileReference; includeInIndex = 1; lastKnownFileType = sourcecode.c.h; name = MJRefreshGifHeader.h; path = MJRefresh/Custom/Header/MJRefreshGifHeader.h; sourceTree = \"<group>\"; };\n\t\t8847EC2DE1616A45FCA0B9FA11163EBA /* MASCompositeConstraint.h */ = {isa = PBXFileReference; includeInIndex = 1; lastKnownFileType = sourcecode.c.h; name = MASCompositeConstraint.h; path = Masonry/MASCompositeConstraint.h; sourceTree = \"<group>\"; };\n\t\t8BD1FDB0190B9FFBFC42744B1B4A103D /* MJRefreshAutoStateFooter.h */ = {isa = PBXFileReference; includeInIndex = 1; lastKnownFileType = sourcecode.c.h; name = MJRefreshAutoStateFooter.h; path = MJRefresh/Custom/Footer/Auto/MJRefreshAutoStateFooter.h; sourceTree = \"<group>\"; };\n\t\t8CB6CEE856DE92651E1990407B44D4BB /* IQTextView.h */ = {isa = PBXFileReference; includeInIndex = 1; lastKnownFileType = sourcecode.c.h; name = IQTextView.h; path = IQKeyboardManager/IQTextView/IQTextView.h; sourceTree = \"<group>\"; };\n\t\t8FA0C255A552D9A73D86F4F7D89C8F94 /* Pods-CKMeiTuanShopView-resources.sh */ = {isa = PBXFileReference; includeInIndex = 1; lastKnownFileType = text.script.sh; path = \"Pods-CKMeiTuanShopView-resources.sh\"; sourceTree = \"<group>\"; };\n\t\t900E6C38664DDD02FD9220587315BEA9 /* IQUITextFieldView+Additions.m */ = {isa = PBXFileReference; includeInIndex = 1; lastKnownFileType = sourcecode.c.objc; name = \"IQUITextFieldView+Additions.m\"; path = \"IQKeyboardManager/Categories/IQUITextFieldView+Additions.m\"; sourceTree = \"<group>\"; };\n\t\t9045CD1C3BA3C6746F1E615026E151F9 /* MJRefreshAutoNormalFooter.m */ = {isa = PBXFileReference; includeInIndex = 1; lastKnownFileType = sourcecode.c.objc; name = MJRefreshAutoNormalFooter.m; path = MJRefresh/Custom/Footer/Auto/MJRefreshAutoNormalFooter.m; sourceTree = \"<group>\"; };\n\t\t90C070CD2985569EB64A4215815BFB8E /* libMBProgressHUD.a */ = {isa = PBXFileReference; explicitFileType = archive.ar; includeInIndex = 0; name = libMBProgressHUD.a; path = libMBProgressHUD.a; sourceTree = BUILT_PRODUCTS_DIR; };\n\t\t91B14F7A7D966EC0378A851B4B8BB9F0 /* MJRefreshAutoFooter.h */ = {isa = PBXFileReference; includeInIndex = 1; lastKnownFileType = sourcecode.c.h; name = MJRefreshAutoFooter.h; path = MJRefresh/Base/MJRefreshAutoFooter.h; sourceTree = \"<group>\"; };\n\t\t92B6BBB6C315EC259D88AE15492CB00C /* AFCompatibilityMacros.h */ = {isa = PBXFileReference; includeInIndex = 1; lastKnownFileType = sourcecode.c.h; name = AFCompatibilityMacros.h; path = AFNetworking/AFCompatibilityMacros.h; sourceTree = \"<group>\"; };\n\t\t9368782BB739A9D126E04B22303D9202 /* MASConstraint.h */ = {isa = PBXFileReference; includeInIndex = 1; lastKnownFileType = sourcecode.c.h; name = MASConstraint.h; path = Masonry/MASConstraint.h; sourceTree = \"<group>\"; };\n\t\t93A4A3777CF96A4AAC1D13BA6DCCEA73 /* Podfile */ = {isa = PBXFileReference; explicitFileType = text.script.ruby; includeInIndex = 1; lastKnownFileType = text; name = Podfile; path = ../Podfile; sourceTree = SOURCE_ROOT; xcLanguageSpecificationIdentifier = xcode.lang.ruby; };\n\t\t942C4532EF198853220A432D58422DD2 /* IQToolbar.h */ = {isa = PBXFileReference; includeInIndex = 1; lastKnownFileType = sourcecode.c.h; name = IQToolbar.h; path = IQKeyboardManager/IQToolbar/IQToolbar.h; sourceTree = \"<group>\"; };\n\t\t946ED4F65A930E27B87B4C64CF93448F /* SDImageCacheConfig.m */ = {isa = PBXFileReference; includeInIndex = 1; lastKnownFileType = sourcecode.c.objc; name = SDImageCacheConfig.m; path = SDWebImage/SDImageCacheConfig.m; sourceTree = \"<group>\"; };\n\t\t94A43B8C857DD1704382376EB059966F /* AFImageDownloader.h */ = {isa = PBXFileReference; includeInIndex = 1; lastKnownFileType = sourcecode.c.h; name = AFImageDownloader.h; path = \"UIKit+AFNetworking/AFImageDownloader.h\"; sourceTree = \"<group>\"; };\n\t\t9672167A5CB36F21555EB8667E00E648 /* AFNetworkActivityIndicatorManager.m */ = {isa = PBXFileReference; includeInIndex = 1; lastKnownFileType = sourcecode.c.objc; name = AFNetworkActivityIndicatorManager.m; path = \"UIKit+AFNetworking/AFNetworkActivityIndicatorManager.m\"; sourceTree = \"<group>\"; };\n\t\t96ABBB90FE39224F370EF082D62700D6 /* AFURLResponseSerialization.m */ = {isa = PBXFileReference; includeInIndex = 1; lastKnownFileType = sourcecode.c.objc; name = AFURLResponseSerialization.m; path = AFNetworking/AFURLResponseSerialization.m; sourceTree = \"<group>\"; };\n\t\t97BA14749414BDF300B90BB317303DC0 /* MASConstraint+Private.h */ = {isa = PBXFileReference; includeInIndex = 1; lastKnownFileType = sourcecode.c.h; name = \"MASConstraint+Private.h\"; path = \"Masonry/MASConstraint+Private.h\"; sourceTree = \"<group>\"; };\n\t\t9810E849B6B9FD4EE7BAD07962C2D60D /* UIImage+MultiFormat.m */ = {isa = PBXFileReference; includeInIndex = 1; lastKnownFileType = sourcecode.c.objc; name = \"UIImage+MultiFormat.m\"; path = \"SDWebImage/UIImage+MultiFormat.m\"; sourceTree = \"<group>\"; };\n\t\t98F4FB200CB5D6F4AF6D96649EEFB9B3 /* AFURLResponseSerialization.h */ = {isa = PBXFileReference; includeInIndex = 1; lastKnownFileType = sourcecode.c.h; name = AFURLResponseSerialization.h; path = AFNetworking/AFURLResponseSerialization.h; sourceTree = \"<group>\"; };\n\t\t9CB1315D5EF9F1AE71C34B3A4ED37E5C /* UIActivityIndicatorView+AFNetworking.h */ = {isa = PBXFileReference; includeInIndex = 1; lastKnownFileType = sourcecode.c.h; name = \"UIActivityIndicatorView+AFNetworking.h\"; path = \"UIKit+AFNetworking/UIActivityIndicatorView+AFNetworking.h\"; sourceTree = \"<group>\"; };\n\t\t9FC34005AFEC5A413340BE6AFC5F8205 /* UIImage+ForceDecode.h */ = {isa = PBXFileReference; includeInIndex = 1; lastKnownFileType = sourcecode.c.h; name = \"UIImage+ForceDecode.h\"; path = \"SDWebImage/UIImage+ForceDecode.h\"; sourceTree = \"<group>\"; };\n\t\t9FF4C03D27CF05261DC3E872097E386B /* MJRefreshAutoFooter.m */ = {isa = PBXFileReference; includeInIndex = 1; lastKnownFileType = sourcecode.c.objc; name = MJRefreshAutoFooter.m; path = MJRefresh/Base/MJRefreshAutoFooter.m; sourceTree = \"<group>\"; };\n\t\tA1059693069E66F6E0FF45E00767F0E1 /* JSONAPI.h */ = {isa = PBXFileReference; includeInIndex = 1; lastKnownFileType = sourcecode.c.h; name = JSONAPI.h; path = JSONModel/JSONModelNetworking/JSONAPI.h; sourceTree = \"<group>\"; };\n\t\tA1497C2A11E327A3EC5146BA008E16A8 /* JSONModel-dummy.m */ = {isa = PBXFileReference; includeInIndex = 1; lastKnownFileType = sourcecode.c.objc; path = \"JSONModel-dummy.m\"; sourceTree = \"<group>\"; };\n\t\tA1C83B7AF8A2B8B619852AD14A455176 /* IQUIView+IQKeyboardToolbar.h */ = {isa = PBXFileReference; includeInIndex = 1; lastKnownFileType = sourcecode.c.h; name = \"IQUIView+IQKeyboardToolbar.h\"; path = \"IQKeyboardManager/IQToolbar/IQUIView+IQKeyboardToolbar.h\"; sourceTree = \"<group>\"; };\n\t\tA30FB687D2D1EDF9288CB313047AA39B /* UIImageView+AFNetworking.h */ = {isa = PBXFileReference; includeInIndex = 1; lastKnownFileType = sourcecode.c.h; name = \"UIImageView+AFNetworking.h\"; path = \"UIKit+AFNetworking/UIImageView+AFNetworking.h\"; sourceTree = \"<group>\"; };\n\t\tA35350D799EF4AC1AAE298C89F75FC90 /* JSONAPI.m */ = {isa = PBXFileReference; includeInIndex = 1; lastKnownFileType = sourcecode.c.objc; name = JSONAPI.m; path = JSONModel/JSONModelNetworking/JSONAPI.m; sourceTree = \"<group>\"; };\n\t\tA35F27CB0E69D2B1D7E4EC37206DBBE3 /* MJRefresh.h */ = {isa = PBXFileReference; includeInIndex = 1; lastKnownFileType = sourcecode.c.h; name = MJRefresh.h; path = MJRefresh/MJRefresh.h; sourceTree = \"<group>\"; };\n\t\tA42DBD13DC3011C2A7ABA399676C9060 /* MASConstraintMaker.h */ = {isa = PBXFileReference; includeInIndex = 1; lastKnownFileType = sourcecode.c.h; name = MASConstraintMaker.h; path = Masonry/MASConstraintMaker.h; sourceTree = \"<group>\"; };\n\t\tA6DBA11C42E5765840699D6680828779 /* MBProgressHUD.h */ = {isa = PBXFileReference; includeInIndex = 1; lastKnownFileType = sourcecode.c.h; path = MBProgressHUD.h; sourceTree = \"<group>\"; };\n\t\tAA17B0A0C5BB1D2307458B0860AD53F4 /* MJRefreshFooter.h */ = {isa = PBXFileReference; includeInIndex = 1; lastKnownFileType = sourcecode.c.h; name = MJRefreshFooter.h; path = MJRefresh/Base/MJRefreshFooter.h; sourceTree = \"<group>\"; };\n\t\tABC43EB60DFE1140AE7BE1C68F6B510A /* JSONKeyMapper.h */ = {isa = PBXFileReference; includeInIndex = 1; lastKnownFileType = sourcecode.c.h; name = JSONKeyMapper.h; path = JSONModel/JSONModelTransformations/JSONKeyMapper.h; sourceTree = \"<group>\"; };\n\t\tADCC9CEC989A17B95F7FBC2BB7B59B5B /* NSArray+MASShorthandAdditions.h */ = {isa = PBXFileReference; includeInIndex = 1; lastKnownFileType = sourcecode.c.h; name = \"NSArray+MASShorthandAdditions.h\"; path = \"Masonry/NSArray+MASShorthandAdditions.h\"; sourceTree = \"<group>\"; };\n\t\tAE94DB777C825A104BB0DC12D6219BA6 /* IQUIViewController+Additions.m */ = {isa = PBXFileReference; includeInIndex = 1; lastKnownFileType = sourcecode.c.objc; name = \"IQUIViewController+Additions.m\"; path = \"IQKeyboardManager/Categories/IQUIViewController+Additions.m\"; sourceTree = \"<group>\"; };\n\t\tB1C385BB34C452FFDFBE3B34E66C5042 /* UIImageView+WebCache.m */ = {isa = PBXFileReference; includeInIndex = 1; lastKnownFileType = sourcecode.c.objc; name = \"UIImageView+WebCache.m\"; path = \"SDWebImage/UIImageView+WebCache.m\"; sourceTree = \"<group>\"; };\n\t\tB3D09683D9EE8F629CBE54F6BE93D9C7 /* SDWebImageCoderHelper.m */ = {isa = PBXFileReference; includeInIndex = 1; lastKnownFileType = sourcecode.c.objc; name = SDWebImageCoderHelper.m; path = SDWebImage/SDWebImageCoderHelper.m; sourceTree = \"<group>\"; };\n\t\tB4289BBFC1E174AE3A91BA4E89186EBC /* libMJRefresh.a */ = {isa = PBXFileReference; explicitFileType = archive.ar; includeInIndex = 0; name = libMJRefresh.a; path = libMJRefresh.a; sourceTree = BUILT_PRODUCTS_DIR; };\n\t\tB5AE0EA630B7F8A8474F8FE5154DCDD2 /* ViewController+MASAdditions.m */ = {isa = PBXFileReference; includeInIndex = 1; lastKnownFileType = sourcecode.c.objc; name = \"ViewController+MASAdditions.m\"; path = \"Masonry/ViewController+MASAdditions.m\"; sourceTree = \"<group>\"; };\n\t\tB5D3022E3C0E43A8341A77DF4A1C8CBF /* JSONKeyMapper.m */ = {isa = PBXFileReference; includeInIndex = 1; lastKnownFileType = sourcecode.c.objc; name = JSONKeyMapper.m; path = JSONModel/JSONModelTransformations/JSONKeyMapper.m; sourceTree = \"<group>\"; };\n\t\tB620FC0B4896B0458BFCAD6BAE1FBB8D /* IQKeyboardReturnKeyHandler.h */ = {isa = PBXFileReference; includeInIndex = 1; lastKnownFileType = sourcecode.c.h; name = IQKeyboardReturnKeyHandler.h; path = IQKeyboardManager/IQKeyboardReturnKeyHandler.h; sourceTree = \"<group>\"; };\n\t\tB65FF06B4D8C9D3B68EE1340014AB01B /* UIScrollView+MJRefresh.m */ = {isa = PBXFileReference; includeInIndex = 1; lastKnownFileType = sourcecode.c.objc; name = \"UIScrollView+MJRefresh.m\"; path = \"MJRefresh/UIScrollView+MJRefresh.m\"; sourceTree = \"<group>\"; };\n\t\tB662AC86F01BC571112C98BBC57D69C0 /* AFNetworkActivityIndicatorManager.h */ = {isa = PBXFileReference; includeInIndex = 1; lastKnownFileType = sourcecode.c.h; name = AFNetworkActivityIndicatorManager.h; path = \"UIKit+AFNetworking/AFNetworkActivityIndicatorManager.h\"; sourceTree = \"<group>\"; };\n\t\tB6FF690A4E1746B96F4EA0582670EDB5 /* JSONValueTransformer.m */ = {isa = PBXFileReference; includeInIndex = 1; lastKnownFileType = sourcecode.c.objc; name = JSONValueTransformer.m; path = JSONModel/JSONModelTransformations/JSONValueTransformer.m; sourceTree = \"<group>\"; };\n\t\tB70EF1ADE5AD0538A483935884FD3261 /* JSONModel.h */ = {isa = PBXFileReference; includeInIndex = 1; lastKnownFileType = sourcecode.c.h; name = JSONModel.h; path = JSONModel/JSONModel/JSONModel.h; sourceTree = \"<group>\"; };\n\t\tBA33D3E43E92A561A9A7C5879CE85CC4 /* SDWebImageDownloader.m */ = {isa = PBXFileReference; includeInIndex = 1; lastKnownFileType = sourcecode.c.objc; name = SDWebImageDownloader.m; path = SDWebImage/SDWebImageDownloader.m; sourceTree = \"<group>\"; };\n\t\tBC85C4BF5AFDE1C82650A6345EDD3E3D /* Masonry.h */ = {isa = PBXFileReference; includeInIndex = 1; lastKnownFileType = sourcecode.c.h; name = Masonry.h; path = Masonry/Masonry.h; sourceTree = \"<group>\"; };\n\t\tBD2EE0A4FE3E1F4D0E775CDD9F12917C /* MJRefresh-prefix.pch */ = {isa = PBXFileReference; includeInIndex = 1; lastKnownFileType = sourcecode.c.h; path = \"MJRefresh-prefix.pch\"; sourceTree = \"<group>\"; };\n\t\tBE60E58D854F441215F76AC66BDD3EA7 /* libPods-CKMeiTuanShopView.a */ = {isa = PBXFileReference; explicitFileType = archive.ar; includeInIndex = 0; name = \"libPods-CKMeiTuanShopView.a\"; path = \"libPods-CKMeiTuanShopView.a\"; sourceTree = BUILT_PRODUCTS_DIR; };\n\t\tBF01A2FB66A91A729EF2F91449F9E8BD /* MASViewAttribute.m */ = {isa = PBXFileReference; includeInIndex = 1; lastKnownFileType = sourcecode.c.objc; name = MASViewAttribute.m; path = Masonry/MASViewAttribute.m; sourceTree = \"<group>\"; };\n\t\tC02A71CFEA4D6E4E92165918AAC0B00E /* IQUIScrollView+Additions.h */ = {isa = PBXFileReference; includeInIndex = 1; lastKnownFileType = sourcecode.c.h; name = \"IQUIScrollView+Additions.h\"; path = \"IQKeyboardManager/Categories/IQUIScrollView+Additions.h\"; sourceTree = \"<group>\"; };\n\t\tC125EE2696892D1D92D34B40ADF01529 /* MBProgressHUD.m */ = {isa = PBXFileReference; includeInIndex = 1; lastKnownFileType = sourcecode.c.objc; path = MBProgressHUD.m; sourceTree = \"<group>\"; };\n\t\tC54D6B28E36826F91C66A854B938CE20 /* Pods-CKMeiTuanShopView-dummy.m */ = {isa = PBXFileReference; includeInIndex = 1; lastKnownFileType = sourcecode.c.objc; path = \"Pods-CKMeiTuanShopView-dummy.m\"; sourceTree = \"<group>\"; };\n\t\tC968DAAF4B8479DD1212B231D7E51398 /* NSData+ImageContentType.h */ = {isa = PBXFileReference; includeInIndex = 1; lastKnownFileType = sourcecode.c.h; name = \"NSData+ImageContentType.h\"; path = \"SDWebImage/NSData+ImageContentType.h\"; sourceTree = \"<group>\"; };\n\t\tCB4C94EFBC30036105D5B196BE7A390D /* UIProgressView+AFNetworking.h */ = {isa = PBXFileReference; includeInIndex = 1; lastKnownFileType = sourcecode.c.h; name = \"UIProgressView+AFNetworking.h\"; path = \"UIKit+AFNetworking/UIProgressView+AFNetworking.h\"; sourceTree = \"<group>\"; };\n\t\tCCAF23CBD979883A953DDFCAC2F7235B /* IQKeyboardManagerConstants.h */ = {isa = PBXFileReference; includeInIndex = 1; lastKnownFileType = sourcecode.c.h; name = IQKeyboardManagerConstants.h; path = IQKeyboardManager/Constants/IQKeyboardManagerConstants.h; sourceTree = \"<group>\"; };\n\t\tCCEDD084C280BDDA89FA4DC76D52A359 /* CoreGraphics.framework */ = {isa = PBXFileReference; lastKnownFileType = wrapper.framework; name = CoreGraphics.framework; path = Platforms/iPhoneOS.platform/Developer/SDKs/iPhoneOS11.3.sdk/System/Library/Frameworks/CoreGraphics.framework; sourceTree = DEVELOPER_DIR; };\n\t\tCE9F45F1C5C94953B7CE8CBCA6C4A2D9 /* MJRefreshBackStateFooter.h */ = {isa = PBXFileReference; includeInIndex = 1; lastKnownFileType = sourcecode.c.h; name = MJRefreshBackStateFooter.h; path = MJRefresh/Custom/Footer/Back/MJRefreshBackStateFooter.h; sourceTree = \"<group>\"; };\n\t\tCEC313A9D33B2E526DA0888542B56E3B /* AFImageDownloader.m */ = {isa = PBXFileReference; includeInIndex = 1; lastKnownFileType = sourcecode.c.objc; name = AFImageDownloader.m; path = \"UIKit+AFNetworking/AFImageDownloader.m\"; sourceTree = \"<group>\"; };\n\t\tCF2B09D0B4866290BD2968E459BF495A /* UIImage+ForceDecode.m */ = {isa = PBXFileReference; includeInIndex = 1; lastKnownFileType = sourcecode.c.objc; name = \"UIImage+ForceDecode.m\"; path = \"SDWebImage/UIImage+ForceDecode.m\"; sourceTree = \"<group>\"; };\n\t\tD0C49A52712D5B3FDD7C25502B9DD9F4 /* SDWebImageCodersManager.h */ = {isa = PBXFileReference; includeInIndex = 1; lastKnownFileType = sourcecode.c.h; name = SDWebImageCodersManager.h; path = SDWebImage/SDWebImageCodersManager.h; sourceTree = \"<group>\"; };\n\t\tD0CA8ACC4583E47884F62A7511A2B330 /* IQKeyboardManager.m */ = {isa = PBXFileReference; includeInIndex = 1; lastKnownFileType = sourcecode.c.objc; name = IQKeyboardManager.m; path = IQKeyboardManager/IQKeyboardManager.m; sourceTree = \"<group>\"; };\n\t\tD1A2ECC05546A21BC4F67C686FA4EF17 /* IQNSArray+Sort.m */ = {isa = PBXFileReference; includeInIndex = 1; lastKnownFileType = sourcecode.c.objc; name = \"IQNSArray+Sort.m\"; path = \"IQKeyboardManager/Categories/IQNSArray+Sort.m\"; sourceTree = \"<group>\"; };\n\t\tD6A0729E53DB0DF8B08FD6B3612DA23D /* MASUtilities.h */ = {isa = PBXFileReference; includeInIndex = 1; lastKnownFileType = sourcecode.c.h; name = MASUtilities.h; path = Masonry/MASUtilities.h; sourceTree = \"<group>\"; };\n\t\tD75E0AB25FBA9C94CC38D8073FD08C85 /* AFSecurityPolicy.h */ = {isa = PBXFileReference; includeInIndex = 1; lastKnownFileType = sourcecode.c.h; name = AFSecurityPolicy.h; path = AFNetworking/AFSecurityPolicy.h; sourceTree = \"<group>\"; };\n\t\tD78F6F2BA9CE1F3B67ED424990023B82 /* JSONModel+networking.h */ = {isa = PBXFileReference; includeInIndex = 1; lastKnownFileType = sourcecode.c.h; name = \"JSONModel+networking.h\"; path = \"JSONModel/JSONModelNetworking/JSONModel+networking.h\"; sourceTree = \"<group>\"; };\n\t\tD7C97FD457A28A6BC56615758E665F59 /* UIProgressView+AFNetworking.m */ = {isa = PBXFileReference; includeInIndex = 1; lastKnownFileType = sourcecode.c.objc; name = \"UIProgressView+AFNetworking.m\"; path = \"UIKit+AFNetworking/UIProgressView+AFNetworking.m\"; sourceTree = \"<group>\"; };\n\t\tD830C6B98CF93347BACB91A39444BD0B /* NSButton+WebCache.m */ = {isa = PBXFileReference; includeInIndex = 1; lastKnownFileType = sourcecode.c.objc; name = \"NSButton+WebCache.m\"; path = \"SDWebImage/NSButton+WebCache.m\"; sourceTree = \"<group>\"; };\n\t\tD92AA134D8C416BA2D30B655C9426FC3 /* NSArray+MASAdditions.h */ = {isa = PBXFileReference; includeInIndex = 1; lastKnownFileType = sourcecode.c.h; name = \"NSArray+MASAdditions.h\"; path = \"Masonry/NSArray+MASAdditions.h\"; sourceTree = \"<group>\"; };\n\t\tDAABC69A5667877A1A707C4A56B972C8 /* MobileCoreServices.framework */ = {isa = PBXFileReference; lastKnownFileType = wrapper.framework; name = MobileCoreServices.framework; path = Platforms/iPhoneOS.platform/Developer/SDKs/iPhoneOS11.3.sdk/System/Library/Frameworks/MobileCoreServices.framework; sourceTree = DEVELOPER_DIR; };\n\t\tDEBA3FEECD41A0A4ED1B6CBF7008321C /* SDWebImageImageIOCoder.m */ = {isa = PBXFileReference; includeInIndex = 1; lastKnownFileType = sourcecode.c.objc; name = SDWebImageImageIOCoder.m; path = SDWebImage/SDWebImageImageIOCoder.m; sourceTree = \"<group>\"; };\n\t\tE05E32E3CC552529A3CA3EDF4AC8C2BD /* MJRefreshConst.m */ = {isa = PBXFileReference; includeInIndex = 1; lastKnownFileType = sourcecode.c.objc; name = MJRefreshConst.m; path = MJRefresh/MJRefreshConst.m; sourceTree = \"<group>\"; };\n\t\tE10621253D7C472F0A05D590F7F6D3F8 /* JSONHTTPClient.h */ = {isa = PBXFileReference; includeInIndex = 1; lastKnownFileType = sourcecode.c.h; name = JSONHTTPClient.h; path = JSONModel/JSONModelNetworking/JSONHTTPClient.h; sourceTree = \"<group>\"; };\n\t\tE22C1B8A69949D3E25EB45CBF0F860B1 /* MJRefreshAutoNormalFooter.h */ = {isa = PBXFileReference; includeInIndex = 1; lastKnownFileType = sourcecode.c.h; name = MJRefreshAutoNormalFooter.h; path = MJRefresh/Custom/Footer/Auto/MJRefreshAutoNormalFooter.h; sourceTree = \"<group>\"; };\n\t\tE40D2C513286835189103AC2C9C78CF6 /* MASLayoutConstraint.h */ = {isa = PBXFileReference; includeInIndex = 1; lastKnownFileType = sourcecode.c.h; name = MASLayoutConstraint.h; path = Masonry/MASLayoutConstraint.h; sourceTree = \"<group>\"; };\n\t\tE4278303B183BC735CF396F27011D87F /* SDWebImageManager.m */ = {isa = PBXFileReference; includeInIndex = 1; lastKnownFileType = sourcecode.c.objc; name = SDWebImageManager.m; path = SDWebImage/SDWebImageManager.m; sourceTree = \"<group>\"; };\n\t\tE4353C5694DDFEF33B194E0D53EF1F42 /* MJRefreshBackStateFooter.m */ = {isa = PBXFileReference; includeInIndex = 1; lastKnownFileType = sourcecode.c.objc; name = MJRefreshBackStateFooter.m; path = MJRefresh/Custom/Footer/Back/MJRefreshBackStateFooter.m; sourceTree = \"<group>\"; };\n\t\tE9AA9A5EB11C2750A37FFDD08B49B5C2 /* MJRefresh.xcconfig */ = {isa = PBXFileReference; includeInIndex = 1; lastKnownFileType = text.xcconfig; path = MJRefresh.xcconfig; sourceTree = \"<group>\"; };\n\t\tEA23579217F8A09734A9AFFEB1A0C34D /* IQTitleBarButtonItem.m */ = {isa = PBXFileReference; includeInIndex = 1; lastKnownFileType = sourcecode.c.objc; name = IQTitleBarButtonItem.m; path = IQKeyboardManager/IQToolbar/IQTitleBarButtonItem.m; sourceTree = \"<group>\"; };\n\t\tEA538CFE76E6657A63EC792CFA8FD5D1 /* SDWebImagePrefetcher.h */ = {isa = PBXFileReference; includeInIndex = 1; lastKnownFileType = sourcecode.c.h; name = SDWebImagePrefetcher.h; path = SDWebImage/SDWebImagePrefetcher.h; sourceTree = \"<group>\"; };\n\t\tEB8564D26A815B7E235BB052793C1CDF /* JSONModelError.m */ = {isa = PBXFileReference; includeInIndex = 1; lastKnownFileType = sourcecode.c.objc; name = JSONModelError.m; path = JSONModel/JSONModel/JSONModelError.m; sourceTree = \"<group>\"; };\n\t\tEC200DE07039564FC22F41E3EDA6BE8A /* NSImage+WebCache.h */ = {isa = PBXFileReference; includeInIndex = 1; lastKnownFileType = sourcecode.c.h; name = \"NSImage+WebCache.h\"; path = \"SDWebImage/NSImage+WebCache.h\"; sourceTree = \"<group>\"; };\n\t\tEF68077839E34CAF9215B7F6DE559C08 /* MJRefreshStateHeader.h */ = {isa = PBXFileReference; includeInIndex = 1; lastKnownFileType = sourcecode.c.h; name = MJRefreshStateHeader.h; path = MJRefresh/Custom/Header/MJRefreshStateHeader.h; sourceTree = \"<group>\"; };\n\t\tF054F6807F8DDFEF4DC5026AB4CB073A /* JSONModel+networking.m */ = {isa = PBXFileReference; includeInIndex = 1; lastKnownFileType = sourcecode.c.objc; name = \"JSONModel+networking.m\"; path = \"JSONModel/JSONModelNetworking/JSONModel+networking.m\"; sourceTree = \"<group>\"; };\n\t\tF0D65A04126D96B1F5691912F64913C4 /* MJRefreshNormalHeader.m */ = {isa = PBXFileReference; includeInIndex = 1; lastKnownFileType = sourcecode.c.objc; name = MJRefreshNormalHeader.m; path = MJRefresh/Custom/Header/MJRefreshNormalHeader.m; sourceTree = \"<group>\"; };\n\t\tF174FC7BF0F8FB5A45DB1844AA9451EF /* IQUIViewController+Additions.h */ = {isa = PBXFileReference; includeInIndex = 1; lastKnownFileType = sourcecode.c.h; name = \"IQUIViewController+Additions.h\"; path = \"IQKeyboardManager/Categories/IQUIViewController+Additions.h\"; sourceTree = \"<group>\"; };\n\t\tF1D49456C853E5629F18A4451FFC18C7 /* UIButton+WebCache.m */ = {isa = PBXFileReference; includeInIndex = 1; lastKnownFileType = sourcecode.c.objc; name = \"UIButton+WebCache.m\"; path = \"SDWebImage/UIButton+WebCache.m\"; sourceTree = \"<group>\"; };\n\t\tF1F1B43A9AF0FD277FB9AA0F46CC6DF8 /* UIImageView+WebCache.h */ = {isa = PBXFileReference; includeInIndex = 1; lastKnownFileType = sourcecode.c.h; name = \"UIImageView+WebCache.h\"; path = \"SDWebImage/UIImageView+WebCache.h\"; sourceTree = \"<group>\"; };\n\t\tF275881682E828ACC5C181A436A058B6 /* libAFNetworking.a */ = {isa = PBXFileReference; explicitFileType = archive.ar; includeInIndex = 0; name = libAFNetworking.a; path = libAFNetworking.a; sourceTree = BUILT_PRODUCTS_DIR; };\n\t\tF2A4BA4A981FA7EDECBFFAFDFEE402B0 /* UIImageView+HighlightedWebCache.h */ = {isa = PBXFileReference; includeInIndex = 1; lastKnownFileType = sourcecode.c.h; name = \"UIImageView+HighlightedWebCache.h\"; path = \"SDWebImage/UIImageView+HighlightedWebCache.h\"; sourceTree = \"<group>\"; };\n\t\tF3878840F7FFA445AA5037C5C39E4327 /* AFURLRequestSerialization.h */ = {isa = PBXFileReference; includeInIndex = 1; lastKnownFileType = sourcecode.c.h; name = AFURLRequestSerialization.h; path = AFNetworking/AFURLRequestSerialization.h; sourceTree = \"<group>\"; };\n\t\tF3BE4FB3E26549B03E4BCC72BD439BB8 /* NSArray+MASAdditions.m */ = {isa = PBXFileReference; includeInIndex = 1; lastKnownFileType = sourcecode.c.objc; name = \"NSArray+MASAdditions.m\"; path = \"Masonry/NSArray+MASAdditions.m\"; sourceTree = \"<group>\"; };\n\t\tF3CAA57AEBE5F6C1BE45718218B24732 /* Masonry-prefix.pch */ = {isa = PBXFileReference; includeInIndex = 1; lastKnownFileType = sourcecode.c.h; path = \"Masonry-prefix.pch\"; sourceTree = \"<group>\"; };\n\t\tF3E48C0ADDCE3CAD3ECBDD3459D270B8 /* MASViewConstraint.m */ = {isa = PBXFileReference; includeInIndex = 1; lastKnownFileType = sourcecode.c.objc; name = MASViewConstraint.m; path = Masonry/MASViewConstraint.m; sourceTree = \"<group>\"; };\n\t\tF3E56203EA3EAA3A2EC5075754B165C0 /* MJRefreshGifHeader.m */ = {isa = PBXFileReference; includeInIndex = 1; lastKnownFileType = sourcecode.c.objc; name = MJRefreshGifHeader.m; path = MJRefresh/Custom/Header/MJRefreshGifHeader.m; sourceTree = \"<group>\"; };\n\t\tF41150B3CA59DABF15FA6EED02960852 /* NSLayoutConstraint+MASDebugAdditions.m */ = {isa = PBXFileReference; includeInIndex = 1; lastKnownFileType = sourcecode.c.objc; name = \"NSLayoutConstraint+MASDebugAdditions.m\"; path = \"Masonry/NSLayoutConstraint+MASDebugAdditions.m\"; sourceTree = \"<group>\"; };\n\t\tF64CA8A154383326CCAF53A79E45F734 /* JSONModelClassProperty.m */ = {isa = PBXFileReference; includeInIndex = 1; lastKnownFileType = sourcecode.c.objc; name = JSONModelClassProperty.m; path = JSONModel/JSONModel/JSONModelClassProperty.m; sourceTree = \"<group>\"; };\n\t\tF729F0917BB520D508FEAA84B546885A /* IQTitleBarButtonItem.h */ = {isa = PBXFileReference; includeInIndex = 1; lastKnownFileType = sourcecode.c.h; name = IQTitleBarButtonItem.h; path = IQKeyboardManager/IQToolbar/IQTitleBarButtonItem.h; sourceTree = \"<group>\"; };\n\t\tF9514CE7D35DF6B5D9EC1FC5CF0D83DF /* UIWebView+AFNetworking.m */ = {isa = PBXFileReference; includeInIndex = 1; lastKnownFileType = sourcecode.c.objc; name = \"UIWebView+AFNetworking.m\"; path = \"UIKit+AFNetworking/UIWebView+AFNetworking.m\"; sourceTree = \"<group>\"; };\n\t\tFA812C8EBFA4BDC1E69D14C7C13A3C58 /* SDWebImageCoder.h */ = {isa = PBXFileReference; includeInIndex = 1; lastKnownFileType = sourcecode.c.h; name = SDWebImageCoder.h; path = SDWebImage/SDWebImageCoder.h; sourceTree = \"<group>\"; };\n\t\tFB5C5918924F1F406F47B52BDF6C9B86 /* IQUIView+IQKeyboardToolbar.m */ = {isa = PBXFileReference; includeInIndex = 1; lastKnownFileType = sourcecode.c.objc; name = \"IQUIView+IQKeyboardToolbar.m\"; path = \"IQKeyboardManager/IQToolbar/IQUIView+IQKeyboardToolbar.m\"; sourceTree = \"<group>\"; };\n\t\tFD1D5EAAD8DF2CA1A7D724DC8884BF50 /* SDWebImage-dummy.m */ = {isa = PBXFileReference; includeInIndex = 1; lastKnownFileType = sourcecode.c.objc; path = \"SDWebImage-dummy.m\"; sourceTree = \"<group>\"; };\n\t\tFD248A6F40362D9EF3809F550A251C75 /* MJRefreshBackGifFooter.h */ = {isa = PBXFileReference; includeInIndex = 1; lastKnownFileType = sourcecode.c.h; name = MJRefreshBackGifFooter.h; path = MJRefresh/Custom/Footer/Back/MJRefreshBackGifFooter.h; sourceTree = \"<group>\"; };\n\t\tFE7A35F6384D39CBBE4404AD42D6A8B7 /* UIRefreshControl+AFNetworking.m */ = {isa = PBXFileReference; includeInIndex = 1; lastKnownFileType = sourcecode.c.objc; name = \"UIRefreshControl+AFNetworking.m\"; path = \"UIKit+AFNetworking/UIRefreshControl+AFNetworking.m\"; sourceTree = \"<group>\"; };\n/* End PBXFileReference section */\n\n/* Begin PBXFrameworksBuildPhase section */\n\t\t18B6D1C8E45E6B7569EB39568E700816 /* Frameworks */ = {\n\t\t\tisa = PBXFrameworksBuildPhase;\n\t\t\tbuildActionMask = 2147483647;\n\t\t\tfiles = (\n\t\t\t);\n\t\t\trunOnlyForDeploymentPostprocessing = 0;\n\t\t};\n\t\t54A320E60D147224E3BED6F99F4B437C /* Frameworks */ = {\n\t\t\tisa = PBXFrameworksBuildPhase;\n\t\t\tbuildActionMask = 2147483647;\n\t\t\tfiles = (\n\t\t\t\t94E744F8018C62C107FA8E053CEA7BA1 /* CoreGraphics.framework in Frameworks */,\n\t\t\t\tB208DFD782346C6A1F400EAB2DF36455 /* QuartzCore.framework in Frameworks */,\n\t\t\t);\n\t\t\trunOnlyForDeploymentPostprocessing = 0;\n\t\t};\n\t\t6FD8312A1AEB348F49A81C438DB25115 /* Frameworks */ = {\n\t\t\tisa = PBXFrameworksBuildPhase;\n\t\t\tbuildActionMask = 2147483647;\n\t\t\tfiles = (\n\t\t\t\t46B538AFD3B41E0E9E53F78C76D65AA9 /* Foundation.framework in Frameworks */,\n\t\t\t\tFB2D6684809FC69FE060B456E307F0D8 /* UIKit.framework in Frameworks */,\n\t\t\t);\n\t\t\trunOnlyForDeploymentPostprocessing = 0;\n\t\t};\n\t\t85BF65AB4BB54A3FBE58EB4952D327FC /* Frameworks */ = {\n\t\t\tisa = PBXFrameworksBuildPhase;\n\t\t\tbuildActionMask = 2147483647;\n\t\t\tfiles = (\n\t\t\t);\n\t\t\trunOnlyForDeploymentPostprocessing = 0;\n\t\t};\n\t\t8756BB37F64AAC3AE16FAE90249207E3 /* Frameworks */ = {\n\t\t\tisa = PBXFrameworksBuildPhase;\n\t\t\tbuildActionMask = 2147483647;\n\t\t\tfiles = (\n\t\t\t\t452FA80139D393F7212F57FC157E5A8E /* CoreGraphics.framework in Frameworks */,\n\t\t\t\t18A0969FF6EEC2C58A7D4D4AAB7C6060 /* MobileCoreServices.framework in Frameworks */,\n\t\t\t\tFEDC1552CAE6D0410E6A27D827B0EF1B /* Security.framework in Frameworks */,\n\t\t\t\t7B6C0C29E2AC0F93F9C525BC89123049 /* SystemConfiguration.framework in Frameworks */,\n\t\t\t);\n\t\t\trunOnlyForDeploymentPostprocessing = 0;\n\t\t};\n\t\t881C35B098750D821F09F10E6BCAC46E /* Frameworks */ = {\n\t\t\tisa = PBXFrameworksBuildPhase;\n\t\t\tbuildActionMask = 2147483647;\n\t\t\tfiles = (\n\t\t\t);\n\t\t\trunOnlyForDeploymentPostprocessing = 0;\n\t\t};\n\t\tA4817342F231FCE9EA7AEB5EDB33362B /* Frameworks */ = {\n\t\t\tisa = PBXFrameworksBuildPhase;\n\t\t\tbuildActionMask = 2147483647;\n\t\t\tfiles = (\n\t\t\t\t85D89322451CE3E68557807D935F7579 /* CoreGraphics.framework in Frameworks */,\n\t\t\t\tCB225303BB0114B9759CBD02722BD9D2 /* Foundation.framework in Frameworks */,\n\t\t\t\tC003574556A419434A9DDD5573246609 /* QuartzCore.framework in Frameworks */,\n\t\t\t\t9C853E0503634DDBA6DB1123CAAE0DC9 /* UIKit.framework in Frameworks */,\n\t\t\t);\n\t\t\trunOnlyForDeploymentPostprocessing = 0;\n\t\t};\n\t\tC1B0A1A2BF32AA7A92C843DEC9D25688 /* Frameworks */ = {\n\t\t\tisa = PBXFrameworksBuildPhase;\n\t\t\tbuildActionMask = 2147483647;\n\t\t\tfiles = (\n\t\t\t\tF4EBD82B463CE6CE387693BCD8DC4BD7 /* ImageIO.framework in Frameworks */,\n\t\t\t);\n\t\t\trunOnlyForDeploymentPostprocessing = 0;\n\t\t};\n/* End PBXFrameworksBuildPhase section */\n\n/* Begin PBXGroup section */\n\t\t01AF909E8B3EF0042105C507261DF150 /* Masonry */ = {\n\t\t\tisa = PBXGroup;\n\t\t\tchildren = (\n\t\t\t\t8847EC2DE1616A45FCA0B9FA11163EBA /* MASCompositeConstraint.h */,\n\t\t\t\t655F8119C2E04E6B0901518F680B1AA1 /* MASCompositeConstraint.m */,\n\t\t\t\t9368782BB739A9D126E04B22303D9202 /* MASConstraint.h */,\n\t\t\t\t46DC3ACBF16E4AE3C428FBEADEB9746D /* MASConstraint.m */,\n\t\t\t\t97BA14749414BDF300B90BB317303DC0 /* MASConstraint+Private.h */,\n\t\t\t\tA42DBD13DC3011C2A7ABA399676C9060 /* MASConstraintMaker.h */,\n\t\t\t\t097602A71B2C1007BE60C56AECE91D78 /* MASConstraintMaker.m */,\n\t\t\t\tE40D2C513286835189103AC2C9C78CF6 /* MASLayoutConstraint.h */,\n\t\t\t\t02813F02AFDCE8F316C5C7B7C5342B0D /* MASLayoutConstraint.m */,\n\t\t\t\tBC85C4BF5AFDE1C82650A6345EDD3E3D /* Masonry.h */,\n\t\t\t\tD6A0729E53DB0DF8B08FD6B3612DA23D /* MASUtilities.h */,\n\t\t\t\t372377CFA929EEE78E981021576D0185 /* MASViewAttribute.h */,\n\t\t\t\tBF01A2FB66A91A729EF2F91449F9E8BD /* MASViewAttribute.m */,\n\t\t\t\t1576645C235C2BA60268F89C87BC372F /* MASViewConstraint.h */,\n\t\t\t\tF3E48C0ADDCE3CAD3ECBDD3459D270B8 /* MASViewConstraint.m */,\n\t\t\t\tD92AA134D8C416BA2D30B655C9426FC3 /* NSArray+MASAdditions.h */,\n\t\t\t\tF3BE4FB3E26549B03E4BCC72BD439BB8 /* NSArray+MASAdditions.m */,\n\t\t\t\tADCC9CEC989A17B95F7FBC2BB7B59B5B /* NSArray+MASShorthandAdditions.h */,\n\t\t\t\t55AF813A1109C1A9466CF0DE1840266E /* NSLayoutConstraint+MASDebugAdditions.h */,\n\t\t\t\tF41150B3CA59DABF15FA6EED02960852 /* NSLayoutConstraint+MASDebugAdditions.m */,\n\t\t\t\t7C7B1880F8A3FFE984C771ABD035C8B9 /* View+MASAdditions.h */,\n\t\t\t\t83F74F4B6795B1BA60F189FC5861257C /* View+MASAdditions.m */,\n\t\t\t\t44DF894B1952115C464D96A3DEAE1469 /* View+MASShorthandAdditions.h */,\n\t\t\t\t7BF4A280B8EB328BD45450273C8137A2 /* ViewController+MASAdditions.h */,\n\t\t\t\tB5AE0EA630B7F8A8474F8FE5154DCDD2 /* ViewController+MASAdditions.m */,\n\t\t\t\tA106510DCC582D1FC333DD8E8578E7B5 /* Support Files */,\n\t\t\t);\n\t\t\tname = Masonry;\n\t\t\tpath = Masonry;\n\t\t\tsourceTree = \"<group>\";\n\t\t};\n\t\t13093231699B60FAEE6D2E222F9824AE /* Reachability */ = {\n\t\t\tisa = PBXGroup;\n\t\t\tchildren = (\n\t\t\t\t2A8B2C5250F37FACD509829A818D43E9 /* AFNetworkReachabilityManager.h */,\n\t\t\t\t86A20EE8321B3832CFA99A2E3499677A /* AFNetworkReachabilityManager.m */,\n\t\t\t);\n\t\t\tname = Reachability;\n\t\t\tsourceTree = \"<group>\";\n\t\t};\n\t\t181162B86EEC4A6C50A4C55AF4CB73FF /* Core */ = {\n\t\t\tisa = PBXGroup;\n\t\t\tchildren = (\n\t\t\t\t5607B81B431F831E45EAD8D468B6909C /* NSButton+WebCache.h */,\n\t\t\t\tD830C6B98CF93347BACB91A39444BD0B /* NSButton+WebCache.m */,\n\t\t\t\tC968DAAF4B8479DD1212B231D7E51398 /* NSData+ImageContentType.h */,\n\t\t\t\t2802132384B84AC67785E22EEC9B9A6D /* NSData+ImageContentType.m */,\n\t\t\t\tEC200DE07039564FC22F41E3EDA6BE8A /* NSImage+WebCache.h */,\n\t\t\t\t4AF356DD0D6B70E4EB41B4441B05C09A /* NSImage+WebCache.m */,\n\t\t\t\t71693AD16BBB8076F062D95F8E0507AD /* SDAnimatedImageRep.h */,\n\t\t\t\t46DD52FF1C07F8F59DF74F2421AF3C74 /* SDAnimatedImageRep.m */,\n\t\t\t\t0D502E0A6679D6A110146A7233326ABE /* SDImageCache.h */,\n\t\t\t\t212C238B28ECDF4A67E870EDB1614A46 /* SDImageCache.m */,\n\t\t\t\t1AF0517C2CAAB40E26A57E3F05ABB1FF /* SDImageCacheConfig.h */,\n\t\t\t\t946ED4F65A930E27B87B4C64CF93448F /* SDImageCacheConfig.m */,\n\t\t\t\tFA812C8EBFA4BDC1E69D14C7C13A3C58 /* SDWebImageCoder.h */,\n\t\t\t\t1E1A4D20C261AB807198E144EB0D79B3 /* SDWebImageCoder.m */,\n\t\t\t\t25CA6D68E68A4C0BE409FB67069131E8 /* SDWebImageCoderHelper.h */,\n\t\t\t\tB3D09683D9EE8F629CBE54F6BE93D9C7 /* SDWebImageCoderHelper.m */,\n\t\t\t\tD0C49A52712D5B3FDD7C25502B9DD9F4 /* SDWebImageCodersManager.h */,\n\t\t\t\t561445C0DE9A5EF6E8945E036B30A0F0 /* SDWebImageCodersManager.m */,\n\t\t\t\t3E0CF4271F4F30090E68F88C2D646CE4 /* SDWebImageCompat.h */,\n\t\t\t\t62481C62B368316FCA335AAF70FFA7EE /* SDWebImageCompat.m */,\n\t\t\t\t8023299312890570F8B725D1B37A096B /* SDWebImageDownloader.h */,\n\t\t\t\tBA33D3E43E92A561A9A7C5879CE85CC4 /* SDWebImageDownloader.m */,\n\t\t\t\t46810B1FC079337AE8715B63423920EB /* SDWebImageDownloaderOperation.h */,\n\t\t\t\t6CE2BF06CA095D6DCF251897E908D122 /* SDWebImageDownloaderOperation.m */,\n\t\t\t\t48D4210E421744955550D766903FC2C9 /* SDWebImageFrame.h */,\n\t\t\t\t7B5F975D69BC82E86E925ED7C7517396 /* SDWebImageFrame.m */,\n\t\t\t\t43432F5BDD67CC010395E5E889BE48F9 /* SDWebImageGIFCoder.h */,\n\t\t\t\t2FBCF183467E8CE4D7286D55EFDE77B3 /* SDWebImageGIFCoder.m */,\n\t\t\t\t092119ED686EB41EA9556AF3F5571E8C /* SDWebImageImageIOCoder.h */,\n\t\t\t\tDEBA3FEECD41A0A4ED1B6CBF7008321C /* SDWebImageImageIOCoder.m */,\n\t\t\t\t5AD18AE9111D576DB3D62B7FED6B1E66 /* SDWebImageManager.h */,\n\t\t\t\tE4278303B183BC735CF396F27011D87F /* SDWebImageManager.m */,\n\t\t\t\t75AC8508B82117BD2388134252218A4D /* SDWebImageOperation.h */,\n\t\t\t\tEA538CFE76E6657A63EC792CFA8FD5D1 /* SDWebImagePrefetcher.h */,\n\t\t\t\t3B6FEC59C048693731901FD524C5073C /* SDWebImagePrefetcher.m */,\n\t\t\t\t6F668CAAA39CB1143C43CF8024723A2C /* SDWebImageTransition.h */,\n\t\t\t\t3F087D9FB8FC0EC5CE4E090010955495 /* SDWebImageTransition.m */,\n\t\t\t\t754460029FBC2AFED4D3911A88C66E08 /* UIButton+WebCache.h */,\n\t\t\t\tF1D49456C853E5629F18A4451FFC18C7 /* UIButton+WebCache.m */,\n\t\t\t\t9FC34005AFEC5A413340BE6AFC5F8205 /* UIImage+ForceDecode.h */,\n\t\t\t\tCF2B09D0B4866290BD2968E459BF495A /* UIImage+ForceDecode.m */,\n\t\t\t\t71385504D7D50839436BED58331C229D /* UIImage+GIF.h */,\n\t\t\t\t7F29887BB7024C272D6272610E5F25F6 /* UIImage+GIF.m */,\n\t\t\t\t2F19363E1A8200F58033D3A6DD0C6738 /* UIImage+MultiFormat.h */,\n\t\t\t\t9810E849B6B9FD4EE7BAD07962C2D60D /* UIImage+MultiFormat.m */,\n\t\t\t\tF2A4BA4A981FA7EDECBFFAFDFEE402B0 /* UIImageView+HighlightedWebCache.h */,\n\t\t\t\t258FDF51472BA6E79392430ABAA56EE8 /* UIImageView+HighlightedWebCache.m */,\n\t\t\t\tF1F1B43A9AF0FD277FB9AA0F46CC6DF8 /* UIImageView+WebCache.h */,\n\t\t\t\tB1C385BB34C452FFDFBE3B34E66C5042 /* UIImageView+WebCache.m */,\n\t\t\t\t091B0463C9A5CFDD88D5217495A83029 /* UIView+WebCache.h */,\n\t\t\t\t189318FE7451253F0040A6CF0C9D7966 /* UIView+WebCache.m */,\n\t\t\t\t12D6217F5A02928CEAEF63B55528895B /* UIView+WebCacheOperation.h */,\n\t\t\t\t072199AB902C13FB086881E8D565BDBD /* UIView+WebCacheOperation.m */,\n\t\t\t);\n\t\t\tname = Core;\n\t\t\tsourceTree = \"<group>\";\n\t\t};\n\t\t2158ED01B67EE9E3D068BB1A9331F703 /* Support Files */ = {\n\t\t\tisa = PBXGroup;\n\t\t\tchildren = (\n\t\t\t\t747E373CF2C681DD5B4735A9D3468550 /* AFNetworking.xcconfig */,\n\t\t\t\t5B3D0A85E6A457B53E83FDDA1AE7FADF /* AFNetworking-dummy.m */,\n\t\t\t\t56CDFDC4544D0E085400CD4B3A4EFB7F /* AFNetworking-prefix.pch */,\n\t\t\t);\n\t\t\tname = \"Support Files\";\n\t\t\tpath = \"../Target Support Files/AFNetworking\";\n\t\t\tsourceTree = \"<group>\";\n\t\t};\n\t\t381CBBA475D9F914C0F91BB00BDCBC83 /* SDWebImage */ = {\n\t\t\tisa = PBXGroup;\n\t\t\tchildren = (\n\t\t\t\t181162B86EEC4A6C50A4C55AF4CB73FF /* Core */,\n\t\t\t\tBB30C1185CF0DCA5CAB2498AFF425558 /* Support Files */,\n\t\t\t);\n\t\t\tname = SDWebImage;\n\t\t\tpath = SDWebImage;\n\t\t\tsourceTree = \"<group>\";\n\t\t};\n\t\t3BBB2884C461D754D6F15BE7EC08026A /* IQKeyboardManager */ = {\n\t\t\tisa = PBXGroup;\n\t\t\tchildren = (\n\t\t\t\t68730D85D43C46F0598728AF8EFE1E5D /* IQBarButtonItem.h */,\n\t\t\t\t3F3F6C918398180A2A2F0FED690628E2 /* IQBarButtonItem.m */,\n\t\t\t\t22C0DCA8E9A859C768627682EF3A98F5 /* IQKeyboardManager.h */,\n\t\t\t\tD0CA8ACC4583E47884F62A7511A2B330 /* IQKeyboardManager.m */,\n\t\t\t\tCCAF23CBD979883A953DDFCAC2F7235B /* IQKeyboardManagerConstants.h */,\n\t\t\t\t3BE565538E3E1F8F8457D54DE17F214D /* IQKeyboardManagerConstantsInternal.h */,\n\t\t\t\tB620FC0B4896B0458BFCAD6BAE1FBB8D /* IQKeyboardReturnKeyHandler.h */,\n\t\t\t\t07BA75BAB50A4867FE6E393C6FA0E6BE /* IQKeyboardReturnKeyHandler.m */,\n\t\t\t\t3B6B6DF7459C009420C9477E6B988025 /* IQNSArray+Sort.h */,\n\t\t\t\tD1A2ECC05546A21BC4F67C686FA4EF17 /* IQNSArray+Sort.m */,\n\t\t\t\t84F8F51C39A7E61A3F242C5F314C4573 /* IQPreviousNextView.h */,\n\t\t\t\t420658F05868578626DD62E9544AB362 /* IQPreviousNextView.m */,\n\t\t\t\t8CB6CEE856DE92651E1990407B44D4BB /* IQTextView.h */,\n\t\t\t\t36B3F387C4DF3AD77C70BAE323D6775E /* IQTextView.m */,\n\t\t\t\tF729F0917BB520D508FEAA84B546885A /* IQTitleBarButtonItem.h */,\n\t\t\t\tEA23579217F8A09734A9AFFEB1A0C34D /* IQTitleBarButtonItem.m */,\n\t\t\t\t942C4532EF198853220A432D58422DD2 /* IQToolbar.h */,\n\t\t\t\t36350DBB0F09F3F134040D39B4C12180 /* IQToolbar.m */,\n\t\t\t\tC02A71CFEA4D6E4E92165918AAC0B00E /* IQUIScrollView+Additions.h */,\n\t\t\t\t49D6EF8DC01818120C436057AA10910A /* IQUIScrollView+Additions.m */,\n\t\t\t\t5B5B17567BB1FC6DFDD9F4616D74474C /* IQUITextFieldView+Additions.h */,\n\t\t\t\t900E6C38664DDD02FD9220587315BEA9 /* IQUITextFieldView+Additions.m */,\n\t\t\t\t3FB959563DF7D2FE6C4C991D333F01EF /* IQUIView+Hierarchy.h */,\n\t\t\t\t1429AED655C1D66D8CB863E9E2C088A2 /* IQUIView+Hierarchy.m */,\n\t\t\t\tA1C83B7AF8A2B8B619852AD14A455176 /* IQUIView+IQKeyboardToolbar.h */,\n\t\t\t\tFB5C5918924F1F406F47B52BDF6C9B86 /* IQUIView+IQKeyboardToolbar.m */,\n\t\t\t\tF174FC7BF0F8FB5A45DB1844AA9451EF /* IQUIViewController+Additions.h */,\n\t\t\t\tAE94DB777C825A104BB0DC12D6219BA6 /* IQUIViewController+Additions.m */,\n\t\t\t\tD10BA866E6ACC42655711E885FF37039 /* Resources */,\n\t\t\t\tD263B1F52798E57E7B994476166BCE43 /* Support Files */,\n\t\t\t);\n\t\t\tname = IQKeyboardManager;\n\t\t\tpath = IQKeyboardManager;\n\t\t\tsourceTree = \"<group>\";\n\t\t};\n\t\t56F2E797FE7930DD5C9F83095A015A79 /* MBProgressHUD */ = {\n\t\t\tisa = PBXGroup;\n\t\t\tchildren = (\n\t\t\t\tA6DBA11C42E5765840699D6680828779 /* MBProgressHUD.h */,\n\t\t\t\tC125EE2696892D1D92D34B40ADF01529 /* MBProgressHUD.m */,\n\t\t\t\t641F56CD6A9FCF53FDC2518EEEB3F7B0 /* Support Files */,\n\t\t\t);\n\t\t\tname = MBProgressHUD;\n\t\t\tpath = MBProgressHUD;\n\t\t\tsourceTree = \"<group>\";\n\t\t};\n\t\t579246205DC1CFD1260AF9CE7C91A856 /* JSONModel */ = {\n\t\t\tisa = PBXGroup;\n\t\t\tchildren = (\n\t\t\t\tA1059693069E66F6E0FF45E00767F0E1 /* JSONAPI.h */,\n\t\t\t\tA35350D799EF4AC1AAE298C89F75FC90 /* JSONAPI.m */,\n\t\t\t\tE10621253D7C472F0A05D590F7F6D3F8 /* JSONHTTPClient.h */,\n\t\t\t\t6E6AFD1FA062A85473D365A124A63518 /* JSONHTTPClient.m */,\n\t\t\t\tABC43EB60DFE1140AE7BE1C68F6B510A /* JSONKeyMapper.h */,\n\t\t\t\tB5D3022E3C0E43A8341A77DF4A1C8CBF /* JSONKeyMapper.m */,\n\t\t\t\tB70EF1ADE5AD0538A483935884FD3261 /* JSONModel.h */,\n\t\t\t\t089A741D3CF2BEC18B399DDFF1419A36 /* JSONModel.m */,\n\t\t\t\tD78F6F2BA9CE1F3B67ED424990023B82 /* JSONModel+networking.h */,\n\t\t\t\tF054F6807F8DDFEF4DC5026AB4CB073A /* JSONModel+networking.m */,\n\t\t\t\t22DFE045DCA062C30F2293C54426FA92 /* JSONModelClassProperty.h */,\n\t\t\t\tF64CA8A154383326CCAF53A79E45F734 /* JSONModelClassProperty.m */,\n\t\t\t\t522DE1350A47486F796269A1AE7B64D2 /* JSONModelError.h */,\n\t\t\t\tEB8564D26A815B7E235BB052793C1CDF /* JSONModelError.m */,\n\t\t\t\t83DC88DE035478E7C11BDE937F97811B /* JSONModelLib.h */,\n\t\t\t\t3F527CA0DC0885E44F10F62CC7AB3A2A /* JSONValueTransformer.h */,\n\t\t\t\tB6FF690A4E1746B96F4EA0582670EDB5 /* JSONValueTransformer.m */,\n\t\t\t\t7765804FC64FB258A6CB1641BD868FC0 /* Support Files */,\n\t\t\t);\n\t\t\tname = JSONModel;\n\t\t\tpath = JSONModel;\n\t\t\tsourceTree = \"<group>\";\n\t\t};\n\t\t641F56CD6A9FCF53FDC2518EEEB3F7B0 /* Support Files */ = {\n\t\t\tisa = PBXGroup;\n\t\t\tchildren = (\n\t\t\t\t669BD396688BA61D05A94633CBF67E9B /* MBProgressHUD.xcconfig */,\n\t\t\t\t13BF75DF266C273C41FF335FE11F7744 /* MBProgressHUD-dummy.m */,\n\t\t\t\t03E4BE49F5FFBA96BD527EF7611BDD6C /* MBProgressHUD-prefix.pch */,\n\t\t\t);\n\t\t\tname = \"Support Files\";\n\t\t\tpath = \"../Target Support Files/MBProgressHUD\";\n\t\t\tsourceTree = \"<group>\";\n\t\t};\n\t\t66273317E8B9CDD53FDADFEF1B0B98E7 /* Support Files */ = {\n\t\t\tisa = PBXGroup;\n\t\t\tchildren = (\n\t\t\t\tE9AA9A5EB11C2750A37FFDD08B49B5C2 /* MJRefresh.xcconfig */,\n\t\t\t\t77683307D2F6EB6572856D83B8803BFE /* MJRefresh-dummy.m */,\n\t\t\t\tBD2EE0A4FE3E1F4D0E775CDD9F12917C /* MJRefresh-prefix.pch */,\n\t\t\t);\n\t\t\tname = \"Support Files\";\n\t\t\tpath = \"../Target Support Files/MJRefresh\";\n\t\t\tsourceTree = \"<group>\";\n\t\t};\n\t\t7765804FC64FB258A6CB1641BD868FC0 /* Support Files */ = {\n\t\t\tisa = PBXGroup;\n\t\t\tchildren = (\n\t\t\t\t43C97CA6F2F451BBCE6793BD968B0831 /* JSONModel.xcconfig */,\n\t\t\t\tA1497C2A11E327A3EC5146BA008E16A8 /* JSONModel-dummy.m */,\n\t\t\t\t0888CBF5A250C6F65D8138E6283F415B /* JSONModel-prefix.pch */,\n\t\t\t);\n\t\t\tname = \"Support Files\";\n\t\t\tpath = \"../Target Support Files/JSONModel\";\n\t\t\tsourceTree = \"<group>\";\n\t\t};\n\t\t785553737B06AFC3DA711DDEB7D56194 /* Frameworks */ = {\n\t\t\tisa = PBXGroup;\n\t\t\tchildren = (\n\t\t\t\tCBDA4991FA90453A95009DCE9E8BC0C7 /* iOS */,\n\t\t\t);\n\t\t\tname = Frameworks;\n\t\t\tsourceTree = \"<group>\";\n\t\t};\n\t\t7DB346D0F39D3F0E887471402A8071AB = {\n\t\t\tisa = PBXGroup;\n\t\t\tchildren = (\n\t\t\t\t93A4A3777CF96A4AAC1D13BA6DCCEA73 /* Podfile */,\n\t\t\t\t785553737B06AFC3DA711DDEB7D56194 /* Frameworks */,\n\t\t\t\tA8C865C0AA768EBECCDE5D9B3F9C38CC /* Pods */,\n\t\t\t\tFAB3C256446561C0ED1182ABFE5C1A71 /* Products */,\n\t\t\t\tE054EDB26BE61A9678311323194F68BE /* Targets Support Files */,\n\t\t\t);\n\t\t\tsourceTree = \"<group>\";\n\t\t};\n\t\t92FFC46E3DAA1B98D01F27482E18F30C /* Serialization */ = {\n\t\t\tisa = PBXGroup;\n\t\t\tchildren = (\n\t\t\t\tF3878840F7FFA445AA5037C5C39E4327 /* AFURLRequestSerialization.h */,\n\t\t\t\t1E6E124B86D696741661C4444D6D0E7F /* AFURLRequestSerialization.m */,\n\t\t\t\t98F4FB200CB5D6F4AF6D96649EEFB9B3 /* AFURLResponseSerialization.h */,\n\t\t\t\t96ABBB90FE39224F370EF082D62700D6 /* AFURLResponseSerialization.m */,\n\t\t\t);\n\t\t\tname = Serialization;\n\t\t\tsourceTree = \"<group>\";\n\t\t};\n\t\tA106510DCC582D1FC333DD8E8578E7B5 /* Support Files */ = {\n\t\t\tisa = PBXGroup;\n\t\t\tchildren = (\n\t\t\t\t7CD39885DB5B0E34BE3F3760574CDDE4 /* Masonry.xcconfig */,\n\t\t\t\t6FDD8673C0216FB65AB93DE0BDEFF907 /* Masonry-dummy.m */,\n\t\t\t\tF3CAA57AEBE5F6C1BE45718218B24732 /* Masonry-prefix.pch */,\n\t\t\t);\n\t\t\tname = \"Support Files\";\n\t\t\tpath = \"../Target Support Files/Masonry\";\n\t\t\tsourceTree = \"<group>\";\n\t\t};\n\t\tA8C865C0AA768EBECCDE5D9B3F9C38CC /* Pods */ = {\n\t\t\tisa = PBXGroup;\n\t\t\tchildren = (\n\t\t\t\tDC7907F2D57BB339A984073AE6A962BA /* AFNetworking */,\n\t\t\t\t3BBB2884C461D754D6F15BE7EC08026A /* IQKeyboardManager */,\n\t\t\t\t579246205DC1CFD1260AF9CE7C91A856 /* JSONModel */,\n\t\t\t\t01AF909E8B3EF0042105C507261DF150 /* Masonry */,\n\t\t\t\t56F2E797FE7930DD5C9F83095A015A79 /* MBProgressHUD */,\n\t\t\t\tB8C80EE2770173105257C123FA243C36 /* MJRefresh */,\n\t\t\t\t381CBBA475D9F914C0F91BB00BDCBC83 /* SDWebImage */,\n\t\t\t);\n\t\t\tname = Pods;\n\t\t\tsourceTree = \"<group>\";\n\t\t};\n\t\tAE300CD13E0D75D78BFDF7805BA94F2B /* UIKit */ = {\n\t\t\tisa = PBXGroup;\n\t\t\tchildren = (\n\t\t\t\t05C52F33951AD52B6EE2D7F16084DF86 /* AFAutoPurgingImageCache.h */,\n\t\t\t\t50A48C40592674FBD4DD121F72259442 /* AFAutoPurgingImageCache.m */,\n\t\t\t\t94A43B8C857DD1704382376EB059966F /* AFImageDownloader.h */,\n\t\t\t\tCEC313A9D33B2E526DA0888542B56E3B /* AFImageDownloader.m */,\n\t\t\t\tB662AC86F01BC571112C98BBC57D69C0 /* AFNetworkActivityIndicatorManager.h */,\n\t\t\t\t9672167A5CB36F21555EB8667E00E648 /* AFNetworkActivityIndicatorManager.m */,\n\t\t\t\t9CB1315D5EF9F1AE71C34B3A4ED37E5C /* UIActivityIndicatorView+AFNetworking.h */,\n\t\t\t\t3B489E4CDBA41E2E836AFD21D07E68D6 /* UIActivityIndicatorView+AFNetworking.m */,\n\t\t\t\t2560727E705165398131333EE349987C /* UIButton+AFNetworking.h */,\n\t\t\t\t506F9F4A582D7B4F3CF6BD205E7EB320 /* UIButton+AFNetworking.m */,\n\t\t\t\t07658CC763408BE00B090DDB7A4FB5F2 /* UIImage+AFNetworking.h */,\n\t\t\t\tA30FB687D2D1EDF9288CB313047AA39B /* UIImageView+AFNetworking.h */,\n\t\t\t\t5409FCE15124E7503F7B8AA7E8AD8AA6 /* UIImageView+AFNetworking.m */,\n\t\t\t\t6E3AA079F08094FC8DED54681851D4AF /* UIKit+AFNetworking.h */,\n\t\t\t\tCB4C94EFBC30036105D5B196BE7A390D /* UIProgressView+AFNetworking.h */,\n\t\t\t\tD7C97FD457A28A6BC56615758E665F59 /* UIProgressView+AFNetworking.m */,\n\t\t\t\t5EA06D39BE3BB30F7CAB0993DBF419C7 /* UIRefreshControl+AFNetworking.h */,\n\t\t\t\tFE7A35F6384D39CBBE4404AD42D6A8B7 /* UIRefreshControl+AFNetworking.m */,\n\t\t\t\t56D9AD191DD7522A8D3A5E9985524EA7 /* UIWebView+AFNetworking.h */,\n\t\t\t\tF9514CE7D35DF6B5D9EC1FC5CF0D83DF /* UIWebView+AFNetworking.m */,\n\t\t\t);\n\t\t\tname = UIKit;\n\t\t\tsourceTree = \"<group>\";\n\t\t};\n\t\tB6AA44D56924B9594E187473A1CC040E /* NSURLSession */ = {\n\t\t\tisa = PBXGroup;\n\t\t\tchildren = (\n\t\t\t\t92B6BBB6C315EC259D88AE15492CB00C /* AFCompatibilityMacros.h */,\n\t\t\t\t047E568C9F7EFED9EC0FB20C7B697D87 /* AFHTTPSessionManager.h */,\n\t\t\t\t0DE8BF3EE5EA937DE01C67A27F37DD79 /* AFHTTPSessionManager.m */,\n\t\t\t\t6469B0DE97EC3C337C7DEF928D660CC5 /* AFURLSessionManager.h */,\n\t\t\t\t48A0A184D6BACD66155704FED8A26BA6 /* AFURLSessionManager.m */,\n\t\t\t);\n\t\t\tname = NSURLSession;\n\t\t\tsourceTree = \"<group>\";\n\t\t};\n\t\tB8C80EE2770173105257C123FA243C36 /* MJRefresh */ = {\n\t\t\tisa = PBXGroup;\n\t\t\tchildren = (\n\t\t\t\tA35F27CB0E69D2B1D7E4EC37206DBBE3 /* MJRefresh.h */,\n\t\t\t\t91B14F7A7D966EC0378A851B4B8BB9F0 /* MJRefreshAutoFooter.h */,\n\t\t\t\t9FF4C03D27CF05261DC3E872097E386B /* MJRefreshAutoFooter.m */,\n\t\t\t\t1B53CEDD279FB645B19382B4DD1F7583 /* MJRefreshAutoGifFooter.h */,\n\t\t\t\t71A0E6FA0AF7C99580E4B50C0C6CA805 /* MJRefreshAutoGifFooter.m */,\n\t\t\t\tE22C1B8A69949D3E25EB45CBF0F860B1 /* MJRefreshAutoNormalFooter.h */,\n\t\t\t\t9045CD1C3BA3C6746F1E615026E151F9 /* MJRefreshAutoNormalFooter.m */,\n\t\t\t\t8BD1FDB0190B9FFBFC42744B1B4A103D /* MJRefreshAutoStateFooter.h */,\n\t\t\t\t211383DA292E2341205669D9709CA26B /* MJRefreshAutoStateFooter.m */,\n\t\t\t\t6ED23BB9A53BCEEE16B8BC413F26BB87 /* MJRefreshBackFooter.h */,\n\t\t\t\t2804CAC0E781A53FFE19D981C1D44281 /* MJRefreshBackFooter.m */,\n\t\t\t\tFD248A6F40362D9EF3809F550A251C75 /* MJRefreshBackGifFooter.h */,\n\t\t\t\t731D898551F981D32F5AE01CA9B92433 /* MJRefreshBackGifFooter.m */,\n\t\t\t\t043C8F289F5D202105B7AC3193CEFC4B /* MJRefreshBackNormalFooter.h */,\n\t\t\t\t165D84D8F003A454616469F825EF11D6 /* MJRefreshBackNormalFooter.m */,\n\t\t\t\tCE9F45F1C5C94953B7CE8CBCA6C4A2D9 /* MJRefreshBackStateFooter.h */,\n\t\t\t\tE4353C5694DDFEF33B194E0D53EF1F42 /* MJRefreshBackStateFooter.m */,\n\t\t\t\t68916B264463D8B55C9999AFEE3F57EF /* MJRefreshComponent.h */,\n\t\t\t\t781F7906B78028CA5D2202F266FEC7ED /* MJRefreshComponent.m */,\n\t\t\t\t5E19EC6D291215C7B977A8A986878DC8 /* MJRefreshConst.h */,\n\t\t\t\tE05E32E3CC552529A3CA3EDF4AC8C2BD /* MJRefreshConst.m */,\n\t\t\t\tAA17B0A0C5BB1D2307458B0860AD53F4 /* MJRefreshFooter.h */,\n\t\t\t\t4FE02DD3901C8710F0CAC7F862874FCB /* MJRefreshFooter.m */,\n\t\t\t\t87219593AB800FE9353365B682DCB8DB /* MJRefreshGifHeader.h */,\n\t\t\t\tF3E56203EA3EAA3A2EC5075754B165C0 /* MJRefreshGifHeader.m */,\n\t\t\t\t6D2A2912CB5FF40922F33DA5122380BC /* MJRefreshHeader.h */,\n\t\t\t\t85F96DD0D7BEDA4A58976F79488C734A /* MJRefreshHeader.m */,\n\t\t\t\t2D71F9AAF6A787722CFA32B8BA69C6BC /* MJRefreshNormalHeader.h */,\n\t\t\t\tF0D65A04126D96B1F5691912F64913C4 /* MJRefreshNormalHeader.m */,\n\t\t\t\tEF68077839E34CAF9215B7F6DE559C08 /* MJRefreshStateHeader.h */,\n\t\t\t\t86959761A202F2545D1564FE66791F38 /* MJRefreshStateHeader.m */,\n\t\t\t\t59C95A3EBCE868275AF00DB69D3B1EF4 /* NSBundle+MJRefresh.h */,\n\t\t\t\t2EFD6AEEC35AE9336BF7F938219CD459 /* NSBundle+MJRefresh.m */,\n\t\t\t\t46777865D3540B530A92F0634911FDA7 /* UIScrollView+MJExtension.h */,\n\t\t\t\t76A412A95DB82662CC347D5A87C53441 /* UIScrollView+MJExtension.m */,\n\t\t\t\t39D3CF37F24DAAAAB66B851B6DC78F93 /* UIScrollView+MJRefresh.h */,\n\t\t\t\tB65FF06B4D8C9D3B68EE1340014AB01B /* UIScrollView+MJRefresh.m */,\n\t\t\t\t815E47734E8A3C0BB660AD9CCC50D8E5 /* UIView+MJExtension.h */,\n\t\t\t\t0F7F8423CCA06EA9385E13E251EB13ED /* UIView+MJExtension.m */,\n\t\t\t\tDE0FF1C2F685ACDD5B5F26FB45C85ACB /* Resources */,\n\t\t\t\t66273317E8B9CDD53FDADFEF1B0B98E7 /* Support Files */,\n\t\t\t);\n\t\t\tname = MJRefresh;\n\t\t\tpath = MJRefresh;\n\t\t\tsourceTree = \"<group>\";\n\t\t};\n\t\tBB30C1185CF0DCA5CAB2498AFF425558 /* Support Files */ = {\n\t\t\tisa = PBXGroup;\n\t\t\tchildren = (\n\t\t\t\t6BD0970F642137CAF5131B912B7AF67B /* SDWebImage.xcconfig */,\n\t\t\t\tFD1D5EAAD8DF2CA1A7D724DC8884BF50 /* SDWebImage-dummy.m */,\n\t\t\t\t3A47D37A9C24FDAAF36843C718C15CBB /* SDWebImage-prefix.pch */,\n\t\t\t);\n\t\t\tname = \"Support Files\";\n\t\t\tpath = \"../Target Support Files/SDWebImage\";\n\t\t\tsourceTree = \"<group>\";\n\t\t};\n\t\tCBDA4991FA90453A95009DCE9E8BC0C7 /* iOS */ = {\n\t\t\tisa = PBXGroup;\n\t\t\tchildren = (\n\t\t\t\tCCEDD084C280BDDA89FA4DC76D52A359 /* CoreGraphics.framework */,\n\t\t\t\t7B1077777AC68CEF17E0DAA394FA8E3F /* Foundation.framework */,\n\t\t\t\t355F0781F5A967DBB9D6F32FE54C1FB6 /* ImageIO.framework */,\n\t\t\t\tDAABC69A5667877A1A707C4A56B972C8 /* MobileCoreServices.framework */,\n\t\t\t\t536AE7A0CDAD2846698943B32623CD88 /* QuartzCore.framework */,\n\t\t\t\t4941F7B4F717F8B33DF370923BA27C68 /* Security.framework */,\n\t\t\t\t298708999EC11F8180A02C8234F866DF /* SystemConfiguration.framework */,\n\t\t\t\t6A296C8316B24EFAEBFD88B95BFD88C7 /* UIKit.framework */,\n\t\t\t);\n\t\t\tname = iOS;\n\t\t\tsourceTree = \"<group>\";\n\t\t};\n\t\tD10BA866E6ACC42655711E885FF37039 /* Resources */ = {\n\t\t\tisa = PBXGroup;\n\t\t\tchildren = (\n\t\t\t\t5092091294D6C68998367AB7E5FD1FCF /* IQKeyboardManager.bundle */,\n\t\t\t);\n\t\t\tname = Resources;\n\t\t\tsourceTree = \"<group>\";\n\t\t};\n\t\tD263B1F52798E57E7B994476166BCE43 /* Support Files */ = {\n\t\t\tisa = PBXGroup;\n\t\t\tchildren = (\n\t\t\t\t3279E14C68704E297C9E69D3AC62ED1E /* IQKeyboardManager.xcconfig */,\n\t\t\t\t649837298454F83E8144C58772716966 /* IQKeyboardManager-dummy.m */,\n\t\t\t\t46396598B8F473E16C4ADC266AB742E2 /* IQKeyboardManager-prefix.pch */,\n\t\t\t);\n\t\t\tname = \"Support Files\";\n\t\t\tpath = \"../Target Support Files/IQKeyboardManager\";\n\t\t\tsourceTree = \"<group>\";\n\t\t};\n\t\tDC7907F2D57BB339A984073AE6A962BA /* AFNetworking */ = {\n\t\t\tisa = PBXGroup;\n\t\t\tchildren = (\n\t\t\t\t055B859FB30F264CD31B98ABBC388701 /* AFNetworking.h */,\n\t\t\t\tB6AA44D56924B9594E187473A1CC040E /* NSURLSession */,\n\t\t\t\t13093231699B60FAEE6D2E222F9824AE /* Reachability */,\n\t\t\t\tF07273DCBF078A275FF9414C87D06B51 /* Security */,\n\t\t\t\t92FFC46E3DAA1B98D01F27482E18F30C /* Serialization */,\n\t\t\t\t2158ED01B67EE9E3D068BB1A9331F703 /* Support Files */,\n\t\t\t\tAE300CD13E0D75D78BFDF7805BA94F2B /* UIKit */,\n\t\t\t);\n\t\t\tname = AFNetworking;\n\t\t\tpath = AFNetworking;\n\t\t\tsourceTree = \"<group>\";\n\t\t};\n\t\tDE0FF1C2F685ACDD5B5F26FB45C85ACB /* Resources */ = {\n\t\t\tisa = PBXGroup;\n\t\t\tchildren = (\n\t\t\t\t5E5D42481A8D47EBC5FC652134166073 /* MJRefresh.bundle */,\n\t\t\t);\n\t\t\tname = Resources;\n\t\t\tsourceTree = \"<group>\";\n\t\t};\n\t\tE054EDB26BE61A9678311323194F68BE /* Targets Support Files */ = {\n\t\t\tisa = PBXGroup;\n\t\t\tchildren = (\n\t\t\t\tF5990397A939269996EE2CC3B204CC09 /* Pods-CKMeiTuanShopView */,\n\t\t\t);\n\t\t\tname = \"Targets Support Files\";\n\t\t\tsourceTree = \"<group>\";\n\t\t};\n\t\tF07273DCBF078A275FF9414C87D06B51 /* Security */ = {\n\t\t\tisa = PBXGroup;\n\t\t\tchildren = (\n\t\t\t\tD75E0AB25FBA9C94CC38D8073FD08C85 /* AFSecurityPolicy.h */,\n\t\t\t\t02BFFAD75E83A53DC3CE43CE65422318 /* AFSecurityPolicy.m */,\n\t\t\t);\n\t\t\tname = Security;\n\t\t\tsourceTree = \"<group>\";\n\t\t};\n\t\tF5990397A939269996EE2CC3B204CC09 /* Pods-CKMeiTuanShopView */ = {\n\t\t\tisa = PBXGroup;\n\t\t\tchildren = (\n\t\t\t\t7DD69C62C141CD6689A34F3197F85FD7 /* Pods-CKMeiTuanShopView-acknowledgements.markdown */,\n\t\t\t\t5D64A4017D1D573E906D815F8199E562 /* Pods-CKMeiTuanShopView-acknowledgements.plist */,\n\t\t\t\tC54D6B28E36826F91C66A854B938CE20 /* Pods-CKMeiTuanShopView-dummy.m */,\n\t\t\t\t53D43D51A8AA4613171A675AF4605F6F /* Pods-CKMeiTuanShopView-frameworks.sh */,\n\t\t\t\t8FA0C255A552D9A73D86F4F7D89C8F94 /* Pods-CKMeiTuanShopView-resources.sh */,\n\t\t\t\t2ACAA41ED8C939BF5F78AF2DA5B5BA5E /* Pods-CKMeiTuanShopView.debug.xcconfig */,\n\t\t\t\t24C457DD332C1FD2BB6D5556EED370F5 /* Pods-CKMeiTuanShopView.release.xcconfig */,\n\t\t\t);\n\t\t\tname = \"Pods-CKMeiTuanShopView\";\n\t\t\tpath = \"Target Support Files/Pods-CKMeiTuanShopView\";\n\t\t\tsourceTree = \"<group>\";\n\t\t};\n\t\tFAB3C256446561C0ED1182ABFE5C1A71 /* Products */ = {\n\t\t\tisa = PBXGroup;\n\t\t\tchildren = (\n\t\t\t\tF275881682E828ACC5C181A436A058B6 /* libAFNetworking.a */,\n\t\t\t\t325F463F7AC2C8FB3164911DF0EA6887 /* libIQKeyboardManager.a */,\n\t\t\t\t1900A85AC9677D3260068593A1EBCFF0 /* libJSONModel.a */,\n\t\t\t\t3BD9BC55B1B6BB66C4976E1EC30550DC /* libMasonry.a */,\n\t\t\t\t90C070CD2985569EB64A4215815BFB8E /* libMBProgressHUD.a */,\n\t\t\t\tB4289BBFC1E174AE3A91BA4E89186EBC /* libMJRefresh.a */,\n\t\t\t\tBE60E58D854F441215F76AC66BDD3EA7 /* libPods-CKMeiTuanShopView.a */,\n\t\t\t\t6CD236D851589CF49B9869E62A6A2803 /* libSDWebImage.a */,\n\t\t\t);\n\t\t\tname = Products;\n\t\t\tsourceTree = \"<group>\";\n\t\t};\n/* End PBXGroup section */\n\n/* Begin PBXHeadersBuildPhase section */\n\t\t4417300C0CF3155561390EFA84D6AB86 /* Headers */ = {\n\t\t\tisa = PBXHeadersBuildPhase;\n\t\t\tbuildActionMask = 2147483647;\n\t\t\tfiles = (\n\t\t\t\tDB11D96468F2FB045746DB2DC9EC878A /* AFAutoPurgingImageCache.h in Headers */,\n\t\t\t\t6B5E29AF5CC52D74BF3101BC7E2C59A1 /* AFCompatibilityMacros.h in Headers */,\n\t\t\t\tAB5E0668ECE58C8965EACB5078BA644A /* AFHTTPSessionManager.h in Headers */,\n\t\t\t\t97ACF1603BEF20B66F0058CCF0AE05B2 /* AFImageDownloader.h in Headers */,\n\t\t\t\tD2BF2A30F845978BD2257306C0A0F4F4 /* AFNetworkActivityIndicatorManager.h in Headers */,\n\t\t\t\t65F56DD218227209F7AFCF2A15EDCE2D /* AFNetworking.h in Headers */,\n\t\t\t\t9272085131E5B9072B7C0F4B21008A6D /* AFNetworkReachabilityManager.h in Headers */,\n\t\t\t\tCAFC9622F9174BACE6787BC24E3E4444 /* AFSecurityPolicy.h in Headers */,\n\t\t\t\tC973E131940932D82E6B18C79BDE6AFF /* AFURLRequestSerialization.h in Headers */,\n\t\t\t\t3BE2B8DF14E40C80FD77000DFF97E1F2 /* AFURLResponseSerialization.h in Headers */,\n\t\t\t\tE28D315C00C8F9CD7D3A4887E94D6DAA /* AFURLSessionManager.h in Headers */,\n\t\t\t\tC1D7647AD60CE3CCD9D86B030A36E442 /* UIActivityIndicatorView+AFNetworking.h in Headers */,\n\t\t\t\tEC6F67D55D8FCDF3F76FF6D16A491BF7 /* UIButton+AFNetworking.h in Headers */,\n\t\t\t\t4AB16F37F3DB310D29874942A952568B /* UIImage+AFNetworking.h in Headers */,\n\t\t\t\t26873CE294135E7F21A809C79C117DEB /* UIImageView+AFNetworking.h in Headers */,\n\t\t\t\t394685034942F5FA49C1E8A0CCFD93F9 /* UIKit+AFNetworking.h in Headers */,\n\t\t\t\t8BFDD24EA734D85A262AAE9A3AA33222 /* UIProgressView+AFNetworking.h in Headers */,\n\t\t\t\t381B7AE4D90DB87F384B22E7C1540901 /* UIRefreshControl+AFNetworking.h in Headers */,\n\t\t\t\tEC04F2F828BAADBAB9FA13518F1F2EE7 /* UIWebView+AFNetworking.h in Headers */,\n\t\t\t);\n\t\t\trunOnlyForDeploymentPostprocessing = 0;\n\t\t};\n\t\t685B749B1114FCA316A633DCEC7B5E03 /* Headers */ = {\n\t\t\tisa = PBXHeadersBuildPhase;\n\t\t\tbuildActionMask = 2147483647;\n\t\t\tfiles = (\n\t\t\t\t3887C2A6B97237FAF76B9BC8F73A75FC /* NSButton+WebCache.h in Headers */,\n\t\t\t\t3EAB19A608770913B8A78A0A9BDB818D /* NSData+ImageContentType.h in Headers */,\n\t\t\t\t3E44350BC8A888C2C356C12E2555CDEA /* NSImage+WebCache.h in Headers */,\n\t\t\t\t7E2F48498990FF0F0786C23E6AD57164 /* SDAnimatedImageRep.h in Headers */,\n\t\t\t\t4F8BB5F8AB4A82683D9C3A0D65E2BE66 /* SDImageCache.h in Headers */,\n\t\t\t\tFC8D08EDD1F29872A0468F214FE70A4A /* SDImageCacheConfig.h in Headers */,\n\t\t\t\t93780EA70BC34B10046D564F3AF2F2E1 /* SDWebImageCoder.h in Headers */,\n\t\t\t\t97498D4881297B6FC9342DE2DFCDD173 /* SDWebImageCoderHelper.h in Headers */,\n\t\t\t\tE0E3ED8A5DF6AB934C1418C959A9D2FD /* SDWebImageCodersManager.h in Headers */,\n\t\t\t\t76C933FFC995890E79CC7343F7BCF32F /* SDWebImageCompat.h in Headers */,\n\t\t\t\t1D43391CC1D9B8C360445F4DA1155002 /* SDWebImageDownloader.h in Headers */,\n\t\t\t\tF529C182C572AF6EE5CB25321644D467 /* SDWebImageDownloaderOperation.h in Headers */,\n\t\t\t\t85AC20F21D048A0B0364DA067BBFDDE6 /* SDWebImageFrame.h in Headers */,\n\t\t\t\t97B5DDC289C8AD26F68C53478F73EC71 /* SDWebImageGIFCoder.h in Headers */,\n\t\t\t\tBEE14F310402AD896792AA9B9C1BD077 /* SDWebImageImageIOCoder.h in Headers */,\n\t\t\t\tD98696BE1A49E14D1AC2F1E9FA5DC82E /* SDWebImageManager.h in Headers */,\n\t\t\t\tDF6DCF8FC0B5E6B7750FDFB7B5729089 /* SDWebImageOperation.h in Headers */,\n\t\t\t\tF33C1CF8CB9CA3FE0BD907563D435549 /* SDWebImagePrefetcher.h in Headers */,\n\t\t\t\tAC8D186EE1BC6C944C4DBFDFEF95698B /* SDWebImageTransition.h in Headers */,\n\t\t\t\tCB32B4D15F14AA6ACFEAB4811610D6A0 /* UIButton+WebCache.h in Headers */,\n\t\t\t\t818876C655F5334187A65A52ADC13899 /* UIImage+ForceDecode.h in Headers */,\n\t\t\t\t9850E882580946A760AA98D482597717 /* UIImage+GIF.h in Headers */,\n\t\t\t\t91765C3D6BA6E88AEDE3DAC36C9A0D4D /* UIImage+MultiFormat.h in Headers */,\n\t\t\t\t71535BC0C8DBE3B520D3AB5AC60D2E89 /* UIImageView+HighlightedWebCache.h in Headers */,\n\t\t\t\tE15CB9B0324893B34A7D0D06E85E909F /* UIImageView+WebCache.h in Headers */,\n\t\t\t\t9BFA18F9D40F5EFBEF6786865026628E /* UIView+WebCache.h in Headers */,\n\t\t\t\tFF065D39E8739E99402437C26E297567 /* UIView+WebCacheOperation.h in Headers */,\n\t\t\t);\n\t\t\trunOnlyForDeploymentPostprocessing = 0;\n\t\t};\n\t\t68EFAC15AF30E8CBB3525BA28EC9F0D8 /* Headers */ = {\n\t\t\tisa = PBXHeadersBuildPhase;\n\t\t\tbuildActionMask = 2147483647;\n\t\t\tfiles = (\n\t\t\t\tB2CEC9E22024D517980E298D432BADFA /* MJRefresh.h in Headers */,\n\t\t\t\tE2F5817E19C6E18ACD1B1AEEADD14614 /* MJRefreshAutoFooter.h in Headers */,\n\t\t\t\t581FC7FC90FCA8763D87222D58F356C0 /* MJRefreshAutoGifFooter.h in Headers */,\n\t\t\t\t3CB0DCF4EECBF247DF7340A30C4F98E6 /* MJRefreshAutoNormalFooter.h in Headers */,\n\t\t\t\tC36ECE1885D6B6782248E5AFFA5E0352 /* MJRefreshAutoStateFooter.h in Headers */,\n\t\t\t\tE818D98F5ED54FF8F72260606E97241B /* MJRefreshBackFooter.h in Headers */,\n\t\t\t\t367548C5A2EC0FDBB1B5DB9CAE4AFC57 /* MJRefreshBackGifFooter.h in Headers */,\n\t\t\t\tB31415956275112FF97C6D24263BC768 /* MJRefreshBackNormalFooter.h in Headers */,\n\t\t\t\tECD4D4937770BF8AB75C739EAA3A5DE5 /* MJRefreshBackStateFooter.h in Headers */,\n\t\t\t\tA1896B941964FABAEF36F6458389B824 /* MJRefreshComponent.h in Headers */,\n\t\t\t\tD5226D7319EB102A38C76B9B2E77BC89 /* MJRefreshConst.h in Headers */,\n\t\t\t\t7144D3B203E74EE6011646A365F64502 /* MJRefreshFooter.h in Headers */,\n\t\t\t\t0580CC9C4BCB7E968D327B50E8C4650F /* MJRefreshGifHeader.h in Headers */,\n\t\t\t\t142C303DDD4FD9CA40B512A71637DE8C /* MJRefreshHeader.h in Headers */,\n\t\t\t\tF05F4539FE29BE422E8F3EC26782B1A7 /* MJRefreshNormalHeader.h in Headers */,\n\t\t\t\t0F6788BFAD5BF640B57EAD93E4BC8FDF /* MJRefreshStateHeader.h in Headers */,\n\t\t\t\tE07567BF333733CFD55EC2BD07C614CF /* NSBundle+MJRefresh.h in Headers */,\n\t\t\t\t44C04CD549A629017B887FE4FCE0F589 /* UIScrollView+MJExtension.h in Headers */,\n\t\t\t\tF6CE47DBEE3FF8DFC5FB5743AAB191DA /* UIScrollView+MJRefresh.h in Headers */,\n\t\t\t\t5652A23731748148CBE5E8794A035612 /* UIView+MJExtension.h in Headers */,\n\t\t\t);\n\t\t\trunOnlyForDeploymentPostprocessing = 0;\n\t\t};\n\t\tA043127A441933984A0BBF7DAA972FF6 /* Headers */ = {\n\t\t\tisa = PBXHeadersBuildPhase;\n\t\t\tbuildActionMask = 2147483647;\n\t\t\tfiles = (\n\t\t\t\tD865F1299909BDA5029ACA535789B510 /* IQBarButtonItem.h in Headers */,\n\t\t\t\t9DADA771D05EF0C45355B6544AFB5C16 /* IQKeyboardManager.h in Headers */,\n\t\t\t\t5ECB3B4EE63B35693244DC8E476272AF /* IQKeyboardManagerConstants.h in Headers */,\n\t\t\t\tD8188D3ADB1BB024A8798BBED5593B5E /* IQKeyboardManagerConstantsInternal.h in Headers */,\n\t\t\t\t13AA97B9D9B0E943554B3513A9273385 /* IQKeyboardReturnKeyHandler.h in Headers */,\n\t\t\t\tE32307F2F563511737FCD523E9C4D391 /* IQNSArray+Sort.h in Headers */,\n\t\t\t\t8E05402B04BC0FE6DE6998C8288F559B /* IQPreviousNextView.h in Headers */,\n\t\t\t\t66E3164519B5436903757501E2982E3E /* IQTextView.h in Headers */,\n\t\t\t\tC4720488CC6D5D454BE0C1AEF554B337 /* IQTitleBarButtonItem.h in Headers */,\n\t\t\t\t63391430C243A5D8449DFC2F945455A3 /* IQToolbar.h in Headers */,\n\t\t\t\t2474C980446D6CBCE6CCD23A0ED889E1 /* IQUIScrollView+Additions.h in Headers */,\n\t\t\t\tBFE44435DE67E992BC197AA192C1DA88 /* IQUITextFieldView+Additions.h in Headers */,\n\t\t\t\tD49FF46F3D5BA6EFE0E4A12AF1B8E9A9 /* IQUIView+Hierarchy.h in Headers */,\n\t\t\t\t3FBFF015B78FCB610A10AC30E979D239 /* IQUIView+IQKeyboardToolbar.h in Headers */,\n\t\t\t\t73F8A20273DDD2758D6E74523CD46C9A /* IQUIViewController+Additions.h in Headers */,\n\t\t\t);\n\t\t\trunOnlyForDeploymentPostprocessing = 0;\n\t\t};\n\t\tBDF73468622762862D2FB76ED4AC0D8E /* Headers */ = {\n\t\t\tisa = PBXHeadersBuildPhase;\n\t\t\tbuildActionMask = 2147483647;\n\t\t\tfiles = (\n\t\t\t\tF861D2DADCE8A8F94F1DCB22EB8A6CE2 /* MASCompositeConstraint.h in Headers */,\n\t\t\t\t81C1291C7ABA4942277F5756671AEE37 /* MASConstraint+Private.h in Headers */,\n\t\t\t\t6FBEF9BEF976F73220F5EA0246FA6674 /* MASConstraint.h in Headers */,\n\t\t\t\tB5EC5518E18B05A5334C49ABBF4C78F7 /* MASConstraintMaker.h in Headers */,\n\t\t\t\t9AB27A7F752AB644728D50B0228A070E /* MASLayoutConstraint.h in Headers */,\n\t\t\t\t523F69012549DCADB26D11EFB6593B5B /* Masonry.h in Headers */,\n\t\t\t\t7AC0D0965486ED43C064F1BC177ACBC9 /* MASUtilities.h in Headers */,\n\t\t\t\t100DCBFE39E91CF7A296FABFAB4D7CC6 /* MASViewAttribute.h in Headers */,\n\t\t\t\t5EBFADB0ACACA114B98082EBD8FDA650 /* MASViewConstraint.h in Headers */,\n\t\t\t\t9BFAE06AC2F3B426C64EEDBF8C99A69E /* NSArray+MASAdditions.h in Headers */,\n\t\t\t\tFB415F79751F1A1F2203183C3CEE0723 /* NSArray+MASShorthandAdditions.h in Headers */,\n\t\t\t\t214DF0B6664033C87D6B846599FB477A /* NSLayoutConstraint+MASDebugAdditions.h in Headers */,\n\t\t\t\tC6E83C10646E2DF6C83A578CE6AF0E5A /* View+MASAdditions.h in Headers */,\n\t\t\t\t92711327ED7920702A69A828271279AE /* View+MASShorthandAdditions.h in Headers */,\n\t\t\t\t86B2DF4CC6E598AAA73D0CC6EEBA0E96 /* ViewController+MASAdditions.h in Headers */,\n\t\t\t);\n\t\t\trunOnlyForDeploymentPostprocessing = 0;\n\t\t};\n\t\tE9C0B39E345D05A803E4553BB6121491 /* Headers */ = {\n\t\t\tisa = PBXHeadersBuildPhase;\n\t\t\tbuildActionMask = 2147483647;\n\t\t\tfiles = (\n\t\t\t\t4D9A1C080AA31B7E5F22A9468B60C1B0 /* JSONAPI.h in Headers */,\n\t\t\t\tF9CF536BC5A68DCA9D3EECEAA2D89EC7 /* JSONHTTPClient.h in Headers */,\n\t\t\t\tF6326994F3CD0CD13298840063CE0CF0 /* JSONKeyMapper.h in Headers */,\n\t\t\t\t069873836A909B1DE0966ECA339C10C5 /* JSONModel+networking.h in Headers */,\n\t\t\t\t17B59D96588A16064AF8118C73781AA4 /* JSONModel.h in Headers */,\n\t\t\t\t43CD2D85B19B7EF499C84986357EE442 /* JSONModelClassProperty.h in Headers */,\n\t\t\t\tF90BEF6AFF58434F9A29C235CBC63F9C /* JSONModelError.h in Headers */,\n\t\t\t\tCAEDE8F76BA68EB0718A6A754A58E2BF /* JSONModelLib.h in Headers */,\n\t\t\t\tACD96A5AA67379CAA1DA67F2CDD340B3 /* JSONValueTransformer.h in Headers */,\n\t\t\t);\n\t\t\trunOnlyForDeploymentPostprocessing = 0;\n\t\t};\n\t\tEFC33D369E9A80BFCC07EAB513251186 /* Headers */ = {\n\t\t\tisa = PBXHeadersBuildPhase;\n\t\t\tbuildActionMask = 2147483647;\n\t\t\tfiles = (\n\t\t\t\tBE08FC3CA35C9B85C0B51D945646E7E3 /* MBProgressHUD.h in Headers */,\n\t\t\t);\n\t\t\trunOnlyForDeploymentPostprocessing = 0;\n\t\t};\n/* End PBXHeadersBuildPhase section */\n\n/* Begin PBXNativeTarget section */\n\t\t175B076ED45EB1A3E40F58BA14036467 /* MBProgressHUD */ = {\n\t\t\tisa = PBXNativeTarget;\n\t\t\tbuildConfigurationList = 7C66CB3E04875BC1C255326C7ADB2D78 /* Build configuration list for PBXNativeTarget \"MBProgressHUD\" */;\n\t\t\tbuildPhases = (\n\t\t\t\tF8A85461B9C4DE8B6DF401D993570773 /* Sources */,\n\t\t\t\t54A320E60D147224E3BED6F99F4B437C /* Frameworks */,\n\t\t\t\tEFC33D369E9A80BFCC07EAB513251186 /* Headers */,\n\t\t\t);\n\t\t\tbuildRules = (\n\t\t\t);\n\t\t\tdependencies = (\n\t\t\t);\n\t\t\tname = MBProgressHUD;\n\t\t\tproductName = MBProgressHUD;\n\t\t\tproductReference = 90C070CD2985569EB64A4215815BFB8E /* libMBProgressHUD.a */;\n\t\t\tproductType = \"com.apple.product-type.library.static\";\n\t\t};\n\t\t21CB3E64059981A1FFFE60ACF5AD287E /* JSONModel */ = {\n\t\t\tisa = PBXNativeTarget;\n\t\t\tbuildConfigurationList = 75D45B86C9883AA1FB131B1F126C11D2 /* Build configuration list for PBXNativeTarget \"JSONModel\" */;\n\t\t\tbuildPhases = (\n\t\t\t\t142578B41B2D045113538B8C532322B3 /* Sources */,\n\t\t\t\t18B6D1C8E45E6B7569EB39568E700816 /* Frameworks */,\n\t\t\t\tE9C0B39E345D05A803E4553BB6121491 /* Headers */,\n\t\t\t);\n\t\t\tbuildRules = (\n\t\t\t);\n\t\t\tdependencies = (\n\t\t\t);\n\t\t\tname = JSONModel;\n\t\t\tproductName = JSONModel;\n\t\t\tproductReference = 1900A85AC9677D3260068593A1EBCFF0 /* libJSONModel.a */;\n\t\t\tproductType = \"com.apple.product-type.library.static\";\n\t\t};\n\t\t2E33D62E43DA3149954EA2476AD62418 /* Pods-CKMeiTuanShopView */ = {\n\t\t\tisa = PBXNativeTarget;\n\t\t\tbuildConfigurationList = DA83B64B145270D2B30A644354DE6103 /* Build configuration list for PBXNativeTarget \"Pods-CKMeiTuanShopView\" */;\n\t\t\tbuildPhases = (\n\t\t\t\t79A5807C27A69F08A0B57BC7F987E0E2 /* Sources */,\n\t\t\t\t881C35B098750D821F09F10E6BCAC46E /* Frameworks */,\n\t\t\t);\n\t\t\tbuildRules = (\n\t\t\t);\n\t\t\tdependencies = (\n\t\t\t\t7F0A25B6DFAFD6769C15ADE5787E4933 /* PBXTargetDependency */,\n\t\t\t\t03FCE764FC6C687CD8FD8AF6585B5D16 /* PBXTargetDependency */,\n\t\t\t\tB2ED550000B026D91B8B514B7D882BF5 /* PBXTargetDependency */,\n\t\t\t\t28E5B13AF00CB3A0E610AA808CF70F06 /* PBXTargetDependency */,\n\t\t\t\t7CD7CBB414B38D803EB9FE74F09E0D99 /* PBXTargetDependency */,\n\t\t\t\tD1E865FD235A5C994D82F15C5A609C82 /* PBXTargetDependency */,\n\t\t\t\tC12D54C4FAD1A34B572C9C049721DE58 /* PBXTargetDependency */,\n\t\t\t);\n\t\t\tname = \"Pods-CKMeiTuanShopView\";\n\t\t\tproductName = \"Pods-CKMeiTuanShopView\";\n\t\t\tproductReference = BE60E58D854F441215F76AC66BDD3EA7 /* libPods-CKMeiTuanShopView.a */;\n\t\t\tproductType = \"com.apple.product-type.library.static\";\n\t\t};\n\t\t488D77882F65BA00D291462E43C45C54 /* MJRefresh */ = {\n\t\t\tisa = PBXNativeTarget;\n\t\t\tbuildConfigurationList = 4F267348C4865160704454902BECF5D4 /* Build configuration list for PBXNativeTarget \"MJRefresh\" */;\n\t\t\tbuildPhases = (\n\t\t\t\tC9AF65A951B0616164171CFA3728482F /* Sources */,\n\t\t\t\t85BF65AB4BB54A3FBE58EB4952D327FC /* Frameworks */,\n\t\t\t\t68EFAC15AF30E8CBB3525BA28EC9F0D8 /* Headers */,\n\t\t\t);\n\t\t\tbuildRules = (\n\t\t\t);\n\t\t\tdependencies = (\n\t\t\t);\n\t\t\tname = MJRefresh;\n\t\t\tproductName = MJRefresh;\n\t\t\tproductReference = B4289BBFC1E174AE3A91BA4E89186EBC /* libMJRefresh.a */;\n\t\t\tproductType = \"com.apple.product-type.library.static\";\n\t\t};\n\t\t9DC8D9E02903E93BD0B2FEC9D846EA20 /* Masonry */ = {\n\t\t\tisa = PBXNativeTarget;\n\t\t\tbuildConfigurationList = 34CAE1CB89EDBF2E53735CC5D4E5E69F /* Build configuration list for PBXNativeTarget \"Masonry\" */;\n\t\t\tbuildPhases = (\n\t\t\t\tC4BE2DC1E815E7367562323223772531 /* Sources */,\n\t\t\t\t6FD8312A1AEB348F49A81C438DB25115 /* Frameworks */,\n\t\t\t\tBDF73468622762862D2FB76ED4AC0D8E /* Headers */,\n\t\t\t);\n\t\t\tbuildRules = (\n\t\t\t);\n\t\t\tdependencies = (\n\t\t\t);\n\t\t\tname = Masonry;\n\t\t\tproductName = Masonry;\n\t\t\tproductReference = 3BD9BC55B1B6BB66C4976E1EC30550DC /* libMasonry.a */;\n\t\t\tproductType = \"com.apple.product-type.library.static\";\n\t\t};\n\t\tA40703D04FD0C353D064A70AF8E18893 /* SDWebImage */ = {\n\t\t\tisa = PBXNativeTarget;\n\t\t\tbuildConfigurationList = 79C0EFBE4E5F04F0CC3A094F9F8A6155 /* Build configuration list for PBXNativeTarget \"SDWebImage\" */;\n\t\t\tbuildPhases = (\n\t\t\t\t08183E494EE6A91F7677A482C61B206D /* Sources */,\n\t\t\t\tC1B0A1A2BF32AA7A92C843DEC9D25688 /* Frameworks */,\n\t\t\t\t685B749B1114FCA316A633DCEC7B5E03 /* Headers */,\n\t\t\t);\n\t\t\tbuildRules = (\n\t\t\t);\n\t\t\tdependencies = (\n\t\t\t);\n\t\t\tname = SDWebImage;\n\t\t\tproductName = SDWebImage;\n\t\t\tproductReference = 6CD236D851589CF49B9869E62A6A2803 /* libSDWebImage.a */;\n\t\t\tproductType = \"com.apple.product-type.library.static\";\n\t\t};\n\t\tD6FBFDBC00B388471F2914F736751944 /* IQKeyboardManager */ = {\n\t\t\tisa = PBXNativeTarget;\n\t\t\tbuildConfigurationList = A2F5879A321802D045C28B34510AF137 /* Build configuration list for PBXNativeTarget \"IQKeyboardManager\" */;\n\t\t\tbuildPhases = (\n\t\t\t\t6A8BDB7FEF8B27DE632778849F68E02D /* Sources */,\n\t\t\t\tA4817342F231FCE9EA7AEB5EDB33362B /* Frameworks */,\n\t\t\t\tA043127A441933984A0BBF7DAA972FF6 /* Headers */,\n\t\t\t);\n\t\t\tbuildRules = (\n\t\t\t);\n\t\t\tdependencies = (\n\t\t\t);\n\t\t\tname = IQKeyboardManager;\n\t\t\tproductName = IQKeyboardManager;\n\t\t\tproductReference = 325F463F7AC2C8FB3164911DF0EA6887 /* libIQKeyboardManager.a */;\n\t\t\tproductType = \"com.apple.product-type.library.static\";\n\t\t};\n\t\tDDAAFF9586B2A56E23A7293F173018C5 /* AFNetworking */ = {\n\t\t\tisa = PBXNativeTarget;\n\t\t\tbuildConfigurationList = 50BC50B372A9590F37BAD61CD86E2964 /* Build configuration list for PBXNativeTarget \"AFNetworking\" */;\n\t\t\tbuildPhases = (\n\t\t\t\tE2AC720AF6936526EF99ADBCE3C73D0A /* Sources */,\n\t\t\t\t8756BB37F64AAC3AE16FAE90249207E3 /* Frameworks */,\n\t\t\t\t4417300C0CF3155561390EFA84D6AB86 /* Headers */,\n\t\t\t);\n\t\t\tbuildRules = (\n\t\t\t);\n\t\t\tdependencies = (\n\t\t\t);\n\t\t\tname = AFNetworking;\n\t\t\tproductName = AFNetworking;\n\t\t\tproductReference = F275881682E828ACC5C181A436A058B6 /* libAFNetworking.a */;\n\t\t\tproductType = \"com.apple.product-type.library.static\";\n\t\t};\n/* End PBXNativeTarget section */\n\n/* Begin PBXProject section */\n\t\tD41D8CD98F00B204E9800998ECF8427E /* Project object */ = {\n\t\t\tisa = PBXProject;\n\t\t\tattributes = {\n\t\t\t\tLastSwiftUpdateCheck = 0930;\n\t\t\t\tLastUpgradeCheck = 0930;\n\t\t\t};\n\t\t\tbuildConfigurationList = 2D8E8EC45A3A1A1D94AE762CB5028504 /* Build configuration list for PBXProject \"Pods\" */;\n\t\t\tcompatibilityVersion = \"Xcode 3.2\";\n\t\t\tdevelopmentRegion = English;\n\t\t\thasScannedForEncodings = 0;\n\t\t\tknownRegions = (\n\t\t\t\ten,\n\t\t\t);\n\t\t\tmainGroup = 7DB346D0F39D3F0E887471402A8071AB;\n\t\t\tproductRefGroup = FAB3C256446561C0ED1182ABFE5C1A71 /* Products */;\n\t\t\tprojectDirPath = \"\";\n\t\t\tprojectRoot = \"\";\n\t\t\ttargets = (\n\t\t\t\tDDAAFF9586B2A56E23A7293F173018C5 /* AFNetworking */,\n\t\t\t\tD6FBFDBC00B388471F2914F736751944 /* IQKeyboardManager */,\n\t\t\t\t21CB3E64059981A1FFFE60ACF5AD287E /* JSONModel */,\n\t\t\t\t9DC8D9E02903E93BD0B2FEC9D846EA20 /* Masonry */,\n\t\t\t\t175B076ED45EB1A3E40F58BA14036467 /* MBProgressHUD */,\n\t\t\t\t488D77882F65BA00D291462E43C45C54 /* MJRefresh */,\n\t\t\t\t2E33D62E43DA3149954EA2476AD62418 /* Pods-CKMeiTuanShopView */,\n\t\t\t\tA40703D04FD0C353D064A70AF8E18893 /* SDWebImage */,\n\t\t\t);\n\t\t};\n/* End PBXProject section */\n\n/* Begin PBXSourcesBuildPhase section */\n\t\t08183E494EE6A91F7677A482C61B206D /* Sources */ = {\n\t\t\tisa = PBXSourcesBuildPhase;\n\t\t\tbuildActionMask = 2147483647;\n\t\t\tfiles = (\n\t\t\t\t7966709F2A541B2966934B220072C118 /* NSButton+WebCache.m in Sources */,\n\t\t\t\t497A76E88D92C8DE09898281F661ADB4 /* NSData+ImageContentType.m in Sources */,\n\t\t\t\tE101FDBBFFE23CA5D3434CA002CED85A /* NSImage+WebCache.m in Sources */,\n\t\t\t\tC00F796F20009AD46CD3910D5A1AA20F /* SDAnimatedImageRep.m in Sources */,\n\t\t\t\tC70D8C8373AA1B91F7F36E0CD91F6C9D /* SDImageCache.m in Sources */,\n\t\t\t\tD131B9BE5167B85BE64F317B7D21ECB7 /* SDImageCacheConfig.m in Sources */,\n\t\t\t\tE581A2D6E3607CD5F15B2EB42E3436C0 /* SDWebImage-dummy.m in Sources */,\n\t\t\t\tB3D30C9DAA6690CF07F3E78342EDCD43 /* SDWebImageCoder.m in Sources */,\n\t\t\t\t236BF693F1070BB58D4C63CB55E020BC /* SDWebImageCoderHelper.m in Sources */,\n\t\t\t\tE3AB8838B298241159A497F40752A67A /* SDWebImageCodersManager.m in Sources */,\n\t\t\t\t3ECBF67EB4A99CBC1F04154ED07C25EC /* SDWebImageCompat.m in Sources */,\n\t\t\t\tBC83EB7646163EC9C870401EA11C25F0 /* SDWebImageDownloader.m in Sources */,\n\t\t\t\t494E55287D62470EB5F886CB074EA454 /* SDWebImageDownloaderOperation.m in Sources */,\n\t\t\t\t944157BB28D88976C023E1D87C8268AA /* SDWebImageFrame.m in Sources */,\n\t\t\t\t911FC8E31DDA0EB42502C2D94A5F70DA /* SDWebImageGIFCoder.m in Sources */,\n\t\t\t\t3900DFA1603FCF8682419667AFC6002F /* SDWebImageImageIOCoder.m in Sources */,\n\t\t\t\t081AD4639FCDCC3D435C70610B3A759A /* SDWebImageManager.m in Sources */,\n\t\t\t\t149390D660E23EA49CA4DD2AA906F950 /* SDWebImagePrefetcher.m in Sources */,\n\t\t\t\t9974FFB0D85A356B246257AF1EC90E82 /* SDWebImageTransition.m in Sources */,\n\t\t\t\t22254801D9F6F3147F70CC030DAD14F0 /* UIButton+WebCache.m in Sources */,\n\t\t\t\tEB05BD749E2DF33D5276576994178ECB /* UIImage+ForceDecode.m in Sources */,\n\t\t\t\t9D9B57165172AE727DF0C3D24190B8F3 /* UIImage+GIF.m in Sources */,\n\t\t\t\t275BC00DC0190F8DD0184F236F31E1B7 /* UIImage+MultiFormat.m in Sources */,\n\t\t\t\tC9C6C5D9934C16C0BB081525FF627E61 /* UIImageView+HighlightedWebCache.m in Sources */,\n\t\t\t\t188AC19DD7A33293A523416933105417 /* UIImageView+WebCache.m in Sources */,\n\t\t\t\tAF78683CEF1381E2C0BF8790A449A7CA /* UIView+WebCache.m in Sources */,\n\t\t\t\t0A3D1CD55CA82621983A1123DADE4FE3 /* UIView+WebCacheOperation.m in Sources */,\n\t\t\t);\n\t\t\trunOnlyForDeploymentPostprocessing = 0;\n\t\t};\n\t\t142578B41B2D045113538B8C532322B3 /* Sources */ = {\n\t\t\tisa = PBXSourcesBuildPhase;\n\t\t\tbuildActionMask = 2147483647;\n\t\t\tfiles = (\n\t\t\t\tF6A31A02A46D2B0BE72F2E5D837F70DD /* JSONAPI.m in Sources */,\n\t\t\t\t8747045F93FA4659A5B4ED3D1E7A5F00 /* JSONHTTPClient.m in Sources */,\n\t\t\t\t6D30D526D42FB8BD39880C9C7C051CC8 /* JSONKeyMapper.m in Sources */,\n\t\t\t\t105D632E428DB81953E48F18B05A7C88 /* JSONModel+networking.m in Sources */,\n\t\t\t\tEB787F72C1DF3270CF66493633775065 /* JSONModel-dummy.m in Sources */,\n\t\t\t\tEB7E3754BBBB22ED74867C40D67DA990 /* JSONModel.m in Sources */,\n\t\t\t\tCA935CE6460FF9FBDBBD4A5FA5663EE6 /* JSONModelClassProperty.m in Sources */,\n\t\t\t\t4C0FD3FE2060705D4B50EB795E637F86 /* JSONModelError.m in Sources */,\n\t\t\t\tC59AF1AD6B08F9F47F1E0C809A67D4B2 /* JSONValueTransformer.m in Sources */,\n\t\t\t);\n\t\t\trunOnlyForDeploymentPostprocessing = 0;\n\t\t};\n\t\t6A8BDB7FEF8B27DE632778849F68E02D /* Sources */ = {\n\t\t\tisa = PBXSourcesBuildPhase;\n\t\t\tbuildActionMask = 2147483647;\n\t\t\tfiles = (\n\t\t\t\tC493AB53C8DA1397EB043353081690EE /* IQBarButtonItem.m in Sources */,\n\t\t\t\t352427C52DC4C93B0718498D19FFD696 /* IQKeyboardManager-dummy.m in Sources */,\n\t\t\t\t1AE740CA9DD11A1C662E179F881A7386 /* IQKeyboardManager.m in Sources */,\n\t\t\t\tB3954BD0A3F350EDB5DC9B7E895C824B /* IQKeyboardReturnKeyHandler.m in Sources */,\n\t\t\t\tC0880FB8A5FEBD18937924CB981C5EAB /* IQNSArray+Sort.m in Sources */,\n\t\t\t\tE07F7C51868A67DD151C337E6F2EA6D6 /* IQPreviousNextView.m in Sources */,\n\t\t\t\tF49C9CDB089E8335E0C6593F945E98CE /* IQTextView.m in Sources */,\n\t\t\t\t2DA0795313E480A80A5A90BB1E9BDDB8 /* IQTitleBarButtonItem.m in Sources */,\n\t\t\t\t739ADAF7569E923F69FBF5332A72B036 /* IQToolbar.m in Sources */,\n\t\t\t\tEF23ED9F9BE7443E830973846D7F3480 /* IQUIScrollView+Additions.m in Sources */,\n\t\t\t\t7F4B3DFF3848E512F7FCFA7B76DA2A9F /* IQUITextFieldView+Additions.m in Sources */,\n\t\t\t\tF4E37076158983951363B96E4B63D776 /* IQUIView+Hierarchy.m in Sources */,\n\t\t\t\tE74C2BD17215F2B2257B1444C32784BA /* IQUIView+IQKeyboardToolbar.m in Sources */,\n\t\t\t\t0CD6A958B421C84959F921143E7662FF /* IQUIViewController+Additions.m in Sources */,\n\t\t\t);\n\t\t\trunOnlyForDeploymentPostprocessing = 0;\n\t\t};\n\t\t79A5807C27A69F08A0B57BC7F987E0E2 /* Sources */ = {\n\t\t\tisa = PBXSourcesBuildPhase;\n\t\t\tbuildActionMask = 2147483647;\n\t\t\tfiles = (\n\t\t\t\t37AB6438A6A2EA3A12521FBD7B286F04 /* Pods-CKMeiTuanShopView-dummy.m in Sources */,\n\t\t\t);\n\t\t\trunOnlyForDeploymentPostprocessing = 0;\n\t\t};\n\t\tC4BE2DC1E815E7367562323223772531 /* Sources */ = {\n\t\t\tisa = PBXSourcesBuildPhase;\n\t\t\tbuildActionMask = 2147483647;\n\t\t\tfiles = (\n\t\t\t\t61CCEA01CBE8EFFA5515E7A0D8635AAE /* MASCompositeConstraint.m in Sources */,\n\t\t\t\t89450A58FD91E5B227171FC75160E4EA /* MASConstraint.m in Sources */,\n\t\t\t\tDF7F88B58B564EDF169EC0C9CF8E5124 /* MASConstraintMaker.m in Sources */,\n\t\t\t\t955BE39896CA35F2A585DC3309E5FDA5 /* MASLayoutConstraint.m in Sources */,\n\t\t\t\t68F98758BA84B8EC3472A8C6FD646D16 /* Masonry-dummy.m in Sources */,\n\t\t\t\t13635B78121B99E5C03C92506A161607 /* MASViewAttribute.m in Sources */,\n\t\t\t\t2DBB74B8B5DDB1F621433DD12BF35102 /* MASViewConstraint.m in Sources */,\n\t\t\t\t7BDDE51AF16FA53A09506EDB91E1C3C2 /* NSArray+MASAdditions.m in Sources */,\n\t\t\t\t3E8E6916C563B9CB12AA417275FC6EB3 /* NSLayoutConstraint+MASDebugAdditions.m in Sources */,\n\t\t\t\tA1FA046FDFC42676D17FEC387B10D24A /* View+MASAdditions.m in Sources */,\n\t\t\t\tD7CE05A743B7ACD50796191FA442814C /* ViewController+MASAdditions.m in Sources */,\n\t\t\t);\n\t\t\trunOnlyForDeploymentPostprocessing = 0;\n\t\t};\n\t\tC9AF65A951B0616164171CFA3728482F /* Sources */ = {\n\t\t\tisa = PBXSourcesBuildPhase;\n\t\t\tbuildActionMask = 2147483647;\n\t\t\tfiles = (\n\t\t\t\t27290A08F2D4A3C69C74968438971EF4 /* MJRefresh-dummy.m in Sources */,\n\t\t\t\t8A3FE2C9859B734BCCF232A1F6B4BDCC /* MJRefreshAutoFooter.m in Sources */,\n\t\t\t\t79992E5FAA17690D47F4CD9D2AB74F26 /* MJRefreshAutoGifFooter.m in Sources */,\n\t\t\t\t935782A2C79C525F33690680ED4C98B2 /* MJRefreshAutoNormalFooter.m in Sources */,\n\t\t\t\t8D4FC3AE88ECF9CBA0079DA7249C4476 /* MJRefreshAutoStateFooter.m in Sources */,\n\t\t\t\tEAFABACBA257B6B2FF394A8CC1B1BEB1 /* MJRefreshBackFooter.m in Sources */,\n\t\t\t\tD6F7838E24908CCBD045074A218B1EE8 /* MJRefreshBackGifFooter.m in Sources */,\n\t\t\t\t4BEF78E1065A136DE9EFA3756298A136 /* MJRefreshBackNormalFooter.m in Sources */,\n\t\t\t\t2286EEDC0733FEDA8AF326E5FED10658 /* MJRefreshBackStateFooter.m in Sources */,\n\t\t\t\t9C5491AE50773281F9F5F4E9C2FDB59C /* MJRefreshComponent.m in Sources */,\n\t\t\t\t677767C75BD3CAEE224F5ED5670B5872 /* MJRefreshConst.m in Sources */,\n\t\t\t\tF16E8F1485414AA6CF110F3CFF4EADA2 /* MJRefreshFooter.m in Sources */,\n\t\t\t\t573164B6986DF363037541BB9AAFE0F1 /* MJRefreshGifHeader.m in Sources */,\n\t\t\t\t51AC416EC6CE3452E484DAC6AB0C39BC /* MJRefreshHeader.m in Sources */,\n\t\t\t\tF39E719EC0DBFFD65ABE270D4CA559FA /* MJRefreshNormalHeader.m in Sources */,\n\t\t\t\t5C0F7581C20219C281BA5DEE500077F9 /* MJRefreshStateHeader.m in Sources */,\n\t\t\t\t79937C9C63DEB8056D54BE6882089A85 /* NSBundle+MJRefresh.m in Sources */,\n\t\t\t\t6B5C4F01AEFD4D5974480AC2EB032251 /* UIScrollView+MJExtension.m in Sources */,\n\t\t\t\t7EFF7912664C65FA7DEAD8CC4837E9EF /* UIScrollView+MJRefresh.m in Sources */,\n\t\t\t\t7A37E2F0B3BB402D14E60E386519E392 /* UIView+MJExtension.m in Sources */,\n\t\t\t);\n\t\t\trunOnlyForDeploymentPostprocessing = 0;\n\t\t};\n\t\tE2AC720AF6936526EF99ADBCE3C73D0A /* Sources */ = {\n\t\t\tisa = PBXSourcesBuildPhase;\n\t\t\tbuildActionMask = 2147483647;\n\t\t\tfiles = (\n\t\t\t\t87D100CB62B0095A58AB342A05213A95 /* AFAutoPurgingImageCache.m in Sources */,\n\t\t\t\tC05337A19BC03420EE59861B36F0B7D9 /* AFHTTPSessionManager.m in Sources */,\n\t\t\t\tC5A58C6A82A9E4CBE9E1CE877E3C55AB /* AFImageDownloader.m in Sources */,\n\t\t\t\t8A49D61B987AF301489E7CF3FAA61C50 /* AFNetworkActivityIndicatorManager.m in Sources */,\n\t\t\t\t49007499B497D9E2A11F990274A60ED8 /* AFNetworking-dummy.m in Sources */,\n\t\t\t\t87683757B7B15F677EFA76037734127B /* AFNetworkReachabilityManager.m in Sources */,\n\t\t\t\t31BD6B601755B15049F76093D698D2B7 /* AFSecurityPolicy.m in Sources */,\n\t\t\t\t0D64F957BE8A79371D159A4F2A3153B2 /* AFURLRequestSerialization.m in Sources */,\n\t\t\t\tC8F08270F5B2B28B10B91FDA4007C368 /* AFURLResponseSerialization.m in Sources */,\n\t\t\t\t912EA0C6D7ED28B7FDA603B2A965B16D /* AFURLSessionManager.m in Sources */,\n\t\t\t\t26EBBEF56FF5ED5A281A569D2F408B1C /* UIActivityIndicatorView+AFNetworking.m in Sources */,\n\t\t\t\t15DF59F74A3D2C503BA9C509A6CADEB4 /* UIButton+AFNetworking.m in Sources */,\n\t\t\t\tDE8DC7173E7D61FB765987EDBCCB7FB0 /* UIImageView+AFNetworking.m in Sources */,\n\t\t\t\t193D69BD85D0A0899EDF0D6FF269E86D /* UIProgressView+AFNetworking.m in Sources */,\n\t\t\t\t1F21C5A5CC17546C0BAD635D50F45372 /* UIRefreshControl+AFNetworking.m in Sources */,\n\t\t\t\tC64649615017A15D5A768618699E03E1 /* UIWebView+AFNetworking.m in Sources */,\n\t\t\t);\n\t\t\trunOnlyForDeploymentPostprocessing = 0;\n\t\t};\n\t\tF8A85461B9C4DE8B6DF401D993570773 /* Sources */ = {\n\t\t\tisa = PBXSourcesBuildPhase;\n\t\t\tbuildActionMask = 2147483647;\n\t\t\tfiles = (\n\t\t\t\tD669E6004423E44271C78E7FE5E5582B /* MBProgressHUD-dummy.m in Sources */,\n\t\t\t\tBB4081015DA88477E27A91FC9C713B0C /* MBProgressHUD.m in Sources */,\n\t\t\t);\n\t\t\trunOnlyForDeploymentPostprocessing = 0;\n\t\t};\n/* End PBXSourcesBuildPhase section */\n\n/* Begin PBXTargetDependency section */\n\t\t03FCE764FC6C687CD8FD8AF6585B5D16 /* PBXTargetDependency */ = {\n\t\t\tisa = PBXTargetDependency;\n\t\t\tname = IQKeyboardManager;\n\t\t\ttarget = D6FBFDBC00B388471F2914F736751944 /* IQKeyboardManager */;\n\t\t\ttargetProxy = EAE1AD11A69D9AF15CC6A3A2BE3444B0 /* PBXContainerItemProxy */;\n\t\t};\n\t\t28E5B13AF00CB3A0E610AA808CF70F06 /* PBXTargetDependency */ = {\n\t\t\tisa = PBXTargetDependency;\n\t\t\tname = MBProgressHUD;\n\t\t\ttarget = 175B076ED45EB1A3E40F58BA14036467 /* MBProgressHUD */;\n\t\t\ttargetProxy = C0B4FEA2F08D2272AB96324EFB907020 /* PBXContainerItemProxy */;\n\t\t};\n\t\t7CD7CBB414B38D803EB9FE74F09E0D99 /* PBXTargetDependency */ = {\n\t\t\tisa = PBXTargetDependency;\n\t\t\tname = MJRefresh;\n\t\t\ttarget = 488D77882F65BA00D291462E43C45C54 /* MJRefresh */;\n\t\t\ttargetProxy = 73540890F7A660417A055A80A26D05DF /* PBXContainerItemProxy */;\n\t\t};\n\t\t7F0A25B6DFAFD6769C15ADE5787E4933 /* PBXTargetDependency */ = {\n\t\t\tisa = PBXTargetDependency;\n\t\t\tname = AFNetworking;\n\t\t\ttarget = DDAAFF9586B2A56E23A7293F173018C5 /* AFNetworking */;\n\t\t\ttargetProxy = 88C6CC80533ABFE0863B56600ABE48C0 /* PBXContainerItemProxy */;\n\t\t};\n\t\tB2ED550000B026D91B8B514B7D882BF5 /* PBXTargetDependency */ = {\n\t\t\tisa = PBXTargetDependency;\n\t\t\tname = JSONModel;\n\t\t\ttarget = 21CB3E64059981A1FFFE60ACF5AD287E /* JSONModel */;\n\t\t\ttargetProxy = 6B984C97A8F49B3142F0B9E6C0812CBE /* PBXContainerItemProxy */;\n\t\t};\n\t\tC12D54C4FAD1A34B572C9C049721DE58 /* PBXTargetDependency */ = {\n\t\t\tisa = PBXTargetDependency;\n\t\t\tname = SDWebImage;\n\t\t\ttarget = A40703D04FD0C353D064A70AF8E18893 /* SDWebImage */;\n\t\t\ttargetProxy = 615EB7704759E90F309A1195892F789C /* PBXContainerItemProxy */;\n\t\t};\n\t\tD1E865FD235A5C994D82F15C5A609C82 /* PBXTargetDependency */ = {\n\t\t\tisa = PBXTargetDependency;\n\t\t\tname = Masonry;\n\t\t\ttarget = 9DC8D9E02903E93BD0B2FEC9D846EA20 /* Masonry */;\n\t\t\ttargetProxy = 6FDD088E2F4FAFD2E948DFC0E2BBE491 /* PBXContainerItemProxy */;\n\t\t};\n/* End PBXTargetDependency section */\n\n/* Begin XCBuildConfiguration section */\n\t\t096735E02D4D503AA68CDEB6130FE58E /* Release */ = {\n\t\t\tisa = XCBuildConfiguration;\n\t\t\tbaseConfigurationReference = 3279E14C68704E297C9E69D3AC62ED1E /* IQKeyboardManager.xcconfig */;\n\t\t\tbuildSettings = {\n\t\t\t\tCODE_SIGN_IDENTITY = \"iPhone Developer\";\n\t\t\t\t\"CODE_SIGN_IDENTITY[sdk=appletvos*]\" = \"\";\n\t\t\t\t\"CODE_SIGN_IDENTITY[sdk=iphoneos*]\" = \"\";\n\t\t\t\t\"CODE_SIGN_IDENTITY[sdk=watchos*]\" = \"\";\n\t\t\t\tGCC_PREFIX_HEADER = \"Target Support Files/IQKeyboardManager/IQKeyboardManager-prefix.pch\";\n\t\t\t\tIPHONEOS_DEPLOYMENT_TARGET = 8.0;\n\t\t\t\tOTHER_LDFLAGS = \"\";\n\t\t\t\tOTHER_LIBTOOLFLAGS = \"\";\n\t\t\t\tPRIVATE_HEADERS_FOLDER_PATH = \"\";\n\t\t\t\tPRODUCT_MODULE_NAME = IQKeyboardManager;\n\t\t\t\tPRODUCT_NAME = IQKeyboardManager;\n\t\t\t\tPUBLIC_HEADERS_FOLDER_PATH = \"\";\n\t\t\t\tSDKROOT = iphoneos;\n\t\t\t\tSKIP_INSTALL = YES;\n\t\t\t\tSWIFT_ACTIVE_COMPILATION_CONDITIONS = \"$(inherited) \";\n\t\t\t\tTARGETED_DEVICE_FAMILY = \"1,2\";\n\t\t\t\tVALIDATE_PRODUCT = YES;\n\t\t\t};\n\t\t\tname = Release;\n\t\t};\n\t\t12C13B328CDA69025AE230B94C422080 /* Release */ = {\n\t\t\tisa = XCBuildConfiguration;\n\t\t\tbaseConfigurationReference = E9AA9A5EB11C2750A37FFDD08B49B5C2 /* MJRefresh.xcconfig */;\n\t\t\tbuildSettings = {\n\t\t\t\tCODE_SIGN_IDENTITY = \"iPhone Developer\";\n\t\t\t\t\"CODE_SIGN_IDENTITY[sdk=appletvos*]\" = \"\";\n\t\t\t\t\"CODE_SIGN_IDENTITY[sdk=iphoneos*]\" = \"\";\n\t\t\t\t\"CODE_SIGN_IDENTITY[sdk=watchos*]\" = \"\";\n\t\t\t\tGCC_PREFIX_HEADER = \"Target Support Files/MJRefresh/MJRefresh-prefix.pch\";\n\t\t\t\tIPHONEOS_DEPLOYMENT_TARGET = 6.0;\n\t\t\t\tOTHER_LDFLAGS = \"\";\n\t\t\t\tOTHER_LIBTOOLFLAGS = \"\";\n\t\t\t\tPRIVATE_HEADERS_FOLDER_PATH = \"\";\n\t\t\t\tPRODUCT_MODULE_NAME = MJRefresh;\n\t\t\t\tPRODUCT_NAME = MJRefresh;\n\t\t\t\tPUBLIC_HEADERS_FOLDER_PATH = \"\";\n\t\t\t\tSDKROOT = iphoneos;\n\t\t\t\tSKIP_INSTALL = YES;\n\t\t\t\tSWIFT_ACTIVE_COMPILATION_CONDITIONS = \"$(inherited) \";\n\t\t\t\tTARGETED_DEVICE_FAMILY = \"1,2\";\n\t\t\t\tVALIDATE_PRODUCT = YES;\n\t\t\t};\n\t\t\tname = Release;\n\t\t};\n\t\t1752AED45DB90F195CC6552D8F206AA5 /* Debug */ = {\n\t\t\tisa = XCBuildConfiguration;\n\t\t\tbaseConfigurationReference = 3279E14C68704E297C9E69D3AC62ED1E /* IQKeyboardManager.xcconfig */;\n\t\t\tbuildSettings = {\n\t\t\t\tCODE_SIGN_IDENTITY = \"iPhone Developer\";\n\t\t\t\t\"CODE_SIGN_IDENTITY[sdk=appletvos*]\" = \"\";\n\t\t\t\t\"CODE_SIGN_IDENTITY[sdk=iphoneos*]\" = \"\";\n\t\t\t\t\"CODE_SIGN_IDENTITY[sdk=watchos*]\" = \"\";\n\t\t\t\tGCC_PREFIX_HEADER = \"Target Support Files/IQKeyboardManager/IQKeyboardManager-prefix.pch\";\n\t\t\t\tIPHONEOS_DEPLOYMENT_TARGET = 8.0;\n\t\t\t\tOTHER_LDFLAGS = \"\";\n\t\t\t\tOTHER_LIBTOOLFLAGS = \"\";\n\t\t\t\tPRIVATE_HEADERS_FOLDER_PATH = \"\";\n\t\t\t\tPRODUCT_MODULE_NAME = IQKeyboardManager;\n\t\t\t\tPRODUCT_NAME = IQKeyboardManager;\n\t\t\t\tPUBLIC_HEADERS_FOLDER_PATH = \"\";\n\t\t\t\tSDKROOT = iphoneos;\n\t\t\t\tSKIP_INSTALL = YES;\n\t\t\t\tSWIFT_ACTIVE_COMPILATION_CONDITIONS = \"$(inherited) \";\n\t\t\t\tTARGETED_DEVICE_FAMILY = \"1,2\";\n\t\t\t};\n\t\t\tname = Debug;\n\t\t};\n\t\t1EE19F5DD95931924296F637BF18BD8F /* Debug */ = {\n\t\t\tisa = XCBuildConfiguration;\n\t\t\tbuildSettings = {\n\t\t\t\tALWAYS_SEARCH_USER_PATHS = NO;\n\t\t\t\tCLANG_ANALYZER_NONNULL = YES;\n\t\t\t\tCLANG_ANALYZER_NUMBER_OBJECT_CONVERSION = YES_AGGRESSIVE;\n\t\t\t\tCLANG_CXX_LANGUAGE_STANDARD = \"gnu++14\";\n\t\t\t\tCLANG_CXX_LIBRARY = \"libc++\";\n\t\t\t\tCLANG_ENABLE_MODULES = YES;\n\t\t\t\tCLANG_ENABLE_OBJC_ARC = YES;\n\t\t\t\tCLANG_ENABLE_OBJC_WEAK = YES;\n\t\t\t\tCLANG_WARN_BLOCK_CAPTURE_AUTORELEASING = YES;\n\t\t\t\tCLANG_WARN_BOOL_CONVERSION = YES;\n\t\t\t\tCLANG_WARN_COMMA = YES;\n\t\t\t\tCLANG_WARN_CONSTANT_CONVERSION = YES;\n\t\t\t\tCLANG_WARN_DEPRECATED_OBJC_IMPLEMENTATIONS = YES;\n\t\t\t\tCLANG_WARN_DIRECT_OBJC_ISA_USAGE = YES_ERROR;\n\t\t\t\tCLANG_WARN_DOCUMENTATION_COMMENTS = YES;\n\t\t\t\tCLANG_WARN_EMPTY_BODY = YES;\n\t\t\t\tCLANG_WARN_ENUM_CONVERSION = YES;\n\t\t\t\tCLANG_WARN_INFINITE_RECURSION = YES;\n\t\t\t\tCLANG_WARN_INT_CONVERSION = YES;\n\t\t\t\tCLANG_WARN_NON_LITERAL_NULL_CONVERSION = YES;\n\t\t\t\tCLANG_WARN_OBJC_IMPLICIT_RETAIN_SELF = YES;\n\t\t\t\tCLANG_WARN_OBJC_LITERAL_CONVERSION = YES;\n\t\t\t\tCLANG_WARN_OBJC_ROOT_CLASS = YES_ERROR;\n\t\t\t\tCLANG_WARN_RANGE_LOOP_ANALYSIS = YES;\n\t\t\t\tCLANG_WARN_STRICT_PROTOTYPES = YES;\n\t\t\t\tCLANG_WARN_SUSPICIOUS_MOVE = YES;\n\t\t\t\tCLANG_WARN_UNGUARDED_AVAILABILITY = YES_AGGRESSIVE;\n\t\t\t\tCLANG_WARN_UNREACHABLE_CODE = YES;\n\t\t\t\tCLANG_WARN__DUPLICATE_METHOD_MATCH = YES;\n\t\t\t\tCODE_SIGNING_ALLOWED = NO;\n\t\t\t\tCODE_SIGNING_REQUIRED = NO;\n\t\t\t\tCOPY_PHASE_STRIP = NO;\n\t\t\t\tDEBUG_INFORMATION_FORMAT = dwarf;\n\t\t\t\tENABLE_STRICT_OBJC_MSGSEND = YES;\n\t\t\t\tENABLE_TESTABILITY = YES;\n\t\t\t\tGCC_C_LANGUAGE_STANDARD = gnu11;\n\t\t\t\tGCC_DYNAMIC_NO_PIC = NO;\n\t\t\t\tGCC_NO_COMMON_BLOCKS = YES;\n\t\t\t\tGCC_OPTIMIZATION_LEVEL = 0;\n\t\t\t\tGCC_PREPROCESSOR_DEFINITIONS = (\n\t\t\t\t\t\"POD_CONFIGURATION_DEBUG=1\",\n\t\t\t\t\t\"DEBUG=1\",\n\t\t\t\t\t\"$(inherited)\",\n\t\t\t\t);\n\t\t\t\tGCC_WARN_64_TO_32_BIT_CONVERSION = YES;\n\t\t\t\tGCC_WARN_ABOUT_RETURN_TYPE = YES_ERROR;\n\t\t\t\tGCC_WARN_UNDECLARED_SELECTOR = YES;\n\t\t\t\tGCC_WARN_UNINITIALIZED_AUTOS = YES_AGGRESSIVE;\n\t\t\t\tGCC_WARN_UNUSED_FUNCTION = YES;\n\t\t\t\tGCC_WARN_UNUSED_VARIABLE = YES;\n\t\t\t\tIPHONEOS_DEPLOYMENT_TARGET = 8.0;\n\t\t\t\tMTL_ENABLE_DEBUG_INFO = YES;\n\t\t\t\tONLY_ACTIVE_ARCH = YES;\n\t\t\t\tPRODUCT_NAME = \"$(TARGET_NAME)\";\n\t\t\t\tSTRIP_INSTALLED_PRODUCT = NO;\n\t\t\t\tSWIFT_ACTIVE_COMPILATION_CONDITIONS = DEBUG;\n\t\t\t\tSYMROOT = \"${SRCROOT}/../build\";\n\t\t\t};\n\t\t\tname = Debug;\n\t\t};\n\t\t4AB2469B0311C25F2996D18B2C7EC16E /* Debug */ = {\n\t\t\tisa = XCBuildConfiguration;\n\t\t\tbaseConfigurationReference = 6BD0970F642137CAF5131B912B7AF67B /* SDWebImage.xcconfig */;\n\t\t\tbuildSettings = {\n\t\t\t\tCODE_SIGN_IDENTITY = \"iPhone Developer\";\n\t\t\t\t\"CODE_SIGN_IDENTITY[sdk=appletvos*]\" = \"\";\n\t\t\t\t\"CODE_SIGN_IDENTITY[sdk=iphoneos*]\" = \"\";\n\t\t\t\t\"CODE_SIGN_IDENTITY[sdk=watchos*]\" = \"\";\n\t\t\t\tGCC_PREFIX_HEADER = \"Target Support Files/SDWebImage/SDWebImage-prefix.pch\";\n\t\t\t\tIPHONEOS_DEPLOYMENT_TARGET = 7.0;\n\t\t\t\tOTHER_LDFLAGS = \"\";\n\t\t\t\tOTHER_LIBTOOLFLAGS = \"\";\n\t\t\t\tPRIVATE_HEADERS_FOLDER_PATH = \"\";\n\t\t\t\tPRODUCT_MODULE_NAME = SDWebImage;\n\t\t\t\tPRODUCT_NAME = SDWebImage;\n\t\t\t\tPUBLIC_HEADERS_FOLDER_PATH = \"\";\n\t\t\t\tSDKROOT = iphoneos;\n\t\t\t\tSKIP_INSTALL = YES;\n\t\t\t\tSWIFT_ACTIVE_COMPILATION_CONDITIONS = \"$(inherited) \";\n\t\t\t\tTARGETED_DEVICE_FAMILY = \"1,2\";\n\t\t\t};\n\t\t\tname = Debug;\n\t\t};\n\t\t527311EFF76C9BB5B60C670211ECDD37 /* Release */ = {\n\t\t\tisa = XCBuildConfiguration;\n\t\t\tbaseConfigurationReference = 747E373CF2C681DD5B4735A9D3468550 /* AFNetworking.xcconfig */;\n\t\t\tbuildSettings = {\n\t\t\t\tCODE_SIGN_IDENTITY = \"iPhone Developer\";\n\t\t\t\t\"CODE_SIGN_IDENTITY[sdk=appletvos*]\" = \"\";\n\t\t\t\t\"CODE_SIGN_IDENTITY[sdk=iphoneos*]\" = \"\";\n\t\t\t\t\"CODE_SIGN_IDENTITY[sdk=watchos*]\" = \"\";\n\t\t\t\tGCC_PREFIX_HEADER = \"Target Support Files/AFNetworking/AFNetworking-prefix.pch\";\n\t\t\t\tIPHONEOS_DEPLOYMENT_TARGET = 7.0;\n\t\t\t\tOTHER_LDFLAGS = \"\";\n\t\t\t\tOTHER_LIBTOOLFLAGS = \"\";\n\t\t\t\tPRIVATE_HEADERS_FOLDER_PATH = \"\";\n\t\t\t\tPRODUCT_MODULE_NAME = AFNetworking;\n\t\t\t\tPRODUCT_NAME = AFNetworking;\n\t\t\t\tPUBLIC_HEADERS_FOLDER_PATH = \"\";\n\t\t\t\tSDKROOT = iphoneos;\n\t\t\t\tSKIP_INSTALL = YES;\n\t\t\t\tSWIFT_ACTIVE_COMPILATION_CONDITIONS = \"$(inherited) \";\n\t\t\t\tTARGETED_DEVICE_FAMILY = \"1,2\";\n\t\t\t\tVALIDATE_PRODUCT = YES;\n\t\t\t};\n\t\t\tname = Release;\n\t\t};\n\t\t6033A2127E806DD5C86A515742F7445E /* Debug */ = {\n\t\t\tisa = XCBuildConfiguration;\n\t\t\tbaseConfigurationReference = 7CD39885DB5B0E34BE3F3760574CDDE4 /* Masonry.xcconfig */;\n\t\t\tbuildSettings = {\n\t\t\t\tCODE_SIGN_IDENTITY = \"iPhone Developer\";\n\t\t\t\t\"CODE_SIGN_IDENTITY[sdk=appletvos*]\" = \"\";\n\t\t\t\t\"CODE_SIGN_IDENTITY[sdk=iphoneos*]\" = \"\";\n\t\t\t\t\"CODE_SIGN_IDENTITY[sdk=watchos*]\" = \"\";\n\t\t\t\tGCC_PREFIX_HEADER = \"Target Support Files/Masonry/Masonry-prefix.pch\";\n\t\t\t\tIPHONEOS_DEPLOYMENT_TARGET = 6.0;\n\t\t\t\tOTHER_LDFLAGS = \"\";\n\t\t\t\tOTHER_LIBTOOLFLAGS = \"\";\n\t\t\t\tPRIVATE_HEADERS_FOLDER_PATH = \"\";\n\t\t\t\tPRODUCT_MODULE_NAME = Masonry;\n\t\t\t\tPRODUCT_NAME = Masonry;\n\t\t\t\tPUBLIC_HEADERS_FOLDER_PATH = \"\";\n\t\t\t\tSDKROOT = iphoneos;\n\t\t\t\tSKIP_INSTALL = YES;\n\t\t\t\tSWIFT_ACTIVE_COMPILATION_CONDITIONS = \"$(inherited) \";\n\t\t\t\tTARGETED_DEVICE_FAMILY = \"1,2\";\n\t\t\t};\n\t\t\tname = Debug;\n\t\t};\n\t\t6587187038F7F8842A53ED9818163867 /* Release */ = {\n\t\t\tisa = XCBuildConfiguration;\n\t\t\tbaseConfigurationReference = 669BD396688BA61D05A94633CBF67E9B /* MBProgressHUD.xcconfig */;\n\t\t\tbuildSettings = {\n\t\t\t\tCODE_SIGN_IDENTITY = \"iPhone Developer\";\n\t\t\t\t\"CODE_SIGN_IDENTITY[sdk=appletvos*]\" = \"\";\n\t\t\t\t\"CODE_SIGN_IDENTITY[sdk=iphoneos*]\" = \"\";\n\t\t\t\t\"CODE_SIGN_IDENTITY[sdk=watchos*]\" = \"\";\n\t\t\t\tGCC_PREFIX_HEADER = \"Target Support Files/MBProgressHUD/MBProgressHUD-prefix.pch\";\n\t\t\t\tIPHONEOS_DEPLOYMENT_TARGET = 8.0;\n\t\t\t\tOTHER_LDFLAGS = \"\";\n\t\t\t\tOTHER_LIBTOOLFLAGS = \"\";\n\t\t\t\tPRIVATE_HEADERS_FOLDER_PATH = \"\";\n\t\t\t\tPRODUCT_MODULE_NAME = MBProgressHUD;\n\t\t\t\tPRODUCT_NAME = MBProgressHUD;\n\t\t\t\tPUBLIC_HEADERS_FOLDER_PATH = \"\";\n\t\t\t\tSDKROOT = iphoneos;\n\t\t\t\tSKIP_INSTALL = YES;\n\t\t\t\tSWIFT_ACTIVE_COMPILATION_CONDITIONS = \"$(inherited) \";\n\t\t\t\tTARGETED_DEVICE_FAMILY = \"1,2\";\n\t\t\t\tVALIDATE_PRODUCT = YES;\n\t\t\t};\n\t\t\tname = Release;\n\t\t};\n\t\t6681B1A324732F8264BB932595DFA69B /* Release */ = {\n\t\t\tisa = XCBuildConfiguration;\n\t\t\tbaseConfigurationReference = 7CD39885DB5B0E34BE3F3760574CDDE4 /* Masonry.xcconfig */;\n\t\t\tbuildSettings = {\n\t\t\t\tCODE_SIGN_IDENTITY = \"iPhone Developer\";\n\t\t\t\t\"CODE_SIGN_IDENTITY[sdk=appletvos*]\" = \"\";\n\t\t\t\t\"CODE_SIGN_IDENTITY[sdk=iphoneos*]\" = \"\";\n\t\t\t\t\"CODE_SIGN_IDENTITY[sdk=watchos*]\" = \"\";\n\t\t\t\tGCC_PREFIX_HEADER = \"Target Support Files/Masonry/Masonry-prefix.pch\";\n\t\t\t\tIPHONEOS_DEPLOYMENT_TARGET = 6.0;\n\t\t\t\tOTHER_LDFLAGS = \"\";\n\t\t\t\tOTHER_LIBTOOLFLAGS = \"\";\n\t\t\t\tPRIVATE_HEADERS_FOLDER_PATH = \"\";\n\t\t\t\tPRODUCT_MODULE_NAME = Masonry;\n\t\t\t\tPRODUCT_NAME = Masonry;\n\t\t\t\tPUBLIC_HEADERS_FOLDER_PATH = \"\";\n\t\t\t\tSDKROOT = iphoneos;\n\t\t\t\tSKIP_INSTALL = YES;\n\t\t\t\tSWIFT_ACTIVE_COMPILATION_CONDITIONS = \"$(inherited) \";\n\t\t\t\tTARGETED_DEVICE_FAMILY = \"1,2\";\n\t\t\t\tVALIDATE_PRODUCT = YES;\n\t\t\t};\n\t\t\tname = Release;\n\t\t};\n\t\t94B8AAE5CDA28E9FEFA451378A9084F3 /* Release */ = {\n\t\t\tisa = XCBuildConfiguration;\n\t\t\tbaseConfigurationReference = 6BD0970F642137CAF5131B912B7AF67B /* SDWebImage.xcconfig */;\n\t\t\tbuildSettings = {\n\t\t\t\tCODE_SIGN_IDENTITY = \"iPhone Developer\";\n\t\t\t\t\"CODE_SIGN_IDENTITY[sdk=appletvos*]\" = \"\";\n\t\t\t\t\"CODE_SIGN_IDENTITY[sdk=iphoneos*]\" = \"\";\n\t\t\t\t\"CODE_SIGN_IDENTITY[sdk=watchos*]\" = \"\";\n\t\t\t\tGCC_PREFIX_HEADER = \"Target Support Files/SDWebImage/SDWebImage-prefix.pch\";\n\t\t\t\tIPHONEOS_DEPLOYMENT_TARGET = 7.0;\n\t\t\t\tOTHER_LDFLAGS = \"\";\n\t\t\t\tOTHER_LIBTOOLFLAGS = \"\";\n\t\t\t\tPRIVATE_HEADERS_FOLDER_PATH = \"\";\n\t\t\t\tPRODUCT_MODULE_NAME = SDWebImage;\n\t\t\t\tPRODUCT_NAME = SDWebImage;\n\t\t\t\tPUBLIC_HEADERS_FOLDER_PATH = \"\";\n\t\t\t\tSDKROOT = iphoneos;\n\t\t\t\tSKIP_INSTALL = YES;\n\t\t\t\tSWIFT_ACTIVE_COMPILATION_CONDITIONS = \"$(inherited) \";\n\t\t\t\tTARGETED_DEVICE_FAMILY = \"1,2\";\n\t\t\t\tVALIDATE_PRODUCT = YES;\n\t\t\t};\n\t\t\tname = Release;\n\t\t};\n\t\tA8BEBC9633AAE1ADF8B24C42F5D06964 /* Debug */ = {\n\t\t\tisa = XCBuildConfiguration;\n\t\t\tbaseConfigurationReference = 43C97CA6F2F451BBCE6793BD968B0831 /* JSONModel.xcconfig */;\n\t\t\tbuildSettings = {\n\t\t\t\tCODE_SIGN_IDENTITY = \"iPhone Developer\";\n\t\t\t\t\"CODE_SIGN_IDENTITY[sdk=appletvos*]\" = \"\";\n\t\t\t\t\"CODE_SIGN_IDENTITY[sdk=iphoneos*]\" = \"\";\n\t\t\t\t\"CODE_SIGN_IDENTITY[sdk=watchos*]\" = \"\";\n\t\t\t\tGCC_PREFIX_HEADER = \"Target Support Files/JSONModel/JSONModel-prefix.pch\";\n\t\t\t\tIPHONEOS_DEPLOYMENT_TARGET = 6.0;\n\t\t\t\tOTHER_LDFLAGS = \"\";\n\t\t\t\tOTHER_LIBTOOLFLAGS = \"\";\n\t\t\t\tPRIVATE_HEADERS_FOLDER_PATH = \"\";\n\t\t\t\tPRODUCT_MODULE_NAME = JSONModel;\n\t\t\t\tPRODUCT_NAME = JSONModel;\n\t\t\t\tPUBLIC_HEADERS_FOLDER_PATH = \"\";\n\t\t\t\tSDKROOT = iphoneos;\n\t\t\t\tSKIP_INSTALL = YES;\n\t\t\t\tSWIFT_ACTIVE_COMPILATION_CONDITIONS = \"$(inherited) \";\n\t\t\t\tTARGETED_DEVICE_FAMILY = \"1,2\";\n\t\t\t};\n\t\t\tname = Debug;\n\t\t};\n\t\tAC97202689DF254B1F2E07691F3CCBD3 /* Release */ = {\n\t\t\tisa = XCBuildConfiguration;\n\t\t\tbaseConfigurationReference = 43C97CA6F2F451BBCE6793BD968B0831 /* JSONModel.xcconfig */;\n\t\t\tbuildSettings = {\n\t\t\t\tCODE_SIGN_IDENTITY = \"iPhone Developer\";\n\t\t\t\t\"CODE_SIGN_IDENTITY[sdk=appletvos*]\" = \"\";\n\t\t\t\t\"CODE_SIGN_IDENTITY[sdk=iphoneos*]\" = \"\";\n\t\t\t\t\"CODE_SIGN_IDENTITY[sdk=watchos*]\" = \"\";\n\t\t\t\tGCC_PREFIX_HEADER = \"Target Support Files/JSONModel/JSONModel-prefix.pch\";\n\t\t\t\tIPHONEOS_DEPLOYMENT_TARGET = 6.0;\n\t\t\t\tOTHER_LDFLAGS = \"\";\n\t\t\t\tOTHER_LIBTOOLFLAGS = \"\";\n\t\t\t\tPRIVATE_HEADERS_FOLDER_PATH = \"\";\n\t\t\t\tPRODUCT_MODULE_NAME = JSONModel;\n\t\t\t\tPRODUCT_NAME = JSONModel;\n\t\t\t\tPUBLIC_HEADERS_FOLDER_PATH = \"\";\n\t\t\t\tSDKROOT = iphoneos;\n\t\t\t\tSKIP_INSTALL = YES;\n\t\t\t\tSWIFT_ACTIVE_COMPILATION_CONDITIONS = \"$(inherited) \";\n\t\t\t\tTARGETED_DEVICE_FAMILY = \"1,2\";\n\t\t\t\tVALIDATE_PRODUCT = YES;\n\t\t\t};\n\t\t\tname = Release;\n\t\t};\n\t\tAF7E506C324C754453D69E51EAFB5262 /* Debug */ = {\n\t\t\tisa = XCBuildConfiguration;\n\t\t\tbaseConfigurationReference = 669BD396688BA61D05A94633CBF67E9B /* MBProgressHUD.xcconfig */;\n\t\t\tbuildSettings = {\n\t\t\t\tCODE_SIGN_IDENTITY = \"iPhone Developer\";\n\t\t\t\t\"CODE_SIGN_IDENTITY[sdk=appletvos*]\" = \"\";\n\t\t\t\t\"CODE_SIGN_IDENTITY[sdk=iphoneos*]\" = \"\";\n\t\t\t\t\"CODE_SIGN_IDENTITY[sdk=watchos*]\" = \"\";\n\t\t\t\tGCC_PREFIX_HEADER = \"Target Support Files/MBProgressHUD/MBProgressHUD-prefix.pch\";\n\t\t\t\tIPHONEOS_DEPLOYMENT_TARGET = 8.0;\n\t\t\t\tOTHER_LDFLAGS = \"\";\n\t\t\t\tOTHER_LIBTOOLFLAGS = \"\";\n\t\t\t\tPRIVATE_HEADERS_FOLDER_PATH = \"\";\n\t\t\t\tPRODUCT_MODULE_NAME = MBProgressHUD;\n\t\t\t\tPRODUCT_NAME = MBProgressHUD;\n\t\t\t\tPUBLIC_HEADERS_FOLDER_PATH = \"\";\n\t\t\t\tSDKROOT = iphoneos;\n\t\t\t\tSKIP_INSTALL = YES;\n\t\t\t\tSWIFT_ACTIVE_COMPILATION_CONDITIONS = \"$(inherited) \";\n\t\t\t\tTARGETED_DEVICE_FAMILY = \"1,2\";\n\t\t\t};\n\t\t\tname = Debug;\n\t\t};\n\t\tB1F222060B18C75AAF0849BAF91949D8 /* Debug */ = {\n\t\t\tisa = XCBuildConfiguration;\n\t\t\tbaseConfigurationReference = 2ACAA41ED8C939BF5F78AF2DA5B5BA5E /* Pods-CKMeiTuanShopView.debug.xcconfig */;\n\t\t\tbuildSettings = {\n\t\t\t\tALWAYS_EMBED_SWIFT_STANDARD_LIBRARIES = NO;\n\t\t\t\tCODE_SIGN_IDENTITY = \"iPhone Developer\";\n\t\t\t\t\"CODE_SIGN_IDENTITY[sdk=appletvos*]\" = \"\";\n\t\t\t\t\"CODE_SIGN_IDENTITY[sdk=iphoneos*]\" = \"\";\n\t\t\t\t\"CODE_SIGN_IDENTITY[sdk=watchos*]\" = \"\";\n\t\t\t\tIPHONEOS_DEPLOYMENT_TARGET = 8.0;\n\t\t\t\tMACH_O_TYPE = staticlib;\n\t\t\t\tOTHER_LDFLAGS = \"\";\n\t\t\t\tOTHER_LIBTOOLFLAGS = \"\";\n\t\t\t\tPODS_ROOT = \"$(SRCROOT)\";\n\t\t\t\tPRODUCT_BUNDLE_IDENTIFIER = \"org.cocoapods.${PRODUCT_NAME:rfc1034identifier}\";\n\t\t\t\tSDKROOT = iphoneos;\n\t\t\t\tSKIP_INSTALL = YES;\n\t\t\t\tTARGETED_DEVICE_FAMILY = \"1,2\";\n\t\t\t};\n\t\t\tname = Debug;\n\t\t};\n\t\tB9064BFB8A1FFC08EE157EA03C83E58B /* Debug */ = {\n\t\t\tisa = XCBuildConfiguration;\n\t\t\tbaseConfigurationReference = E9AA9A5EB11C2750A37FFDD08B49B5C2 /* MJRefresh.xcconfig */;\n\t\t\tbuildSettings = {\n\t\t\t\tCODE_SIGN_IDENTITY = \"iPhone Developer\";\n\t\t\t\t\"CODE_SIGN_IDENTITY[sdk=appletvos*]\" = \"\";\n\t\t\t\t\"CODE_SIGN_IDENTITY[sdk=iphoneos*]\" = \"\";\n\t\t\t\t\"CODE_SIGN_IDENTITY[sdk=watchos*]\" = \"\";\n\t\t\t\tGCC_PREFIX_HEADER = \"Target Support Files/MJRefresh/MJRefresh-prefix.pch\";\n\t\t\t\tIPHONEOS_DEPLOYMENT_TARGET = 6.0;\n\t\t\t\tOTHER_LDFLAGS = \"\";\n\t\t\t\tOTHER_LIBTOOLFLAGS = \"\";\n\t\t\t\tPRIVATE_HEADERS_FOLDER_PATH = \"\";\n\t\t\t\tPRODUCT_MODULE_NAME = MJRefresh;\n\t\t\t\tPRODUCT_NAME = MJRefresh;\n\t\t\t\tPUBLIC_HEADERS_FOLDER_PATH = \"\";\n\t\t\t\tSDKROOT = iphoneos;\n\t\t\t\tSKIP_INSTALL = YES;\n\t\t\t\tSWIFT_ACTIVE_COMPILATION_CONDITIONS = \"$(inherited) \";\n\t\t\t\tTARGETED_DEVICE_FAMILY = \"1,2\";\n\t\t\t};\n\t\t\tname = Debug;\n\t\t};\n\t\tEBC4D7F324D89E6010B31CCFAB573A97 /* Debug */ = {\n\t\t\tisa = XCBuildConfiguration;\n\t\t\tbaseConfigurationReference = 747E373CF2C681DD5B4735A9D3468550 /* AFNetworking.xcconfig */;\n\t\t\tbuildSettings = {\n\t\t\t\tCODE_SIGN_IDENTITY = \"iPhone Developer\";\n\t\t\t\t\"CODE_SIGN_IDENTITY[sdk=appletvos*]\" = \"\";\n\t\t\t\t\"CODE_SIGN_IDENTITY[sdk=iphoneos*]\" = \"\";\n\t\t\t\t\"CODE_SIGN_IDENTITY[sdk=watchos*]\" = \"\";\n\t\t\t\tGCC_PREFIX_HEADER = \"Target Support Files/AFNetworking/AFNetworking-prefix.pch\";\n\t\t\t\tIPHONEOS_DEPLOYMENT_TARGET = 7.0;\n\t\t\t\tOTHER_LDFLAGS = \"\";\n\t\t\t\tOTHER_LIBTOOLFLAGS = \"\";\n\t\t\t\tPRIVATE_HEADERS_FOLDER_PATH = \"\";\n\t\t\t\tPRODUCT_MODULE_NAME = AFNetworking;\n\t\t\t\tPRODUCT_NAME = AFNetworking;\n\t\t\t\tPUBLIC_HEADERS_FOLDER_PATH = \"\";\n\t\t\t\tSDKROOT = iphoneos;\n\t\t\t\tSKIP_INSTALL = YES;\n\t\t\t\tSWIFT_ACTIVE_COMPILATION_CONDITIONS = \"$(inherited) \";\n\t\t\t\tTARGETED_DEVICE_FAMILY = \"1,2\";\n\t\t\t};\n\t\t\tname = Debug;\n\t\t};\n\t\tEE1FD5389E5AAA849C989E6666368D3C /* Release */ = {\n\t\t\tisa = XCBuildConfiguration;\n\t\t\tbaseConfigurationReference = 24C457DD332C1FD2BB6D5556EED370F5 /* Pods-CKMeiTuanShopView.release.xcconfig */;\n\t\t\tbuildSettings = {\n\t\t\t\tALWAYS_EMBED_SWIFT_STANDARD_LIBRARIES = NO;\n\t\t\t\tCODE_SIGN_IDENTITY = \"iPhone Developer\";\n\t\t\t\t\"CODE_SIGN_IDENTITY[sdk=appletvos*]\" = \"\";\n\t\t\t\t\"CODE_SIGN_IDENTITY[sdk=iphoneos*]\" = \"\";\n\t\t\t\t\"CODE_SIGN_IDENTITY[sdk=watchos*]\" = \"\";\n\t\t\t\tIPHONEOS_DEPLOYMENT_TARGET = 8.0;\n\t\t\t\tMACH_O_TYPE = staticlib;\n\t\t\t\tOTHER_LDFLAGS = \"\";\n\t\t\t\tOTHER_LIBTOOLFLAGS = \"\";\n\t\t\t\tPODS_ROOT = \"$(SRCROOT)\";\n\t\t\t\tPRODUCT_BUNDLE_IDENTIFIER = \"org.cocoapods.${PRODUCT_NAME:rfc1034identifier}\";\n\t\t\t\tSDKROOT = iphoneos;\n\t\t\t\tSKIP_INSTALL = YES;\n\t\t\t\tTARGETED_DEVICE_FAMILY = \"1,2\";\n\t\t\t\tVALIDATE_PRODUCT = YES;\n\t\t\t};\n\t\t\tname = Release;\n\t\t};\n\t\tF4568DEE257655D290C2B9CEAB37C934 /* Release */ = {\n\t\t\tisa = XCBuildConfiguration;\n\t\t\tbuildSettings = {\n\t\t\t\tALWAYS_SEARCH_USER_PATHS = NO;\n\t\t\t\tCLANG_ANALYZER_NONNULL = YES;\n\t\t\t\tCLANG_ANALYZER_NUMBER_OBJECT_CONVERSION = YES_AGGRESSIVE;\n\t\t\t\tCLANG_CXX_LANGUAGE_STANDARD = \"gnu++14\";\n\t\t\t\tCLANG_CXX_LIBRARY = \"libc++\";\n\t\t\t\tCLANG_ENABLE_MODULES = YES;\n\t\t\t\tCLANG_ENABLE_OBJC_ARC = YES;\n\t\t\t\tCLANG_ENABLE_OBJC_WEAK = YES;\n\t\t\t\tCLANG_WARN_BLOCK_CAPTURE_AUTORELEASING = YES;\n\t\t\t\tCLANG_WARN_BOOL_CONVERSION = YES;\n\t\t\t\tCLANG_WARN_COMMA = YES;\n\t\t\t\tCLANG_WARN_CONSTANT_CONVERSION = YES;\n\t\t\t\tCLANG_WARN_DEPRECATED_OBJC_IMPLEMENTATIONS = YES;\n\t\t\t\tCLANG_WARN_DIRECT_OBJC_ISA_USAGE = YES_ERROR;\n\t\t\t\tCLANG_WARN_DOCUMENTATION_COMMENTS = YES;\n\t\t\t\tCLANG_WARN_EMPTY_BODY = YES;\n\t\t\t\tCLANG_WARN_ENUM_CONVERSION = YES;\n\t\t\t\tCLANG_WARN_INFINITE_RECURSION = YES;\n\t\t\t\tCLANG_WARN_INT_CONVERSION = YES;\n\t\t\t\tCLANG_WARN_NON_LITERAL_NULL_CONVERSION = YES;\n\t\t\t\tCLANG_WARN_OBJC_IMPLICIT_RETAIN_SELF = YES;\n\t\t\t\tCLANG_WARN_OBJC_LITERAL_CONVERSION = YES;\n\t\t\t\tCLANG_WARN_OBJC_ROOT_CLASS = YES_ERROR;\n\t\t\t\tCLANG_WARN_RANGE_LOOP_ANALYSIS = YES;\n\t\t\t\tCLANG_WARN_STRICT_PROTOTYPES = YES;\n\t\t\t\tCLANG_WARN_SUSPICIOUS_MOVE = YES;\n\t\t\t\tCLANG_WARN_UNGUARDED_AVAILABILITY = YES_AGGRESSIVE;\n\t\t\t\tCLANG_WARN_UNREACHABLE_CODE = YES;\n\t\t\t\tCLANG_WARN__DUPLICATE_METHOD_MATCH = YES;\n\t\t\t\tCODE_SIGNING_ALLOWED = NO;\n\t\t\t\tCODE_SIGNING_REQUIRED = NO;\n\t\t\t\tCOPY_PHASE_STRIP = NO;\n\t\t\t\tDEBUG_INFORMATION_FORMAT = \"dwarf-with-dsym\";\n\t\t\t\tENABLE_NS_ASSERTIONS = NO;\n\t\t\t\tENABLE_STRICT_OBJC_MSGSEND = YES;\n\t\t\t\tGCC_C_LANGUAGE_STANDARD = gnu11;\n\t\t\t\tGCC_NO_COMMON_BLOCKS = YES;\n\t\t\t\tGCC_PREPROCESSOR_DEFINITIONS = (\n\t\t\t\t\t\"POD_CONFIGURATION_RELEASE=1\",\n\t\t\t\t\t\"$(inherited)\",\n\t\t\t\t);\n\t\t\t\tGCC_WARN_64_TO_32_BIT_CONVERSION = YES;\n\t\t\t\tGCC_WARN_ABOUT_RETURN_TYPE = YES_ERROR;\n\t\t\t\tGCC_WARN_UNDECLARED_SELECTOR = YES;\n\t\t\t\tGCC_WARN_UNINITIALIZED_AUTOS = YES_AGGRESSIVE;\n\t\t\t\tGCC_WARN_UNUSED_FUNCTION = YES;\n\t\t\t\tGCC_WARN_UNUSED_VARIABLE = YES;\n\t\t\t\tIPHONEOS_DEPLOYMENT_TARGET = 8.0;\n\t\t\t\tMTL_ENABLE_DEBUG_INFO = NO;\n\t\t\t\tPRODUCT_NAME = \"$(TARGET_NAME)\";\n\t\t\t\tSTRIP_INSTALLED_PRODUCT = NO;\n\t\t\t\tSYMROOT = \"${SRCROOT}/../build\";\n\t\t\t};\n\t\t\tname = Release;\n\t\t};\n/* End XCBuildConfiguration section */\n\n/* Begin XCConfigurationList section */\n\t\t2D8E8EC45A3A1A1D94AE762CB5028504 /* Build configuration list for PBXProject \"Pods\" */ = {\n\t\t\tisa = XCConfigurationList;\n\t\t\tbuildConfigurations = (\n\t\t\t\t1EE19F5DD95931924296F637BF18BD8F /* Debug */,\n\t\t\t\tF4568DEE257655D290C2B9CEAB37C934 /* Release */,\n\t\t\t);\n\t\t\tdefaultConfigurationIsVisible = 0;\n\t\t\tdefaultConfigurationName = Release;\n\t\t};\n\t\t34CAE1CB89EDBF2E53735CC5D4E5E69F /* Build configuration list for PBXNativeTarget \"Masonry\" */ = {\n\t\t\tisa = XCConfigurationList;\n\t\t\tbuildConfigurations = (\n\t\t\t\t6033A2127E806DD5C86A515742F7445E /* Debug */,\n\t\t\t\t6681B1A324732F8264BB932595DFA69B /* Release */,\n\t\t\t);\n\t\t\tdefaultConfigurationIsVisible = 0;\n\t\t\tdefaultConfigurationName = Release;\n\t\t};\n\t\t4F267348C4865160704454902BECF5D4 /* Build configuration list for PBXNativeTarget \"MJRefresh\" */ = {\n\t\t\tisa = XCConfigurationList;\n\t\t\tbuildConfigurations = (\n\t\t\t\tB9064BFB8A1FFC08EE157EA03C83E58B /* Debug */,\n\t\t\t\t12C13B328CDA69025AE230B94C422080 /* Release */,\n\t\t\t);\n\t\t\tdefaultConfigurationIsVisible = 0;\n\t\t\tdefaultConfigurationName = Release;\n\t\t};\n\t\t50BC50B372A9590F37BAD61CD86E2964 /* Build configuration list for PBXNativeTarget \"AFNetworking\" */ = {\n\t\t\tisa = XCConfigurationList;\n\t\t\tbuildConfigurations = (\n\t\t\t\tEBC4D7F324D89E6010B31CCFAB573A97 /* Debug */,\n\t\t\t\t527311EFF76C9BB5B60C670211ECDD37 /* Release */,\n\t\t\t);\n\t\t\tdefaultConfigurationIsVisible = 0;\n\t\t\tdefaultConfigurationName = Release;\n\t\t};\n\t\t75D45B86C9883AA1FB131B1F126C11D2 /* Build configuration list for PBXNativeTarget \"JSONModel\" */ = {\n\t\t\tisa = XCConfigurationList;\n\t\t\tbuildConfigurations = (\n\t\t\t\tA8BEBC9633AAE1ADF8B24C42F5D06964 /* Debug */,\n\t\t\t\tAC97202689DF254B1F2E07691F3CCBD3 /* Release */,\n\t\t\t);\n\t\t\tdefaultConfigurationIsVisible = 0;\n\t\t\tdefaultConfigurationName = Release;\n\t\t};\n\t\t79C0EFBE4E5F04F0CC3A094F9F8A6155 /* Build configuration list for PBXNativeTarget \"SDWebImage\" */ = {\n\t\t\tisa = XCConfigurationList;\n\t\t\tbuildConfigurations = (\n\t\t\t\t4AB2469B0311C25F2996D18B2C7EC16E /* Debug */,\n\t\t\t\t94B8AAE5CDA28E9FEFA451378A9084F3 /* Release */,\n\t\t\t);\n\t\t\tdefaultConfigurationIsVisible = 0;\n\t\t\tdefaultConfigurationName = Release;\n\t\t};\n\t\t7C66CB3E04875BC1C255326C7ADB2D78 /* Build configuration list for PBXNativeTarget \"MBProgressHUD\" */ = {\n\t\t\tisa = XCConfigurationList;\n\t\t\tbuildConfigurations = (\n\t\t\t\tAF7E506C324C754453D69E51EAFB5262 /* Debug */,\n\t\t\t\t6587187038F7F8842A53ED9818163867 /* Release */,\n\t\t\t);\n\t\t\tdefaultConfigurationIsVisible = 0;\n\t\t\tdefaultConfigurationName = Release;\n\t\t};\n\t\tA2F5879A321802D045C28B34510AF137 /* Build configuration list for PBXNativeTarget \"IQKeyboardManager\" */ = {\n\t\t\tisa = XCConfigurationList;\n\t\t\tbuildConfigurations = (\n\t\t\t\t1752AED45DB90F195CC6552D8F206AA5 /* Debug */,\n\t\t\t\t096735E02D4D503AA68CDEB6130FE58E /* Release */,\n\t\t\t);\n\t\t\tdefaultConfigurationIsVisible = 0;\n\t\t\tdefaultConfigurationName = Release;\n\t\t};\n\t\tDA83B64B145270D2B30A644354DE6103 /* Build configuration list for PBXNativeTarget \"Pods-CKMeiTuanShopView\" */ = {\n\t\t\tisa = XCConfigurationList;\n\t\t\tbuildConfigurations = (\n\t\t\t\tB1F222060B18C75AAF0849BAF91949D8 /* Debug */,\n\t\t\t\tEE1FD5389E5AAA849C989E6666368D3C /* Release */,\n\t\t\t);\n\t\t\tdefaultConfigurationIsVisible = 0;\n\t\t\tdefaultConfigurationName = Release;\n\t\t};\n/* End XCConfigurationList section */\n\t};\n\trootObject = D41D8CD98F00B204E9800998ECF8427E /* Project object */;\n}\n"
  },
  {
    "path": "CKMeiTuanShopView/Pods/SDWebImage/LICENSE",
    "content": "Copyright (c) 2009-2017 Olivier Poitrey rs@dailymotion.com\n \nPermission is hereby granted, free of charge, to any person obtaining a copy\nof this software and associated documentation files (the \"Software\"), to deal\nin the Software without restriction, including without limitation the rights\nto use, copy, modify, merge, publish, distribute, sublicense, and/or sell\ncopies of the Software, and to permit persons to whom the Software is furnished\nto do so, subject to the following conditions:\n \nThe above copyright notice and this permission notice shall be included in all\ncopies or substantial portions of the Software.\n \nTHE SOFTWARE IS PROVIDED \"AS IS\", WITHOUT WARRANTY OF ANY KIND, EXPRESS OR\nIMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF MERCHANTABILITY,\nFITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT. IN NO EVENT SHALL THE\nAUTHORS OR COPYRIGHT HOLDERS BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER\nLIABILITY, WHETHER IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING FROM,\nOUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN\nTHE SOFTWARE.\n\n"
  },
  {
    "path": "CKMeiTuanShopView/Pods/SDWebImage/README.md",
    "content": "<p align=\"center\" >\n  <img src=\"SDWebImage_logo.png\" title=\"SDWebImage logo\" float=left>\n</p>\n\n\n[![Build Status](http://img.shields.io/travis/rs/SDWebImage/master.svg?style=flat)](https://travis-ci.org/rs/SDWebImage)\n[![Pod Version](http://img.shields.io/cocoapods/v/SDWebImage.svg?style=flat)](http://cocoadocs.org/docsets/SDWebImage/)\n[![Pod Platform](http://img.shields.io/cocoapods/p/SDWebImage.svg?style=flat)](http://cocoadocs.org/docsets/SDWebImage/)\n[![Pod License](http://img.shields.io/cocoapods/l/SDWebImage.svg?style=flat)](https://www.apache.org/licenses/LICENSE-2.0.html)\n[![Dependency Status](https://www.versioneye.com/objective-c/sdwebimage/badge.svg?style=flat)](https://www.versioneye.com/objective-c/sdwebimage)\n[![Reference Status](https://www.versioneye.com/objective-c/sdwebimage/reference_badge.svg?style=flat)](https://www.versioneye.com/objective-c/sdwebimage/references)\n[![Carthage compatible](https://img.shields.io/badge/Carthage-compatible-4BC51D.svg?style=flat)](https://github.com/rs/SDWebImage)\n[![codecov](https://codecov.io/gh/rs/SDWebImage/branch/master/graph/badge.svg)](https://codecov.io/gh/rs/SDWebImage)\n\nThis library provides an async image downloader with cache support. For convenience, we added categories for UI elements like `UIImageView`, `UIButton`, `MKAnnotationView`.\n\n## Features\n\n- [x] Categories for `UIImageView`, `UIButton`, `MKAnnotationView` adding web image and cache management\n- [x] An asynchronous image downloader\n- [x] An asynchronous memory + disk image caching with automatic cache expiration handling\n- [x] A background image decompression\n- [x] A guarantee that the same URL won't be downloaded several times\n- [x] A guarantee that bogus URLs won't be retried again and again\n- [x] A guarantee that main thread will never be blocked\n- [x] Performances!\n- [x] Use GCD and ARC\n\n## Supported Image Formats\n\n- Image formats supported by UIImage (JPEG, PNG, ...), including GIF\n- WebP format, including animated WebP (use the `WebP` subspec)\n\n## Requirements\n\n- iOS 7.0 or later\n- tvOS 9.0 or later\n- watchOS 2.0 or later\n- macOS 10.9 or later\n- Xcode 7.3 or later\n\n#### Backwards compatibility\n\n- For iOS 5 and 6, use [any 3.x version up to 3.7.6](https://github.com/rs/SDWebImage/tree/3.7.6)\n- For iOS < 5.0, please use the last [2.0 version](https://github.com/rs/SDWebImage/tree/2.0-compat).\n\n## Getting Started\n\n- Read this Readme doc\n- Read the [How to use section](https://github.com/rs/SDWebImage#how-to-use)\n- Read the [Documentation @ CocoaDocs](http://cocoadocs.org/docsets/SDWebImage/)\n- Try the example by downloading the project from Github or even easier using CocoaPods try `pod try SDWebImage`\n- Read the [Installation Guide](https://github.com/rs/SDWebImage/wiki/Installation-Guide)\n- Read the [SDWebImage 4.0 Migration Guide](Docs/SDWebImage-4.0-Migration-guide.md) to get an idea of the changes from 3.x to 4.x\n- Read the [Common Problems](https://github.com/rs/SDWebImage/wiki/Common-Problems) to find the solution for common problems \n- Go to the [Wiki Page](https://github.com/rs/SDWebImage/wiki) for more information such as [Advanced Usage](https://github.com/rs/SDWebImage/wiki/Advanced-Usage)\n\n## Who Uses It\n- Find out [who uses SDWebImage](https://github.com/rs/SDWebImage/wiki/Who-Uses-SDWebImage) and add your app to the list.\n\n## Communication\n\n- If you **need help**, use [Stack Overflow](http://stackoverflow.com/questions/tagged/sdwebimage). (Tag 'sdwebimage')\n- If you'd like to **ask a general question**, use [Stack Overflow](http://stackoverflow.com/questions/tagged/sdwebimage).\n- If you **found a bug**, open an issue.\n- If you **have a feature request**, open an issue.\n- If you **want to contribute**, submit a pull request.\n\n## How To Use\n\n* Objective-C\n\n```objective-c\n#import <SDWebImage/UIImageView+WebCache.h>\n...\n[imageView sd_setImageWithURL:[NSURL URLWithString:@\"http://www.domain.com/path/to/image.jpg\"]\n             placeholderImage:[UIImage imageNamed:@\"placeholder.png\"]];\n```\n\n* Swift\n\n```swift\nimport SDWebImage\n\nimageView.sd_setImage(with: URL(string: \"http://www.domain.com/path/to/image.jpg\"), placeholderImage: UIImage(named: \"placeholder.png\"))\n```\n\n- For details about how to use the library and clear examples, see [The detailed How to use](Docs/HowToUse.md)\n\n## Animated Images (GIF) support\n\n- Starting with the 4.0 version, we rely on [FLAnimatedImage](https://github.com/Flipboard/FLAnimatedImage) to take care of our animated images. \n- If you use cocoapods, add `pod 'SDWebImage/GIF'` to your podfile.\n- To use it, simply make sure you use `FLAnimatedImageView` instead of `UIImageView`.\n- **Note**: there is a backwards compatible feature, so if you are still trying to load a GIF into a `UIImageView`, it will only show the 1st frame as a static image by default. However, you can enable the full GIF support by using the built-in GIF coder. See [GIF coder](https://github.com/rs/SDWebImage/wiki/Advanced-Usage#gif-coder)\n- **Important**: FLAnimatedImage only works on the iOS platform. For macOS, use `NSImageView` with `animates` set to `YES` to show the entire animated images and `NO` to only show the 1st frame. For all the other platforms (tvOS, watchOS) we will fallback to the backwards compatibility feature described above \n\n## Installation\n\nThere are three ways to use SDWebImage in your project:\n- using CocoaPods\n- using Carthage\n- by cloning the project into your repository\n\n### Installation with CocoaPods\n\n[CocoaPods](http://cocoapods.org/) is a dependency manager for Objective-C, which automates and simplifies the process of using 3rd-party libraries in your projects. See the [Get Started](http://cocoapods.org/#get_started) section for more details.\n\n#### Podfile\n```\nplatform :ios, '7.0'\npod 'SDWebImage', '~> 4.0'\n```\n\nIf you are using Swift, be sure to add `use_frameworks!` and set your target to iOS 8+:\n```\nplatform :ios, '8.0'\nuse_frameworks!\n```\n\n#### Subspecs\n\nThere are 4 subspecs available now: `Core`, `MapKit`, `GIF` and `WebP` (this means you can install only some of the SDWebImage modules. By default, you get just `Core`, so if you need `WebP`, you need to specify it). \n\nPodfile example:\n```\npod 'SDWebImage/WebP'\n```\n\n### Installation with Carthage (iOS 8+)\n\n[Carthage](https://github.com/Carthage/Carthage) is a lightweight dependency manager for Swift and Objective-C. It leverages CocoaTouch modules and is less invasive than CocoaPods.\n\nTo install with carthage, follow the instruction on [Carthage](https://github.com/Carthage/Carthage)\n\n#### Cartfile\n```\ngithub \"rs/SDWebImage\"\n```\n\n### Installation by cloning the repository\n- see [Manual install](Docs/ManualInstallation.md)\n\n### Import headers in your source files\n\nIn the source files where you need to use the library, import the header file:\n\n```objective-c\n#import <SDWebImage/UIImageView+WebCache.h>\n```\n\n### Build Project\n\nAt this point your workspace should build without error. If you are having problem, post to the Issue and the\ncommunity can help you solve it.\n\n## Author\n- [Olivier Poitrey](https://github.com/rs)\n\n## Collaborators\n- [Konstantinos K.](https://github.com/mythodeia)\n- [Bogdan Poplauschi](https://github.com/bpoplauschi)\n- [Chester Liu](https://github.com/skyline75489)\n- [DreamPiggy](https://github.com/dreampiggy)\n- [Wu Zhong](https://github.com/zhongwuzw)\n\n## Licenses\n\nAll source code is licensed under the [MIT License](https://raw.github.com/rs/SDWebImage/master/LICENSE).\n\n## Architecture\n\n<p align=\"center\" >\n    <img src=\"Docs/SDWebImageClassDiagram.png\" title=\"SDWebImage class diagram\">\n</p>\n\n<p align=\"center\" >\n    <img src=\"Docs/SDWebImageSequenceDiagram.png\" title=\"SDWebImage sequence diagram\">\n</p>\n"
  },
  {
    "path": "CKMeiTuanShopView/Pods/SDWebImage/SDWebImage/NSButton+WebCache.h",
    "content": "/*\n * This file is part of the SDWebImage package.\n * (c) Olivier Poitrey <rs@dailymotion.com>\n *\n * For the full copyright and license information, please view the LICENSE\n * file that was distributed with this source code.\n */\n\n#import \"SDWebImageCompat.h\"\n\n#if SD_MAC\n\n#import \"SDWebImageManager.h\"\n\n@interface NSButton (WebCache)\n\n#pragma mark - Image\n\n/**\n * Get the current image URL.\n */\n- (nullable NSURL *)sd_currentImageURL;\n\n/**\n * Set the button `image` with an `url`.\n *\n * The download is asynchronous and cached.\n *\n * @param url The url for the image.\n */\n- (void)sd_setImageWithURL:(nullable NSURL *)url NS_REFINED_FOR_SWIFT;\n\n/**\n * Set the button `image` with an `url` and a placeholder.\n *\n * The download is asynchronous and cached.\n *\n * @param url         The url for the image.\n * @param placeholder The image to be set initially, until the image request finishes.\n * @see sd_setImageWithURL:placeholderImage:options:\n */\n- (void)sd_setImageWithURL:(nullable NSURL *)url\n          placeholderImage:(nullable UIImage *)placeholder NS_REFINED_FOR_SWIFT;\n\n/**\n * Set the button `image` with an `url`, placeholder and custom options.\n *\n * The download is asynchronous and cached.\n *\n * @param url         The url for the image.\n * @param placeholder The image to be set initially, until the image request finishes.\n * @param options     The options to use when downloading the image. @see SDWebImageOptions for the possible values.\n */\n- (void)sd_setImageWithURL:(nullable NSURL *)url\n          placeholderImage:(nullable UIImage *)placeholder\n                   options:(SDWebImageOptions)options NS_REFINED_FOR_SWIFT;\n\n/**\n * Set the button `image` with an `url`.\n *\n * The download is asynchronous and cached.\n *\n * @param url            The url for the image.\n * @param completedBlock A block called when operation has been completed. This block has no return value\n *                       and takes the requested UIImage as first parameter. In case of error the image parameter\n *                       is nil and the second parameter may contain an NSError. The third parameter is a Boolean\n *                       indicating if the image was retrieved from the local cache or from the network.\n *                       The fourth parameter is the original image url.\n */\n- (void)sd_setImageWithURL:(nullable NSURL *)url\n                 completed:(nullable SDExternalCompletionBlock)completedBlock;\n\n/**\n * Set the button `image` with an `url`, placeholder.\n *\n * The download is asynchronous and cached.\n *\n * @param url            The url for the image.\n * @param placeholder    The image to be set initially, until the image request finishes.\n * @param completedBlock A block called when operation has been completed. This block has no return value\n *                       and takes the requested UIImage as first parameter. In case of error the image parameter\n *                       is nil and the second parameter may contain an NSError. The third parameter is a Boolean\n *                       indicating if the image was retrieved from the local cache or from the network.\n *                       The fourth parameter is the original image url.\n */\n- (void)sd_setImageWithURL:(nullable NSURL *)url\n          placeholderImage:(nullable UIImage *)placeholder\n                 completed:(nullable SDExternalCompletionBlock)completedBlock NS_REFINED_FOR_SWIFT;\n\n/**\n * Set the button `image` with an `url`, placeholder and custom options.\n *\n * The download is asynchronous and cached.\n *\n * @param url            The url for the image.\n * @param placeholder    The image to be set initially, until the image request finishes.\n * @param options        The options to use when downloading the image. @see SDWebImageOptions for the possible values.\n * @param completedBlock A block called when operation has been completed. This block has no return value\n *                       and takes the requested UIImage as first parameter. In case of error the image parameter\n *                       is nil and the second parameter may contain an NSError. The third parameter is a Boolean\n *                       indicating if the image was retrieved from the local cache or from the network.\n *                       The fourth parameter is the original image url.\n */\n- (void)sd_setImageWithURL:(nullable NSURL *)url\n          placeholderImage:(nullable UIImage *)placeholder\n                   options:(SDWebImageOptions)options\n                 completed:(nullable SDExternalCompletionBlock)completedBlock;\n\n/**\n * Set the button `image` with an `url`, placeholder and custom options.\n *\n * The download is asynchronous and cached.\n *\n * @param url            The url for the image.\n * @param placeholder    The image to be set initially, until the image request finishes.\n * @param options        The options to use when downloading the image. @see SDWebImageOptions for the possible values.\n * @param progressBlock  A block called while image is downloading\n *                       @note the progress block is executed on a background queue\n * @param completedBlock A block called when operation has been completed. This block has no return value\n *                       and takes the requested UIImage as first parameter. In case of error the image parameter\n *                       is nil and the second parameter may contain an NSError. The third parameter is a Boolean\n *                       indicating if the image was retrieved from the local cache or from the network.\n *                       The fourth parameter is the original image url.\n */\n- (void)sd_setImageWithURL:(nullable NSURL *)url\n          placeholderImage:(nullable UIImage *)placeholder\n                   options:(SDWebImageOptions)options\n                  progress:(nullable SDWebImageDownloaderProgressBlock)progressBlock\n                 completed:(nullable SDExternalCompletionBlock)completedBlock;\n\n#pragma mark - Alternate Image\n\n/**\n * Get the current alternateImage URL.\n */\n- (nullable NSURL *)sd_currentAlternateImageURL;\n\n/**\n * Set the button `alternateImage` with an `url`.\n *\n * The download is asynchronous and cached.\n *\n * @param url The url for the alternateImage.\n */\n- (void)sd_setAlternateImageWithURL:(nullable NSURL *)url NS_REFINED_FOR_SWIFT;\n\n/**\n * Set the button `alternateImage` with an `url` and a placeholder.\n *\n * The download is asynchronous and cached.\n *\n * @param url         The url for the alternateImage.\n * @param placeholder The alternateImage to be set initially, until the alternateImage request finishes.\n * @see sd_setAlternateImageWithURL:placeholderImage:options:\n */\n- (void)sd_setAlternateImageWithURL:(nullable NSURL *)url\n                   placeholderImage:(nullable UIImage *)placeholder NS_REFINED_FOR_SWIFT;\n\n/**\n * Set the button `alternateImage` with an `url`, placeholder and custom options.\n *\n * The download is asynchronous and cached.\n *\n * @param url         The url for the alternateImage.\n * @param placeholder The alternateImage to be set initially, until the alternateImage request finishes.\n * @param options     The options to use when downloading the alternateImage. @see SDWebImageOptions for the possible values.\n */\n- (void)sd_setAlternateImageWithURL:(nullable NSURL *)url\n                   placeholderImage:(nullable UIImage *)placeholder\n                            options:(SDWebImageOptions)options NS_REFINED_FOR_SWIFT;\n\n/**\n * Set the button `alternateImage` with an `url`.\n *\n * The download is asynchronous and cached.\n *\n * @param url            The url for the alternateImage.\n * @param completedBlock A block called when operation has been completed. This block has no return value\n *                       and takes the requested UIImage as first parameter. In case of error the alternateImage parameter\n *                       is nil and the second parameter may contain an NSError. The third parameter is a Boolean\n *                       indicating if the alternateImage was retrieved from the local cache or from the network.\n *                       The fourth parameter is the original alternateImage url.\n */\n- (void)sd_setAlternateImageWithURL:(nullable NSURL *)url\n                          completed:(nullable SDExternalCompletionBlock)completedBlock;\n\n/**\n * Set the button `alternateImage` with an `url`, placeholder.\n *\n * The download is asynchronous and cached.\n *\n * @param url            The url for the alternateImage.\n * @param placeholder    The alternateImage to be set initially, until the alternateImage request finishes.\n * @param completedBlock A block called when operation has been completed. This block has no return value\n *                       and takes the requested UIImage as first parameter. In case of error the alternateImage parameter\n *                       is nil and the second parameter may contain an NSError. The third parameter is a Boolean\n *                       indicating if the alternateImage was retrieved from the local cache or from the network.\n *                       The fourth parameter is the original alternateImage url.\n */\n- (void)sd_setAlternateImageWithURL:(nullable NSURL *)url\n                   placeholderImage:(nullable UIImage *)placeholder\n                          completed:(nullable SDExternalCompletionBlock)completedBlock NS_REFINED_FOR_SWIFT;\n\n/**\n * Set the button `alternateImage` with an `url`, placeholder and custom options.\n *\n * The download is asynchronous and cached.\n *\n * @param url            The url for the alternateImage.\n * @param placeholder    The alternateImage to be set initially, until the alternateImage request finishes.\n * @param options        The options to use when downloading the alternateImage. @see SDWebImageOptions for the possible values.\n * @param completedBlock A block called when operation has been completed. This block has no return value\n *                       and takes the requested UIImage as first parameter. In case of error the alternateImage parameter\n *                       is nil and the second parameter may contain an NSError. The third parameter is a Boolean\n *                       indicating if the alternateImage was retrieved from the local cache or from the network.\n *                       The fourth parameter is the original alternateImage url.\n */\n- (void)sd_setAlternateImageWithURL:(nullable NSURL *)url\n                   placeholderImage:(nullable UIImage *)placeholder\n                            options:(SDWebImageOptions)options\n                          completed:(nullable SDExternalCompletionBlock)completedBlock;\n\n/**\n * Set the button `alternateImage` with an `url`, placeholder and custom options.\n *\n * The download is asynchronous and cached.\n *\n * @param url            The url for the alternateImage.\n * @param placeholder    The alternateImage to be set initially, until the alternateImage request finishes.\n * @param options        The options to use when downloading the alternateImage. @see SDWebImageOptions for the possible values.\n * @param progressBlock  A block called while alternateImage is downloading\n *                       @note the progress block is executed on a background queue\n * @param completedBlock A block called when operation has been completed. This block has no return value\n *                       and takes the requested UIImage as first parameter. In case of error the alternateImage parameter\n *                       is nil and the second parameter may contain an NSError. The third parameter is a Boolean\n *                       indicating if the alternateImage was retrieved from the local cache or from the network.\n *                       The fourth parameter is the original alternateImage url.\n */\n- (void)sd_setAlternateImageWithURL:(nullable NSURL *)url\n                   placeholderImage:(nullable UIImage *)placeholder\n                            options:(SDWebImageOptions)options\n                           progress:(nullable SDWebImageDownloaderProgressBlock)progressBlock\n                          completed:(nullable SDExternalCompletionBlock)completedBlock;\n\n#pragma mark - Cancel\n\n/**\n * Cancel the current image download\n */\n- (void)sd_cancelCurrentImageLoad;\n\n/**\n * Cancel the current alternateImage download\n */\n- (void)sd_cancelCurrentAlternateImageLoad;\n\n@end\n\n#endif\n"
  },
  {
    "path": "CKMeiTuanShopView/Pods/SDWebImage/SDWebImage/NSButton+WebCache.m",
    "content": "/*\n * This file is part of the SDWebImage package.\n * (c) Olivier Poitrey <rs@dailymotion.com>\n *\n * For the full copyright and license information, please view the LICENSE\n * file that was distributed with this source code.\n */\n\n#import \"NSButton+WebCache.h\"\n\n#if SD_MAC\n\n#import \"objc/runtime.h\"\n#import \"UIView+WebCacheOperation.h\"\n#import \"UIView+WebCache.h\"\n\nstatic inline NSString * imageOperationKey() {\n    return @\"NSButtonImageOperation\";\n}\n\nstatic inline NSString * alternateImageOperationKey() {\n    return @\"NSButtonAlternateImageOperation\";\n}\n\n@implementation NSButton (WebCache)\n\n#pragma mark - Image\n\n- (void)sd_setImageWithURL:(nullable NSURL *)url {\n    [self sd_setImageWithURL:url placeholderImage:nil options:0 progress:nil completed:nil];\n}\n\n- (void)sd_setImageWithURL:(nullable NSURL *)url placeholderImage:(nullable UIImage *)placeholder {\n    [self sd_setImageWithURL:url placeholderImage:placeholder options:0 progress:nil completed:nil];\n}\n\n- (void)sd_setImageWithURL:(nullable NSURL *)url placeholderImage:(nullable UIImage *)placeholder options:(SDWebImageOptions)options {\n    [self sd_setImageWithURL:url placeholderImage:placeholder options:options progress:nil completed:nil];\n}\n\n- (void)sd_setImageWithURL:(nullable NSURL *)url completed:(nullable SDExternalCompletionBlock)completedBlock {\n    [self sd_setImageWithURL:url placeholderImage:nil options:0 progress:nil completed:completedBlock];\n}\n\n- (void)sd_setImageWithURL:(nullable NSURL *)url placeholderImage:(nullable UIImage *)placeholder completed:(nullable SDExternalCompletionBlock)completedBlock {\n    [self sd_setImageWithURL:url placeholderImage:placeholder options:0 progress:nil completed:completedBlock];\n}\n\n- (void)sd_setImageWithURL:(nullable NSURL *)url placeholderImage:(nullable UIImage *)placeholder options:(SDWebImageOptions)options completed:(nullable SDExternalCompletionBlock)completedBlock {\n    [self sd_setImageWithURL:url placeholderImage:placeholder options:options progress:nil completed:completedBlock];\n}\n\n- (void)sd_setImageWithURL:(nullable NSURL *)url\n          placeholderImage:(nullable UIImage *)placeholder\n                   options:(SDWebImageOptions)options\n                  progress:(nullable SDWebImageDownloaderProgressBlock)progressBlock\n                 completed:(nullable SDExternalCompletionBlock)completedBlock {\n    self.sd_currentImageURL = url;\n    \n    __weak typeof(self)weakSelf = self;\n    [self sd_internalSetImageWithURL:url\n                    placeholderImage:placeholder\n                             options:options\n                        operationKey:imageOperationKey()\n                       setImageBlock:^(NSImage * _Nullable image, NSData * _Nullable imageData) {\n                           weakSelf.image = image;\n                       }\n                            progress:progressBlock\n                           completed:completedBlock];\n}\n\n#pragma mark - Alternate Image\n\n- (void)sd_setAlternateImageWithURL:(nullable NSURL *)url {\n    [self sd_setAlternateImageWithURL:url placeholderImage:nil options:0 progress:nil completed:nil];\n}\n\n- (void)sd_setAlternateImageWithURL:(nullable NSURL *)url placeholderImage:(nullable UIImage *)placeholder {\n    [self sd_setAlternateImageWithURL:url placeholderImage:placeholder options:0 progress:nil completed:nil];\n}\n\n- (void)sd_setAlternateImageWithURL:(nullable NSURL *)url placeholderImage:(nullable UIImage *)placeholder options:(SDWebImageOptions)options {\n    [self sd_setAlternateImageWithURL:url placeholderImage:placeholder options:options progress:nil completed:nil];\n}\n\n- (void)sd_setAlternateImageWithURL:(nullable NSURL *)url completed:(nullable SDExternalCompletionBlock)completedBlock {\n    [self sd_setAlternateImageWithURL:url placeholderImage:nil options:0 progress:nil completed:completedBlock];\n}\n\n- (void)sd_setAlternateImageWithURL:(nullable NSURL *)url placeholderImage:(nullable UIImage *)placeholder completed:(nullable SDExternalCompletionBlock)completedBlock {\n    [self sd_setAlternateImageWithURL:url placeholderImage:placeholder options:0 progress:nil completed:completedBlock];\n}\n\n- (void)sd_setAlternateImageWithURL:(nullable NSURL *)url placeholderImage:(nullable UIImage *)placeholder options:(SDWebImageOptions)options completed:(nullable SDExternalCompletionBlock)completedBlock {\n    [self sd_setAlternateImageWithURL:url placeholderImage:placeholder options:options progress:nil completed:completedBlock];\n}\n\n- (void)sd_setAlternateImageWithURL:(nullable NSURL *)url\n                   placeholderImage:(nullable UIImage *)placeholder\n                            options:(SDWebImageOptions)options\n                           progress:(nullable SDWebImageDownloaderProgressBlock)progressBlock\n                          completed:(nullable SDExternalCompletionBlock)completedBlock {\n    self.sd_currentAlternateImageURL = url;\n    \n    __weak typeof(self)weakSelf = self;\n    [self sd_internalSetImageWithURL:url\n                    placeholderImage:placeholder\n                             options:options\n                        operationKey:alternateImageOperationKey()\n                       setImageBlock:^(NSImage * _Nullable image, NSData * _Nullable imageData) {\n                           weakSelf.alternateImage = image;\n                       }\n                            progress:progressBlock\n                           completed:completedBlock];\n}\n\n#pragma mark - Cancel\n\n- (void)sd_cancelCurrentImageLoad {\n    [self sd_cancelImageLoadOperationWithKey:imageOperationKey()];\n}\n\n- (void)sd_cancelCurrentAlternateImageLoad {\n    [self sd_cancelImageLoadOperationWithKey:alternateImageOperationKey()];\n}\n\n#pragma mar - Private\n\n- (NSURL *)sd_currentImageURL {\n    return objc_getAssociatedObject(self, @selector(sd_currentImageURL));\n}\n\n- (void)setSd_currentImageURL:(NSURL *)sd_currentImageURL {\n    objc_setAssociatedObject(self, @selector(sd_currentImageURL), sd_currentImageURL, OBJC_ASSOCIATION_RETAIN_NONATOMIC);\n}\n\n- (NSURL *)sd_currentAlternateImageURL {\n    return objc_getAssociatedObject(self, @selector(sd_currentAlternateImageURL));\n}\n\n- (void)setSd_currentAlternateImageURL:(NSURL *)sd_currentAlternateImageURL {\n    objc_setAssociatedObject(self, @selector(sd_currentAlternateImageURL), sd_currentAlternateImageURL, OBJC_ASSOCIATION_RETAIN_NONATOMIC);\n}\n\n@end\n\n#endif\n"
  },
  {
    "path": "CKMeiTuanShopView/Pods/SDWebImage/SDWebImage/NSData+ImageContentType.h",
    "content": "/*\n * This file is part of the SDWebImage package.\n * (c) Olivier Poitrey <rs@dailymotion.com>\n * (c) Fabrice Aneche\n *\n * For the full copyright and license information, please view the LICENSE\n * file that was distributed with this source code.\n */\n\n#import <Foundation/Foundation.h>\n#import \"SDWebImageCompat.h\"\n\ntypedef NS_ENUM(NSInteger, SDImageFormat) {\n    SDImageFormatUndefined = -1,\n    SDImageFormatJPEG = 0,\n    SDImageFormatPNG,\n    SDImageFormatGIF,\n    SDImageFormatTIFF,\n    SDImageFormatWebP,\n    SDImageFormatHEIC\n};\n\n@interface NSData (ImageContentType)\n\n/**\n *  Return image format\n *\n *  @param data the input image data\n *\n *  @return the image format as `SDImageFormat` (enum)\n */\n+ (SDImageFormat)sd_imageFormatForImageData:(nullable NSData *)data;\n\n/**\n *  Convert SDImageFormat to UTType\n *\n *  @param format Format as SDImageFormat\n *  @return The UTType as CFStringRef\n */\n+ (nonnull CFStringRef)sd_UTTypeFromSDImageFormat:(SDImageFormat)format;\n\n/**\n *  Convert UTTyppe to SDImageFormat\n *\n *  @param uttype The UTType as CFStringRef\n *  @return The Format as SDImageFormat\n */\n+ (SDImageFormat)sd_imageFormatFromUTType:(nonnull CFStringRef)uttype;\n\n@end\n"
  },
  {
    "path": "CKMeiTuanShopView/Pods/SDWebImage/SDWebImage/NSData+ImageContentType.m",
    "content": "/*\n * This file is part of the SDWebImage package.\n * (c) Olivier Poitrey <rs@dailymotion.com>\n * (c) Fabrice Aneche\n *\n * For the full copyright and license information, please view the LICENSE\n * file that was distributed with this source code.\n */\n\n#import \"NSData+ImageContentType.h\"\n#if SD_MAC\n#import <CoreServices/CoreServices.h>\n#else\n#import <MobileCoreServices/MobileCoreServices.h>\n#endif\n\n// Currently Image/IO does not support WebP\n#define kSDUTTypeWebP ((__bridge CFStringRef)@\"public.webp\")\n// AVFileTypeHEIC is defined in AVFoundation via iOS 11, we use this without import AVFoundation\n#define kSDUTTypeHEIC ((__bridge CFStringRef)@\"public.heic\")\n\n@implementation NSData (ImageContentType)\n\n+ (SDImageFormat)sd_imageFormatForImageData:(nullable NSData *)data {\n    if (!data) {\n        return SDImageFormatUndefined;\n    }\n    \n    // File signatures table: http://www.garykessler.net/library/file_sigs.html\n    uint8_t c;\n    [data getBytes:&c length:1];\n    switch (c) {\n        case 0xFF:\n            return SDImageFormatJPEG;\n        case 0x89:\n            return SDImageFormatPNG;\n        case 0x47:\n            return SDImageFormatGIF;\n        case 0x49:\n        case 0x4D:\n            return SDImageFormatTIFF;\n        case 0x52: {\n            if (data.length >= 12) {\n                //RIFF....WEBP\n                NSString *testString = [[NSString alloc] initWithData:[data subdataWithRange:NSMakeRange(0, 12)] encoding:NSASCIIStringEncoding];\n                if ([testString hasPrefix:@\"RIFF\"] && [testString hasSuffix:@\"WEBP\"]) {\n                    return SDImageFormatWebP;\n                }\n            }\n            break;\n        }\n        case 0x00: {\n            if (data.length >= 12) {\n                //....ftypheic ....ftypheix ....ftyphevc ....ftyphevx\n                NSString *testString = [[NSString alloc] initWithData:[data subdataWithRange:NSMakeRange(4, 8)] encoding:NSASCIIStringEncoding];\n                if ([testString isEqualToString:@\"ftypheic\"]\n                    || [testString isEqualToString:@\"ftypheix\"]\n                    || [testString isEqualToString:@\"ftyphevc\"]\n                    || [testString isEqualToString:@\"ftyphevx\"]) {\n                    return SDImageFormatHEIC;\n                }\n            }\n            break;\n        }\n    }\n    return SDImageFormatUndefined;\n}\n\n+ (nonnull CFStringRef)sd_UTTypeFromSDImageFormat:(SDImageFormat)format {\n    CFStringRef UTType;\n    switch (format) {\n        case SDImageFormatJPEG:\n            UTType = kUTTypeJPEG;\n            break;\n        case SDImageFormatPNG:\n            UTType = kUTTypePNG;\n            break;\n        case SDImageFormatGIF:\n            UTType = kUTTypeGIF;\n            break;\n        case SDImageFormatTIFF:\n            UTType = kUTTypeTIFF;\n            break;\n        case SDImageFormatWebP:\n            UTType = kSDUTTypeWebP;\n            break;\n        case SDImageFormatHEIC:\n            UTType = kSDUTTypeHEIC;\n            break;\n        default:\n            // default is kUTTypePNG\n            UTType = kUTTypePNG;\n            break;\n    }\n    return UTType;\n}\n\n+ (SDImageFormat)sd_imageFormatFromUTType:(CFStringRef)uttype {\n    if (!uttype) {\n        return SDImageFormatUndefined;\n    }\n    SDImageFormat imageFormat;\n    if (CFStringCompare(uttype, kUTTypeJPEG, 0) == kCFCompareEqualTo) {\n        imageFormat = SDImageFormatJPEG;\n    } else if (CFStringCompare(uttype, kUTTypePNG, 0) == kCFCompareEqualTo) {\n        imageFormat = SDImageFormatPNG;\n    } else if (CFStringCompare(uttype, kUTTypeGIF, 0) == kCFCompareEqualTo) {\n        imageFormat = SDImageFormatGIF;\n    } else if (CFStringCompare(uttype, kUTTypeTIFF, 0) == kCFCompareEqualTo) {\n        imageFormat = SDImageFormatTIFF;\n    } else if (CFStringCompare(uttype, kSDUTTypeWebP, 0) == kCFCompareEqualTo) {\n        imageFormat = SDImageFormatWebP;\n    } else if (CFStringCompare(uttype, kSDUTTypeHEIC, 0) == kCFCompareEqualTo) {\n        imageFormat = SDImageFormatHEIC;\n    } else {\n        imageFormat = SDImageFormatUndefined;\n    }\n    return imageFormat;\n}\n\n@end\n"
  },
  {
    "path": "CKMeiTuanShopView/Pods/SDWebImage/SDWebImage/NSImage+WebCache.h",
    "content": "/*\n * This file is part of the SDWebImage package.\n * (c) Olivier Poitrey <rs@dailymotion.com>\n *\n * For the full copyright and license information, please view the LICENSE\n * file that was distributed with this source code.\n */\n\n#import \"SDWebImageCompat.h\"\n\n#if SD_MAC\n\n#import <Cocoa/Cocoa.h>\n\n@interface NSImage (WebCache)\n\n- (CGImageRef)CGImage;\n- (NSArray<NSImage *> *)images;\n- (BOOL)isGIF;\n\n@end\n\n#endif\n"
  },
  {
    "path": "CKMeiTuanShopView/Pods/SDWebImage/SDWebImage/NSImage+WebCache.m",
    "content": "/*\n * This file is part of the SDWebImage package.\n * (c) Olivier Poitrey <rs@dailymotion.com>\n *\n * For the full copyright and license information, please view the LICENSE\n * file that was distributed with this source code.\n */\n\n#import \"NSImage+WebCache.h\"\n\n#if SD_MAC\n\n@implementation NSImage (WebCache)\n\n- (CGImageRef)CGImage {\n    NSRect imageRect = NSMakeRect(0, 0, self.size.width, self.size.height);\n    CGImageRef cgImage = [self CGImageForProposedRect:&imageRect context:NULL hints:nil];\n    return cgImage;\n}\n\n- (NSArray<NSImage *> *)images {\n    return nil;\n}\n\n- (BOOL)isGIF {\n    BOOL isGIF = NO;\n    for (NSImageRep *rep in self.representations) {\n        if ([rep isKindOfClass:[NSBitmapImageRep class]]) {\n            NSBitmapImageRep *bitmapRep = (NSBitmapImageRep *)rep;\n            NSUInteger frameCount = [[bitmapRep valueForProperty:NSImageFrameCount] unsignedIntegerValue];\n            isGIF = frameCount > 1 ? YES : NO;\n            break;\n        }\n    }\n    return isGIF;\n}\n\n@end\n\n#endif\n\n"
  },
  {
    "path": "CKMeiTuanShopView/Pods/SDWebImage/SDWebImage/SDAnimatedImageRep.h",
    "content": "/*\n * This file is part of the SDWebImage package.\n * (c) Olivier Poitrey <rs@dailymotion.com>\n *\n * For the full copyright and license information, please view the LICENSE\n * file that was distributed with this source code.\n */\n\n#import \"SDWebImageCompat.h\"\n\n#if SD_MAC\n\n// A subclass of `NSBitmapImageRep` to fix that GIF loop count issue because `NSBitmapImageRep` will reset `NSImageCurrentFrameDuration` by using `kCGImagePropertyGIFDelayTime` but not `kCGImagePropertyGIFUnclampedDelayTime`.\n// Built in GIF coder use this instead of `NSBitmapImageRep` for better GIF rendering. If you do not want this, only enable `SDWebImageImageIOCoder`, which just call `NSImage` API and actually use `NSBitmapImageRep` for GIF image.\n\n@interface SDAnimatedImageRep : NSBitmapImageRep\n\n@end\n\n#endif\n"
  },
  {
    "path": "CKMeiTuanShopView/Pods/SDWebImage/SDWebImage/SDAnimatedImageRep.m",
    "content": "/*\n * This file is part of the SDWebImage package.\n * (c) Olivier Poitrey <rs@dailymotion.com>\n *\n * For the full copyright and license information, please view the LICENSE\n * file that was distributed with this source code.\n */\n\n#import \"SDAnimatedImageRep.h\"\n\n#if SD_MAC\n\n#import \"SDWebImageGIFCoder.h\"\n\n@interface SDWebImageGIFCoder ()\n\n- (float)sd_frameDurationAtIndex:(NSUInteger)index source:(CGImageSourceRef)source;\n\n@end\n\n@interface SDAnimatedImageRep ()\n\n@property (nonatomic, assign, readonly, nullable) CGImageSourceRef imageSource;\n\n@end\n\n@implementation SDAnimatedImageRep\n\n// `NSBitmapImageRep` will use `kCGImagePropertyGIFDelayTime` whenever you call `setProperty:withValue:` with `NSImageCurrentFrame` to change the current frame. We override it and use the actual `kCGImagePropertyGIFUnclampedDelayTime` if need.\n- (void)setProperty:(NSBitmapImageRepPropertyKey)property withValue:(id)value {\n    [super setProperty:property withValue:value];\n    if ([property isEqualToString:NSImageCurrentFrame]) {\n        // Access the image source\n        CGImageSourceRef imageSource = self.imageSource;\n        if (!imageSource) {\n            return;\n        }\n        // Check format type\n        CFStringRef type = CGImageSourceGetType(imageSource);\n        if (!type) {\n            return;\n        }\n        NSUInteger index = [value unsignedIntegerValue];\n        float frameDuration = 0;\n        // Through we currently process GIF only, in the 5.x we support APNG so we keep the extensibility\n        if (CFStringCompare(type, kUTTypeGIF, 0) == kCFCompareEqualTo) {\n            frameDuration = [[SDWebImageGIFCoder sharedCoder] sd_frameDurationAtIndex:index source:imageSource];\n        }\n        if (!frameDuration) {\n            return;\n        }\n        // Reset super frame duration with the actual frame duration\n        [super setProperty:NSImageCurrentFrameDuration withValue:@(frameDuration)];\n    }\n}\n\n- (CGImageSourceRef)imageSource {\n    if (_tiffData) {\n        return (__bridge CGImageSourceRef)(_tiffData);\n    }\n    return NULL;\n}\n\n@end\n\n#endif\n"
  },
  {
    "path": "CKMeiTuanShopView/Pods/SDWebImage/SDWebImage/SDImageCache.h",
    "content": "/*\n * This file is part of the SDWebImage package.\n * (c) Olivier Poitrey <rs@dailymotion.com>\n *\n * For the full copyright and license information, please view the LICENSE\n * file that was distributed with this source code.\n */\n\n#import <Foundation/Foundation.h>\n#import \"SDWebImageCompat.h\"\n#import \"SDImageCacheConfig.h\"\n\ntypedef NS_ENUM(NSInteger, SDImageCacheType) {\n    /**\n     * The image wasn't available the SDWebImage caches, but was downloaded from the web.\n     */\n    SDImageCacheTypeNone,\n    /**\n     * The image was obtained from the disk cache.\n     */\n    SDImageCacheTypeDisk,\n    /**\n     * The image was obtained from the memory cache.\n     */\n    SDImageCacheTypeMemory\n};\n\ntypedef NS_OPTIONS(NSUInteger, SDImageCacheOptions) {\n    /**\n     * By default, we do not query disk data when the image is cached in memory. This mask can force to query disk data at the same time.\n     */\n    SDImageCacheQueryDataWhenInMemory = 1 << 0,\n    /**\n     * By default, we query the memory cache synchronously, disk cache asynchronously. This mask can force to query disk cache synchronously.\n     */\n    SDImageCacheQueryDiskSync = 1 << 1,\n    /**\n     * By default, images are decoded respecting their original size. On iOS, this flag will scale down the\n     * images to a size compatible with the constrained memory of devices.\n     */\n    SDImageCacheScaleDownLargeImages = 1 << 2\n};\n\ntypedef void(^SDCacheQueryCompletedBlock)(UIImage * _Nullable image, NSData * _Nullable data, SDImageCacheType cacheType);\n\ntypedef void(^SDWebImageCheckCacheCompletionBlock)(BOOL isInCache);\n\ntypedef void(^SDWebImageCalculateSizeBlock)(NSUInteger fileCount, NSUInteger totalSize);\n\n\n/**\n * SDImageCache maintains a memory cache and an optional disk cache. Disk cache write operations are performed\n * asynchronous so it doesn’t add unnecessary latency to the UI.\n */\n@interface SDImageCache : NSObject\n\n#pragma mark - Properties\n\n/**\n *  Cache Config object - storing all kind of settings\n */\n@property (nonatomic, nonnull, readonly) SDImageCacheConfig *config;\n\n/**\n * The maximum \"total cost\" of the in-memory image cache. The cost function is the number of pixels held in memory.\n */\n@property (assign, nonatomic) NSUInteger maxMemoryCost;\n\n/**\n * The maximum number of objects the cache should hold.\n */\n@property (assign, nonatomic) NSUInteger maxMemoryCountLimit;\n\n#pragma mark - Singleton and initialization\n\n/**\n * Returns global shared cache instance\n *\n * @return SDImageCache global instance\n */\n+ (nonnull instancetype)sharedImageCache;\n\n/**\n * Init a new cache store with a specific namespace\n *\n * @param ns The namespace to use for this cache store\n */\n- (nonnull instancetype)initWithNamespace:(nonnull NSString *)ns;\n\n/**\n * Init a new cache store with a specific namespace and directory\n *\n * @param ns        The namespace to use for this cache store\n * @param directory Directory to cache disk images in\n */\n- (nonnull instancetype)initWithNamespace:(nonnull NSString *)ns\n                       diskCacheDirectory:(nonnull NSString *)directory NS_DESIGNATED_INITIALIZER;\n\n#pragma mark - Cache paths\n\n- (nullable NSString *)makeDiskCachePath:(nonnull NSString*)fullNamespace;\n\n/**\n * Add a read-only cache path to search for images pre-cached by SDImageCache\n * Useful if you want to bundle pre-loaded images with your app\n *\n * @param path The path to use for this read-only cache path\n */\n- (void)addReadOnlyCachePath:(nonnull NSString *)path;\n\n#pragma mark - Store Ops\n\n/**\n * Asynchronously store an image into memory and disk cache at the given key.\n *\n * @param image           The image to store\n * @param key             The unique image cache key, usually it's image absolute URL\n * @param completionBlock A block executed after the operation is finished\n */\n- (void)storeImage:(nullable UIImage *)image\n            forKey:(nullable NSString *)key\n        completion:(nullable SDWebImageNoParamsBlock)completionBlock;\n\n/**\n * Asynchronously store an image into memory and disk cache at the given key.\n *\n * @param image           The image to store\n * @param key             The unique image cache key, usually it's image absolute URL\n * @param toDisk          Store the image to disk cache if YES\n * @param completionBlock A block executed after the operation is finished\n */\n- (void)storeImage:(nullable UIImage *)image\n            forKey:(nullable NSString *)key\n            toDisk:(BOOL)toDisk\n        completion:(nullable SDWebImageNoParamsBlock)completionBlock;\n\n/**\n * Asynchronously store an image into memory and disk cache at the given key.\n *\n * @param image           The image to store\n * @param imageData       The image data as returned by the server, this representation will be used for disk storage\n *                        instead of converting the given image object into a storable/compressed image format in order\n *                        to save quality and CPU\n * @param key             The unique image cache key, usually it's image absolute URL\n * @param toDisk          Store the image to disk cache if YES\n * @param completionBlock A block executed after the operation is finished\n */\n- (void)storeImage:(nullable UIImage *)image\n         imageData:(nullable NSData *)imageData\n            forKey:(nullable NSString *)key\n            toDisk:(BOOL)toDisk\n        completion:(nullable SDWebImageNoParamsBlock)completionBlock;\n\n/**\n * Synchronously store image NSData into disk cache at the given key.\n *\n *\n * @param imageData  The image data to store\n * @param key        The unique image cache key, usually it's image absolute URL\n */\n- (void)storeImageDataToDisk:(nullable NSData *)imageData forKey:(nullable NSString *)key;\n\n#pragma mark - Query and Retrieve Ops\n\n/**\n *  Async check if image exists in disk cache already (does not load the image)\n *\n *  @param key             the key describing the url\n *  @param completionBlock the block to be executed when the check is done.\n *  @note the completion block will be always executed on the main queue\n */\n- (void)diskImageExistsWithKey:(nullable NSString *)key completion:(nullable SDWebImageCheckCacheCompletionBlock)completionBlock;\n\n/**\n *  Sync check if image data exists in disk cache already (does not load the image)\n *\n *  @param key             the key describing the url\n */\n- (BOOL)diskImageDataExistsWithKey:(nullable NSString *)key;\n\n/**\n *  Query the image data for the given key synchronously.\n *\n *  @param key The unique key used to store the wanted image\n *  @return The image data for the given key, or nil if not found.\n */\n- (nullable NSData *)diskImageDataForKey:(nullable NSString *)key;\n\n/**\n * Operation that queries the cache asynchronously and call the completion when done.\n *\n * @param key       The unique key used to store the wanted image\n * @param doneBlock The completion block. Will not get called if the operation is cancelled\n *\n * @return a NSOperation instance containing the cache op\n */\n- (nullable NSOperation *)queryCacheOperationForKey:(nullable NSString *)key done:(nullable SDCacheQueryCompletedBlock)doneBlock;\n\n/**\n * Operation that queries the cache asynchronously and call the completion when done.\n *\n * @param key       The unique key used to store the wanted image\n * @param options   A mask to specify options to use for this cache query\n * @param doneBlock The completion block. Will not get called if the operation is cancelled\n *\n * @return a NSOperation instance containing the cache op\n */\n- (nullable NSOperation *)queryCacheOperationForKey:(nullable NSString *)key options:(SDImageCacheOptions)options done:(nullable SDCacheQueryCompletedBlock)doneBlock;\n\n/**\n * Query the memory cache synchronously.\n *\n * @param key The unique key used to store the image\n * @return The image for the given key, or nil if not found.\n */\n- (nullable UIImage *)imageFromMemoryCacheForKey:(nullable NSString *)key;\n\n/**\n * Query the disk cache synchronously.\n *\n * @param key The unique key used to store the image\n * @return The image for the given key, or nil if not found.\n */\n- (nullable UIImage *)imageFromDiskCacheForKey:(nullable NSString *)key;\n\n/**\n * Query the cache (memory and or disk) synchronously after checking the memory cache.\n *\n * @param key The unique key used to store the image\n * @return The image for the given key, or nil if not found.\n */\n- (nullable UIImage *)imageFromCacheForKey:(nullable NSString *)key;\n\n#pragma mark - Remove Ops\n\n/**\n * Remove the image from memory and disk cache asynchronously\n *\n * @param key             The unique image cache key\n * @param completion      A block that should be executed after the image has been removed (optional)\n */\n- (void)removeImageForKey:(nullable NSString *)key withCompletion:(nullable SDWebImageNoParamsBlock)completion;\n\n/**\n * Remove the image from memory and optionally disk cache asynchronously\n *\n * @param key             The unique image cache key\n * @param fromDisk        Also remove cache entry from disk if YES\n * @param completion      A block that should be executed after the image has been removed (optional)\n */\n- (void)removeImageForKey:(nullable NSString *)key fromDisk:(BOOL)fromDisk withCompletion:(nullable SDWebImageNoParamsBlock)completion;\n\n#pragma mark - Cache clean Ops\n\n/**\n * Clear all memory cached images\n */\n- (void)clearMemory;\n\n/**\n * Async clear all disk cached images. Non-blocking method - returns immediately.\n * @param completion    A block that should be executed after cache expiration completes (optional)\n */\n- (void)clearDiskOnCompletion:(nullable SDWebImageNoParamsBlock)completion;\n\n/**\n * Async remove all expired cached image from disk. Non-blocking method - returns immediately.\n * @param completionBlock A block that should be executed after cache expiration completes (optional)\n */\n- (void)deleteOldFilesWithCompletionBlock:(nullable SDWebImageNoParamsBlock)completionBlock;\n\n#pragma mark - Cache Info\n\n/**\n * Get the size used by the disk cache\n */\n- (NSUInteger)getSize;\n\n/**\n * Get the number of images in the disk cache\n */\n- (NSUInteger)getDiskCount;\n\n/**\n * Asynchronously calculate the disk cache's size.\n */\n- (void)calculateSizeWithCompletionBlock:(nullable SDWebImageCalculateSizeBlock)completionBlock;\n\n#pragma mark - Cache Paths\n\n/**\n *  Get the cache path for a certain key (needs the cache path root folder)\n *\n *  @param key  the key (can be obtained from url using cacheKeyForURL)\n *  @param path the cache path root folder\n *\n *  @return the cache path\n */\n- (nullable NSString *)cachePathForKey:(nullable NSString *)key inPath:(nonnull NSString *)path;\n\n/**\n *  Get the default cache path for a certain key\n *\n *  @param key the key (can be obtained from url using cacheKeyForURL)\n *\n *  @return the default cache path\n */\n- (nullable NSString *)defaultCachePathForKey:(nullable NSString *)key;\n\n@end\n"
  },
  {
    "path": "CKMeiTuanShopView/Pods/SDWebImage/SDWebImage/SDImageCache.m",
    "content": "/*\n * This file is part of the SDWebImage package.\n * (c) Olivier Poitrey <rs@dailymotion.com>\n *\n * For the full copyright and license information, please view the LICENSE\n * file that was distributed with this source code.\n */\n\n#import \"SDImageCache.h\"\n#import <CommonCrypto/CommonDigest.h>\n#import \"NSImage+WebCache.h\"\n#import \"SDWebImageCodersManager.h\"\n\n#define LOCK(lock) dispatch_semaphore_wait(lock, DISPATCH_TIME_FOREVER);\n#define UNLOCK(lock) dispatch_semaphore_signal(lock);\n\nFOUNDATION_STATIC_INLINE NSUInteger SDCacheCostForImage(UIImage *image) {\n#if SD_MAC\n    return image.size.height * image.size.width;\n#elif SD_UIKIT || SD_WATCH\n    return image.size.height * image.size.width * image.scale * image.scale;\n#endif\n}\n\n// A memory cache which auto purge the cache on memory warning and support weak cache.\n@interface SDMemoryCache <KeyType, ObjectType> : NSCache <KeyType, ObjectType>\n\n@end\n\n// Private\n@interface SDMemoryCache <KeyType, ObjectType> ()\n\n@property (nonatomic, strong, nonnull) SDImageCacheConfig *config;\n@property (nonatomic, strong, nonnull) NSMapTable<KeyType, ObjectType> *weakCache; // strong-weak cache\n@property (nonatomic, strong, nonnull) dispatch_semaphore_t weakCacheLock; // a lock to keep the access to `weakCache` thread-safe\n\n- (instancetype)init NS_UNAVAILABLE;\n- (instancetype)initWithConfig:(nonnull SDImageCacheConfig *)config;\n\n@end\n\n@implementation SDMemoryCache\n\n// Current this seems no use on macOS (macOS use virtual memory and do not clear cache when memory warning). So we only override on iOS/tvOS platform.\n// But in the future there may be more options and features for this subclass.\n#if SD_UIKIT\n\n- (void)dealloc {\n    [[NSNotificationCenter defaultCenter] removeObserver:self name:UIApplicationDidReceiveMemoryWarningNotification object:nil];\n}\n\n- (instancetype)initWithConfig:(SDImageCacheConfig *)config {\n    self = [super init];\n    if (self) {\n        // Use a strong-weak maptable storing the secondary cache. Follow the doc that NSCache does not copy keys\n        // This is useful when the memory warning, the cache was purged. However, the image instance can be retained by other instance such as imageViews and alive.\n        // At this case, we can sync weak cache back and do not need to load from disk cache\n        self.weakCache = [[NSMapTable alloc] initWithKeyOptions:NSPointerFunctionsStrongMemory valueOptions:NSPointerFunctionsWeakMemory capacity:0];\n        self.weakCacheLock = dispatch_semaphore_create(1);\n        self.config = config;\n        [[NSNotificationCenter defaultCenter] addObserver:self\n                                                 selector:@selector(didReceiveMemoryWarning:)\n                                                     name:UIApplicationDidReceiveMemoryWarningNotification\n                                                   object:nil];\n    }\n    return self;\n}\n\n- (void)didReceiveMemoryWarning:(NSNotification *)notification {\n    // Only remove cache, but keep weak cache\n    [super removeAllObjects];\n}\n\n// `setObject:forKey:` just call this with 0 cost. Override this is enough\n- (void)setObject:(id)obj forKey:(id)key cost:(NSUInteger)g {\n    [super setObject:obj forKey:key cost:g];\n    if (!self.config.shouldUseWeakMemoryCache) {\n        return;\n    }\n    if (key && obj) {\n        // Store weak cache\n        LOCK(self.weakCacheLock);\n        [self.weakCache setObject:obj forKey:key];\n        UNLOCK(self.weakCacheLock);\n    }\n}\n\n- (id)objectForKey:(id)key {\n    id obj = [super objectForKey:key];\n    if (!self.config.shouldUseWeakMemoryCache) {\n        return obj;\n    }\n    if (key && !obj) {\n        // Check weak cache\n        LOCK(self.weakCacheLock);\n        obj = [self.weakCache objectForKey:key];\n        UNLOCK(self.weakCacheLock);\n        if (obj) {\n            // Sync cache\n            NSUInteger cost = 0;\n            if ([obj isKindOfClass:[UIImage class]]) {\n                cost = SDCacheCostForImage(obj);\n            }\n            [super setObject:obj forKey:key cost:cost];\n        }\n    }\n    return obj;\n}\n\n- (void)removeObjectForKey:(id)key {\n    [super removeObjectForKey:key];\n    if (!self.config.shouldUseWeakMemoryCache) {\n        return;\n    }\n    if (key) {\n        // Remove weak cache\n        LOCK(self.weakCacheLock);\n        [self.weakCache removeObjectForKey:key];\n        UNLOCK(self.weakCacheLock);\n    }\n}\n\n- (void)removeAllObjects {\n    [super removeAllObjects];\n    if (!self.config.shouldUseWeakMemoryCache) {\n        return;\n    }\n    // Manually remove should also remove weak cache\n    LOCK(self.weakCacheLock);\n    [self.weakCache removeAllObjects];\n    UNLOCK(self.weakCacheLock);\n}\n\n#else\n\n- (instancetype)initWithConfig:(SDImageCacheConfig *)config {\n    self = [super init];\n    return self;\n}\n\n#endif\n\n@end\n\n@interface SDImageCache ()\n\n#pragma mark - Properties\n@property (strong, nonatomic, nonnull) SDMemoryCache *memCache;\n@property (strong, nonatomic, nonnull) NSString *diskCachePath;\n@property (strong, nonatomic, nullable) NSMutableArray<NSString *> *customPaths;\n@property (strong, nonatomic, nullable) dispatch_queue_t ioQueue;\n@property (strong, nonatomic, nonnull) NSFileManager *fileManager;\n\n@end\n\n\n@implementation SDImageCache\n\n#pragma mark - Singleton, init, dealloc\n\n+ (nonnull instancetype)sharedImageCache {\n    static dispatch_once_t once;\n    static id instance;\n    dispatch_once(&once, ^{\n        instance = [self new];\n    });\n    return instance;\n}\n\n- (instancetype)init {\n    return [self initWithNamespace:@\"default\"];\n}\n\n- (nonnull instancetype)initWithNamespace:(nonnull NSString *)ns {\n    NSString *path = [self makeDiskCachePath:ns];\n    return [self initWithNamespace:ns diskCacheDirectory:path];\n}\n\n- (nonnull instancetype)initWithNamespace:(nonnull NSString *)ns\n                       diskCacheDirectory:(nonnull NSString *)directory {\n    if ((self = [super init])) {\n        NSString *fullNamespace = [@\"com.hackemist.SDWebImageCache.\" stringByAppendingString:ns];\n        \n        // Create IO serial queue\n        _ioQueue = dispatch_queue_create(\"com.hackemist.SDWebImageCache\", DISPATCH_QUEUE_SERIAL);\n        \n        _config = [[SDImageCacheConfig alloc] init];\n        \n        // Init the memory cache\n        _memCache = [[SDMemoryCache alloc] initWithConfig:_config];\n        _memCache.name = fullNamespace;\n\n        // Init the disk cache\n        if (directory != nil) {\n            _diskCachePath = [directory stringByAppendingPathComponent:fullNamespace];\n        } else {\n            NSString *path = [self makeDiskCachePath:ns];\n            _diskCachePath = path;\n        }\n\n        dispatch_sync(_ioQueue, ^{\n            self.fileManager = [NSFileManager new];\n        });\n\n#if SD_UIKIT\n        // Subscribe to app events\n        [[NSNotificationCenter defaultCenter] addObserver:self\n                                                 selector:@selector(deleteOldFiles)\n                                                     name:UIApplicationWillTerminateNotification\n                                                   object:nil];\n\n        [[NSNotificationCenter defaultCenter] addObserver:self\n                                                 selector:@selector(backgroundDeleteOldFiles)\n                                                     name:UIApplicationDidEnterBackgroundNotification\n                                                   object:nil];\n#endif\n    }\n\n    return self;\n}\n\n- (void)dealloc {\n    [[NSNotificationCenter defaultCenter] removeObserver:self];\n}\n\n#pragma mark - Cache paths\n\n- (void)addReadOnlyCachePath:(nonnull NSString *)path {\n    if (!self.customPaths) {\n        self.customPaths = [NSMutableArray new];\n    }\n\n    if (![self.customPaths containsObject:path]) {\n        [self.customPaths addObject:path];\n    }\n}\n\n- (nullable NSString *)cachePathForKey:(nullable NSString *)key inPath:(nonnull NSString *)path {\n    NSString *filename = [self cachedFileNameForKey:key];\n    return [path stringByAppendingPathComponent:filename];\n}\n\n- (nullable NSString *)defaultCachePathForKey:(nullable NSString *)key {\n    return [self cachePathForKey:key inPath:self.diskCachePath];\n}\n\n- (nullable NSString *)cachedFileNameForKey:(nullable NSString *)key {\n    const char *str = key.UTF8String;\n    if (str == NULL) {\n        str = \"\";\n    }\n    unsigned char r[CC_MD5_DIGEST_LENGTH];\n    CC_MD5(str, (CC_LONG)strlen(str), r);\n    NSURL *keyURL = [NSURL URLWithString:key];\n    NSString *ext = keyURL ? keyURL.pathExtension : key.pathExtension;\n    NSString *filename = [NSString stringWithFormat:@\"%02x%02x%02x%02x%02x%02x%02x%02x%02x%02x%02x%02x%02x%02x%02x%02x%@\",\n                          r[0], r[1], r[2], r[3], r[4], r[5], r[6], r[7], r[8], r[9], r[10],\n                          r[11], r[12], r[13], r[14], r[15], ext.length == 0 ? @\"\" : [NSString stringWithFormat:@\".%@\", ext]];\n    return filename;\n}\n\n- (nullable NSString *)makeDiskCachePath:(nonnull NSString*)fullNamespace {\n    NSArray<NSString *> *paths = NSSearchPathForDirectoriesInDomains(NSCachesDirectory, NSUserDomainMask, YES);\n    return [paths[0] stringByAppendingPathComponent:fullNamespace];\n}\n\n#pragma mark - Store Ops\n\n- (void)storeImage:(nullable UIImage *)image\n            forKey:(nullable NSString *)key\n        completion:(nullable SDWebImageNoParamsBlock)completionBlock {\n    [self storeImage:image imageData:nil forKey:key toDisk:YES completion:completionBlock];\n}\n\n- (void)storeImage:(nullable UIImage *)image\n            forKey:(nullable NSString *)key\n            toDisk:(BOOL)toDisk\n        completion:(nullable SDWebImageNoParamsBlock)completionBlock {\n    [self storeImage:image imageData:nil forKey:key toDisk:toDisk completion:completionBlock];\n}\n\n- (void)storeImage:(nullable UIImage *)image\n         imageData:(nullable NSData *)imageData\n            forKey:(nullable NSString *)key\n            toDisk:(BOOL)toDisk\n        completion:(nullable SDWebImageNoParamsBlock)completionBlock {\n    if (!image || !key) {\n        if (completionBlock) {\n            completionBlock();\n        }\n        return;\n    }\n    // if memory cache is enabled\n    if (self.config.shouldCacheImagesInMemory) {\n        NSUInteger cost = SDCacheCostForImage(image);\n        [self.memCache setObject:image forKey:key cost:cost];\n    }\n    \n    if (toDisk) {\n        dispatch_async(self.ioQueue, ^{\n            @autoreleasepool {\n                NSData *data = imageData;\n                if (!data && image) {\n                    // If we do not have any data to detect image format, check whether it contains alpha channel to use PNG or JPEG format\n                    SDImageFormat format;\n                    if (SDCGImageRefContainsAlpha(image.CGImage)) {\n                        format = SDImageFormatPNG;\n                    } else {\n                        format = SDImageFormatJPEG;\n                    }\n                    data = [[SDWebImageCodersManager sharedInstance] encodedDataWithImage:image format:format];\n                }\n                [self _storeImageDataToDisk:data forKey:key];\n            }\n            \n            if (completionBlock) {\n                dispatch_async(dispatch_get_main_queue(), ^{\n                    completionBlock();\n                });\n            }\n        });\n    } else {\n        if (completionBlock) {\n            completionBlock();\n        }\n    }\n}\n\n- (void)storeImageDataToDisk:(nullable NSData *)imageData forKey:(nullable NSString *)key {\n    if (!imageData || !key) {\n        return;\n    }\n    dispatch_sync(self.ioQueue, ^{\n        [self _storeImageDataToDisk:imageData forKey:key];\n    });\n}\n\n// Make sure to call form io queue by caller\n- (void)_storeImageDataToDisk:(nullable NSData *)imageData forKey:(nullable NSString *)key {\n    if (!imageData || !key) {\n        return;\n    }\n    \n    if (![self.fileManager fileExistsAtPath:_diskCachePath]) {\n        [self.fileManager createDirectoryAtPath:_diskCachePath withIntermediateDirectories:YES attributes:nil error:NULL];\n    }\n    \n    // get cache Path for image key\n    NSString *cachePathForKey = [self defaultCachePathForKey:key];\n    // transform to NSUrl\n    NSURL *fileURL = [NSURL fileURLWithPath:cachePathForKey];\n    \n    [imageData writeToURL:fileURL options:self.config.diskCacheWritingOptions error:nil];\n    \n    // disable iCloud backup\n    if (self.config.shouldDisableiCloud) {\n        [fileURL setResourceValue:@YES forKey:NSURLIsExcludedFromBackupKey error:nil];\n    }\n}\n\n#pragma mark - Query and Retrieve Ops\n\n- (void)diskImageExistsWithKey:(nullable NSString *)key completion:(nullable SDWebImageCheckCacheCompletionBlock)completionBlock {\n    dispatch_async(self.ioQueue, ^{\n        BOOL exists = [self _diskImageDataExistsWithKey:key];\n        if (completionBlock) {\n            dispatch_async(dispatch_get_main_queue(), ^{\n                completionBlock(exists);\n            });\n        }\n    });\n}\n\n- (BOOL)diskImageDataExistsWithKey:(nullable NSString *)key {\n    if (!key) {\n        return NO;\n    }\n    __block BOOL exists = NO;\n    dispatch_sync(self.ioQueue, ^{\n        exists = [self _diskImageDataExistsWithKey:key];\n    });\n    \n    return exists;\n}\n\n// Make sure to call form io queue by caller\n- (BOOL)_diskImageDataExistsWithKey:(nullable NSString *)key {\n    if (!key) {\n        return NO;\n    }\n    BOOL exists = [self.fileManager fileExistsAtPath:[self defaultCachePathForKey:key]];\n    \n    // fallback because of https://github.com/rs/SDWebImage/pull/976 that added the extension to the disk file name\n    // checking the key with and without the extension\n    if (!exists) {\n        exists = [self.fileManager fileExistsAtPath:[self defaultCachePathForKey:key].stringByDeletingPathExtension];\n    }\n    \n    return exists;\n}\n\n- (nullable NSData *)diskImageDataForKey:(nullable NSString *)key {\n    if (!key) {\n        return nil;\n    }\n    __block NSData *imageData = nil;\n    dispatch_sync(self.ioQueue, ^{\n        imageData = [self diskImageDataBySearchingAllPathsForKey:key];\n    });\n    \n    return imageData;\n}\n\n- (nullable UIImage *)imageFromMemoryCacheForKey:(nullable NSString *)key {\n    return [self.memCache objectForKey:key];\n}\n\n- (nullable UIImage *)imageFromDiskCacheForKey:(nullable NSString *)key {\n    UIImage *diskImage = [self diskImageForKey:key];\n    if (diskImage && self.config.shouldCacheImagesInMemory) {\n        NSUInteger cost = SDCacheCostForImage(diskImage);\n        [self.memCache setObject:diskImage forKey:key cost:cost];\n    }\n\n    return diskImage;\n}\n\n- (nullable UIImage *)imageFromCacheForKey:(nullable NSString *)key {\n    // First check the in-memory cache...\n    UIImage *image = [self imageFromMemoryCacheForKey:key];\n    if (image) {\n        return image;\n    }\n    \n    // Second check the disk cache...\n    image = [self imageFromDiskCacheForKey:key];\n    return image;\n}\n\n- (nullable NSData *)diskImageDataBySearchingAllPathsForKey:(nullable NSString *)key {\n    NSString *defaultPath = [self defaultCachePathForKey:key];\n    NSData *data = [NSData dataWithContentsOfFile:defaultPath options:self.config.diskCacheReadingOptions error:nil];\n    if (data) {\n        return data;\n    }\n\n    // fallback because of https://github.com/rs/SDWebImage/pull/976 that added the extension to the disk file name\n    // checking the key with and without the extension\n    data = [NSData dataWithContentsOfFile:defaultPath.stringByDeletingPathExtension options:self.config.diskCacheReadingOptions error:nil];\n    if (data) {\n        return data;\n    }\n\n    NSArray<NSString *> *customPaths = [self.customPaths copy];\n    for (NSString *path in customPaths) {\n        NSString *filePath = [self cachePathForKey:key inPath:path];\n        NSData *imageData = [NSData dataWithContentsOfFile:filePath options:self.config.diskCacheReadingOptions error:nil];\n        if (imageData) {\n            return imageData;\n        }\n\n        // fallback because of https://github.com/rs/SDWebImage/pull/976 that added the extension to the disk file name\n        // checking the key with and without the extension\n        imageData = [NSData dataWithContentsOfFile:filePath.stringByDeletingPathExtension options:self.config.diskCacheReadingOptions error:nil];\n        if (imageData) {\n            return imageData;\n        }\n    }\n\n    return nil;\n}\n\n- (nullable UIImage *)diskImageForKey:(nullable NSString *)key {\n    NSData *data = [self diskImageDataForKey:key];\n    return [self diskImageForKey:key data:data];\n}\n\n- (nullable UIImage *)diskImageForKey:(nullable NSString *)key data:(nullable NSData *)data {\n    return [self diskImageForKey:key data:data options:0];\n}\n\n- (nullable UIImage *)diskImageForKey:(nullable NSString *)key data:(nullable NSData *)data options:(SDImageCacheOptions)options {\n    if (data) {\n        UIImage *image = [[SDWebImageCodersManager sharedInstance] decodedImageWithData:data];\n        image = [self scaledImageForKey:key image:image];\n        if (self.config.shouldDecompressImages) {\n            BOOL shouldScaleDown = options & SDImageCacheScaleDownLargeImages;\n            image = [[SDWebImageCodersManager sharedInstance] decompressedImageWithImage:image data:&data options:@{SDWebImageCoderScaleDownLargeImagesKey: @(shouldScaleDown)}];\n        }\n        return image;\n    } else {\n        return nil;\n    }\n}\n\n- (nullable UIImage *)scaledImageForKey:(nullable NSString *)key image:(nullable UIImage *)image {\n    return SDScaledImageForKey(key, image);\n}\n\n- (NSOperation *)queryCacheOperationForKey:(NSString *)key done:(SDCacheQueryCompletedBlock)doneBlock {\n    return [self queryCacheOperationForKey:key options:0 done:doneBlock];\n}\n\n- (nullable NSOperation *)queryCacheOperationForKey:(nullable NSString *)key options:(SDImageCacheOptions)options done:(nullable SDCacheQueryCompletedBlock)doneBlock {\n    if (!key) {\n        if (doneBlock) {\n            doneBlock(nil, nil, SDImageCacheTypeNone);\n        }\n        return nil;\n    }\n    \n    // First check the in-memory cache...\n    UIImage *image = [self imageFromMemoryCacheForKey:key];\n    BOOL shouldQueryMemoryOnly = (image && !(options & SDImageCacheQueryDataWhenInMemory));\n    if (shouldQueryMemoryOnly) {\n        if (doneBlock) {\n            doneBlock(image, nil, SDImageCacheTypeMemory);\n        }\n        return nil;\n    }\n    \n    NSOperation *operation = [NSOperation new];\n    void(^queryDiskBlock)(void) =  ^{\n        if (operation.isCancelled) {\n            // do not call the completion if cancelled\n            return;\n        }\n        \n        @autoreleasepool {\n            NSData *diskData = [self diskImageDataBySearchingAllPathsForKey:key];\n            UIImage *diskImage;\n            SDImageCacheType cacheType = SDImageCacheTypeDisk;\n            if (image) {\n                // the image is from in-memory cache\n                diskImage = image;\n                cacheType = SDImageCacheTypeMemory;\n            } else if (diskData) {\n                // decode image data only if in-memory cache missed\n                diskImage = [self diskImageForKey:key data:diskData options:options];\n                if (diskImage && self.config.shouldCacheImagesInMemory) {\n                    NSUInteger cost = SDCacheCostForImage(diskImage);\n                    [self.memCache setObject:diskImage forKey:key cost:cost];\n                }\n            }\n            \n            if (doneBlock) {\n                if (options & SDImageCacheQueryDiskSync) {\n                    doneBlock(diskImage, diskData, cacheType);\n                } else {\n                    dispatch_async(dispatch_get_main_queue(), ^{\n                        doneBlock(diskImage, diskData, cacheType);\n                    });\n                }\n            }\n        }\n    };\n    \n    if (options & SDImageCacheQueryDiskSync) {\n        queryDiskBlock();\n    } else {\n        dispatch_async(self.ioQueue, queryDiskBlock);\n    }\n    \n    return operation;\n}\n\n#pragma mark - Remove Ops\n\n- (void)removeImageForKey:(nullable NSString *)key withCompletion:(nullable SDWebImageNoParamsBlock)completion {\n    [self removeImageForKey:key fromDisk:YES withCompletion:completion];\n}\n\n- (void)removeImageForKey:(nullable NSString *)key fromDisk:(BOOL)fromDisk withCompletion:(nullable SDWebImageNoParamsBlock)completion {\n    if (key == nil) {\n        return;\n    }\n\n    if (self.config.shouldCacheImagesInMemory) {\n        [self.memCache removeObjectForKey:key];\n    }\n\n    if (fromDisk) {\n        dispatch_async(self.ioQueue, ^{\n            [self.fileManager removeItemAtPath:[self defaultCachePathForKey:key] error:nil];\n            \n            if (completion) {\n                dispatch_async(dispatch_get_main_queue(), ^{\n                    completion();\n                });\n            }\n        });\n    } else if (completion){\n        completion();\n    }\n    \n}\n\n# pragma mark - Mem Cache settings\n\n- (void)setMaxMemoryCost:(NSUInteger)maxMemoryCost {\n    self.memCache.totalCostLimit = maxMemoryCost;\n}\n\n- (NSUInteger)maxMemoryCost {\n    return self.memCache.totalCostLimit;\n}\n\n- (NSUInteger)maxMemoryCountLimit {\n    return self.memCache.countLimit;\n}\n\n- (void)setMaxMemoryCountLimit:(NSUInteger)maxCountLimit {\n    self.memCache.countLimit = maxCountLimit;\n}\n\n#pragma mark - Cache clean Ops\n\n- (void)clearMemory {\n    [self.memCache removeAllObjects];\n}\n\n- (void)clearDiskOnCompletion:(nullable SDWebImageNoParamsBlock)completion {\n    dispatch_async(self.ioQueue, ^{\n        [self.fileManager removeItemAtPath:self.diskCachePath error:nil];\n        [self.fileManager createDirectoryAtPath:self.diskCachePath\n                withIntermediateDirectories:YES\n                                 attributes:nil\n                                      error:NULL];\n\n        if (completion) {\n            dispatch_async(dispatch_get_main_queue(), ^{\n                completion();\n            });\n        }\n    });\n}\n\n- (void)deleteOldFiles {\n    [self deleteOldFilesWithCompletionBlock:nil];\n}\n\n- (void)deleteOldFilesWithCompletionBlock:(nullable SDWebImageNoParamsBlock)completionBlock {\n    dispatch_async(self.ioQueue, ^{\n        NSURL *diskCacheURL = [NSURL fileURLWithPath:self.diskCachePath isDirectory:YES];\n\n        // Compute content date key to be used for tests\n        NSURLResourceKey cacheContentDateKey = NSURLContentModificationDateKey;\n        switch (self.config.diskCacheExpireType) {\n            case SDImageCacheConfigExpireTypeAccessDate:\n                cacheContentDateKey = NSURLContentAccessDateKey;\n                break;\n\n            case SDImageCacheConfigExpireTypeModificationDate:\n                cacheContentDateKey = NSURLContentModificationDateKey;\n                break;\n\n            default:\n                break;\n        }\n        \n        NSArray<NSString *> *resourceKeys = @[NSURLIsDirectoryKey, cacheContentDateKey, NSURLTotalFileAllocatedSizeKey];\n\n        // This enumerator prefetches useful properties for our cache files.\n        NSDirectoryEnumerator *fileEnumerator = [self.fileManager enumeratorAtURL:diskCacheURL\n                                                   includingPropertiesForKeys:resourceKeys\n                                                                      options:NSDirectoryEnumerationSkipsHiddenFiles\n                                                                 errorHandler:NULL];\n\n        NSDate *expirationDate = [NSDate dateWithTimeIntervalSinceNow:-self.config.maxCacheAge];\n        NSMutableDictionary<NSURL *, NSDictionary<NSString *, id> *> *cacheFiles = [NSMutableDictionary dictionary];\n        NSUInteger currentCacheSize = 0;\n\n        // Enumerate all of the files in the cache directory.  This loop has two purposes:\n        //\n        //  1. Removing files that are older than the expiration date.\n        //  2. Storing file attributes for the size-based cleanup pass.\n        NSMutableArray<NSURL *> *urlsToDelete = [[NSMutableArray alloc] init];\n        for (NSURL *fileURL in fileEnumerator) {\n            NSError *error;\n            NSDictionary<NSString *, id> *resourceValues = [fileURL resourceValuesForKeys:resourceKeys error:&error];\n\n            // Skip directories and errors.\n            if (error || !resourceValues || [resourceValues[NSURLIsDirectoryKey] boolValue]) {\n                continue;\n            }\n\n            // Remove files that are older than the expiration date;\n            NSDate *modifiedDate = resourceValues[cacheContentDateKey];\n            if ([[modifiedDate laterDate:expirationDate] isEqualToDate:expirationDate]) {\n                [urlsToDelete addObject:fileURL];\n                continue;\n            }\n            \n            // Store a reference to this file and account for its total size.\n            NSNumber *totalAllocatedSize = resourceValues[NSURLTotalFileAllocatedSizeKey];\n            currentCacheSize += totalAllocatedSize.unsignedIntegerValue;\n            cacheFiles[fileURL] = resourceValues;\n        }\n        \n        for (NSURL *fileURL in urlsToDelete) {\n            [self.fileManager removeItemAtURL:fileURL error:nil];\n        }\n\n        // If our remaining disk cache exceeds a configured maximum size, perform a second\n        // size-based cleanup pass.  We delete the oldest files first.\n        if (self.config.maxCacheSize > 0 && currentCacheSize > self.config.maxCacheSize) {\n            // Target half of our maximum cache size for this cleanup pass.\n            const NSUInteger desiredCacheSize = self.config.maxCacheSize / 2;\n\n            // Sort the remaining cache files by their last modification time (oldest first).\n            NSArray<NSURL *> *sortedFiles = [cacheFiles keysSortedByValueWithOptions:NSSortConcurrent\n                                                                     usingComparator:^NSComparisonResult(id obj1, id obj2) {\n                                                                         return [obj1[NSURLContentModificationDateKey] compare:obj2[NSURLContentModificationDateKey]];\n                                                                     }];\n\n            // Delete files until we fall below our desired cache size.\n            for (NSURL *fileURL in sortedFiles) {\n                if ([self.fileManager removeItemAtURL:fileURL error:nil]) {\n                    NSDictionary<NSString *, id> *resourceValues = cacheFiles[fileURL];\n                    NSNumber *totalAllocatedSize = resourceValues[NSURLTotalFileAllocatedSizeKey];\n                    currentCacheSize -= totalAllocatedSize.unsignedIntegerValue;\n\n                    if (currentCacheSize < desiredCacheSize) {\n                        break;\n                    }\n                }\n            }\n        }\n        if (completionBlock) {\n            dispatch_async(dispatch_get_main_queue(), ^{\n                completionBlock();\n            });\n        }\n    });\n}\n\n#if SD_UIKIT\n- (void)backgroundDeleteOldFiles {\n    Class UIApplicationClass = NSClassFromString(@\"UIApplication\");\n    if(!UIApplicationClass || ![UIApplicationClass respondsToSelector:@selector(sharedApplication)]) {\n        return;\n    }\n    UIApplication *application = [UIApplication performSelector:@selector(sharedApplication)];\n    __block UIBackgroundTaskIdentifier bgTask = [application beginBackgroundTaskWithExpirationHandler:^{\n        // Clean up any unfinished task business by marking where you\n        // stopped or ending the task outright.\n        [application endBackgroundTask:bgTask];\n        bgTask = UIBackgroundTaskInvalid;\n    }];\n\n    // Start the long-running task and return immediately.\n    [self deleteOldFilesWithCompletionBlock:^{\n        [application endBackgroundTask:bgTask];\n        bgTask = UIBackgroundTaskInvalid;\n    }];\n}\n#endif\n\n#pragma mark - Cache Info\n\n- (NSUInteger)getSize {\n    __block NSUInteger size = 0;\n    dispatch_sync(self.ioQueue, ^{\n        NSDirectoryEnumerator *fileEnumerator = [self.fileManager enumeratorAtPath:self.diskCachePath];\n        for (NSString *fileName in fileEnumerator) {\n            NSString *filePath = [self.diskCachePath stringByAppendingPathComponent:fileName];\n            NSDictionary<NSString *, id> *attrs = [self.fileManager attributesOfItemAtPath:filePath error:nil];\n            size += [attrs fileSize];\n        }\n    });\n    return size;\n}\n\n- (NSUInteger)getDiskCount {\n    __block NSUInteger count = 0;\n    dispatch_sync(self.ioQueue, ^{\n        NSDirectoryEnumerator *fileEnumerator = [self.fileManager enumeratorAtPath:self.diskCachePath];\n        count = fileEnumerator.allObjects.count;\n    });\n    return count;\n}\n\n- (void)calculateSizeWithCompletionBlock:(nullable SDWebImageCalculateSizeBlock)completionBlock {\n    NSURL *diskCacheURL = [NSURL fileURLWithPath:self.diskCachePath isDirectory:YES];\n\n    dispatch_async(self.ioQueue, ^{\n        NSUInteger fileCount = 0;\n        NSUInteger totalSize = 0;\n\n        NSDirectoryEnumerator *fileEnumerator = [self.fileManager enumeratorAtURL:diskCacheURL\n                                                   includingPropertiesForKeys:@[NSFileSize]\n                                                                      options:NSDirectoryEnumerationSkipsHiddenFiles\n                                                                 errorHandler:NULL];\n\n        for (NSURL *fileURL in fileEnumerator) {\n            NSNumber *fileSize;\n            [fileURL getResourceValue:&fileSize forKey:NSURLFileSizeKey error:NULL];\n            totalSize += fileSize.unsignedIntegerValue;\n            fileCount += 1;\n        }\n\n        if (completionBlock) {\n            dispatch_async(dispatch_get_main_queue(), ^{\n                completionBlock(fileCount, totalSize);\n            });\n        }\n    });\n}\n\n@end\n\n"
  },
  {
    "path": "CKMeiTuanShopView/Pods/SDWebImage/SDWebImage/SDImageCacheConfig.h",
    "content": "/*\n * This file is part of the SDWebImage package.\n * (c) Olivier Poitrey <rs@dailymotion.com>\n *\n * For the full copyright and license information, please view the LICENSE\n * file that was distributed with this source code.\n */\n\n#import <Foundation/Foundation.h>\n#import \"SDWebImageCompat.h\"\n\ntypedef NS_ENUM(NSUInteger, SDImageCacheConfigExpireType) {\n    /**\n     * When the image is accessed it will update this value\n     */\n    SDImageCacheConfigExpireTypeAccessDate,\n    /**\n     * The image was obtained from the disk cache (Default)\n     */\n    SDImageCacheConfigExpireTypeModificationDate\n};\n\n@interface SDImageCacheConfig : NSObject\n\n/**\n * Decompressing images that are downloaded and cached can improve performance but can consume lot of memory.\n * Defaults to YES. Set this to NO if you are experiencing a crash due to excessive memory consumption.\n */\n@property (assign, nonatomic) BOOL shouldDecompressImages;\n\n/**\n * Whether or not to disable iCloud backup\n * Defaults to YES.\n */\n@property (assign, nonatomic) BOOL shouldDisableiCloud;\n\n/**\n * Whether or not to use memory cache\n * @note When the memory cache is disabled, the weak memory cache will also be disabled.\n * Defaults to YES.\n */\n@property (assign, nonatomic) BOOL shouldCacheImagesInMemory;\n\n/**\n * The option to control weak memory cache for images. When enable, `SDImageCache`'s memory cache will use a weak maptable to store the image at the same time when it stored to memory, and get removed at the same time.\n * However when memory warning is triggered, since the weak maptable does not hold a strong reference to image instacnce, even when the memory cache itself is purged, some images which are held strongly by UIImageViews or other live instances can be recovered again, to avoid later re-query from disk cache or network. This may be helpful for the case, for example, when app enter background and memory is purged, cause cell flashing after re-enter foreground.\n * Defautls to YES. You can change this option dynamically.\n */\n@property (assign, nonatomic) BOOL shouldUseWeakMemoryCache;\n\n/**\n * The reading options while reading cache from disk.\n * Defaults to 0. You can set this to `NSDataReadingMappedIfSafe` to improve performance.\n */\n@property (assign, nonatomic) NSDataReadingOptions diskCacheReadingOptions;\n\n/**\n * The writing options while writing cache to disk.\n * Defaults to `NSDataWritingAtomic`. You can set this to `NSDataWritingWithoutOverwriting` to prevent overwriting an existing file.\n */\n@property (assign, nonatomic) NSDataWritingOptions diskCacheWritingOptions;\n\n/**\n * The maximum length of time to keep an image in the cache, in seconds.\n */\n@property (assign, nonatomic) NSInteger maxCacheAge;\n\n/**\n * The maximum size of the cache, in bytes.\n */\n@property (assign, nonatomic) NSUInteger maxCacheSize;\n\n/**\n * The attribute which the clear cache will be checked against when clearing the disk cache\n * Default is Modified Date\n */\n@property (assign, nonatomic) SDImageCacheConfigExpireType diskCacheExpireType;\n\n@end\n"
  },
  {
    "path": "CKMeiTuanShopView/Pods/SDWebImage/SDWebImage/SDImageCacheConfig.m",
    "content": "/*\n * This file is part of the SDWebImage package.\n * (c) Olivier Poitrey <rs@dailymotion.com>\n *\n * For the full copyright and license information, please view the LICENSE\n * file that was distributed with this source code.\n */\n\n#import \"SDImageCacheConfig.h\"\n\nstatic const NSInteger kDefaultCacheMaxCacheAge = 60 * 60 * 24 * 7; // 1 week\n\n@implementation SDImageCacheConfig\n\n- (instancetype)init {\n    if (self = [super init]) {\n        _shouldDecompressImages = YES;\n        _shouldDisableiCloud = YES;\n        _shouldCacheImagesInMemory = YES;\n        _shouldUseWeakMemoryCache = YES;\n        _diskCacheReadingOptions = 0;\n        _diskCacheWritingOptions = NSDataWritingAtomic;\n        _maxCacheAge = kDefaultCacheMaxCacheAge;\n        _maxCacheSize = 0;\n        _diskCacheExpireType = SDImageCacheConfigExpireTypeModificationDate;\n    }\n    return self;\n}\n\n@end\n"
  },
  {
    "path": "CKMeiTuanShopView/Pods/SDWebImage/SDWebImage/SDWebImageCoder.h",
    "content": "/*\n * This file is part of the SDWebImage package.\n * (c) Olivier Poitrey <rs@dailymotion.com>\n *\n * For the full copyright and license information, please view the LICENSE\n * file that was distributed with this source code.\n */\n\n#import <Foundation/Foundation.h>\n#import \"SDWebImageCompat.h\"\n#import \"NSData+ImageContentType.h\"\n\n/**\n A Boolean value indicating whether to scale down large images during decompressing. (NSNumber)\n */\nFOUNDATION_EXPORT NSString * _Nonnull const SDWebImageCoderScaleDownLargeImagesKey;\n\n/**\n Return the shared device-dependent RGB color space created with CGColorSpaceCreateDeviceRGB.\n\n @return The device-dependent RGB color space\n */\nCG_EXTERN CGColorSpaceRef _Nonnull SDCGColorSpaceGetDeviceRGB(void);\n\n/**\n Check whether CGImageRef contains alpha channel.\n\n @param imageRef The CGImageRef\n @return Return YES if CGImageRef contains alpha channel, otherwise return NO\n */\nCG_EXTERN BOOL SDCGImageRefContainsAlpha(_Nullable CGImageRef imageRef);\n\n\n/**\n This is the image coder protocol to provide custom image decoding/encoding.\n These methods are all required to implement.\n @note Pay attention that these methods are not called from main queue.\n */\n@protocol SDWebImageCoder <NSObject>\n\n@required\n#pragma mark - Decoding\n/**\n Returns YES if this coder can decode some data. Otherwise, the data should be passed to another coder.\n \n @param data The image data so we can look at it\n @return YES if this coder can decode the data, NO otherwise\n */\n- (BOOL)canDecodeFromData:(nullable NSData *)data;\n\n/**\n Decode the image data to image.\n\n @param data The image data to be decoded\n @return The decoded image from data\n */\n- (nullable UIImage *)decodedImageWithData:(nullable NSData *)data;\n\n/**\n Decompress the image with original image and image data.\n\n @param image The original image to be decompressed\n @param data The pointer to original image data. The pointer itself is nonnull but image data can be null. This data will set to cache if needed. If you do not need to modify data at the sametime, ignore this param.\n @param optionsDict A dictionary containing any decompressing options. Pass {SDWebImageCoderScaleDownLargeImagesKey: @(YES)} to scale down large images\n @return The decompressed image\n */\n- (nullable UIImage *)decompressedImageWithImage:(nullable UIImage *)image\n                                            data:(NSData * _Nullable * _Nonnull)data\n                                         options:(nullable NSDictionary<NSString*, NSObject*>*)optionsDict;\n\n#pragma mark - Encoding\n\n/**\n Returns YES if this coder can encode some image. Otherwise, it should be passed to another coder.\n \n @param format The image format\n @return YES if this coder can encode the image, NO otherwise\n */\n- (BOOL)canEncodeToFormat:(SDImageFormat)format;\n\n/**\n Encode the image to image data.\n\n @param image The image to be encoded\n @param format The image format to encode, you should note `SDImageFormatUndefined` format is also  possible\n @return The encoded image data\n */\n- (nullable NSData *)encodedDataWithImage:(nullable UIImage *)image format:(SDImageFormat)format;\n\n@end\n\n\n/**\n This is the image coder protocol to provide custom progressive image decoding.\n These methods are all required to implement.\n @note Pay attention that these methods are not called from main queue.\n */\n@protocol SDWebImageProgressiveCoder <SDWebImageCoder>\n\n@required\n/**\n Returns YES if this coder can incremental decode some data. Otherwise, it should be passed to another coder.\n \n @param data The image data so we can look at it\n @return YES if this coder can decode the data, NO otherwise\n */\n- (BOOL)canIncrementallyDecodeFromData:(nullable NSData *)data;\n\n/**\n Incremental decode the image data to image.\n \n @param data The image data has been downloaded so far\n @param finished Whether the download has finished\n @warning because incremental decoding need to keep the decoded context, we will alloc a new instance with the same class for each download operation to avoid conflicts\n @return The decoded image from data\n */\n- (nullable UIImage *)incrementallyDecodedImageWithData:(nullable NSData *)data finished:(BOOL)finished;\n\n@end\n"
  },
  {
    "path": "CKMeiTuanShopView/Pods/SDWebImage/SDWebImage/SDWebImageCoder.m",
    "content": "/*\n * This file is part of the SDWebImage package.\n * (c) Olivier Poitrey <rs@dailymotion.com>\n *\n * For the full copyright and license information, please view the LICENSE\n * file that was distributed with this source code.\n */\n\n#import \"SDWebImageCoder.h\"\n\nNSString * const SDWebImageCoderScaleDownLargeImagesKey = @\"scaleDownLargeImages\";\n\nCGColorSpaceRef SDCGColorSpaceGetDeviceRGB(void) {\n    static CGColorSpaceRef colorSpace;\n    static dispatch_once_t onceToken;\n    dispatch_once(&onceToken, ^{\n        colorSpace = CGColorSpaceCreateDeviceRGB();\n    });\n    return colorSpace;\n}\n\nBOOL SDCGImageRefContainsAlpha(CGImageRef imageRef) {\n    if (!imageRef) {\n        return NO;\n    }\n    CGImageAlphaInfo alphaInfo = CGImageGetAlphaInfo(imageRef);\n    BOOL hasAlpha = !(alphaInfo == kCGImageAlphaNone ||\n                      alphaInfo == kCGImageAlphaNoneSkipFirst ||\n                      alphaInfo == kCGImageAlphaNoneSkipLast);\n    return hasAlpha;\n}\n"
  },
  {
    "path": "CKMeiTuanShopView/Pods/SDWebImage/SDWebImage/SDWebImageCoderHelper.h",
    "content": "/*\n * This file is part of the SDWebImage package.\n * (c) Olivier Poitrey <rs@dailymotion.com>\n *\n * For the full copyright and license information, please view the LICENSE\n * file that was distributed with this source code.\n */\n\n#import <Foundation/Foundation.h>\n#import \"SDWebImageCompat.h\"\n#import \"SDWebImageFrame.h\"\n\n@interface SDWebImageCoderHelper : NSObject\n\n/**\n Return an animated image with frames array.\n For UIKit, this will apply the patch and then create animated UIImage. The patch is because that `+[UIImage animatedImageWithImages:duration:]` just use the average of duration for each image. So it will not work if different frame has different duration. Therefore we repeat the specify frame for specify times to let it work.\n For AppKit, NSImage does not support animates other than GIF. This will try to encode the frames to GIF format and then create an animated NSImage for rendering. Attention the animated image may loss some detail if the input frames contain full alpha channel because GIF only supports 1 bit alpha channel. (For 1 pixel, either transparent or not)\n\n @param frames The frames array. If no frames or frames is empty, return nil\n @return A animated image for rendering on UIImageView(UIKit) or NSImageView(AppKit)\n */\n+ (UIImage * _Nullable)animatedImageWithFrames:(NSArray<SDWebImageFrame *> * _Nullable)frames;\n\n/**\n Return frames array from an animated image.\n For UIKit, this will unapply the patch for the description above and then create frames array. This will also work for normal animated UIImage.\n For AppKit, NSImage does not support animates other than GIF. This will try to decode the GIF imageRep and then create frames array.\n\n @param animatedImage A animated image. If it's not animated, return nil\n @return The frames array\n */\n+ (NSArray<SDWebImageFrame *> * _Nullable)framesFromAnimatedImage:(UIImage * _Nullable)animatedImage;\n\n#if SD_UIKIT || SD_WATCH\n/**\n Convert an EXIF image orientation to an iOS one.\n\n @param exifOrientation EXIF orientation\n @return iOS orientation\n */\n+ (UIImageOrientation)imageOrientationFromEXIFOrientation:(NSInteger)exifOrientation;\n/**\n Convert an iOS orientation to an EXIF image orientation.\n\n @param imageOrientation iOS orientation\n @return EXIF orientation\n */\n+ (NSInteger)exifOrientationFromImageOrientation:(UIImageOrientation)imageOrientation;\n#endif\n\n@end\n"
  },
  {
    "path": "CKMeiTuanShopView/Pods/SDWebImage/SDWebImage/SDWebImageCoderHelper.m",
    "content": "/*\n * This file is part of the SDWebImage package.\n * (c) Olivier Poitrey <rs@dailymotion.com>\n *\n * For the full copyright and license information, please view the LICENSE\n * file that was distributed with this source code.\n */\n\n#import \"SDWebImageCoderHelper.h\"\n#import \"SDWebImageFrame.h\"\n#import \"UIImage+MultiFormat.h\"\n#import \"NSImage+WebCache.h\"\n#import <ImageIO/ImageIO.h>\n#import \"SDAnimatedImageRep.h\"\n\n@implementation SDWebImageCoderHelper\n\n+ (UIImage *)animatedImageWithFrames:(NSArray<SDWebImageFrame *> *)frames {\n    NSUInteger frameCount = frames.count;\n    if (frameCount == 0) {\n        return nil;\n    }\n    \n    UIImage *animatedImage;\n    \n#if SD_UIKIT || SD_WATCH\n    NSUInteger durations[frameCount];\n    for (size_t i = 0; i < frameCount; i++) {\n        durations[i] = frames[i].duration * 1000;\n    }\n    NSUInteger const gcd = gcdArray(frameCount, durations);\n    __block NSUInteger totalDuration = 0;\n    NSMutableArray<UIImage *> *animatedImages = [NSMutableArray arrayWithCapacity:frameCount];\n    [frames enumerateObjectsUsingBlock:^(SDWebImageFrame * _Nonnull frame, NSUInteger idx, BOOL * _Nonnull stop) {\n        UIImage *image = frame.image;\n        NSUInteger duration = frame.duration * 1000;\n        totalDuration += duration;\n        NSUInteger repeatCount;\n        if (gcd) {\n            repeatCount = duration / gcd;\n        } else {\n            repeatCount = 1;\n        }\n        for (size_t i = 0; i < repeatCount; ++i) {\n            [animatedImages addObject:image];\n        }\n    }];\n    \n    animatedImage = [UIImage animatedImageWithImages:animatedImages duration:totalDuration / 1000.f];\n    \n#else\n    \n    NSMutableData *imageData = [NSMutableData data];\n    CFStringRef imageUTType = [NSData sd_UTTypeFromSDImageFormat:SDImageFormatGIF];\n    // Create an image destination. GIF does not support EXIF image orientation\n    CGImageDestinationRef imageDestination = CGImageDestinationCreateWithData((__bridge CFMutableDataRef)imageData, imageUTType, frameCount, NULL);\n    if (!imageDestination) {\n        // Handle failure.\n        return nil;\n    }\n    \n    for (size_t i = 0; i < frameCount; i++) {\n        @autoreleasepool {\n            SDWebImageFrame *frame = frames[i];\n            float frameDuration = frame.duration;\n            CGImageRef frameImageRef = frame.image.CGImage;\n            NSDictionary *frameProperties = @{(__bridge NSString *)kCGImagePropertyGIFDictionary : @{(__bridge NSString *)kCGImagePropertyGIFDelayTime : @(frameDuration)}};\n            CGImageDestinationAddImage(imageDestination, frameImageRef, (__bridge CFDictionaryRef)frameProperties);\n        }\n    }\n    // Finalize the destination.\n    if (CGImageDestinationFinalize(imageDestination) == NO) {\n        // Handle failure.\n        CFRelease(imageDestination);\n        return nil;\n    }\n    CFRelease(imageDestination);\n    SDAnimatedImageRep *imageRep = [[SDAnimatedImageRep alloc] initWithData:imageData];\n    animatedImage = [[NSImage alloc] initWithSize:imageRep.size];\n    [animatedImage addRepresentation:imageRep];\n#endif\n    \n    return animatedImage;\n}\n\n+ (NSArray<SDWebImageFrame *> *)framesFromAnimatedImage:(UIImage *)animatedImage {\n    if (!animatedImage) {\n        return nil;\n    }\n    \n    NSMutableArray<SDWebImageFrame *> *frames = [NSMutableArray array];\n    NSUInteger frameCount = 0;\n    \n#if SD_UIKIT || SD_WATCH\n    NSArray<UIImage *> *animatedImages = animatedImage.images;\n    frameCount = animatedImages.count;\n    if (frameCount == 0) {\n        return nil;\n    }\n    \n    NSTimeInterval avgDuration = animatedImage.duration / frameCount;\n    if (avgDuration == 0) {\n        avgDuration = 0.1; // if it's a animated image but no duration, set it to default 100ms (this do not have that 10ms limit like GIF or WebP to allow custom coder provide the limit)\n    }\n    \n    __block NSUInteger index = 0;\n    __block NSUInteger repeatCount = 1;\n    __block UIImage *previousImage = animatedImages.firstObject;\n    [animatedImages enumerateObjectsUsingBlock:^(UIImage * _Nonnull image, NSUInteger idx, BOOL * _Nonnull stop) {\n        // ignore first\n        if (idx == 0) {\n            return;\n        }\n        if ([image isEqual:previousImage]) {\n            repeatCount++;\n        } else {\n            SDWebImageFrame *frame = [SDWebImageFrame frameWithImage:previousImage duration:avgDuration * repeatCount];\n            [frames addObject:frame];\n            repeatCount = 1;\n            index++;\n        }\n        previousImage = image;\n        // last one\n        if (idx == frameCount - 1) {\n            SDWebImageFrame *frame = [SDWebImageFrame frameWithImage:previousImage duration:avgDuration * repeatCount];\n            [frames addObject:frame];\n        }\n    }];\n    \n#else\n    \n    NSBitmapImageRep *bitmapRep;\n    for (NSImageRep *imageRep in animatedImage.representations) {\n        if ([imageRep isKindOfClass:[NSBitmapImageRep class]]) {\n            bitmapRep = (NSBitmapImageRep *)imageRep;\n            break;\n        }\n    }\n    if (bitmapRep) {\n        frameCount = [[bitmapRep valueForProperty:NSImageFrameCount] unsignedIntegerValue];\n    }\n    \n    if (frameCount == 0) {\n        return nil;\n    }\n    \n    for (size_t i = 0; i < frameCount; i++) {\n        @autoreleasepool {\n            // NSBitmapImageRep need to manually change frame. \"Good taste\" API\n            [bitmapRep setProperty:NSImageCurrentFrame withValue:@(i)];\n            float frameDuration = [[bitmapRep valueForProperty:NSImageCurrentFrameDuration] floatValue];\n            NSImage *frameImage = [[NSImage alloc] initWithCGImage:bitmapRep.CGImage size:CGSizeZero];\n            SDWebImageFrame *frame = [SDWebImageFrame frameWithImage:frameImage duration:frameDuration];\n            [frames addObject:frame];\n        }\n    }\n#endif\n    \n    return frames;\n}\n\n#if SD_UIKIT || SD_WATCH\n// Convert an EXIF image orientation to an iOS one.\n+ (UIImageOrientation)imageOrientationFromEXIFOrientation:(NSInteger)exifOrientation {\n    // CGImagePropertyOrientation is available on iOS 8 above. Currently kept for compatibility\n    UIImageOrientation imageOrientation = UIImageOrientationUp;\n    switch (exifOrientation) {\n        case 1:\n            imageOrientation = UIImageOrientationUp;\n            break;\n        case 3:\n            imageOrientation = UIImageOrientationDown;\n            break;\n        case 8:\n            imageOrientation = UIImageOrientationLeft;\n            break;\n        case 6:\n            imageOrientation = UIImageOrientationRight;\n            break;\n        case 2:\n            imageOrientation = UIImageOrientationUpMirrored;\n            break;\n        case 4:\n            imageOrientation = UIImageOrientationDownMirrored;\n            break;\n        case 5:\n            imageOrientation = UIImageOrientationLeftMirrored;\n            break;\n        case 7:\n            imageOrientation = UIImageOrientationRightMirrored;\n            break;\n        default:\n            break;\n    }\n    return imageOrientation;\n}\n\n// Convert an iOS orientation to an EXIF image orientation.\n+ (NSInteger)exifOrientationFromImageOrientation:(UIImageOrientation)imageOrientation {\n    // CGImagePropertyOrientation is available on iOS 8 above. Currently kept for compatibility\n    NSInteger exifOrientation = 1;\n    switch (imageOrientation) {\n        case UIImageOrientationUp:\n            exifOrientation = 1;\n            break;\n        case UIImageOrientationDown:\n            exifOrientation = 3;\n            break;\n        case UIImageOrientationLeft:\n            exifOrientation = 8;\n            break;\n        case UIImageOrientationRight:\n            exifOrientation = 6;\n            break;\n        case UIImageOrientationUpMirrored:\n            exifOrientation = 2;\n            break;\n        case UIImageOrientationDownMirrored:\n            exifOrientation = 4;\n            break;\n        case UIImageOrientationLeftMirrored:\n            exifOrientation = 5;\n            break;\n        case UIImageOrientationRightMirrored:\n            exifOrientation = 7;\n            break;\n        default:\n            break;\n    }\n    return exifOrientation;\n}\n#endif\n\n#pragma mark - Helper Fuction\n#if SD_UIKIT || SD_WATCH\nstatic NSUInteger gcd(NSUInteger a, NSUInteger b) {\n    NSUInteger c;\n    while (a != 0) {\n        c = a;\n        a = b % a;\n        b = c;\n    }\n    return b;\n}\n\nstatic NSUInteger gcdArray(size_t const count, NSUInteger const * const values) {\n    if (count == 0) {\n        return 0;\n    }\n    NSUInteger result = values[0];\n    for (size_t i = 1; i < count; ++i) {\n        result = gcd(values[i], result);\n    }\n    return result;\n}\n#endif\n\n@end\n"
  },
  {
    "path": "CKMeiTuanShopView/Pods/SDWebImage/SDWebImage/SDWebImageCodersManager.h",
    "content": "/*\n * This file is part of the SDWebImage package.\n * (c) Olivier Poitrey <rs@dailymotion.com>\n *\n * For the full copyright and license information, please view the LICENSE\n * file that was distributed with this source code.\n */\n\n#import <Foundation/Foundation.h>\n#import \"SDWebImageCoder.h\"\n\n/**\n Global object holding the array of coders, so that we avoid passing them from object to object.\n Uses a priority queue behind scenes, which means the latest added coders have the highest priority.\n This is done so when encoding/decoding something, we go through the list and ask each coder if they can handle the current data.\n That way, users can add their custom coders while preserving our existing prebuilt ones\n \n Note: the `coders` getter will return the coders in their reversed order\n Example:\n - by default we internally set coders = `IOCoder`, `WebPCoder`. (`GIFCoder` is not recommended to add only if you want to get GIF support without `FLAnimatedImage`)\n - calling `coders` will return `@[WebPCoder, IOCoder]`\n - call `[addCoder:[MyCrazyCoder new]]`\n - calling `coders` now returns `@[MyCrazyCoder, WebPCoder, IOCoder]`\n \n Coders\n ------\n A coder must conform to the `SDWebImageCoder` protocol or even to `SDWebImageProgressiveCoder` if it supports progressive decoding\n Conformance is important because that way, they will implement `canDecodeFromData` or `canEncodeToFormat`\n Those methods are called on each coder in the array (using the priority order) until one of them returns YES.\n That means that coder can decode that data / encode to that format\n */\n@interface SDWebImageCodersManager : NSObject<SDWebImageCoder>\n\n/**\n Shared reusable instance\n */\n+ (nonnull instancetype)sharedInstance;\n\n/**\n All coders in coders manager. The coders array is a priority queue, which means the later added coder will have the highest priority\n */\n@property (nonatomic, copy, readwrite, nullable) NSArray<id<SDWebImageCoder>> *coders;\n\n/**\n Add a new coder to the end of coders array. Which has the highest priority.\n\n @param coder coder\n */\n- (void)addCoder:(nonnull id<SDWebImageCoder>)coder;\n\n/**\n Remove a coder in the coders array.\n\n @param coder coder\n */\n- (void)removeCoder:(nonnull id<SDWebImageCoder>)coder;\n\n@end\n"
  },
  {
    "path": "CKMeiTuanShopView/Pods/SDWebImage/SDWebImage/SDWebImageCodersManager.m",
    "content": "/*\n * This file is part of the SDWebImage package.\n * (c) Olivier Poitrey <rs@dailymotion.com>\n *\n * For the full copyright and license information, please view the LICENSE\n * file that was distributed with this source code.\n */\n\n#import \"SDWebImageCodersManager.h\"\n#import \"SDWebImageImageIOCoder.h\"\n#import \"SDWebImageGIFCoder.h\"\n#ifdef SD_WEBP\n#import \"SDWebImageWebPCoder.h\"\n#endif\n#import \"UIImage+MultiFormat.h\"\n\n#define LOCK(lock) dispatch_semaphore_wait(lock, DISPATCH_TIME_FOREVER);\n#define UNLOCK(lock) dispatch_semaphore_signal(lock);\n\n@interface SDWebImageCodersManager ()\n\n@property (nonatomic, strong, nonnull) dispatch_semaphore_t codersLock;\n\n@end\n\n@implementation SDWebImageCodersManager\n\n+ (nonnull instancetype)sharedInstance {\n    static dispatch_once_t once;\n    static id instance;\n    dispatch_once(&once, ^{\n        instance = [self new];\n    });\n    return instance;\n}\n\n- (instancetype)init {\n    if (self = [super init]) {\n        // initialize with default coders\n        NSMutableArray<id<SDWebImageCoder>> *mutableCoders = [@[[SDWebImageImageIOCoder sharedCoder]] mutableCopy];\n#ifdef SD_WEBP\n        [mutableCoders addObject:[SDWebImageWebPCoder sharedCoder]];\n#endif\n        _coders = [mutableCoders copy];\n        _codersLock = dispatch_semaphore_create(1);\n    }\n    return self;\n}\n\n#pragma mark - Coder IO operations\n\n- (void)addCoder:(nonnull id<SDWebImageCoder>)coder {\n    if (![coder conformsToProtocol:@protocol(SDWebImageCoder)]) {\n        return;\n    }\n    LOCK(self.codersLock);\n    NSMutableArray<id<SDWebImageCoder>> *mutableCoders = [self.coders mutableCopy];\n    if (!mutableCoders) {\n        mutableCoders = [NSMutableArray array];\n    }\n    [mutableCoders addObject:coder];\n    self.coders = [mutableCoders copy];\n    UNLOCK(self.codersLock);\n}\n\n- (void)removeCoder:(nonnull id<SDWebImageCoder>)coder {\n    if (![coder conformsToProtocol:@protocol(SDWebImageCoder)]) {\n        return;\n    }\n    LOCK(self.codersLock);\n    NSMutableArray<id<SDWebImageCoder>> *mutableCoders = [self.coders mutableCopy];\n    [mutableCoders removeObject:coder];\n    self.coders = [mutableCoders copy];\n    UNLOCK(self.codersLock);\n}\n\n#pragma mark - SDWebImageCoder\n- (BOOL)canDecodeFromData:(NSData *)data {\n    LOCK(self.codersLock);\n    NSArray<id<SDWebImageCoder>> *coders = self.coders;\n    UNLOCK(self.codersLock);\n    for (id<SDWebImageCoder> coder in coders.reverseObjectEnumerator) {\n        if ([coder canDecodeFromData:data]) {\n            return YES;\n        }\n    }\n    return NO;\n}\n\n- (BOOL)canEncodeToFormat:(SDImageFormat)format {\n    LOCK(self.codersLock);\n    NSArray<id<SDWebImageCoder>> *coders = self.coders;\n    UNLOCK(self.codersLock);\n    for (id<SDWebImageCoder> coder in coders.reverseObjectEnumerator) {\n        if ([coder canEncodeToFormat:format]) {\n            return YES;\n        }\n    }\n    return NO;\n}\n\n- (UIImage *)decodedImageWithData:(NSData *)data {\n    LOCK(self.codersLock);\n    NSArray<id<SDWebImageCoder>> *coders = self.coders;\n    UNLOCK(self.codersLock);\n    for (id<SDWebImageCoder> coder in coders.reverseObjectEnumerator) {\n        if ([coder canDecodeFromData:data]) {\n            return [coder decodedImageWithData:data];\n        }\n    }\n    return nil;\n}\n\n- (UIImage *)decompressedImageWithImage:(UIImage *)image\n                                   data:(NSData *__autoreleasing  _Nullable *)data\n                                options:(nullable NSDictionary<NSString*, NSObject*>*)optionsDict {\n    if (!image) {\n        return nil;\n    }\n    LOCK(self.codersLock);\n    NSArray<id<SDWebImageCoder>> *coders = self.coders;\n    UNLOCK(self.codersLock);\n    for (id<SDWebImageCoder> coder in coders.reverseObjectEnumerator) {\n        if ([coder canDecodeFromData:*data]) {\n            UIImage *decompressedImage = [coder decompressedImageWithImage:image data:data options:optionsDict];\n            decompressedImage.sd_imageFormat = image.sd_imageFormat;\n            return decompressedImage;\n        }\n    }\n    return nil;\n}\n\n- (NSData *)encodedDataWithImage:(UIImage *)image format:(SDImageFormat)format {\n    if (!image) {\n        return nil;\n    }\n    LOCK(self.codersLock);\n    NSArray<id<SDWebImageCoder>> *coders = self.coders;\n    UNLOCK(self.codersLock);\n    for (id<SDWebImageCoder> coder in coders.reverseObjectEnumerator) {\n        if ([coder canEncodeToFormat:format]) {\n            return [coder encodedDataWithImage:image format:format];\n        }\n    }\n    return nil;\n}\n\n@end\n"
  },
  {
    "path": "CKMeiTuanShopView/Pods/SDWebImage/SDWebImage/SDWebImageCompat.h",
    "content": "/*\n * This file is part of the SDWebImage package.\n * (c) Olivier Poitrey <rs@dailymotion.com>\n * (c) Jamie Pinkham\n *\n * For the full copyright and license information, please view the LICENSE\n * file that was distributed with this source code.\n */\n\n#import <TargetConditionals.h>\n\n#ifdef __OBJC_GC__\n    #error SDWebImage does not support Objective-C Garbage Collection\n#endif\n\n// Apple's defines from TargetConditionals.h are a bit weird.\n// Seems like TARGET_OS_MAC is always defined (on all platforms).\n// To determine if we are running on OSX, we can only rely on TARGET_OS_IPHONE=0 and all the other platforms\n#if !TARGET_OS_IPHONE && !TARGET_OS_IOS && !TARGET_OS_TV && !TARGET_OS_WATCH\n    #define SD_MAC 1\n#else\n    #define SD_MAC 0\n#endif\n\n// iOS and tvOS are very similar, UIKit exists on both platforms\n// Note: watchOS also has UIKit, but it's very limited\n#if TARGET_OS_IOS || TARGET_OS_TV\n    #define SD_UIKIT 1\n#else\n    #define SD_UIKIT 0\n#endif\n\n#if TARGET_OS_IOS\n    #define SD_IOS 1\n#else\n    #define SD_IOS 0\n#endif\n\n#if TARGET_OS_TV\n    #define SD_TV 1\n#else\n    #define SD_TV 0\n#endif\n\n#if TARGET_OS_WATCH\n    #define SD_WATCH 1\n#else\n    #define SD_WATCH 0\n#endif\n\n\n#if SD_MAC\n    #import <AppKit/AppKit.h>\n    #ifndef UIImage\n        #define UIImage NSImage\n    #endif\n    #ifndef UIImageView\n        #define UIImageView NSImageView\n    #endif\n    #ifndef UIView\n        #define UIView NSView\n    #endif\n#else\n    #if __IPHONE_OS_VERSION_MIN_REQUIRED != 20000 && __IPHONE_OS_VERSION_MIN_REQUIRED < __IPHONE_5_0\n        #error SDWebImage doesn't support Deployment Target version < 5.0\n    #endif\n\n    #if SD_UIKIT\n        #import <UIKit/UIKit.h>\n    #endif\n    #if SD_WATCH\n        #import <WatchKit/WatchKit.h>\n        #ifndef UIView\n            #define UIView WKInterfaceObject\n        #endif\n        #ifndef UIImageView\n            #define UIImageView WKInterfaceImage\n        #endif\n    #endif\n#endif\n\n#ifndef NS_ENUM\n#define NS_ENUM(_type, _name) enum _name : _type _name; enum _name : _type\n#endif\n\n#ifndef NS_OPTIONS\n#define NS_OPTIONS(_type, _name) enum _name : _type _name; enum _name : _type\n#endif\n\nFOUNDATION_EXPORT UIImage *SDScaledImageForKey(NSString *key, UIImage *image);\n\ntypedef void(^SDWebImageNoParamsBlock)(void);\n\nFOUNDATION_EXPORT NSString *const SDWebImageErrorDomain;\n\n#ifndef dispatch_queue_async_safe\n#define dispatch_queue_async_safe(queue, block)\\\n    if (dispatch_queue_get_label(DISPATCH_CURRENT_QUEUE_LABEL) == dispatch_queue_get_label(queue)) {\\\n        block();\\\n    } else {\\\n        dispatch_async(queue, block);\\\n    }\n#endif\n\n#ifndef dispatch_main_async_safe\n#define dispatch_main_async_safe(block) dispatch_queue_async_safe(dispatch_get_main_queue(), block)\n#endif\n"
  },
  {
    "path": "CKMeiTuanShopView/Pods/SDWebImage/SDWebImage/SDWebImageCompat.m",
    "content": "/*\n * This file is part of the SDWebImage package.\n * (c) Olivier Poitrey <rs@dailymotion.com>\n *\n * For the full copyright and license information, please view the LICENSE\n * file that was distributed with this source code.\n */\n\n#import \"SDWebImageCompat.h\"\n#import \"UIImage+MultiFormat.h\"\n\n#if !__has_feature(objc_arc)\n    #error SDWebImage is ARC only. Either turn on ARC for the project or use -fobjc-arc flag\n#endif\n\n#if !OS_OBJECT_USE_OBJC\n    #error SDWebImage need ARC for dispatch object\n#endif\n\ninline UIImage *SDScaledImageForKey(NSString * _Nullable key, UIImage * _Nullable image) {\n    if (!image) {\n        return nil;\n    }\n    \n#if SD_MAC\n    return image;\n#elif SD_UIKIT || SD_WATCH\n    if ((image.images).count > 0) {\n        NSMutableArray<UIImage *> *scaledImages = [NSMutableArray array];\n\n        for (UIImage *tempImage in image.images) {\n            [scaledImages addObject:SDScaledImageForKey(key, tempImage)];\n        }\n        \n        UIImage *animatedImage = [UIImage animatedImageWithImages:scaledImages duration:image.duration];\n        if (animatedImage) {\n            animatedImage.sd_imageLoopCount = image.sd_imageLoopCount;\n            animatedImage.sd_imageFormat = image.sd_imageFormat;\n        }\n        return animatedImage;\n    } else {\n#if SD_WATCH\n        if ([[WKInterfaceDevice currentDevice] respondsToSelector:@selector(screenScale)]) {\n#elif SD_UIKIT\n        if ([[UIScreen mainScreen] respondsToSelector:@selector(scale)]) {\n#endif\n            CGFloat scale = 1;\n            if (key.length >= 8) {\n                NSRange range = [key rangeOfString:@\"@2x.\"];\n                if (range.location != NSNotFound) {\n                    scale = 2.0;\n                }\n                \n                range = [key rangeOfString:@\"@3x.\"];\n                if (range.location != NSNotFound) {\n                    scale = 3.0;\n                }\n            }\n\n            UIImage *scaledImage = [[UIImage alloc] initWithCGImage:image.CGImage scale:scale orientation:image.imageOrientation];\n            scaledImage.sd_imageFormat = image.sd_imageFormat;\n            image = scaledImage;\n        }\n        return image;\n    }\n#endif\n}\n\nNSString *const SDWebImageErrorDomain = @\"SDWebImageErrorDomain\";\n"
  },
  {
    "path": "CKMeiTuanShopView/Pods/SDWebImage/SDWebImage/SDWebImageDownloader.h",
    "content": "/*\n * This file is part of the SDWebImage package.\n * (c) Olivier Poitrey <rs@dailymotion.com>\n *\n * For the full copyright and license information, please view the LICENSE\n * file that was distributed with this source code.\n */\n\n#import <Foundation/Foundation.h>\n#import \"SDWebImageCompat.h\"\n#import \"SDWebImageOperation.h\"\n\ntypedef NS_OPTIONS(NSUInteger, SDWebImageDownloaderOptions) {\n    /**\n     * Put the download in the low queue priority and task priority.\n     */\n    SDWebImageDownloaderLowPriority = 1 << 0,\n    \n    /**\n     * This flag enables progressive download, the image is displayed progressively during download as a browser would do.\n     */\n    SDWebImageDownloaderProgressiveDownload = 1 << 1,\n\n    /**\n     * By default, request prevent the use of NSURLCache. With this flag, NSURLCache\n     * is used with default policies.\n     */\n    SDWebImageDownloaderUseNSURLCache = 1 << 2,\n\n    /**\n     * Call completion block with nil image/imageData if the image was read from NSURLCache\n     * (to be combined with `SDWebImageDownloaderUseNSURLCache`).\n     */\n    SDWebImageDownloaderIgnoreCachedResponse = 1 << 3,\n    \n    /**\n     * In iOS 4+, continue the download of the image if the app goes to background. This is achieved by asking the system for\n     * extra time in background to let the request finish. If the background task expires the operation will be cancelled.\n     */\n    SDWebImageDownloaderContinueInBackground = 1 << 4,\n\n    /**\n     * Handles cookies stored in NSHTTPCookieStore by setting \n     * NSMutableURLRequest.HTTPShouldHandleCookies = YES;\n     */\n    SDWebImageDownloaderHandleCookies = 1 << 5,\n\n    /**\n     * Enable to allow untrusted SSL certificates.\n     * Useful for testing purposes. Use with caution in production.\n     */\n    SDWebImageDownloaderAllowInvalidSSLCertificates = 1 << 6,\n\n    /**\n     * Put the download in the high queue priority and task priority.\n     */\n    SDWebImageDownloaderHighPriority = 1 << 7,\n    \n    /**\n     * Scale down the image\n     */\n    SDWebImageDownloaderScaleDownLargeImages = 1 << 8,\n};\n\ntypedef NS_ENUM(NSInteger, SDWebImageDownloaderExecutionOrder) {\n    /**\n     * Default value. All download operations will execute in queue style (first-in-first-out).\n     */\n    SDWebImageDownloaderFIFOExecutionOrder,\n\n    /**\n     * All download operations will execute in stack style (last-in-first-out).\n     */\n    SDWebImageDownloaderLIFOExecutionOrder\n};\n\nFOUNDATION_EXPORT NSString * _Nonnull const SDWebImageDownloadStartNotification;\nFOUNDATION_EXPORT NSString * _Nonnull const SDWebImageDownloadStopNotification;\n\ntypedef void(^SDWebImageDownloaderProgressBlock)(NSInteger receivedSize, NSInteger expectedSize, NSURL * _Nullable targetURL);\n\ntypedef void(^SDWebImageDownloaderCompletedBlock)(UIImage * _Nullable image, NSData * _Nullable data, NSError * _Nullable error, BOOL finished);\n\ntypedef NSDictionary<NSString *, NSString *> SDHTTPHeadersDictionary;\ntypedef NSMutableDictionary<NSString *, NSString *> SDHTTPHeadersMutableDictionary;\n\ntypedef SDHTTPHeadersDictionary * _Nullable (^SDWebImageDownloaderHeadersFilterBlock)(NSURL * _Nullable url, SDHTTPHeadersDictionary * _Nullable headers);\n\n/**\n *  A token associated with each download. Can be used to cancel a download\n */\n@interface SDWebImageDownloadToken : NSObject <SDWebImageOperation>\n\n/**\n The download's URL. This should be readonly and you should not modify\n */\n@property (nonatomic, strong, nullable) NSURL *url;\n/**\n The cancel token taken from `addHandlersForProgress:completed`. This should be readonly and you should not modify\n @note use `-[SDWebImageDownloadToken cancel]` to cancel the token\n */\n@property (nonatomic, strong, nullable) id downloadOperationCancelToken;\n\n@end\n\n\n/**\n * Asynchronous downloader dedicated and optimized for image loading.\n */\n@interface SDWebImageDownloader : NSObject\n\n/**\n * Decompressing images that are downloaded and cached can improve performance but can consume lot of memory.\n * Defaults to YES. Set this to NO if you are experiencing a crash due to excessive memory consumption.\n */\n@property (assign, nonatomic) BOOL shouldDecompressImages;\n\n/**\n *  The maximum number of concurrent downloads\n */\n@property (assign, nonatomic) NSInteger maxConcurrentDownloads;\n\n/**\n * Shows the current amount of downloads that still need to be downloaded\n */\n@property (readonly, nonatomic) NSUInteger currentDownloadCount;\n\n/**\n *  The timeout value (in seconds) for the download operation. Default: 15.0.\n */\n@property (assign, nonatomic) NSTimeInterval downloadTimeout;\n\n/**\n * The configuration in use by the internal NSURLSession.\n * Mutating this object directly has no effect.\n *\n * @see createNewSessionWithConfiguration:\n */\n@property (readonly, nonatomic, nonnull) NSURLSessionConfiguration *sessionConfiguration;\n\n\n/**\n * Changes download operations execution order. Default value is `SDWebImageDownloaderFIFOExecutionOrder`.\n */\n@property (assign, nonatomic) SDWebImageDownloaderExecutionOrder executionOrder;\n\n/**\n *  Singleton method, returns the shared instance\n *\n *  @return global shared instance of downloader class\n */\n+ (nonnull instancetype)sharedDownloader;\n\n/**\n *  Set the default URL credential to be set for request operations.\n */\n@property (strong, nonatomic, nullable) NSURLCredential *urlCredential;\n\n/**\n * Set username\n */\n@property (strong, nonatomic, nullable) NSString *username;\n\n/**\n * Set password\n */\n@property (strong, nonatomic, nullable) NSString *password;\n\n/**\n * Set filter to pick headers for downloading image HTTP request.\n *\n * This block will be invoked for each downloading image request, returned\n * NSDictionary will be used as headers in corresponding HTTP request.\n */\n@property (nonatomic, copy, nullable) SDWebImageDownloaderHeadersFilterBlock headersFilter;\n\n/**\n * Creates an instance of a downloader with specified session configuration.\n * @note `timeoutIntervalForRequest` is going to be overwritten.\n * @return new instance of downloader class\n */\n- (nonnull instancetype)initWithSessionConfiguration:(nullable NSURLSessionConfiguration *)sessionConfiguration NS_DESIGNATED_INITIALIZER;\n\n/**\n * Set a value for a HTTP header to be appended to each download HTTP request.\n *\n * @param value The value for the header field. Use `nil` value to remove the header.\n * @param field The name of the header field to set.\n */\n- (void)setValue:(nullable NSString *)value forHTTPHeaderField:(nullable NSString *)field;\n\n/**\n * Returns the value of the specified HTTP header field.\n *\n * @return The value associated with the header field field, or `nil` if there is no corresponding header field.\n */\n- (nullable NSString *)valueForHTTPHeaderField:(nullable NSString *)field;\n\n/**\n * Sets a subclass of `SDWebImageDownloaderOperation` as the default\n * `NSOperation` to be used each time SDWebImage constructs a request\n * operation to download an image.\n *\n * @param operationClass The subclass of `SDWebImageDownloaderOperation` to set \n *        as default. Passing `nil` will revert to `SDWebImageDownloaderOperation`.\n */\n- (void)setOperationClass:(nullable Class)operationClass;\n\n/**\n * Creates a SDWebImageDownloader async downloader instance with a given URL\n *\n * The delegate will be informed when the image is finish downloaded or an error has happen.\n *\n * @see SDWebImageDownloaderDelegate\n *\n * @param url            The URL to the image to download\n * @param options        The options to be used for this download\n * @param progressBlock  A block called repeatedly while the image is downloading\n *                       @note the progress block is executed on a background queue\n * @param completedBlock A block called once the download is completed.\n *                       If the download succeeded, the image parameter is set, in case of error,\n *                       error parameter is set with the error. The last parameter is always YES\n *                       if SDWebImageDownloaderProgressiveDownload isn't use. With the\n *                       SDWebImageDownloaderProgressiveDownload option, this block is called\n *                       repeatedly with the partial image object and the finished argument set to NO\n *                       before to be called a last time with the full image and finished argument\n *                       set to YES. In case of error, the finished argument is always YES.\n *\n * @return A token (SDWebImageDownloadToken) that can be passed to -cancel: to cancel this operation\n */\n- (nullable SDWebImageDownloadToken *)downloadImageWithURL:(nullable NSURL *)url\n                                                   options:(SDWebImageDownloaderOptions)options\n                                                  progress:(nullable SDWebImageDownloaderProgressBlock)progressBlock\n                                                 completed:(nullable SDWebImageDownloaderCompletedBlock)completedBlock;\n\n/**\n * Cancels a download that was previously queued using -downloadImageWithURL:options:progress:completed:\n *\n * @param token The token received from -downloadImageWithURL:options:progress:completed: that should be canceled.\n */\n- (void)cancel:(nullable SDWebImageDownloadToken *)token;\n\n/**\n * Sets the download queue suspension state\n */\n- (void)setSuspended:(BOOL)suspended;\n\n/**\n * Cancels all download operations in the queue\n */\n- (void)cancelAllDownloads;\n\n/**\n * Forces SDWebImageDownloader to create and use a new NSURLSession that is\n * initialized with the given configuration.\n * @note All existing download operations in the queue will be cancelled.\n * @note `timeoutIntervalForRequest` is going to be overwritten.\n *\n * @param sessionConfiguration The configuration to use for the new NSURLSession\n */\n- (void)createNewSessionWithConfiguration:(nonnull NSURLSessionConfiguration *)sessionConfiguration;\n\n/**\n * Invalidates the managed session, optionally canceling pending operations.\n * @note If you use custom downloader instead of the shared downloader, you need call this method when you do not use it to avoid memory leak\n * @param cancelPendingOperations Whether or not to cancel pending operations.\n * @note Calling this method on the shared downloader has no effect.\n */\n- (void)invalidateSessionAndCancel:(BOOL)cancelPendingOperations;\n\n@end\n"
  },
  {
    "path": "CKMeiTuanShopView/Pods/SDWebImage/SDWebImage/SDWebImageDownloader.m",
    "content": "/*\n * This file is part of the SDWebImage package.\n * (c) Olivier Poitrey <rs@dailymotion.com>\n *\n * For the full copyright and license information, please view the LICENSE\n * file that was distributed with this source code.\n */\n\n#import \"SDWebImageDownloader.h\"\n#import \"SDWebImageDownloaderOperation.h\"\n\n#define LOCK(lock) dispatch_semaphore_wait(lock, DISPATCH_TIME_FOREVER);\n#define UNLOCK(lock) dispatch_semaphore_signal(lock);\n\n@interface SDWebImageDownloadToken ()\n\n@property (nonatomic, weak, nullable) NSOperation<SDWebImageDownloaderOperationInterface> *downloadOperation;\n\n@end\n\n@implementation SDWebImageDownloadToken\n\n- (void)cancel {\n    if (self.downloadOperation) {\n        SDWebImageDownloadToken *cancelToken = self.downloadOperationCancelToken;\n        if (cancelToken) {\n            [self.downloadOperation cancel:cancelToken];\n        }\n    }\n}\n\n@end\n\n\n@interface SDWebImageDownloader () <NSURLSessionTaskDelegate, NSURLSessionDataDelegate>\n\n@property (strong, nonatomic, nonnull) NSOperationQueue *downloadQueue;\n@property (weak, nonatomic, nullable) NSOperation *lastAddedOperation;\n@property (assign, nonatomic, nullable) Class operationClass;\n@property (strong, nonatomic, nonnull) NSMutableDictionary<NSURL *, SDWebImageDownloaderOperation *> *URLOperations;\n@property (strong, nonatomic, nullable) SDHTTPHeadersMutableDictionary *HTTPHeaders;\n@property (strong, nonatomic, nonnull) dispatch_semaphore_t operationsLock; // a lock to keep the access to `URLOperations` thread-safe\n@property (strong, nonatomic, nonnull) dispatch_semaphore_t headersLock; // a lock to keep the access to `HTTPHeaders` thread-safe\n\n// The session in which data tasks will run\n@property (strong, nonatomic) NSURLSession *session;\n\n@end\n\n@implementation SDWebImageDownloader\n\n+ (void)initialize {\n    // Bind SDNetworkActivityIndicator if available (download it here: http://github.com/rs/SDNetworkActivityIndicator )\n    // To use it, just add #import \"SDNetworkActivityIndicator.h\" in addition to the SDWebImage import\n    if (NSClassFromString(@\"SDNetworkActivityIndicator\")) {\n\n#pragma clang diagnostic push\n#pragma clang diagnostic ignored \"-Warc-performSelector-leaks\"\n        id activityIndicator = [NSClassFromString(@\"SDNetworkActivityIndicator\") performSelector:NSSelectorFromString(@\"sharedActivityIndicator\")];\n#pragma clang diagnostic pop\n\n        // Remove observer in case it was previously added.\n        [[NSNotificationCenter defaultCenter] removeObserver:activityIndicator name:SDWebImageDownloadStartNotification object:nil];\n        [[NSNotificationCenter defaultCenter] removeObserver:activityIndicator name:SDWebImageDownloadStopNotification object:nil];\n\n        [[NSNotificationCenter defaultCenter] addObserver:activityIndicator\n                                                 selector:NSSelectorFromString(@\"startActivity\")\n                                                     name:SDWebImageDownloadStartNotification object:nil];\n        [[NSNotificationCenter defaultCenter] addObserver:activityIndicator\n                                                 selector:NSSelectorFromString(@\"stopActivity\")\n                                                     name:SDWebImageDownloadStopNotification object:nil];\n    }\n}\n\n+ (nonnull instancetype)sharedDownloader {\n    static dispatch_once_t once;\n    static id instance;\n    dispatch_once(&once, ^{\n        instance = [self new];\n    });\n    return instance;\n}\n\n- (nonnull instancetype)init {\n    return [self initWithSessionConfiguration:[NSURLSessionConfiguration defaultSessionConfiguration]];\n}\n\n- (nonnull instancetype)initWithSessionConfiguration:(nullable NSURLSessionConfiguration *)sessionConfiguration {\n    if ((self = [super init])) {\n        _operationClass = [SDWebImageDownloaderOperation class];\n        _shouldDecompressImages = YES;\n        _executionOrder = SDWebImageDownloaderFIFOExecutionOrder;\n        _downloadQueue = [NSOperationQueue new];\n        _downloadQueue.maxConcurrentOperationCount = 6;\n        _downloadQueue.name = @\"com.hackemist.SDWebImageDownloader\";\n        _URLOperations = [NSMutableDictionary new];\n#ifdef SD_WEBP\n        _HTTPHeaders = [@{@\"Accept\": @\"image/webp,image/*;q=0.8\"} mutableCopy];\n#else\n        _HTTPHeaders = [@{@\"Accept\": @\"image/*;q=0.8\"} mutableCopy];\n#endif\n        _operationsLock = dispatch_semaphore_create(1);\n        _headersLock = dispatch_semaphore_create(1);\n        _downloadTimeout = 15.0;\n\n        [self createNewSessionWithConfiguration:sessionConfiguration];\n    }\n    return self;\n}\n\n- (void)createNewSessionWithConfiguration:(NSURLSessionConfiguration *)sessionConfiguration {\n    [self cancelAllDownloads];\n\n    if (self.session) {\n        [self.session invalidateAndCancel];\n    }\n\n    sessionConfiguration.timeoutIntervalForRequest = self.downloadTimeout;\n\n    /**\n     *  Create the session for this task\n     *  We send nil as delegate queue so that the session creates a serial operation queue for performing all delegate\n     *  method calls and completion handler calls.\n     */\n    self.session = [NSURLSession sessionWithConfiguration:sessionConfiguration\n                                                 delegate:self\n                                            delegateQueue:nil];\n}\n\n- (void)invalidateSessionAndCancel:(BOOL)cancelPendingOperations {\n    if (self == [SDWebImageDownloader sharedDownloader]) {\n        return;\n    }\n    if (cancelPendingOperations) {\n        [self.session invalidateAndCancel];\n    } else {\n        [self.session finishTasksAndInvalidate];\n    }\n}\n\n- (void)dealloc {\n    [self.session invalidateAndCancel];\n    self.session = nil;\n\n    [self.downloadQueue cancelAllOperations];\n}\n\n- (void)setValue:(nullable NSString *)value forHTTPHeaderField:(nullable NSString *)field {\n    LOCK(self.headersLock);\n    if (value) {\n        self.HTTPHeaders[field] = value;\n    } else {\n        [self.HTTPHeaders removeObjectForKey:field];\n    }\n    UNLOCK(self.headersLock);\n}\n\n- (nullable NSString *)valueForHTTPHeaderField:(nullable NSString *)field {\n    if (!field) {\n        return nil;\n    }\n    return [[self allHTTPHeaderFields] objectForKey:field];\n}\n\n- (nonnull SDHTTPHeadersDictionary *)allHTTPHeaderFields {\n    LOCK(self.headersLock);\n    SDHTTPHeadersDictionary *allHTTPHeaderFields = [self.HTTPHeaders copy];\n    UNLOCK(self.headersLock);\n    return allHTTPHeaderFields;\n}\n\n- (void)setMaxConcurrentDownloads:(NSInteger)maxConcurrentDownloads {\n    _downloadQueue.maxConcurrentOperationCount = maxConcurrentDownloads;\n}\n\n- (NSUInteger)currentDownloadCount {\n    return _downloadQueue.operationCount;\n}\n\n- (NSInteger)maxConcurrentDownloads {\n    return _downloadQueue.maxConcurrentOperationCount;\n}\n\n- (NSURLSessionConfiguration *)sessionConfiguration {\n    return self.session.configuration;\n}\n\n- (void)setOperationClass:(nullable Class)operationClass {\n    if (operationClass && [operationClass isSubclassOfClass:[NSOperation class]] && [operationClass conformsToProtocol:@protocol(SDWebImageDownloaderOperationInterface)]) {\n        _operationClass = operationClass;\n    } else {\n        _operationClass = [SDWebImageDownloaderOperation class];\n    }\n}\n\n- (nullable SDWebImageDownloadToken *)downloadImageWithURL:(nullable NSURL *)url\n                                                   options:(SDWebImageDownloaderOptions)options\n                                                  progress:(nullable SDWebImageDownloaderProgressBlock)progressBlock\n                                                 completed:(nullable SDWebImageDownloaderCompletedBlock)completedBlock {\n    __weak SDWebImageDownloader *wself = self;\n\n    return [self addProgressCallback:progressBlock completedBlock:completedBlock forURL:url createCallback:^SDWebImageDownloaderOperation *{\n        __strong __typeof (wself) sself = wself;\n        NSTimeInterval timeoutInterval = sself.downloadTimeout;\n        if (timeoutInterval == 0.0) {\n            timeoutInterval = 15.0;\n        }\n\n        // In order to prevent from potential duplicate caching (NSURLCache + SDImageCache) we disable the cache for image requests if told otherwise\n        NSURLRequestCachePolicy cachePolicy = options & SDWebImageDownloaderUseNSURLCache ? NSURLRequestUseProtocolCachePolicy : NSURLRequestReloadIgnoringLocalCacheData;\n        NSMutableURLRequest *request = [[NSMutableURLRequest alloc] initWithURL:url\n                                                                    cachePolicy:cachePolicy\n                                                                timeoutInterval:timeoutInterval];\n        \n        request.HTTPShouldHandleCookies = (options & SDWebImageDownloaderHandleCookies);\n        request.HTTPShouldUsePipelining = YES;\n        if (sself.headersFilter) {\n            request.allHTTPHeaderFields = sself.headersFilter(url, [sself allHTTPHeaderFields]);\n        }\n        else {\n            request.allHTTPHeaderFields = [sself allHTTPHeaderFields];\n        }\n        SDWebImageDownloaderOperation *operation = [[sself.operationClass alloc] initWithRequest:request inSession:sself.session options:options];\n        operation.shouldDecompressImages = sself.shouldDecompressImages;\n        \n        if (sself.urlCredential) {\n            operation.credential = sself.urlCredential;\n        } else if (sself.username && sself.password) {\n            operation.credential = [NSURLCredential credentialWithUser:sself.username password:sself.password persistence:NSURLCredentialPersistenceForSession];\n        }\n        \n        if (options & SDWebImageDownloaderHighPriority) {\n            operation.queuePriority = NSOperationQueuePriorityHigh;\n        } else if (options & SDWebImageDownloaderLowPriority) {\n            operation.queuePriority = NSOperationQueuePriorityLow;\n        }\n        \n        if (sself.executionOrder == SDWebImageDownloaderLIFOExecutionOrder) {\n            // Emulate LIFO execution order by systematically adding new operations as last operation's dependency\n            [sself.lastAddedOperation addDependency:operation];\n            sself.lastAddedOperation = operation;\n        }\n\n        return operation;\n    }];\n}\n\n- (void)cancel:(nullable SDWebImageDownloadToken *)token {\n    NSURL *url = token.url;\n    if (!url) {\n        return;\n    }\n    LOCK(self.operationsLock);\n    SDWebImageDownloaderOperation *operation = [self.URLOperations objectForKey:url];\n    if (operation) {\n        BOOL canceled = [operation cancel:token.downloadOperationCancelToken];\n        if (canceled) {\n            [self.URLOperations removeObjectForKey:url];\n        }\n    }\n    UNLOCK(self.operationsLock);\n}\n\n- (nullable SDWebImageDownloadToken *)addProgressCallback:(SDWebImageDownloaderProgressBlock)progressBlock\n                                           completedBlock:(SDWebImageDownloaderCompletedBlock)completedBlock\n                                                   forURL:(nullable NSURL *)url\n                                           createCallback:(SDWebImageDownloaderOperation *(^)(void))createCallback {\n    // The URL will be used as the key to the callbacks dictionary so it cannot be nil. If it is nil immediately call the completed block with no image or data.\n    if (url == nil) {\n        if (completedBlock != nil) {\n            completedBlock(nil, nil, nil, NO);\n        }\n        return nil;\n    }\n    \n    LOCK(self.operationsLock);\n    SDWebImageDownloaderOperation *operation = [self.URLOperations objectForKey:url];\n    // There is a case that the operation may be marked as finished, but not been removed from `self.URLOperations`.\n    if (!operation || operation.isFinished) {\n        operation = createCallback();\n        __weak typeof(self) wself = self;\n        operation.completionBlock = ^{\n            __strong typeof(wself) sself = wself;\n            if (!sself) {\n                return;\n            }\n            LOCK(sself.operationsLock);\n            [sself.URLOperations removeObjectForKey:url];\n            UNLOCK(sself.operationsLock);\n        };\n        [self.URLOperations setObject:operation forKey:url];\n        // Add operation to operation queue only after all configuration done according to Apple's doc.\n        // `addOperation:` does not synchronously execute the `operation.completionBlock` so this will not cause deadlock.\n        [self.downloadQueue addOperation:operation];\n    }\n    UNLOCK(self.operationsLock);\n\n    id downloadOperationCancelToken = [operation addHandlersForProgress:progressBlock completed:completedBlock];\n    \n    SDWebImageDownloadToken *token = [SDWebImageDownloadToken new];\n    token.downloadOperation = operation;\n    token.url = url;\n    token.downloadOperationCancelToken = downloadOperationCancelToken;\n\n    return token;\n}\n\n- (void)setSuspended:(BOOL)suspended {\n    self.downloadQueue.suspended = suspended;\n}\n\n- (void)cancelAllDownloads {\n    [self.downloadQueue cancelAllOperations];\n}\n\n#pragma mark Helper methods\n\n- (SDWebImageDownloaderOperation *)operationWithTask:(NSURLSessionTask *)task {\n    SDWebImageDownloaderOperation *returnOperation = nil;\n    for (SDWebImageDownloaderOperation *operation in self.downloadQueue.operations) {\n        if (operation.dataTask.taskIdentifier == task.taskIdentifier) {\n            returnOperation = operation;\n            break;\n        }\n    }\n    return returnOperation;\n}\n\n#pragma mark NSURLSessionDataDelegate\n\n- (void)URLSession:(NSURLSession *)session\n          dataTask:(NSURLSessionDataTask *)dataTask\ndidReceiveResponse:(NSURLResponse *)response\n completionHandler:(void (^)(NSURLSessionResponseDisposition disposition))completionHandler {\n\n    // Identify the operation that runs this task and pass it the delegate method\n    SDWebImageDownloaderOperation *dataOperation = [self operationWithTask:dataTask];\n    if ([dataOperation respondsToSelector:@selector(URLSession:dataTask:didReceiveResponse:completionHandler:)]) {\n        [dataOperation URLSession:session dataTask:dataTask didReceiveResponse:response completionHandler:completionHandler];\n    } else {\n        if (completionHandler) {\n            completionHandler(NSURLSessionResponseAllow);\n        }\n    }\n}\n\n- (void)URLSession:(NSURLSession *)session dataTask:(NSURLSessionDataTask *)dataTask didReceiveData:(NSData *)data {\n\n    // Identify the operation that runs this task and pass it the delegate method\n    SDWebImageDownloaderOperation *dataOperation = [self operationWithTask:dataTask];\n    if ([dataOperation respondsToSelector:@selector(URLSession:dataTask:didReceiveData:)]) {\n        [dataOperation URLSession:session dataTask:dataTask didReceiveData:data];\n    }\n}\n\n- (void)URLSession:(NSURLSession *)session\n          dataTask:(NSURLSessionDataTask *)dataTask\n willCacheResponse:(NSCachedURLResponse *)proposedResponse\n completionHandler:(void (^)(NSCachedURLResponse *cachedResponse))completionHandler {\n\n    // Identify the operation that runs this task and pass it the delegate method\n    SDWebImageDownloaderOperation *dataOperation = [self operationWithTask:dataTask];\n    if ([dataOperation respondsToSelector:@selector(URLSession:dataTask:willCacheResponse:completionHandler:)]) {\n        [dataOperation URLSession:session dataTask:dataTask willCacheResponse:proposedResponse completionHandler:completionHandler];\n    } else {\n        if (completionHandler) {\n            completionHandler(proposedResponse);\n        }\n    }\n}\n\n#pragma mark NSURLSessionTaskDelegate\n\n- (void)URLSession:(NSURLSession *)session task:(NSURLSessionTask *)task didCompleteWithError:(NSError *)error {\n    \n    // Identify the operation that runs this task and pass it the delegate method\n    SDWebImageDownloaderOperation *dataOperation = [self operationWithTask:task];\n    if ([dataOperation respondsToSelector:@selector(URLSession:task:didCompleteWithError:)]) {\n        [dataOperation URLSession:session task:task didCompleteWithError:error];\n    }\n}\n\n- (void)URLSession:(NSURLSession *)session task:(NSURLSessionTask *)task willPerformHTTPRedirection:(NSHTTPURLResponse *)response newRequest:(NSURLRequest *)request completionHandler:(void (^)(NSURLRequest * _Nullable))completionHandler {\n    \n    // Identify the operation that runs this task and pass it the delegate method\n    SDWebImageDownloaderOperation *dataOperation = [self operationWithTask:task];\n    if ([dataOperation respondsToSelector:@selector(URLSession:task:willPerformHTTPRedirection:newRequest:completionHandler:)]) {\n        [dataOperation URLSession:session task:task willPerformHTTPRedirection:response newRequest:request completionHandler:completionHandler];\n    } else {\n        if (completionHandler) {\n            completionHandler(request);\n        }\n    }\n}\n\n- (void)URLSession:(NSURLSession *)session task:(NSURLSessionTask *)task didReceiveChallenge:(NSURLAuthenticationChallenge *)challenge completionHandler:(void (^)(NSURLSessionAuthChallengeDisposition disposition, NSURLCredential *credential))completionHandler {\n\n    // Identify the operation that runs this task and pass it the delegate method\n    SDWebImageDownloaderOperation *dataOperation = [self operationWithTask:task];\n    if ([dataOperation respondsToSelector:@selector(URLSession:task:didReceiveChallenge:completionHandler:)]) {\n        [dataOperation URLSession:session task:task didReceiveChallenge:challenge completionHandler:completionHandler];\n    } else {\n        if (completionHandler) {\n            completionHandler(NSURLSessionAuthChallengePerformDefaultHandling, nil);\n        }\n    }\n}\n\n@end\n"
  },
  {
    "path": "CKMeiTuanShopView/Pods/SDWebImage/SDWebImage/SDWebImageDownloaderOperation.h",
    "content": "/*\n * This file is part of the SDWebImage package.\n * (c) Olivier Poitrey <rs@dailymotion.com>\n *\n * For the full copyright and license information, please view the LICENSE\n * file that was distributed with this source code.\n */\n\n#import <Foundation/Foundation.h>\n#import \"SDWebImageDownloader.h\"\n#import \"SDWebImageOperation.h\"\n\nFOUNDATION_EXPORT NSString * _Nonnull const SDWebImageDownloadStartNotification;\nFOUNDATION_EXPORT NSString * _Nonnull const SDWebImageDownloadReceiveResponseNotification;\nFOUNDATION_EXPORT NSString * _Nonnull const SDWebImageDownloadStopNotification;\nFOUNDATION_EXPORT NSString * _Nonnull const SDWebImageDownloadFinishNotification;\n\n\n\n/**\n Describes a downloader operation. If one wants to use a custom downloader op, it needs to inherit from `NSOperation` and conform to this protocol\n For the description about these methods, see `SDWebImageDownloaderOperation`\n */\n@protocol SDWebImageDownloaderOperationInterface<NSObject>\n\n- (nonnull instancetype)initWithRequest:(nullable NSURLRequest *)request\n                              inSession:(nullable NSURLSession *)session\n                                options:(SDWebImageDownloaderOptions)options;\n\n- (nullable id)addHandlersForProgress:(nullable SDWebImageDownloaderProgressBlock)progressBlock\n                            completed:(nullable SDWebImageDownloaderCompletedBlock)completedBlock;\n\n- (BOOL)shouldDecompressImages;\n- (void)setShouldDecompressImages:(BOOL)value;\n\n- (nullable NSURLCredential *)credential;\n- (void)setCredential:(nullable NSURLCredential *)value;\n\n- (BOOL)cancel:(nullable id)token;\n\n@end\n\n\n@interface SDWebImageDownloaderOperation : NSOperation <SDWebImageDownloaderOperationInterface, SDWebImageOperation, NSURLSessionTaskDelegate, NSURLSessionDataDelegate>\n\n/**\n * The request used by the operation's task.\n */\n@property (strong, nonatomic, readonly, nullable) NSURLRequest *request;\n\n/**\n * The operation's task\n */\n@property (strong, nonatomic, readonly, nullable) NSURLSessionTask *dataTask;\n\n\n@property (assign, nonatomic) BOOL shouldDecompressImages;\n\n/**\n *  Was used to determine whether the URL connection should consult the credential storage for authenticating the connection.\n *  @deprecated Not used for a couple of versions\n */\n@property (nonatomic, assign) BOOL shouldUseCredentialStorage __deprecated_msg(\"Property deprecated. Does nothing. Kept only for backwards compatibility\");\n\n/**\n * The credential used for authentication challenges in `-URLSession:task:didReceiveChallenge:completionHandler:`.\n *\n * This will be overridden by any shared credentials that exist for the username or password of the request URL, if present.\n */\n@property (nonatomic, strong, nullable) NSURLCredential *credential;\n\n/**\n * The SDWebImageDownloaderOptions for the receiver.\n */\n@property (assign, nonatomic, readonly) SDWebImageDownloaderOptions options;\n\n/**\n * The expected size of data.\n */\n@property (assign, nonatomic) NSInteger expectedSize;\n\n/**\n * The response returned by the operation's task.\n */\n@property (strong, nonatomic, nullable) NSURLResponse *response;\n\n/**\n *  Initializes a `SDWebImageDownloaderOperation` object\n *\n *  @see SDWebImageDownloaderOperation\n *\n *  @param request        the URL request\n *  @param session        the URL session in which this operation will run\n *  @param options        downloader options\n *\n *  @return the initialized instance\n */\n- (nonnull instancetype)initWithRequest:(nullable NSURLRequest *)request\n                              inSession:(nullable NSURLSession *)session\n                                options:(SDWebImageDownloaderOptions)options NS_DESIGNATED_INITIALIZER;\n\n/**\n *  Adds handlers for progress and completion. Returns a tokent that can be passed to -cancel: to cancel this set of\n *  callbacks.\n *\n *  @param progressBlock  the block executed when a new chunk of data arrives.\n *                        @note the progress block is executed on a background queue\n *  @param completedBlock the block executed when the download is done.\n *                        @note the completed block is executed on the main queue for success. If errors are found, there is a chance the block will be executed on a background queue\n *\n *  @return the token to use to cancel this set of handlers\n */\n- (nullable id)addHandlersForProgress:(nullable SDWebImageDownloaderProgressBlock)progressBlock\n                            completed:(nullable SDWebImageDownloaderCompletedBlock)completedBlock;\n\n/**\n *  Cancels a set of callbacks. Once all callbacks are canceled, the operation is cancelled.\n *\n *  @param token the token representing a set of callbacks to cancel\n *\n *  @return YES if the operation was stopped because this was the last token to be canceled. NO otherwise.\n */\n- (BOOL)cancel:(nullable id)token;\n\n@end\n"
  },
  {
    "path": "CKMeiTuanShopView/Pods/SDWebImage/SDWebImage/SDWebImageDownloaderOperation.m",
    "content": "/*\n * This file is part of the SDWebImage package.\n * (c) Olivier Poitrey <rs@dailymotion.com>\n *\n * For the full copyright and license information, please view the LICENSE\n * file that was distributed with this source code.\n */\n\n#import \"SDWebImageDownloaderOperation.h\"\n#import \"SDWebImageManager.h\"\n#import \"NSImage+WebCache.h\"\n#import \"SDWebImageCodersManager.h\"\n\n#define LOCK(lock) dispatch_semaphore_wait(lock, DISPATCH_TIME_FOREVER);\n#define UNLOCK(lock) dispatch_semaphore_signal(lock);\n\n// iOS 8 Foundation.framework extern these symbol but the define is in CFNetwork.framework. We just fix this without import CFNetwork.framework\n#if (__IPHONE_OS_VERSION_MIN_REQUIRED && __IPHONE_OS_VERSION_MIN_REQUIRED < __IPHONE_9_0)\nconst float NSURLSessionTaskPriorityHigh = 0.75;\nconst float NSURLSessionTaskPriorityDefault = 0.5;\nconst float NSURLSessionTaskPriorityLow = 0.25;\n#endif\n\nNSString *const SDWebImageDownloadStartNotification = @\"SDWebImageDownloadStartNotification\";\nNSString *const SDWebImageDownloadReceiveResponseNotification = @\"SDWebImageDownloadReceiveResponseNotification\";\nNSString *const SDWebImageDownloadStopNotification = @\"SDWebImageDownloadStopNotification\";\nNSString *const SDWebImageDownloadFinishNotification = @\"SDWebImageDownloadFinishNotification\";\n\nstatic NSString *const kProgressCallbackKey = @\"progress\";\nstatic NSString *const kCompletedCallbackKey = @\"completed\";\n\ntypedef NSMutableDictionary<NSString *, id> SDCallbacksDictionary;\n\n@interface SDWebImageDownloaderOperation ()\n\n@property (strong, nonatomic, nonnull) NSMutableArray<SDCallbacksDictionary *> *callbackBlocks;\n\n@property (assign, nonatomic, getter = isExecuting) BOOL executing;\n@property (assign, nonatomic, getter = isFinished) BOOL finished;\n@property (strong, nonatomic, nullable) NSMutableData *imageData;\n@property (copy, nonatomic, nullable) NSData *cachedData; // for `SDWebImageDownloaderIgnoreCachedResponse`\n\n// This is weak because it is injected by whoever manages this session. If this gets nil-ed out, we won't be able to run\n// the task associated with this operation\n@property (weak, nonatomic, nullable) NSURLSession *unownedSession;\n// This is set if we're using not using an injected NSURLSession. We're responsible of invalidating this one\n@property (strong, nonatomic, nullable) NSURLSession *ownedSession;\n\n@property (strong, nonatomic, readwrite, nullable) NSURLSessionTask *dataTask;\n\n@property (strong, nonatomic, nonnull) dispatch_semaphore_t callbacksLock; // a lock to keep the access to `callbackBlocks` thread-safe\n\n@property (strong, nonatomic, nonnull) dispatch_queue_t coderQueue; // the queue to do image decoding\n#if SD_UIKIT\n@property (assign, nonatomic) UIBackgroundTaskIdentifier backgroundTaskId;\n#endif\n\n@property (strong, nonatomic, nullable) id<SDWebImageProgressiveCoder> progressiveCoder;\n\n@end\n\n@implementation SDWebImageDownloaderOperation\n\n@synthesize executing = _executing;\n@synthesize finished = _finished;\n\n- (nonnull instancetype)init {\n    return [self initWithRequest:nil inSession:nil options:0];\n}\n\n- (nonnull instancetype)initWithRequest:(nullable NSURLRequest *)request\n                              inSession:(nullable NSURLSession *)session\n                                options:(SDWebImageDownloaderOptions)options {\n    if ((self = [super init])) {\n        _request = [request copy];\n        _shouldDecompressImages = YES;\n        _options = options;\n        _callbackBlocks = [NSMutableArray new];\n        _executing = NO;\n        _finished = NO;\n        _expectedSize = 0;\n        _unownedSession = session;\n        _callbacksLock = dispatch_semaphore_create(1);\n        _coderQueue = dispatch_queue_create(\"com.hackemist.SDWebImageDownloaderOperationCoderQueue\", DISPATCH_QUEUE_SERIAL);\n    }\n    return self;\n}\n\n- (nullable id)addHandlersForProgress:(nullable SDWebImageDownloaderProgressBlock)progressBlock\n                            completed:(nullable SDWebImageDownloaderCompletedBlock)completedBlock {\n    SDCallbacksDictionary *callbacks = [NSMutableDictionary new];\n    if (progressBlock) callbacks[kProgressCallbackKey] = [progressBlock copy];\n    if (completedBlock) callbacks[kCompletedCallbackKey] = [completedBlock copy];\n    LOCK(self.callbacksLock);\n    [self.callbackBlocks addObject:callbacks];\n    UNLOCK(self.callbacksLock);\n    return callbacks;\n}\n\n- (nullable NSArray<id> *)callbacksForKey:(NSString *)key {\n    LOCK(self.callbacksLock);\n    NSMutableArray<id> *callbacks = [[self.callbackBlocks valueForKey:key] mutableCopy];\n    UNLOCK(self.callbacksLock);\n    // We need to remove [NSNull null] because there might not always be a progress block for each callback\n    [callbacks removeObjectIdenticalTo:[NSNull null]];\n    return [callbacks copy]; // strip mutability here\n}\n\n- (BOOL)cancel:(nullable id)token {\n    BOOL shouldCancel = NO;\n    LOCK(self.callbacksLock);\n    [self.callbackBlocks removeObjectIdenticalTo:token];\n    if (self.callbackBlocks.count == 0) {\n        shouldCancel = YES;\n    }\n    UNLOCK(self.callbacksLock);\n    if (shouldCancel) {\n        [self cancel];\n    }\n    return shouldCancel;\n}\n\n- (void)start {\n    @synchronized (self) {\n        if (self.isCancelled) {\n            self.finished = YES;\n            [self reset];\n            return;\n        }\n\n#if SD_UIKIT\n        Class UIApplicationClass = NSClassFromString(@\"UIApplication\");\n        BOOL hasApplication = UIApplicationClass && [UIApplicationClass respondsToSelector:@selector(sharedApplication)];\n        if (hasApplication && [self shouldContinueWhenAppEntersBackground]) {\n            __weak __typeof__ (self) wself = self;\n            UIApplication * app = [UIApplicationClass performSelector:@selector(sharedApplication)];\n            self.backgroundTaskId = [app beginBackgroundTaskWithExpirationHandler:^{\n                __strong __typeof (wself) sself = wself;\n\n                if (sself) {\n                    [sself cancel];\n\n                    [app endBackgroundTask:sself.backgroundTaskId];\n                    sself.backgroundTaskId = UIBackgroundTaskInvalid;\n                }\n            }];\n        }\n#endif\n        NSURLSession *session = self.unownedSession;\n        if (!session) {\n            NSURLSessionConfiguration *sessionConfig = [NSURLSessionConfiguration defaultSessionConfiguration];\n            sessionConfig.timeoutIntervalForRequest = 15;\n            \n            /**\n             *  Create the session for this task\n             *  We send nil as delegate queue so that the session creates a serial operation queue for performing all delegate\n             *  method calls and completion handler calls.\n             */\n            session = [NSURLSession sessionWithConfiguration:sessionConfig\n                                                    delegate:self\n                                               delegateQueue:nil];\n            self.ownedSession = session;\n        }\n        \n        if (self.options & SDWebImageDownloaderIgnoreCachedResponse) {\n            // Grab the cached data for later check\n            NSURLCache *URLCache = session.configuration.URLCache;\n            if (!URLCache) {\n                URLCache = [NSURLCache sharedURLCache];\n            }\n            NSCachedURLResponse *cachedResponse;\n            // NSURLCache's `cachedResponseForRequest:` is not thread-safe, see https://developer.apple.com/documentation/foundation/nsurlcache#2317483\n            @synchronized (URLCache) {\n                cachedResponse = [URLCache cachedResponseForRequest:self.request];\n            }\n            if (cachedResponse) {\n                self.cachedData = cachedResponse.data;\n            }\n        }\n        \n        self.dataTask = [session dataTaskWithRequest:self.request];\n        self.executing = YES;\n    }\n\n    if (self.dataTask) {\n#pragma clang diagnostic push\n#pragma clang diagnostic ignored \"-Wunguarded-availability\"\n        if ([self.dataTask respondsToSelector:@selector(setPriority:)]) {\n            if (self.options & SDWebImageDownloaderHighPriority) {\n                self.dataTask.priority = NSURLSessionTaskPriorityHigh;\n            } else if (self.options & SDWebImageDownloaderLowPriority) {\n                self.dataTask.priority = NSURLSessionTaskPriorityLow;\n            }\n        }\n#pragma clang diagnostic pop\n        [self.dataTask resume];\n        for (SDWebImageDownloaderProgressBlock progressBlock in [self callbacksForKey:kProgressCallbackKey]) {\n            progressBlock(0, NSURLResponseUnknownLength, self.request.URL);\n        }\n        __weak typeof(self) weakSelf = self;\n        dispatch_async(dispatch_get_main_queue(), ^{\n            [[NSNotificationCenter defaultCenter] postNotificationName:SDWebImageDownloadStartNotification object:weakSelf];\n        });\n    } else {\n        [self callCompletionBlocksWithError:[NSError errorWithDomain:NSURLErrorDomain code:NSURLErrorUnknown userInfo:@{NSLocalizedDescriptionKey : @\"Task can't be initialized\"}]];\n        [self done];\n        return;\n    }\n\n#if SD_UIKIT\n    Class UIApplicationClass = NSClassFromString(@\"UIApplication\");\n    if(!UIApplicationClass || ![UIApplicationClass respondsToSelector:@selector(sharedApplication)]) {\n        return;\n    }\n    if (self.backgroundTaskId != UIBackgroundTaskInvalid) {\n        UIApplication * app = [UIApplication performSelector:@selector(sharedApplication)];\n        [app endBackgroundTask:self.backgroundTaskId];\n        self.backgroundTaskId = UIBackgroundTaskInvalid;\n    }\n#endif\n}\n\n- (void)cancel {\n    @synchronized (self) {\n        [self cancelInternal];\n    }\n}\n\n- (void)cancelInternal {\n    if (self.isFinished) return;\n    [super cancel];\n\n    if (self.dataTask) {\n        [self.dataTask cancel];\n        __weak typeof(self) weakSelf = self;\n        dispatch_async(dispatch_get_main_queue(), ^{\n            [[NSNotificationCenter defaultCenter] postNotificationName:SDWebImageDownloadStopNotification object:weakSelf];\n        });\n\n        // As we cancelled the task, its callback won't be called and thus won't\n        // maintain the isFinished and isExecuting flags.\n        if (self.isExecuting) self.executing = NO;\n        if (!self.isFinished) self.finished = YES;\n    }\n\n    [self reset];\n}\n\n- (void)done {\n    self.finished = YES;\n    self.executing = NO;\n    [self reset];\n}\n\n- (void)reset {\n    LOCK(self.callbacksLock);\n    [self.callbackBlocks removeAllObjects];\n    UNLOCK(self.callbacksLock);\n    self.dataTask = nil;\n    \n    if (self.ownedSession) {\n        [self.ownedSession invalidateAndCancel];\n        self.ownedSession = nil;\n    }\n}\n\n- (void)setFinished:(BOOL)finished {\n    [self willChangeValueForKey:@\"isFinished\"];\n    _finished = finished;\n    [self didChangeValueForKey:@\"isFinished\"];\n}\n\n- (void)setExecuting:(BOOL)executing {\n    [self willChangeValueForKey:@\"isExecuting\"];\n    _executing = executing;\n    [self didChangeValueForKey:@\"isExecuting\"];\n}\n\n- (BOOL)isConcurrent {\n    return YES;\n}\n\n#pragma mark NSURLSessionDataDelegate\n\n- (void)URLSession:(NSURLSession *)session\n          dataTask:(NSURLSessionDataTask *)dataTask\ndidReceiveResponse:(NSURLResponse *)response\n completionHandler:(void (^)(NSURLSessionResponseDisposition disposition))completionHandler {\n    NSURLSessionResponseDisposition disposition = NSURLSessionResponseAllow;\n    NSInteger expected = (NSInteger)response.expectedContentLength;\n    expected = expected > 0 ? expected : 0;\n    self.expectedSize = expected;\n    self.response = response;\n    NSInteger statusCode = [response respondsToSelector:@selector(statusCode)] ? ((NSHTTPURLResponse *)response).statusCode : 200;\n    BOOL valid = statusCode < 400;\n    //'304 Not Modified' is an exceptional one. It should be treated as cancelled if no cache data\n    //URLSession current behavior will return 200 status code when the server respond 304 and URLCache hit. But this is not a standard behavior and we just add a check\n    if (statusCode == 304 && !self.cachedData) {\n        valid = NO;\n    }\n    \n    if (valid) {\n        for (SDWebImageDownloaderProgressBlock progressBlock in [self callbacksForKey:kProgressCallbackKey]) {\n            progressBlock(0, expected, self.request.URL);\n        }\n    } else {\n        // Status code invalid and marked as cancelled. Do not call `[self.dataTask cancel]` which may mass up URLSession life cycle\n        disposition = NSURLSessionResponseCancel;\n    }\n    \n    __weak typeof(self) weakSelf = self;\n    dispatch_async(dispatch_get_main_queue(), ^{\n        [[NSNotificationCenter defaultCenter] postNotificationName:SDWebImageDownloadReceiveResponseNotification object:weakSelf];\n    });\n    \n    if (completionHandler) {\n        completionHandler(disposition);\n    }\n}\n\n- (void)URLSession:(NSURLSession *)session dataTask:(NSURLSessionDataTask *)dataTask didReceiveData:(NSData *)data {\n    if (!self.imageData) {\n        self.imageData = [[NSMutableData alloc] initWithCapacity:self.expectedSize];\n    }\n    [self.imageData appendData:data];\n\n    if ((self.options & SDWebImageDownloaderProgressiveDownload) && self.expectedSize > 0) {\n        // Get the image data\n        __block NSData *imageData = [self.imageData copy];\n        // Get the total bytes downloaded\n        const NSInteger totalSize = imageData.length;\n        // Get the finish status\n        BOOL finished = (totalSize >= self.expectedSize);\n        \n        if (!self.progressiveCoder) {\n            // We need to create a new instance for progressive decoding to avoid conflicts\n            for (id<SDWebImageCoder>coder in [SDWebImageCodersManager sharedInstance].coders) {\n                if ([coder conformsToProtocol:@protocol(SDWebImageProgressiveCoder)] &&\n                    [((id<SDWebImageProgressiveCoder>)coder) canIncrementallyDecodeFromData:imageData]) {\n                    self.progressiveCoder = [[[coder class] alloc] init];\n                    break;\n                }\n            }\n        }\n        \n        // progressive decode the image in coder queue\n        dispatch_async(self.coderQueue, ^{\n            UIImage *image = [self.progressiveCoder incrementallyDecodedImageWithData:imageData finished:finished];\n            if (image) {\n                NSString *key = [[SDWebImageManager sharedManager] cacheKeyForURL:self.request.URL];\n                image = [self scaledImageForKey:key image:image];\n                if (self.shouldDecompressImages) {\n                    image = [[SDWebImageCodersManager sharedInstance] decompressedImageWithImage:image data:&imageData options:@{SDWebImageCoderScaleDownLargeImagesKey: @(NO)}];\n                }\n                \n                // We do not keep the progressive decoding image even when `finished`=YES. Because they are for view rendering but not take full function from downloader options. And some coders implementation may not keep consistent between progressive decoding and normal decoding.\n                \n                [self callCompletionBlocksWithImage:image imageData:nil error:nil finished:NO];\n            }\n        });\n    }\n\n    for (SDWebImageDownloaderProgressBlock progressBlock in [self callbacksForKey:kProgressCallbackKey]) {\n        progressBlock(self.imageData.length, self.expectedSize, self.request.URL);\n    }\n}\n\n- (void)URLSession:(NSURLSession *)session\n          dataTask:(NSURLSessionDataTask *)dataTask\n willCacheResponse:(NSCachedURLResponse *)proposedResponse\n completionHandler:(void (^)(NSCachedURLResponse *cachedResponse))completionHandler {\n    \n    NSCachedURLResponse *cachedResponse = proposedResponse;\n\n    if (!(self.options & SDWebImageDownloaderUseNSURLCache)) {\n        // Prevents caching of responses\n        cachedResponse = nil;\n    }\n    if (completionHandler) {\n        completionHandler(cachedResponse);\n    }\n}\n\n#pragma mark NSURLSessionTaskDelegate\n\n- (void)URLSession:(NSURLSession *)session task:(NSURLSessionTask *)task didCompleteWithError:(NSError *)error {\n    @synchronized(self) {\n        self.dataTask = nil;\n        __weak typeof(self) weakSelf = self;\n        dispatch_async(dispatch_get_main_queue(), ^{\n            [[NSNotificationCenter defaultCenter] postNotificationName:SDWebImageDownloadStopNotification object:weakSelf];\n            if (!error) {\n                [[NSNotificationCenter defaultCenter] postNotificationName:SDWebImageDownloadFinishNotification object:weakSelf];\n            }\n        });\n    }\n    \n    // make sure to call `[self done]` to mark operation as finished\n    if (error) {\n        [self callCompletionBlocksWithError:error];\n        [self done];\n    } else {\n        if ([self callbacksForKey:kCompletedCallbackKey].count > 0) {\n            /**\n             *  If you specified to use `NSURLCache`, then the response you get here is what you need.\n             */\n            __block NSData *imageData = [self.imageData copy];\n            if (imageData) {\n                /**  if you specified to only use cached data via `SDWebImageDownloaderIgnoreCachedResponse`,\n                 *  then we should check if the cached data is equal to image data\n                 */\n                if (self.options & SDWebImageDownloaderIgnoreCachedResponse && [self.cachedData isEqualToData:imageData]) {\n                    // call completion block with nil\n                    [self callCompletionBlocksWithImage:nil imageData:nil error:nil finished:YES];\n                    [self done];\n                } else {\n                    // decode the image in coder queue\n                    dispatch_async(self.coderQueue, ^{\n                        UIImage *image = [[SDWebImageCodersManager sharedInstance] decodedImageWithData:imageData];\n                        NSString *key = [[SDWebImageManager sharedManager] cacheKeyForURL:self.request.URL];\n                        image = [self scaledImageForKey:key image:image];\n                        \n                        BOOL shouldDecode = YES;\n                        // Do not force decoding animated GIFs and WebPs\n                        if (image.images) {\n                            shouldDecode = NO;\n                        } else {\n#ifdef SD_WEBP\n                            SDImageFormat imageFormat = [NSData sd_imageFormatForImageData:imageData];\n                            if (imageFormat == SDImageFormatWebP) {\n                                shouldDecode = NO;\n                            }\n#endif\n                        }\n                        \n                        if (shouldDecode) {\n                            if (self.shouldDecompressImages) {\n                                BOOL shouldScaleDown = self.options & SDWebImageDownloaderScaleDownLargeImages;\n                                image = [[SDWebImageCodersManager sharedInstance] decompressedImageWithImage:image data:&imageData options:@{SDWebImageCoderScaleDownLargeImagesKey: @(shouldScaleDown)}];\n                            }\n                        }\n                        CGSize imageSize = image.size;\n                        if (imageSize.width == 0 || imageSize.height == 0) {\n                            [self callCompletionBlocksWithError:[NSError errorWithDomain:SDWebImageErrorDomain code:0 userInfo:@{NSLocalizedDescriptionKey : @\"Downloaded image has 0 pixels\"}]];\n                        } else {\n                            [self callCompletionBlocksWithImage:image imageData:imageData error:nil finished:YES];\n                        }\n                        [self done];\n                    });\n                }\n            } else {\n                [self callCompletionBlocksWithError:[NSError errorWithDomain:SDWebImageErrorDomain code:0 userInfo:@{NSLocalizedDescriptionKey : @\"Image data is nil\"}]];\n                [self done];\n            }\n        } else {\n            [self done];\n        }\n    }\n}\n\n- (void)URLSession:(NSURLSession *)session task:(NSURLSessionTask *)task didReceiveChallenge:(NSURLAuthenticationChallenge *)challenge completionHandler:(void (^)(NSURLSessionAuthChallengeDisposition disposition, NSURLCredential *credential))completionHandler {\n    \n    NSURLSessionAuthChallengeDisposition disposition = NSURLSessionAuthChallengePerformDefaultHandling;\n    __block NSURLCredential *credential = nil;\n    \n    if ([challenge.protectionSpace.authenticationMethod isEqualToString:NSURLAuthenticationMethodServerTrust]) {\n        if (!(self.options & SDWebImageDownloaderAllowInvalidSSLCertificates)) {\n            disposition = NSURLSessionAuthChallengePerformDefaultHandling;\n        } else {\n            credential = [NSURLCredential credentialForTrust:challenge.protectionSpace.serverTrust];\n            disposition = NSURLSessionAuthChallengeUseCredential;\n        }\n    } else {\n        if (challenge.previousFailureCount == 0) {\n            if (self.credential) {\n                credential = self.credential;\n                disposition = NSURLSessionAuthChallengeUseCredential;\n            } else {\n                disposition = NSURLSessionAuthChallengeCancelAuthenticationChallenge;\n            }\n        } else {\n            disposition = NSURLSessionAuthChallengeCancelAuthenticationChallenge;\n        }\n    }\n    \n    if (completionHandler) {\n        completionHandler(disposition, credential);\n    }\n}\n\n#pragma mark Helper methods\n- (nullable UIImage *)scaledImageForKey:(nullable NSString *)key image:(nullable UIImage *)image {\n    return SDScaledImageForKey(key, image);\n}\n\n- (BOOL)shouldContinueWhenAppEntersBackground {\n    return self.options & SDWebImageDownloaderContinueInBackground;\n}\n\n- (void)callCompletionBlocksWithError:(nullable NSError *)error {\n    [self callCompletionBlocksWithImage:nil imageData:nil error:error finished:YES];\n}\n\n- (void)callCompletionBlocksWithImage:(nullable UIImage *)image\n                            imageData:(nullable NSData *)imageData\n                                error:(nullable NSError *)error\n                             finished:(BOOL)finished {\n    NSArray<id> *completionBlocks = [self callbacksForKey:kCompletedCallbackKey];\n    dispatch_main_async_safe(^{\n        for (SDWebImageDownloaderCompletedBlock completedBlock in completionBlocks) {\n            completedBlock(image, imageData, error, finished);\n        }\n    });\n}\n\n@end\n"
  },
  {
    "path": "CKMeiTuanShopView/Pods/SDWebImage/SDWebImage/SDWebImageFrame.h",
    "content": "/*\n * This file is part of the SDWebImage package.\n * (c) Olivier Poitrey <rs@dailymotion.com>\n *\n * For the full copyright and license information, please view the LICENSE\n * file that was distributed with this source code.\n */\n\n#import <Foundation/Foundation.h>\n#import \"SDWebImageCompat.h\"\n\n@interface SDWebImageFrame : NSObject\n\n// This class is used for creating animated images via `animatedImageWithFrames` in `SDWebImageCoderHelper`. Attention if you need to specify animated images loop count, use `sd_imageLoopCount` property in `UIImage+MultiFormat`.\n\n/**\n The image of current frame. You should not set an animated image.\n */\n@property (nonatomic, strong, readonly, nonnull) UIImage *image;\n/**\n The duration of current frame to be displayed. The number is seconds but not milliseconds. You should not set this to zero.\n */\n@property (nonatomic, readonly, assign) NSTimeInterval duration;\n\n/**\n Create a frame instance with specify image and duration\n\n @param image current frame's image\n @param duration current frame's duration\n @return frame instance\n */\n+ (instancetype _Nonnull)frameWithImage:(UIImage * _Nonnull)image duration:(NSTimeInterval)duration;\n\n@end\n"
  },
  {
    "path": "CKMeiTuanShopView/Pods/SDWebImage/SDWebImage/SDWebImageFrame.m",
    "content": "/*\n * This file is part of the SDWebImage package.\n * (c) Olivier Poitrey <rs@dailymotion.com>\n *\n * For the full copyright and license information, please view the LICENSE\n * file that was distributed with this source code.\n */\n\n#import \"SDWebImageFrame.h\"\n\n@interface SDWebImageFrame ()\n\n@property (nonatomic, strong, readwrite, nonnull) UIImage *image;\n@property (nonatomic, readwrite, assign) NSTimeInterval duration;\n\n@end\n\n@implementation SDWebImageFrame\n\n+ (instancetype)frameWithImage:(UIImage *)image duration:(NSTimeInterval)duration {\n    SDWebImageFrame *frame = [[SDWebImageFrame alloc] init];\n    frame.image = image;\n    frame.duration = duration;\n    \n    return frame;\n}\n\n@end\n"
  },
  {
    "path": "CKMeiTuanShopView/Pods/SDWebImage/SDWebImage/SDWebImageGIFCoder.h",
    "content": "/*\n * This file is part of the SDWebImage package.\n * (c) Olivier Poitrey <rs@dailymotion.com>\n *\n * For the full copyright and license information, please view the LICENSE\n * file that was distributed with this source code.\n */\n\n#import <Foundation/Foundation.h>\n#import \"SDWebImageCoder.h\"\n\n/**\n Built in coder using ImageIO that supports GIF encoding/decoding\n @note `SDWebImageIOCoder` supports GIF but only as static (will use the 1st frame).\n @note Use `SDWebImageGIFCoder` for fully animated GIFs - less performant than `FLAnimatedImage`\n @note If you decide to make all `UIImageView`(including `FLAnimatedImageView`) instance support GIF. You should add this coder to `SDWebImageCodersManager` and make sure that it has a higher priority than `SDWebImageIOCoder`\n @note The recommended approach for animated GIFs is using `FLAnimatedImage`. It's more performant than `UIImageView` for GIF displaying\n */\n@interface SDWebImageGIFCoder : NSObject <SDWebImageCoder>\n\n+ (nonnull instancetype)sharedCoder;\n\n@end\n"
  },
  {
    "path": "CKMeiTuanShopView/Pods/SDWebImage/SDWebImage/SDWebImageGIFCoder.m",
    "content": "/*\n * This file is part of the SDWebImage package.\n * (c) Olivier Poitrey <rs@dailymotion.com>\n *\n * For the full copyright and license information, please view the LICENSE\n * file that was distributed with this source code.\n */\n\n#import \"SDWebImageGIFCoder.h\"\n#import \"NSImage+WebCache.h\"\n#import <ImageIO/ImageIO.h>\n#import \"NSData+ImageContentType.h\"\n#import \"UIImage+MultiFormat.h\"\n#import \"SDWebImageCoderHelper.h\"\n#import \"SDAnimatedImageRep.h\"\n\n@implementation SDWebImageGIFCoder\n\n+ (instancetype)sharedCoder {\n    static SDWebImageGIFCoder *coder;\n    static dispatch_once_t onceToken;\n    dispatch_once(&onceToken, ^{\n        coder = [[SDWebImageGIFCoder alloc] init];\n    });\n    return coder;\n}\n\n#pragma mark - Decode\n- (BOOL)canDecodeFromData:(nullable NSData *)data {\n    return ([NSData sd_imageFormatForImageData:data] == SDImageFormatGIF);\n}\n\n- (UIImage *)decodedImageWithData:(NSData *)data {\n    if (!data) {\n        return nil;\n    }\n    \n#if SD_MAC\n    SDAnimatedImageRep *imageRep = [[SDAnimatedImageRep alloc] initWithData:data];\n    NSImage *animatedImage = [[NSImage alloc] initWithSize:imageRep.size];\n    [animatedImage addRepresentation:imageRep];\n    return animatedImage;\n#else\n    \n    CGImageSourceRef source = CGImageSourceCreateWithData((__bridge CFDataRef)data, NULL);\n    if (!source) {\n        return nil;\n    }\n    size_t count = CGImageSourceGetCount(source);\n    \n    UIImage *animatedImage;\n    \n    if (count <= 1) {\n        animatedImage = [[UIImage alloc] initWithData:data];\n    } else {\n        NSMutableArray<SDWebImageFrame *> *frames = [NSMutableArray array];\n        \n        for (size_t i = 0; i < count; i++) {\n            CGImageRef imageRef = CGImageSourceCreateImageAtIndex(source, i, NULL);\n            if (!imageRef) {\n                continue;\n            }\n            \n            float duration = [self sd_frameDurationAtIndex:i source:source];\n            UIImage *image = [[UIImage alloc] initWithCGImage:imageRef];\n            CGImageRelease(imageRef);\n            \n            SDWebImageFrame *frame = [SDWebImageFrame frameWithImage:image duration:duration];\n            [frames addObject:frame];\n        }\n        \n        NSUInteger loopCount = 1;\n        NSDictionary *imageProperties = (__bridge_transfer NSDictionary *)CGImageSourceCopyProperties(source, nil);\n        NSDictionary *gifProperties = [imageProperties valueForKey:(__bridge NSString *)kCGImagePropertyGIFDictionary];\n        if (gifProperties) {\n            NSNumber *gifLoopCount = [gifProperties valueForKey:(__bridge NSString *)kCGImagePropertyGIFLoopCount];\n            if (gifLoopCount != nil) {\n                loopCount = gifLoopCount.unsignedIntegerValue;\n            }\n        }\n        \n        animatedImage = [SDWebImageCoderHelper animatedImageWithFrames:frames];\n        animatedImage.sd_imageLoopCount = loopCount;\n        animatedImage.sd_imageFormat = SDImageFormatGIF;\n    }\n    \n    CFRelease(source);\n    \n    return animatedImage;\n#endif\n}\n\n- (float)sd_frameDurationAtIndex:(NSUInteger)index source:(CGImageSourceRef)source {\n    float frameDuration = 0.1f;\n    CFDictionaryRef cfFrameProperties = CGImageSourceCopyPropertiesAtIndex(source, index, nil);\n    if (!cfFrameProperties) {\n        return frameDuration;\n    }\n    NSDictionary *frameProperties = (__bridge NSDictionary *)cfFrameProperties;\n    NSDictionary *gifProperties = frameProperties[(NSString *)kCGImagePropertyGIFDictionary];\n    \n    NSNumber *delayTimeUnclampedProp = gifProperties[(NSString *)kCGImagePropertyGIFUnclampedDelayTime];\n    if (delayTimeUnclampedProp != nil) {\n        frameDuration = [delayTimeUnclampedProp floatValue];\n    } else {\n        NSNumber *delayTimeProp = gifProperties[(NSString *)kCGImagePropertyGIFDelayTime];\n        if (delayTimeProp != nil) {\n            frameDuration = [delayTimeProp floatValue];\n        }\n    }\n    \n    // Many annoying ads specify a 0 duration to make an image flash as quickly as possible.\n    // We follow Firefox's behavior and use a duration of 100 ms for any frames that specify\n    // a duration of <= 10 ms. See <rdar://problem/7689300> and <http://webkit.org/b/36082>\n    // for more information.\n    \n    if (frameDuration < 0.011f) {\n        frameDuration = 0.100f;\n    }\n    \n    CFRelease(cfFrameProperties);\n    return frameDuration;\n}\n\n- (UIImage *)decompressedImageWithImage:(UIImage *)image\n                                   data:(NSData *__autoreleasing  _Nullable *)data\n                                options:(nullable NSDictionary<NSString*, NSObject*>*)optionsDict {\n    // GIF do not decompress\n    return image;\n}\n\n#pragma mark - Encode\n- (BOOL)canEncodeToFormat:(SDImageFormat)format {\n    return (format == SDImageFormatGIF);\n}\n\n- (NSData *)encodedDataWithImage:(UIImage *)image format:(SDImageFormat)format {\n    if (!image) {\n        return nil;\n    }\n    \n    if (format != SDImageFormatGIF) {\n        return nil;\n    }\n    \n    NSMutableData *imageData = [NSMutableData data];\n    CFStringRef imageUTType = [NSData sd_UTTypeFromSDImageFormat:SDImageFormatGIF];\n    NSArray<SDWebImageFrame *> *frames = [SDWebImageCoderHelper framesFromAnimatedImage:image];\n    \n    // Create an image destination. GIF does not support EXIF image orientation\n    CGImageDestinationRef imageDestination = CGImageDestinationCreateWithData((__bridge CFMutableDataRef)imageData, imageUTType, frames.count, NULL);\n    if (!imageDestination) {\n        // Handle failure.\n        return nil;\n    }\n    if (frames.count == 0) {\n        // for static single GIF images\n        CGImageDestinationAddImage(imageDestination, image.CGImage, nil);\n    } else {\n        // for animated GIF images\n        NSUInteger loopCount = image.sd_imageLoopCount;\n        NSDictionary *gifProperties = @{(__bridge NSString *)kCGImagePropertyGIFDictionary: @{(__bridge NSString *)kCGImagePropertyGIFLoopCount : @(loopCount)}};\n        CGImageDestinationSetProperties(imageDestination, (__bridge CFDictionaryRef)gifProperties);\n        \n        for (size_t i = 0; i < frames.count; i++) {\n            SDWebImageFrame *frame = frames[i];\n            float frameDuration = frame.duration;\n            CGImageRef frameImageRef = frame.image.CGImage;\n            NSDictionary *frameProperties = @{(__bridge NSString *)kCGImagePropertyGIFDictionary : @{(__bridge NSString *)kCGImagePropertyGIFDelayTime : @(frameDuration)}};\n            CGImageDestinationAddImage(imageDestination, frameImageRef, (__bridge CFDictionaryRef)frameProperties);\n        }\n    }\n    // Finalize the destination.\n    if (CGImageDestinationFinalize(imageDestination) == NO) {\n        // Handle failure.\n        imageData = nil;\n    }\n    \n    CFRelease(imageDestination);\n    \n    return [imageData copy];\n}\n\n@end\n"
  },
  {
    "path": "CKMeiTuanShopView/Pods/SDWebImage/SDWebImage/SDWebImageImageIOCoder.h",
    "content": "/*\n * This file is part of the SDWebImage package.\n * (c) Olivier Poitrey <rs@dailymotion.com>\n *\n * For the full copyright and license information, please view the LICENSE\n * file that was distributed with this source code.\n */\n\n#import <Foundation/Foundation.h>\n#import \"SDWebImageCoder.h\"\n\n/**\n Built in coder that supports PNG, JPEG, TIFF, includes support for progressive decoding.\n \n GIF\n Also supports static GIF (meaning will only handle the 1st frame).\n For a full GIF support, we recommend `FLAnimatedImage` or our less performant `SDWebImageGIFCoder`\n \n HEIC\n This coder also supports HEIC format because ImageIO supports it natively. But it depends on the system capabilities, so it won't work on all devices, see: https://devstreaming-cdn.apple.com/videos/wwdc/2017/511tj33587vdhds/511/511_working_with_heif_and_hevc.pdf\n Decode(Software): !Simulator && (iOS 11 || tvOS 11 || macOS 10.13)\n Decode(Hardware): !Simulator && ((iOS 11 && A9Chip) || (macOS 10.13 && 6thGenerationIntelCPU))\n Encode(Software): macOS 10.13\n Encode(Hardware): !Simulator && ((iOS 11 && A10FusionChip) || (macOS 10.13 && 6thGenerationIntelCPU))\n */\n@interface SDWebImageImageIOCoder : NSObject <SDWebImageProgressiveCoder>\n\n+ (nonnull instancetype)sharedCoder;\n\n@end\n"
  },
  {
    "path": "CKMeiTuanShopView/Pods/SDWebImage/SDWebImage/SDWebImageImageIOCoder.m",
    "content": "/*\n * This file is part of the SDWebImage package.\n * (c) Olivier Poitrey <rs@dailymotion.com>\n *\n * For the full copyright and license information, please view the LICENSE\n * file that was distributed with this source code.\n */\n\n#import \"SDWebImageImageIOCoder.h\"\n#import \"SDWebImageCoderHelper.h\"\n#import \"NSImage+WebCache.h\"\n#import <ImageIO/ImageIO.h>\n#import \"NSData+ImageContentType.h\"\n#import \"UIImage+MultiFormat.h\"\n\n#if SD_UIKIT || SD_WATCH\nstatic const size_t kBytesPerPixel = 4;\nstatic const size_t kBitsPerComponent = 8;\n\n/*\n * Defines the maximum size in MB of the decoded image when the flag `SDWebImageScaleDownLargeImages` is set\n * Suggested value for iPad1 and iPhone 3GS: 60.\n * Suggested value for iPad2 and iPhone 4: 120.\n * Suggested value for iPhone 3G and iPod 2 and earlier devices: 30.\n */\nstatic const CGFloat kDestImageSizeMB = 60.0f;\n\n/*\n * Defines the maximum size in MB of a tile used to decode image when the flag `SDWebImageScaleDownLargeImages` is set\n * Suggested value for iPad1 and iPhone 3GS: 20.\n * Suggested value for iPad2 and iPhone 4: 40.\n * Suggested value for iPhone 3G and iPod 2 and earlier devices: 10.\n */\nstatic const CGFloat kSourceImageTileSizeMB = 20.0f;\n\nstatic const CGFloat kBytesPerMB = 1024.0f * 1024.0f;\nstatic const CGFloat kPixelsPerMB = kBytesPerMB / kBytesPerPixel;\nstatic const CGFloat kDestTotalPixels = kDestImageSizeMB * kPixelsPerMB;\nstatic const CGFloat kTileTotalPixels = kSourceImageTileSizeMB * kPixelsPerMB;\n\nstatic const CGFloat kDestSeemOverlap = 2.0f;   // the numbers of pixels to overlap the seems where tiles meet.\n#endif\n\n@implementation SDWebImageImageIOCoder {\n        size_t _width, _height;\n#if SD_UIKIT || SD_WATCH\n        UIImageOrientation _orientation;\n#endif\n        CGImageSourceRef _imageSource;\n}\n\n- (void)dealloc {\n    if (_imageSource) {\n        CFRelease(_imageSource);\n        _imageSource = NULL;\n    }\n}\n\n+ (instancetype)sharedCoder {\n    static SDWebImageImageIOCoder *coder;\n    static dispatch_once_t onceToken;\n    dispatch_once(&onceToken, ^{\n        coder = [[SDWebImageImageIOCoder alloc] init];\n    });\n    return coder;\n}\n\n#pragma mark - Decode\n- (BOOL)canDecodeFromData:(nullable NSData *)data {\n    switch ([NSData sd_imageFormatForImageData:data]) {\n        case SDImageFormatWebP:\n            // Do not support WebP decoding\n            return NO;\n        case SDImageFormatHEIC:\n            // Check HEIC decoding compatibility\n            return [[self class] canDecodeFromHEICFormat];\n        default:\n            return YES;\n    }\n}\n\n- (BOOL)canIncrementallyDecodeFromData:(NSData *)data {\n    switch ([NSData sd_imageFormatForImageData:data]) {\n        case SDImageFormatWebP:\n            // Do not support WebP progressive decoding\n            return NO;\n        case SDImageFormatHEIC:\n            // Check HEIC decoding compatibility\n            return [[self class] canDecodeFromHEICFormat];\n        default:\n            return YES;\n    }\n}\n\n- (UIImage *)decodedImageWithData:(NSData *)data {\n    if (!data) {\n        return nil;\n    }\n    \n    UIImage *image = [[UIImage alloc] initWithData:data];\n    image.sd_imageFormat = [NSData sd_imageFormatForImageData:data];\n    \n    return image;\n}\n\n- (UIImage *)incrementallyDecodedImageWithData:(NSData *)data finished:(BOOL)finished {\n    if (!_imageSource) {\n        _imageSource = CGImageSourceCreateIncremental(NULL);\n    }\n    UIImage *image;\n    \n    // The following code is from http://www.cocoaintheshell.com/2011/05/progressive-images-download-imageio/\n    // Thanks to the author @Nyx0uf\n    \n    // Update the data source, we must pass ALL the data, not just the new bytes\n    CGImageSourceUpdateData(_imageSource, (__bridge CFDataRef)data, finished);\n    \n    if (_width + _height == 0) {\n        CFDictionaryRef properties = CGImageSourceCopyPropertiesAtIndex(_imageSource, 0, NULL);\n        if (properties) {\n            NSInteger orientationValue = 1;\n            CFTypeRef val = CFDictionaryGetValue(properties, kCGImagePropertyPixelHeight);\n            if (val) CFNumberGetValue(val, kCFNumberLongType, &_height);\n            val = CFDictionaryGetValue(properties, kCGImagePropertyPixelWidth);\n            if (val) CFNumberGetValue(val, kCFNumberLongType, &_width);\n            val = CFDictionaryGetValue(properties, kCGImagePropertyOrientation);\n            if (val) CFNumberGetValue(val, kCFNumberNSIntegerType, &orientationValue);\n            CFRelease(properties);\n            \n            // When we draw to Core Graphics, we lose orientation information,\n            // which means the image below born of initWithCGIImage will be\n            // oriented incorrectly sometimes. (Unlike the image born of initWithData\n            // in didCompleteWithError.) So save it here and pass it on later.\n#if SD_UIKIT || SD_WATCH\n            _orientation = [SDWebImageCoderHelper imageOrientationFromEXIFOrientation:orientationValue];\n#endif\n        }\n    }\n    \n    if (_width + _height > 0) {\n        // Create the image\n        CGImageRef partialImageRef = CGImageSourceCreateImageAtIndex(_imageSource, 0, NULL);\n        \n        if (partialImageRef) {\n#if SD_UIKIT || SD_WATCH\n            image = [[UIImage alloc] initWithCGImage:partialImageRef scale:1 orientation:_orientation];\n#elif SD_MAC\n            image = [[UIImage alloc] initWithCGImage:partialImageRef size:NSZeroSize];\n#endif\n            CGImageRelease(partialImageRef);\n            image.sd_imageFormat = [NSData sd_imageFormatForImageData:data];\n        }\n    }\n    \n    if (finished) {\n        if (_imageSource) {\n            CFRelease(_imageSource);\n            _imageSource = NULL;\n        }\n    }\n    \n    return image;\n}\n\n- (UIImage *)decompressedImageWithImage:(UIImage *)image\n                                   data:(NSData *__autoreleasing  _Nullable *)data\n                                options:(nullable NSDictionary<NSString*, NSObject*>*)optionsDict {\n#if SD_MAC\n    return image;\n#endif\n#if SD_UIKIT || SD_WATCH\n    BOOL shouldScaleDown = NO;\n    if (optionsDict != nil) {\n        NSNumber *scaleDownLargeImagesOption = nil;\n        if ([optionsDict[SDWebImageCoderScaleDownLargeImagesKey] isKindOfClass:[NSNumber class]]) {\n            scaleDownLargeImagesOption = (NSNumber *)optionsDict[SDWebImageCoderScaleDownLargeImagesKey];\n        }\n        if (scaleDownLargeImagesOption != nil) {\n            shouldScaleDown = [scaleDownLargeImagesOption boolValue];\n        }\n    }\n    if (!shouldScaleDown) {\n        return [self sd_decompressedImageWithImage:image];\n    } else {\n        UIImage *scaledDownImage = [self sd_decompressedAndScaledDownImageWithImage:image];\n        if (scaledDownImage && !CGSizeEqualToSize(scaledDownImage.size, image.size)) {\n            // if the image is scaled down, need to modify the data pointer as well\n            SDImageFormat format = [NSData sd_imageFormatForImageData:*data];\n            NSData *imageData = [self encodedDataWithImage:scaledDownImage format:format];\n            if (imageData) {\n                *data = imageData;\n            }\n        }\n        return scaledDownImage;\n    }\n#endif\n}\n\n#if SD_UIKIT || SD_WATCH\n- (nullable UIImage *)sd_decompressedImageWithImage:(nullable UIImage *)image {\n    if (![[self class] shouldDecodeImage:image]) {\n        return image;\n    }\n    \n    // autorelease the bitmap context and all vars to help system to free memory when there are memory warning.\n    // on iOS7, do not forget to call [[SDImageCache sharedImageCache] clearMemory];\n    @autoreleasepool{\n        \n        CGImageRef imageRef = image.CGImage;\n        // device color space\n        CGColorSpaceRef colorspaceRef = SDCGColorSpaceGetDeviceRGB();\n        BOOL hasAlpha = SDCGImageRefContainsAlpha(imageRef);\n        // iOS display alpha info (BRGA8888/BGRX8888)\n        CGBitmapInfo bitmapInfo = kCGBitmapByteOrder32Host;\n        bitmapInfo |= hasAlpha ? kCGImageAlphaPremultipliedFirst : kCGImageAlphaNoneSkipFirst;\n        \n        size_t width = CGImageGetWidth(imageRef);\n        size_t height = CGImageGetHeight(imageRef);\n        \n        // kCGImageAlphaNone is not supported in CGBitmapContextCreate.\n        // Since the original image here has no alpha info, use kCGImageAlphaNoneSkipLast\n        // to create bitmap graphics contexts without alpha info.\n        CGContextRef context = CGBitmapContextCreate(NULL,\n                                                     width,\n                                                     height,\n                                                     kBitsPerComponent,\n                                                     0,\n                                                     colorspaceRef,\n                                                     bitmapInfo);\n        if (context == NULL) {\n            return image;\n        }\n        \n        // Draw the image into the context and retrieve the new bitmap image without alpha\n        CGContextDrawImage(context, CGRectMake(0, 0, width, height), imageRef);\n        CGImageRef imageRefWithoutAlpha = CGBitmapContextCreateImage(context);\n        UIImage *imageWithoutAlpha = [[UIImage alloc] initWithCGImage:imageRefWithoutAlpha scale:image.scale orientation:image.imageOrientation];\n        CGContextRelease(context);\n        CGImageRelease(imageRefWithoutAlpha);\n        \n        return imageWithoutAlpha;\n    }\n}\n\n- (nullable UIImage *)sd_decompressedAndScaledDownImageWithImage:(nullable UIImage *)image {\n    if (![[self class] shouldDecodeImage:image]) {\n        return image;\n    }\n    \n    if (![[self class] shouldScaleDownImage:image]) {\n        return [self sd_decompressedImageWithImage:image];\n    }\n    \n    CGContextRef destContext;\n    \n    // autorelease the bitmap context and all vars to help system to free memory when there are memory warning.\n    // on iOS7, do not forget to call [[SDImageCache sharedImageCache] clearMemory];\n    @autoreleasepool {\n        CGImageRef sourceImageRef = image.CGImage;\n        \n        CGSize sourceResolution = CGSizeZero;\n        sourceResolution.width = CGImageGetWidth(sourceImageRef);\n        sourceResolution.height = CGImageGetHeight(sourceImageRef);\n        float sourceTotalPixels = sourceResolution.width * sourceResolution.height;\n        // Determine the scale ratio to apply to the input image\n        // that results in an output image of the defined size.\n        // see kDestImageSizeMB, and how it relates to destTotalPixels.\n        float imageScale = kDestTotalPixels / sourceTotalPixels;\n        CGSize destResolution = CGSizeZero;\n        destResolution.width = (int)(sourceResolution.width*imageScale);\n        destResolution.height = (int)(sourceResolution.height*imageScale);\n        \n        // device color space\n        CGColorSpaceRef colorspaceRef = SDCGColorSpaceGetDeviceRGB();\n        BOOL hasAlpha = SDCGImageRefContainsAlpha(sourceImageRef);\n        // iOS display alpha info (BGRA8888/BGRX8888)\n        CGBitmapInfo bitmapInfo = kCGBitmapByteOrder32Host;\n        bitmapInfo |= hasAlpha ? kCGImageAlphaPremultipliedFirst : kCGImageAlphaNoneSkipFirst;\n        \n        // kCGImageAlphaNone is not supported in CGBitmapContextCreate.\n        // Since the original image here has no alpha info, use kCGImageAlphaNoneSkipLast\n        // to create bitmap graphics contexts without alpha info.\n        destContext = CGBitmapContextCreate(NULL,\n                                            destResolution.width,\n                                            destResolution.height,\n                                            kBitsPerComponent,\n                                            0,\n                                            colorspaceRef,\n                                            bitmapInfo);\n        \n        if (destContext == NULL) {\n            return image;\n        }\n        CGContextSetInterpolationQuality(destContext, kCGInterpolationHigh);\n        \n        // Now define the size of the rectangle to be used for the\n        // incremental blits from the input image to the output image.\n        // we use a source tile width equal to the width of the source\n        // image due to the way that iOS retrieves image data from disk.\n        // iOS must decode an image from disk in full width 'bands', even\n        // if current graphics context is clipped to a subrect within that\n        // band. Therefore we fully utilize all of the pixel data that results\n        // from a decoding opertion by achnoring our tile size to the full\n        // width of the input image.\n        CGRect sourceTile = CGRectZero;\n        sourceTile.size.width = sourceResolution.width;\n        // The source tile height is dynamic. Since we specified the size\n        // of the source tile in MB, see how many rows of pixels high it\n        // can be given the input image width.\n        sourceTile.size.height = (int)(kTileTotalPixels / sourceTile.size.width );\n        sourceTile.origin.x = 0.0f;\n        // The output tile is the same proportions as the input tile, but\n        // scaled to image scale.\n        CGRect destTile;\n        destTile.size.width = destResolution.width;\n        destTile.size.height = sourceTile.size.height * imageScale;\n        destTile.origin.x = 0.0f;\n        // The source seem overlap is proportionate to the destination seem overlap.\n        // this is the amount of pixels to overlap each tile as we assemble the ouput image.\n        float sourceSeemOverlap = (int)((kDestSeemOverlap/destResolution.height)*sourceResolution.height);\n        CGImageRef sourceTileImageRef;\n        // calculate the number of read/write operations required to assemble the\n        // output image.\n        int iterations = (int)( sourceResolution.height / sourceTile.size.height );\n        // If tile height doesn't divide the image height evenly, add another iteration\n        // to account for the remaining pixels.\n        int remainder = (int)sourceResolution.height % (int)sourceTile.size.height;\n        if(remainder) {\n            iterations++;\n        }\n        // Add seem overlaps to the tiles, but save the original tile height for y coordinate calculations.\n        float sourceTileHeightMinusOverlap = sourceTile.size.height;\n        sourceTile.size.height += sourceSeemOverlap;\n        destTile.size.height += kDestSeemOverlap;\n        for( int y = 0; y < iterations; ++y ) {\n            @autoreleasepool {\n                sourceTile.origin.y = y * sourceTileHeightMinusOverlap + sourceSeemOverlap;\n                destTile.origin.y = destResolution.height - (( y + 1 ) * sourceTileHeightMinusOverlap * imageScale + kDestSeemOverlap);\n                sourceTileImageRef = CGImageCreateWithImageInRect( sourceImageRef, sourceTile );\n                if( y == iterations - 1 && remainder ) {\n                    float dify = destTile.size.height;\n                    destTile.size.height = CGImageGetHeight( sourceTileImageRef ) * imageScale;\n                    dify -= destTile.size.height;\n                    destTile.origin.y += dify;\n                }\n                CGContextDrawImage( destContext, destTile, sourceTileImageRef );\n                CGImageRelease( sourceTileImageRef );\n            }\n        }\n        \n        CGImageRef destImageRef = CGBitmapContextCreateImage(destContext);\n        CGContextRelease(destContext);\n        if (destImageRef == NULL) {\n            return image;\n        }\n        UIImage *destImage = [[UIImage alloc] initWithCGImage:destImageRef scale:image.scale orientation:image.imageOrientation];\n        CGImageRelease(destImageRef);\n        if (destImage == nil) {\n            return image;\n        }\n        return destImage;\n    }\n}\n#endif\n\n#pragma mark - Encode\n- (BOOL)canEncodeToFormat:(SDImageFormat)format {\n    switch (format) {\n        case SDImageFormatWebP:\n            // Do not support WebP encoding\n            return NO;\n        case SDImageFormatHEIC:\n            // Check HEIC encoding compatibility\n            return [[self class] canEncodeToHEICFormat];\n        default:\n            return YES;\n    }\n}\n\n- (NSData *)encodedDataWithImage:(UIImage *)image format:(SDImageFormat)format {\n    if (!image) {\n        return nil;\n    }\n    \n    if (format == SDImageFormatUndefined) {\n        BOOL hasAlpha = SDCGImageRefContainsAlpha(image.CGImage);\n        if (hasAlpha) {\n            format = SDImageFormatPNG;\n        } else {\n            format = SDImageFormatJPEG;\n        }\n    }\n    \n    NSMutableData *imageData = [NSMutableData data];\n    CFStringRef imageUTType = [NSData sd_UTTypeFromSDImageFormat:format];\n    \n    // Create an image destination.\n    CGImageDestinationRef imageDestination = CGImageDestinationCreateWithData((__bridge CFMutableDataRef)imageData, imageUTType, 1, NULL);\n    if (!imageDestination) {\n        // Handle failure.\n        return nil;\n    }\n    \n    NSMutableDictionary *properties = [NSMutableDictionary dictionary];\n#if SD_UIKIT || SD_WATCH\n    NSInteger exifOrientation = [SDWebImageCoderHelper exifOrientationFromImageOrientation:image.imageOrientation];\n    [properties setValue:@(exifOrientation) forKey:(__bridge NSString *)kCGImagePropertyOrientation];\n#endif\n    \n    // Add your image to the destination.\n    CGImageDestinationAddImage(imageDestination, image.CGImage, (__bridge CFDictionaryRef)properties);\n    \n    // Finalize the destination.\n    if (CGImageDestinationFinalize(imageDestination) == NO) {\n        // Handle failure.\n        imageData = nil;\n    }\n    \n    CFRelease(imageDestination);\n    \n    return [imageData copy];\n}\n\n#pragma mark - Helper\n+ (BOOL)shouldDecodeImage:(nullable UIImage *)image {\n    // Prevent \"CGBitmapContextCreateImage: invalid context 0x0\" error\n    if (image == nil) {\n        return NO;\n    }\n    \n    // do not decode animated images\n    if (image.images != nil) {\n        return NO;\n    }\n    \n    return YES;\n}\n\n+ (BOOL)canDecodeFromHEICFormat {\n    static BOOL canDecode = NO;\n    static dispatch_once_t onceToken;\n    dispatch_once(&onceToken, ^{\n#pragma clang diagnostic push\n#pragma clang diagnostic ignored \"-Wunguarded-availability\"\n#if TARGET_OS_SIMULATOR || SD_WATCH\n        canDecode = NO;\n#elif SD_MAC\n        NSProcessInfo *processInfo = [NSProcessInfo processInfo];\n        if ([processInfo respondsToSelector:@selector(operatingSystemVersion)]) {\n            // macOS 10.13+\n            canDecode = processInfo.operatingSystemVersion.minorVersion >= 13;\n        } else {\n            canDecode = NO;\n        }\n#elif SD_UIKIT\n        NSProcessInfo *processInfo = [NSProcessInfo processInfo];\n        if ([processInfo respondsToSelector:@selector(operatingSystemVersion)]) {\n            // iOS 11+ && tvOS 11+\n            canDecode = processInfo.operatingSystemVersion.majorVersion >= 11;\n        } else {\n            canDecode = NO;\n        }\n#endif\n#pragma clang diagnostic pop\n    });\n    return canDecode;\n}\n\n+ (BOOL)canEncodeToHEICFormat {\n    static BOOL canEncode = NO;\n    static dispatch_once_t onceToken;\n    dispatch_once(&onceToken, ^{\n        NSMutableData *imageData = [NSMutableData data];\n        CFStringRef imageUTType = [NSData sd_UTTypeFromSDImageFormat:SDImageFormatHEIC];\n        \n        // Create an image destination.\n        CGImageDestinationRef imageDestination = CGImageDestinationCreateWithData((__bridge CFMutableDataRef)imageData, imageUTType, 1, NULL);\n        if (!imageDestination) {\n            // Can't encode to HEIC\n            canEncode = NO;\n        } else {\n            // Can encode to HEIC\n            CFRelease(imageDestination);\n            canEncode = YES;\n        }\n    });\n    return canEncode;\n}\n\n#if SD_UIKIT || SD_WATCH\n+ (BOOL)shouldScaleDownImage:(nonnull UIImage *)image {\n    BOOL shouldScaleDown = YES;\n    \n    CGImageRef sourceImageRef = image.CGImage;\n    CGSize sourceResolution = CGSizeZero;\n    sourceResolution.width = CGImageGetWidth(sourceImageRef);\n    sourceResolution.height = CGImageGetHeight(sourceImageRef);\n    float sourceTotalPixels = sourceResolution.width * sourceResolution.height;\n    float imageScale = kDestTotalPixels / sourceTotalPixels;\n    if (imageScale < 1) {\n        shouldScaleDown = YES;\n    } else {\n        shouldScaleDown = NO;\n    }\n    \n    return shouldScaleDown;\n}\n#endif\n\n@end\n"
  },
  {
    "path": "CKMeiTuanShopView/Pods/SDWebImage/SDWebImage/SDWebImageManager.h",
    "content": "/*\n * This file is part of the SDWebImage package.\n * (c) Olivier Poitrey <rs@dailymotion.com>\n *\n * For the full copyright and license information, please view the LICENSE\n * file that was distributed with this source code.\n */\n\n#import \"SDWebImageCompat.h\"\n#import \"SDWebImageOperation.h\"\n#import \"SDWebImageDownloader.h\"\n#import \"SDImageCache.h\"\n\ntypedef NS_OPTIONS(NSUInteger, SDWebImageOptions) {\n    /**\n     * By default, when a URL fail to be downloaded, the URL is blacklisted so the library won't keep trying.\n     * This flag disable this blacklisting.\n     */\n    SDWebImageRetryFailed = 1 << 0,\n\n    /**\n     * By default, image downloads are started during UI interactions, this flags disable this feature,\n     * leading to delayed download on UIScrollView deceleration for instance.\n     */\n    SDWebImageLowPriority = 1 << 1,\n\n    /**\n     * This flag disables on-disk caching after the download finished, only cache in memory\n     */\n    SDWebImageCacheMemoryOnly = 1 << 2,\n\n    /**\n     * This flag enables progressive download, the image is displayed progressively during download as a browser would do.\n     * By default, the image is only displayed once completely downloaded.\n     */\n    SDWebImageProgressiveDownload = 1 << 3,\n\n    /**\n     * Even if the image is cached, respect the HTTP response cache control, and refresh the image from remote location if needed.\n     * The disk caching will be handled by NSURLCache instead of SDWebImage leading to slight performance degradation.\n     * This option helps deal with images changing behind the same request URL, e.g. Facebook graph api profile pics.\n     * If a cached image is refreshed, the completion block is called once with the cached image and again with the final image.\n     *\n     * Use this flag only if you can't make your URLs static with embedded cache busting parameter.\n     */\n    SDWebImageRefreshCached = 1 << 4,\n\n    /**\n     * In iOS 4+, continue the download of the image if the app goes to background. This is achieved by asking the system for\n     * extra time in background to let the request finish. If the background task expires the operation will be cancelled.\n     */\n    SDWebImageContinueInBackground = 1 << 5,\n\n    /**\n     * Handles cookies stored in NSHTTPCookieStore by setting\n     * NSMutableURLRequest.HTTPShouldHandleCookies = YES;\n     */\n    SDWebImageHandleCookies = 1 << 6,\n\n    /**\n     * Enable to allow untrusted SSL certificates.\n     * Useful for testing purposes. Use with caution in production.\n     */\n    SDWebImageAllowInvalidSSLCertificates = 1 << 7,\n\n    /**\n     * By default, images are loaded in the order in which they were queued. This flag moves them to\n     * the front of the queue.\n     */\n    SDWebImageHighPriority = 1 << 8,\n    \n    /**\n     * By default, placeholder images are loaded while the image is loading. This flag will delay the loading\n     * of the placeholder image until after the image has finished loading.\n     */\n    SDWebImageDelayPlaceholder = 1 << 9,\n\n    /**\n     * We usually don't call transformDownloadedImage delegate method on animated images,\n     * as most transformation code would mangle it.\n     * Use this flag to transform them anyway.\n     */\n    SDWebImageTransformAnimatedImage = 1 << 10,\n    \n    /**\n     * By default, image is added to the imageView after download. But in some cases, we want to\n     * have the hand before setting the image (apply a filter or add it with cross-fade animation for instance)\n     * Use this flag if you want to manually set the image in the completion when success\n     */\n    SDWebImageAvoidAutoSetImage = 1 << 11,\n    \n    /**\n     * By default, images are decoded respecting their original size. On iOS, this flag will scale down the\n     * images to a size compatible with the constrained memory of devices.\n     * If `SDWebImageProgressiveDownload` flag is set the scale down is deactivated.\n     */\n    SDWebImageScaleDownLargeImages = 1 << 12,\n    \n    /**\n     * By default, we do not query disk data when the image is cached in memory. This mask can force to query disk data at the same time.\n     * This flag is recommend to be used with `SDWebImageQueryDiskSync` to ensure the image is loaded in the same runloop.\n     */\n    SDWebImageQueryDataWhenInMemory = 1 << 13,\n    \n    /**\n     * By default, we query the memory cache synchronously, disk cache asynchronously. This mask can force to query disk cache synchronously to ensure that image is loaded in the same runloop.\n     * This flag can avoid flashing during cell reuse if you disable memory cache or in some other cases.\n     */\n    SDWebImageQueryDiskSync = 1 << 14,\n    \n    /**\n     * By default, when the cache missed, the image is download from the network. This flag can prevent network to load from cache only.\n     */\n    SDWebImageFromCacheOnly = 1 << 15,\n    /**\n     * By default, when you use `SDWebImageTransition` to do some view transition after the image load finished, this transition is only applied for image download from the network. This mask can force to apply view transition for memory and disk cache as well.\n     */\n    SDWebImageForceTransition = 1 << 16\n};\n\ntypedef void(^SDExternalCompletionBlock)(UIImage * _Nullable image, NSError * _Nullable error, SDImageCacheType cacheType, NSURL * _Nullable imageURL);\n\ntypedef void(^SDInternalCompletionBlock)(UIImage * _Nullable image, NSData * _Nullable data, NSError * _Nullable error, SDImageCacheType cacheType, BOOL finished, NSURL * _Nullable imageURL);\n\ntypedef NSString * _Nullable(^SDWebImageCacheKeyFilterBlock)(NSURL * _Nullable url);\n\ntypedef NSData * _Nullable(^SDWebImageCacheSerializerBlock)(UIImage * _Nonnull image, NSData * _Nullable data, NSURL * _Nullable imageURL);\n\n\n@class SDWebImageManager;\n\n@protocol SDWebImageManagerDelegate <NSObject>\n\n@optional\n\n/**\n * Controls which image should be downloaded when the image is not found in the cache.\n *\n * @param imageManager The current `SDWebImageManager`\n * @param imageURL     The url of the image to be downloaded\n *\n * @return Return NO to prevent the downloading of the image on cache misses. If not implemented, YES is implied.\n */\n- (BOOL)imageManager:(nonnull SDWebImageManager *)imageManager shouldDownloadImageForURL:(nullable NSURL *)imageURL;\n\n/**\n * Controls the complicated logic to mark as failed URLs when download error occur.\n * If the delegate implement this method, we will not use the built-in way to mark URL as failed based on error code;\n @param imageManager The current `SDWebImageManager`\n @param imageURL The url of the image\n @param error The download error for the url\n @return Whether to block this url or not. Return YES to mark this URL as failed.\n */\n- (BOOL)imageManager:(nonnull SDWebImageManager *)imageManager shouldBlockFailedURL:(nonnull NSURL *)imageURL withError:(nonnull NSError *)error;\n\n/**\n * Allows to transform the image immediately after it has been downloaded and just before to cache it on disk and memory.\n * NOTE: This method is called from a global queue in order to not to block the main thread.\n *\n * @param imageManager The current `SDWebImageManager`\n * @param image        The image to transform\n * @param imageURL     The url of the image to transform\n *\n * @return The transformed image object.\n */\n- (nullable UIImage *)imageManager:(nonnull SDWebImageManager *)imageManager transformDownloadedImage:(nullable UIImage *)image withURL:(nullable NSURL *)imageURL;\n\n@end\n\n/**\n * The SDWebImageManager is the class behind the UIImageView+WebCache category and likes.\n * It ties the asynchronous downloader (SDWebImageDownloader) with the image cache store (SDImageCache).\n * You can use this class directly to benefit from web image downloading with caching in another context than\n * a UIView.\n *\n * Here is a simple example of how to use SDWebImageManager:\n *\n * @code\n\nSDWebImageManager *manager = [SDWebImageManager sharedManager];\n[manager loadImageWithURL:imageURL\n                  options:0\n                 progress:nil\n                completed:^(UIImage *image, NSError *error, SDImageCacheType cacheType, BOOL finished, NSURL *imageURL) {\n                    if (image) {\n                        // do something with image\n                    }\n                }];\n\n * @endcode\n */\n@interface SDWebImageManager : NSObject\n\n@property (weak, nonatomic, nullable) id <SDWebImageManagerDelegate> delegate;\n\n@property (strong, nonatomic, readonly, nullable) SDImageCache *imageCache;\n@property (strong, nonatomic, readonly, nullable) SDWebImageDownloader *imageDownloader;\n\n/**\n * The cache filter is a block used each time SDWebImageManager need to convert an URL into a cache key. This can\n * be used to remove dynamic part of an image URL.\n *\n * The following example sets a filter in the application delegate that will remove any query-string from the\n * URL before to use it as a cache key:\n *\n * @code\n\nSDWebImageManager.sharedManager.cacheKeyFilter = ^(NSURL * _Nullable url) {\n    url = [[NSURL alloc] initWithScheme:url.scheme host:url.host path:url.path];\n    return [url absoluteString];\n};\n\n * @endcode\n */\n@property (nonatomic, copy, nullable) SDWebImageCacheKeyFilterBlock cacheKeyFilter;\n\n/**\n * The cache serializer is a block used to convert the decoded image, the source downloaded data, to the actual data used for storing to the disk cache. If you return nil, means to generate the data from the image instance, see `SDImageCache`.\n * For example, if you are using WebP images and facing the slow decoding time issue when later retriving from disk cache again. You can try to encode the decoded image to JPEG/PNG format to disk cache instead of source downloaded data.\n * @note The `image` arg is nonnull, but when you also provide a image transformer and the image is transformed, the `data` arg may be nil, take attention to this case.\n * @note This method is called from a global queue in order to not to block the main thread.\n * @code\n SDWebImageManager.sharedManager.cacheSerializer = ^NSData * _Nullable(UIImage * _Nonnull image, NSData * _Nullable data, NSURL * _Nullable imageURL) {\n    SDImageFormat format = [NSData sd_imageFormatForImageData:data];\n    switch (format) {\n        case SDImageFormatWebP:\n            return image.images ? data : nil;\n        default:\n            return data;\n    }\n };\n * @endcode\n * The default value is nil. Means we just store the source downloaded data to disk cache.\n */\n@property (nonatomic, copy, nullable) SDWebImageCacheSerializerBlock cacheSerializer;\n\n/**\n * Returns global SDWebImageManager instance.\n *\n * @return SDWebImageManager shared instance\n */\n+ (nonnull instancetype)sharedManager;\n\n/**\n * Allows to specify instance of cache and image downloader used with image manager.\n * @return new instance of `SDWebImageManager` with specified cache and downloader.\n */\n- (nonnull instancetype)initWithCache:(nonnull SDImageCache *)cache downloader:(nonnull SDWebImageDownloader *)downloader NS_DESIGNATED_INITIALIZER;\n\n/**\n * Downloads the image at the given URL if not present in cache or return the cached version otherwise.\n *\n * @param url            The URL to the image\n * @param options        A mask to specify options to use for this request\n * @param progressBlock  A block called while image is downloading\n *                       @note the progress block is executed on a background queue\n * @param completedBlock A block called when operation has been completed.\n *\n *   This parameter is required.\n * \n *   This block has no return value and takes the requested UIImage as first parameter and the NSData representation as second parameter.\n *   In case of error the image parameter is nil and the third parameter may contain an NSError.\n *\n *   The forth parameter is an `SDImageCacheType` enum indicating if the image was retrieved from the local cache\n *   or from the memory cache or from the network.\n *\n *   The fith parameter is set to NO when the SDWebImageProgressiveDownload option is used and the image is\n *   downloading. This block is thus called repeatedly with a partial image. When image is fully downloaded, the\n *   block is called a last time with the full image and the last parameter set to YES.\n *\n *   The last parameter is the original image URL\n *\n * @return Returns an NSObject conforming to SDWebImageOperation. Should be an instance of SDWebImageDownloaderOperation\n */\n- (nullable id <SDWebImageOperation>)loadImageWithURL:(nullable NSURL *)url\n                                              options:(SDWebImageOptions)options\n                                             progress:(nullable SDWebImageDownloaderProgressBlock)progressBlock\n                                            completed:(nullable SDInternalCompletionBlock)completedBlock;\n\n/**\n * Saves image to cache for given URL\n *\n * @param image The image to cache\n * @param url   The URL to the image\n *\n */\n\n- (void)saveImageToCache:(nullable UIImage *)image forURL:(nullable NSURL *)url;\n\n/**\n * Cancel all current operations\n */\n- (void)cancelAll;\n\n/**\n * Check one or more operations running\n */\n- (BOOL)isRunning;\n\n/**\n *  Async check if image has already been cached\n *\n *  @param url              image url\n *  @param completionBlock  the block to be executed when the check is finished\n *  \n *  @note the completion block is always executed on the main queue\n */\n- (void)cachedImageExistsForURL:(nullable NSURL *)url\n                     completion:(nullable SDWebImageCheckCacheCompletionBlock)completionBlock;\n\n/**\n *  Async check if image has already been cached on disk only\n *\n *  @param url              image url\n *  @param completionBlock  the block to be executed when the check is finished\n *\n *  @note the completion block is always executed on the main queue\n */\n- (void)diskImageExistsForURL:(nullable NSURL *)url\n                   completion:(nullable SDWebImageCheckCacheCompletionBlock)completionBlock;\n\n\n/**\n *Return the cache key for a given URL\n */\n- (nullable NSString *)cacheKeyForURL:(nullable NSURL *)url;\n\n@end\n"
  },
  {
    "path": "CKMeiTuanShopView/Pods/SDWebImage/SDWebImage/SDWebImageManager.m",
    "content": "/*\n * This file is part of the SDWebImage package.\n * (c) Olivier Poitrey <rs@dailymotion.com>\n *\n * For the full copyright and license information, please view the LICENSE\n * file that was distributed with this source code.\n */\n\n#import \"SDWebImageManager.h\"\n#import \"NSImage+WebCache.h\"\n#import <objc/message.h>\n\n#define LOCK(lock) dispatch_semaphore_wait(lock, DISPATCH_TIME_FOREVER);\n#define UNLOCK(lock) dispatch_semaphore_signal(lock);\n\n@interface SDWebImageCombinedOperation : NSObject <SDWebImageOperation>\n\n@property (assign, nonatomic, getter = isCancelled) BOOL cancelled;\n@property (strong, nonatomic, nullable) SDWebImageDownloadToken *downloadToken;\n@property (strong, nonatomic, nullable) NSOperation *cacheOperation;\n@property (weak, nonatomic, nullable) SDWebImageManager *manager;\n\n@end\n\n@interface SDWebImageManager ()\n\n@property (strong, nonatomic, readwrite, nonnull) SDImageCache *imageCache;\n@property (strong, nonatomic, readwrite, nonnull) SDWebImageDownloader *imageDownloader;\n@property (strong, nonatomic, nonnull) NSMutableSet<NSURL *> *failedURLs;\n@property (strong, nonatomic, nonnull) dispatch_semaphore_t failedURLsLock; // a lock to keep the access to `failedURLs` thread-safe\n@property (strong, nonatomic, nonnull) NSMutableSet<SDWebImageCombinedOperation *> *runningOperations;\n@property (strong, nonatomic, nonnull) dispatch_semaphore_t runningOperationsLock; // a lock to keep the access to `runningOperations` thread-safe\n\n@end\n\n@implementation SDWebImageManager\n\n+ (nonnull instancetype)sharedManager {\n    static dispatch_once_t once;\n    static id instance;\n    dispatch_once(&once, ^{\n        instance = [self new];\n    });\n    return instance;\n}\n\n- (nonnull instancetype)init {\n    SDImageCache *cache = [SDImageCache sharedImageCache];\n    SDWebImageDownloader *downloader = [SDWebImageDownloader sharedDownloader];\n    return [self initWithCache:cache downloader:downloader];\n}\n\n- (nonnull instancetype)initWithCache:(nonnull SDImageCache *)cache downloader:(nonnull SDWebImageDownloader *)downloader {\n    if ((self = [super init])) {\n        _imageCache = cache;\n        _imageDownloader = downloader;\n        _failedURLs = [NSMutableSet new];\n        _failedURLsLock = dispatch_semaphore_create(1);\n        _runningOperations = [NSMutableSet new];\n        _runningOperationsLock = dispatch_semaphore_create(1);\n    }\n    return self;\n}\n\n- (nullable NSString *)cacheKeyForURL:(nullable NSURL *)url {\n    if (!url) {\n        return @\"\";\n    }\n\n    if (self.cacheKeyFilter) {\n        return self.cacheKeyFilter(url);\n    } else {\n        return url.absoluteString;\n    }\n}\n\n- (nullable UIImage *)scaledImageForKey:(nullable NSString *)key image:(nullable UIImage *)image {\n    return SDScaledImageForKey(key, image);\n}\n\n- (void)cachedImageExistsForURL:(nullable NSURL *)url\n                     completion:(nullable SDWebImageCheckCacheCompletionBlock)completionBlock {\n    NSString *key = [self cacheKeyForURL:url];\n    \n    BOOL isInMemoryCache = ([self.imageCache imageFromMemoryCacheForKey:key] != nil);\n    \n    if (isInMemoryCache) {\n        // making sure we call the completion block on the main queue\n        dispatch_async(dispatch_get_main_queue(), ^{\n            if (completionBlock) {\n                completionBlock(YES);\n            }\n        });\n        return;\n    }\n    \n    [self.imageCache diskImageExistsWithKey:key completion:^(BOOL isInDiskCache) {\n        // the completion block of checkDiskCacheForImageWithKey:completion: is always called on the main queue, no need to further dispatch\n        if (completionBlock) {\n            completionBlock(isInDiskCache);\n        }\n    }];\n}\n\n- (void)diskImageExistsForURL:(nullable NSURL *)url\n                   completion:(nullable SDWebImageCheckCacheCompletionBlock)completionBlock {\n    NSString *key = [self cacheKeyForURL:url];\n    \n    [self.imageCache diskImageExistsWithKey:key completion:^(BOOL isInDiskCache) {\n        // the completion block of checkDiskCacheForImageWithKey:completion: is always called on the main queue, no need to further dispatch\n        if (completionBlock) {\n            completionBlock(isInDiskCache);\n        }\n    }];\n}\n\n- (id <SDWebImageOperation>)loadImageWithURL:(nullable NSURL *)url\n                                     options:(SDWebImageOptions)options\n                                    progress:(nullable SDWebImageDownloaderProgressBlock)progressBlock\n                                   completed:(nullable SDInternalCompletionBlock)completedBlock {\n    // Invoking this method without a completedBlock is pointless\n    NSAssert(completedBlock != nil, @\"If you mean to prefetch the image, use -[SDWebImagePrefetcher prefetchURLs] instead\");\n\n    // Very common mistake is to send the URL using NSString object instead of NSURL. For some strange reason, Xcode won't\n    // throw any warning for this type mismatch. Here we failsafe this error by allowing URLs to be passed as NSString.\n    if ([url isKindOfClass:NSString.class]) {\n        url = [NSURL URLWithString:(NSString *)url];\n    }\n\n    // Prevents app crashing on argument type error like sending NSNull instead of NSURL\n    if (![url isKindOfClass:NSURL.class]) {\n        url = nil;\n    }\n\n    SDWebImageCombinedOperation *operation = [SDWebImageCombinedOperation new];\n    operation.manager = self;\n\n    BOOL isFailedUrl = NO;\n    if (url) {\n        LOCK(self.failedURLsLock);\n        isFailedUrl = [self.failedURLs containsObject:url];\n        UNLOCK(self.failedURLsLock);\n    }\n\n    if (url.absoluteString.length == 0 || (!(options & SDWebImageRetryFailed) && isFailedUrl)) {\n        [self callCompletionBlockForOperation:operation completion:completedBlock error:[NSError errorWithDomain:NSURLErrorDomain code:NSURLErrorFileDoesNotExist userInfo:nil] url:url];\n        return operation;\n    }\n\n    LOCK(self.runningOperationsLock);\n    [self.runningOperations addObject:operation];\n    UNLOCK(self.runningOperationsLock);\n    NSString *key = [self cacheKeyForURL:url];\n    \n    SDImageCacheOptions cacheOptions = 0;\n    if (options & SDWebImageQueryDataWhenInMemory) cacheOptions |= SDImageCacheQueryDataWhenInMemory;\n    if (options & SDWebImageQueryDiskSync) cacheOptions |= SDImageCacheQueryDiskSync;\n    if (options & SDWebImageScaleDownLargeImages) cacheOptions |= SDImageCacheScaleDownLargeImages;\n    \n    __weak SDWebImageCombinedOperation *weakOperation = operation;\n    operation.cacheOperation = [self.imageCache queryCacheOperationForKey:key options:cacheOptions done:^(UIImage *cachedImage, NSData *cachedData, SDImageCacheType cacheType) {\n        __strong __typeof(weakOperation) strongOperation = weakOperation;\n        if (!strongOperation || strongOperation.isCancelled) {\n            [self safelyRemoveOperationFromRunning:strongOperation];\n            return;\n        }\n        \n        // Check whether we should download image from network\n        BOOL shouldDownload = (!(options & SDWebImageFromCacheOnly))\n            && (!cachedImage || options & SDWebImageRefreshCached)\n            && (![self.delegate respondsToSelector:@selector(imageManager:shouldDownloadImageForURL:)] || [self.delegate imageManager:self shouldDownloadImageForURL:url]);\n        if (shouldDownload) {\n            if (cachedImage && options & SDWebImageRefreshCached) {\n                // If image was found in the cache but SDWebImageRefreshCached is provided, notify about the cached image\n                // AND try to re-download it in order to let a chance to NSURLCache to refresh it from server.\n                [self callCompletionBlockForOperation:strongOperation completion:completedBlock image:cachedImage data:cachedData error:nil cacheType:cacheType finished:YES url:url];\n            }\n\n            // download if no image or requested to refresh anyway, and download allowed by delegate\n            SDWebImageDownloaderOptions downloaderOptions = 0;\n            if (options & SDWebImageLowPriority) downloaderOptions |= SDWebImageDownloaderLowPriority;\n            if (options & SDWebImageProgressiveDownload) downloaderOptions |= SDWebImageDownloaderProgressiveDownload;\n            if (options & SDWebImageRefreshCached) downloaderOptions |= SDWebImageDownloaderUseNSURLCache;\n            if (options & SDWebImageContinueInBackground) downloaderOptions |= SDWebImageDownloaderContinueInBackground;\n            if (options & SDWebImageHandleCookies) downloaderOptions |= SDWebImageDownloaderHandleCookies;\n            if (options & SDWebImageAllowInvalidSSLCertificates) downloaderOptions |= SDWebImageDownloaderAllowInvalidSSLCertificates;\n            if (options & SDWebImageHighPriority) downloaderOptions |= SDWebImageDownloaderHighPriority;\n            if (options & SDWebImageScaleDownLargeImages) downloaderOptions |= SDWebImageDownloaderScaleDownLargeImages;\n            \n            if (cachedImage && options & SDWebImageRefreshCached) {\n                // force progressive off if image already cached but forced refreshing\n                downloaderOptions &= ~SDWebImageDownloaderProgressiveDownload;\n                // ignore image read from NSURLCache if image if cached but force refreshing\n                downloaderOptions |= SDWebImageDownloaderIgnoreCachedResponse;\n            }\n            \n            // `SDWebImageCombinedOperation` -> `SDWebImageDownloadToken` -> `downloadOperationCancelToken`, which is a `SDCallbacksDictionary` and retain the completed block below, so we need weak-strong again to avoid retain cycle\n            __weak typeof(strongOperation) weakSubOperation = strongOperation;\n            strongOperation.downloadToken = [self.imageDownloader downloadImageWithURL:url options:downloaderOptions progress:progressBlock completed:^(UIImage *downloadedImage, NSData *downloadedData, NSError *error, BOOL finished) {\n                __strong typeof(weakSubOperation) strongSubOperation = weakSubOperation;\n                if (!strongSubOperation || strongSubOperation.isCancelled) {\n                    // Do nothing if the operation was cancelled\n                    // See #699 for more details\n                    // if we would call the completedBlock, there could be a race condition between this block and another completedBlock for the same object, so if this one is called second, we will overwrite the new data\n                } else if (error) {\n                    [self callCompletionBlockForOperation:strongSubOperation completion:completedBlock error:error url:url];\n                    BOOL shouldBlockFailedURL;\n                    // Check whether we should block failed url\n                    if ([self.delegate respondsToSelector:@selector(imageManager:shouldBlockFailedURL:withError:)]) {\n                        shouldBlockFailedURL = [self.delegate imageManager:self shouldBlockFailedURL:url withError:error];\n                    } else {\n                        shouldBlockFailedURL = (   error.code != NSURLErrorNotConnectedToInternet\n                                                && error.code != NSURLErrorCancelled\n                                                && error.code != NSURLErrorTimedOut\n                                                && error.code != NSURLErrorInternationalRoamingOff\n                                                && error.code != NSURLErrorDataNotAllowed\n                                                && error.code != NSURLErrorCannotFindHost\n                                                && error.code != NSURLErrorCannotConnectToHost\n                                                && error.code != NSURLErrorNetworkConnectionLost);\n                    }\n                    \n                    if (shouldBlockFailedURL) {\n                        LOCK(self.failedURLsLock);\n                        [self.failedURLs addObject:url];\n                        UNLOCK(self.failedURLsLock);\n                    }\n                }\n                else {\n                    if ((options & SDWebImageRetryFailed)) {\n                        LOCK(self.failedURLsLock);\n                        [self.failedURLs removeObject:url];\n                        UNLOCK(self.failedURLsLock);\n                    }\n                    \n                    BOOL cacheOnDisk = !(options & SDWebImageCacheMemoryOnly);\n                    \n                    // We've done the scale process in SDWebImageDownloader with the shared manager, this is used for custom manager and avoid extra scale.\n                    if (self != [SDWebImageManager sharedManager] && self.cacheKeyFilter && downloadedImage) {\n                        downloadedImage = [self scaledImageForKey:key image:downloadedImage];\n                    }\n\n                    if (options & SDWebImageRefreshCached && cachedImage && !downloadedImage) {\n                        // Image refresh hit the NSURLCache cache, do not call the completion block\n                    } else if (downloadedImage && (!downloadedImage.images || (options & SDWebImageTransformAnimatedImage)) && [self.delegate respondsToSelector:@selector(imageManager:transformDownloadedImage:withURL:)]) {\n                        dispatch_async(dispatch_get_global_queue(DISPATCH_QUEUE_PRIORITY_HIGH, 0), ^{\n                            UIImage *transformedImage = [self.delegate imageManager:self transformDownloadedImage:downloadedImage withURL:url];\n\n                            if (transformedImage && finished) {\n                                BOOL imageWasTransformed = ![transformedImage isEqual:downloadedImage];\n                                NSData *cacheData;\n                                // pass nil if the image was transformed, so we can recalculate the data from the image\n                                if (self.cacheSerializer) {\n                                    cacheData = self.cacheSerializer(transformedImage, (imageWasTransformed ? nil : downloadedData), url);\n                                } else {\n                                    cacheData = (imageWasTransformed ? nil : downloadedData);\n                                }\n                                [self.imageCache storeImage:transformedImage imageData:cacheData forKey:key toDisk:cacheOnDisk completion:nil];\n                            }\n                            \n                            [self callCompletionBlockForOperation:strongSubOperation completion:completedBlock image:transformedImage data:downloadedData error:nil cacheType:SDImageCacheTypeNone finished:finished url:url];\n                        });\n                    } else {\n                        if (downloadedImage && finished) {\n                            if (self.cacheSerializer) {\n                                dispatch_async(dispatch_get_global_queue(DISPATCH_QUEUE_PRIORITY_HIGH, 0), ^{\n                                    NSData *cacheData = self.cacheSerializer(downloadedImage, downloadedData, url);\n                                    [self.imageCache storeImage:downloadedImage imageData:cacheData forKey:key toDisk:cacheOnDisk completion:nil];\n                                });\n                            } else {\n                                [self.imageCache storeImage:downloadedImage imageData:downloadedData forKey:key toDisk:cacheOnDisk completion:nil];\n                            }\n                        }\n                        [self callCompletionBlockForOperation:strongSubOperation completion:completedBlock image:downloadedImage data:downloadedData error:nil cacheType:SDImageCacheTypeNone finished:finished url:url];\n                    }\n                }\n\n                if (finished) {\n                    [self safelyRemoveOperationFromRunning:strongSubOperation];\n                }\n            }];\n        } else if (cachedImage) {\n            [self callCompletionBlockForOperation:strongOperation completion:completedBlock image:cachedImage data:cachedData error:nil cacheType:cacheType finished:YES url:url];\n            [self safelyRemoveOperationFromRunning:strongOperation];\n        } else {\n            // Image not in cache and download disallowed by delegate\n            [self callCompletionBlockForOperation:strongOperation completion:completedBlock image:nil data:nil error:nil cacheType:SDImageCacheTypeNone finished:YES url:url];\n            [self safelyRemoveOperationFromRunning:strongOperation];\n        }\n    }];\n\n    return operation;\n}\n\n- (void)saveImageToCache:(nullable UIImage *)image forURL:(nullable NSURL *)url {\n    if (image && url) {\n        NSString *key = [self cacheKeyForURL:url];\n        [self.imageCache storeImage:image forKey:key toDisk:YES completion:nil];\n    }\n}\n\n- (void)cancelAll {\n    LOCK(self.runningOperationsLock);\n    NSSet<SDWebImageCombinedOperation *> *copiedOperations = [self.runningOperations copy];\n    UNLOCK(self.runningOperationsLock);\n    [copiedOperations makeObjectsPerformSelector:@selector(cancel)]; // This will call `safelyRemoveOperationFromRunning:` and remove from the array\n}\n\n- (BOOL)isRunning {\n    BOOL isRunning = NO;\n    LOCK(self.runningOperationsLock);\n    isRunning = (self.runningOperations.count > 0);\n    UNLOCK(self.runningOperationsLock);\n    return isRunning;\n}\n\n- (void)safelyRemoveOperationFromRunning:(nullable SDWebImageCombinedOperation*)operation {\n    if (!operation) {\n        return;\n    }\n    LOCK(self.runningOperationsLock);\n    [self.runningOperations removeObject:operation];\n    UNLOCK(self.runningOperationsLock);\n}\n\n- (void)callCompletionBlockForOperation:(nullable SDWebImageCombinedOperation*)operation\n                             completion:(nullable SDInternalCompletionBlock)completionBlock\n                                  error:(nullable NSError *)error\n                                    url:(nullable NSURL *)url {\n    [self callCompletionBlockForOperation:operation completion:completionBlock image:nil data:nil error:error cacheType:SDImageCacheTypeNone finished:YES url:url];\n}\n\n- (void)callCompletionBlockForOperation:(nullable SDWebImageCombinedOperation*)operation\n                             completion:(nullable SDInternalCompletionBlock)completionBlock\n                                  image:(nullable UIImage *)image\n                                   data:(nullable NSData *)data\n                                  error:(nullable NSError *)error\n                              cacheType:(SDImageCacheType)cacheType\n                               finished:(BOOL)finished\n                                    url:(nullable NSURL *)url {\n    dispatch_main_async_safe(^{\n        if (operation && !operation.isCancelled && completionBlock) {\n            completionBlock(image, data, error, cacheType, finished, url);\n        }\n    });\n}\n\n@end\n\n\n@implementation SDWebImageCombinedOperation\n\n- (void)cancel {\n    @synchronized(self) {\n        self.cancelled = YES;\n        if (self.cacheOperation) {\n            [self.cacheOperation cancel];\n            self.cacheOperation = nil;\n        }\n        if (self.downloadToken) {\n            [self.manager.imageDownloader cancel:self.downloadToken];\n        }\n        [self.manager safelyRemoveOperationFromRunning:self];\n    }\n}\n\n@end\n"
  },
  {
    "path": "CKMeiTuanShopView/Pods/SDWebImage/SDWebImage/SDWebImageOperation.h",
    "content": "/*\n * This file is part of the SDWebImage package.\n * (c) Olivier Poitrey <rs@dailymotion.com>\n *\n * For the full copyright and license information, please view the LICENSE\n * file that was distributed with this source code.\n */\n\n#import <Foundation/Foundation.h>\n\n@protocol SDWebImageOperation <NSObject>\n\n- (void)cancel;\n\n@end\n"
  },
  {
    "path": "CKMeiTuanShopView/Pods/SDWebImage/SDWebImage/SDWebImagePrefetcher.h",
    "content": "/*\n * This file is part of the SDWebImage package.\n * (c) Olivier Poitrey <rs@dailymotion.com>\n *\n * For the full copyright and license information, please view the LICENSE\n * file that was distributed with this source code.\n */\n\n#import <Foundation/Foundation.h>\n#import \"SDWebImageManager.h\"\n\n@class SDWebImagePrefetcher;\n\n@protocol SDWebImagePrefetcherDelegate <NSObject>\n\n@optional\n\n/**\n * Called when an image was prefetched.\n *\n * @param imagePrefetcher The current image prefetcher\n * @param imageURL        The image url that was prefetched\n * @param finishedCount   The total number of images that were prefetched (successful or not)\n * @param totalCount      The total number of images that were to be prefetched\n */\n- (void)imagePrefetcher:(nonnull SDWebImagePrefetcher *)imagePrefetcher didPrefetchURL:(nullable NSURL *)imageURL finishedCount:(NSUInteger)finishedCount totalCount:(NSUInteger)totalCount;\n\n/**\n * Called when all images are prefetched.\n * @param imagePrefetcher The current image prefetcher\n * @param totalCount      The total number of images that were prefetched (whether successful or not)\n * @param skippedCount    The total number of images that were skipped\n */\n- (void)imagePrefetcher:(nonnull SDWebImagePrefetcher *)imagePrefetcher didFinishWithTotalCount:(NSUInteger)totalCount skippedCount:(NSUInteger)skippedCount;\n\n@end\n\ntypedef void(^SDWebImagePrefetcherProgressBlock)(NSUInteger noOfFinishedUrls, NSUInteger noOfTotalUrls);\ntypedef void(^SDWebImagePrefetcherCompletionBlock)(NSUInteger noOfFinishedUrls, NSUInteger noOfSkippedUrls);\n\n/**\n * Prefetch some URLs in the cache for future use. Images are downloaded in low priority.\n */\n@interface SDWebImagePrefetcher : NSObject\n\n/**\n *  The web image manager\n */\n@property (strong, nonatomic, readonly, nonnull) SDWebImageManager *manager;\n\n/**\n * Maximum number of URLs to prefetch at the same time. Defaults to 3.\n */\n@property (nonatomic, assign) NSUInteger maxConcurrentDownloads;\n\n/**\n * SDWebImageOptions for prefetcher. Defaults to SDWebImageLowPriority.\n */\n@property (nonatomic, assign) SDWebImageOptions options;\n\n/**\n * Queue options for Prefetcher. Defaults to Main Queue.\n */\n@property (strong, nonatomic, nonnull) dispatch_queue_t prefetcherQueue;\n\n@property (weak, nonatomic, nullable) id <SDWebImagePrefetcherDelegate> delegate;\n\n/**\n * Return the global image prefetcher instance.\n */\n+ (nonnull instancetype)sharedImagePrefetcher;\n\n/**\n * Allows you to instantiate a prefetcher with any arbitrary image manager.\n */\n- (nonnull instancetype)initWithImageManager:(nonnull SDWebImageManager *)manager NS_DESIGNATED_INITIALIZER;\n\n/**\n * Assign list of URLs to let SDWebImagePrefetcher to queue the prefetching,\n * currently one image is downloaded at a time,\n * and skips images for failed downloads and proceed to the next image in the list.\n * Any previously-running prefetch operations are canceled.\n *\n * @param urls list of URLs to prefetch\n */\n- (void)prefetchURLs:(nullable NSArray<NSURL *> *)urls;\n\n/**\n * Assign list of URLs to let SDWebImagePrefetcher to queue the prefetching,\n * currently one image is downloaded at a time,\n * and skips images for failed downloads and proceed to the next image in the list.\n * Any previously-running prefetch operations are canceled.\n *\n * @param urls            list of URLs to prefetch\n * @param progressBlock   block to be called when progress updates; \n *                        first parameter is the number of completed (successful or not) requests, \n *                        second parameter is the total number of images originally requested to be prefetched\n * @param completionBlock block to be called when prefetching is completed\n *                        first param is the number of completed (successful or not) requests,\n *                        second parameter is the number of skipped requests\n */\n- (void)prefetchURLs:(nullable NSArray<NSURL *> *)urls\n            progress:(nullable SDWebImagePrefetcherProgressBlock)progressBlock\n           completed:(nullable SDWebImagePrefetcherCompletionBlock)completionBlock;\n\n/**\n * Remove and cancel queued list\n */\n- (void)cancelPrefetching;\n\n\n@end\n"
  },
  {
    "path": "CKMeiTuanShopView/Pods/SDWebImage/SDWebImage/SDWebImagePrefetcher.m",
    "content": "/*\n * This file is part of the SDWebImage package.\n * (c) Olivier Poitrey <rs@dailymotion.com>\n *\n * For the full copyright and license information, please view the LICENSE\n * file that was distributed with this source code.\n */\n\n#import \"SDWebImagePrefetcher.h\"\n\n@interface SDWebImagePrefetcher ()\n\n@property (strong, nonatomic, nonnull) SDWebImageManager *manager;\n@property (strong, atomic, nullable) NSArray<NSURL *> *prefetchURLs; // may be accessed from different queue\n@property (assign, nonatomic) NSUInteger requestedCount;\n@property (assign, nonatomic) NSUInteger skippedCount;\n@property (assign, nonatomic) NSUInteger finishedCount;\n@property (assign, nonatomic) NSTimeInterval startedTime;\n@property (copy, nonatomic, nullable) SDWebImagePrefetcherCompletionBlock completionBlock;\n@property (copy, nonatomic, nullable) SDWebImagePrefetcherProgressBlock progressBlock;\n\n@end\n\n@implementation SDWebImagePrefetcher\n\n+ (nonnull instancetype)sharedImagePrefetcher {\n    static dispatch_once_t once;\n    static id instance;\n    dispatch_once(&once, ^{\n        instance = [self new];\n    });\n    return instance;\n}\n\n- (nonnull instancetype)init {\n    return [self initWithImageManager:[SDWebImageManager new]];\n}\n\n- (nonnull instancetype)initWithImageManager:(SDWebImageManager *)manager {\n    if ((self = [super init])) {\n        _manager = manager;\n        _options = SDWebImageLowPriority;\n        _prefetcherQueue = dispatch_get_main_queue();\n        self.maxConcurrentDownloads = 3;\n    }\n    return self;\n}\n\n- (void)setMaxConcurrentDownloads:(NSUInteger)maxConcurrentDownloads {\n    self.manager.imageDownloader.maxConcurrentDownloads = maxConcurrentDownloads;\n}\n\n- (NSUInteger)maxConcurrentDownloads {\n    return self.manager.imageDownloader.maxConcurrentDownloads;\n}\n\n- (void)startPrefetchingAtIndex:(NSUInteger)index {\n    NSURL *currentURL;\n    @synchronized(self) {\n        if (index >= self.prefetchURLs.count) return;\n        currentURL = self.prefetchURLs[index];\n        self.requestedCount++;\n    }\n    [self.manager loadImageWithURL:currentURL options:self.options progress:nil completed:^(UIImage *image, NSData *data, NSError *error, SDImageCacheType cacheType, BOOL finished, NSURL *imageURL) {\n        if (!finished) return;\n        self.finishedCount++;\n\n        if (self.progressBlock) {\n            self.progressBlock(self.finishedCount,(self.prefetchURLs).count);\n        }\n        if (!image) {\n            // Add last failed\n            self.skippedCount++;\n        }\n        if ([self.delegate respondsToSelector:@selector(imagePrefetcher:didPrefetchURL:finishedCount:totalCount:)]) {\n            [self.delegate imagePrefetcher:self\n                            didPrefetchURL:currentURL\n                             finishedCount:self.finishedCount\n                                totalCount:self.prefetchURLs.count\n             ];\n        }\n        if (self.prefetchURLs.count > self.requestedCount) {\n            dispatch_async(self.prefetcherQueue, ^{\n                // we need dispatch to avoid function recursion call. This can prevent stack overflow even for huge urls list\n                [self startPrefetchingAtIndex:self.requestedCount];\n            });\n        } else if (self.finishedCount == self.requestedCount) {\n            [self reportStatus];\n            if (self.completionBlock) {\n                self.completionBlock(self.finishedCount, self.skippedCount);\n                self.completionBlock = nil;\n            }\n            self.progressBlock = nil;\n        }\n    }];\n}\n\n- (void)reportStatus {\n    NSUInteger total = (self.prefetchURLs).count;\n    if ([self.delegate respondsToSelector:@selector(imagePrefetcher:didFinishWithTotalCount:skippedCount:)]) {\n        [self.delegate imagePrefetcher:self\n               didFinishWithTotalCount:(total - self.skippedCount)\n                          skippedCount:self.skippedCount\n         ];\n    }\n}\n\n- (void)prefetchURLs:(nullable NSArray<NSURL *> *)urls {\n    [self prefetchURLs:urls progress:nil completed:nil];\n}\n\n- (void)prefetchURLs:(nullable NSArray<NSURL *> *)urls\n            progress:(nullable SDWebImagePrefetcherProgressBlock)progressBlock\n           completed:(nullable SDWebImagePrefetcherCompletionBlock)completionBlock {\n    [self cancelPrefetching]; // Prevent duplicate prefetch request\n    self.startedTime = CFAbsoluteTimeGetCurrent();\n    self.prefetchURLs = urls;\n    self.completionBlock = completionBlock;\n    self.progressBlock = progressBlock;\n\n    if (urls.count == 0) {\n        if (completionBlock) {\n            completionBlock(0,0);\n        }\n    } else {\n        // Starts prefetching from the very first image on the list with the max allowed concurrency\n        NSUInteger listCount = self.prefetchURLs.count;\n        for (NSUInteger i = 0; i < self.maxConcurrentDownloads && self.requestedCount < listCount; i++) {\n            [self startPrefetchingAtIndex:i];\n        }\n    }\n}\n\n- (void)cancelPrefetching {\n    @synchronized(self) {\n        self.prefetchURLs = nil;\n        self.skippedCount = 0;\n        self.requestedCount = 0;\n        self.finishedCount = 0;\n    }\n    [self.manager cancelAll];\n}\n\n@end\n"
  },
  {
    "path": "CKMeiTuanShopView/Pods/SDWebImage/SDWebImage/SDWebImageTransition.h",
    "content": "/*\n * This file is part of the SDWebImage package.\n * (c) Olivier Poitrey <rs@dailymotion.com>\n *\n * For the full copyright and license information, please view the LICENSE\n * file that was distributed with this source code.\n */\n\n#import \"SDWebImageCompat.h\"\n\n#if SD_UIKIT || SD_MAC\n#import \"SDImageCache.h\"\n\n// This class is used to provide a transition animation after the view category load image finished. Use this on `sd_imageTransition` in UIView+WebCache.h\n// for UIKit(iOS & tvOS), we use `+[UIView transitionWithView:duration:options:animations:completion]` for transition animation.\n// for AppKit(macOS), we use `+[NSAnimationContext runAnimationGroup:completionHandler:]` for transition animation. You can call `+[NSAnimationContext currentContext]` to grab the context during animations block.\n// These transition are provided for basic usage. If you need complicated animation, consider to directly use Core Animation or use `SDWebImageAvoidAutoSetImage` and implement your own after image load finished.\n\n#if SD_UIKIT\ntypedef UIViewAnimationOptions SDWebImageAnimationOptions;\n#else\ntypedef NS_OPTIONS(NSUInteger, SDWebImageAnimationOptions) {\n    SDWebImageAnimationOptionAllowsImplicitAnimation = 1 << 0, // specify `allowsImplicitAnimation` for the `NSAnimationContext`\n};\n#endif\n\ntypedef void (^SDWebImageTransitionPreparesBlock)(__kindof UIView * _Nonnull view, UIImage * _Nullable image, NSData * _Nullable imageData, SDImageCacheType cacheType, NSURL * _Nullable imageURL);\ntypedef void (^SDWebImageTransitionAnimationsBlock)(__kindof UIView * _Nonnull view, UIImage * _Nullable image);\ntypedef void (^SDWebImageTransitionCompletionBlock)(BOOL finished);\n\n@interface SDWebImageTransition : NSObject\n\n/**\n By default, we set the image to the view at the beginning of the animtions. You can disable this and provide custom set image process\n */\n@property (nonatomic, assign) BOOL avoidAutoSetImage;\n/**\n The duration of the transition animation, measured in seconds. Defaults to 0.5.\n */\n@property (nonatomic, assign) NSTimeInterval duration;\n/**\n The timing function used for all animations within this transition animation (macOS).\n */\n@property (nonatomic, strong, nullable) CAMediaTimingFunction *timingFunction NS_AVAILABLE_MAC(10_7);\n/**\n A mask of options indicating how you want to perform the animations.\n */\n@property (nonatomic, assign) SDWebImageAnimationOptions animationOptions;\n/**\n A block object to be executed before the animation sequence starts.\n */\n@property (nonatomic, copy, nullable) SDWebImageTransitionPreparesBlock prepares;\n/**\n A block object that contains the changes you want to make to the specified view.\n */\n@property (nonatomic, copy, nullable) SDWebImageTransitionAnimationsBlock animations;\n/**\n A block object to be executed when the animation sequence ends.\n */\n@property (nonatomic, copy, nullable) SDWebImageTransitionCompletionBlock completion;\n\n@end\n\n// Convenience way to create transition. Remember to specify the duration if needed.\n// for UIKit, these transition just use the correspond `animationOptions`. By default we enable `UIViewAnimationOptionAllowUserInteraction` to allow user interaction during transition.\n// for AppKit, these transition use Core Animation in `animations`. So your view must be layer-backed. Set `wantsLayer = YES` before you apply it.\n\n@interface SDWebImageTransition (Conveniences)\n\n// class property is available in Xcode 8. We will drop the Xcode 7.3 support in 5.x\n#if __has_feature(objc_class_property)\n/// Fade transition.\n@property (nonatomic, class, nonnull, readonly) SDWebImageTransition *fadeTransition;\n/// Flip from left transition.\n@property (nonatomic, class, nonnull, readonly) SDWebImageTransition *flipFromLeftTransition;\n/// Flip from right transition.\n@property (nonatomic, class, nonnull, readonly) SDWebImageTransition *flipFromRightTransition;\n/// Flip from top transition.\n@property (nonatomic, class, nonnull, readonly) SDWebImageTransition *flipFromTopTransition;\n/// Flip from bottom transition.\n@property (nonatomic, class, nonnull, readonly) SDWebImageTransition *flipFromBottomTransition;\n/// Curl up transition.\n@property (nonatomic, class, nonnull, readonly) SDWebImageTransition *curlUpTransition;\n/// Curl down transition.\n@property (nonatomic, class, nonnull, readonly) SDWebImageTransition *curlDownTransition;\n#else\n+ (nonnull instancetype)fadeTransition;\n+ (nonnull instancetype)flipFromLeftTransition;\n+ (nonnull instancetype)flipFromRightTransition;\n+ (nonnull instancetype)flipFromTopTransition;\n+ (nonnull instancetype)flipFromBottomTransition;\n+ (nonnull instancetype)curlUpTransition;\n+ (nonnull instancetype)curlDownTransition;\n#endif\n\n@end\n\n#endif\n"
  },
  {
    "path": "CKMeiTuanShopView/Pods/SDWebImage/SDWebImage/SDWebImageTransition.m",
    "content": "/*\n * This file is part of the SDWebImage package.\n * (c) Olivier Poitrey <rs@dailymotion.com>\n *\n * For the full copyright and license information, please view the LICENSE\n * file that was distributed with this source code.\n */\n\n#import \"SDWebImageTransition.h\"\n\n#if SD_UIKIT || SD_MAC\n\n#if SD_MAC\n#import <QuartzCore/QuartzCore.h>\n#endif\n\n@implementation SDWebImageTransition\n\n- (instancetype)init {\n    self = [super init];\n    if (self) {\n        self.duration = 0.5;\n    }\n    return self;\n}\n\n@end\n\n@implementation SDWebImageTransition (Conveniences)\n\n+ (SDWebImageTransition *)fadeTransition {\n    SDWebImageTransition *transition = [SDWebImageTransition new];\n#if SD_UIKIT\n    transition.animationOptions = UIViewAnimationOptionTransitionCrossDissolve | UIViewAnimationOptionAllowUserInteraction;\n#else\n    transition.animations = ^(__kindof NSView * _Nonnull view, NSImage * _Nullable image) {\n        CATransition *trans = [CATransition animation];\n        trans.type = kCATransitionFade;\n        [view.layer addAnimation:trans forKey:kCATransition];\n    };\n#endif\n    return transition;\n}\n\n+ (SDWebImageTransition *)flipFromLeftTransition {\n    SDWebImageTransition *transition = [SDWebImageTransition new];\n#if SD_UIKIT\n    transition.animationOptions = UIViewAnimationOptionTransitionFlipFromLeft | UIViewAnimationOptionAllowUserInteraction;\n#else\n    transition.animations = ^(__kindof NSView * _Nonnull view, NSImage * _Nullable image) {\n        CATransition *trans = [CATransition animation];\n        trans.type = kCATransitionPush;\n        trans.subtype = kCATransitionFromLeft;\n        [view.layer addAnimation:trans forKey:kCATransition];\n    };\n#endif\n    return transition;\n}\n\n+ (SDWebImageTransition *)flipFromRightTransition {\n    SDWebImageTransition *transition = [SDWebImageTransition new];\n#if SD_UIKIT\n    transition.animationOptions = UIViewAnimationOptionTransitionFlipFromRight | UIViewAnimationOptionAllowUserInteraction;\n#else\n    transition.animations = ^(__kindof NSView * _Nonnull view, NSImage * _Nullable image) {\n        CATransition *trans = [CATransition animation];\n        trans.type = kCATransitionPush;\n        trans.subtype = kCATransitionFromRight;\n        [view.layer addAnimation:trans forKey:kCATransition];\n    };\n#endif\n    return transition;\n}\n\n+ (SDWebImageTransition *)flipFromTopTransition {\n    SDWebImageTransition *transition = [SDWebImageTransition new];\n#if SD_UIKIT\n    transition.animationOptions = UIViewAnimationOptionTransitionFlipFromTop | UIViewAnimationOptionAllowUserInteraction;\n#else\n    transition.animations = ^(__kindof NSView * _Nonnull view, NSImage * _Nullable image) {\n        CATransition *trans = [CATransition animation];\n        trans.type = kCATransitionPush;\n        trans.subtype = kCATransitionFromTop;\n        [view.layer addAnimation:trans forKey:kCATransition];\n    };\n#endif\n    return transition;\n}\n\n+ (SDWebImageTransition *)flipFromBottomTransition {\n    SDWebImageTransition *transition = [SDWebImageTransition new];\n#if SD_UIKIT\n    transition.animationOptions = UIViewAnimationOptionTransitionFlipFromBottom | UIViewAnimationOptionAllowUserInteraction;\n#else\n    transition.animations = ^(__kindof NSView * _Nonnull view, NSImage * _Nullable image) {\n        CATransition *trans = [CATransition animation];\n        trans.type = kCATransitionPush;\n        trans.subtype = kCATransitionFromBottom;\n        [view.layer addAnimation:trans forKey:kCATransition];\n    };\n#endif\n    return transition;\n}\n\n+ (SDWebImageTransition *)curlUpTransition {\n    SDWebImageTransition *transition = [SDWebImageTransition new];\n#if SD_UIKIT\n    transition.animationOptions = UIViewAnimationOptionTransitionCurlUp | UIViewAnimationOptionAllowUserInteraction;\n#else\n    transition.animations = ^(__kindof NSView * _Nonnull view, NSImage * _Nullable image) {\n        CATransition *trans = [CATransition animation];\n        trans.type = kCATransitionReveal;\n        trans.subtype = kCATransitionFromTop;\n        [view.layer addAnimation:trans forKey:kCATransition];\n    };\n#endif\n    return transition;\n}\n\n+ (SDWebImageTransition *)curlDownTransition {\n    SDWebImageTransition *transition = [SDWebImageTransition new];\n#if SD_UIKIT\n    transition.animationOptions = UIViewAnimationOptionTransitionCurlDown | UIViewAnimationOptionAllowUserInteraction;\n#else\n    transition.animations = ^(__kindof NSView * _Nonnull view, NSImage * _Nullable image) {\n        CATransition *trans = [CATransition animation];\n        trans.type = kCATransitionReveal;\n        trans.subtype = kCATransitionFromBottom;\n        [view.layer addAnimation:trans forKey:kCATransition];\n    };\n#endif\n    return transition;\n}\n\n@end\n\n#endif\n"
  },
  {
    "path": "CKMeiTuanShopView/Pods/SDWebImage/SDWebImage/UIButton+WebCache.h",
    "content": "/*\n * This file is part of the SDWebImage package.\n * (c) Olivier Poitrey <rs@dailymotion.com>\n *\n * For the full copyright and license information, please view the LICENSE\n * file that was distributed with this source code.\n */\n\n#import \"SDWebImageCompat.h\"\n\n#if SD_UIKIT\n\n#import \"SDWebImageManager.h\"\n\n/**\n * Integrates SDWebImage async downloading and caching of remote images with UIButtonView.\n */\n@interface UIButton (WebCache)\n\n#pragma mark - Image\n\n/**\n * Get the current image URL.\n */\n- (nullable NSURL *)sd_currentImageURL;\n\n/**\n * Get the image URL for a control state.\n * \n * @param state Which state you want to know the URL for. The values are described in UIControlState.\n */\n- (nullable NSURL *)sd_imageURLForState:(UIControlState)state;\n\n/**\n * Set the imageView `image` with an `url`.\n *\n * The download is asynchronous and cached.\n *\n * @param url   The url for the image.\n * @param state The state that uses the specified title. The values are described in UIControlState.\n */\n- (void)sd_setImageWithURL:(nullable NSURL *)url\n                  forState:(UIControlState)state NS_REFINED_FOR_SWIFT;\n\n/**\n * Set the imageView `image` with an `url` and a placeholder.\n *\n * The download is asynchronous and cached.\n *\n * @param url         The url for the image.\n * @param state       The state that uses the specified title. The values are described in UIControlState.\n * @param placeholder The image to be set initially, until the image request finishes.\n * @see sd_setImageWithURL:placeholderImage:options:\n */\n- (void)sd_setImageWithURL:(nullable NSURL *)url\n                  forState:(UIControlState)state\n          placeholderImage:(nullable UIImage *)placeholder NS_REFINED_FOR_SWIFT;\n\n/**\n * Set the imageView `image` with an `url`, placeholder and custom options.\n *\n * The download is asynchronous and cached.\n *\n * @param url         The url for the image.\n * @param state       The state that uses the specified title. The values are described in UIControlState.\n * @param placeholder The image to be set initially, until the image request finishes.\n * @param options     The options to use when downloading the image. @see SDWebImageOptions for the possible values.\n */\n- (void)sd_setImageWithURL:(nullable NSURL *)url\n                  forState:(UIControlState)state\n          placeholderImage:(nullable UIImage *)placeholder\n                   options:(SDWebImageOptions)options NS_REFINED_FOR_SWIFT;\n\n/**\n * Set the imageView `image` with an `url`.\n *\n * The download is asynchronous and cached.\n *\n * @param url            The url for the image.\n * @param state          The state that uses the specified title. The values are described in UIControlState.\n * @param completedBlock A block called when operation has been completed. This block has no return value\n *                       and takes the requested UIImage as first parameter. In case of error the image parameter\n *                       is nil and the second parameter may contain an NSError. The third parameter is a Boolean\n *                       indicating if the image was retrieved from the local cache or from the network.\n *                       The fourth parameter is the original image url.\n */\n- (void)sd_setImageWithURL:(nullable NSURL *)url\n                  forState:(UIControlState)state\n                 completed:(nullable SDExternalCompletionBlock)completedBlock;\n\n/**\n * Set the imageView `image` with an `url`, placeholder.\n *\n * The download is asynchronous and cached.\n *\n * @param url            The url for the image.\n * @param state          The state that uses the specified title. The values are described in UIControlState.\n * @param placeholder    The image to be set initially, until the image request finishes.\n * @param completedBlock A block called when operation has been completed. This block has no return value\n *                       and takes the requested UIImage as first parameter. In case of error the image parameter\n *                       is nil and the second parameter may contain an NSError. The third parameter is a Boolean\n *                       indicating if the image was retrieved from the local cache or from the network.\n *                       The fourth parameter is the original image url.\n */\n- (void)sd_setImageWithURL:(nullable NSURL *)url\n                  forState:(UIControlState)state\n          placeholderImage:(nullable UIImage *)placeholder\n                 completed:(nullable SDExternalCompletionBlock)completedBlock NS_REFINED_FOR_SWIFT;\n\n/**\n * Set the imageView `image` with an `url`, placeholder and custom options.\n *\n * The download is asynchronous and cached.\n *\n * @param url            The url for the image.\n * @param state          The state that uses the specified title. The values are described in UIControlState.\n * @param placeholder    The image to be set initially, until the image request finishes.\n * @param options        The options to use when downloading the image. @see SDWebImageOptions for the possible values.\n * @param completedBlock A block called when operation has been completed. This block has no return value\n *                       and takes the requested UIImage as first parameter. In case of error the image parameter\n *                       is nil and the second parameter may contain an NSError. The third parameter is a Boolean\n *                       indicating if the image was retrieved from the local cache or from the network.\n *                       The fourth parameter is the original image url.\n */\n- (void)sd_setImageWithURL:(nullable NSURL *)url\n                  forState:(UIControlState)state\n          placeholderImage:(nullable UIImage *)placeholder\n                   options:(SDWebImageOptions)options\n                 completed:(nullable SDExternalCompletionBlock)completedBlock;\n\n#pragma mark - Background Image\n\n/**\n * Get the current background image URL.\n */\n- (nullable NSURL *)sd_currentBackgroundImageURL;\n\n/**\n * Get the background image URL for a control state.\n * \n * @param state Which state you want to know the URL for. The values are described in UIControlState.\n */\n- (nullable NSURL *)sd_backgroundImageURLForState:(UIControlState)state;\n\n/**\n * Set the backgroundImageView `image` with an `url`.\n *\n * The download is asynchronous and cached.\n *\n * @param url   The url for the image.\n * @param state The state that uses the specified title. The values are described in UIControlState.\n */\n- (void)sd_setBackgroundImageWithURL:(nullable NSURL *)url\n                            forState:(UIControlState)state NS_REFINED_FOR_SWIFT;\n\n/**\n * Set the backgroundImageView `image` with an `url` and a placeholder.\n *\n * The download is asynchronous and cached.\n *\n * @param url         The url for the image.\n * @param state       The state that uses the specified title. The values are described in UIControlState.\n * @param placeholder The image to be set initially, until the image request finishes.\n * @see sd_setImageWithURL:placeholderImage:options:\n */\n- (void)sd_setBackgroundImageWithURL:(nullable NSURL *)url\n                            forState:(UIControlState)state\n                    placeholderImage:(nullable UIImage *)placeholder NS_REFINED_FOR_SWIFT;\n\n/**\n * Set the backgroundImageView `image` with an `url`, placeholder and custom options.\n *\n * The download is asynchronous and cached.\n *\n * @param url         The url for the image.\n * @param state       The state that uses the specified title. The values are described in UIControlState.\n * @param placeholder The image to be set initially, until the image request finishes.\n * @param options     The options to use when downloading the image. @see SDWebImageOptions for the possible values.\n */\n- (void)sd_setBackgroundImageWithURL:(nullable NSURL *)url\n                            forState:(UIControlState)state\n                    placeholderImage:(nullable UIImage *)placeholder\n                             options:(SDWebImageOptions)options NS_REFINED_FOR_SWIFT;\n\n/**\n * Set the backgroundImageView `image` with an `url`.\n *\n * The download is asynchronous and cached.\n *\n * @param url            The url for the image.\n * @param state          The state that uses the specified title. The values are described in UIControlState.\n * @param completedBlock A block called when operation has been completed. This block has no return value\n *                       and takes the requested UIImage as first parameter. In case of error the image parameter\n *                       is nil and the second parameter may contain an NSError. The third parameter is a Boolean\n *                       indicating if the image was retrieved from the local cache or from the network.\n *                       The fourth parameter is the original image url.\n */\n- (void)sd_setBackgroundImageWithURL:(nullable NSURL *)url\n                            forState:(UIControlState)state\n                           completed:(nullable SDExternalCompletionBlock)completedBlock;\n\n/**\n * Set the backgroundImageView `image` with an `url`, placeholder.\n *\n * The download is asynchronous and cached.\n *\n * @param url            The url for the image.\n * @param state          The state that uses the specified title. The values are described in UIControlState.\n * @param placeholder    The image to be set initially, until the image request finishes.\n * @param completedBlock A block called when operation has been completed. This block has no return value\n *                       and takes the requested UIImage as first parameter. In case of error the image parameter\n *                       is nil and the second parameter may contain an NSError. The third parameter is a Boolean\n *                       indicating if the image was retrieved from the local cache or from the network.\n *                       The fourth parameter is the original image url.\n */\n- (void)sd_setBackgroundImageWithURL:(nullable NSURL *)url\n                            forState:(UIControlState)state\n                    placeholderImage:(nullable UIImage *)placeholder\n                           completed:(nullable SDExternalCompletionBlock)completedBlock NS_REFINED_FOR_SWIFT;\n\n/**\n * Set the backgroundImageView `image` with an `url`, placeholder and custom options.\n *\n * The download is asynchronous and cached.\n *\n * @param url            The url for the image.\n * @param placeholder    The image to be set initially, until the image request finishes.\n * @param options        The options to use when downloading the image. @see SDWebImageOptions for the possible values.\n * @param completedBlock A block called when operation has been completed. This block has no return value\n *                       and takes the requested UIImage as first parameter. In case of error the image parameter\n *                       is nil and the second parameter may contain an NSError. The third parameter is a Boolean\n *                       indicating if the image was retrieved from the local cache or from the network.\n *                       The fourth parameter is the original image url.\n */\n- (void)sd_setBackgroundImageWithURL:(nullable NSURL *)url\n                            forState:(UIControlState)state\n                    placeholderImage:(nullable UIImage *)placeholder\n                             options:(SDWebImageOptions)options\n                           completed:(nullable SDExternalCompletionBlock)completedBlock;\n\n#pragma mark - Cancel\n\n/**\n * Cancel the current image download\n */\n- (void)sd_cancelImageLoadForState:(UIControlState)state;\n\n/**\n * Cancel the current backgroundImage download\n */\n- (void)sd_cancelBackgroundImageLoadForState:(UIControlState)state;\n\n@end\n\n#endif\n"
  },
  {
    "path": "CKMeiTuanShopView/Pods/SDWebImage/SDWebImage/UIButton+WebCache.m",
    "content": "/*\n * This file is part of the SDWebImage package.\n * (c) Olivier Poitrey <rs@dailymotion.com>\n *\n * For the full copyright and license information, please view the LICENSE\n * file that was distributed with this source code.\n */\n\n#import \"UIButton+WebCache.h\"\n\n#if SD_UIKIT\n\n#import \"objc/runtime.h\"\n#import \"UIView+WebCacheOperation.h\"\n#import \"UIView+WebCache.h\"\n\nstatic char imageURLStorageKey;\n\ntypedef NSMutableDictionary<NSString *, NSURL *> SDStateImageURLDictionary;\n\nstatic inline NSString * imageURLKeyForState(UIControlState state) {\n    return [NSString stringWithFormat:@\"image_%lu\", (unsigned long)state];\n}\n\nstatic inline NSString * backgroundImageURLKeyForState(UIControlState state) {\n    return [NSString stringWithFormat:@\"backgroundImage_%lu\", (unsigned long)state];\n}\n\nstatic inline NSString * imageOperationKeyForState(UIControlState state) {\n    return [NSString stringWithFormat:@\"UIButtonImageOperation%lu\", (unsigned long)state];\n}\n\nstatic inline NSString * backgroundImageOperationKeyForState(UIControlState state) {\n    return [NSString stringWithFormat:@\"UIButtonBackgroundImageOperation%lu\", (unsigned long)state];\n}\n\n@implementation UIButton (WebCache)\n\n#pragma mark - Image\n\n- (nullable NSURL *)sd_currentImageURL {\n    NSURL *url = self.sd_imageURLStorage[imageURLKeyForState(self.state)];\n\n    if (!url) {\n        url = self.sd_imageURLStorage[imageURLKeyForState(UIControlStateNormal)];\n    }\n\n    return url;\n}\n\n- (nullable NSURL *)sd_imageURLForState:(UIControlState)state {\n    return self.sd_imageURLStorage[imageURLKeyForState(state)];\n}\n\n- (void)sd_setImageWithURL:(nullable NSURL *)url forState:(UIControlState)state {\n    [self sd_setImageWithURL:url forState:state placeholderImage:nil options:0 completed:nil];\n}\n\n- (void)sd_setImageWithURL:(nullable NSURL *)url forState:(UIControlState)state placeholderImage:(nullable UIImage *)placeholder {\n    [self sd_setImageWithURL:url forState:state placeholderImage:placeholder options:0 completed:nil];\n}\n\n- (void)sd_setImageWithURL:(nullable NSURL *)url forState:(UIControlState)state placeholderImage:(nullable UIImage *)placeholder options:(SDWebImageOptions)options {\n    [self sd_setImageWithURL:url forState:state placeholderImage:placeholder options:options completed:nil];\n}\n\n- (void)sd_setImageWithURL:(nullable NSURL *)url forState:(UIControlState)state completed:(nullable SDExternalCompletionBlock)completedBlock {\n    [self sd_setImageWithURL:url forState:state placeholderImage:nil options:0 completed:completedBlock];\n}\n\n- (void)sd_setImageWithURL:(nullable NSURL *)url forState:(UIControlState)state placeholderImage:(nullable UIImage *)placeholder completed:(nullable SDExternalCompletionBlock)completedBlock {\n    [self sd_setImageWithURL:url forState:state placeholderImage:placeholder options:0 completed:completedBlock];\n}\n\n- (void)sd_setImageWithURL:(nullable NSURL *)url\n                  forState:(UIControlState)state\n          placeholderImage:(nullable UIImage *)placeholder\n                   options:(SDWebImageOptions)options\n                 completed:(nullable SDExternalCompletionBlock)completedBlock {\n    if (!url) {\n        [self.sd_imageURLStorage removeObjectForKey:imageURLKeyForState(state)];\n    } else {\n        self.sd_imageURLStorage[imageURLKeyForState(state)] = url;\n    }\n    \n    __weak typeof(self)weakSelf = self;\n    [self sd_internalSetImageWithURL:url\n                    placeholderImage:placeholder\n                             options:options\n                        operationKey:imageOperationKeyForState(state)\n                       setImageBlock:^(UIImage *image, NSData *imageData) {\n                           [weakSelf setImage:image forState:state];\n                       }\n                            progress:nil\n                           completed:completedBlock];\n}\n\n#pragma mark - Background Image\n\n- (nullable NSURL *)sd_currentBackgroundImageURL {\n    NSURL *url = self.sd_imageURLStorage[backgroundImageURLKeyForState(self.state)];\n    \n    if (!url) {\n        url = self.sd_imageURLStorage[backgroundImageURLKeyForState(UIControlStateNormal)];\n    }\n    \n    return url;\n}\n\n- (nullable NSURL *)sd_backgroundImageURLForState:(UIControlState)state {\n    return self.sd_imageURLStorage[backgroundImageURLKeyForState(state)];\n}\n\n- (void)sd_setBackgroundImageWithURL:(nullable NSURL *)url forState:(UIControlState)state {\n    [self sd_setBackgroundImageWithURL:url forState:state placeholderImage:nil options:0 completed:nil];\n}\n\n- (void)sd_setBackgroundImageWithURL:(nullable NSURL *)url forState:(UIControlState)state placeholderImage:(nullable UIImage *)placeholder {\n    [self sd_setBackgroundImageWithURL:url forState:state placeholderImage:placeholder options:0 completed:nil];\n}\n\n- (void)sd_setBackgroundImageWithURL:(nullable NSURL *)url forState:(UIControlState)state placeholderImage:(nullable UIImage *)placeholder options:(SDWebImageOptions)options {\n    [self sd_setBackgroundImageWithURL:url forState:state placeholderImage:placeholder options:options completed:nil];\n}\n\n- (void)sd_setBackgroundImageWithURL:(nullable NSURL *)url forState:(UIControlState)state completed:(nullable SDExternalCompletionBlock)completedBlock {\n    [self sd_setBackgroundImageWithURL:url forState:state placeholderImage:nil options:0 completed:completedBlock];\n}\n\n- (void)sd_setBackgroundImageWithURL:(nullable NSURL *)url forState:(UIControlState)state placeholderImage:(nullable UIImage *)placeholder completed:(nullable SDExternalCompletionBlock)completedBlock {\n    [self sd_setBackgroundImageWithURL:url forState:state placeholderImage:placeholder options:0 completed:completedBlock];\n}\n\n- (void)sd_setBackgroundImageWithURL:(nullable NSURL *)url\n                            forState:(UIControlState)state\n                    placeholderImage:(nullable UIImage *)placeholder\n                             options:(SDWebImageOptions)options\n                           completed:(nullable SDExternalCompletionBlock)completedBlock {\n    if (!url) {\n        [self.sd_imageURLStorage removeObjectForKey:backgroundImageURLKeyForState(state)];\n    } else {\n        self.sd_imageURLStorage[backgroundImageURLKeyForState(state)] = url;\n    }\n    \n    __weak typeof(self)weakSelf = self;\n    [self sd_internalSetImageWithURL:url\n                    placeholderImage:placeholder\n                             options:options\n                        operationKey:backgroundImageOperationKeyForState(state)\n                       setImageBlock:^(UIImage *image, NSData *imageData) {\n                           [weakSelf setBackgroundImage:image forState:state];\n                       }\n                            progress:nil\n                           completed:completedBlock];\n}\n\n#pragma mark - Cancel\n\n- (void)sd_cancelImageLoadForState:(UIControlState)state {\n    [self sd_cancelImageLoadOperationWithKey:imageOperationKeyForState(state)];\n}\n\n- (void)sd_cancelBackgroundImageLoadForState:(UIControlState)state {\n    [self sd_cancelImageLoadOperationWithKey:backgroundImageOperationKeyForState(state)];\n}\n\n#pragma mark - Private\n\n- (SDStateImageURLDictionary *)sd_imageURLStorage {\n    SDStateImageURLDictionary *storage = objc_getAssociatedObject(self, &imageURLStorageKey);\n    if (!storage) {\n        storage = [NSMutableDictionary dictionary];\n        objc_setAssociatedObject(self, &imageURLStorageKey, storage, OBJC_ASSOCIATION_RETAIN_NONATOMIC);\n    }\n\n    return storage;\n}\n\n@end\n\n#endif\n"
  },
  {
    "path": "CKMeiTuanShopView/Pods/SDWebImage/SDWebImage/UIImage+ForceDecode.h",
    "content": "/*\n * This file is part of the SDWebImage package.\n * (c) Olivier Poitrey <rs@dailymotion.com>\n *\n * For the full copyright and license information, please view the LICENSE\n * file that was distributed with this source code.\n */\n\n#import \"SDWebImageCompat.h\"\n\n@interface UIImage (ForceDecode)\n\n+ (nullable UIImage *)decodedImageWithImage:(nullable UIImage *)image;\n\n+ (nullable UIImage *)decodedAndScaledDownImageWithImage:(nullable UIImage *)image;\n\n@end\n"
  },
  {
    "path": "CKMeiTuanShopView/Pods/SDWebImage/SDWebImage/UIImage+ForceDecode.m",
    "content": "/*\n * This file is part of the SDWebImage package.\n * (c) Olivier Poitrey <rs@dailymotion.com>\n *\n * For the full copyright and license information, please view the LICENSE\n * file that was distributed with this source code.\n */\n\n#import \"UIImage+ForceDecode.h\"\n#import \"SDWebImageCodersManager.h\"\n\n@implementation UIImage (ForceDecode)\n\n+ (UIImage *)decodedImageWithImage:(UIImage *)image {\n    if (!image) {\n        return nil;\n    }\n    NSData *tempData;\n    return [[SDWebImageCodersManager sharedInstance] decompressedImageWithImage:image data:&tempData options:@{SDWebImageCoderScaleDownLargeImagesKey: @(NO)}];\n}\n\n+ (UIImage *)decodedAndScaledDownImageWithImage:(UIImage *)image {\n    if (!image) {\n        return nil;\n    }\n    NSData *tempData;\n    return [[SDWebImageCodersManager sharedInstance] decompressedImageWithImage:image data:&tempData options:@{SDWebImageCoderScaleDownLargeImagesKey: @(YES)}];\n}\n\n@end\n"
  },
  {
    "path": "CKMeiTuanShopView/Pods/SDWebImage/SDWebImage/UIImage+GIF.h",
    "content": "/*\n * This file is part of the SDWebImage package.\n * (c) Olivier Poitrey <rs@dailymotion.com>\n * (c) Laurin Brandner\n *\n * For the full copyright and license information, please view the LICENSE\n * file that was distributed with this source code.\n */\n\n#import \"SDWebImageCompat.h\"\n\n@interface UIImage (GIF)\n\n/**\n *  Creates an animated UIImage from an NSData.\n *  For static GIF, will create an UIImage with `images` array set to nil. For animated GIF, will create an UIImage with valid `images` array.\n */\n+ (UIImage *)sd_animatedGIFWithData:(NSData *)data;\n\n/**\n *  Checks if an UIImage instance is a GIF. Will use the `images` array.\n */\n- (BOOL)isGIF;\n\n@end\n"
  },
  {
    "path": "CKMeiTuanShopView/Pods/SDWebImage/SDWebImage/UIImage+GIF.m",
    "content": "/*\n * This file is part of the SDWebImage package.\n * (c) Olivier Poitrey <rs@dailymotion.com>\n * (c) Laurin Brandner\n *\n * For the full copyright and license information, please view the LICENSE\n * file that was distributed with this source code.\n */\n\n#import \"UIImage+GIF.h\"\n#import \"SDWebImageGIFCoder.h\"\n#import \"NSImage+WebCache.h\"\n\n@implementation UIImage (GIF)\n\n+ (UIImage *)sd_animatedGIFWithData:(NSData *)data {\n    if (!data) {\n        return nil;\n    }\n    return [[SDWebImageGIFCoder sharedCoder] decodedImageWithData:data];\n}\n\n- (BOOL)isGIF {\n    return (self.images != nil);\n}\n\n@end\n"
  },
  {
    "path": "CKMeiTuanShopView/Pods/SDWebImage/SDWebImage/UIImage+MultiFormat.h",
    "content": "/*\n * This file is part of the SDWebImage package.\n * (c) Olivier Poitrey <rs@dailymotion.com>\n *\n * For the full copyright and license information, please view the LICENSE\n * file that was distributed with this source code.\n */\n\n#import \"SDWebImageCompat.h\"\n#import \"NSData+ImageContentType.h\"\n\n@interface UIImage (MultiFormat)\n\n/**\n * UIKit:\n * For static image format, this value is always 0.\n * For animated image format, 0 means infinite looping.\n * @note Note that because of the limitations of categories this property can get out of sync if you create another instance with CGImage or other methods.\n * AppKit:\n * NSImage currently only support animated via GIF imageRep unlike UIImage.\n * The getter of this property will get the loop count from GIF imageRep\n * The setter of this property will set the loop count from GIF imageRep\n */\n@property (nonatomic, assign) NSUInteger sd_imageLoopCount;\n\n/**\n * The image format represent the original compressed image data format.\n * If you don't manually specify a format, this information is retrieve from CGImage using `CGImageGetUTType`, which may return nil for non-CG based image. At this time it will return `SDImageFormatUndefined` as default value.\n * @note Note that because of the limitations of categories this property can get out of sync if you create another instance with CGImage or other methods.\n */\n@property (nonatomic, assign) SDImageFormat sd_imageFormat;\n\n+ (nullable UIImage *)sd_imageWithData:(nullable NSData *)data;\n- (nullable NSData *)sd_imageData;\n- (nullable NSData *)sd_imageDataAsFormat:(SDImageFormat)imageFormat;\n\n@end\n"
  },
  {
    "path": "CKMeiTuanShopView/Pods/SDWebImage/SDWebImage/UIImage+MultiFormat.m",
    "content": "/*\n * This file is part of the SDWebImage package.\n * (c) Olivier Poitrey <rs@dailymotion.com>\n *\n * For the full copyright and license information, please view the LICENSE\n * file that was distributed with this source code.\n */\n\n#import \"UIImage+MultiFormat.h\"\n#import \"NSImage+WebCache.h\"\n#import \"SDWebImageCodersManager.h\"\n#import \"objc/runtime.h\"\n\n@implementation UIImage (MultiFormat)\n\n#if SD_MAC\n- (NSUInteger)sd_imageLoopCount {\n    NSUInteger imageLoopCount = 0;\n    for (NSImageRep *rep in self.representations) {\n        if ([rep isKindOfClass:[NSBitmapImageRep class]]) {\n            NSBitmapImageRep *bitmapRep = (NSBitmapImageRep *)rep;\n            imageLoopCount = [[bitmapRep valueForProperty:NSImageLoopCount] unsignedIntegerValue];\n            break;\n        }\n    }\n    return imageLoopCount;\n}\n\n- (void)setSd_imageLoopCount:(NSUInteger)sd_imageLoopCount {\n    for (NSImageRep *rep in self.representations) {\n        if ([rep isKindOfClass:[NSBitmapImageRep class]]) {\n            NSBitmapImageRep *bitmapRep = (NSBitmapImageRep *)rep;\n            [bitmapRep setProperty:NSImageLoopCount withValue:@(sd_imageLoopCount)];\n            break;\n        }\n    }\n}\n\n#else\n\n- (NSUInteger)sd_imageLoopCount {\n    NSUInteger imageLoopCount = 0;\n    NSNumber *value = objc_getAssociatedObject(self, @selector(sd_imageLoopCount));\n    if ([value isKindOfClass:[NSNumber class]]) {\n        imageLoopCount = value.unsignedIntegerValue;\n    }\n    return imageLoopCount;\n}\n\n- (void)setSd_imageLoopCount:(NSUInteger)sd_imageLoopCount {\n    NSNumber *value = @(sd_imageLoopCount);\n    objc_setAssociatedObject(self, @selector(sd_imageLoopCount), value, OBJC_ASSOCIATION_RETAIN_NONATOMIC);\n}\n#endif\n\n- (SDImageFormat)sd_imageFormat {\n    SDImageFormat imageFormat = SDImageFormatUndefined;\n    NSNumber *value = objc_getAssociatedObject(self, @selector(sd_imageFormat));\n    if ([value isKindOfClass:[NSNumber class]]) {\n        imageFormat = value.integerValue;\n        return imageFormat;\n    }\n    // Check CGImage's UTType, may return nil for non-Image/IO based image\n#pragma clang diagnostic push\n#pragma clang diagnostic ignored \"-Wunguarded-availability\"\n    if (&CGImageGetUTType != NULL) {\n        CFStringRef uttype = CGImageGetUTType(self.CGImage);\n        imageFormat = [NSData sd_imageFormatFromUTType:uttype];\n    }\n#pragma clang diagnostic pop\n    return imageFormat;\n}\n\n- (void)setSd_imageFormat:(SDImageFormat)sd_imageFormat {\n    objc_setAssociatedObject(self, @selector(sd_imageFormat), @(sd_imageFormat), OBJC_ASSOCIATION_RETAIN_NONATOMIC);\n}\n\n+ (nullable UIImage *)sd_imageWithData:(nullable NSData *)data {\n    return [[SDWebImageCodersManager sharedInstance] decodedImageWithData:data];\n}\n\n- (nullable NSData *)sd_imageData {\n    return [self sd_imageDataAsFormat:SDImageFormatUndefined];\n}\n\n- (nullable NSData *)sd_imageDataAsFormat:(SDImageFormat)imageFormat {\n    NSData *imageData = nil;\n    if (self) {\n        imageData = [[SDWebImageCodersManager sharedInstance] encodedDataWithImage:self format:imageFormat];\n    }\n    return imageData;\n}\n\n\n@end\n"
  },
  {
    "path": "CKMeiTuanShopView/Pods/SDWebImage/SDWebImage/UIImageView+HighlightedWebCache.h",
    "content": "/*\n * This file is part of the SDWebImage package.\n * (c) Olivier Poitrey <rs@dailymotion.com>\n *\n * For the full copyright and license information, please view the LICENSE\n * file that was distributed with this source code.\n */\n\n#import \"SDWebImageCompat.h\"\n\n#if SD_UIKIT\n\n#import \"SDWebImageManager.h\"\n\n/**\n * Integrates SDWebImage async downloading and caching of remote images with UIImageView for highlighted state.\n */\n@interface UIImageView (HighlightedWebCache)\n\n/**\n * Set the imageView `highlightedImage` with an `url`.\n *\n * The download is asynchronous and cached.\n *\n * @param url The url for the image.\n */\n- (void)sd_setHighlightedImageWithURL:(nullable NSURL *)url NS_REFINED_FOR_SWIFT;\n\n/**\n * Set the imageView `highlightedImage` with an `url` and custom options.\n *\n * The download is asynchronous and cached.\n *\n * @param url     The url for the image.\n * @param options The options to use when downloading the image. @see SDWebImageOptions for the possible values.\n */\n- (void)sd_setHighlightedImageWithURL:(nullable NSURL *)url\n                              options:(SDWebImageOptions)options NS_REFINED_FOR_SWIFT;\n\n/**\n * Set the imageView `highlightedImage` with an `url`.\n *\n * The download is asynchronous and cached.\n *\n * @param url            The url for the image.\n * @param completedBlock A block called when operation has been completed. This block has no return value\n *                       and takes the requested UIImage as first parameter. In case of error the image parameter\n *                       is nil and the second parameter may contain an NSError. The third parameter is a Boolean\n *                       indicating if the image was retrieved from the local cache or from the network.\n *                       The fourth parameter is the original image url.\n */\n- (void)sd_setHighlightedImageWithURL:(nullable NSURL *)url\n                            completed:(nullable SDExternalCompletionBlock)completedBlock NS_REFINED_FOR_SWIFT;\n\n/**\n * Set the imageView `highlightedImage` with an `url` and custom options.\n *\n * The download is asynchronous and cached.\n *\n * @param url            The url for the image.\n * @param options        The options to use when downloading the image. @see SDWebImageOptions for the possible values.\n * @param completedBlock A block called when operation has been completed. This block has no return value\n *                       and takes the requested UIImage as first parameter. In case of error the image parameter\n *                       is nil and the second parameter may contain an NSError. The third parameter is a Boolean\n *                       indicating if the image was retrieved from the local cache or from the network.\n *                       The fourth parameter is the original image url.\n */\n- (void)sd_setHighlightedImageWithURL:(nullable NSURL *)url\n                              options:(SDWebImageOptions)options\n                            completed:(nullable SDExternalCompletionBlock)completedBlock;\n\n/**\n * Set the imageView `highlightedImage` with an `url` and custom options.\n *\n * The download is asynchronous and cached.\n *\n * @param url            The url for the image.\n * @param options        The options to use when downloading the image. @see SDWebImageOptions for the possible values.\n * @param progressBlock  A block called while image is downloading\n *                       @note the progress block is executed on a background queue\n * @param completedBlock A block called when operation has been completed. This block has no return value\n *                       and takes the requested UIImage as first parameter. In case of error the image parameter\n *                       is nil and the second parameter may contain an NSError. The third parameter is a Boolean\n *                       indicating if the image was retrieved from the local cache or from the network.\n *                       The fourth parameter is the original image url.\n */\n- (void)sd_setHighlightedImageWithURL:(nullable NSURL *)url\n                              options:(SDWebImageOptions)options\n                             progress:(nullable SDWebImageDownloaderProgressBlock)progressBlock\n                            completed:(nullable SDExternalCompletionBlock)completedBlock;\n\n@end\n\n#endif\n"
  },
  {
    "path": "CKMeiTuanShopView/Pods/SDWebImage/SDWebImage/UIImageView+HighlightedWebCache.m",
    "content": "/*\n * This file is part of the SDWebImage package.\n * (c) Olivier Poitrey <rs@dailymotion.com>\n *\n * For the full copyright and license information, please view the LICENSE\n * file that was distributed with this source code.\n */\n\n#import \"UIImageView+HighlightedWebCache.h\"\n\n#if SD_UIKIT\n\n#import \"UIView+WebCacheOperation.h\"\n#import \"UIView+WebCache.h\"\n\n@implementation UIImageView (HighlightedWebCache)\n\n- (void)sd_setHighlightedImageWithURL:(nullable NSURL *)url {\n    [self sd_setHighlightedImageWithURL:url options:0 progress:nil completed:nil];\n}\n\n- (void)sd_setHighlightedImageWithURL:(nullable NSURL *)url options:(SDWebImageOptions)options {\n    [self sd_setHighlightedImageWithURL:url options:options progress:nil completed:nil];\n}\n\n- (void)sd_setHighlightedImageWithURL:(nullable NSURL *)url completed:(nullable SDExternalCompletionBlock)completedBlock {\n    [self sd_setHighlightedImageWithURL:url options:0 progress:nil completed:completedBlock];\n}\n\n- (void)sd_setHighlightedImageWithURL:(nullable NSURL *)url options:(SDWebImageOptions)options completed:(nullable SDExternalCompletionBlock)completedBlock {\n    [self sd_setHighlightedImageWithURL:url options:options progress:nil completed:completedBlock];\n}\n\n- (void)sd_setHighlightedImageWithURL:(nullable NSURL *)url\n                              options:(SDWebImageOptions)options\n                             progress:(nullable SDWebImageDownloaderProgressBlock)progressBlock\n                            completed:(nullable SDExternalCompletionBlock)completedBlock {\n    __weak typeof(self)weakSelf = self;\n    [self sd_internalSetImageWithURL:url\n                    placeholderImage:nil\n                             options:options\n                        operationKey:@\"UIImageViewImageOperationHighlighted\"\n                       setImageBlock:^(UIImage *image, NSData *imageData) {\n                           weakSelf.highlightedImage = image;\n                       }\n                            progress:progressBlock\n                           completed:completedBlock];\n}\n\n@end\n\n#endif\n"
  },
  {
    "path": "CKMeiTuanShopView/Pods/SDWebImage/SDWebImage/UIImageView+WebCache.h",
    "content": "/*\n * This file is part of the SDWebImage package.\n * (c) Olivier Poitrey <rs@dailymotion.com>\n *\n * For the full copyright and license information, please view the LICENSE\n * file that was distributed with this source code.\n */\n\n#import \"SDWebImageCompat.h\"\n#import \"SDWebImageManager.h\"\n\n/**\n * Integrates SDWebImage async downloading and caching of remote images with UIImageView.\n *\n * Usage with a UITableViewCell sub-class:\n *\n * @code\n\n#import <SDWebImage/UIImageView+WebCache.h>\n\n...\n\n- (UITableViewCell *)tableView:(UITableView *)tableView cellForRowAtIndexPath:(NSIndexPath *)indexPath\n{\n    static NSString *MyIdentifier = @\"MyIdentifier\";\n \n    UITableViewCell *cell = [tableView dequeueReusableCellWithIdentifier:MyIdentifier];\n \n    if (cell == nil) {\n        cell = [[UITableViewCell alloc] initWithStyle:UITableViewCellStyleDefault reuseIdentifier:MyIdentifier];\n    }\n \n    // Here we use the provided sd_setImageWithURL: method to load the web image\n    // Ensure you use a placeholder image otherwise cells will be initialized with no image\n    [cell.imageView sd_setImageWithURL:[NSURL URLWithString:@\"http://example.com/image.jpg\"]\n                      placeholderImage:[UIImage imageNamed:@\"placeholder\"]];\n \n    cell.textLabel.text = @\"My Text\";\n    return cell;\n}\n\n * @endcode\n */\n@interface UIImageView (WebCache)\n\n/**\n * Set the imageView `image` with an `url`.\n *\n * The download is asynchronous and cached.\n *\n * @param url The url for the image.\n */\n- (void)sd_setImageWithURL:(nullable NSURL *)url NS_REFINED_FOR_SWIFT;\n\n/**\n * Set the imageView `image` with an `url` and a placeholder.\n *\n * The download is asynchronous and cached.\n *\n * @param url         The url for the image.\n * @param placeholder The image to be set initially, until the image request finishes.\n * @see sd_setImageWithURL:placeholderImage:options:\n */\n- (void)sd_setImageWithURL:(nullable NSURL *)url\n          placeholderImage:(nullable UIImage *)placeholder NS_REFINED_FOR_SWIFT;\n\n/**\n * Set the imageView `image` with an `url`, placeholder and custom options.\n *\n * The download is asynchronous and cached.\n *\n * @param url         The url for the image.\n * @param placeholder The image to be set initially, until the image request finishes.\n * @param options     The options to use when downloading the image. @see SDWebImageOptions for the possible values.\n */\n- (void)sd_setImageWithURL:(nullable NSURL *)url\n          placeholderImage:(nullable UIImage *)placeholder\n                   options:(SDWebImageOptions)options NS_REFINED_FOR_SWIFT;\n\n/**\n * Set the imageView `image` with an `url`.\n *\n * The download is asynchronous and cached.\n *\n * @param url            The url for the image.\n * @param completedBlock A block called when operation has been completed. This block has no return value\n *                       and takes the requested UIImage as first parameter. In case of error the image parameter\n *                       is nil and the second parameter may contain an NSError. The third parameter is a Boolean\n *                       indicating if the image was retrieved from the local cache or from the network.\n *                       The fourth parameter is the original image url.\n */\n- (void)sd_setImageWithURL:(nullable NSURL *)url\n                 completed:(nullable SDExternalCompletionBlock)completedBlock;\n\n/**\n * Set the imageView `image` with an `url`, placeholder.\n *\n * The download is asynchronous and cached.\n *\n * @param url            The url for the image.\n * @param placeholder    The image to be set initially, until the image request finishes.\n * @param completedBlock A block called when operation has been completed. This block has no return value\n *                       and takes the requested UIImage as first parameter. In case of error the image parameter\n *                       is nil and the second parameter may contain an NSError. The third parameter is a Boolean\n *                       indicating if the image was retrieved from the local cache or from the network.\n *                       The fourth parameter is the original image url.\n */\n- (void)sd_setImageWithURL:(nullable NSURL *)url\n          placeholderImage:(nullable UIImage *)placeholder\n                 completed:(nullable SDExternalCompletionBlock)completedBlock NS_REFINED_FOR_SWIFT;\n\n/**\n * Set the imageView `image` with an `url`, placeholder and custom options.\n *\n * The download is asynchronous and cached.\n *\n * @param url            The url for the image.\n * @param placeholder    The image to be set initially, until the image request finishes.\n * @param options        The options to use when downloading the image. @see SDWebImageOptions for the possible values.\n * @param completedBlock A block called when operation has been completed. This block has no return value\n *                       and takes the requested UIImage as first parameter. In case of error the image parameter\n *                       is nil and the second parameter may contain an NSError. The third parameter is a Boolean\n *                       indicating if the image was retrieved from the local cache or from the network.\n *                       The fourth parameter is the original image url.\n */\n- (void)sd_setImageWithURL:(nullable NSURL *)url\n          placeholderImage:(nullable UIImage *)placeholder\n                   options:(SDWebImageOptions)options\n                 completed:(nullable SDExternalCompletionBlock)completedBlock;\n\n/**\n * Set the imageView `image` with an `url`, placeholder and custom options.\n *\n * The download is asynchronous and cached.\n *\n * @param url            The url for the image.\n * @param placeholder    The image to be set initially, until the image request finishes.\n * @param options        The options to use when downloading the image. @see SDWebImageOptions for the possible values.\n * @param progressBlock  A block called while image is downloading\n *                       @note the progress block is executed on a background queue\n * @param completedBlock A block called when operation has been completed. This block has no return value\n *                       and takes the requested UIImage as first parameter. In case of error the image parameter\n *                       is nil and the second parameter may contain an NSError. The third parameter is a Boolean\n *                       indicating if the image was retrieved from the local cache or from the network.\n *                       The fourth parameter is the original image url.\n */\n- (void)sd_setImageWithURL:(nullable NSURL *)url\n          placeholderImage:(nullable UIImage *)placeholder\n                   options:(SDWebImageOptions)options\n                  progress:(nullable SDWebImageDownloaderProgressBlock)progressBlock\n                 completed:(nullable SDExternalCompletionBlock)completedBlock;\n\n/**\n * Set the imageView `image` with an `url` and custom options. The placeholder image is from previous cached image and will use the provided one instead if the query failed.\n * This method was designed to ensure that placeholder and query cache process happened in the same runloop to avoid flashing on cell during two `setImage:` call. But it's really misunderstanding and deprecated.\n * This can be done by using `sd_setImageWithURL:` with `SDWebImageQueryDiskSync`. But take care that if the memory cache missed, query disk cache synchronously may reduce the frame rate\n *\n * The download is asynchronous and cached.\n *\n * @param url            The url for the image.\n * @param placeholder    The image to be set initially, until the image request finishes.\n * @param options        The options to use when downloading the image. @see SDWebImageOptions for the possible values.\n * @param progressBlock  A block called while image is downloading\n *                       @note the progress block is executed on a background queue\n * @param completedBlock A block called when operation has been completed. This block has no return value\n *                       and takes the requested UIImage as first parameter. In case of error the image parameter\n *                       is nil and the second parameter may contain an NSError. The third parameter is a Boolean\n *                       indicating if the image was retrieved from the local cache or from the network.\n *                       The fourth parameter is the original image url.\n * @deprecated consider using `SDWebImageQueryDiskSync` options with `sd_setImageWithURL:` instead\n */\n- (void)sd_setImageWithPreviousCachedImageWithURL:(nullable NSURL *)url\n                                 placeholderImage:(nullable UIImage *)placeholder\n                                          options:(SDWebImageOptions)options\n                                         progress:(nullable SDWebImageDownloaderProgressBlock)progressBlock\n                                        completed:(nullable SDExternalCompletionBlock)completedBlock __deprecated_msg(\"This method is misunderstanding and deprecated, consider using `SDWebImageQueryDiskSync` options with `sd_setImageWithURL:` instead\");\n\n#if SD_UIKIT\n\n#pragma mark - Animation of multiple images\n\n/**\n * Download an array of images and starts them in an animation loop\n *\n * @param arrayOfURLs An array of NSURL\n */\n- (void)sd_setAnimationImagesWithURLs:(nonnull NSArray<NSURL *> *)arrayOfURLs;\n\n- (void)sd_cancelCurrentAnimationImagesLoad;\n\n#endif\n\n@end\n"
  },
  {
    "path": "CKMeiTuanShopView/Pods/SDWebImage/SDWebImage/UIImageView+WebCache.m",
    "content": "/*\n * This file is part of the SDWebImage package.\n * (c) Olivier Poitrey <rs@dailymotion.com>\n *\n * For the full copyright and license information, please view the LICENSE\n * file that was distributed with this source code.\n */\n\n#import \"UIImageView+WebCache.h\"\n#import \"objc/runtime.h\"\n#import \"UIView+WebCacheOperation.h\"\n#import \"UIView+WebCache.h\"\n\n@implementation UIImageView (WebCache)\n\n- (void)sd_setImageWithURL:(nullable NSURL *)url {\n    [self sd_setImageWithURL:url placeholderImage:nil options:0 progress:nil completed:nil];\n}\n\n- (void)sd_setImageWithURL:(nullable NSURL *)url placeholderImage:(nullable UIImage *)placeholder {\n    [self sd_setImageWithURL:url placeholderImage:placeholder options:0 progress:nil completed:nil];\n}\n\n- (void)sd_setImageWithURL:(nullable NSURL *)url placeholderImage:(nullable UIImage *)placeholder options:(SDWebImageOptions)options {\n    [self sd_setImageWithURL:url placeholderImage:placeholder options:options progress:nil completed:nil];\n}\n\n- (void)sd_setImageWithURL:(nullable NSURL *)url completed:(nullable SDExternalCompletionBlock)completedBlock {\n    [self sd_setImageWithURL:url placeholderImage:nil options:0 progress:nil completed:completedBlock];\n}\n\n- (void)sd_setImageWithURL:(nullable NSURL *)url placeholderImage:(nullable UIImage *)placeholder completed:(nullable SDExternalCompletionBlock)completedBlock {\n    [self sd_setImageWithURL:url placeholderImage:placeholder options:0 progress:nil completed:completedBlock];\n}\n\n- (void)sd_setImageWithURL:(nullable NSURL *)url placeholderImage:(nullable UIImage *)placeholder options:(SDWebImageOptions)options completed:(nullable SDExternalCompletionBlock)completedBlock {\n    [self sd_setImageWithURL:url placeholderImage:placeholder options:options progress:nil completed:completedBlock];\n}\n\n- (void)sd_setImageWithURL:(nullable NSURL *)url\n          placeholderImage:(nullable UIImage *)placeholder\n                   options:(SDWebImageOptions)options\n                  progress:(nullable SDWebImageDownloaderProgressBlock)progressBlock\n                 completed:(nullable SDExternalCompletionBlock)completedBlock {\n    [self sd_internalSetImageWithURL:url\n                    placeholderImage:placeholder\n                             options:options\n                        operationKey:nil\n                       setImageBlock:nil\n                            progress:progressBlock\n                           completed:completedBlock];\n}\n\n- (void)sd_setImageWithPreviousCachedImageWithURL:(nullable NSURL *)url\n                                 placeholderImage:(nullable UIImage *)placeholder\n                                          options:(SDWebImageOptions)options\n                                         progress:(nullable SDWebImageDownloaderProgressBlock)progressBlock\n                                        completed:(nullable SDExternalCompletionBlock)completedBlock {\n    NSString *key = [[SDWebImageManager sharedManager] cacheKeyForURL:url];\n    UIImage *lastPreviousCachedImage = [[SDImageCache sharedImageCache] imageFromCacheForKey:key];\n    \n    [self sd_setImageWithURL:url placeholderImage:lastPreviousCachedImage ?: placeholder options:options progress:progressBlock completed:completedBlock];    \n}\n\n#if SD_UIKIT\n\n#pragma mark - Animation of multiple images\n\n- (void)sd_setAnimationImagesWithURLs:(nonnull NSArray<NSURL *> *)arrayOfURLs {\n    [self sd_cancelCurrentAnimationImagesLoad];\n    NSPointerArray *operationsArray = [self sd_animationOperationArray];\n    \n    [arrayOfURLs enumerateObjectsUsingBlock:^(NSURL *logoImageURL, NSUInteger idx, BOOL * _Nonnull stop) {\n        __weak __typeof(self) wself = self;\n        id <SDWebImageOperation> operation = [[SDWebImageManager sharedManager] loadImageWithURL:logoImageURL options:0 progress:nil completed:^(UIImage *image, NSData *data, NSError *error, SDImageCacheType cacheType, BOOL finished, NSURL *imageURL) {\n            __strong typeof(wself) sself = wself;\n            if (!sself) return;\n            dispatch_main_async_safe(^{\n                [sself stopAnimating];\n                if (sself && image) {\n                    NSMutableArray<UIImage *> *currentImages = [[sself animationImages] mutableCopy];\n                    if (!currentImages) {\n                        currentImages = [[NSMutableArray alloc] init];\n                    }\n                    \n                    // We know what index objects should be at when they are returned so\n                    // we will put the object at the index, filling any empty indexes\n                    // with the image that was returned too \"early\". These images will\n                    // be overwritten. (does not require additional sorting datastructure)\n                    while ([currentImages count] < idx) {\n                        [currentImages addObject:image];\n                    }\n                    \n                    currentImages[idx] = image;\n\n                    sself.animationImages = currentImages;\n                    [sself setNeedsLayout];\n                }\n                [sself startAnimating];\n            });\n        }];\n        @synchronized (self) {\n            [operationsArray addPointer:(__bridge void *)(operation)];\n        }\n    }];\n}\n\nstatic char animationLoadOperationKey;\n\n// element is weak because operation instance is retained by SDWebImageManager's runningOperations property\n// we should use lock to keep thread-safe because these method may not be acessed from main queue\n- (NSPointerArray *)sd_animationOperationArray {\n    @synchronized(self) {\n        NSPointerArray *operationsArray = objc_getAssociatedObject(self, &animationLoadOperationKey);\n        if (operationsArray) {\n            return operationsArray;\n        }\n        operationsArray = [NSPointerArray weakObjectsPointerArray];\n        objc_setAssociatedObject(self, &animationLoadOperationKey, operationsArray, OBJC_ASSOCIATION_RETAIN_NONATOMIC);\n        return operationsArray;\n    }\n}\n\n- (void)sd_cancelCurrentAnimationImagesLoad {\n    NSPointerArray *operationsArray = [self sd_animationOperationArray];\n    if (operationsArray) {\n        @synchronized (self) {\n            for (id operation in operationsArray) {\n                if ([operation conformsToProtocol:@protocol(SDWebImageOperation)]) {\n                    [operation cancel];\n                }\n            }\n            operationsArray.count = 0;\n        }\n    }\n}\n#endif\n\n@end\n"
  },
  {
    "path": "CKMeiTuanShopView/Pods/SDWebImage/SDWebImage/UIView+WebCache.h",
    "content": "/*\n * This file is part of the SDWebImage package.\n * (c) Olivier Poitrey <rs@dailymotion.com>\n *\n * For the full copyright and license information, please view the LICENSE\n * file that was distributed with this source code.\n */\n\n#import \"SDWebImageCompat.h\"\n#import \"SDWebImageManager.h\"\n#import \"SDWebImageTransition.h\"\n\n/**\n A Dispatch group to maintain setImageBlock and completionBlock. This key should be used only internally and may be changed in the future. (dispatch_group_t)\n */\nFOUNDATION_EXPORT NSString * _Nonnull const SDWebImageInternalSetImageGroupKey __deprecated_msg(\"Key Deprecated. Does nothing. This key should be used only internally\");\n/**\n A SDWebImageManager instance to control the image download and cache process using in UIImageView+WebCache category and likes. If not provided, use the shared manager (SDWebImageManager)\n */\nFOUNDATION_EXPORT NSString * _Nonnull const SDWebImageExternalCustomManagerKey;\n/**\n The value specify that the image progress unit count cannot be determined because the progressBlock is not been called.\n */\nFOUNDATION_EXPORT const int64_t SDWebImageProgressUnitCountUnknown; /* 1LL */\n\ntypedef void(^SDSetImageBlock)(UIImage * _Nullable image, NSData * _Nullable imageData);\n\n@interface UIView (WebCache)\n\n/**\n * Get the current image URL.\n *\n * @note Note that because of the limitations of categories this property can get out of sync if you use setImage: directly.\n */\n- (nullable NSURL *)sd_imageURL;\n\n/**\n * The current image loading progress associated to the view. The unit count is the received size and excepted size of download.\n * The `totalUnitCount` and `completedUnitCount` will be reset to 0 after a new image loading start (change from current queue). And they will be set to `SDWebImageProgressUnitCountUnknown` if the progressBlock not been called but the image loading success to mark the progress finished (change from main queue).\n * @note You can use Key-Value Observing on the progress, but you should take care that the change to progress is from a background queue during download(the same as progressBlock). If you want to using KVO and update the UI, make sure to dispatch on the main queue. And it's recommand to use some KVO libs like KVOController because it's more safe and easy to use.\n * @note The getter will create a progress instance if the value is nil. You can also set a custom progress instance and let it been updated during image loading\n * @note Note that because of the limitations of categories this property can get out of sync if you update the progress directly.\n */\n@property (nonatomic, strong, null_resettable) NSProgress *sd_imageProgress;\n\n/**\n * Set the imageView `image` with an `url` and optionally a placeholder image.\n *\n * The download is asynchronous and cached.\n *\n * @param url            The url for the image.\n * @param placeholder    The image to be set initially, until the image request finishes.\n * @param options        The options to use when downloading the image. @see SDWebImageOptions for the possible values.\n * @param operationKey   A string to be used as the operation key. If nil, will use the class name\n * @param setImageBlock  Block used for custom set image code\n * @param progressBlock  A block called while image is downloading\n *                       @note the progress block is executed on a background queue\n * @param completedBlock A block called when operation has been completed. This block has no return value\n *                       and takes the requested UIImage as first parameter. In case of error the image parameter\n *                       is nil and the second parameter may contain an NSError. The third parameter is a Boolean\n *                       indicating if the image was retrieved from the local cache or from the network.\n *                       The fourth parameter is the original image url.\n */\n- (void)sd_internalSetImageWithURL:(nullable NSURL *)url\n                  placeholderImage:(nullable UIImage *)placeholder\n                           options:(SDWebImageOptions)options\n                      operationKey:(nullable NSString *)operationKey\n                     setImageBlock:(nullable SDSetImageBlock)setImageBlock\n                          progress:(nullable SDWebImageDownloaderProgressBlock)progressBlock\n                         completed:(nullable SDExternalCompletionBlock)completedBlock;\n\n/**\n * Set the imageView `image` with an `url` and optionally a placeholder image.\n *\n * The download is asynchronous and cached.\n *\n * @param url            The url for the image.\n * @param placeholder    The image to be set initially, until the image request finishes.\n * @param options        The options to use when downloading the image. @see SDWebImageOptions for the possible values.\n * @param operationKey   A string to be used as the operation key. If nil, will use the class name\n * @param setImageBlock  Block used for custom set image code\n * @param progressBlock  A block called while image is downloading\n *                       @note the progress block is executed on a background queue\n * @param completedBlock A block called when operation has been completed. This block has no return value\n *                       and takes the requested UIImage as first parameter. In case of error the image parameter\n *                       is nil and the second parameter may contain an NSError. The third parameter is a Boolean\n *                       indicating if the image was retrieved from the local cache or from the network.\n *                       The fourth parameter is the original image url.\n * @param context        A context with extra information to perform specify changes or processes.\n */\n- (void)sd_internalSetImageWithURL:(nullable NSURL *)url\n                  placeholderImage:(nullable UIImage *)placeholder\n                           options:(SDWebImageOptions)options\n                      operationKey:(nullable NSString *)operationKey\n                     setImageBlock:(nullable SDSetImageBlock)setImageBlock\n                          progress:(nullable SDWebImageDownloaderProgressBlock)progressBlock\n                         completed:(nullable SDExternalCompletionBlock)completedBlock\n                           context:(nullable NSDictionary<NSString *, id> *)context;\n\n/**\n * Cancel the current image load\n */\n- (void)sd_cancelCurrentImageLoad;\n\n#if SD_UIKIT || SD_MAC\n\n#pragma mark - Image Transition\n\n/**\n The image transition when image load finished. See `SDWebImageTransition`.\n If you specify nil, do not do transition. Defautls to nil.\n */\n@property (nonatomic, strong, nullable) SDWebImageTransition *sd_imageTransition;\n\n#if SD_UIKIT\n\n#pragma mark - Activity indicator\n\n/**\n *  Show activity UIActivityIndicatorView\n */\n- (void)sd_setShowActivityIndicatorView:(BOOL)show;\n\n/**\n *  set desired UIActivityIndicatorViewStyle\n *\n *  @param style The style of the UIActivityIndicatorView\n */\n- (void)sd_setIndicatorStyle:(UIActivityIndicatorViewStyle)style;\n\n- (BOOL)sd_showActivityIndicatorView;\n- (void)sd_addActivityIndicator;\n- (void)sd_removeActivityIndicator;\n\n#endif\n\n#endif\n\n@end\n"
  },
  {
    "path": "CKMeiTuanShopView/Pods/SDWebImage/SDWebImage/UIView+WebCache.m",
    "content": "/*\n * This file is part of the SDWebImage package.\n * (c) Olivier Poitrey <rs@dailymotion.com>\n *\n * For the full copyright and license information, please view the LICENSE\n * file that was distributed with this source code.\n */\n\n#import \"UIView+WebCache.h\"\n#import \"objc/runtime.h\"\n#import \"UIView+WebCacheOperation.h\"\n\nNSString * const SDWebImageInternalSetImageGroupKey = @\"internalSetImageGroup\";\nNSString * const SDWebImageExternalCustomManagerKey = @\"externalCustomManager\";\n\nconst int64_t SDWebImageProgressUnitCountUnknown = 1LL;\n\nstatic char imageURLKey;\n\n#if SD_UIKIT\nstatic char TAG_ACTIVITY_INDICATOR;\nstatic char TAG_ACTIVITY_STYLE;\nstatic char TAG_ACTIVITY_SHOW;\n#endif\n\n@implementation UIView (WebCache)\n\n- (nullable NSURL *)sd_imageURL {\n    return objc_getAssociatedObject(self, &imageURLKey);\n}\n\n- (NSProgress *)sd_imageProgress {\n    NSProgress *progress = objc_getAssociatedObject(self, @selector(sd_imageProgress));\n    if (!progress) {\n        progress = [[NSProgress alloc] initWithParent:nil userInfo:nil];\n        self.sd_imageProgress = progress;\n    }\n    return progress;\n}\n\n- (void)setSd_imageProgress:(NSProgress *)sd_imageProgress {\n    objc_setAssociatedObject(self, @selector(sd_imageProgress), sd_imageProgress, OBJC_ASSOCIATION_RETAIN_NONATOMIC);\n}\n\n- (void)sd_internalSetImageWithURL:(nullable NSURL *)url\n                  placeholderImage:(nullable UIImage *)placeholder\n                           options:(SDWebImageOptions)options\n                      operationKey:(nullable NSString *)operationKey\n                     setImageBlock:(nullable SDSetImageBlock)setImageBlock\n                          progress:(nullable SDWebImageDownloaderProgressBlock)progressBlock\n                         completed:(nullable SDExternalCompletionBlock)completedBlock {\n    return [self sd_internalSetImageWithURL:url placeholderImage:placeholder options:options operationKey:operationKey setImageBlock:setImageBlock progress:progressBlock completed:completedBlock context:nil];\n}\n\n- (void)sd_internalSetImageWithURL:(nullable NSURL *)url\n                  placeholderImage:(nullable UIImage *)placeholder\n                           options:(SDWebImageOptions)options\n                      operationKey:(nullable NSString *)operationKey\n                     setImageBlock:(nullable SDSetImageBlock)setImageBlock\n                          progress:(nullable SDWebImageDownloaderProgressBlock)progressBlock\n                         completed:(nullable SDExternalCompletionBlock)completedBlock\n                           context:(nullable NSDictionary<NSString *, id> *)context {\n    NSString *validOperationKey = operationKey ?: NSStringFromClass([self class]);\n    [self sd_cancelImageLoadOperationWithKey:validOperationKey];\n    objc_setAssociatedObject(self, &imageURLKey, url, OBJC_ASSOCIATION_RETAIN_NONATOMIC);\n    \n    if (!(options & SDWebImageDelayPlaceholder)) {\n        dispatch_main_async_safe(^{\n            [self sd_setImage:placeholder imageData:nil basedOnClassOrViaCustomSetImageBlock:setImageBlock];\n        });\n    }\n    \n    if (url) {\n#if SD_UIKIT\n        // check if activityView is enabled or not\n        if ([self sd_showActivityIndicatorView]) {\n            [self sd_addActivityIndicator];\n        }\n#endif\n        \n        // reset the progress\n        self.sd_imageProgress.totalUnitCount = 0;\n        self.sd_imageProgress.completedUnitCount = 0;\n        \n        SDWebImageManager *manager;\n        if ([context valueForKey:SDWebImageExternalCustomManagerKey]) {\n            manager = (SDWebImageManager *)[context valueForKey:SDWebImageExternalCustomManagerKey];\n        } else {\n            manager = [SDWebImageManager sharedManager];\n        }\n        \n        __weak __typeof(self)wself = self;\n        SDWebImageDownloaderProgressBlock combinedProgressBlock = ^(NSInteger receivedSize, NSInteger expectedSize, NSURL * _Nullable targetURL) {\n            wself.sd_imageProgress.totalUnitCount = expectedSize;\n            wself.sd_imageProgress.completedUnitCount = receivedSize;\n            if (progressBlock) {\n                progressBlock(receivedSize, expectedSize, targetURL);\n            }\n        };\n        id <SDWebImageOperation> operation = [manager loadImageWithURL:url options:options progress:combinedProgressBlock completed:^(UIImage *image, NSData *data, NSError *error, SDImageCacheType cacheType, BOOL finished, NSURL *imageURL) {\n            __strong __typeof (wself) sself = wself;\n            if (!sself) { return; }\n#if SD_UIKIT\n            [sself sd_removeActivityIndicator];\n#endif\n            // if the progress not been updated, mark it to complete state\n            if (finished && !error && sself.sd_imageProgress.totalUnitCount == 0 && sself.sd_imageProgress.completedUnitCount == 0) {\n                sself.sd_imageProgress.totalUnitCount = SDWebImageProgressUnitCountUnknown;\n                sself.sd_imageProgress.completedUnitCount = SDWebImageProgressUnitCountUnknown;\n            }\n            BOOL shouldCallCompletedBlock = finished || (options & SDWebImageAvoidAutoSetImage);\n            BOOL shouldNotSetImage = ((image && (options & SDWebImageAvoidAutoSetImage)) ||\n                                      (!image && !(options & SDWebImageDelayPlaceholder)));\n            SDWebImageNoParamsBlock callCompletedBlockClojure = ^{\n                if (!sself) { return; }\n                if (!shouldNotSetImage) {\n                    [sself sd_setNeedsLayout];\n                }\n                if (completedBlock && shouldCallCompletedBlock) {\n                    completedBlock(image, error, cacheType, url);\n                }\n            };\n            \n            // case 1a: we got an image, but the SDWebImageAvoidAutoSetImage flag is set\n            // OR\n            // case 1b: we got no image and the SDWebImageDelayPlaceholder is not set\n            if (shouldNotSetImage) {\n                dispatch_main_async_safe(callCompletedBlockClojure);\n                return;\n            }\n            \n            UIImage *targetImage = nil;\n            NSData *targetData = nil;\n            if (image) {\n                // case 2a: we got an image and the SDWebImageAvoidAutoSetImage is not set\n                targetImage = image;\n                targetData = data;\n            } else if (options & SDWebImageDelayPlaceholder) {\n                // case 2b: we got no image and the SDWebImageDelayPlaceholder flag is set\n                targetImage = placeholder;\n                targetData = nil;\n            }\n            \n#if SD_UIKIT || SD_MAC\n            // check whether we should use the image transition\n            SDWebImageTransition *transition = nil;\n            if (finished && (options & SDWebImageForceTransition || cacheType == SDImageCacheTypeNone)) {\n                transition = sself.sd_imageTransition;\n            }\n#endif\n            dispatch_main_async_safe(^{\n#if SD_UIKIT || SD_MAC\n                [sself sd_setImage:targetImage imageData:targetData basedOnClassOrViaCustomSetImageBlock:setImageBlock transition:transition cacheType:cacheType imageURL:imageURL];\n#else\n                [sself sd_setImage:targetImage imageData:targetData basedOnClassOrViaCustomSetImageBlock:setImageBlock];\n#endif\n                callCompletedBlockClojure();\n            });\n        }];\n        [self sd_setImageLoadOperation:operation forKey:validOperationKey];\n    } else {\n        dispatch_main_async_safe(^{\n#if SD_UIKIT\n            [self sd_removeActivityIndicator];\n#endif\n            if (completedBlock) {\n                NSError *error = [NSError errorWithDomain:SDWebImageErrorDomain code:-1 userInfo:@{NSLocalizedDescriptionKey : @\"Trying to load a nil url\"}];\n                completedBlock(nil, error, SDImageCacheTypeNone, url);\n            }\n        });\n    }\n}\n\n- (void)sd_cancelCurrentImageLoad {\n    [self sd_cancelImageLoadOperationWithKey:NSStringFromClass([self class])];\n}\n\n- (void)sd_setImage:(UIImage *)image imageData:(NSData *)imageData basedOnClassOrViaCustomSetImageBlock:(SDSetImageBlock)setImageBlock {\n#if SD_UIKIT || SD_MAC\n    [self sd_setImage:image imageData:imageData basedOnClassOrViaCustomSetImageBlock:setImageBlock transition:nil cacheType:0 imageURL:nil];\n#else\n    // watchOS does not support view transition. Simplify the logic\n    if (setImageBlock) {\n        setImageBlock(image, imageData);\n    } else if ([self isKindOfClass:[UIImageView class]]) {\n        UIImageView *imageView = (UIImageView *)self;\n        [imageView setImage:image];\n    }\n#endif\n}\n\n#if SD_UIKIT || SD_MAC\n- (void)sd_setImage:(UIImage *)image imageData:(NSData *)imageData basedOnClassOrViaCustomSetImageBlock:(SDSetImageBlock)setImageBlock transition:(SDWebImageTransition *)transition cacheType:(SDImageCacheType)cacheType imageURL:(NSURL *)imageURL {\n    UIView *view = self;\n    SDSetImageBlock finalSetImageBlock;\n    if (setImageBlock) {\n        finalSetImageBlock = setImageBlock;\n    } else if ([view isKindOfClass:[UIImageView class]]) {\n        UIImageView *imageView = (UIImageView *)view;\n        finalSetImageBlock = ^(UIImage *setImage, NSData *setImageData) {\n            imageView.image = setImage;\n        };\n    }\n#if SD_UIKIT\n    else if ([view isKindOfClass:[UIButton class]]) {\n        UIButton *button = (UIButton *)view;\n        finalSetImageBlock = ^(UIImage *setImage, NSData *setImageData){\n            [button setImage:setImage forState:UIControlStateNormal];\n        };\n    }\n#endif\n    \n    if (transition) {\n#if SD_UIKIT\n        [UIView transitionWithView:view duration:0 options:0 animations:^{\n            // 0 duration to let UIKit render placeholder and prepares block\n            if (transition.prepares) {\n                transition.prepares(view, image, imageData, cacheType, imageURL);\n            }\n        } completion:^(BOOL finished) {\n            [UIView transitionWithView:view duration:transition.duration options:transition.animationOptions animations:^{\n                if (finalSetImageBlock && !transition.avoidAutoSetImage) {\n                    finalSetImageBlock(image, imageData);\n                }\n                if (transition.animations) {\n                    transition.animations(view, image);\n                }\n            } completion:transition.completion];\n        }];\n#elif SD_MAC\n        [NSAnimationContext runAnimationGroup:^(NSAnimationContext * _Nonnull prepareContext) {\n            // 0 duration to let AppKit render placeholder and prepares block\n            prepareContext.duration = 0;\n            if (transition.prepares) {\n                transition.prepares(view, image, imageData, cacheType, imageURL);\n            }\n        } completionHandler:^{\n            [NSAnimationContext runAnimationGroup:^(NSAnimationContext * _Nonnull context) {\n                context.duration = transition.duration;\n                context.timingFunction = transition.timingFunction;\n                context.allowsImplicitAnimation = (transition.animationOptions & SDWebImageAnimationOptionAllowsImplicitAnimation);\n                if (finalSetImageBlock && !transition.avoidAutoSetImage) {\n                    finalSetImageBlock(image, imageData);\n                }\n                if (transition.animations) {\n                    transition.animations(view, image);\n                }\n            } completionHandler:^{\n                if (transition.completion) {\n                    transition.completion(YES);\n                }\n            }];\n        }];\n#endif\n    } else {\n        if (finalSetImageBlock) {\n            finalSetImageBlock(image, imageData);\n        }\n    }\n}\n#endif\n\n- (void)sd_setNeedsLayout {\n#if SD_UIKIT\n    [self setNeedsLayout];\n#elif SD_MAC\n    [self setNeedsLayout:YES];\n#elif SD_WATCH\n    // Do nothing because WatchKit automatically layout the view after property change\n#endif\n}\n\n#if SD_UIKIT || SD_MAC\n\n#pragma mark - Image Transition\n- (SDWebImageTransition *)sd_imageTransition {\n    return objc_getAssociatedObject(self, @selector(sd_imageTransition));\n}\n\n- (void)setSd_imageTransition:(SDWebImageTransition *)sd_imageTransition {\n    objc_setAssociatedObject(self, @selector(sd_imageTransition), sd_imageTransition, OBJC_ASSOCIATION_RETAIN_NONATOMIC);\n}\n\n#if SD_UIKIT\n\n#pragma mark - Activity indicator\n- (UIActivityIndicatorView *)activityIndicator {\n    return (UIActivityIndicatorView *)objc_getAssociatedObject(self, &TAG_ACTIVITY_INDICATOR);\n}\n\n- (void)setActivityIndicator:(UIActivityIndicatorView *)activityIndicator {\n    objc_setAssociatedObject(self, &TAG_ACTIVITY_INDICATOR, activityIndicator, OBJC_ASSOCIATION_RETAIN);\n}\n\n- (void)sd_setShowActivityIndicatorView:(BOOL)show {\n    objc_setAssociatedObject(self, &TAG_ACTIVITY_SHOW, @(show), OBJC_ASSOCIATION_RETAIN);\n}\n\n- (BOOL)sd_showActivityIndicatorView {\n    return [objc_getAssociatedObject(self, &TAG_ACTIVITY_SHOW) boolValue];\n}\n\n- (void)sd_setIndicatorStyle:(UIActivityIndicatorViewStyle)style{\n    objc_setAssociatedObject(self, &TAG_ACTIVITY_STYLE, [NSNumber numberWithInt:style], OBJC_ASSOCIATION_RETAIN);\n}\n\n- (int)sd_getIndicatorStyle{\n    return [objc_getAssociatedObject(self, &TAG_ACTIVITY_STYLE) intValue];\n}\n\n- (void)sd_addActivityIndicator {\n    dispatch_main_async_safe(^{\n        if (!self.activityIndicator) {\n            self.activityIndicator = [[UIActivityIndicatorView alloc] initWithActivityIndicatorStyle:[self sd_getIndicatorStyle]];\n            self.activityIndicator.translatesAutoresizingMaskIntoConstraints = NO;\n        \n            [self addSubview:self.activityIndicator];\n            \n            [self addConstraint:[NSLayoutConstraint constraintWithItem:self.activityIndicator\n                                                             attribute:NSLayoutAttributeCenterX\n                                                             relatedBy:NSLayoutRelationEqual\n                                                                toItem:self\n                                                             attribute:NSLayoutAttributeCenterX\n                                                            multiplier:1.0\n                                                              constant:0.0]];\n            [self addConstraint:[NSLayoutConstraint constraintWithItem:self.activityIndicator\n                                                             attribute:NSLayoutAttributeCenterY\n                                                             relatedBy:NSLayoutRelationEqual\n                                                                toItem:self\n                                                             attribute:NSLayoutAttributeCenterY\n                                                            multiplier:1.0\n                                                              constant:0.0]];\n        }\n        [self.activityIndicator startAnimating];\n    });\n}\n\n- (void)sd_removeActivityIndicator {\n    dispatch_main_async_safe(^{\n        if (self.activityIndicator) {\n            [self.activityIndicator removeFromSuperview];\n            self.activityIndicator = nil;\n        }\n    });\n}\n\n#endif\n\n#endif\n\n@end\n"
  },
  {
    "path": "CKMeiTuanShopView/Pods/SDWebImage/SDWebImage/UIView+WebCacheOperation.h",
    "content": "/*\n * This file is part of the SDWebImage package.\n * (c) Olivier Poitrey <rs@dailymotion.com>\n *\n * For the full copyright and license information, please view the LICENSE\n * file that was distributed with this source code.\n */\n\n#import \"SDWebImageCompat.h\"\n#import \"SDWebImageOperation.h\"\n\n// These methods are used to support canceling for UIView image loading, it's designed to be used internal but not external.\n// All the stored operations are weak, so it will be dalloced after image loading finished. If you need to store operations, use your own class to keep a strong reference for them.\n@interface UIView (WebCacheOperation)\n\n/**\n *  Set the image load operation (storage in a UIView based weak map table)\n *\n *  @param operation the operation\n *  @param key       key for storing the operation\n */\n- (void)sd_setImageLoadOperation:(nullable id<SDWebImageOperation>)operation forKey:(nullable NSString *)key;\n\n/**\n *  Cancel all operations for the current UIView and key\n *\n *  @param key key for identifying the operations\n */\n- (void)sd_cancelImageLoadOperationWithKey:(nullable NSString *)key;\n\n/**\n *  Just remove the operations corresponding to the current UIView and key without cancelling them\n *\n *  @param key key for identifying the operations\n */\n- (void)sd_removeImageLoadOperationWithKey:(nullable NSString *)key;\n\n@end\n"
  },
  {
    "path": "CKMeiTuanShopView/Pods/SDWebImage/SDWebImage/UIView+WebCacheOperation.m",
    "content": "/*\n * This file is part of the SDWebImage package.\n * (c) Olivier Poitrey <rs@dailymotion.com>\n *\n * For the full copyright and license information, please view the LICENSE\n * file that was distributed with this source code.\n */\n\n#import \"UIView+WebCacheOperation.h\"\n#import \"objc/runtime.h\"\n\nstatic char loadOperationKey;\n\n// key is copy, value is weak because operation instance is retained by SDWebImageManager's runningOperations property\n// we should use lock to keep thread-safe because these method may not be acessed from main queue\ntypedef NSMapTable<NSString *, id<SDWebImageOperation>> SDOperationsDictionary;\n\n@implementation UIView (WebCacheOperation)\n\n- (SDOperationsDictionary *)sd_operationDictionary {\n    @synchronized(self) {\n        SDOperationsDictionary *operations = objc_getAssociatedObject(self, &loadOperationKey);\n        if (operations) {\n            return operations;\n        }\n        operations = [[NSMapTable alloc] initWithKeyOptions:NSPointerFunctionsStrongMemory valueOptions:NSPointerFunctionsWeakMemory capacity:0];\n        objc_setAssociatedObject(self, &loadOperationKey, operations, OBJC_ASSOCIATION_RETAIN_NONATOMIC);\n        return operations;\n    }\n}\n\n- (void)sd_setImageLoadOperation:(nullable id<SDWebImageOperation>)operation forKey:(nullable NSString *)key {\n    if (key) {\n        [self sd_cancelImageLoadOperationWithKey:key];\n        if (operation) {\n            SDOperationsDictionary *operationDictionary = [self sd_operationDictionary];\n            @synchronized (self) {\n                [operationDictionary setObject:operation forKey:key];\n            }\n        }\n    }\n}\n\n- (void)sd_cancelImageLoadOperationWithKey:(nullable NSString *)key {\n    if (key) {\n        // Cancel in progress downloader from queue\n        SDOperationsDictionary *operationDictionary = [self sd_operationDictionary];\n        id<SDWebImageOperation> operation;\n        \n        @synchronized (self) {\n            operation = [operationDictionary objectForKey:key];\n        }\n        if (operation) {\n            if ([operation conformsToProtocol:@protocol(SDWebImageOperation)]) {\n                [operation cancel];\n            }\n            @synchronized (self) {\n                [operationDictionary removeObjectForKey:key];\n            }\n        }\n    }\n}\n\n- (void)sd_removeImageLoadOperationWithKey:(nullable NSString *)key {\n    if (key) {\n        SDOperationsDictionary *operationDictionary = [self sd_operationDictionary];\n        @synchronized (self) {\n            [operationDictionary removeObjectForKey:key];\n        }\n    }\n}\n\n@end\n"
  },
  {
    "path": "CKMeiTuanShopView/Pods/Target Support Files/AFNetworking/AFNetworking-dummy.m",
    "content": "#import <Foundation/Foundation.h>\n@interface PodsDummy_AFNetworking : NSObject\n@end\n@implementation PodsDummy_AFNetworking\n@end\n"
  },
  {
    "path": "CKMeiTuanShopView/Pods/Target Support Files/AFNetworking/AFNetworking-prefix.pch",
    "content": "#ifdef __OBJC__\n#import <UIKit/UIKit.h>\n#else\n#ifndef FOUNDATION_EXPORT\n#if defined(__cplusplus)\n#define FOUNDATION_EXPORT extern \"C\"\n#else\n#define FOUNDATION_EXPORT extern\n#endif\n#endif\n#endif\n\n#ifndef TARGET_OS_IOS\n  #define TARGET_OS_IOS TARGET_OS_IPHONE\n#endif\n\n#ifndef TARGET_OS_WATCH\n  #define TARGET_OS_WATCH 0\n#endif\n\n#ifndef TARGET_OS_TV\n  #define TARGET_OS_TV 0\n#endif\n"
  },
  {
    "path": "CKMeiTuanShopView/Pods/Target Support Files/AFNetworking/AFNetworking.xcconfig",
    "content": "CONFIGURATION_BUILD_DIR = ${PODS_CONFIGURATION_BUILD_DIR}/AFNetworking\nGCC_PREPROCESSOR_DEFINITIONS = $(inherited) COCOAPODS=1\nHEADER_SEARCH_PATHS = $(inherited) \"${PODS_ROOT}/Headers/Private\" \"${PODS_ROOT}/Headers/Private/AFNetworking\" \"${PODS_ROOT}/Headers/Public\" \"${PODS_ROOT}/Headers/Public/AFNetworking\"\nOTHER_LDFLAGS = -framework \"CoreGraphics\" -framework \"MobileCoreServices\" -framework \"Security\" -framework \"SystemConfiguration\"\nPODS_BUILD_DIR = ${BUILD_DIR}\nPODS_CONFIGURATION_BUILD_DIR = ${PODS_BUILD_DIR}/$(CONFIGURATION)$(EFFECTIVE_PLATFORM_NAME)\nPODS_ROOT = ${SRCROOT}\nPODS_TARGET_SRCROOT = ${PODS_ROOT}/AFNetworking\nPRODUCT_BUNDLE_IDENTIFIER = org.cocoapods.${PRODUCT_NAME:rfc1034identifier}\nSKIP_INSTALL = YES\n"
  },
  {
    "path": "CKMeiTuanShopView/Pods/Target Support Files/IQKeyboardManager/IQKeyboardManager-dummy.m",
    "content": "#import <Foundation/Foundation.h>\n@interface PodsDummy_IQKeyboardManager : NSObject\n@end\n@implementation PodsDummy_IQKeyboardManager\n@end\n"
  },
  {
    "path": "CKMeiTuanShopView/Pods/Target Support Files/IQKeyboardManager/IQKeyboardManager-prefix.pch",
    "content": "#ifdef __OBJC__\n#import <UIKit/UIKit.h>\n#else\n#ifndef FOUNDATION_EXPORT\n#if defined(__cplusplus)\n#define FOUNDATION_EXPORT extern \"C\"\n#else\n#define FOUNDATION_EXPORT extern\n#endif\n#endif\n#endif\n\n"
  },
  {
    "path": "CKMeiTuanShopView/Pods/Target Support Files/IQKeyboardManager/IQKeyboardManager.xcconfig",
    "content": "CONFIGURATION_BUILD_DIR = ${PODS_CONFIGURATION_BUILD_DIR}/IQKeyboardManager\nGCC_PREPROCESSOR_DEFINITIONS = $(inherited) COCOAPODS=1\nHEADER_SEARCH_PATHS = $(inherited) \"${PODS_ROOT}/Headers/Private\" \"${PODS_ROOT}/Headers/Private/IQKeyboardManager\" \"${PODS_ROOT}/Headers/Public\" \"${PODS_ROOT}/Headers/Public/IQKeyboardManager\"\nOTHER_LDFLAGS = -framework \"CoreGraphics\" -framework \"Foundation\" -framework \"QuartzCore\" -framework \"UIKit\"\nPODS_BUILD_DIR = ${BUILD_DIR}\nPODS_CONFIGURATION_BUILD_DIR = ${PODS_BUILD_DIR}/$(CONFIGURATION)$(EFFECTIVE_PLATFORM_NAME)\nPODS_ROOT = ${SRCROOT}\nPODS_TARGET_SRCROOT = ${PODS_ROOT}/IQKeyboardManager\nPRODUCT_BUNDLE_IDENTIFIER = org.cocoapods.${PRODUCT_NAME:rfc1034identifier}\nSKIP_INSTALL = YES\n"
  },
  {
    "path": "CKMeiTuanShopView/Pods/Target Support Files/JSONModel/JSONModel-dummy.m",
    "content": "#import <Foundation/Foundation.h>\n@interface PodsDummy_JSONModel : NSObject\n@end\n@implementation PodsDummy_JSONModel\n@end\n"
  },
  {
    "path": "CKMeiTuanShopView/Pods/Target Support Files/JSONModel/JSONModel-prefix.pch",
    "content": "#ifdef __OBJC__\n#import <UIKit/UIKit.h>\n#else\n#ifndef FOUNDATION_EXPORT\n#if defined(__cplusplus)\n#define FOUNDATION_EXPORT extern \"C\"\n#else\n#define FOUNDATION_EXPORT extern\n#endif\n#endif\n#endif\n\n"
  },
  {
    "path": "CKMeiTuanShopView/Pods/Target Support Files/JSONModel/JSONModel.xcconfig",
    "content": "CONFIGURATION_BUILD_DIR = ${PODS_CONFIGURATION_BUILD_DIR}/JSONModel\nGCC_PREPROCESSOR_DEFINITIONS = $(inherited) COCOAPODS=1\nHEADER_SEARCH_PATHS = $(inherited) \"${PODS_ROOT}/Headers/Private\" \"${PODS_ROOT}/Headers/Private/JSONModel\" \"${PODS_ROOT}/Headers/Public\" \"${PODS_ROOT}/Headers/Public/JSONModel\"\nPODS_BUILD_DIR = ${BUILD_DIR}\nPODS_CONFIGURATION_BUILD_DIR = ${PODS_BUILD_DIR}/$(CONFIGURATION)$(EFFECTIVE_PLATFORM_NAME)\nPODS_ROOT = ${SRCROOT}\nPODS_TARGET_SRCROOT = ${PODS_ROOT}/JSONModel\nPRODUCT_BUNDLE_IDENTIFIER = org.cocoapods.${PRODUCT_NAME:rfc1034identifier}\nSKIP_INSTALL = YES\n"
  },
  {
    "path": "CKMeiTuanShopView/Pods/Target Support Files/MBProgressHUD/MBProgressHUD-dummy.m",
    "content": "#import <Foundation/Foundation.h>\n@interface PodsDummy_MBProgressHUD : NSObject\n@end\n@implementation PodsDummy_MBProgressHUD\n@end\n"
  },
  {
    "path": "CKMeiTuanShopView/Pods/Target Support Files/MBProgressHUD/MBProgressHUD-prefix.pch",
    "content": "#ifdef __OBJC__\n#import <UIKit/UIKit.h>\n#else\n#ifndef FOUNDATION_EXPORT\n#if defined(__cplusplus)\n#define FOUNDATION_EXPORT extern \"C\"\n#else\n#define FOUNDATION_EXPORT extern\n#endif\n#endif\n#endif\n\n"
  },
  {
    "path": "CKMeiTuanShopView/Pods/Target Support Files/MBProgressHUD/MBProgressHUD.xcconfig",
    "content": "CONFIGURATION_BUILD_DIR = ${PODS_CONFIGURATION_BUILD_DIR}/MBProgressHUD\nGCC_PREPROCESSOR_DEFINITIONS = $(inherited) COCOAPODS=1\nHEADER_SEARCH_PATHS = $(inherited) \"${PODS_ROOT}/Headers/Private\" \"${PODS_ROOT}/Headers/Private/MBProgressHUD\" \"${PODS_ROOT}/Headers/Public\" \"${PODS_ROOT}/Headers/Public/MBProgressHUD\"\nOTHER_LDFLAGS = -framework \"CoreGraphics\" -framework \"QuartzCore\"\nPODS_BUILD_DIR = ${BUILD_DIR}\nPODS_CONFIGURATION_BUILD_DIR = ${PODS_BUILD_DIR}/$(CONFIGURATION)$(EFFECTIVE_PLATFORM_NAME)\nPODS_ROOT = ${SRCROOT}\nPODS_TARGET_SRCROOT = ${PODS_ROOT}/MBProgressHUD\nPRODUCT_BUNDLE_IDENTIFIER = org.cocoapods.${PRODUCT_NAME:rfc1034identifier}\nSKIP_INSTALL = YES\n"
  },
  {
    "path": "CKMeiTuanShopView/Pods/Target Support Files/MJRefresh/MJRefresh-dummy.m",
    "content": "#import <Foundation/Foundation.h>\n@interface PodsDummy_MJRefresh : NSObject\n@end\n@implementation PodsDummy_MJRefresh\n@end\n"
  },
  {
    "path": "CKMeiTuanShopView/Pods/Target Support Files/MJRefresh/MJRefresh-prefix.pch",
    "content": "#ifdef __OBJC__\n#import <UIKit/UIKit.h>\n#else\n#ifndef FOUNDATION_EXPORT\n#if defined(__cplusplus)\n#define FOUNDATION_EXPORT extern \"C\"\n#else\n#define FOUNDATION_EXPORT extern\n#endif\n#endif\n#endif\n\n"
  },
  {
    "path": "CKMeiTuanShopView/Pods/Target Support Files/MJRefresh/MJRefresh.xcconfig",
    "content": "CONFIGURATION_BUILD_DIR = ${PODS_CONFIGURATION_BUILD_DIR}/MJRefresh\nGCC_PREPROCESSOR_DEFINITIONS = $(inherited) COCOAPODS=1\nHEADER_SEARCH_PATHS = $(inherited) \"${PODS_ROOT}/Headers/Private\" \"${PODS_ROOT}/Headers/Private/MJRefresh\" \"${PODS_ROOT}/Headers/Public\" \"${PODS_ROOT}/Headers/Public/MJRefresh\"\nPODS_BUILD_DIR = ${BUILD_DIR}\nPODS_CONFIGURATION_BUILD_DIR = ${PODS_BUILD_DIR}/$(CONFIGURATION)$(EFFECTIVE_PLATFORM_NAME)\nPODS_ROOT = ${SRCROOT}\nPODS_TARGET_SRCROOT = ${PODS_ROOT}/MJRefresh\nPRODUCT_BUNDLE_IDENTIFIER = org.cocoapods.${PRODUCT_NAME:rfc1034identifier}\nSKIP_INSTALL = YES\n"
  },
  {
    "path": "CKMeiTuanShopView/Pods/Target Support Files/Masonry/Masonry-dummy.m",
    "content": "#import <Foundation/Foundation.h>\n@interface PodsDummy_Masonry : NSObject\n@end\n@implementation PodsDummy_Masonry\n@end\n"
  },
  {
    "path": "CKMeiTuanShopView/Pods/Target Support Files/Masonry/Masonry-prefix.pch",
    "content": "#ifdef __OBJC__\n#import <UIKit/UIKit.h>\n#else\n#ifndef FOUNDATION_EXPORT\n#if defined(__cplusplus)\n#define FOUNDATION_EXPORT extern \"C\"\n#else\n#define FOUNDATION_EXPORT extern\n#endif\n#endif\n#endif\n\n"
  },
  {
    "path": "CKMeiTuanShopView/Pods/Target Support Files/Masonry/Masonry.xcconfig",
    "content": "CONFIGURATION_BUILD_DIR = ${PODS_CONFIGURATION_BUILD_DIR}/Masonry\nGCC_PREPROCESSOR_DEFINITIONS = $(inherited) COCOAPODS=1\nHEADER_SEARCH_PATHS = $(inherited) \"${PODS_ROOT}/Headers/Private\" \"${PODS_ROOT}/Headers/Private/Masonry\" \"${PODS_ROOT}/Headers/Public\" \"${PODS_ROOT}/Headers/Public/Masonry\"\nOTHER_LDFLAGS = -framework \"Foundation\" -framework \"UIKit\"\nPODS_BUILD_DIR = ${BUILD_DIR}\nPODS_CONFIGURATION_BUILD_DIR = ${PODS_BUILD_DIR}/$(CONFIGURATION)$(EFFECTIVE_PLATFORM_NAME)\nPODS_ROOT = ${SRCROOT}\nPODS_TARGET_SRCROOT = ${PODS_ROOT}/Masonry\nPRODUCT_BUNDLE_IDENTIFIER = org.cocoapods.${PRODUCT_NAME:rfc1034identifier}\nSKIP_INSTALL = YES\n"
  },
  {
    "path": "CKMeiTuanShopView/Pods/Target Support Files/Pods-CKMeiTuanShopView/Pods-CKMeiTuanShopView-acknowledgements.markdown",
    "content": "# Acknowledgements\nThis application makes use of the following third party libraries:\n\n## AFNetworking\n\nCopyright (c) 2011-2016 Alamofire Software Foundation (http://alamofire.org/)\n\nPermission is hereby granted, free of charge, to any person obtaining a copy\nof this software and associated documentation files (the \"Software\"), to deal\nin the Software without restriction, including without limitation the rights\nto use, copy, modify, merge, publish, distribute, sublicense, and/or sell\ncopies of the Software, and to permit persons to whom the Software is\nfurnished to do so, subject to the following conditions:\n\nThe above copyright notice and this permission notice shall be included in\nall copies or substantial portions of the Software.\n\nTHE SOFTWARE IS PROVIDED \"AS IS\", WITHOUT WARRANTY OF ANY KIND, EXPRESS OR\nIMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF MERCHANTABILITY,\nFITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT. IN NO EVENT SHALL THE\nAUTHORS OR COPYRIGHT HOLDERS BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER\nLIABILITY, WHETHER IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING FROM,\nOUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN\nTHE SOFTWARE.\n\n\n## IQKeyboardManager\n\nMIT License\n\nCopyright (c) 2013-2017 Iftekhar Qurashi\n\nPermission is hereby granted, free of charge, to any person obtaining a copy\nof this software and associated documentation files (the \"Software\"), to deal\nin the Software without restriction, including without limitation the rights\nto use, copy, modify, merge, publish, distribute, sublicense, and/or sell\ncopies of the Software, and to permit persons to whom the Software is\nfurnished to do so, subject to the following conditions:\n\nThe above copyright notice and this permission notice shall be included in all\ncopies or substantial portions of the Software.\n\nTHE SOFTWARE IS PROVIDED \"AS IS\", WITHOUT WARRANTY OF ANY KIND, EXPRESS OR\nIMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF MERCHANTABILITY,\nFITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT. IN NO EVENT SHALL THE\nAUTHORS OR COPYRIGHT HOLDERS BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER\nLIABILITY, WHETHER IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING FROM,\nOUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN THE\nSOFTWARE.\n\n\n## JSONModel\n\nCopyright (c) 2012-2016 Marin Todorov and JSONModel contributors\n\nPermission is hereby granted, free of charge, to any person obtaining a copy of\nthis software and associated documentation files (the \"Software\"), to deal in\nthe Software without restriction, including without limitation the rights to\nuse, copy, modify, merge, publish, distribute, sublicense, and/or sell copies of\nthe Software, and to permit persons to whom the Software is furnished to do so,\nsubject to the following conditions:\n\nThe above copyright notice and this permission notice shall be included in all\ncopies or substantial portions of the Software.\n\nTHE SOFTWARE IS PROVIDED \"AS IS\", WITHOUT WARRANTY OF ANY KIND, EXPRESS OR\nIMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF MERCHANTABILITY, FITNESS\nFOR A PARTICULAR PURPOSE AND NONINFRINGEMENT. IN NO EVENT SHALL THE AUTHORS OR\nCOPYRIGHT HOLDERS BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER LIABILITY, WHETHER\nIN AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING FROM, OUT OF OR IN\nCONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN THE SOFTWARE.\n\n\n## MBProgressHUD\n\nCopyright © 2009-2016 Matej Bukovinski\n\nPermission is hereby granted, free of charge, to any person obtaining a copy\nof this software and associated documentation files (the \"Software\"), to deal\nin the Software without restriction, including without limitation the rights\nto use, copy, modify, merge, publish, distribute, sublicense, and/or sell\ncopies of the Software, and to permit persons to whom the Software is\nfurnished to do so, subject to the following conditions:\n\nThe above copyright notice and this permission notice shall be included in\nall copies or substantial portions of the Software.\n\nTHE SOFTWARE IS PROVIDED \"AS IS\", WITHOUT WARRANTY OF ANY KIND, EXPRESS OR\nIMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF MERCHANTABILITY,\nFITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT. IN NO EVENT SHALL THE\nAUTHORS OR COPYRIGHT HOLDERS BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER\nLIABILITY, WHETHER IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING FROM,\nOUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN\nTHE SOFTWARE.\n\n## MJRefresh\n\nCopyright (c) 2013-2015 MJRefresh (https://github.com/CoderMJLee/MJRefresh)\n\nPermission is hereby granted, free of charge, to any person obtaining a copy\nof this software and associated documentation files (the \"Software\"), to deal\nin the Software without restriction, including without limitation the rights\nto use, copy, modify, merge, publish, distribute, sublicense, and/or sell\ncopies of the Software, and to permit persons to whom the Software is\nfurnished to do so, subject to the following conditions:\n\nThe above copyright notice and this permission notice shall be included in\nall copies or substantial portions of the Software.\n\nTHE SOFTWARE IS PROVIDED \"AS IS\", WITHOUT WARRANTY OF ANY KIND, EXPRESS OR\nIMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF MERCHANTABILITY,\nFITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT. IN NO EVENT SHALL THE\nAUTHORS OR COPYRIGHT HOLDERS BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER\nLIABILITY, WHETHER IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING FROM,\nOUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN\nTHE SOFTWARE.\n\n\n## Masonry\n\nCopyright (c) 2011-2012 Masonry Team - https://github.com/Masonry\n\nPermission is hereby granted, free of charge, to any person obtaining a copy\nof this software and associated documentation files (the \"Software\"), to deal\nin the Software without restriction, including without limitation the rights\nto use, copy, modify, merge, publish, distribute, sublicense, and/or sell\ncopies of the Software, and to permit persons to whom the Software is\nfurnished to do so, subject to the following conditions:\n\nThe above copyright notice and this permission notice shall be included in\nall copies or substantial portions of the Software.\n\nTHE SOFTWARE IS PROVIDED \"AS IS\", WITHOUT WARRANTY OF ANY KIND, EXPRESS OR\nIMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF MERCHANTABILITY,\nFITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT. IN NO EVENT SHALL THE\nAUTHORS OR COPYRIGHT HOLDERS BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER\nLIABILITY, WHETHER IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING FROM,\nOUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN\nTHE SOFTWARE.\n\n## SDWebImage\n\nCopyright (c) 2009-2017 Olivier Poitrey rs@dailymotion.com\n \nPermission is hereby granted, free of charge, to any person obtaining a copy\nof this software and associated documentation files (the \"Software\"), to deal\nin the Software without restriction, including without limitation the rights\nto use, copy, modify, merge, publish, distribute, sublicense, and/or sell\ncopies of the Software, and to permit persons to whom the Software is furnished\nto do so, subject to the following conditions:\n \nThe above copyright notice and this permission notice shall be included in all\ncopies or substantial portions of the Software.\n \nTHE SOFTWARE IS PROVIDED \"AS IS\", WITHOUT WARRANTY OF ANY KIND, EXPRESS OR\nIMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF MERCHANTABILITY,\nFITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT. IN NO EVENT SHALL THE\nAUTHORS OR COPYRIGHT HOLDERS BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER\nLIABILITY, WHETHER IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING FROM,\nOUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN\nTHE SOFTWARE.\n\n\nGenerated by CocoaPods - https://cocoapods.org\n"
  },
  {
    "path": "CKMeiTuanShopView/Pods/Target Support Files/Pods-CKMeiTuanShopView/Pods-CKMeiTuanShopView-acknowledgements.plist",
    "content": "<?xml version=\"1.0\" encoding=\"UTF-8\"?>\n<!DOCTYPE plist PUBLIC \"-//Apple//DTD PLIST 1.0//EN\" \"http://www.apple.com/DTDs/PropertyList-1.0.dtd\">\n<plist version=\"1.0\">\n<dict>\n\t<key>PreferenceSpecifiers</key>\n\t<array>\n\t\t<dict>\n\t\t\t<key>FooterText</key>\n\t\t\t<string>This application makes use of the following third party libraries:</string>\n\t\t\t<key>Title</key>\n\t\t\t<string>Acknowledgements</string>\n\t\t\t<key>Type</key>\n\t\t\t<string>PSGroupSpecifier</string>\n\t\t</dict>\n\t\t<dict>\n\t\t\t<key>FooterText</key>\n\t\t\t<string>Copyright (c) 2011-2016 Alamofire Software Foundation (http://alamofire.org/)\n\nPermission is hereby granted, free of charge, to any person obtaining a copy\nof this software and associated documentation files (the \"Software\"), to deal\nin the Software without restriction, including without limitation the rights\nto use, copy, modify, merge, publish, distribute, sublicense, and/or sell\ncopies of the Software, and to permit persons to whom the Software is\nfurnished to do so, subject to the following conditions:\n\nThe above copyright notice and this permission notice shall be included in\nall copies or substantial portions of the Software.\n\nTHE SOFTWARE IS PROVIDED \"AS IS\", WITHOUT WARRANTY OF ANY KIND, EXPRESS OR\nIMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF MERCHANTABILITY,\nFITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT. IN NO EVENT SHALL THE\nAUTHORS OR COPYRIGHT HOLDERS BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER\nLIABILITY, WHETHER IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING FROM,\nOUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN\nTHE SOFTWARE.\n</string>\n\t\t\t<key>License</key>\n\t\t\t<string>MIT</string>\n\t\t\t<key>Title</key>\n\t\t\t<string>AFNetworking</string>\n\t\t\t<key>Type</key>\n\t\t\t<string>PSGroupSpecifier</string>\n\t\t</dict>\n\t\t<dict>\n\t\t\t<key>FooterText</key>\n\t\t\t<string>MIT License\n\nCopyright (c) 2013-2017 Iftekhar Qurashi\n\nPermission is hereby granted, free of charge, to any person obtaining a copy\nof this software and associated documentation files (the \"Software\"), to deal\nin the Software without restriction, including without limitation the rights\nto use, copy, modify, merge, publish, distribute, sublicense, and/or sell\ncopies of the Software, and to permit persons to whom the Software is\nfurnished to do so, subject to the following conditions:\n\nThe above copyright notice and this permission notice shall be included in all\ncopies or substantial portions of the Software.\n\nTHE SOFTWARE IS PROVIDED \"AS IS\", WITHOUT WARRANTY OF ANY KIND, EXPRESS OR\nIMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF MERCHANTABILITY,\nFITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT. IN NO EVENT SHALL THE\nAUTHORS OR COPYRIGHT HOLDERS BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER\nLIABILITY, WHETHER IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING FROM,\nOUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN THE\nSOFTWARE.\n</string>\n\t\t\t<key>License</key>\n\t\t\t<string>MIT</string>\n\t\t\t<key>Title</key>\n\t\t\t<string>IQKeyboardManager</string>\n\t\t\t<key>Type</key>\n\t\t\t<string>PSGroupSpecifier</string>\n\t\t</dict>\n\t\t<dict>\n\t\t\t<key>FooterText</key>\n\t\t\t<string>Copyright (c) 2012-2016 Marin Todorov and JSONModel contributors\n\nPermission is hereby granted, free of charge, to any person obtaining a copy of\nthis software and associated documentation files (the \"Software\"), to deal in\nthe Software without restriction, including without limitation the rights to\nuse, copy, modify, merge, publish, distribute, sublicense, and/or sell copies of\nthe Software, and to permit persons to whom the Software is furnished to do so,\nsubject to the following conditions:\n\nThe above copyright notice and this permission notice shall be included in all\ncopies or substantial portions of the Software.\n\nTHE SOFTWARE IS PROVIDED \"AS IS\", WITHOUT WARRANTY OF ANY KIND, EXPRESS OR\nIMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF MERCHANTABILITY, FITNESS\nFOR A PARTICULAR PURPOSE AND NONINFRINGEMENT. IN NO EVENT SHALL THE AUTHORS OR\nCOPYRIGHT HOLDERS BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER LIABILITY, WHETHER\nIN AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING FROM, OUT OF OR IN\nCONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN THE SOFTWARE.\n</string>\n\t\t\t<key>License</key>\n\t\t\t<string>MIT</string>\n\t\t\t<key>Title</key>\n\t\t\t<string>JSONModel</string>\n\t\t\t<key>Type</key>\n\t\t\t<string>PSGroupSpecifier</string>\n\t\t</dict>\n\t\t<dict>\n\t\t\t<key>FooterText</key>\n\t\t\t<string>Copyright © 2009-2016 Matej Bukovinski\n\nPermission is hereby granted, free of charge, to any person obtaining a copy\nof this software and associated documentation files (the \"Software\"), to deal\nin the Software without restriction, including without limitation the rights\nto use, copy, modify, merge, publish, distribute, sublicense, and/or sell\ncopies of the Software, and to permit persons to whom the Software is\nfurnished to do so, subject to the following conditions:\n\nThe above copyright notice and this permission notice shall be included in\nall copies or substantial portions of the Software.\n\nTHE SOFTWARE IS PROVIDED \"AS IS\", WITHOUT WARRANTY OF ANY KIND, EXPRESS OR\nIMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF MERCHANTABILITY,\nFITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT. IN NO EVENT SHALL THE\nAUTHORS OR COPYRIGHT HOLDERS BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER\nLIABILITY, WHETHER IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING FROM,\nOUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN\nTHE SOFTWARE.</string>\n\t\t\t<key>License</key>\n\t\t\t<string>MIT</string>\n\t\t\t<key>Title</key>\n\t\t\t<string>MBProgressHUD</string>\n\t\t\t<key>Type</key>\n\t\t\t<string>PSGroupSpecifier</string>\n\t\t</dict>\n\t\t<dict>\n\t\t\t<key>FooterText</key>\n\t\t\t<string>Copyright (c) 2013-2015 MJRefresh (https://github.com/CoderMJLee/MJRefresh)\n\nPermission is hereby granted, free of charge, to any person obtaining a copy\nof this software and associated documentation files (the \"Software\"), to deal\nin the Software without restriction, including without limitation the rights\nto use, copy, modify, merge, publish, distribute, sublicense, and/or sell\ncopies of the Software, and to permit persons to whom the Software is\nfurnished to do so, subject to the following conditions:\n\nThe above copyright notice and this permission notice shall be included in\nall copies or substantial portions of the Software.\n\nTHE SOFTWARE IS PROVIDED \"AS IS\", WITHOUT WARRANTY OF ANY KIND, EXPRESS OR\nIMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF MERCHANTABILITY,\nFITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT. IN NO EVENT SHALL THE\nAUTHORS OR COPYRIGHT HOLDERS BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER\nLIABILITY, WHETHER IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING FROM,\nOUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN\nTHE SOFTWARE.\n</string>\n\t\t\t<key>License</key>\n\t\t\t<string>MIT</string>\n\t\t\t<key>Title</key>\n\t\t\t<string>MJRefresh</string>\n\t\t\t<key>Type</key>\n\t\t\t<string>PSGroupSpecifier</string>\n\t\t</dict>\n\t\t<dict>\n\t\t\t<key>FooterText</key>\n\t\t\t<string>Copyright (c) 2011-2012 Masonry Team - https://github.com/Masonry\n\nPermission is hereby granted, free of charge, to any person obtaining a copy\nof this software and associated documentation files (the \"Software\"), to deal\nin the Software without restriction, including without limitation the rights\nto use, copy, modify, merge, publish, distribute, sublicense, and/or sell\ncopies of the Software, and to permit persons to whom the Software is\nfurnished to do so, subject to the following conditions:\n\nThe above copyright notice and this permission notice shall be included in\nall copies or substantial portions of the Software.\n\nTHE SOFTWARE IS PROVIDED \"AS IS\", WITHOUT WARRANTY OF ANY KIND, EXPRESS OR\nIMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF MERCHANTABILITY,\nFITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT. IN NO EVENT SHALL THE\nAUTHORS OR COPYRIGHT HOLDERS BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER\nLIABILITY, WHETHER IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING FROM,\nOUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN\nTHE SOFTWARE.</string>\n\t\t\t<key>License</key>\n\t\t\t<string>MIT</string>\n\t\t\t<key>Title</key>\n\t\t\t<string>Masonry</string>\n\t\t\t<key>Type</key>\n\t\t\t<string>PSGroupSpecifier</string>\n\t\t</dict>\n\t\t<dict>\n\t\t\t<key>FooterText</key>\n\t\t\t<string>Copyright (c) 2009-2017 Olivier Poitrey rs@dailymotion.com\n \nPermission is hereby granted, free of charge, to any person obtaining a copy\nof this software and associated documentation files (the \"Software\"), to deal\nin the Software without restriction, including without limitation the rights\nto use, copy, modify, merge, publish, distribute, sublicense, and/or sell\ncopies of the Software, and to permit persons to whom the Software is furnished\nto do so, subject to the following conditions:\n \nThe above copyright notice and this permission notice shall be included in all\ncopies or substantial portions of the Software.\n \nTHE SOFTWARE IS PROVIDED \"AS IS\", WITHOUT WARRANTY OF ANY KIND, EXPRESS OR\nIMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF MERCHANTABILITY,\nFITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT. IN NO EVENT SHALL THE\nAUTHORS OR COPYRIGHT HOLDERS BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER\nLIABILITY, WHETHER IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING FROM,\nOUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN\nTHE SOFTWARE.\n\n</string>\n\t\t\t<key>License</key>\n\t\t\t<string>MIT</string>\n\t\t\t<key>Title</key>\n\t\t\t<string>SDWebImage</string>\n\t\t\t<key>Type</key>\n\t\t\t<string>PSGroupSpecifier</string>\n\t\t</dict>\n\t\t<dict>\n\t\t\t<key>FooterText</key>\n\t\t\t<string>Generated by CocoaPods - https://cocoapods.org</string>\n\t\t\t<key>Title</key>\n\t\t\t<string></string>\n\t\t\t<key>Type</key>\n\t\t\t<string>PSGroupSpecifier</string>\n\t\t</dict>\n\t</array>\n\t<key>StringsTable</key>\n\t<string>Acknowledgements</string>\n\t<key>Title</key>\n\t<string>Acknowledgements</string>\n</dict>\n</plist>\n"
  },
  {
    "path": "CKMeiTuanShopView/Pods/Target Support Files/Pods-CKMeiTuanShopView/Pods-CKMeiTuanShopView-dummy.m",
    "content": "#import <Foundation/Foundation.h>\n@interface PodsDummy_Pods_CKMeiTuanShopView : NSObject\n@end\n@implementation PodsDummy_Pods_CKMeiTuanShopView\n@end\n"
  },
  {
    "path": "CKMeiTuanShopView/Pods/Target Support Files/Pods-CKMeiTuanShopView/Pods-CKMeiTuanShopView-frameworks.sh",
    "content": "#!/bin/sh\nset -e\nset -u\nset -o pipefail\n\nif [ -z ${FRAMEWORKS_FOLDER_PATH+x} ]; then\n    # If FRAMEWORKS_FOLDER_PATH is not set, then there's nowhere for us to copy\n    # frameworks to, so exit 0 (signalling the script phase was successful).\n    exit 0\nfi\n\necho \"mkdir -p ${CONFIGURATION_BUILD_DIR}/${FRAMEWORKS_FOLDER_PATH}\"\nmkdir -p \"${CONFIGURATION_BUILD_DIR}/${FRAMEWORKS_FOLDER_PATH}\"\n\nCOCOAPODS_PARALLEL_CODE_SIGN=\"${COCOAPODS_PARALLEL_CODE_SIGN:-false}\"\nSWIFT_STDLIB_PATH=\"${DT_TOOLCHAIN_DIR}/usr/lib/swift/${PLATFORM_NAME}\"\n\n# Used as a return value for each invocation of `strip_invalid_archs` function.\nSTRIP_BINARY_RETVAL=0\n\n# This protects against multiple targets copying the same framework dependency at the same time. The solution\n# was originally proposed here: https://lists.samba.org/archive/rsync/2008-February/020158.html\nRSYNC_PROTECT_TMP_FILES=(--filter \"P .*.??????\")\n\n# Copies and strips a vendored framework\ninstall_framework()\n{\n  if [ -r \"${BUILT_PRODUCTS_DIR}/$1\" ]; then\n    local source=\"${BUILT_PRODUCTS_DIR}/$1\"\n  elif [ -r \"${BUILT_PRODUCTS_DIR}/$(basename \"$1\")\" ]; then\n    local source=\"${BUILT_PRODUCTS_DIR}/$(basename \"$1\")\"\n  elif [ -r \"$1\" ]; then\n    local source=\"$1\"\n  fi\n\n  local destination=\"${TARGET_BUILD_DIR}/${FRAMEWORKS_FOLDER_PATH}\"\n\n  if [ -L \"${source}\" ]; then\n      echo \"Symlinked...\"\n      source=\"$(readlink \"${source}\")\"\n  fi\n\n  # Use filter instead of exclude so missing patterns don't throw errors.\n  echo \"rsync --delete -av \"${RSYNC_PROTECT_TMP_FILES[@]}\" --filter \\\"- CVS/\\\" --filter \\\"- .svn/\\\" --filter \\\"- .git/\\\" --filter \\\"- .hg/\\\" --filter \\\"- Headers\\\" --filter \\\"- PrivateHeaders\\\" --filter \\\"- Modules\\\" \\\"${source}\\\" \\\"${destination}\\\"\"\n  rsync --delete -av \"${RSYNC_PROTECT_TMP_FILES[@]}\" --filter \"- CVS/\" --filter \"- .svn/\" --filter \"- .git/\" --filter \"- .hg/\" --filter \"- Headers\" --filter \"- PrivateHeaders\" --filter \"- Modules\" \"${source}\" \"${destination}\"\n\n  local basename\n  basename=\"$(basename -s .framework \"$1\")\"\n  binary=\"${destination}/${basename}.framework/${basename}\"\n  if ! [ -r \"$binary\" ]; then\n    binary=\"${destination}/${basename}\"\n  fi\n\n  # Strip invalid architectures so \"fat\" simulator / device frameworks work on device\n  if [[ \"$(file \"$binary\")\" == *\"dynamically linked shared library\"* ]]; then\n    strip_invalid_archs \"$binary\"\n  fi\n\n  # Resign the code if required by the build settings to avoid unstable apps\n  code_sign_if_enabled \"${destination}/$(basename \"$1\")\"\n\n  # Embed linked Swift runtime libraries. No longer necessary as of Xcode 7.\n  if [ \"${XCODE_VERSION_MAJOR}\" -lt 7 ]; then\n    local swift_runtime_libs\n    swift_runtime_libs=$(xcrun otool -LX \"$binary\" | grep --color=never @rpath/libswift | sed -E s/@rpath\\\\/\\(.+dylib\\).*/\\\\1/g | uniq -u  && exit ${PIPESTATUS[0]})\n    for lib in $swift_runtime_libs; do\n      echo \"rsync -auv \\\"${SWIFT_STDLIB_PATH}/${lib}\\\" \\\"${destination}\\\"\"\n      rsync -auv \"${SWIFT_STDLIB_PATH}/${lib}\" \"${destination}\"\n      code_sign_if_enabled \"${destination}/${lib}\"\n    done\n  fi\n}\n\n# Copies and strips a vendored dSYM\ninstall_dsym() {\n  local source=\"$1\"\n  if [ -r \"$source\" ]; then\n    # Copy the dSYM into a the targets temp dir.\n    echo \"rsync --delete -av \"${RSYNC_PROTECT_TMP_FILES[@]}\" --filter \\\"- CVS/\\\" --filter \\\"- .svn/\\\" --filter \\\"- .git/\\\" --filter \\\"- .hg/\\\" --filter \\\"- Headers\\\" --filter \\\"- PrivateHeaders\\\" --filter \\\"- Modules\\\" \\\"${source}\\\" \\\"${DERIVED_FILES_DIR}\\\"\"\n    rsync --delete -av \"${RSYNC_PROTECT_TMP_FILES[@]}\" --filter \"- CVS/\" --filter \"- .svn/\" --filter \"- .git/\" --filter \"- .hg/\" --filter \"- Headers\" --filter \"- PrivateHeaders\" --filter \"- Modules\" \"${source}\" \"${DERIVED_FILES_DIR}\"\n\n    local basename\n    basename=\"$(basename -s .framework.dSYM \"$source\")\"\n    binary=\"${DERIVED_FILES_DIR}/${basename}.framework.dSYM/Contents/Resources/DWARF/${basename}\"\n\n    # Strip invalid architectures so \"fat\" simulator / device frameworks work on device\n    if [[ \"$(file \"$binary\")\" == *\"Mach-O dSYM companion\"* ]]; then\n      strip_invalid_archs \"$binary\"\n    fi\n\n    if [[ $STRIP_BINARY_RETVAL == 1 ]]; then\n      # Move the stripped file into its final destination.\n      echo \"rsync --delete -av \"${RSYNC_PROTECT_TMP_FILES[@]}\" --filter \\\"- CVS/\\\" --filter \\\"- .svn/\\\" --filter \\\"- .git/\\\" --filter \\\"- .hg/\\\" --filter \\\"- Headers\\\" --filter \\\"- PrivateHeaders\\\" --filter \\\"- Modules\\\" \\\"${DERIVED_FILES_DIR}/${basename}.framework.dSYM\\\" \\\"${DWARF_DSYM_FOLDER_PATH}\\\"\"\n      rsync --delete -av \"${RSYNC_PROTECT_TMP_FILES[@]}\" --filter \"- CVS/\" --filter \"- .svn/\" --filter \"- .git/\" --filter \"- .hg/\" --filter \"- Headers\" --filter \"- PrivateHeaders\" --filter \"- Modules\" \"${DERIVED_FILES_DIR}/${basename}.framework.dSYM\" \"${DWARF_DSYM_FOLDER_PATH}\"\n    else\n      # The dSYM was not stripped at all, in this case touch a fake folder so the input/output paths from Xcode do not reexecute this script because the file is missing.\n      touch \"${DWARF_DSYM_FOLDER_PATH}/${basename}.framework.dSYM\"\n    fi\n  fi\n}\n\n# Signs a framework with the provided identity\ncode_sign_if_enabled() {\n  if [ -n \"${EXPANDED_CODE_SIGN_IDENTITY}\" -a \"${CODE_SIGNING_REQUIRED:-}\" != \"NO\" -a \"${CODE_SIGNING_ALLOWED}\" != \"NO\" ]; then\n    # Use the current code_sign_identitiy\n    echo \"Code Signing $1 with Identity ${EXPANDED_CODE_SIGN_IDENTITY_NAME}\"\n    local code_sign_cmd=\"/usr/bin/codesign --force --sign ${EXPANDED_CODE_SIGN_IDENTITY} ${OTHER_CODE_SIGN_FLAGS:-} --preserve-metadata=identifier,entitlements '$1'\"\n\n    if [ \"${COCOAPODS_PARALLEL_CODE_SIGN}\" == \"true\" ]; then\n      code_sign_cmd=\"$code_sign_cmd &\"\n    fi\n    echo \"$code_sign_cmd\"\n    eval \"$code_sign_cmd\"\n  fi\n}\n\n# Strip invalid architectures\nstrip_invalid_archs() {\n  binary=\"$1\"\n  # Get architectures for current target binary\n  binary_archs=\"$(lipo -info \"$binary\" | rev | cut -d ':' -f1 | awk '{$1=$1;print}' | rev)\"\n  # Intersect them with the architectures we are building for\n  intersected_archs=\"$(echo ${ARCHS[@]} ${binary_archs[@]} | tr ' ' '\\n' | sort | uniq -d)\"\n  # If there are no archs supported by this binary then warn the user\n  if [[ -z \"$intersected_archs\" ]]; then\n    echo \"warning: [CP] Vendored binary '$binary' contains architectures ($binary_archs) none of which match the current build architectures ($ARCHS).\"\n    STRIP_BINARY_RETVAL=0\n    return\n  fi\n  stripped=\"\"\n  for arch in $binary_archs; do\n    if ! [[ \"${ARCHS}\" == *\"$arch\"* ]]; then\n      # Strip non-valid architectures in-place\n      lipo -remove \"$arch\" -output \"$binary\" \"$binary\" || exit 1\n      stripped=\"$stripped $arch\"\n    fi\n  done\n  if [[ \"$stripped\" ]]; then\n    echo \"Stripped $binary of architectures:$stripped\"\n  fi\n  STRIP_BINARY_RETVAL=1\n}\n\nif [ \"${COCOAPODS_PARALLEL_CODE_SIGN}\" == \"true\" ]; then\n  wait\nfi\n"
  },
  {
    "path": "CKMeiTuanShopView/Pods/Target Support Files/Pods-CKMeiTuanShopView/Pods-CKMeiTuanShopView-resources.sh",
    "content": "#!/bin/sh\nset -e\nset -u\nset -o pipefail\n\nif [ -z ${UNLOCALIZED_RESOURCES_FOLDER_PATH+x} ]; then\n    # If UNLOCALIZED_RESOURCES_FOLDER_PATH is not set, then there's nowhere for us to copy\n    # resources to, so exit 0 (signalling the script phase was successful).\n    exit 0\nfi\n\nmkdir -p \"${TARGET_BUILD_DIR}/${UNLOCALIZED_RESOURCES_FOLDER_PATH}\"\n\nRESOURCES_TO_COPY=${PODS_ROOT}/resources-to-copy-${TARGETNAME}.txt\n> \"$RESOURCES_TO_COPY\"\n\nXCASSET_FILES=()\n\n# This protects against multiple targets copying the same framework dependency at the same time. The solution\n# was originally proposed here: https://lists.samba.org/archive/rsync/2008-February/020158.html\nRSYNC_PROTECT_TMP_FILES=(--filter \"P .*.??????\")\n\ncase \"${TARGETED_DEVICE_FAMILY:-}\" in\n  1,2)\n    TARGET_DEVICE_ARGS=\"--target-device ipad --target-device iphone\"\n    ;;\n  1)\n    TARGET_DEVICE_ARGS=\"--target-device iphone\"\n    ;;\n  2)\n    TARGET_DEVICE_ARGS=\"--target-device ipad\"\n    ;;\n  3)\n    TARGET_DEVICE_ARGS=\"--target-device tv\"\n    ;;\n  4)\n    TARGET_DEVICE_ARGS=\"--target-device watch\"\n    ;;\n  *)\n    TARGET_DEVICE_ARGS=\"--target-device mac\"\n    ;;\nesac\n\ninstall_resource()\n{\n  if [[ \"$1\" = /* ]] ; then\n    RESOURCE_PATH=\"$1\"\n  else\n    RESOURCE_PATH=\"${PODS_ROOT}/$1\"\n  fi\n  if [[ ! -e \"$RESOURCE_PATH\" ]] ; then\n    cat << EOM\nerror: Resource \"$RESOURCE_PATH\" not found. Run 'pod install' to update the copy resources script.\nEOM\n    exit 1\n  fi\n  case $RESOURCE_PATH in\n    *.storyboard)\n      echo \"ibtool --reference-external-strings-file --errors --warnings --notices --minimum-deployment-target ${!DEPLOYMENT_TARGET_SETTING_NAME} --output-format human-readable-text --compile ${TARGET_BUILD_DIR}/${UNLOCALIZED_RESOURCES_FOLDER_PATH}/`basename \\\"$RESOURCE_PATH\\\" .storyboard`.storyboardc $RESOURCE_PATH --sdk ${SDKROOT} ${TARGET_DEVICE_ARGS}\" || true\n      ibtool --reference-external-strings-file --errors --warnings --notices --minimum-deployment-target ${!DEPLOYMENT_TARGET_SETTING_NAME} --output-format human-readable-text --compile \"${TARGET_BUILD_DIR}/${UNLOCALIZED_RESOURCES_FOLDER_PATH}/`basename \\\"$RESOURCE_PATH\\\" .storyboard`.storyboardc\" \"$RESOURCE_PATH\" --sdk \"${SDKROOT}\" ${TARGET_DEVICE_ARGS}\n      ;;\n    *.xib)\n      echo \"ibtool --reference-external-strings-file --errors --warnings --notices --minimum-deployment-target ${!DEPLOYMENT_TARGET_SETTING_NAME} --output-format human-readable-text --compile ${TARGET_BUILD_DIR}/${UNLOCALIZED_RESOURCES_FOLDER_PATH}/`basename \\\"$RESOURCE_PATH\\\" .xib`.nib $RESOURCE_PATH --sdk ${SDKROOT} ${TARGET_DEVICE_ARGS}\" || true\n      ibtool --reference-external-strings-file --errors --warnings --notices --minimum-deployment-target ${!DEPLOYMENT_TARGET_SETTING_NAME} --output-format human-readable-text --compile \"${TARGET_BUILD_DIR}/${UNLOCALIZED_RESOURCES_FOLDER_PATH}/`basename \\\"$RESOURCE_PATH\\\" .xib`.nib\" \"$RESOURCE_PATH\" --sdk \"${SDKROOT}\" ${TARGET_DEVICE_ARGS}\n      ;;\n    *.framework)\n      echo \"mkdir -p ${TARGET_BUILD_DIR}/${FRAMEWORKS_FOLDER_PATH}\" || true\n      mkdir -p \"${TARGET_BUILD_DIR}/${FRAMEWORKS_FOLDER_PATH}\"\n      echo \"rsync --delete -av \"${RSYNC_PROTECT_TMP_FILES[@]}\" $RESOURCE_PATH ${TARGET_BUILD_DIR}/${FRAMEWORKS_FOLDER_PATH}\" || true\n      rsync --delete -av \"${RSYNC_PROTECT_TMP_FILES[@]}\" \"$RESOURCE_PATH\" \"${TARGET_BUILD_DIR}/${FRAMEWORKS_FOLDER_PATH}\"\n      ;;\n    *.xcdatamodel)\n      echo \"xcrun momc \\\"$RESOURCE_PATH\\\" \\\"${TARGET_BUILD_DIR}/${UNLOCALIZED_RESOURCES_FOLDER_PATH}/`basename \"$RESOURCE_PATH\"`.mom\\\"\" || true\n      xcrun momc \"$RESOURCE_PATH\" \"${TARGET_BUILD_DIR}/${UNLOCALIZED_RESOURCES_FOLDER_PATH}/`basename \"$RESOURCE_PATH\" .xcdatamodel`.mom\"\n      ;;\n    *.xcdatamodeld)\n      echo \"xcrun momc \\\"$RESOURCE_PATH\\\" \\\"${TARGET_BUILD_DIR}/${UNLOCALIZED_RESOURCES_FOLDER_PATH}/`basename \"$RESOURCE_PATH\" .xcdatamodeld`.momd\\\"\" || true\n      xcrun momc \"$RESOURCE_PATH\" \"${TARGET_BUILD_DIR}/${UNLOCALIZED_RESOURCES_FOLDER_PATH}/`basename \"$RESOURCE_PATH\" .xcdatamodeld`.momd\"\n      ;;\n    *.xcmappingmodel)\n      echo \"xcrun mapc \\\"$RESOURCE_PATH\\\" \\\"${TARGET_BUILD_DIR}/${UNLOCALIZED_RESOURCES_FOLDER_PATH}/`basename \"$RESOURCE_PATH\" .xcmappingmodel`.cdm\\\"\" || true\n      xcrun mapc \"$RESOURCE_PATH\" \"${TARGET_BUILD_DIR}/${UNLOCALIZED_RESOURCES_FOLDER_PATH}/`basename \"$RESOURCE_PATH\" .xcmappingmodel`.cdm\"\n      ;;\n    *.xcassets)\n      ABSOLUTE_XCASSET_FILE=\"$RESOURCE_PATH\"\n      XCASSET_FILES+=(\"$ABSOLUTE_XCASSET_FILE\")\n      ;;\n    *)\n      echo \"$RESOURCE_PATH\" || true\n      echo \"$RESOURCE_PATH\" >> \"$RESOURCES_TO_COPY\"\n      ;;\n  esac\n}\nif [[ \"$CONFIGURATION\" == \"Debug\" ]]; then\n  install_resource \"${PODS_ROOT}/IQKeyboardManager/IQKeyboardManager/Resources/IQKeyboardManager.bundle\"\n  install_resource \"${PODS_ROOT}/MJRefresh/MJRefresh/MJRefresh.bundle\"\nfi\nif [[ \"$CONFIGURATION\" == \"Release\" ]]; then\n  install_resource \"${PODS_ROOT}/IQKeyboardManager/IQKeyboardManager/Resources/IQKeyboardManager.bundle\"\n  install_resource \"${PODS_ROOT}/MJRefresh/MJRefresh/MJRefresh.bundle\"\nfi\n\nmkdir -p \"${TARGET_BUILD_DIR}/${UNLOCALIZED_RESOURCES_FOLDER_PATH}\"\nrsync -avr --copy-links --no-relative --exclude '*/.svn/*' --files-from=\"$RESOURCES_TO_COPY\" / \"${TARGET_BUILD_DIR}/${UNLOCALIZED_RESOURCES_FOLDER_PATH}\"\nif [[ \"${ACTION}\" == \"install\" ]] && [[ \"${SKIP_INSTALL}\" == \"NO\" ]]; then\n  mkdir -p \"${INSTALL_DIR}/${UNLOCALIZED_RESOURCES_FOLDER_PATH}\"\n  rsync -avr --copy-links --no-relative --exclude '*/.svn/*' --files-from=\"$RESOURCES_TO_COPY\" / \"${INSTALL_DIR}/${UNLOCALIZED_RESOURCES_FOLDER_PATH}\"\nfi\nrm -f \"$RESOURCES_TO_COPY\"\n\nif [[ -n \"${WRAPPER_EXTENSION}\" ]] && [ \"`xcrun --find actool`\" ] && [ -n \"${XCASSET_FILES:-}\" ]\nthen\n  # Find all other xcassets (this unfortunately includes those of path pods and other targets).\n  OTHER_XCASSETS=$(find \"$PWD\" -iname \"*.xcassets\" -type d)\n  while read line; do\n    if [[ $line != \"${PODS_ROOT}*\" ]]; then\n      XCASSET_FILES+=(\"$line\")\n    fi\n  done <<<\"$OTHER_XCASSETS\"\n\n  if [ -z ${ASSETCATALOG_COMPILER_APPICON_NAME+x} ]; then\n    printf \"%s\\0\" \"${XCASSET_FILES[@]}\" | xargs -0 xcrun actool --output-format human-readable-text --notices --warnings --platform \"${PLATFORM_NAME}\" --minimum-deployment-target \"${!DEPLOYMENT_TARGET_SETTING_NAME}\" ${TARGET_DEVICE_ARGS} --compress-pngs --compile \"${BUILT_PRODUCTS_DIR}/${UNLOCALIZED_RESOURCES_FOLDER_PATH}\"\n  else\n    printf \"%s\\0\" \"${XCASSET_FILES[@]}\" | xargs -0 xcrun actool --output-format human-readable-text --notices --warnings --platform \"${PLATFORM_NAME}\" --minimum-deployment-target \"${!DEPLOYMENT_TARGET_SETTING_NAME}\" ${TARGET_DEVICE_ARGS} --compress-pngs --compile \"${BUILT_PRODUCTS_DIR}/${UNLOCALIZED_RESOURCES_FOLDER_PATH}\" --app-icon \"${ASSETCATALOG_COMPILER_APPICON_NAME}\" --output-partial-info-plist \"${TARGET_TEMP_DIR}/assetcatalog_generated_info_cocoapods.plist\"\n  fi\nfi\n"
  },
  {
    "path": "CKMeiTuanShopView/Pods/Target Support Files/Pods-CKMeiTuanShopView/Pods-CKMeiTuanShopView.debug.xcconfig",
    "content": "GCC_PREPROCESSOR_DEFINITIONS = $(inherited) COCOAPODS=1\nHEADER_SEARCH_PATHS = $(inherited) \"${PODS_ROOT}/Headers/Public\" \"${PODS_ROOT}/Headers/Public/AFNetworking\" \"${PODS_ROOT}/Headers/Public/IQKeyboardManager\" \"${PODS_ROOT}/Headers/Public/JSONModel\" \"${PODS_ROOT}/Headers/Public/MBProgressHUD\" \"${PODS_ROOT}/Headers/Public/MJRefresh\" \"${PODS_ROOT}/Headers/Public/Masonry\" \"${PODS_ROOT}/Headers/Public/SDWebImage\"\nLIBRARY_SEARCH_PATHS = $(inherited) \"${PODS_CONFIGURATION_BUILD_DIR}/AFNetworking\" \"${PODS_CONFIGURATION_BUILD_DIR}/IQKeyboardManager\" \"${PODS_CONFIGURATION_BUILD_DIR}/JSONModel\" \"${PODS_CONFIGURATION_BUILD_DIR}/MBProgressHUD\" \"${PODS_CONFIGURATION_BUILD_DIR}/MJRefresh\" \"${PODS_CONFIGURATION_BUILD_DIR}/Masonry\" \"${PODS_CONFIGURATION_BUILD_DIR}/SDWebImage\"\nOTHER_CFLAGS = $(inherited) -isystem \"${PODS_ROOT}/Headers/Public\" -isystem \"${PODS_ROOT}/Headers/Public/AFNetworking\" -isystem \"${PODS_ROOT}/Headers/Public/IQKeyboardManager\" -isystem \"${PODS_ROOT}/Headers/Public/JSONModel\" -isystem \"${PODS_ROOT}/Headers/Public/MBProgressHUD\" -isystem \"${PODS_ROOT}/Headers/Public/MJRefresh\" -isystem \"${PODS_ROOT}/Headers/Public/Masonry\" -isystem \"${PODS_ROOT}/Headers/Public/SDWebImage\"\nOTHER_LDFLAGS = $(inherited) -ObjC -l\"AFNetworking\" -l\"IQKeyboardManager\" -l\"JSONModel\" -l\"MBProgressHUD\" -l\"MJRefresh\" -l\"Masonry\" -l\"SDWebImage\" -framework \"CoreGraphics\" -framework \"Foundation\" -framework \"ImageIO\" -framework \"MobileCoreServices\" -framework \"QuartzCore\" -framework \"Security\" -framework \"SystemConfiguration\" -framework \"UIKit\"\nPODS_BUILD_DIR = ${BUILD_DIR}\nPODS_CONFIGURATION_BUILD_DIR = ${PODS_BUILD_DIR}/$(CONFIGURATION)$(EFFECTIVE_PLATFORM_NAME)\nPODS_PODFILE_DIR_PATH = ${SRCROOT}/.\nPODS_ROOT = ${SRCROOT}/Pods\n"
  },
  {
    "path": "CKMeiTuanShopView/Pods/Target Support Files/Pods-CKMeiTuanShopView/Pods-CKMeiTuanShopView.release.xcconfig",
    "content": "GCC_PREPROCESSOR_DEFINITIONS = $(inherited) COCOAPODS=1\nHEADER_SEARCH_PATHS = $(inherited) \"${PODS_ROOT}/Headers/Public\" \"${PODS_ROOT}/Headers/Public/AFNetworking\" \"${PODS_ROOT}/Headers/Public/IQKeyboardManager\" \"${PODS_ROOT}/Headers/Public/JSONModel\" \"${PODS_ROOT}/Headers/Public/MBProgressHUD\" \"${PODS_ROOT}/Headers/Public/MJRefresh\" \"${PODS_ROOT}/Headers/Public/Masonry\" \"${PODS_ROOT}/Headers/Public/SDWebImage\"\nLIBRARY_SEARCH_PATHS = $(inherited) \"${PODS_CONFIGURATION_BUILD_DIR}/AFNetworking\" \"${PODS_CONFIGURATION_BUILD_DIR}/IQKeyboardManager\" \"${PODS_CONFIGURATION_BUILD_DIR}/JSONModel\" \"${PODS_CONFIGURATION_BUILD_DIR}/MBProgressHUD\" \"${PODS_CONFIGURATION_BUILD_DIR}/MJRefresh\" \"${PODS_CONFIGURATION_BUILD_DIR}/Masonry\" \"${PODS_CONFIGURATION_BUILD_DIR}/SDWebImage\"\nOTHER_CFLAGS = $(inherited) -isystem \"${PODS_ROOT}/Headers/Public\" -isystem \"${PODS_ROOT}/Headers/Public/AFNetworking\" -isystem \"${PODS_ROOT}/Headers/Public/IQKeyboardManager\" -isystem \"${PODS_ROOT}/Headers/Public/JSONModel\" -isystem \"${PODS_ROOT}/Headers/Public/MBProgressHUD\" -isystem \"${PODS_ROOT}/Headers/Public/MJRefresh\" -isystem \"${PODS_ROOT}/Headers/Public/Masonry\" -isystem \"${PODS_ROOT}/Headers/Public/SDWebImage\"\nOTHER_LDFLAGS = $(inherited) -ObjC -l\"AFNetworking\" -l\"IQKeyboardManager\" -l\"JSONModel\" -l\"MBProgressHUD\" -l\"MJRefresh\" -l\"Masonry\" -l\"SDWebImage\" -framework \"CoreGraphics\" -framework \"Foundation\" -framework \"ImageIO\" -framework \"MobileCoreServices\" -framework \"QuartzCore\" -framework \"Security\" -framework \"SystemConfiguration\" -framework \"UIKit\"\nPODS_BUILD_DIR = ${BUILD_DIR}\nPODS_CONFIGURATION_BUILD_DIR = ${PODS_BUILD_DIR}/$(CONFIGURATION)$(EFFECTIVE_PLATFORM_NAME)\nPODS_PODFILE_DIR_PATH = ${SRCROOT}/.\nPODS_ROOT = ${SRCROOT}/Pods\n"
  },
  {
    "path": "CKMeiTuanShopView/Pods/Target Support Files/SDWebImage/SDWebImage-dummy.m",
    "content": "#import <Foundation/Foundation.h>\n@interface PodsDummy_SDWebImage : NSObject\n@end\n@implementation PodsDummy_SDWebImage\n@end\n"
  },
  {
    "path": "CKMeiTuanShopView/Pods/Target Support Files/SDWebImage/SDWebImage-prefix.pch",
    "content": "#ifdef __OBJC__\n#import <UIKit/UIKit.h>\n#else\n#ifndef FOUNDATION_EXPORT\n#if defined(__cplusplus)\n#define FOUNDATION_EXPORT extern \"C\"\n#else\n#define FOUNDATION_EXPORT extern\n#endif\n#endif\n#endif\n\n"
  },
  {
    "path": "CKMeiTuanShopView/Pods/Target Support Files/SDWebImage/SDWebImage.xcconfig",
    "content": "CONFIGURATION_BUILD_DIR = ${PODS_CONFIGURATION_BUILD_DIR}/SDWebImage\nGCC_PREPROCESSOR_DEFINITIONS = $(inherited) COCOAPODS=1\nHEADER_SEARCH_PATHS = $(inherited) \"${PODS_ROOT}/Headers/Private\" \"${PODS_ROOT}/Headers/Private/SDWebImage\" \"${PODS_ROOT}/Headers/Public\" \"${PODS_ROOT}/Headers/Public/SDWebImage\"\nOTHER_LDFLAGS = -framework \"ImageIO\"\nPODS_BUILD_DIR = ${BUILD_DIR}\nPODS_CONFIGURATION_BUILD_DIR = ${PODS_BUILD_DIR}/$(CONFIGURATION)$(EFFECTIVE_PLATFORM_NAME)\nPODS_ROOT = ${SRCROOT}\nPODS_TARGET_SRCROOT = ${PODS_ROOT}/SDWebImage\nPRODUCT_BUNDLE_IDENTIFIER = org.cocoapods.${PRODUCT_NAME:rfc1034identifier}\nSKIP_INSTALL = YES\n"
  },
  {
    "path": "LICENSE",
    "content": "MIT License\n\nCopyright (c) 2018 chikang\n\nPermission is hereby granted, free of charge, to any person obtaining a copy\nof this software and associated documentation files (the \"Software\"), to deal\nin the Software without restriction, including without limitation the rights\nto use, copy, modify, merge, publish, distribute, sublicense, and/or sell\ncopies of the Software, and to permit persons to whom the Software is\nfurnished to do so, subject to the following conditions:\n\nThe above copyright notice and this permission notice shall be included in all\ncopies or substantial portions of the Software.\n\nTHE SOFTWARE IS PROVIDED \"AS IS\", WITHOUT WARRANTY OF ANY KIND, EXPRESS OR\nIMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF MERCHANTABILITY,\nFITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT. IN NO EVENT SHALL THE\nAUTHORS OR COPYRIGHT HOLDERS BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER\nLIABILITY, WHETHER IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING FROM,\nOUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN THE\nSOFTWARE.\n"
  },
  {
    "path": "README.md",
    "content": "\\# CKMeiTuanShopView\n\n高仿美团外卖的店铺主页（包括下拉动画效果，解决各种手势问题，并且cell有列表样式，九宫格样式，卡片样式），各种动画效果纵享丝滑，因为写的比较急，还待优化.!\n\n解决UIScrollView嵌套UIScrollView、UITableview或者UIcollectionView的问题，结合手势和仿动力学UIKit Dynamic实现自定义scrollView效果。\n\n![meituan](/image/meituan.gif)\n\n高仿美团外卖GIF\n\n1：手势问题，可参考👆的文章，解释的很详细，包括手势问题，以及如何实现自定义scrollView效果，模拟scrollView的回弹速度，阻尼效果等等.\n\n2：tableview和collectionView都继承与scrollview，根据手势上下滚动以及计算父视图scrollview向上滑动到导航条无缝对接需要的偏移量_maxOffset_Y，来判断是父视图scrollview在进行偏移，还是子视图scrollview在进行偏移，从而设置scrollview.contentOffset.\n\n3:根据scrollview的代理方法scrollViewDidScroll，来监听scrollview的偏移量，来实现头部的动画效果以及导航条的动画效果。\n\n4：判断向下滑动偏移量是否大于设定好的最大偏移量，来让整个商品列表平移向下消失，展示店铺活动优惠券视图。通过滑动手势，从底部向上滑动或者点击导航条的返回按钮，让商品列表平移向上动画展示出来。\n\n5：实现二级联动效果，根据父视图scrollview的偏移量来计算左侧菜单menuTableView的高度，实现动态高度，达到跟美团外卖一样的效果.\n\n6：添加横向scrollview，实现可以横向滑动。\n\n7：实现评价列表上拉加载效果，解决与自定义scrollview偏移量冲突问题。（使用MJRefresh会有问题。）\n\n\n\n![店铺商品列表样式](/image/1.png)\n\n店铺商品列表样式\n\n![店铺商品卡片样式](/image/2.png)\n\n店铺商品卡片样式\n\n![店铺商品九宫格样式](/image/3.png)\n\n店铺商品九宫格样式\n\n![评价页面](/image/7.png)\n\n评价页面\n\n![店铺活动](/image/4.png)\n\n店铺活动\n\n![商家介绍](/image/5.png)\n\n商家介绍 仿QQ菜单\n\n\n**⚠️注意：demo只作为参考，如需使用，请熟悉代码，自行修改～**\n\n简书：https://www.jianshu.com/p/aa920502a12f\n"
  }
]