diff --git a/Example/FCAlertView.xcodeproj/project.pbxproj b/Example/FCAlertView.xcodeproj/project.pbxproj index cc64d0b..43f418b 100644 --- a/Example/FCAlertView.xcodeproj/project.pbxproj +++ b/Example/FCAlertView.xcodeproj/project.pbxproj @@ -245,7 +245,6 @@ 6003F587195388D20070C39A /* Frameworks */, 6003F588195388D20070C39A /* Resources */, CDB6D6947CD09D81EA996A4C /* [CP] Embed Pods Frameworks */, - 72903FF6F18DD41C696C4E2A /* [CP] Copy Pods Resources */, ); buildRules = ( ); @@ -264,8 +263,6 @@ 6003F5AA195388D20070C39A /* Sources */, 6003F5AB195388D20070C39A /* Frameworks */, 6003F5AC195388D20070C39A /* Resources */, - BFB5074E0A214FCD5741C96A /* [CP] Embed Pods Frameworks */, - 97F2DE981C61C21F2EFEF0B0 /* [CP] Copy Pods Resources */, ); buildRules = ( ); @@ -341,64 +338,22 @@ /* End PBXResourcesBuildPhase section */ /* Begin PBXShellScriptBuildPhase section */ - 72903FF6F18DD41C696C4E2A /* [CP] Copy Pods Resources */ = { - isa = PBXShellScriptBuildPhase; - buildActionMask = 2147483647; - files = ( - ); - inputPaths = ( - ); - name = "[CP] Copy Pods Resources"; - outputPaths = ( - ); - runOnlyForDeploymentPostprocessing = 0; - shellPath = /bin/sh; - shellScript = "\"${SRCROOT}/Pods/Target Support Files/Pods-FCAlertView_Example/Pods-FCAlertView_Example-resources.sh\"\n"; - showEnvVarsInLog = 0; - }; - 97F2DE981C61C21F2EFEF0B0 /* [CP] Copy Pods Resources */ = { - isa = PBXShellScriptBuildPhase; - buildActionMask = 2147483647; - files = ( - ); - inputPaths = ( - ); - name = "[CP] Copy Pods Resources"; - outputPaths = ( - ); - runOnlyForDeploymentPostprocessing = 0; - shellPath = /bin/sh; - shellScript = "\"${SRCROOT}/Pods/Target Support Files/Pods-FCAlertView_Tests/Pods-FCAlertView_Tests-resources.sh\"\n"; - showEnvVarsInLog = 0; - }; 9DBB53BF7D12E4BA2AFC598E /* [CP] Check Pods Manifest.lock */ = { isa = PBXShellScriptBuildPhase; buildActionMask = 2147483647; files = ( ); inputPaths = ( + "${PODS_PODFILE_DIR_PATH}/Podfile.lock", + "${PODS_ROOT}/Manifest.lock", ); name = "[CP] Check Pods Manifest.lock"; outputPaths = ( + "$(DERIVED_FILE_DIR)/Pods-FCAlertView_Tests-checkManifestLockResult.txt", ); runOnlyForDeploymentPostprocessing = 0; shellPath = /bin/sh; - shellScript = "diff \"${PODS_ROOT}/../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"; - showEnvVarsInLog = 0; - }; - BFB5074E0A214FCD5741C96A /* [CP] Embed Pods Frameworks */ = { - isa = PBXShellScriptBuildPhase; - buildActionMask = 2147483647; - files = ( - ); - inputPaths = ( - ); - name = "[CP] Embed Pods Frameworks"; - outputPaths = ( - ); - runOnlyForDeploymentPostprocessing = 0; - shellPath = /bin/sh; - shellScript = "\"${SRCROOT}/Pods/Target Support Files/Pods-FCAlertView_Tests/Pods-FCAlertView_Tests-frameworks.sh\"\n"; + shellScript = "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"; showEnvVarsInLog = 0; }; CDB6D6947CD09D81EA996A4C /* [CP] Embed Pods Frameworks */ = { @@ -407,9 +362,12 @@ files = ( ); inputPaths = ( + "${SRCROOT}/Pods/Target Support Files/Pods-FCAlertView_Example/Pods-FCAlertView_Example-frameworks.sh", + "${BUILT_PRODUCTS_DIR}/FCAlertView/FCAlertView.framework", ); name = "[CP] Embed Pods Frameworks"; outputPaths = ( + "${TARGET_BUILD_DIR}/${FRAMEWORKS_FOLDER_PATH}/FCAlertView.framework", ); runOnlyForDeploymentPostprocessing = 0; shellPath = /bin/sh; @@ -422,13 +380,16 @@ files = ( ); inputPaths = ( + "${PODS_PODFILE_DIR_PATH}/Podfile.lock", + "${PODS_ROOT}/Manifest.lock", ); name = "[CP] Check Pods Manifest.lock"; outputPaths = ( + "$(DERIVED_FILE_DIR)/Pods-FCAlertView_Example-checkManifestLockResult.txt", ); runOnlyForDeploymentPostprocessing = 0; shellPath = /bin/sh; - shellScript = "diff \"${PODS_ROOT}/../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"; + shellScript = "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"; showEnvVarsInLog = 0; }; /* End PBXShellScriptBuildPhase section */ diff --git a/Example/Podfile b/Example/Podfile index 2c2751c..09bf1b2 100644 --- a/Example/Podfile +++ b/Example/Podfile @@ -1,7 +1,7 @@ use_frameworks! target 'FCAlertView_Example' do - pod 'FCAlertView' + pod 'FCAlertView', :path => '../' target 'FCAlertView_Tests' do inherit! :search_paths diff --git a/Example/Podfile.lock b/Example/Podfile.lock index 712fc40..7f44cb4 100644 --- a/Example/Podfile.lock +++ b/Example/Podfile.lock @@ -1,12 +1,16 @@ PODS: - - FCAlertView (1.3) + - FCAlertView (1.4.1) DEPENDENCIES: - - FCAlertView + - FCAlertView (from `../`) + +EXTERNAL SOURCES: + FCAlertView: + :path: "../" SPEC CHECKSUMS: - FCAlertView: 48cbcefc9f99875f2a537b00609e8160f86d5baa + FCAlertView: 0f97b341e27786baa750554c1c6dc3be1f8529c0 -PODFILE CHECKSUM: 9d236f92b2f11b4566438457558132c2f5918dc4 +PODFILE CHECKSUM: ad8bd5b90f2de602fb58d64c5b1475bd8cf420eb -COCOAPODS: 1.2.0.beta.3 +COCOAPODS: 1.5.0 diff --git a/Example/Pods/FCAlertView/FCAlertView/Assets/alert-round.png b/Example/Pods/FCAlertView/FCAlertView/Assets/alert-round.png deleted file mode 100644 index 704db46..0000000 Binary files a/Example/Pods/FCAlertView/FCAlertView/Assets/alert-round.png and /dev/null differ diff --git a/Example/Pods/FCAlertView/FCAlertView/Assets/checkmark-round.png b/Example/Pods/FCAlertView/FCAlertView/Assets/checkmark-round.png deleted file mode 100755 index bf6361e..0000000 Binary files a/Example/Pods/FCAlertView/FCAlertView/Assets/checkmark-round.png and /dev/null differ diff --git a/Example/Pods/FCAlertView/FCAlertView/Assets/close-round.png b/Example/Pods/FCAlertView/FCAlertView/Assets/close-round.png deleted file mode 100755 index 81aa367..0000000 Binary files a/Example/Pods/FCAlertView/FCAlertView/Assets/close-round.png and /dev/null differ diff --git a/Example/Pods/FCAlertView/FCAlertView/Assets/heart.png b/Example/Pods/FCAlertView/FCAlertView/Assets/heart.png deleted file mode 100755 index 8a444fb..0000000 Binary files a/Example/Pods/FCAlertView/FCAlertView/Assets/heart.png and /dev/null differ diff --git a/Example/Pods/FCAlertView/FCAlertView/Assets/star.png b/Example/Pods/FCAlertView/FCAlertView/Assets/star.png deleted file mode 100755 index 7d87719..0000000 Binary files a/Example/Pods/FCAlertView/FCAlertView/Assets/star.png and /dev/null differ diff --git a/Example/Pods/FCAlertView/FCAlertView/Classes/FCAlertView.h b/Example/Pods/FCAlertView/FCAlertView/Classes/FCAlertView.h deleted file mode 100644 index 93d8da4..0000000 --- a/Example/Pods/FCAlertView/FCAlertView/Classes/FCAlertView.h +++ /dev/null @@ -1,222 +0,0 @@ -// -// FCAlertView.h -// ShiftRide -// -// Created by Nima Tahami on 2016-07-10. -// Copyright © 2016 Nima Tahami. All rights reserved. -// - -#import -#import - -#import -#import - -@protocol FCAlertViewDelegate; - -@interface FCAlertView : UIView { - - // Blur - - UIVisualEffectView *backgroundVisualEffectView; - - // Default UI adjustments - - CGFloat defaultHeight; - CGFloat defaultSpacing; - - // AlertView & Contents - - UIView *alertView; - UIView *alertViewContents; - CAShapeLayer *circleLayer; - - // Customizations made to UI - - NSMutableArray *alertButtons; - NSMutableArray *alertTextFields; - NSMutableArray *alertTextFieldHolder; - NSInteger alertViewWithVector; - NSString *doneTitle; - UIImage *vectorImage; - NSString *alertType; - - // Frames - - CGRect alertViewFrame; - CGRect currentAVCFrames; - CGRect descriptionLabelFrames; - - // Alert AudioPlayer - - AVAudioPlayer *player; - - // Alert Rating Types - - NSInteger alertTypeRatingHearts; - NSInteger alertTypeRatingStars; - - UIView *ratingController; - UIButton *item1; - UIButton *item2; - UIButton *item3; - UIButton *item4; - UIButton *item5; - - NSInteger currentRating; - -} - -// Delegate - -@property (nonatomic, weak) id delegate; - -// AlertView Title & Subtitle Text - -@property (nonatomic, retain) NSString *title; -@property (nonatomic, retain) NSString *subTitle; -@property (nonatomic, retain) NSAttributedString *attributedTitle; -@property (nonatomic, retain) NSAttributedString *attributedSubTitle; -@property (nonatomic, retain) UIFont *titleFont; -@property (nonatomic, retain) UIFont *subtitleFont; - -// AlertView Background - -@property (nonatomic, retain) UIView *alertBackground; - -// AlertView TextView - -@property (nonatomic, retain) UITextField *textField; - -// AlertView Customizations - -@property CGFloat customHeight; -@property CGFloat customSpacing; - -@property NSInteger numberOfButtons; -@property NSInteger autoHideSeconds; -@property CGFloat cornerRadius; - -@property BOOL dismissOnOutsideTouch; -@property BOOL overrideForcedDismiss; -@property BOOL hideAllButtons; -@property BOOL hideDoneButton; -@property BOOL avoidCustomImageTint; -@property BOOL blurBackground; -@property BOOL bounceAnimations; -@property BOOL darkTheme; -@property BOOL detachButtons; -@property BOOL fullCircleCustomImage; -@property BOOL hideSeparatorLineView; -@property CGFloat customImageScale; - -// Default Types of Alerts - -- (void) makeAlertTypeWarning; -- (void) makeAlertTypeCaution; -- (void) makeAlertTypeSuccess; -- (void) makeAlertTypeProgress; - -typedef void (^FCRatingBlock)(NSInteger rating); -@property (nonatomic, copy) FCRatingBlock ratingBlock; - -- (void) makeAlertTypeRateHearts:(FCRatingBlock)ratingBlock; -- (void) makeAlertTypeRateStars:(FCRatingBlock)ratingBlock; - -// Alert Animation Types - -@property BOOL animateAlertInFromTop; -@property BOOL animateAlertOutToTop; - -@property BOOL animateAlertInFromRight; -@property BOOL animateAlertOutToRight; - -@property BOOL animateAlertInFromBottom; -@property BOOL animateAlertOutToBottom; - -@property BOOL animateAlertInFromLeft; -@property BOOL animateAlertOutToLeft; - -// Play Sound with Alert - -- (void) setAlertSoundWithFileName:(NSString *)filename; - -// Presenting AlertView - -- (void) showAlertInView:(UIViewController *)view withTitle:(NSString *)title withSubtitle:(NSString *)subTitle withCustomImage:(UIImage *)image withDoneButtonTitle:(NSString *)done andButtons:(NSArray *)buttons; - -- (void) showAlertInWindow:(UIWindow *)window withTitle:(NSString *)title withSubtitle:(NSString *)subTitle withCustomImage:(UIImage *)image withDoneButtonTitle:(NSString *)done andButtons:(NSArray *)buttons; - -- (void) showAlertWithTitle:(NSString *)title withSubtitle:(NSString *)subTitle withCustomImage:(UIImage *)image withDoneButtonTitle:(NSString *)done andButtons:(NSArray *)buttons; - -- (void) showAlertWithAttributedTitle:(NSAttributedString *)title withSubtitle:(NSString *)subTitle withCustomImage:(UIImage *)image withDoneButtonTitle:(NSString *)done andButtons:(NSArray *)buttons; - -- (void) showAlertWithTitle:(NSString *)title withAttributedSubtitle:(NSAttributedString *)subTitle withCustomImage:(UIImage *)image withDoneButtonTitle:(NSString *)done andButtons:(NSArray *)buttons; - -- (void) showAlertWithAttributedTitle:(NSAttributedString *)title withAttributedSubtitle:(NSAttributedString *)subTitle withCustomImage:(UIImage *)image withDoneButtonTitle:(NSString *)done andButtons:(NSArray *)buttons; - - -- (void)setAlertViewAttributes:(NSString *)title withSubtitle:(NSString *)subTitle withCustomImage:(UIImage *)image withDoneButtonTitle:(NSString *)done andButtons:(NSArray *)buttons; - -// Dismissing AlertView - -- (void) dismissAlertView; - -// Alert Action Block Method - -typedef void (^FCActionBlock)(void); -@property (nonatomic, copy) FCActionBlock actionBlock; -@property (nonatomic, copy) FCActionBlock doneBlock; -- (void)addButton:(NSString *)title withActionBlock:(FCActionBlock)action; -- (void)doneActionBlock:(FCActionBlock)action; - -// Alert TextField Block Method - -typedef void (^FCTextReturnBlock)(NSString *text); -@property (nonatomic, copy) FCTextReturnBlock textReturnBlock; -- (void)addTextFieldWithPlaceholder:(NSString *)placeholder andTextReturnBlock:(FCTextReturnBlock)textReturn; -- (void)addTextFieldWithCustomTextField:(UITextField *)field andPlaceholder:(NSString *)placeholder andTextReturnBlock:(FCTextReturnBlock)textReturn; - -// Color Schemes - -@property (nonatomic, retain) UIColor * colorScheme; -@property (nonatomic, retain) UIColor * titleColor; -@property (nonatomic, retain) UIColor * subTitleColor; -@property (nonatomic, retain) UIColor *alertBackgroundColor; - -@property (nonatomic, retain) UIColor * doneButtonTitleColor; -@property (nonatomic, retain) UIFont * doneButtonCustomFont; -@property (nonatomic, retain) UIColor * doneButtonHighlightedBackgroundColor; - -@property (nonatomic, retain) UIColor * firstButtonTitleColor; -@property (nonatomic, retain) UIFont * firstButtonCustomFont; -@property (nonatomic, retain) UIColor * firstButtonBackgroundColor; -@property (nonatomic, retain) UIColor * firstButtonHighlightedBackgroundColor; - -@property (nonatomic, retain) UIColor * secondButtonTitleColor; -@property (nonatomic, retain) UIFont * secondButtonCustomFont; -@property (nonatomic, retain) UIColor * secondButtonBackgroundColor; -@property (nonatomic, retain) UIColor * secondButtonHighlightedBackgroundColor; - -// Preset Flat Colors - -@property (nonatomic, retain) UIColor * flatTurquoise; -@property (nonatomic, retain) UIColor * flatGreen; -@property (nonatomic, retain) UIColor * flatBlue; -@property (nonatomic, retain) UIColor * flatMidnight; -@property (nonatomic, retain) UIColor * flatPurple; -@property (nonatomic, retain) UIColor * flatOrange; -@property (nonatomic, retain) UIColor * flatRed; -@property (nonatomic, retain) UIColor * flatSilver; -@property (nonatomic, retain) UIColor * flatGray; - -@end - -@protocol FCAlertViewDelegate -@optional -- (void)FCAlertView:( FCAlertView *)alertView clickedButtonIndex:(NSInteger)index buttonTitle:(NSString *)title; -- (void)FCAlertViewDismissed:(FCAlertView *)alertView; -- (void)FCAlertViewWillAppear:(FCAlertView *)alertView; -- (void)FCAlertDoneButtonClicked:(FCAlertView *)alertView; - -@end diff --git a/Example/Pods/FCAlertView/FCAlertView/Classes/FCAlertView.m b/Example/Pods/FCAlertView/FCAlertView/Classes/FCAlertView.m deleted file mode 100644 index cc70428..0000000 --- a/Example/Pods/FCAlertView/FCAlertView/Classes/FCAlertView.m +++ /dev/null @@ -1,1887 +0,0 @@ -// -// FCAlertView.m -// ShiftRide -// -// Created by Nima Tahami on 2016-07-10. -// Copyright © 2016 Nima Tahami. All rights reserved. -// - -#import "FCAlertView.h" - -@implementation FCAlertView - -- (id)init -{ - self = [super init]; - if (self) { - - // INITIALIZATIONS - Setting Up Basic UI Adjustments - - CGSize result = [[UIScreen mainScreen] bounds].size; - - self.frame = CGRectMake(0, - 0, - result.width, - result.height); - - self.backgroundColor = [UIColor clearColor]; - - // ALERTVIEW BACKGROUND - Setting up Background View - - _alertBackground = [[UIView alloc] init]; - _alertBackground.frame = CGRectMake(0, - 0, - result.width, - result.height); - _alertBackground.backgroundColor = [UIColor colorWithWhite:0.0f alpha:0.35]; - - [self addSubview:_alertBackground]; - - // PRESET FLAT COLORS - Setting up RGB of Flat Colors - Put in another file? REMOVE - - _flatTurquoise = [UIColor colorWithRed:26.0/255.0f green:188.0/255.0f blue:156.0/255.0f alpha:1.0]; - _flatGreen = [UIColor colorWithRed:39.0/255.0f green:174.0/255.0f blue:96.0/255.0f alpha:1.0]; - _flatBlue = [UIColor colorWithRed:41.0/255.0f green:128.0/255.0f blue:185.0/255.0f alpha:1.0]; - _flatMidnight = [UIColor colorWithRed:44.0/255.0f green:62.0/255.0f blue:80.0/255.0f alpha:1.0]; - _flatPurple = [UIColor colorWithRed:142.0/255.0f green:68.0/255.0f blue:173.0/255.0f alpha:1.0]; - _flatOrange = [UIColor colorWithRed:243.0/255.0f green:156.0/255.0f blue:18.0/255.0f alpha:1.0]; - _flatRed = [UIColor colorWithRed:192.0/255.0f green:57.0/255.0f blue:43.0/255.0f alpha:1.0]; - _flatSilver = [UIColor colorWithRed:189.0/255.0f green:195.0/255.0f blue:199.0/255.0f alpha:1.0]; - _flatGray = [UIColor colorWithRed:127.0/255.0f green:140.0/255.0f blue:141.0/255.0f alpha:1.0]; - - // CUSTOMIZATIONS - Setting Default Customization Settings & Checks - - alertButtons = [[NSMutableArray alloc] init]; - alertTextFields = [[NSMutableArray alloc] init]; - alertTextFieldHolder = [[NSMutableArray alloc] init]; - - _numberOfButtons = 0; - _autoHideSeconds = 0; - _cornerRadius = 18.0f; - - _dismissOnOutsideTouch = NO; - _hideAllButtons = NO; - _hideDoneButton = NO; - _avoidCustomImageTint = NO; - _blurBackground = NO; - _bounceAnimations = NO; - _darkTheme = NO; - _detachButtons = NO; - _fullCircleCustomImage = NO; - _hideSeparatorLineView = NO; - _customImageScale = 1; - _titleFont = [UIFont systemFontOfSize:18.0f weight:UIFontWeightMedium]; - _subtitleFont = nil; - defaultSpacing = [self configureAVWidth]; - defaultHeight = [self configureAVHeight]; - - } - - return self; - -} - -#pragma mark - Frame Configuration - -- (CGFloat) configureAVWidth { - - if (_customSpacing == 0) { - if (UI_USER_INTERFACE_IDIOM() == UIUserInterfaceIdiomPad) - { - CGSize result = [[UIScreen mainScreen] bounds].size; - - if(result.height == 1366) - return 105.0f + 600.0f; - else - return 105.0f + 350.0f; - } - if(UI_USER_INTERFACE_IDIOM() == UIUserInterfaceIdiomPhone) - { - CGSize result = [[UIScreen mainScreen] bounds].size; - if(result.height == 480) - { - // iPhone Classic - return 55.0f; - - } - if(result.height == 568) - { - // iPhone 5 - return 65.0f; - - } - if (result.height == 736) - { - // iPhone 6/7 Plus - return 130.0f; - } - else - { - return 105.0f; - } - - } - } - - return _customSpacing; - -} - -- (CGFloat) configureAVHeight { - - if (_customHeight == 0) { - return 200.0f; - } else { - return _customHeight; - } -} - -#pragma mark - FCAlertView Checks -#pragma mark - Customization Data Checkpoint - -- (void) checkCustomizationValid { - - if (_darkTheme) { - if (self.titleColor == nil) { - self.titleColor = [UIColor whiteColor]; - } - if (self.subTitleColor == nil) { - self.subTitleColor = [UIColor whiteColor]; - } - } - - if (![self hasSubTitle]) - if (![self hasTitle]) - NSLog(@"FCAlertView Warning: Your Alert should have a title and/or subtitle."); - - if (doneTitle == nil || [doneTitle isEqualToString:@""]) { - doneTitle = @"OK"; - } - - if (_cornerRadius == 0.0f) - _cornerRadius = 18.0f; - - if (vectorImage != nil) - alertViewWithVector = 1; - -} - -#pragma mark - Safety Close Check - -- (void) safetyCloseCheck { - - if (_hideDoneButton || _hideAllButtons) { - - if (_autoHideSeconds == 0 && !_overrideForcedDismiss) { - - _dismissOnOutsideTouch = YES; - - NSLog(@"Forced Dismiss on Outside Touch"); - - } - - } - -} - -#pragma mark - Title Validation --(BOOL)hasTitle { - return (_title != nil && _title.length > 0) || - (_attributedTitle != nil && _attributedTitle.length > 0); -} - --(BOOL)hasSubTitle { - return (_subTitle != nil && _subTitle.length > 0) || - (_attributedSubTitle != nil && _attributedSubTitle.length > 0); -} - -#pragma mark - Touch Events - --(void)touchesBegan:(NSSet *)touches withEvent:(UIEvent *)event { - - if (alertTypeRatingStars || alertTypeRatingHearts) { - UITouch *touch = [touches anyObject]; - - if([item1 pointInside:[touch locationInView:item1] withEvent:nil]) - [self rate1Triggered]; - - - if([item2 pointInside:[touch locationInView:item2] withEvent:nil]) - [self rate2Triggered]; - - - if([item3 pointInside:[touch locationInView:item3] withEvent:nil]) - [self rate3Triggered]; - - - if([item4 pointInside:[touch locationInView:item4] withEvent:nil]) - [self rate4Triggered]; - - if([item5 pointInside:[touch locationInView:item5] withEvent:nil]) - [self rate5Triggered]; - - } -} - --(void)touchesMoved:(NSSet *)touches withEvent:(UIEvent *)event { - - if (alertTypeRatingStars || alertTypeRatingHearts) { - UITouch *touch = [touches anyObject]; - - if([item1 pointInside:[touch locationInView:item1] withEvent:nil]){ - [self rate1Triggered]; - } - if([item2 pointInside:[touch locationInView:item2] withEvent:nil]){ - [self rate2Triggered]; - } - if([item3 pointInside:[touch locationInView:item3] withEvent:nil]){ - [self rate3Triggered]; - } - if([item4 pointInside:[touch locationInView:item4] withEvent:nil]){ - [self rate4Triggered]; - } - if([item5 pointInside:[touch locationInView:item5] withEvent:nil]){ - [self rate5Triggered]; - } - } - -} - -- (void)touchesEnded:(NSSet *)touches withEvent:(UIEvent *)event { - - UITouch *touch = [touches anyObject]; - - CGPoint touchPoint = [touch locationInView:_alertBackground]; - CGPoint touchPoint2 = [touch locationInView:alertViewContents]; - - BOOL isPointInsideBackview = [_alertBackground pointInside:touchPoint withEvent:nil]; - BOOL isPointInsideAlertView = [alertViewContents pointInside:touchPoint2 withEvent:nil]; - - if (_dismissOnOutsideTouch && isPointInsideBackview && !isPointInsideAlertView) - [self dismissAlertView]; - - if (alertTextFields.count > 0 && isPointInsideBackview && !isPointInsideAlertView) - [self endEditing:YES]; - -} - -#pragma mark - Drawing AlertView - -- (void)drawRect:(CGRect)rect { - - defaultSpacing = [self configureAVWidth]; - defaultHeight = [self configureAVHeight]; - - CGSize result = [[UIScreen mainScreen] bounds].size; - - self.alpha = 0; - - // Adjusting AlertView Frames - - if (alertViewWithVector) // Frames for when AlertView contains an image - alertViewFrame = CGRectMake(self.frame.size.width/2 - ((result.width - defaultSpacing)/2), - self.frame.size.height/2 - (200.0f/2), - result.width - defaultSpacing, - defaultHeight); - else - alertViewFrame = CGRectMake(self.frame.size.width/2 - ((result.width - defaultSpacing)/2), - self.frame.size.height/2 - (170.0f/2), - result.width - defaultSpacing, - defaultHeight - 30); - - if (![self hasTitle]) // Frames for when AlertView doesn't contain a title - alertViewFrame = CGRectMake(self.frame.size.width/2 - ((result.width - defaultSpacing)/2), - self.frame.size.height/2 - ((alertViewFrame.size.height - 50)/2), - result.width - defaultSpacing, - alertViewFrame.size.height - 10); - - if (_hideAllButtons) { // Frames for when AlertView has hidden all buttons - alertViewFrame = CGRectMake(self.frame.size.width/2 - ((result.width - defaultSpacing)/2), - self.frame.size.height/2 - ((alertViewFrame.size.height - 50)/2), - result.width - defaultSpacing, - alertViewFrame.size.height - 45); - - } else { - if (_hideDoneButton && _numberOfButtons == 0) { // Frames for when AlertView has hidden the DONE/DISMISS button - alertViewFrame = CGRectMake(self.frame.size.width/2 - ((result.width - defaultSpacing)/2), - self.frame.size.height/2 - ((alertViewFrame.size.height - 50)/2), - result.width - defaultSpacing, - alertViewFrame.size.height - 45); - } - if (!_hideDoneButton && _numberOfButtons >= 2) // Frames for AlertView with 2 added buttons (vertical buttons) - alertViewFrame = CGRectMake(self.frame.size.width/2 - ((result.width - defaultSpacing)/2), - self.frame.size.height/2 - ((alertViewFrame.size.height - 50 + 140)/2), - result.width - defaultSpacing, - alertViewFrame.size.height - 50 + 140); - } - - if (alertTextFields.count > 0) - alertViewFrame = CGRectMake(self.frame.size.width/2 - ((result.width - defaultSpacing)/2), - self.frame.size.height/2 - ((alertViewFrame.size.height + 45*(MIN(alertTextFields.count,4)))/2), - result.width - defaultSpacing, - alertViewFrame.size.height + 45*(MIN(alertTextFields.count,4))); - else - alertViewFrame = CGRectMake(self.frame.size.width/2 - ((result.width - defaultSpacing)/2), - self.frame.size.height/2 - ((alertViewFrame.size.height - 50 + 140)/2), - result.width - defaultSpacing, - alertViewFrame.size.height); - - if (alertTypeRatingStars || alertTypeRatingHearts) - alertViewFrame = CGRectMake(self.frame.size.width/2 - ((result.width - defaultSpacing)/2), - self.frame.size.height/2 - ((alertViewFrame.size.height - 50 + 140)/2), - result.width - defaultSpacing, - alertViewFrame.size.height + 50); - - // Landscape Orientation Width Fix - - if(UIInterfaceOrientationIsLandscape([UIApplication sharedApplication].statusBarOrientation)) - { - alertViewFrame = CGRectMake(self.frame.size.width/2 - (300/2), - self.frame.size.height/2 - (alertViewFrame.size.height/2), - 300, - alertViewFrame.size.height); - } - - // Description Label - - NSInteger descriptionLevel = 45.0f; - - if (![self hasTitle]) { - - descriptionLevel = 15.0f; - alertViewFrame = CGRectMake(alertViewFrame.origin.x, - alertViewFrame.origin.y, - alertViewFrame.size.width, - alertViewFrame.size.height - 20); - } - - UILabel *descriptionLabel = [[UILabel alloc] initWithFrame:CGRectMake(25.0f, - descriptionLevel + (alertViewWithVector * 30), - alertViewFrame.size.width - 50.0f, - 60.0f)]; - if (_subtitleFont != nil) - descriptionLabel.font = self.subtitleFont; - else if (_title != nil) - descriptionLabel.font = [UIFont systemFontOfSize:15.0f weight:UIFontWeightLight]; - else - descriptionLabel.font = [UIFont systemFontOfSize:16.0f weight:UIFontWeightRegular]; - - descriptionLabel.textColor = self.subTitleColor; - if (_subTitle == nil) - descriptionLabel.attributedText = self.attributedSubTitle; - else - descriptionLabel.text = self.subTitle; - descriptionLabel.textAlignment = NSTextAlignmentCenter; - descriptionLabel.adjustsFontSizeToFitWidth = NO; - - descriptionLabel.numberOfLines = 0; - descriptionLabel.lineBreakMode = NSLineBreakByTruncatingTail; - - // HEADER VIEW - With Title & Subtitle - - UILabel *titleLabel = [[UILabel alloc] initWithFrame:CGRectMake(15.0f, - 20.0f + (alertViewWithVector * 30), - alertViewFrame.size.width - 30.0f, - 30.0f)]; - - titleLabel.font = self.titleFont; - titleLabel.numberOfLines = 1; - titleLabel.textColor = self.titleColor; - if (_title == nil) - titleLabel.attributedText = self.attributedTitle; - else - titleLabel.text = self.title; - titleLabel.textAlignment = NSTextAlignmentCenter; - - // Re-adjusting Frames based on height of title - Requirement is to not have over 2 lines of title - - CGSize size = [titleLabel.text sizeWithAttributes:@{NSFontAttributeName : titleLabel.font}]; - if (size.width > titleLabel.bounds.size.width) { - titleLabel.numberOfLines = 2; - titleLabel.frame = CGRectMake(titleLabel.frame.origin.x, titleLabel.frame.origin.y, titleLabel.frame.size.width, 60.0f); - descriptionLabel.frame = CGRectMake(descriptionLabel.frame.origin.x, - descriptionLabel.frame.origin.y + 30.0f, - descriptionLabel.frame.size.width, - descriptionLabel.frame.size.height); - - alertViewFrame = CGRectMake(alertViewFrame.origin.x, - alertViewFrame.origin.y, - alertViewFrame.size.width, - alertViewFrame.size.height + 30.0f); - } - - // Re-adjusting Frames based on height of subTitle - Requirement is to not have over 6 lines of subTitle - - CGSize constraint = CGSizeMake(descriptionLabel.frame.size.width, CGFLOAT_MAX); - - NSStringDrawingContext *context = [[NSStringDrawingContext alloc] init]; - CGSize boundingBox = [descriptionLabel.text boundingRectWithSize:constraint - options:NSStringDrawingUsesLineFragmentOrigin - attributes:@{NSFontAttributeName:descriptionLabel.font} - context:context].size; - - CGFloat heightDiff = descriptionLabel.frame.size.height - boundingBox.height; - - descriptionLabel.frame = CGRectMake(descriptionLabel.frame.origin.x, - descriptionLabel.frame.origin.y + 7.5, - descriptionLabel.frame.size.width, - boundingBox.height); - - alertViewFrame = CGRectMake(alertViewFrame.origin.x, - alertViewFrame.origin.y + ((heightDiff + 15)/2), - alertViewFrame.size.width, - alertViewFrame.size.height - heightDiff + 15); - - descriptionLabelFrames = descriptionLabel.frame; - - // Setting Up Contents of AlertView - - alertViewContents = [[UIView alloc] initWithFrame:alertViewFrame]; - [self addSubview:alertViewContents]; - - alertView = [[UIView alloc] initWithFrame:CGRectMake(0, - 0, - alertViewFrame.size.width, - alertViewFrame.size.height)]; - - // Setting Background Color of AlertView - - if (alertViewWithVector) { - alertView.backgroundColor = [UIColor clearColor]; - } else { - if (!self.alertBackgroundColor) - alertView.backgroundColor = [UIColor whiteColor]; - else - alertView.backgroundColor = _alertBackgroundColor; - if (_darkTheme) - alertView.backgroundColor = [UIColor colorWithWhite:48.0f/255.0f alpha:1.0]; - } - - [alertViewContents addSubview:alertView]; - - // CREATING ALERTVIEW - // CUSTOM SHAPING - Displaying Cut out circle for Vector Type Alerts - - int radius = alertView.frame.size.width; - UIBezierPath *rectPath = [UIBezierPath bezierPathWithRoundedRect:CGRectMake(0, - 0, - self.frame.size.width, - alertView.bounds.size.height) - cornerRadius:0]; - UIBezierPath *circlePath = [UIBezierPath bezierPathWithRoundedRect:CGRectMake(alertViewFrame.size.width/2 - 33.75f, - -33.75f, - 67.5f, - 67.5f) - cornerRadius:radius]; - [rectPath appendPath:circlePath]; - [rectPath setUsesEvenOddFillRule:YES]; - - CAShapeLayer *fillLayer = [CAShapeLayer layer]; - fillLayer.path = rectPath.CGPath; - fillLayer.fillRule = kCAFillRuleEvenOdd; - if (!self.alertBackgroundColor) - fillLayer.fillColor = [UIColor whiteColor].CGColor; - else - fillLayer.fillColor = _alertBackgroundColor.CGColor; - if (_darkTheme) - fillLayer.fillColor = [UIColor colorWithWhite:48.0f/255.0f alpha:1.0].CGColor; - fillLayer.opacity = 1.0; - - if (alertViewWithVector) - [alertView.layer addSublayer:fillLayer]; - - // SEPARATOR LINE - Seperating Header View with Button View - - UIView* separatorLineView = [[UIView alloc] initWithFrame:CGRectMake(0, - alertViewFrame.size.height - 47, - alertViewFrame.size.width, - 2)]; - - separatorLineView.backgroundColor = [UIColor colorWithWhite:100.0f/255.0f alpha:1.0]; // set color as you want. - if (_darkTheme) - separatorLineView.backgroundColor = [UIColor colorWithWhite:58.0f/255.0f alpha:1.0]; - - // TEXTFIELD VIEW - Section with TextField - - if (alertTextFields.count > 0) { - - for (int i = 0; i < MIN(alertTextFields.count,4); i++) { - - UITextField *tf = [[UITextField alloc] initWithFrame:CGRectMake(12.5, descriptionLabel.frame.size.height + descriptionLabel.frame.origin.y + 10.5 + 45*i, alertViewFrame.size.width - 25, 40)]; - - if ([[alertTextFields objectAtIndex:i] objectForKey:@"field"] != nil && - [[[alertTextFields objectAtIndex:i] objectForKey:@"field"] isKindOfClass:[UITextField class]]) { - - tf = [[alertTextFields objectAtIndex:i] objectForKey:@"field"]; - tf.frame = CGRectMake(12.5, descriptionLabel.frame.size.height + descriptionLabel.frame.origin.y + 10.5 + 45*i, alertViewFrame.size.width - 25, 40); - - } - - if (tf.layer.cornerRadius == 0) - tf.layer.cornerRadius = 3.0f; - tf.layer.masksToBounds = YES; - tf.layer.borderColor = [[UIColor colorWithWhite:217.0f/255.0f alpha:1.0] CGColor]; - - if (tf.layer.borderWidth == 0) - tf.layer.borderWidth = 1.0f; - - tf.delegate = self; - tf.tag = i; - if (tf.placeholder.length == 0 && - [[alertTextFields objectAtIndex:i] objectForKey:@"placeholder"] != nil && - [[[alertTextFields objectAtIndex:i] objectForKey:@"placeholder"] length] > 0) - tf.placeholder = [[alertTextFields objectAtIndex:i] objectForKey:@"placeholder"]; - - if (self.darkTheme) - tf.backgroundColor = [UIColor colorWithWhite:227.0f/255.0f alpha:1.0]; - else - tf.backgroundColor = [UIColor whiteColor]; - - if (i+1 == MIN(alertTextFields.count,4)) - [tf setReturnKeyType:UIReturnKeyDone]; - else - [tf setReturnKeyType:UIReturnKeyNext]; - - UIView *paddingView = [[UIView alloc] initWithFrame:CGRectMake(0, 0, 5, 20)]; - tf.leftView = paddingView; - tf.leftViewMode = UITextFieldViewModeAlways; - - [alertTextFieldHolder addObject:tf]; - - [alertView addSubview:tf]; - - } - - } - - // BUTTON(S) VIEW - Section containing all Buttons - - if (_numberOfButtons == 0) { // View only contains DONE/DISMISS Button - - UIButton *doneButton = [UIButton buttonWithType:UIButtonTypeSystem]; - if (_colorScheme == nil) { - doneButton.backgroundColor = [UIColor whiteColor]; - if (_detachButtons) - doneButton.backgroundColor = [UIColor colorWithWhite:228.0f/255.0f alpha:1.0]; - if (_darkTheme) - doneButton.backgroundColor = [UIColor colorWithWhite:78.0f/255.0f alpha:1.0]; - } else { - doneButton.backgroundColor = _colorScheme; - } - - if (_doneButtonHighlightedBackgroundColor) - [doneButton setBackgroundImage:[self imageWithColor:_doneButtonHighlightedBackgroundColor] forState:UIControlStateHighlighted]; - - doneButton.frame = CGRectMake(0, - alertViewFrame.size.height - 45, - alertViewFrame.size.width, - 45); - if (_detachButtons) { - doneButton.frame = CGRectMake(8, - alertViewFrame.size.height - 50, - alertViewFrame.size.width - 16, - 40); - doneButton.layer.cornerRadius = MIN(self.cornerRadius, doneButton.frame.size.height/2); - doneButton.layer.masksToBounds = YES; - } - - [doneButton setTitle:doneTitle forState:UIControlStateNormal]; - [doneButton addTarget:self action:@selector(donePressed) forControlEvents:UIControlEventTouchUpInside]; - [doneButton addTarget:self action:@selector(btnTouched) forControlEvents:UIControlEventTouchDown]; - [doneButton addTarget:self action:@selector(btnReleased) forControlEvents:UIControlEventTouchDragExit]; - doneButton.titleLabel.font = [UIFont systemFontOfSize:18.0f weight:UIFontWeightMedium]; - if (self.doneButtonCustomFont) - doneButton.titleLabel.font = self.doneButtonCustomFont; - if (_colorScheme != nil || _darkTheme) - doneButton.tintColor = [UIColor whiteColor]; - if (self.doneButtonTitleColor != nil) - doneButton.tintColor = self.doneButtonTitleColor; - - if (!_hideAllButtons && !_hideDoneButton) - [alertView addSubview:doneButton]; - - } else if (_numberOfButtons == 1) { // View also contains OTHER (One) Button - - UIButton *doneButton = [UIButton buttonWithType:UIButtonTypeSystem]; - if (_colorScheme == nil) { - doneButton.backgroundColor = [UIColor whiteColor]; - if (_detachButtons) - doneButton.backgroundColor = [UIColor colorWithWhite:228.0f/255.0f alpha:1.0]; - if (_darkTheme) - doneButton.backgroundColor = [UIColor colorWithWhite:78.0f/255.0f alpha:1.0]; - } else { - doneButton.backgroundColor = _colorScheme; - } - - if (_doneButtonHighlightedBackgroundColor) - [doneButton setBackgroundImage:[self imageWithColor:_doneButtonHighlightedBackgroundColor] forState:UIControlStateHighlighted]; - - doneButton.frame = CGRectMake(alertViewFrame.size.width/2, - alertViewFrame.size.height - 45, - alertViewFrame.size.width/2, - 45); - if (_detachButtons) { - doneButton.frame = CGRectMake(alertViewFrame.size.width/2 + 6, - doneButton.frame.origin.y - 5, - doneButton.frame.size.width - 16, - 40); - doneButton.layer.cornerRadius = MIN(self.cornerRadius, doneButton.frame.size.height/2); - doneButton.layer.masksToBounds = YES; - } - - [doneButton setTitle:doneTitle forState:UIControlStateNormal]; - [doneButton addTarget:self action:@selector(donePressed) forControlEvents:UIControlEventTouchUpInside]; - [doneButton addTarget:self action:@selector(btnTouched) forControlEvents:UIControlEventTouchDown]; - [doneButton addTarget:self action:@selector(btnReleased) forControlEvents:UIControlEventTouchDragExit]; - doneButton.titleLabel.font = [UIFont systemFontOfSize:16.0f weight:UIFontWeightMedium]; - if (self.doneButtonCustomFont) - doneButton.titleLabel.font = self.doneButtonCustomFont; - if (_colorScheme != nil || _darkTheme) - doneButton.tintColor = [UIColor whiteColor]; - if (self.doneButtonTitleColor != nil) - doneButton.tintColor = self.doneButtonTitleColor; - - UIButton *otherButton = [UIButton buttonWithType:UIButtonTypeSystem]; - otherButton.backgroundColor = [UIColor whiteColor]; - if (_detachButtons) - otherButton.backgroundColor = [UIColor colorWithWhite:228.0f/255.0f alpha:1.0]; - if (_darkTheme) - otherButton.backgroundColor = [UIColor colorWithWhite:78.0f/255.0f alpha:1.0]; - if (self.firstButtonBackgroundColor != nil) - otherButton.backgroundColor = self.firstButtonBackgroundColor; - - if (_firstButtonHighlightedBackgroundColor) - [otherButton setBackgroundImage:[self imageWithColor:_firstButtonHighlightedBackgroundColor] forState:UIControlStateHighlighted]; - - otherButton.frame = CGRectMake(0, - alertViewFrame.size.height - 45, - alertViewFrame.size.width/2, - 45); - if (_hideDoneButton) - otherButton.frame = CGRectMake(0, - alertViewFrame.size.height - 45, - alertViewFrame.size.width, - 45); - - if (_detachButtons) { - otherButton.frame = CGRectMake(alertViewFrame.size.width/2 - otherButton.frame.size.width + 16 - 6, - otherButton.frame.origin.y - 5, - otherButton.frame.size.width - 16, - 40); - otherButton.layer.cornerRadius = MIN(self.cornerRadius, otherButton.frame.size.height/2); - otherButton.layer.masksToBounds = YES; - } - - [otherButton setTitle:[[alertButtons objectAtIndex:0] objectForKey:@"title"] forState:UIControlStateNormal]; - [otherButton addTarget:self action:@selector(handleButton:) forControlEvents:UIControlEventTouchUpInside]; - [otherButton addTarget:self action:@selector(btnTouched) forControlEvents:UIControlEventTouchDown]; - [otherButton addTarget:self action:@selector(btnReleased) forControlEvents:UIControlEventTouchDragExit]; - otherButton.titleLabel.font = [UIFont systemFontOfSize:16.0f weight:UIFontWeightRegular]; - if (self.firstButtonCustomFont) - otherButton.titleLabel.font = self.firstButtonCustomFont; - otherButton.tintColor = self.colorScheme; - if (self.colorScheme == nil && _darkTheme) - otherButton.tintColor = [UIColor whiteColor]; - if (self.firstButtonTitleColor != nil) - otherButton.tintColor = self.firstButtonTitleColor; - - otherButton.titleLabel.adjustsFontSizeToFitWidth = YES; - otherButton.titleLabel.minimumScaleFactor = 0.8; - - if (!_hideAllButtons) { - [alertView addSubview:otherButton]; - } - - if (!_hideAllButtons && !_hideDoneButton) - [alertView addSubview:doneButton]; - - UIView *horizontalSeparator = [[UIView alloc] initWithFrame:CGRectMake(alertViewFrame.size.width/2 - 1, - otherButton.frame.origin.y - 2, - 2, - 47)]; - - horizontalSeparator.backgroundColor = [UIColor colorWithWhite:100.0f/255.0f alpha:1.0]; // set color as you want. - if (_darkTheme) - horizontalSeparator.backgroundColor = [UIColor colorWithWhite:58.0f/255.0f alpha:1.0]; - - UIVisualEffect *blurEffect; - blurEffect = [UIBlurEffect effectWithStyle:UIBlurEffectStyleExtraLight]; - if (_darkTheme) - blurEffect = [UIBlurEffect effectWithStyle:UIBlurEffectStyleDark]; - - UIVisualEffectView *visualEffectView3; - visualEffectView3 = [[UIVisualEffectView alloc] initWithEffect:blurEffect]; - visualEffectView3.frame = horizontalSeparator.bounds; - visualEffectView3.userInteractionEnabled = NO; - [horizontalSeparator addSubview:visualEffectView3]; - - if (!_hideAllButtons && !_hideDoneButton && !_detachButtons && !_hideSeparatorLineView) { - [alertView addSubview:horizontalSeparator]; - } - - } else if (_numberOfButtons >= 2) { // View contains TWO OTHER Buttons - First & Second Button - - UIButton *firstButton = [UIButton buttonWithType:UIButtonTypeSystem]; - firstButton.backgroundColor = [UIColor whiteColor]; - if (_detachButtons) - firstButton.backgroundColor = [UIColor colorWithWhite:228.0f/255.0f alpha:1.0]; - if (_darkTheme) - firstButton.backgroundColor = [UIColor colorWithWhite:78.0f/255.0f alpha:1.0]; - if (self.firstButtonBackgroundColor != nil) - firstButton.backgroundColor = self.firstButtonBackgroundColor; - - if (_firstButtonHighlightedBackgroundColor) - [firstButton setBackgroundImage:[self imageWithColor:_firstButtonHighlightedBackgroundColor] forState:UIControlStateHighlighted]; - - firstButton.frame = CGRectMake(0, - alertViewFrame.size.height - 135, - alertViewFrame.size.width, - 45); - - if (_hideDoneButton) - firstButton.frame = CGRectMake(0, - alertViewFrame.size.height - 45, - alertViewFrame.size.width/2, - 45); - - if (_detachButtons) { - firstButton.frame = CGRectMake(firstButton.frame.origin.x + 8, - firstButton.frame.origin.y - 5, - firstButton.frame.size.width - 16, - 40); - firstButton.layer.cornerRadius = MIN(self.cornerRadius, firstButton.frame.size.height/2); - firstButton.layer.masksToBounds = YES; - } - - [firstButton setTitle:[[alertButtons objectAtIndex:0] objectForKey:@"title"] forState:UIControlStateNormal]; - [firstButton addTarget:self action:@selector(handleButton:) forControlEvents:UIControlEventTouchUpInside]; - [firstButton addTarget:self action:@selector(btnTouched) forControlEvents:UIControlEventTouchDown]; - [firstButton addTarget:self action:@selector(btnReleased) forControlEvents:UIControlEventTouchDragExit]; - firstButton.titleLabel.font = [UIFont systemFontOfSize:16.0f weight:UIFontWeightRegular]; - if (self.firstButtonCustomFont) - firstButton.titleLabel.font = self.firstButtonCustomFont; - firstButton.tintColor = self.colorScheme; - if (self.colorScheme == nil && _darkTheme) - firstButton.tintColor = [UIColor whiteColor]; - if (self.firstButtonTitleColor != nil) - firstButton.tintColor = self.firstButtonTitleColor; - - firstButton.titleLabel.adjustsFontSizeToFitWidth = YES; - firstButton.titleLabel.minimumScaleFactor = 0.8; - firstButton.tag = 0; - - UIButton *secondButton = [UIButton buttonWithType:UIButtonTypeSystem]; - secondButton.backgroundColor = [UIColor whiteColor]; - if (_detachButtons) - secondButton.backgroundColor = [UIColor colorWithWhite:228.0f/255.0f alpha:1.0]; - if (_darkTheme) - secondButton.backgroundColor = [UIColor colorWithWhite:78.0f/255.0f alpha:1.0]; - if (self.secondButtonBackgroundColor != nil) - secondButton.backgroundColor = self.secondButtonBackgroundColor; - - if (_secondButtonHighlightedBackgroundColor) - [secondButton setBackgroundImage:[self imageWithColor:_secondButtonHighlightedBackgroundColor] forState:UIControlStateHighlighted]; - - secondButton.frame = CGRectMake(0, - alertViewFrame.size.height - 90, - alertViewFrame.size.width, - 45); - if (_hideDoneButton) - secondButton.frame = CGRectMake(alertViewFrame.size.width/2, - alertViewFrame.size.height - 45, - alertViewFrame.size.width/2, - 45); - - if (_detachButtons) { - secondButton.frame = CGRectMake(secondButton.frame.origin.x + 8, - secondButton.frame.origin.y - 5, - secondButton.frame.size.width - 16, - 40); - secondButton.layer.cornerRadius = MIN(self.cornerRadius, secondButton.frame.size.height/2); - secondButton.layer.masksToBounds = YES; - } - - [secondButton setTitle:[[alertButtons objectAtIndex:1] objectForKey:@"title"] forState:UIControlStateNormal]; - [secondButton addTarget:self action:@selector(handleButton:) forControlEvents:UIControlEventTouchUpInside]; - [secondButton addTarget:self action:@selector(btnTouched) forControlEvents:UIControlEventTouchDown]; - [secondButton addTarget:self action:@selector(btnReleased) forControlEvents:UIControlEventTouchDragExit]; - secondButton.titleLabel.font = [UIFont systemFontOfSize:16.0f weight:UIFontWeightRegular]; - if (self.secondButtonCustomFont) - secondButton.titleLabel.font = self.secondButtonCustomFont; - secondButton.tintColor = self.colorScheme; - if (self.colorScheme == nil && _darkTheme) - secondButton.tintColor = [UIColor whiteColor]; - if (self.secondButtonTitleColor != nil) - secondButton.tintColor = self.secondButtonTitleColor; - - secondButton.titleLabel.adjustsFontSizeToFitWidth = YES; - secondButton.titleLabel.minimumScaleFactor = 0.8; - secondButton.tag = 1; - - UIButton *doneButton = [UIButton buttonWithType:UIButtonTypeSystem]; - if (_colorScheme == nil) { - doneButton.backgroundColor = [UIColor whiteColor]; - if (_detachButtons) - doneButton.backgroundColor = [UIColor colorWithWhite:228.0f/255.0f alpha:1.0]; - if (_darkTheme) - doneButton.backgroundColor = [UIColor colorWithWhite:78.0f/255.0f alpha:1.0]; - } else { - doneButton.backgroundColor = _colorScheme; - } - - if (_doneButtonHighlightedBackgroundColor) - [doneButton setBackgroundImage:[self imageWithColor:_doneButtonHighlightedBackgroundColor] forState:UIControlStateHighlighted]; - - doneButton.frame = CGRectMake(0, - alertViewFrame.size.height - 45, - alertViewFrame.size.width, - 45); - if (_detachButtons) { - doneButton.frame = CGRectMake(8, - alertViewFrame.size.height - 50, - alertViewFrame.size.width - 16, - 40); - doneButton.layer.cornerRadius = MIN(self.cornerRadius, doneButton.frame.size.height/2); - doneButton.layer.masksToBounds = YES; - } - - [doneButton setTitle:doneTitle forState:UIControlStateNormal]; - [doneButton addTarget:self action:@selector(donePressed) forControlEvents:UIControlEventTouchUpInside]; - [doneButton addTarget:self action:@selector(btnTouched) forControlEvents:UIControlEventTouchDown]; - [doneButton addTarget:self action:@selector(btnReleased) forControlEvents:UIControlEventTouchDragExit]; - doneButton.titleLabel.font = [UIFont systemFontOfSize:18.0f weight:UIFontWeightMedium]; - if (self.doneButtonCustomFont) - doneButton.titleLabel.font = self.doneButtonCustomFont; - if (_colorScheme != nil || _darkTheme) - doneButton.tintColor = [UIColor whiteColor]; - if (self.doneButtonTitleColor != nil) - doneButton.tintColor = self.doneButtonTitleColor; - - if (!_hideAllButtons) { - [alertView addSubview:firstButton]; - [alertView addSubview:secondButton]; - } - - if (!_hideAllButtons && !_hideDoneButton) - [alertView addSubview:doneButton]; - - UIView *firstSeparator = [[UIView alloc] initWithFrame:CGRectMake(0, - firstButton.frame.origin.y - 2, - alertViewFrame.size.width, - 2)]; - firstSeparator.backgroundColor = [UIColor colorWithWhite:100.0f/255.0f alpha:1.0]; // set color as you want. - if (_darkTheme) - firstSeparator.backgroundColor = [UIColor colorWithWhite:58.0f/255.0f alpha:1.0]; - - UIView *secondSeparator = [[UIView alloc] initWithFrame:CGRectMake(0, - secondButton.frame.origin.y - 2, - alertViewFrame.size.width, - 2)]; - if (_hideDoneButton) - secondSeparator.frame = CGRectMake(alertViewFrame.size.width/2 - 1, - secondButton.frame.origin.y, - 2, - 45); - secondSeparator.backgroundColor = [UIColor colorWithWhite:100.0f/255.0f alpha:1.0]; // set color as you want. - if (_darkTheme) - secondSeparator.backgroundColor = [UIColor colorWithWhite:58.0f/255.0f alpha:1.0]; - - UIVisualEffect *blurEffect; - blurEffect = [UIBlurEffect effectWithStyle:UIBlurEffectStyleExtraLight]; - if (_darkTheme) - blurEffect = [UIBlurEffect effectWithStyle:UIBlurEffectStyleDark]; - - UIVisualEffectView *visualEffectView; - visualEffectView = [[UIVisualEffectView alloc] initWithEffect:blurEffect]; - visualEffectView.frame = firstSeparator.bounds; - visualEffectView.userInteractionEnabled = NO; - [firstSeparator addSubview:visualEffectView]; - - UIVisualEffectView *visualEffectView2; - visualEffectView2 = [[UIVisualEffectView alloc] initWithEffect:blurEffect]; - visualEffectView2.frame = secondSeparator.bounds; - visualEffectView2.userInteractionEnabled = NO; - [secondSeparator addSubview:visualEffectView2]; - - if (!_hideAllButtons && !_detachButtons && !_hideSeparatorLineView) { - [alertView addSubview:firstSeparator]; - [alertView addSubview:secondSeparator]; - } - - } - - UIVisualEffect *blurEffect; - blurEffect = [UIBlurEffect effectWithStyle:UIBlurEffectStyleExtraLight]; - if (_darkTheme) - blurEffect = [UIBlurEffect effectWithStyle:UIBlurEffectStyleDark]; - UIVisualEffectView *visualEffectView; - visualEffectView = [[UIVisualEffectView alloc] initWithEffect:blurEffect]; - visualEffectView.frame = separatorLineView.bounds; - visualEffectView.userInteractionEnabled = NO; - [separatorLineView addSubview:visualEffectView]; - - if (!_fullCircleCustomImage) { - circleLayer = [CAShapeLayer layer]; - [circleLayer setPath:[[UIBezierPath bezierPathWithOvalInRect:CGRectMake(alertViewContents.frame.size.width/2 - 30.0f, -30.0f, 60.0f, 60.0f)] CGPath]]; - if (!self.alertBackgroundColor) - [circleLayer setFillColor:[UIColor whiteColor].CGColor]; - else - [circleLayer setFillColor:_alertBackgroundColor.CGColor]; - } - - if (_darkTheme) - circleLayer.fillColor = [UIColor colorWithWhite:48.0f/255.0f alpha:1.0].CGColor; - if ([alertType isEqualToString:@"Progress"] && _colorScheme != nil) - [circleLayer setFillColor:[self.colorScheme CGColor]]; - - UIActivityIndicatorView *spinner = [[UIActivityIndicatorView alloc] initWithFrame:CGRectMake(alertViewContents.frame.size.width/2 - 30.0f, -30.0f, 60.0f, 60.0f)]; - if (circleLayer.fillColor == [UIColor whiteColor].CGColor) - [spinner setActivityIndicatorViewStyle:UIActivityIndicatorViewStyleGray]; - else - [spinner setActivityIndicatorViewStyle:UIActivityIndicatorViewStyleWhite]; - [spinner startAnimating]; - - UIImageView *alertViewVector; - - if (_avoidCustomImageTint && alertType.length == 0) { - alertViewVector = [[UIImageView alloc] init]; - alertViewVector.image = vectorImage; - } else { - alertViewVector = [[UIImageView alloc] init]; - alertViewVector.image = [vectorImage imageWithRenderingMode:UIImageRenderingModeAlwaysTemplate]; - } - - if (_fullCircleCustomImage) - _customImageScale = 2; - - if (_customImageScale <= 0) { - _customImageScale = 1; - } - - CGFloat vectorSize = 30.0f * MIN(2, _customImageScale); - - alertViewVector.frame = CGRectMake(alertViewContents.frame.size.width/2 - (vectorSize/2), - -(vectorSize/2) - 0.5, - vectorSize, - vectorSize); - - alertViewVector.contentMode = UIViewContentModeScaleAspectFit; - alertViewVector.userInteractionEnabled = 0; - alertViewVector.tintColor = _colorScheme; - - // VIEW BORDER - Rounding Corners of AlertView - - alertView.layer.cornerRadius = self.cornerRadius; - alertView.layer.masksToBounds = YES; - - // ADDING CONTENTS - Contained in Header and Separator Views - - [alertViewContents addSubview:titleLabel]; - [alertViewContents addSubview:descriptionLabel]; - - if (!_hideAllButtons && !_hideSeparatorLineView) { - if (_numberOfButtons == 1 && !_detachButtons) - [alertViewContents addSubview:separatorLineView]; - else if (!_hideDoneButton && !_detachButtons) - [alertViewContents addSubview:separatorLineView]; - } - - if (alertViewWithVector) { - [alertViewContents.layer addSublayer:circleLayer]; - [alertViewContents addSubview:alertViewVector]; - if ([alertType isEqualToString:@"Progress"]) - [alertViewContents addSubview:spinner]; - - } - - // SCALING ALERTVIEW - Before Animation - - if (!_animateAlertInFromTop && !_animateAlertInFromLeft && !_animateAlertInFromRight && !_animateAlertInFromBottom) { - alertViewContents.transform = CGAffineTransformMakeScale(1.15, 1.15); - } else { - if (_animateAlertInFromTop) - alertViewContents.frame = CGRectMake(alertViewFrame.origin.x, - 0 - alertViewFrame.size.height - 15, - alertViewFrame.size.width, - alertViewFrame.size.height); - if (_animateAlertInFromRight) - alertViewContents.frame = CGRectMake(self.frame.size.width + alertViewFrame.size.width + 15, - alertViewFrame.origin.y, - alertViewFrame.size.width, - alertViewFrame.size.height); - if (_animateAlertInFromBottom) - alertViewContents.frame = CGRectMake(alertViewFrame.origin.x, - self.frame.size.height + alertViewFrame.size.height + 15, - alertViewFrame.size.width, - alertViewFrame.size.height); - if (_animateAlertInFromLeft) - alertViewContents.frame = CGRectMake(0 - alertViewFrame.size.width - 15, - alertViewFrame.origin.y, - alertViewFrame.size.width, - alertViewFrame.size.height); - } - - // ADDING RATING SYSTEM - - UITextField *tf = [alertTextFieldHolder firstObject]; - - ratingController = [[UIView alloc] initWithFrame:CGRectMake(20, - descriptionLevel + descriptionLabelFrames.size.height + 32.5 + 15+ (MAX(1, MIN(alertTextFields.count,4))*(tf.frame.size.height + 7.5)), - alertViewFrame.size.width - 40, - 40)]; - - CGFloat spacingBetween = (ratingController.frame.size.width - (40*4))/5; - - UIImage *starImage = [[self loadImageFromResourceBundle:@"star.png"] imageWithRenderingMode:UIImageRenderingModeAlwaysTemplate]; - UIImage *heartImage = [[self loadImageFromResourceBundle:@"heart.png"] imageWithRenderingMode:UIImageRenderingModeAlwaysTemplate]; - - item1 = [UIButton buttonWithType:UIButtonTypeCustom]; - item1.tintColor = [UIColor colorWithWhite:228.0f/255.0f alpha:1.0]; - item1.frame = CGRectMake(40*0 + spacingBetween, 0, 40.0f, 40.0f); - item1.userInteractionEnabled = 0; - - item2 = [UIButton buttonWithType:UIButtonTypeCustom]; - item2.tintColor = [UIColor colorWithWhite:228.0f/255.0f alpha:1.0]; - item2.frame = CGRectMake(40*1 + spacingBetween, 0, 40.0f, 40.0f); - item2.userInteractionEnabled = 0; - - item3 = [UIButton buttonWithType:UIButtonTypeCustom]; - item3.tintColor = [UIColor colorWithWhite:228.0f/255.0f alpha:1.0]; - item3.frame = CGRectMake(40*2 + spacingBetween, 0, 40.0f, 40.0f); - item3.userInteractionEnabled = 0; - - item4 = [UIButton buttonWithType:UIButtonTypeCustom]; - item4.tintColor = [UIColor colorWithWhite:228.0f/255.0f alpha:1.0]; - item4.frame = CGRectMake(40*3 + spacingBetween, 0, 40.0f, 40.0f); - item4.userInteractionEnabled = 0; - - item5 = [UIButton buttonWithType:UIButtonTypeCustom]; - item5.tintColor = [UIColor colorWithWhite:228.0f/255.0f alpha:1.0]; - item5.frame = CGRectMake(40*4 + spacingBetween, 0, 40.0f, 40.0f); - item5.userInteractionEnabled = 0; - - if (alertTypeRatingHearts) { - [item1 setImage:heartImage forState:UIControlStateNormal]; - [item2 setImage:heartImage forState:UIControlStateNormal]; - [item3 setImage:heartImage forState:UIControlStateNormal]; - [item4 setImage:heartImage forState:UIControlStateNormal]; - [item5 setImage:heartImage forState:UIControlStateNormal]; - } - - if (alertTypeRatingStars) { - [item1 setImage:starImage forState:UIControlStateNormal]; - [item2 setImage:starImage forState:UIControlStateNormal]; - [item3 setImage:starImage forState:UIControlStateNormal]; - [item4 setImage:starImage forState:UIControlStateNormal]; - [item5 setImage:starImage forState:UIControlStateNormal]; - } - - item1.adjustsImageWhenHighlighted = NO; - item2.adjustsImageWhenHighlighted = NO; - item3.adjustsImageWhenHighlighted = NO; - item4.adjustsImageWhenHighlighted = NO; - item5.adjustsImageWhenHighlighted = NO; - - [ratingController addSubview:item1]; - [ratingController addSubview:item2]; - [ratingController addSubview:item3]; - [ratingController addSubview:item4]; - [ratingController addSubview:item5]; - - if (alertTypeRatingHearts || alertTypeRatingStars) - [alertViewContents addSubview:ratingController]; - - // APPLYING SHADOW - - [self.layer setShadowColor:[UIColor blackColor].CGColor]; - [self.layer setShadowOpacity:0.10f]; - [self.layer setShadowRadius:10.0f]; - [self.layer setShadowOffset:CGSizeMake(0.0f, 0.0f)]; - - if (_bounceAnimations) { - - UIInterpolatingMotionEffect *horizontalMotionEffect = [[UIInterpolatingMotionEffect alloc] initWithKeyPath:@"center.x" type:UIInterpolatingMotionEffectTypeTiltAlongHorizontalAxis]; - horizontalMotionEffect.minimumRelativeValue = @(-22.5); - horizontalMotionEffect.maximumRelativeValue = @(22.5); - - UIInterpolatingMotionEffect *verticalMotionEffect = [[UIInterpolatingMotionEffect alloc] initWithKeyPath:@"center.y" type:UIInterpolatingMotionEffectTypeTiltAlongVerticalAxis]; - verticalMotionEffect.minimumRelativeValue = @(-22.5); - verticalMotionEffect.maximumRelativeValue = @(22.5); - - [alertViewContents addMotionEffect:horizontalMotionEffect]; - [alertViewContents addMotionEffect:verticalMotionEffect]; - - } - - [self showAlertView]; - -} - -#pragma mark - Create Image with Color - -- (UIImage *)imageWithColor:(UIColor *)color { - CGRect rect = CGRectMake(0.0f, 0.0f, 1.0f, 1.0f); - UIGraphicsBeginImageContext(rect.size); - CGContextRef context = UIGraphicsGetCurrentContext(); - - CGContextSetFillColorWithColor(context, [color CGColor]); - CGContextFillRect(context, rect); - - UIImage *image = UIGraphicsGetImageFromCurrentImageContext(); - UIGraphicsEndImageContext(); - - return image; -} - -#pragma mark - Getting Resources from Bundle - -+(NSBundle *)getResourcesBundle -{ - NSBundle *bundle = [NSBundle bundleWithURL:[[NSBundle bundleForClass:[self class]] URLForResource:@"FCAlertView" withExtension:@"bundle"]]; - return bundle; -} - --(UIImage *)loadImageFromResourceBundle:(NSString *)imageName -{ - UIImage *icon = [UIImage imageNamed:imageName]; - - CGImageRef cgref = [icon CGImage]; - CIImage *cim = [icon CIImage]; - - if (cim == nil && cgref == NULL) - { - NSBundle *bundle = [FCAlertView getResourcesBundle]; - NSString *imageFileName = [NSString stringWithFormat:@"%@.png",imageName]; - UIImage *image = [UIImage imageNamed:imageFileName inBundle:bundle compatibleWithTraitCollection:nil]; - return image; - } - - return icon; -} - -#pragma mark - Default Types of Alerts - -- (void) makeAlertTypeWarning { - vectorImage = [self loadImageFromResourceBundle:@"close-round.png"]; - alertViewWithVector = 1; - self.colorScheme = self.flatRed; - alertType = @"Warning"; -} - -- (void) makeAlertTypeCaution { - vectorImage = [self loadImageFromResourceBundle:@"alert-round.png"]; - alertViewWithVector = 1; - self.colorScheme = self.flatOrange; - alertType = @"Caution"; -} - -- (void) makeAlertTypeSuccess { - vectorImage = [self loadImageFromResourceBundle:@"checkmark-round.png"]; - alertViewWithVector = 1; - self.colorScheme = self.flatGreen; - alertType = @"Success"; -} - -- (void) makeAlertTypeProgress { - [circleLayer setFillColor:[self.colorScheme CGColor]]; - alertViewWithVector = 1; - alertType = @"Progress"; -} - -- (void) makeAlertTypeRateHearts:(FCRatingBlock)ratingBlock { - _ratingBlock = ratingBlock; - vectorImage = [self loadImageFromResourceBundle:@"heart.png"]; - alertViewWithVector = 1; - alertTypeRatingHearts = 1; - alertTypeRatingStars = 0; - self.colorScheme = [UIColor colorWithRed:228.0f/255.0f green:77.0f/255.0f blue:65.0f/255.0f alpha:1.0]; -} - -- (void) makeAlertTypeRateStars:(FCRatingBlock)ratingBlock { - _ratingBlock = ratingBlock; - vectorImage = [self loadImageFromResourceBundle:@"star.png"]; - alertViewWithVector = 1; - alertTypeRatingStars = 1; - alertTypeRatingHearts = 0; - self.colorScheme = [UIColor colorWithRed:234.0f/255.0f green:201.0f/255.0f blue:77.0f/255.0f alpha:1.0]; -} - -#pragma mark - Play Sound with Alert - -- (void) setAlertSoundWithFileName:(NSString *)filename { - - NSString *soundFilePath = [NSString stringWithFormat:@"%@/%@", - [[NSBundle mainBundle] resourcePath], filename]; - NSURL *soundFileURL = [NSURL fileURLWithPath:soundFilePath]; - player = [[AVAudioPlayer alloc] initWithContentsOfURL:soundFileURL - error:nil]; - player.numberOfLoops = 0; - -} - -#pragma mark - Presenting AlertView - -- (void) showAlertInView:(UIViewController *)view withTitle:(NSString *)title withSubtitle:(NSString *)subTitle withCustomImage:(UIImage *)image withDoneButtonTitle:(NSString *)done andButtons:(NSArray *)buttons { - - // Blur Effect - - if (_blurBackground && NSClassFromString(@"UIVisualEffectView") != nil) { - UIVisualEffect *blurEffect = [UIBlurEffect effectWithStyle:UIBlurEffectStyleLight]; - backgroundVisualEffectView = [[UIVisualEffectView alloc] initWithEffect:blurEffect]; - backgroundVisualEffectView.frame = view.view.bounds; - _alertBackground.backgroundColor = [UIColor colorWithWhite:0.0f alpha:0.5]; - [view.view addSubview:backgroundVisualEffectView]; - } - - // Adding Alert - - [self setAlertViewAttributes:title withSubtitle:subTitle withCustomImage:image withDoneButtonTitle:done andButtons:buttons]; - [view.view.window addSubview:self]; - -} - -- (void) showAlertInWindow:(UIWindow *)window withTitle:(NSString *)title withSubtitle:(NSString *)subTitle withCustomImage:(UIImage *)image withDoneButtonTitle:(NSString *)done andButtons:(NSArray *)buttons { - - // Blur Effect - - if (_blurBackground && NSClassFromString(@"UIVisualEffectView") != nil) { - UIVisualEffect *blurEffect = [UIBlurEffect effectWithStyle:UIBlurEffectStyleLight]; - backgroundVisualEffectView = [[UIVisualEffectView alloc] initWithEffect:blurEffect]; - backgroundVisualEffectView.frame = window.bounds; - _alertBackground.backgroundColor = [UIColor colorWithWhite:0.0f alpha:0.5]; - [window addSubview:backgroundVisualEffectView]; - } - - // Adding Alert - - [self setAlertViewAttributes:title withSubtitle:subTitle withCustomImage:image withDoneButtonTitle:done andButtons:buttons]; - [window addSubview:self]; - -} - -- (void) showAlertWithTitle:(NSString *)title withSubtitle:(NSString *)subTitle withCustomImage:(UIImage *)image withDoneButtonTitle:(NSString *)done andButtons:(NSArray *)buttons{ - - [self setAlertViewAttributes:title withSubtitle:subTitle withCustomImage:image withDoneButtonTitle:done andButtons:buttons]; - UIWindow *window = [[UIApplication sharedApplication] keyWindow]; - - // Blur Effect - if (_blurBackground && NSClassFromString(@"UIVisualEffectView") != nil) { - UIVisualEffect *blurEffect = [UIBlurEffect effectWithStyle:UIBlurEffectStyleLight]; - backgroundVisualEffectView = [[UIVisualEffectView alloc] initWithEffect:blurEffect]; - backgroundVisualEffectView.frame = window.bounds; - _alertBackground.backgroundColor = [UIColor colorWithWhite:0.0f alpha:0.5]; - [window addSubview:backgroundVisualEffectView]; - } - - // Adding Alert - - [window addSubview:self]; - [window bringSubviewToFront:self]; - -} - -- (void) showAlertWithAttributedTitle:(NSAttributedString *)title withSubtitle:(NSString *)subTitle withCustomImage:(UIImage *)image withDoneButtonTitle:(NSString *)done andButtons:(NSArray *)buttons { - - self.attributedTitle = title; - [self setAlertViewAttributes:nil withSubtitle:subTitle withCustomImage:image withDoneButtonTitle:done andButtons:buttons]; - UIWindow *window = [[UIApplication sharedApplication] keyWindow]; - - // Blur Effect - if (_blurBackground && NSClassFromString(@"UIVisualEffectView") != nil) { - UIVisualEffect *blurEffect = [UIBlurEffect effectWithStyle:UIBlurEffectStyleLight]; - backgroundVisualEffectView = [[UIVisualEffectView alloc] initWithEffect:blurEffect]; - backgroundVisualEffectView.frame = window.bounds; - _alertBackground.backgroundColor = [UIColor colorWithWhite:0.0f alpha:0.5]; - [window addSubview:backgroundVisualEffectView]; - } - - // Adding Alert - - [window addSubview:self]; - [window bringSubviewToFront:self]; -} - -- (void) showAlertWithTitle:(NSString *)title withAttributedSubtitle:(NSAttributedString *)subTitle withCustomImage:(UIImage *)image withDoneButtonTitle:(NSString *)done andButtons:(NSArray *)buttons { - - self.attributedSubTitle = subTitle; - [self setAlertViewAttributes:title withSubtitle:nil withCustomImage:image withDoneButtonTitle:done andButtons:buttons]; - UIWindow *window = [[UIApplication sharedApplication] keyWindow]; - - // Blur Effect - if (_blurBackground && NSClassFromString(@"UIVisualEffectView") != nil) { - UIVisualEffect *blurEffect = [UIBlurEffect effectWithStyle:UIBlurEffectStyleLight]; - backgroundVisualEffectView = [[UIVisualEffectView alloc] initWithEffect:blurEffect]; - backgroundVisualEffectView.frame = window.bounds; - _alertBackground.backgroundColor = [UIColor colorWithWhite:0.0f alpha:0.5]; - [window addSubview:backgroundVisualEffectView]; - } - - // Adding Alert - - [window addSubview:self]; - [window bringSubviewToFront:self]; -} - -- (void) showAlertWithAttributedTitle:(NSAttributedString *)title withAttributedSubtitle:(NSAttributedString *)subTitle withCustomImage:(UIImage *)image withDoneButtonTitle:(NSString *)done andButtons:(NSArray *)buttons { - - self.attributedTitle = title; - self.attributedSubTitle = subTitle; - [self setAlertViewAttributes:nil withSubtitle:nil withCustomImage:image withDoneButtonTitle:done andButtons:buttons]; - UIWindow *window = [[UIApplication sharedApplication] keyWindow]; - - // Blur Effect - if (_blurBackground && NSClassFromString(@"UIVisualEffectView") != nil) { - UIVisualEffect *blurEffect = [UIBlurEffect effectWithStyle:UIBlurEffectStyleLight]; - backgroundVisualEffectView = [[UIVisualEffectView alloc] initWithEffect:blurEffect]; - backgroundVisualEffectView.frame = window.bounds; - _alertBackground.backgroundColor = [UIColor colorWithWhite:0.0f alpha:0.5]; - [window addSubview:backgroundVisualEffectView]; - } - - // Adding Alert - - [window addSubview:self]; - [window bringSubviewToFront:self]; -} - - -- (void)setAlertViewAttributes:(NSString *)title withSubtitle:(NSString *)subTitle withCustomImage:(UIImage *)image withDoneButtonTitle:(NSString *)done andButtons:(NSArray *)buttons{ - - self.title = title; - self.subTitle = subTitle; - - for (int i = 0; i < buttons.count; i++) { - NSDictionary *btnDict = @{@"title" : [buttons objectAtIndex:i], - @"action" : @0}; - [alertButtons addObject:btnDict]; - } - - _numberOfButtons = alertButtons.count; - doneTitle = done; - - if (!alertViewWithVector) - vectorImage = image; - - // Checks prior to presenting View - - [self checkCustomizationValid]; - [self safetyCloseCheck]; - -} - -#pragma mark - Showing and Hiding AlertView Animations - -- (void) showAlertView { - - id strongDelegate = self.delegate; - - if ([strongDelegate respondsToSelector:@selector(FCAlertViewWillAppear:)]) { - [strongDelegate FCAlertViewWillAppear:self]; - } - - [UIView animateWithDuration:0.3 delay:0.0 options:UIViewAnimationOptionCurveEaseOut animations:^{ - self.alpha = 1; - if (_bounceAnimations) { - if (!_animateAlertInFromTop && !_animateAlertInFromLeft && !_animateAlertInFromRight && !_animateAlertInFromBottom) - alertViewContents.transform = CGAffineTransformMakeScale(0.95, 0.95); - if (_animateAlertInFromTop) - alertViewContents.frame = CGRectMake(alertViewFrame.origin.x, - alertViewFrame.origin.y + 7.5, - alertViewFrame.size.width, - alertViewFrame.size.height); - if (_animateAlertInFromRight) - alertViewContents.frame = CGRectMake(alertViewFrame.origin.x - 7.5, - alertViewFrame.origin.y, - alertViewFrame.size.width, - alertViewFrame.size.height); - if (_animateAlertInFromBottom) - alertViewContents.frame = CGRectMake(alertViewFrame.origin.x, - alertViewFrame.origin.y - 7.5, - alertViewFrame.size.width, - alertViewFrame.size.height); - if (_animateAlertInFromLeft) - alertViewContents.frame = CGRectMake(alertViewFrame.origin.x + 7.5, - alertViewFrame.origin.y, - alertViewFrame.size.width, - alertViewFrame.size.height); - } else { - alertViewContents.transform = CGAffineTransformMakeScale(1.0, 1.0); - alertViewContents.frame = CGRectMake(alertViewFrame.origin.x, - alertViewFrame.origin.y, - alertViewFrame.size.width, - alertViewFrame.size.height); - } - - } completion:^(BOOL finished) { - if (_bounceAnimations) - [UIView animateWithDuration:0.5 delay:0.0 options:UIViewAnimationOptionCurveEaseOut animations:^{ - if (!_animateAlertInFromTop && !_animateAlertInFromLeft && !_animateAlertInFromRight && !_animateAlertInFromBottom) - alertViewContents.transform = CGAffineTransformMakeScale(1.00, 1.00); - alertViewContents.frame = CGRectMake(alertViewFrame.origin.x, - alertViewFrame.origin.y, - alertViewFrame.size.width, - alertViewFrame.size.height); - } completion:nil]; - if (self.autoHideSeconds != 0) { - [self performSelector:@selector(dismissAlertView) withObject:nil afterDelay:self.autoHideSeconds]; - } - }]; - - // Playing Sound for Alert (when there is one) - - [player play]; - -} - -- (void) dismissAlertView { - - [UIView animateWithDuration:0.175 delay:0.0 options:UIViewAnimationOptionCurveEaseOut animations:^{ - - if (!_animateAlertOutToTop && !_animateAlertOutToLeft && !_animateAlertOutToRight && !_animateAlertOutToBottom) { - self.alpha = 0; - backgroundVisualEffectView.alpha = 0; - alertViewContents.transform = CGAffineTransformMakeScale(0.9, 0.9); - } else { - - if (_bounceAnimations) { - if (_animateAlertOutToTop) - alertViewContents.frame = CGRectMake(alertViewFrame.origin.x, - alertViewFrame.origin.y + 7.5, - alertViewFrame.size.width, - alertViewFrame.size.height); - if (_animateAlertOutToRight) - alertViewContents.frame = CGRectMake(alertViewFrame.origin.x - 7.5, - alertViewFrame.origin.y, - alertViewFrame.size.width, - alertViewFrame.size.height); - if (_animateAlertOutToBottom) - alertViewContents.frame = CGRectMake(alertViewFrame.origin.x, - alertViewFrame.origin.y - 7.5, - alertViewFrame.size.width, - alertViewFrame.size.height); - if (_animateAlertOutToLeft) - alertViewContents.frame = CGRectMake(alertViewFrame.origin.x + 7.5, - alertViewFrame.origin.y, - alertViewFrame.size.width, - alertViewFrame.size.height); - } else { - self.alpha = 0; - backgroundVisualEffectView.alpha = 0; - - if (_animateAlertOutToTop) - alertViewContents.frame = CGRectMake(alertViewFrame.origin.x, - 0 - alertViewFrame.size.height - 15, - alertViewFrame.size.width, - alertViewFrame.size.height); - if (_animateAlertOutToRight) - alertViewContents.frame = CGRectMake(self.frame.size.width + alertViewFrame.size.width + 15, - alertViewFrame.origin.y, - alertViewFrame.size.width, - alertViewFrame.size.height); - if (_animateAlertOutToBottom) - alertViewContents.frame = CGRectMake(alertViewFrame.origin.x, - self.frame.size.height + alertViewFrame.size.height + 15, - alertViewFrame.size.width, - alertViewFrame.size.height); - if (_animateAlertOutToLeft) - alertViewContents.frame = CGRectMake(0 - alertViewFrame.size.width - 15, - alertViewFrame.origin.y, - alertViewFrame.size.width, - alertViewFrame.size.height); - } - } - - } completion:^(BOOL finished) { - - if (!_animateAlertOutToTop && !_animateAlertOutToLeft && !_animateAlertOutToRight && !_animateAlertOutToBottom) { - id strongDelegate = self.delegate; - - if ([strongDelegate respondsToSelector:@selector(FCAlertViewDismissed:)]) { - [strongDelegate FCAlertViewDismissed:self]; - } - - [backgroundVisualEffectView removeFromSuperview]; - [self removeFromSuperview]; - } else { - if (_bounceAnimations) { - [UIView animateWithDuration:0.175 delay:0.0 options:UIViewAnimationOptionCurveEaseOut animations:^{ - - self.alpha = 0; - backgroundVisualEffectView.alpha = 0; - - if (_animateAlertOutToTop) - alertViewContents.frame = CGRectMake(alertViewFrame.origin.x, - 0 - alertViewFrame.size.height - 15, - alertViewFrame.size.width, - alertViewFrame.size.height); - if (_animateAlertOutToRight) - alertViewContents.frame = CGRectMake(self.frame.size.width + alertViewFrame.size.width + 15, - alertViewFrame.origin.y, - alertViewFrame.size.width, - alertViewFrame.size.height); - if (_animateAlertOutToBottom) - alertViewContents.frame = CGRectMake(alertViewFrame.origin.x, - self.frame.size.height + alertViewFrame.size.height + 15, - alertViewFrame.size.width, - alertViewFrame.size.height); - if (_animateAlertOutToLeft) - alertViewContents.frame = CGRectMake(0 - alertViewFrame.size.width - 15, - alertViewFrame.origin.y, - alertViewFrame.size.width, - alertViewFrame.size.height); - }completion:^(BOOL finished) { - id strongDelegate = self.delegate; - - if ([strongDelegate respondsToSelector:@selector(FCAlertViewDismissed:)]) { - [strongDelegate FCAlertViewDismissed:self]; - } - - [backgroundVisualEffectView removeFromSuperview]; - [self removeFromSuperview]; - }]; - } else { - id strongDelegate = self.delegate; - - if ([strongDelegate respondsToSelector:@selector(FCAlertViewDismissed:)]) { - [strongDelegate FCAlertViewDismissed:self]; - } - - [backgroundVisualEffectView removeFromSuperview]; - [self removeFromSuperview]; - } - } - - }]; - -} - -#pragma mark - Action Block Methods - -- (void)addButton:(NSString *)title withActionBlock:(FCActionBlock)action { - - if (alertButtons.count < 2) { - if (action != nil) - [alertButtons addObject:@{@"title" : title, - @"action" : action}]; - else - [alertButtons addObject:@{@"title" : title, - @"action" : @0}]; - } - - _numberOfButtons = alertButtons.count; - -} - -- (void)doneActionBlock:(FCActionBlock)action { - - if (action != nil) - self.doneBlock = action; - -} - -#pragma mark - ACTIONS -#pragma mark Button Selection - -- (void)handleButton:(id)sender { - - id strongDelegate = self.delegate; - - // Return Text from TextField to Block - - for (int i = 0; i < alertTextFields.count; i ++) { - - FCTextReturnBlock textReturnBlock = [[alertTextFields objectAtIndex:i] objectForKey:@"action"]; - UITextField *tf = [alertTextFieldHolder objectAtIndex:i]; - if (textReturnBlock) - textReturnBlock(tf.text); - - } - - // Handling Button Block - - UIButton *clickedButton = (UIButton*)sender; - - NSDictionary *btnDict = [alertButtons objectAtIndex:[sender tag]]; - - if (btnDict != nil) { - if ([btnDict objectForKey:@"action"] != nil && ![[btnDict objectForKey:@"action"] isEqual:@0]) { - FCActionBlock block = [btnDict objectForKey:@"action"]; - if (block) - block(); - } - } - - if ([strongDelegate respondsToSelector:@selector(FCAlertView:clickedButtonIndex:buttonTitle:)]) { - [strongDelegate FCAlertView:self clickedButtonIndex:[sender tag] buttonTitle:clickedButton.titleLabel.text]; - } - - // Return Rating from Rating Controller - - if (_ratingBlock) - _ratingBlock(currentRating); - - [self dismissAlertView]; - -} - -#pragma mark - Button Actions - -- (void) btnTouched { - - if (_bounceAnimations) { - - [UIView animateWithDuration:0.15 delay:0.0 options:UIViewAnimationOptionCurveEaseOut animations:^{ - self.alpha = 1; - if (_bounceAnimations) - alertViewContents.transform = CGAffineTransformMakeScale(0.95, 0.95); - }completion:nil]; - - } - -} - -- (void) donePressed { - - id strongDelegate = self.delegate; - - // Return Text from TextField to Block - - for (int i = 0; i < alertTextFields.count; i ++) { - - FCTextReturnBlock textReturnBlock = [[alertTextFields objectAtIndex:i] objectForKey:@"action"]; - UITextField *tf = [alertTextFieldHolder objectAtIndex:i]; - if (textReturnBlock) - textReturnBlock(tf.text); - - } - - // Handling Done Button Block - - if (self.doneBlock) - self.doneBlock(); - - if ([strongDelegate respondsToSelector:@selector(FCAlertDoneButtonClicked:)]) { - [strongDelegate FCAlertDoneButtonClicked:self]; - } - - // Return Rating from Rating Controller - - if (_ratingBlock) - _ratingBlock(currentRating); - - [self dismissAlertView]; - -} - -- (void) btnReleased { - - if (_bounceAnimations) { - - [UIView animateWithDuration:0.25 delay:0.0 options:UIViewAnimationOptionCurveEaseOut animations:^{ - alertViewContents.transform = CGAffineTransformMakeScale(1.05, 1.05); - }completion:^(BOOL finished) { - [UIView animateWithDuration:0.4 delay:0.0 options:UIViewAnimationOptionCurveEaseOut animations:^{ - alertViewContents.transform = CGAffineTransformMakeScale(1.00, 1.00); - }completion:nil]; - }]; - - } - -} - -#pragma mark - TEXT FIELD METHODS -#pragma mark - Text Field Begin Editing - -#pragma mark - Adding Alert TextField Block Method - -- (void)addTextFieldWithPlaceholder:(NSString *)placeholder andTextReturnBlock:(FCTextReturnBlock)textReturn { - - if (textReturn != nil) - [alertTextFields addObject:@{@"placeholder" : placeholder, - @"action" : textReturn}]; - else - [alertTextFields addObject:@{@"placeholder" : placeholder, - @"action" : @0}]; - -} - -- (void)addTextFieldWithCustomTextField:(UITextField *)field andPlaceholder:(NSString *)placeholder andTextReturnBlock:(FCTextReturnBlock)textReturn { - - if (placeholder == nil) - placeholder = @""; - - if (textReturn != nil) - [alertTextFields addObject:@{@"field" : field, - @"placeholder" : placeholder, - @"action" : textReturn}]; - else - [alertTextFields addObject:@{@"field" : field, - @"placeholder" : placeholder, - @"action" : @0}]; - -} - -- (void)textFieldDidBeginEditing:(UITextField *)textField { - - currentAVCFrames = alertViewContents.frame; - - [UIView animateWithDuration:0.30 delay:0.0 options:UIViewAnimationOptionCurveEaseOut animations:^{ - alertViewContents.frame = CGRectMake(currentAVCFrames.origin.x, - currentAVCFrames.origin.y - 80, - currentAVCFrames.size.width, - currentAVCFrames.size.height); - } completion:nil]; - -} - -#pragma mark - Text Field End Editing - -- (void)textFieldDidEndEditing:(UITextField *)textField { - - [UIView animateWithDuration:0.30 delay:0.0 options:UIViewAnimationOptionCurveEaseOut animations:^{ - alertViewContents.frame = CGRectMake(currentAVCFrames.origin.x, - currentAVCFrames.origin.y, - currentAVCFrames.size.width, - currentAVCFrames.size.height); - } completion:nil]; - -} - -#pragma mark - Text Field Returned - -- (BOOL)textFieldShouldReturn:(UITextField *)textField { - - if (textField.tag+1 == alertTextFieldHolder.count) { - [textField endEditing:YES]; - } else { - UITextField *tf = [alertTextFieldHolder objectAtIndex:(textField.tag+1)]; - [tf becomeFirstResponder]; - } - - return TRUE; -} - -#pragma mark - Rating System Trigger Methods - -- (void) rate1Triggered { - if (currentRating != 1) { - currentRating = 1; - [self setActiveRating:currentRating]; - } else { - currentRating = 0; - [self setActiveRating:currentRating]; - } - - if (_bounceAnimations) { - [UIView animateWithDuration:0.2 delay:0.0 options:UIViewAnimationOptionCurveEaseInOut animations:^{ - item1.transform = CGAffineTransformMakeScale(0.9, 0.9); - } completion:^(BOOL finished) { - [UIView animateWithDuration:0.35 delay:0.0 options:UIViewAnimationOptionCurveEaseInOut animations:^{ - item1.transform = CGAffineTransformMakeScale(1.0, 1.0); - } completion:nil]; - }]; - } - -} - -- (void) rate2Triggered { - currentRating = 2; - [self setActiveRating:currentRating]; - - if (_bounceAnimations) { - [UIView animateWithDuration:0.2 delay:0.0 options:UIViewAnimationOptionCurveEaseInOut animations:^{ - item2.transform = CGAffineTransformMakeScale(0.9, 0.9); - } completion:^(BOOL finished) { - [UIView animateWithDuration:0.35 delay:0.0 options:UIViewAnimationOptionCurveEaseInOut animations:^{ - item2.transform = CGAffineTransformMakeScale(1.0, 1.0); - } completion:nil]; - }]; - } -} - -- (void) rate3Triggered { - currentRating = 3; - [self setActiveRating:currentRating]; - - if (_bounceAnimations) { - [UIView animateWithDuration:0.2 delay:0.0 options:UIViewAnimationOptionCurveEaseInOut animations:^{ - item3.transform = CGAffineTransformMakeScale(0.9, 0.9); - } completion:^(BOOL finished) { - [UIView animateWithDuration:0.35 delay:0.0 options:UIViewAnimationOptionCurveEaseInOut animations:^{ - item3.transform = CGAffineTransformMakeScale(1.0, 1.0); - } completion:nil]; - }]; - } -} - -- (void) rate4Triggered { - currentRating = 4; - [self setActiveRating:currentRating]; - - if (_bounceAnimations) { - [UIView animateWithDuration:0.2 delay:0.0 options:UIViewAnimationOptionCurveEaseInOut animations:^{ - item4.transform = CGAffineTransformMakeScale(0.9, 0.9); - } completion:^(BOOL finished) { - [UIView animateWithDuration:0.35 delay:0.0 options:UIViewAnimationOptionCurveEaseInOut animations:^{ - item4.transform = CGAffineTransformMakeScale(1.0, 1.0); - } completion:nil]; - }]; - } -} - -- (void) rate5Triggered { - currentRating = 5; - [self setActiveRating:currentRating]; - - if (_bounceAnimations) { - [UIView animateWithDuration:0.2 delay:0.0 options:UIViewAnimationOptionCurveEaseInOut animations:^{ - item5.transform = CGAffineTransformMakeScale(0.9, 0.9); - } completion:^(BOOL finished) { - [UIView animateWithDuration:0.35 delay:0.0 options:UIViewAnimationOptionCurveEaseInOut animations:^{ - item5.transform = CGAffineTransformMakeScale(1.0, 1.0); - } completion:nil]; - }]; - } -} - -- (void) setActiveRating:(NSInteger)rating { - - item1.tintColor = [UIColor colorWithWhite:228.0f/255.0f alpha:1.0]; - item2.tintColor = [UIColor colorWithWhite:228.0f/255.0f alpha:1.0]; - item3.tintColor = [UIColor colorWithWhite:228.0f/255.0f alpha:1.0]; - item4.tintColor = [UIColor colorWithWhite:228.0f/255.0f alpha:1.0]; - item5.tintColor = [UIColor colorWithWhite:228.0f/255.0f alpha:1.0]; - - if (rating == 1) { - item1.tintColor = self.colorScheme; - } - - if (rating == 2) { - item1.tintColor = self.colorScheme; - item2.tintColor = self.colorScheme; - } - - if (rating == 3) { - item1.tintColor = self.colorScheme; - item2.tintColor = self.colorScheme; - item3.tintColor = self.colorScheme; - } - - if (rating == 4) { - item1.tintColor = self.colorScheme; - item2.tintColor = self.colorScheme; - item3.tintColor = self.colorScheme; - item4.tintColor = self.colorScheme; - } - - if (rating == 5) { - item1.tintColor = self.colorScheme; - item2.tintColor = self.colorScheme; - item3.tintColor = self.colorScheme; - item4.tintColor = self.colorScheme; - item5.tintColor = self.colorScheme; - } - -} - -@end diff --git a/Example/Pods/FCAlertView/LICENSE b/Example/Pods/FCAlertView/LICENSE deleted file mode 100644 index e9a1a96..0000000 --- a/Example/Pods/FCAlertView/LICENSE +++ /dev/null @@ -1,19 +0,0 @@ -Copyright (c) 2016 Nima Tahami - -Permission is hereby granted, free of charge, to any person obtaining a copy -of this software and associated documentation files (the "Software"), to deal -in the Software without restriction, including without limitation the rights -to use, copy, modify, merge, publish, distribute, sublicense, and/or sell -copies of the Software, and to permit persons to whom the Software is -furnished to do so, subject to the following conditions: - -The above copyright notice and this permission notice shall be included in -all copies or substantial portions of the Software. - -THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND, EXPRESS OR -IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF MERCHANTABILITY, -FITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT. IN NO EVENT SHALL THE -AUTHORS OR COPYRIGHT HOLDERS BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER -LIABILITY, WHETHER IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING FROM, -OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN -THE SOFTWARE. diff --git a/Example/Pods/FCAlertView/README.md b/Example/Pods/FCAlertView/README.md deleted file mode 100644 index 97692f7..0000000 --- a/Example/Pods/FCAlertView/README.md +++ /dev/null @@ -1,565 +0,0 @@ -FCAlertView -============ - -FCAlertView is a Flat Customizable AlertView, written in Objective C - -[![CI Status](http://img.shields.io/travis/Nima Tahami/FCAlertView.svg?style=flat)](https://travis-ci.org/Nima Tahami/FCAlertView) -[![Version](https://img.shields.io/cocoapods/v/FCAlertView.svg?style=flat)](http://cocoapods.org/pods/FCAlertView) -[![License](https://img.shields.io/cocoapods/l/FCAlertView.svg?style=flat)](http://cocoapods.org/pods/FCAlertView) -[![Platform](https://img.shields.io/cocoapods/p/FCAlertView.svg?style=flat)](http://cocoapods.org/pods/FCAlertView) - -![Logo](https://github.com/nimati/FCAlertView/blob/master/Images/ScreenShots/RepoLogo2.png) - -![BackgroundImage](https://github.com/nimati/FCAlertView/blob/master/Images/ScreenShots/ScreenShot.png) -![BackgroundImage](https://github.com/nimati/FCAlertView/blob/master/Images/ScreenShots/ScreenShot2.png) -![BackgroundImage](https://github.com/nimati/FCAlertView/blob/master/Images/ScreenShots/ScreenShot3.png) -![BackgroundImage](https://github.com/nimati/FCAlertView/blob/master/Images/ScreenShots/ScreenShot4.png) -![BackgroundImage](https://github.com/nimati/FCAlertView/blob/master/Images/ScreenShots/ScreenShot5.png) -![BackgroundImage](https://github.com/nimati/FCAlertView/blob/master/Images/ScreenShots/ScreenShot6.png) - -## Quick Links - -[1. Swift](https://github.com/nimati/FCAlertView#swift)
-[2. Installation](https://github.com/nimati/FCAlertView#installation)
-[3. Example App](https://github.com/nimati/FCAlertView#example)
-[4. Adding FCAlertView](https://github.com/nimati/FCAlertView#adding-fcalertview)
-[5. Base Customizations](https://github.com/nimati/FCAlertView#base-customizations)
-[6. Extra Customizations](https://github.com/nimati/FCAlertView#extra-customizations)
-[7. New Customizations (after V1.1.0)](https://github.com/nimati/FCAlertView#new-customizations-after-v110)
-[8. Animations](https://github.com/nimati/FCAlertView#animations)
-[9. Adding TextFields](https://github.com/nimati/FCAlertView#adding-textfields)
-[10. Button Actions](https://github.com/nimati/FCAlertView#button-actions)
-[11. Other Helper Methods](https://github.com/nimati/FCAlertView#other-helper-methods)
- -##Swift - -For the swift version of FCAlertView, [Click Here](https://github.com/k9101/FCAlertView). Credits to [Kris Penney](https://github.com/k9101) for writing the swift library. - -##Installation - -### Using CocoaPods - -FCAlertView is available through [CocoaPods](http://cocoapods.org). To install -it, simply add the following line to your Podfile: - -```ruby -pod 'FCAlertView' -``` - -### Manually - -Clone or Download this Repo. Then simply drag the folder ```FCAlertView``` to your Xcode project. Please make sure to drag the whole folder, which includes assets needed for some alert types. - -## Example - -FCAlertView comes with an example app that you can use to try out all of the customizations below. It's recommended that you go through all of the docs before using the example app. To use the example app, clone or download FCAlertView, open and run ```Example/FCAlertView.xcworkspace```. - -## Adding FCAlertView - -Start by adding the following to your desired View Controller: - -```Objective-C -#import "FCAlertView.h" -``` - -### Presenting an FCAlertView - -```Objective-C -FCAlertView *alert = [[FCAlertView alloc] init]; - -[alert showAlertInView:self - withTitle:@"Alert Title" - withSubtitle:@"This is your alert's subtitle. Keep it short and concise. 😜👌" - withCustomImage:nil - withDoneButtonTitle:nil - andButtons:nil]; - -``` - -### Showing Options - -You can also present your FCAlertView using the following: - -#### By Selecting a specific UIWindow - -```Objective-C -[alert showAlertInWidnow:self.view.window - withTitle:@"Alert Title" - withSubtitle:@"This is your alert's subtitle. Keep it short and concise. 😜👌" - withCustomImage:nil - withDoneButtonTitle:nil - andButtons:nil]; -``` - -#### Using UIApplication Window - -This method will also bring your alert to the front so that keyboard or any other element don't cover it. - -```Objective-C -[alert showAlertWithTitle:@"Alert Title" - withSubtitle:@"This is your alert's subtitle. Keep it short and concise. 😜👌" - withCustomImage:nil - withDoneButtonTitle:nil - andButtons:nil]; -``` - -## Base Customizations - -- **Title (NSString):** You can leave the Title as ```nil``` or Give it an ```NSString```. - -- **Subtitle (NSString):** FCAlertView always requires a subtitle, even if you want just a few words, add it here instead of the title (then leave the title as nil). *Take a look at [this screenshot for an example](https://github.com/nimati/FCAlertView/blob/master/Images/ScreenShots/ScreenShot2.png)*. - -- **CustomImage (UIImage):** You can leave this image as ```nil``` or Give it a ```UIImage``` which will show at the top of the alert. *Take a look at [this screenshot for an example](https://github.com/nimati/FCAlertView/blob/master/Images/ScreenShots/ScreenShot4.png) for an example*. - -- **DoneButtonTitle (NSString):** You can leave this as ```nil``` to show "Ok" as the dismiss button for the AlertView, or Give it an ```NSString```. - -- **Buttons (NSArray of NSStrings):** If you want to add buttons to your alert, simply add an array of 1 or 2 button titles as ```NSString``` here, anything more will be ignored as 2 is the max custom buttons you can add (aside from the done button). Read more about buttons and actions further down. - -### Adding Buttons With Action Blocks - -Alternatively, you can add buttons to FCAlertView with action block like so: - -```Objective-C -[alert addButton:@"Button" withActionBlock:^{ - // Put your action here -}]; -``` - -### Action Block for Done Button - -```Objective-C -[alert doneActionBlock:^{ - // Put your action here -}]; -``` - -## Extra Customizations - -This section includes all the tiny details that you can customize your alert with, which makes FCAlertView very customizable. Or leave it as is and enjoy the simplicity. - -### Color Scheme - -By default, FCAlertView doesn't include a color scheme, much like UIAlertView, but you can add one by adding this line: - -```Objective-C -alert.colorScheme = [UIColor colorWithRed:150.0f/255.0f green:150.0f/255.0f blue:150.0f/255.0f alpha:1.0]; -``` - -If you add a custom image to your alert, it will be tinted with the color scheme by default. To keep this from happening, add this: - -```Objective-C -alert.avoidCustomImageTint = YES; // Off by default -``` - -FCAlertView also comes with a set of pre-made colors that you can use: - -![alt text](https://github.com/nimati/FCAlertView/blob/master/Images/FlatColors.png?raw=true "Flat Colors") - -#####*Credit goes to [flatuicolors.com](http://flatuicolors.com) for the Beautiful Palette of Flat Colors* - -Simply choose the color you'd like to use for your AlertView, and add: - -```Objective-C -alert.colorScheme = alert.flatBlue; // Replace "Blue" with your preferred color from the image above -``` - -#### Dark Mode - -Use this line to apply a beautiful dark theme to your FCAlert: - -```Objective-C -alert.darkTheme = YES; -``` - -#### Title and Subtitle Styling - -Change Title Color by Adding - -```Objective-C -alert.titleColor = alertView.flatPurple; -``` - -Change SubTitle Color by Adding - -```Objective-C -alert.subTitleColor = alertView.flatBlue; -``` - -Change Title Font by Adding - -```Objective-C -alert.titleFont = [UIFont fontWithName:@"Avenir" size:30.0]; -``` -Change SubTitle Font by Adding - -```Objective-C -alert.subtitleFont = [UIFont fontWithName:@"Avenir" size:15.0]; -``` - -You can also use Attributed text in the title or the subtitle! - -```Objective-C -NSString *text = @"My Alert Title"; - -NSDictionary *attrib = @{ - NSForegroundColorAttributeName: [UIColor blackColor], - NSFontAttributeName: [UIFont systemFontOfSize:18.0 weight:UIFontWeightRegular] - }; -NSMutableAttributedString *str = [[NSMutableAttributedString alloc] initWithString:text attributes:attrib]; - -NSRange nameRange = [text rangeOfString:@"Title"]; -UIFont *italics = [UIFont systemFontOfSize:18.0 weight:UIFontWeightHeavy]; -[str setAttributes:@{NSFontAttributeName:italics} range:nameRange]; -// Use the string as a title! -[alert showAlertWithAttributedTitle:str withSubtitle:@"This is my subtitle!" withCustomImage:_alertImage withDoneButtonTitle:nil andButtons:self.arrayOfButtonTitles]; -// Or use it as a subtitle! -[alert showAlertWithTitle:@"My Title" withAttributedSubtitle:str withCustomImage:_alertImage withDoneButtonTitle:nil andButtons:self.arrayOfButtonTitles]; -// Or use it as both! -[alert showAlertWithAttributedTitle:str withAttributedSubtitle:str withCustomImage:_alertImage withDoneButtonTitle:nil andButtons:self.arrayOfButtonTitles]; -``` - -#### Button Colors - -Change Title Color of Buttons - -```Objective-C -alert.firstButtonTitleColor = [UIColor blueColor]; -alert.secondButtonTitleColor = [UIColor blueColor]; -``` - -Change Background Color of Buttons - -```Objective-C -alert.firstButtonBackgroundColor = [UIColor whiteColor]; -alert.secondButtonBackgroundColor = [UIColor blackColor]; -``` - -### Rounded Corners - -Change the Rounding of the FCAlertView's corners as desired using: - -```Objective-C -alert.cornerRadius = 4; // Replace 4 with your desired corner radius amount (Set to 0.1 if you don't want rounding) - -``` - -### Alert Types - -FCAlertView comes with 6 pre-designed alert types: Success, Caution, Warning, Progress, Rating with Hearts, or Rating with Stars, simply add the one line after initializing FCAlertView. - -#### Success - -```Objective-C -[alert makeAlertTypeSuccess]; -``` - -#### Caution - -```Objective-C -[alert makeAlertTypeCaution]; -``` - -#### Warning - -```Objective-C -[alert makeAlertTypeWarning]; -``` - -#### Progress - -```Objective-C -[alert makeAlertTypeProgress]; -``` - -#### Rating with Hearts - -Turns your alert into a rating alert to allow users to rate using hearts. - -```Objective-C -[alert makeAlertTypeRateHearts:^(NSInteger rating) { - NSLog(@"Your Hearts Rating: %ld", (long)rating); // Use the Rating as you'd like -}]; -``` - -#### Rating with Stars - -Turns your alert into a rating alert to allow users to rate using stars. - -```Objective-C -[alert makeAlertTypeRateStars:^(NSInteger rating) { - NSLog(@"Your Stars Rating: %ld", (long)rating); // Use the Rating as you'd like -}]; -``` - -### Dismissing FCAlertView - -There are multiple ways you can dismiss an FCAlertView - -#### Close on Outside Touch - -When the user taps anywhere outside the alert, you can dismiss it by adding this line: - -```Objective-C -alert.dismissOnOutsideTouch = YES; -``` - -#### Auto-Close the Alert - -Dismiss the AlertView when a certain time has elapsed after the AlertView is presented, by adding this line: - -```Objective-C -alert.autoHideSeconds = 5; // Replace 5 with the number of Seconds you'd like the view to appear for before dismissing itself -``` - -#### Done Button or Any Custom Buttons - -All Buttons including the Done/Dismiss Button will make the FCAlertView dismiss. - -#### Dismissing it yourself - -If you'd like to dismiss the AlertView yourself, simply add the following line to where you need it: - -```Objective-C -[alert dismissAlertView]; -``` - -### Hiding Done/Dismiss Button - -If you'd like to have no buttons on your AlertView (to simply display a notification or approval of something) or you want all your buttons to be a custom one which you've added yourself. Simply hide the Done buttons by adding this line: - -```Objective-C -alert.hideDoneButton = YES; -``` - -### Hiding All Buttons - -If you'd like to simply hide all buttons from your alert, you can do so by adding this line: - -```Objective-C -alert.hideAllButtons = YES; -``` - -Please note that hiding Done/Dismiss Button and/or Hiding All Buttons would trigger a safety close mechanism by forcing Close on Outside Touch to stay ON. - -## New Customizations (after V1.1.0) - -### Blur Background - -Simply adds a blur to the background of the window/view behind the alertview: - -```Objective-C -alert.blurBackground = YES; -``` - -### Round Buttons - -If you prefer the buttons to be detached from the box of the alert and look more round, use: - -```Objective-C -alert.detachButtons = YES; -``` - -### Full Circle Custom Image - -If you prefer the custom image for you alert to be full width of the image circle, use: - -```Objective-C -alert.fullCircleCustomImage = YES; -``` - -### Custom Image Scaling - -If you prefer the custom image for you alert to be scaled up or down to a certain size, use: - -```Objective-C -alert.customImageScale = 1.5; // Change 1.5 to how big or small you want to scale your custom alert image ranged from 0 to 2 -``` - -### Hiding Separator Lines - -To hide the separator lines that appear between the done and custom buttons of the alert, add: - -```Objective-C -alert.hideSeparatorLineView = YES; -``` - -### Sounds - -Add the following line to play an audio when the alert opens, simply pass it the name of your audiofile: - -```Objective-C -[alert setAlertSoundWithFileName:@"Ding.mp3"]; -``` - -**Note:** Add these Frameworks to your project for this to work: ```AVFoundation``` and ```AudioToolbox```. - -## Animations - -### Bounce/Natural Animations - -Adds more natural animations to the alertview, such as reactive bounce buttons and more. Add this line: - -```Objective-C -alert.bounceAnimations = YES; -``` - -### Animating Alert Into View - -Have the alert animate in from different directions when presented, instead of the default appear animation. - -```Objective-C -alert.animateAlertInFromTop = YES; // Change "Top" to "Bottom", "Left", or "Right" as you desire -``` - -### Animating Alert Out of View - -Have the alert animate out to different directions when dismissed, instead of the default disappear animation. - -```Objective-C -alert.animateAlertOutToTop = YES; // Change "Top" to "Bottom", "Left", or "Right" as you desire -``` - -## Adding TextFields - -Simply add a single textfield to your alert, by adding this line and get the returned text when any of the AlertView's buttons are pressed: - -```Objective-C -[alert addTextFieldWithPlaceholder:@"Email Address" andTextReturnBlock:^(NSString *text) { - NSLog(@"The Email Address is: %@", text); // Do what you'd like with the text returned from the field -}]; -``` - -## Button Actions - -To add methods for detecting actions on your buttons, do the following: - -First add ```FCAlertViewDelegate``` to your View Controller's ```@interface``` as such: - -```Objective-C -#import -#import "FCAlertView.h" - -@interface ViewController : UIViewController - -@end -``` - -Now add your FCAlertView with Buttons where you need to present it: - -```Objective-C - FCAlertView *alert = [[FCAlertView alloc] init]; - - alert.delegate = self; - - [alert showAlertInView:self - withTitle:@"Alert Title" - withSubtitle:@"This is your alert's subtitle. Keep it short and concise. 😜👌" - withCustomImage:nil - withDoneButtonTitle:nil - andButtons:@[@"Button 1", @"Button 2"]]; // Set your button titles here - -``` - -After adding your FCAlertView, you can detect button touches by adding this method to your class: - -```Objective-C -- (void) FCAlertView:(FCAlertView *)alertView clickedButtonIndex:(NSInteger)index buttonTitle:(NSString *)title { - if ([title isEqualToString:@"Button 1"]) { // Change "Button 1" to the title of your first button - // Perform Action for Button 1 - } - - if ([title isEqualToString:@"Button 2"]) { - // Perform Action for Button 2 - } -} -``` - -#### Done Button Method - -If you'd also like to detect button touch for the Done/Dismiss button, simply add this method to your class: - -```Objective-C -- (void)FCAlertDoneButtonClicked:(FCAlertView *)alertView { - // Done Button was Pressed, Perform the Action you'd like here. -} -``` - -## Other Helper Methods - -Make sure to add ```FCAlertViewDelegate``` to your View Controller's ```@interface``` as such: - -```Objective-C -#import -#import "FCAlertView.h" - -@interface ViewController : UIViewController - -@end -``` - -and setting the delegate of your FCAlertView, as such: - -```Objective-C - FCAlertView *alert = [[FCAlertView alloc] init]; - alert.delegate = self; -``` - -### Detect when FCAlertView has been dismissed - -```Objective-C -- (void)FCAlertViewDismissed:(FCAlertView *)alertView { - // Your FCAlertView was Dismissed, Perform the Action you'd like here. -} -``` - -### Detect when FCAlertView is about to present - -```Objective-C -- (void)FCAlertViewWillAppear:(FCAlertView *)alertView { - // Your FCAlertView will be Presented, Perform the Action you'd like here. -} -``` - -## Future Customizations - -FCAlertView is an ongoing project with the goal of becoming the most used custom AlertView for iOS. Improvements and changes are on the way, and here are some of the things that are coming soon with it: - -- Swift Friendly ✓ -- Adding TextFields ✓ -- Blur Background ✓ -- Frame Customizations ✓ -- Alert Sounds ✓ -- Landscape Orientation ✓ -- More Custom Animations ✓ -- More Types of Alerts (including Progress Types) ✓ -- iPad Friendly Alerts (tested on all devices) ✓ -- Improved Button Highlighting and Customizations ✓ -- Something Missing? Create a pull request or issue with your suggestion. - -About FCAlertView ------------------ - -FCAlertView is a fully customizable and beautifully designed AlertView. I designed FCAlertView because I've always wanted to have access to change the different attributes of the default UIAlertView. In terms of design, FCAlertView looks similar to the default AlertView, however, as you start customizing it for your specific need, you realize it can do a lot more while looking flat and sharp. - -FCAlertView lets you do things such as specify the number of buttons, the color scheme of the view, adding a small image to it, hide the view after a certain time, and more. A full description of how to customize FCAlertView to fit your alert can be found on http://github.com/nimati/FCAlertView. - -The Vision for FC Libraries ---------------------------- - -My goal is to create a set of different libraries, each targetting a certain UI element of iOS, with the goal to improve the design and add more customizations. As such, FCAlertView is a more Flat/Customizable AlertView. With this mindset, I'd like to create more FC libraries, such as FCActionSheet, FCNotification (for quick, in app alerts), FCPopoverView, FCGuideView (for guiding your users around your app). If you also have a suggestion for an FC Library, please open an issue and tell me about it. - -Ultimately, FCLibraries is here to improve the look and feel of your app for your end users. So all improvements and suggestions are welcome. - -Cheers 🍻 - -### Author - -Created and designed by [Nima Tahami](http://nimatahami.com). - -Credits for the Beautiful Color Palette goes to [flatuicolors.com](http://flatuicolors.com). - -Credit for the Beautiful Icons go to [ionicons.com](http://ionicons.com). - -### License - -FCAlertView is available under the MIT license. See the LICENSE file for more info. diff --git a/Example/Pods/Local Podspecs/FCAlertView.podspec.json b/Example/Pods/Local Podspecs/FCAlertView.podspec.json deleted file mode 100644 index d7b4892..0000000 --- a/Example/Pods/Local Podspecs/FCAlertView.podspec.json +++ /dev/null @@ -1,22 +0,0 @@ -{ - "name": "FCAlertView", - "version": "0.0.9", - "summary": "FCAlertView is a Flat Customizable AlertView", - "description": "FCAlertView is a fully customizable and beautifully designed AlertView. I designed FCAlertView beacuse I've always wanted to have access to change the different attributes of the default AlertView. Design wise, FCAlertView is similar looking to the default AlertView, however, as you start customizing it for your specific need, you realize it can do a lot more and look very flat and nice. FCAlertView lets you do things such as specify the number of buttons, the color scheme of the view, adding a small image to it, hide the view after a certain time, and more. A full description of how to customize FCAlertView to fit your alert can be found on http://github.com/nimati/FCAlertView", - "homepage": "https://github.com/nimati/FCAlertView", - "license": { - "type": "MIT", - "file": "LICENSE" - }, - "authors": { - "Nima Tahami": "nimat6462@yahoo.ca" - }, - "source": { - "git": "https://github.com/nimati/FCAlertView.git", - "tag": "0.1.0" - }, - "platforms": { - "ios": "8.0" - }, - "source_files": "FCAlertView/Classes/**/*" -} diff --git a/Example/Pods/Manifest.lock b/Example/Pods/Manifest.lock deleted file mode 100644 index 712fc40..0000000 --- a/Example/Pods/Manifest.lock +++ /dev/null @@ -1,12 +0,0 @@ -PODS: - - FCAlertView (1.3) - -DEPENDENCIES: - - FCAlertView - -SPEC CHECKSUMS: - FCAlertView: 48cbcefc9f99875f2a537b00609e8160f86d5baa - -PODFILE CHECKSUM: 9d236f92b2f11b4566438457558132c2f5918dc4 - -COCOAPODS: 1.2.0.beta.3 diff --git a/Example/Pods/Pods.xcodeproj/project.pbxproj b/Example/Pods/Pods.xcodeproj/project.pbxproj deleted file mode 100644 index 1b07f70..0000000 --- a/Example/Pods/Pods.xcodeproj/project.pbxproj +++ /dev/null @@ -1,830 +0,0 @@ -// !$*UTF8*$! -{ - archiveVersion = 1; - classes = { - }; - objectVersion = 46; - objects = { - -/* Begin PBXBuildFile section */ - 20BAB5D59DF7BD045F079334AAA64ACA /* FCAlertView.h in Headers */ = {isa = PBXBuildFile; fileRef = B2CEB2A113153EDC7996FFCBC3BAA339 /* FCAlertView.h */; settings = {ATTRIBUTES = (Public, ); }; }; - 2C9318D996236EC35AF4D0D440A2311A /* Foundation.framework in Frameworks */ = {isa = PBXBuildFile; fileRef = CBB3DE36805AF21409EC968A9691732F /* Foundation.framework */; }; - 2F3EDA93641DBE32FEFDF36463D3AD67 /* Foundation.framework in Frameworks */ = {isa = PBXBuildFile; fileRef = CBB3DE36805AF21409EC968A9691732F /* Foundation.framework */; }; - 316318B494ADE8FEADE852B4BCB84596 /* Pods-FCAlertView_Example-dummy.m in Sources */ = {isa = PBXBuildFile; fileRef = CDEB6B647BE0269C181D2F8F8831CA64 /* Pods-FCAlertView_Example-dummy.m */; }; - 5659316602600A4062EDF8AA96DB4544 /* alert-round.png in Resources */ = {isa = PBXBuildFile; fileRef = AA33CB5540B3BD0D0B3D764BAEC46F8A /* alert-round.png */; }; - 620FEACDDBE4B3929A5736071B0D06F2 /* checkmark-round.png in Resources */ = {isa = PBXBuildFile; fileRef = A0872A4D6BB14B794A0E33956DEDEC5A /* checkmark-round.png */; }; - 6F036EDB3C6F4D77407B93978853D66A /* FCAlertView-umbrella.h in Headers */ = {isa = PBXBuildFile; fileRef = E2D50E490DD7B9DAA41C30D8257417E8 /* FCAlertView-umbrella.h */; settings = {ATTRIBUTES = (Public, ); }; }; - 7DCA0EB4722A52B2584A2B14D3525DDD /* Pods-FCAlertView_Example-umbrella.h in Headers */ = {isa = PBXBuildFile; fileRef = D95D29ECAC147E0E23E69A1A88AC03DC /* Pods-FCAlertView_Example-umbrella.h */; settings = {ATTRIBUTES = (Public, ); }; }; - 82CD4C9C56D28B0A759AC4E8250B903F /* FCAlertView.bundle in Resources */ = {isa = PBXBuildFile; fileRef = A152DB51EEEB3091759892581A0B14FC /* FCAlertView.bundle */; }; - 8CAE2E96BE9DAEDF420FB328CB2C30F4 /* FCAlertView.m in Sources */ = {isa = PBXBuildFile; fileRef = 163B372A8C7CEF335920AFDBAF8BB6E8 /* FCAlertView.m */; }; - 8EAD8DC87EFE35C7E714FBD936B98EDA /* FCAlertView-dummy.m in Sources */ = {isa = PBXBuildFile; fileRef = 32ED87A89C543E1BB4B295451BC47460 /* FCAlertView-dummy.m */; }; - 9C05669320CE59568F8D32BCF2B5AE35 /* close-round.png in Resources */ = {isa = PBXBuildFile; fileRef = 61A9871074F9B01224AF3F532F62A28F /* close-round.png */; }; - A94BC9BDFCC342D90417746BD9CAC7BD /* heart.png in Resources */ = {isa = PBXBuildFile; fileRef = CCB3A79618AB7EEFE1AD77C6C65024AC /* heart.png */; }; - C89E51AB4872BFCCC8E6E646EBF217E7 /* Pods-FCAlertView_Tests-umbrella.h in Headers */ = {isa = PBXBuildFile; fileRef = 41A8F02FB2F6ACCA7DEE48931012C27D /* Pods-FCAlertView_Tests-umbrella.h */; settings = {ATTRIBUTES = (Public, ); }; }; - D3B04FB5665A5732C78BF0514AABFAB7 /* star.png in Resources */ = {isa = PBXBuildFile; fileRef = 26C84E72C39B7C8141726594FF8B477E /* star.png */; }; - E9CE4A0129C00733C1D6FE9C28C3A6B4 /* Foundation.framework in Frameworks */ = {isa = PBXBuildFile; fileRef = CBB3DE36805AF21409EC968A9691732F /* Foundation.framework */; }; - EAE46CF4ADBD426B436B2A593B0F441E /* Pods-FCAlertView_Tests-dummy.m in Sources */ = {isa = PBXBuildFile; fileRef = 611C721888A341842BE5533987141652 /* Pods-FCAlertView_Tests-dummy.m */; }; -/* End PBXBuildFile section */ - -/* Begin PBXContainerItemProxy section */ - 32932EDC3FAA8184B9EDDDBBCA1BCF5D /* PBXContainerItemProxy */ = { - isa = PBXContainerItemProxy; - containerPortal = D41D8CD98F00B204E9800998ECF8427E /* Project object */; - proxyType = 1; - remoteGlobalIDString = 1613271357771814C71601D90B787D94; - remoteInfo = "FCAlertView-FCAlertView"; - }; - 98197F87B3D0297FA87CDD284CF5E376 /* PBXContainerItemProxy */ = { - isa = PBXContainerItemProxy; - containerPortal = D41D8CD98F00B204E9800998ECF8427E /* Project object */; - proxyType = 1; - remoteGlobalIDString = EF1ABE20DAA23760FBF0359740C1F0B9; - remoteInfo = FCAlertView; - }; -/* End PBXContainerItemProxy section */ - -/* Begin PBXFileReference section */ - 08F6D2B6F96ADEA93991993695A7CEAD /* Pods-FCAlertView_Tests-resources.sh */ = {isa = PBXFileReference; includeInIndex = 1; lastKnownFileType = text.script.sh; path = "Pods-FCAlertView_Tests-resources.sh"; sourceTree = ""; }; - 0B92E124B99240D45741659D5CAE0B4B /* Pods-FCAlertView_Example-acknowledgements.plist */ = {isa = PBXFileReference; includeInIndex = 1; lastKnownFileType = text.plist.xml; path = "Pods-FCAlertView_Example-acknowledgements.plist"; sourceTree = ""; }; - 163B372A8C7CEF335920AFDBAF8BB6E8 /* FCAlertView.m */ = {isa = PBXFileReference; includeInIndex = 1; lastKnownFileType = sourcecode.c.objc; name = FCAlertView.m; path = FCAlertView/Classes/FCAlertView.m; sourceTree = ""; }; - 1C50ACFBC3512D286ED9F16A8A9C5C43 /* Pods-FCAlertView_Tests.modulemap */ = {isa = PBXFileReference; includeInIndex = 1; path = "Pods-FCAlertView_Tests.modulemap"; sourceTree = ""; }; - 265E0A616E04F91972A8CD2566C1DC93 /* Pods_FCAlertView_Example.framework */ = {isa = PBXFileReference; explicitFileType = wrapper.framework; includeInIndex = 0; name = Pods_FCAlertView_Example.framework; path = "Pods-FCAlertView_Example.framework"; sourceTree = BUILT_PRODUCTS_DIR; }; - 26C84E72C39B7C8141726594FF8B477E /* star.png */ = {isa = PBXFileReference; includeInIndex = 1; name = star.png; path = FCAlertView/Assets/star.png; sourceTree = ""; }; - 2EA3A1A89026B910FDEB1B146CABAB3C /* Pods-FCAlertView_Tests-acknowledgements.plist */ = {isa = PBXFileReference; includeInIndex = 1; lastKnownFileType = text.plist.xml; path = "Pods-FCAlertView_Tests-acknowledgements.plist"; sourceTree = ""; }; - 32ED87A89C543E1BB4B295451BC47460 /* FCAlertView-dummy.m */ = {isa = PBXFileReference; includeInIndex = 1; lastKnownFileType = sourcecode.c.objc; path = "FCAlertView-dummy.m"; sourceTree = ""; }; - 398F88D5DEE81F449D1C6E77875CF98A /* Pods-FCAlertView_Example-resources.sh */ = {isa = PBXFileReference; includeInIndex = 1; lastKnownFileType = text.script.sh; path = "Pods-FCAlertView_Example-resources.sh"; sourceTree = ""; }; - 41A8F02FB2F6ACCA7DEE48931012C27D /* Pods-FCAlertView_Tests-umbrella.h */ = {isa = PBXFileReference; includeInIndex = 1; lastKnownFileType = sourcecode.c.h; path = "Pods-FCAlertView_Tests-umbrella.h"; sourceTree = ""; }; - 4C31D5AC0965C827B99B817ED68F9DEA /* Pods-FCAlertView_Tests.release.xcconfig */ = {isa = PBXFileReference; includeInIndex = 1; lastKnownFileType = text.xcconfig; path = "Pods-FCAlertView_Tests.release.xcconfig"; sourceTree = ""; }; - 4ED6C93DC0911243662AB9037F22F832 /* Pods-FCAlertView_Tests-acknowledgements.markdown */ = {isa = PBXFileReference; includeInIndex = 1; lastKnownFileType = text; path = "Pods-FCAlertView_Tests-acknowledgements.markdown"; sourceTree = ""; }; - 54A24BC4BF5563C980FF700585485CFD /* FCAlertView.modulemap */ = {isa = PBXFileReference; includeInIndex = 1; path = FCAlertView.modulemap; sourceTree = ""; }; - 611C721888A341842BE5533987141652 /* Pods-FCAlertView_Tests-dummy.m */ = {isa = PBXFileReference; includeInIndex = 1; lastKnownFileType = sourcecode.c.objc; path = "Pods-FCAlertView_Tests-dummy.m"; sourceTree = ""; }; - 61A9871074F9B01224AF3F532F62A28F /* close-round.png */ = {isa = PBXFileReference; includeInIndex = 1; name = "close-round.png"; path = "FCAlertView/Assets/close-round.png"; sourceTree = ""; }; - 6272F7F457D48EE9CE775FFFBD96086C /* FCAlertView-prefix.pch */ = {isa = PBXFileReference; includeInIndex = 1; lastKnownFileType = sourcecode.c.h; path = "FCAlertView-prefix.pch"; sourceTree = ""; }; - 6418EDD8424066F92057B3552A561D88 /* FCAlertView.framework */ = {isa = PBXFileReference; explicitFileType = wrapper.framework; includeInIndex = 0; name = FCAlertView.framework; path = FCAlertView.framework; sourceTree = BUILT_PRODUCTS_DIR; }; - 786CF53AE0699DF9FC5EE90E0F778B6B /* Info.plist */ = {isa = PBXFileReference; includeInIndex = 1; lastKnownFileType = text.plist.xml; path = Info.plist; sourceTree = ""; }; - 798F1404F027EFF34C91E173CFBF6D1C /* Info.plist */ = {isa = PBXFileReference; includeInIndex = 1; lastKnownFileType = text.plist.xml; path = Info.plist; sourceTree = ""; }; - 79D33A236D3BAF34170780DFC20A653F /* FCAlertView.xcconfig */ = {isa = PBXFileReference; includeInIndex = 1; lastKnownFileType = text.xcconfig; path = FCAlertView.xcconfig; sourceTree = ""; }; - 7D06C75E1105F27E611DB1FA7E883417 /* Pods-FCAlertView_Example-frameworks.sh */ = {isa = PBXFileReference; includeInIndex = 1; lastKnownFileType = text.script.sh; path = "Pods-FCAlertView_Example-frameworks.sh"; sourceTree = ""; }; - 92DFA92589298DC7C5689B6D9309E0FD /* Pods-FCAlertView_Tests-frameworks.sh */ = {isa = PBXFileReference; includeInIndex = 1; lastKnownFileType = text.script.sh; path = "Pods-FCAlertView_Tests-frameworks.sh"; sourceTree = ""; }; - 933AFE4B0760F924E8FFE80F872DA5AA /* Pods-FCAlertView_Tests.debug.xcconfig */ = {isa = PBXFileReference; includeInIndex = 1; lastKnownFileType = text.xcconfig; path = "Pods-FCAlertView_Tests.debug.xcconfig"; sourceTree = ""; }; - 93A4A3777CF96A4AAC1D13BA6DCCEA73 /* Podfile */ = {isa = PBXFileReference; explicitFileType = text.script.ruby; includeInIndex = 1; lastKnownFileType = text; name = Podfile; path = ../Podfile; sourceTree = SOURCE_ROOT; xcLanguageSpecificationIdentifier = xcode.lang.ruby; }; - A0872A4D6BB14B794A0E33956DEDEC5A /* checkmark-round.png */ = {isa = PBXFileReference; includeInIndex = 1; name = "checkmark-round.png"; path = "FCAlertView/Assets/checkmark-round.png"; sourceTree = ""; }; - A152DB51EEEB3091759892581A0B14FC /* FCAlertView.bundle */ = {isa = PBXFileReference; explicitFileType = wrapper.cfbundle; includeInIndex = 0; name = FCAlertView.bundle; path = FCAlertView.bundle; sourceTree = BUILT_PRODUCTS_DIR; }; - AA33CB5540B3BD0D0B3D764BAEC46F8A /* alert-round.png */ = {isa = PBXFileReference; includeInIndex = 1; name = "alert-round.png"; path = "FCAlertView/Assets/alert-round.png"; sourceTree = ""; }; - B2CEB2A113153EDC7996FFCBC3BAA339 /* FCAlertView.h */ = {isa = PBXFileReference; includeInIndex = 1; lastKnownFileType = sourcecode.c.h; name = FCAlertView.h; path = FCAlertView/Classes/FCAlertView.h; sourceTree = ""; }; - B897C833926F09B754E6EC0F4086138F /* Pods-FCAlertView_Example.debug.xcconfig */ = {isa = PBXFileReference; includeInIndex = 1; lastKnownFileType = text.xcconfig; path = "Pods-FCAlertView_Example.debug.xcconfig"; sourceTree = ""; }; - C44612B309C8686A0CBAB2F2DDBE6454 /* ResourceBundle-FCAlertView-Info.plist */ = {isa = PBXFileReference; includeInIndex = 1; lastKnownFileType = text.plist.xml; path = "ResourceBundle-FCAlertView-Info.plist"; sourceTree = ""; }; - CBB3DE36805AF21409EC968A9691732F /* Foundation.framework */ = {isa = PBXFileReference; lastKnownFileType = wrapper.framework; name = Foundation.framework; path = Platforms/iPhoneOS.platform/Developer/SDKs/iPhoneOS10.0.sdk/System/Library/Frameworks/Foundation.framework; sourceTree = DEVELOPER_DIR; }; - CCB3A79618AB7EEFE1AD77C6C65024AC /* heart.png */ = {isa = PBXFileReference; includeInIndex = 1; name = heart.png; path = FCAlertView/Assets/heart.png; sourceTree = ""; }; - CDEB6B647BE0269C181D2F8F8831CA64 /* Pods-FCAlertView_Example-dummy.m */ = {isa = PBXFileReference; includeInIndex = 1; lastKnownFileType = sourcecode.c.objc; path = "Pods-FCAlertView_Example-dummy.m"; sourceTree = ""; }; - D50761AD0D532B3EDF4E5B374DB13F57 /* Pods-FCAlertView_Example-acknowledgements.markdown */ = {isa = PBXFileReference; includeInIndex = 1; lastKnownFileType = text; path = "Pods-FCAlertView_Example-acknowledgements.markdown"; sourceTree = ""; }; - D95D29ECAC147E0E23E69A1A88AC03DC /* Pods-FCAlertView_Example-umbrella.h */ = {isa = PBXFileReference; includeInIndex = 1; lastKnownFileType = sourcecode.c.h; path = "Pods-FCAlertView_Example-umbrella.h"; sourceTree = ""; }; - E2D50E490DD7B9DAA41C30D8257417E8 /* FCAlertView-umbrella.h */ = {isa = PBXFileReference; includeInIndex = 1; lastKnownFileType = sourcecode.c.h; path = "FCAlertView-umbrella.h"; sourceTree = ""; }; - E59908A11BCEC8A5F35A484027BFB8B3 /* Pods_FCAlertView_Tests.framework */ = {isa = PBXFileReference; explicitFileType = wrapper.framework; includeInIndex = 0; name = Pods_FCAlertView_Tests.framework; path = "Pods-FCAlertView_Tests.framework"; sourceTree = BUILT_PRODUCTS_DIR; }; - E5E9CF02AD8F482CEB87E76B25809720 /* Pods-FCAlertView_Example.release.xcconfig */ = {isa = PBXFileReference; includeInIndex = 1; lastKnownFileType = text.xcconfig; path = "Pods-FCAlertView_Example.release.xcconfig"; sourceTree = ""; }; - E7586F18FAB526D34506DCE8A30C434F /* Info.plist */ = {isa = PBXFileReference; includeInIndex = 1; lastKnownFileType = text.plist.xml; path = Info.plist; sourceTree = ""; }; - F0E3369184F15852C4AA16DF8D29DB55 /* Pods-FCAlertView_Example.modulemap */ = {isa = PBXFileReference; includeInIndex = 1; path = "Pods-FCAlertView_Example.modulemap"; sourceTree = ""; }; -/* End PBXFileReference section */ - -/* Begin PBXFrameworksBuildPhase section */ - 1047C6535A86077A30CDE388D8404268 /* Frameworks */ = { - isa = PBXFrameworksBuildPhase; - buildActionMask = 2147483647; - files = ( - ); - runOnlyForDeploymentPostprocessing = 0; - }; - 8159CAB96A39E0836AAA814D7FFBD305 /* Frameworks */ = { - isa = PBXFrameworksBuildPhase; - buildActionMask = 2147483647; - files = ( - 2C9318D996236EC35AF4D0D440A2311A /* Foundation.framework in Frameworks */, - ); - runOnlyForDeploymentPostprocessing = 0; - }; - 94A1F5EEE952BB0AFBDD29B92C769ACF /* Frameworks */ = { - isa = PBXFrameworksBuildPhase; - buildActionMask = 2147483647; - files = ( - 2F3EDA93641DBE32FEFDF36463D3AD67 /* Foundation.framework in Frameworks */, - ); - runOnlyForDeploymentPostprocessing = 0; - }; - 981A7526CA03232AAB65EE6C93894F5F /* Frameworks */ = { - isa = PBXFrameworksBuildPhase; - buildActionMask = 2147483647; - files = ( - E9CE4A0129C00733C1D6FE9C28C3A6B4 /* Foundation.framework in Frameworks */, - ); - runOnlyForDeploymentPostprocessing = 0; - }; -/* End PBXFrameworksBuildPhase section */ - -/* Begin PBXGroup section */ - 0224B8FF13DDABDF629175892D6C4AE2 /* Pods */ = { - isa = PBXGroup; - children = ( - 372B3FB70FC18039FB8F7F44152BF2DD /* FCAlertView */, - ); - name = Pods; - sourceTree = ""; - }; - 223BF1B03858B5583B814DE6822FA8C7 /* Targets Support Files */ = { - isa = PBXGroup; - children = ( - 8410A7A26490DB6CA274BCF15AFF3450 /* Pods-FCAlertView_Example */, - A2F9AFDE65F35717623A39C8505F23FB /* Pods-FCAlertView_Tests */, - ); - name = "Targets Support Files"; - sourceTree = ""; - }; - 372B3FB70FC18039FB8F7F44152BF2DD /* FCAlertView */ = { - isa = PBXGroup; - children = ( - B2CEB2A113153EDC7996FFCBC3BAA339 /* FCAlertView.h */, - 163B372A8C7CEF335920AFDBAF8BB6E8 /* FCAlertView.m */, - 6E207CCFF5F6F0A0854441442B05A0D6 /* Resources */, - E9CC86A6EA0FFFE65DF383CE2C05E388 /* Support Files */, - ); - name = FCAlertView; - path = FCAlertView; - sourceTree = ""; - }; - 6E207CCFF5F6F0A0854441442B05A0D6 /* Resources */ = { - isa = PBXGroup; - children = ( - AA33CB5540B3BD0D0B3D764BAEC46F8A /* alert-round.png */, - A0872A4D6BB14B794A0E33956DEDEC5A /* checkmark-round.png */, - 61A9871074F9B01224AF3F532F62A28F /* close-round.png */, - CCB3A79618AB7EEFE1AD77C6C65024AC /* heart.png */, - 26C84E72C39B7C8141726594FF8B477E /* star.png */, - ); - name = Resources; - sourceTree = ""; - }; - 7531C8F8DE19F1AA3C8A7AC97A91DC29 /* iOS */ = { - isa = PBXGroup; - children = ( - CBB3DE36805AF21409EC968A9691732F /* Foundation.framework */, - ); - name = iOS; - sourceTree = ""; - }; - 7DB346D0F39D3F0E887471402A8071AB = { - isa = PBXGroup; - children = ( - 93A4A3777CF96A4AAC1D13BA6DCCEA73 /* Podfile */, - BC3CA7F9E30CC8F7E2DD044DD34432FC /* Frameworks */, - 0224B8FF13DDABDF629175892D6C4AE2 /* Pods */, - E663947D4085855027AC47631753FFA7 /* Products */, - 223BF1B03858B5583B814DE6822FA8C7 /* Targets Support Files */, - ); - sourceTree = ""; - }; - 8410A7A26490DB6CA274BCF15AFF3450 /* Pods-FCAlertView_Example */ = { - isa = PBXGroup; - children = ( - 786CF53AE0699DF9FC5EE90E0F778B6B /* Info.plist */, - F0E3369184F15852C4AA16DF8D29DB55 /* Pods-FCAlertView_Example.modulemap */, - D50761AD0D532B3EDF4E5B374DB13F57 /* Pods-FCAlertView_Example-acknowledgements.markdown */, - 0B92E124B99240D45741659D5CAE0B4B /* Pods-FCAlertView_Example-acknowledgements.plist */, - CDEB6B647BE0269C181D2F8F8831CA64 /* Pods-FCAlertView_Example-dummy.m */, - 7D06C75E1105F27E611DB1FA7E883417 /* Pods-FCAlertView_Example-frameworks.sh */, - 398F88D5DEE81F449D1C6E77875CF98A /* Pods-FCAlertView_Example-resources.sh */, - D95D29ECAC147E0E23E69A1A88AC03DC /* Pods-FCAlertView_Example-umbrella.h */, - B897C833926F09B754E6EC0F4086138F /* Pods-FCAlertView_Example.debug.xcconfig */, - E5E9CF02AD8F482CEB87E76B25809720 /* Pods-FCAlertView_Example.release.xcconfig */, - ); - name = "Pods-FCAlertView_Example"; - path = "Target Support Files/Pods-FCAlertView_Example"; - sourceTree = ""; - }; - A2F9AFDE65F35717623A39C8505F23FB /* Pods-FCAlertView_Tests */ = { - isa = PBXGroup; - children = ( - E7586F18FAB526D34506DCE8A30C434F /* Info.plist */, - 1C50ACFBC3512D286ED9F16A8A9C5C43 /* Pods-FCAlertView_Tests.modulemap */, - 4ED6C93DC0911243662AB9037F22F832 /* Pods-FCAlertView_Tests-acknowledgements.markdown */, - 2EA3A1A89026B910FDEB1B146CABAB3C /* Pods-FCAlertView_Tests-acknowledgements.plist */, - 611C721888A341842BE5533987141652 /* Pods-FCAlertView_Tests-dummy.m */, - 92DFA92589298DC7C5689B6D9309E0FD /* Pods-FCAlertView_Tests-frameworks.sh */, - 08F6D2B6F96ADEA93991993695A7CEAD /* Pods-FCAlertView_Tests-resources.sh */, - 41A8F02FB2F6ACCA7DEE48931012C27D /* Pods-FCAlertView_Tests-umbrella.h */, - 933AFE4B0760F924E8FFE80F872DA5AA /* Pods-FCAlertView_Tests.debug.xcconfig */, - 4C31D5AC0965C827B99B817ED68F9DEA /* Pods-FCAlertView_Tests.release.xcconfig */, - ); - name = "Pods-FCAlertView_Tests"; - path = "Target Support Files/Pods-FCAlertView_Tests"; - sourceTree = ""; - }; - BC3CA7F9E30CC8F7E2DD044DD34432FC /* Frameworks */ = { - isa = PBXGroup; - children = ( - 7531C8F8DE19F1AA3C8A7AC97A91DC29 /* iOS */, - ); - name = Frameworks; - sourceTree = ""; - }; - E663947D4085855027AC47631753FFA7 /* Products */ = { - isa = PBXGroup; - children = ( - A152DB51EEEB3091759892581A0B14FC /* FCAlertView.bundle */, - 6418EDD8424066F92057B3552A561D88 /* FCAlertView.framework */, - 265E0A616E04F91972A8CD2566C1DC93 /* Pods_FCAlertView_Example.framework */, - E59908A11BCEC8A5F35A484027BFB8B3 /* Pods_FCAlertView_Tests.framework */, - ); - name = Products; - sourceTree = ""; - }; - E9CC86A6EA0FFFE65DF383CE2C05E388 /* Support Files */ = { - isa = PBXGroup; - children = ( - 54A24BC4BF5563C980FF700585485CFD /* FCAlertView.modulemap */, - 79D33A236D3BAF34170780DFC20A653F /* FCAlertView.xcconfig */, - 32ED87A89C543E1BB4B295451BC47460 /* FCAlertView-dummy.m */, - 6272F7F457D48EE9CE775FFFBD96086C /* FCAlertView-prefix.pch */, - E2D50E490DD7B9DAA41C30D8257417E8 /* FCAlertView-umbrella.h */, - 798F1404F027EFF34C91E173CFBF6D1C /* Info.plist */, - C44612B309C8686A0CBAB2F2DDBE6454 /* ResourceBundle-FCAlertView-Info.plist */, - ); - name = "Support Files"; - path = "../Target Support Files/FCAlertView"; - sourceTree = ""; - }; -/* End PBXGroup section */ - -/* Begin PBXHeadersBuildPhase section */ - 13CC077374C4E126EA6B786AF09293D2 /* Headers */ = { - isa = PBXHeadersBuildPhase; - buildActionMask = 2147483647; - files = ( - 6F036EDB3C6F4D77407B93978853D66A /* FCAlertView-umbrella.h in Headers */, - 20BAB5D59DF7BD045F079334AAA64ACA /* FCAlertView.h in Headers */, - ); - runOnlyForDeploymentPostprocessing = 0; - }; - 653EAAC6E2414CBCAD36522E07B4A63A /* Headers */ = { - isa = PBXHeadersBuildPhase; - buildActionMask = 2147483647; - files = ( - C89E51AB4872BFCCC8E6E646EBF217E7 /* Pods-FCAlertView_Tests-umbrella.h in Headers */, - ); - runOnlyForDeploymentPostprocessing = 0; - }; - BB2DCB547DD16472A045FAB0E684B5DC /* Headers */ = { - isa = PBXHeadersBuildPhase; - buildActionMask = 2147483647; - files = ( - 7DCA0EB4722A52B2584A2B14D3525DDD /* Pods-FCAlertView_Example-umbrella.h in Headers */, - ); - runOnlyForDeploymentPostprocessing = 0; - }; -/* End PBXHeadersBuildPhase section */ - -/* Begin PBXNativeTarget section */ - 1613271357771814C71601D90B787D94 /* FCAlertView-FCAlertView */ = { - isa = PBXNativeTarget; - buildConfigurationList = 4E82A1DE997D99C0DF2CECEF19D52746 /* Build configuration list for PBXNativeTarget "FCAlertView-FCAlertView" */; - buildPhases = ( - D36415FC0EF378A99093F211F254C4A3 /* Sources */, - 1047C6535A86077A30CDE388D8404268 /* Frameworks */, - 20C6F5D965AD56F6D1558A5AC78B2DB6 /* Resources */, - ); - buildRules = ( - ); - dependencies = ( - ); - name = "FCAlertView-FCAlertView"; - productName = "FCAlertView-FCAlertView"; - productReference = A152DB51EEEB3091759892581A0B14FC /* FCAlertView.bundle */; - productType = "com.apple.product-type.bundle"; - }; - 9E4A7B97C55BF8A57B894EA0C62F4997 /* Pods-FCAlertView_Example */ = { - isa = PBXNativeTarget; - buildConfigurationList = D9FB31A0AB6F7E2DA64DBA6BD1D48837 /* Build configuration list for PBXNativeTarget "Pods-FCAlertView_Example" */; - buildPhases = ( - 1F11477F6EBE054E73B9A6829F369067 /* Sources */, - 94A1F5EEE952BB0AFBDD29B92C769ACF /* Frameworks */, - BB2DCB547DD16472A045FAB0E684B5DC /* Headers */, - ); - buildRules = ( - ); - dependencies = ( - 0E9B3579E13C0DBC903F70D9172EB46C /* PBXTargetDependency */, - ); - name = "Pods-FCAlertView_Example"; - productName = "Pods-FCAlertView_Example"; - productReference = 265E0A616E04F91972A8CD2566C1DC93 /* Pods_FCAlertView_Example.framework */; - productType = "com.apple.product-type.framework"; - }; - EF1ABE20DAA23760FBF0359740C1F0B9 /* FCAlertView */ = { - isa = PBXNativeTarget; - buildConfigurationList = 7CA6C0585D1B3396EA76721ED9ABF898 /* Build configuration list for PBXNativeTarget "FCAlertView" */; - buildPhases = ( - B3EE5904AD57CEBB6A3EABDD17E5F980 /* Sources */, - 8159CAB96A39E0836AAA814D7FFBD305 /* Frameworks */, - 9EFDE054B823A3EDE57E82668B162C3F /* Resources */, - 13CC077374C4E126EA6B786AF09293D2 /* Headers */, - ); - buildRules = ( - ); - dependencies = ( - 9E37634C12DE0AFB113AE9BB570E06D2 /* PBXTargetDependency */, - ); - name = FCAlertView; - productName = FCAlertView; - productReference = 6418EDD8424066F92057B3552A561D88 /* FCAlertView.framework */; - productType = "com.apple.product-type.framework"; - }; - F5AF6BEFE7BAB21BCE8FD8D9E749A41B /* Pods-FCAlertView_Tests */ = { - isa = PBXNativeTarget; - buildConfigurationList = E7AFAC36E99113B6DB979AB6432BCD4F /* Build configuration list for PBXNativeTarget "Pods-FCAlertView_Tests" */; - buildPhases = ( - 8C4B56099350A0ECF720F43C95BE42AA /* Sources */, - 981A7526CA03232AAB65EE6C93894F5F /* Frameworks */, - 653EAAC6E2414CBCAD36522E07B4A63A /* Headers */, - ); - buildRules = ( - ); - dependencies = ( - ); - name = "Pods-FCAlertView_Tests"; - productName = "Pods-FCAlertView_Tests"; - productReference = E59908A11BCEC8A5F35A484027BFB8B3 /* Pods_FCAlertView_Tests.framework */; - productType = "com.apple.product-type.framework"; - }; -/* End PBXNativeTarget section */ - -/* Begin PBXProject section */ - D41D8CD98F00B204E9800998ECF8427E /* Project object */ = { - isa = PBXProject; - attributes = { - LastSwiftUpdateCheck = 0730; - LastUpgradeCheck = 0700; - }; - buildConfigurationList = 2D8E8EC45A3A1A1D94AE762CB5028504 /* Build configuration list for PBXProject "Pods" */; - compatibilityVersion = "Xcode 3.2"; - developmentRegion = English; - hasScannedForEncodings = 0; - knownRegions = ( - en, - ); - mainGroup = 7DB346D0F39D3F0E887471402A8071AB; - productRefGroup = E663947D4085855027AC47631753FFA7 /* Products */; - projectDirPath = ""; - projectRoot = ""; - targets = ( - EF1ABE20DAA23760FBF0359740C1F0B9 /* FCAlertView */, - 1613271357771814C71601D90B787D94 /* FCAlertView-FCAlertView */, - 9E4A7B97C55BF8A57B894EA0C62F4997 /* Pods-FCAlertView_Example */, - F5AF6BEFE7BAB21BCE8FD8D9E749A41B /* Pods-FCAlertView_Tests */, - ); - }; -/* End PBXProject section */ - -/* Begin PBXResourcesBuildPhase section */ - 20C6F5D965AD56F6D1558A5AC78B2DB6 /* Resources */ = { - isa = PBXResourcesBuildPhase; - buildActionMask = 2147483647; - files = ( - 5659316602600A4062EDF8AA96DB4544 /* alert-round.png in Resources */, - 620FEACDDBE4B3929A5736071B0D06F2 /* checkmark-round.png in Resources */, - 9C05669320CE59568F8D32BCF2B5AE35 /* close-round.png in Resources */, - A94BC9BDFCC342D90417746BD9CAC7BD /* heart.png in Resources */, - D3B04FB5665A5732C78BF0514AABFAB7 /* star.png in Resources */, - ); - runOnlyForDeploymentPostprocessing = 0; - }; - 9EFDE054B823A3EDE57E82668B162C3F /* Resources */ = { - isa = PBXResourcesBuildPhase; - buildActionMask = 2147483647; - files = ( - 82CD4C9C56D28B0A759AC4E8250B903F /* FCAlertView.bundle in Resources */, - ); - runOnlyForDeploymentPostprocessing = 0; - }; -/* End PBXResourcesBuildPhase section */ - -/* Begin PBXSourcesBuildPhase section */ - 1F11477F6EBE054E73B9A6829F369067 /* Sources */ = { - isa = PBXSourcesBuildPhase; - buildActionMask = 2147483647; - files = ( - 316318B494ADE8FEADE852B4BCB84596 /* Pods-FCAlertView_Example-dummy.m in Sources */, - ); - runOnlyForDeploymentPostprocessing = 0; - }; - 8C4B56099350A0ECF720F43C95BE42AA /* Sources */ = { - isa = PBXSourcesBuildPhase; - buildActionMask = 2147483647; - files = ( - EAE46CF4ADBD426B436B2A593B0F441E /* Pods-FCAlertView_Tests-dummy.m in Sources */, - ); - runOnlyForDeploymentPostprocessing = 0; - }; - B3EE5904AD57CEBB6A3EABDD17E5F980 /* Sources */ = { - isa = PBXSourcesBuildPhase; - buildActionMask = 2147483647; - files = ( - 8EAD8DC87EFE35C7E714FBD936B98EDA /* FCAlertView-dummy.m in Sources */, - 8CAE2E96BE9DAEDF420FB328CB2C30F4 /* FCAlertView.m in Sources */, - ); - runOnlyForDeploymentPostprocessing = 0; - }; - D36415FC0EF378A99093F211F254C4A3 /* Sources */ = { - isa = PBXSourcesBuildPhase; - buildActionMask = 2147483647; - files = ( - ); - runOnlyForDeploymentPostprocessing = 0; - }; -/* End PBXSourcesBuildPhase section */ - -/* Begin PBXTargetDependency section */ - 0E9B3579E13C0DBC903F70D9172EB46C /* PBXTargetDependency */ = { - isa = PBXTargetDependency; - name = FCAlertView; - target = EF1ABE20DAA23760FBF0359740C1F0B9 /* FCAlertView */; - targetProxy = 98197F87B3D0297FA87CDD284CF5E376 /* PBXContainerItemProxy */; - }; - 9E37634C12DE0AFB113AE9BB570E06D2 /* PBXTargetDependency */ = { - isa = PBXTargetDependency; - name = "FCAlertView-FCAlertView"; - target = 1613271357771814C71601D90B787D94 /* FCAlertView-FCAlertView */; - targetProxy = 32932EDC3FAA8184B9EDDDBBCA1BCF5D /* PBXContainerItemProxy */; - }; -/* End PBXTargetDependency section */ - -/* Begin XCBuildConfiguration section */ - 2AD2762680CE83E6EC8EF4FA8E4EFF52 /* Debug */ = { - isa = XCBuildConfiguration; - baseConfigurationReference = B897C833926F09B754E6EC0F4086138F /* Pods-FCAlertView_Example.debug.xcconfig */; - buildSettings = { - "CODE_SIGN_IDENTITY[sdk=appletvos*]" = ""; - "CODE_SIGN_IDENTITY[sdk=iphoneos*]" = ""; - "CODE_SIGN_IDENTITY[sdk=watchos*]" = ""; - CURRENT_PROJECT_VERSION = 1; - DEBUG_INFORMATION_FORMAT = dwarf; - DEFINES_MODULE = YES; - DYLIB_COMPATIBILITY_VERSION = 1; - DYLIB_CURRENT_VERSION = 1; - DYLIB_INSTALL_NAME_BASE = "@rpath"; - ENABLE_STRICT_OBJC_MSGSEND = YES; - GCC_NO_COMMON_BLOCKS = YES; - INFOPLIST_FILE = "Target Support Files/Pods-FCAlertView_Example/Info.plist"; - INSTALL_PATH = "$(LOCAL_LIBRARY_DIR)/Frameworks"; - IPHONEOS_DEPLOYMENT_TARGET = 8.3; - LD_RUNPATH_SEARCH_PATHS = "$(inherited) @executable_path/Frameworks @loader_path/Frameworks"; - MACH_O_TYPE = staticlib; - MODULEMAP_FILE = "Target Support Files/Pods-FCAlertView_Example/Pods-FCAlertView_Example.modulemap"; - MTL_ENABLE_DEBUG_INFO = YES; - OTHER_LDFLAGS = ""; - OTHER_LIBTOOLFLAGS = ""; - PODS_ROOT = "$(SRCROOT)"; - PRODUCT_BUNDLE_IDENTIFIER = "org.cocoapods.${PRODUCT_NAME:rfc1034identifier}"; - PRODUCT_NAME = Pods_FCAlertView_Example; - SDKROOT = iphoneos; - SKIP_INSTALL = YES; - TARGETED_DEVICE_FAMILY = "1,2"; - VERSIONING_SYSTEM = "apple-generic"; - VERSION_INFO_PREFIX = ""; - }; - name = Debug; - }; - 2FDDB362FD39D415E5E11FFDB9F08691 /* Debug */ = { - isa = XCBuildConfiguration; - baseConfigurationReference = 79D33A236D3BAF34170780DFC20A653F /* FCAlertView.xcconfig */; - buildSettings = { - "CODE_SIGN_IDENTITY[sdk=appletvos*]" = ""; - "CODE_SIGN_IDENTITY[sdk=iphoneos*]" = ""; - "CODE_SIGN_IDENTITY[sdk=watchos*]" = ""; - CURRENT_PROJECT_VERSION = 1; - DEBUG_INFORMATION_FORMAT = dwarf; - DEFINES_MODULE = YES; - DYLIB_COMPATIBILITY_VERSION = 1; - DYLIB_CURRENT_VERSION = 1; - DYLIB_INSTALL_NAME_BASE = "@rpath"; - ENABLE_STRICT_OBJC_MSGSEND = YES; - GCC_NO_COMMON_BLOCKS = YES; - GCC_PREFIX_HEADER = "Target Support Files/FCAlertView/FCAlertView-prefix.pch"; - INFOPLIST_FILE = "Target Support Files/FCAlertView/Info.plist"; - INSTALL_PATH = "$(LOCAL_LIBRARY_DIR)/Frameworks"; - IPHONEOS_DEPLOYMENT_TARGET = 8.0; - LD_RUNPATH_SEARCH_PATHS = "$(inherited) @executable_path/Frameworks @loader_path/Frameworks"; - MODULEMAP_FILE = "Target Support Files/FCAlertView/FCAlertView.modulemap"; - MTL_ENABLE_DEBUG_INFO = YES; - PRODUCT_NAME = FCAlertView; - SDKROOT = iphoneos; - SKIP_INSTALL = YES; - TARGETED_DEVICE_FAMILY = "1,2"; - VERSIONING_SYSTEM = "apple-generic"; - VERSION_INFO_PREFIX = ""; - }; - name = Debug; - }; - 6A5A677FDD24F3D7ECE0ADF99D6612B5 /* Release */ = { - isa = XCBuildConfiguration; - baseConfigurationReference = E5E9CF02AD8F482CEB87E76B25809720 /* Pods-FCAlertView_Example.release.xcconfig */; - buildSettings = { - "CODE_SIGN_IDENTITY[sdk=appletvos*]" = ""; - "CODE_SIGN_IDENTITY[sdk=iphoneos*]" = ""; - "CODE_SIGN_IDENTITY[sdk=watchos*]" = ""; - CURRENT_PROJECT_VERSION = 1; - DEBUG_INFORMATION_FORMAT = "dwarf-with-dsym"; - DEFINES_MODULE = YES; - DYLIB_COMPATIBILITY_VERSION = 1; - DYLIB_CURRENT_VERSION = 1; - DYLIB_INSTALL_NAME_BASE = "@rpath"; - ENABLE_STRICT_OBJC_MSGSEND = YES; - GCC_NO_COMMON_BLOCKS = YES; - INFOPLIST_FILE = "Target Support Files/Pods-FCAlertView_Example/Info.plist"; - INSTALL_PATH = "$(LOCAL_LIBRARY_DIR)/Frameworks"; - IPHONEOS_DEPLOYMENT_TARGET = 8.3; - LD_RUNPATH_SEARCH_PATHS = "$(inherited) @executable_path/Frameworks @loader_path/Frameworks"; - MACH_O_TYPE = staticlib; - MODULEMAP_FILE = "Target Support Files/Pods-FCAlertView_Example/Pods-FCAlertView_Example.modulemap"; - MTL_ENABLE_DEBUG_INFO = NO; - OTHER_LDFLAGS = ""; - OTHER_LIBTOOLFLAGS = ""; - PODS_ROOT = "$(SRCROOT)"; - PRODUCT_BUNDLE_IDENTIFIER = "org.cocoapods.${PRODUCT_NAME:rfc1034identifier}"; - PRODUCT_NAME = Pods_FCAlertView_Example; - SDKROOT = iphoneos; - SKIP_INSTALL = YES; - TARGETED_DEVICE_FAMILY = "1,2"; - VERSIONING_SYSTEM = "apple-generic"; - VERSION_INFO_PREFIX = ""; - }; - name = Release; - }; - 7141BE5552785A9251FEFCA1DD0B80FC /* Release */ = { - isa = XCBuildConfiguration; - baseConfigurationReference = 79D33A236D3BAF34170780DFC20A653F /* FCAlertView.xcconfig */; - buildSettings = { - "CODE_SIGN_IDENTITY[sdk=appletvos*]" = ""; - "CODE_SIGN_IDENTITY[sdk=iphoneos*]" = ""; - "CODE_SIGN_IDENTITY[sdk=watchos*]" = ""; - CURRENT_PROJECT_VERSION = 1; - DEBUG_INFORMATION_FORMAT = "dwarf-with-dsym"; - DEFINES_MODULE = YES; - DYLIB_COMPATIBILITY_VERSION = 1; - DYLIB_CURRENT_VERSION = 1; - DYLIB_INSTALL_NAME_BASE = "@rpath"; - ENABLE_STRICT_OBJC_MSGSEND = YES; - GCC_NO_COMMON_BLOCKS = YES; - GCC_PREFIX_HEADER = "Target Support Files/FCAlertView/FCAlertView-prefix.pch"; - INFOPLIST_FILE = "Target Support Files/FCAlertView/Info.plist"; - INSTALL_PATH = "$(LOCAL_LIBRARY_DIR)/Frameworks"; - IPHONEOS_DEPLOYMENT_TARGET = 8.0; - LD_RUNPATH_SEARCH_PATHS = "$(inherited) @executable_path/Frameworks @loader_path/Frameworks"; - MODULEMAP_FILE = "Target Support Files/FCAlertView/FCAlertView.modulemap"; - MTL_ENABLE_DEBUG_INFO = NO; - PRODUCT_NAME = FCAlertView; - SDKROOT = iphoneos; - SKIP_INSTALL = YES; - TARGETED_DEVICE_FAMILY = "1,2"; - VERSIONING_SYSTEM = "apple-generic"; - VERSION_INFO_PREFIX = ""; - }; - name = Release; - }; - 7CEB3D839D1BDC64F3C6C0E33D021ED0 /* Release */ = { - isa = XCBuildConfiguration; - baseConfigurationReference = 79D33A236D3BAF34170780DFC20A653F /* FCAlertView.xcconfig */; - buildSettings = { - CONFIGURATION_BUILD_DIR = "$(BUILD_DIR)/$(CONFIGURATION)$(EFFECTIVE_PLATFORM_NAME)/FCAlertView"; - ENABLE_STRICT_OBJC_MSGSEND = YES; - GCC_NO_COMMON_BLOCKS = YES; - INFOPLIST_FILE = "Target Support Files/FCAlertView/ResourceBundle-FCAlertView-Info.plist"; - IPHONEOS_DEPLOYMENT_TARGET = 8.0; - PRODUCT_NAME = FCAlertView; - SDKROOT = iphoneos; - SKIP_INSTALL = YES; - TARGETED_DEVICE_FAMILY = "1,2"; - WRAPPER_EXTENSION = bundle; - }; - name = Release; - }; - 8DED8AD26D381A6ACFF202E5217EC498 /* Release */ = { - isa = XCBuildConfiguration; - buildSettings = { - ALWAYS_SEARCH_USER_PATHS = NO; - CLANG_ANALYZER_NONNULL = YES; - CLANG_CXX_LANGUAGE_STANDARD = "gnu++0x"; - CLANG_CXX_LIBRARY = "libc++"; - CLANG_ENABLE_MODULES = YES; - CLANG_ENABLE_OBJC_ARC = YES; - CLANG_WARN_BOOL_CONVERSION = YES; - CLANG_WARN_CONSTANT_CONVERSION = YES; - CLANG_WARN_DIRECT_OBJC_ISA_USAGE = YES; - CLANG_WARN_EMPTY_BODY = YES; - CLANG_WARN_ENUM_CONVERSION = YES; - CLANG_WARN_INT_CONVERSION = YES; - CLANG_WARN_OBJC_ROOT_CLASS = YES; - CLANG_WARN_UNREACHABLE_CODE = YES; - CLANG_WARN__DUPLICATE_METHOD_MATCH = YES; - CODE_SIGNING_REQUIRED = NO; - COPY_PHASE_STRIP = YES; - ENABLE_NS_ASSERTIONS = NO; - GCC_C_LANGUAGE_STANDARD = gnu99; - GCC_PREPROCESSOR_DEFINITIONS = ( - "POD_CONFIGURATION_RELEASE=1", - "$(inherited)", - ); - GCC_WARN_64_TO_32_BIT_CONVERSION = YES; - GCC_WARN_ABOUT_RETURN_TYPE = YES; - GCC_WARN_UNDECLARED_SELECTOR = YES; - GCC_WARN_UNINITIALIZED_AUTOS = YES; - GCC_WARN_UNUSED_FUNCTION = YES; - GCC_WARN_UNUSED_VARIABLE = YES; - IPHONEOS_DEPLOYMENT_TARGET = 8.3; - PROVISIONING_PROFILE_SPECIFIER = NO_SIGNING/; - STRIP_INSTALLED_PRODUCT = NO; - SYMROOT = "${SRCROOT}/../build"; - VALIDATE_PRODUCT = YES; - }; - name = Release; - }; - 9E1E4E48AF2EAB23169E611BF694090A /* Debug */ = { - isa = XCBuildConfiguration; - buildSettings = { - ALWAYS_SEARCH_USER_PATHS = NO; - CLANG_ANALYZER_NONNULL = YES; - CLANG_CXX_LANGUAGE_STANDARD = "gnu++0x"; - CLANG_CXX_LIBRARY = "libc++"; - CLANG_ENABLE_MODULES = YES; - CLANG_ENABLE_OBJC_ARC = YES; - CLANG_WARN_BOOL_CONVERSION = YES; - CLANG_WARN_CONSTANT_CONVERSION = YES; - CLANG_WARN_DIRECT_OBJC_ISA_USAGE = YES; - CLANG_WARN_EMPTY_BODY = YES; - CLANG_WARN_ENUM_CONVERSION = YES; - CLANG_WARN_INT_CONVERSION = YES; - CLANG_WARN_OBJC_ROOT_CLASS = YES; - CLANG_WARN_UNREACHABLE_CODE = YES; - CLANG_WARN__DUPLICATE_METHOD_MATCH = YES; - CODE_SIGNING_REQUIRED = NO; - COPY_PHASE_STRIP = NO; - ENABLE_TESTABILITY = YES; - GCC_C_LANGUAGE_STANDARD = gnu99; - GCC_DYNAMIC_NO_PIC = NO; - GCC_OPTIMIZATION_LEVEL = 0; - GCC_PREPROCESSOR_DEFINITIONS = ( - "POD_CONFIGURATION_DEBUG=1", - "DEBUG=1", - "$(inherited)", - ); - GCC_SYMBOLS_PRIVATE_EXTERN = NO; - GCC_WARN_64_TO_32_BIT_CONVERSION = YES; - GCC_WARN_ABOUT_RETURN_TYPE = YES; - GCC_WARN_UNDECLARED_SELECTOR = YES; - GCC_WARN_UNINITIALIZED_AUTOS = YES; - GCC_WARN_UNUSED_FUNCTION = YES; - GCC_WARN_UNUSED_VARIABLE = YES; - IPHONEOS_DEPLOYMENT_TARGET = 8.3; - ONLY_ACTIVE_ARCH = YES; - PROVISIONING_PROFILE_SPECIFIER = NO_SIGNING/; - STRIP_INSTALLED_PRODUCT = NO; - SYMROOT = "${SRCROOT}/../build"; - }; - name = Debug; - }; - A0DF65BF7EA810747613C5CF79C1B369 /* Debug */ = { - isa = XCBuildConfiguration; - baseConfigurationReference = 933AFE4B0760F924E8FFE80F872DA5AA /* Pods-FCAlertView_Tests.debug.xcconfig */; - buildSettings = { - "CODE_SIGN_IDENTITY[sdk=appletvos*]" = ""; - "CODE_SIGN_IDENTITY[sdk=iphoneos*]" = ""; - "CODE_SIGN_IDENTITY[sdk=watchos*]" = ""; - CURRENT_PROJECT_VERSION = 1; - DEBUG_INFORMATION_FORMAT = dwarf; - DEFINES_MODULE = YES; - DYLIB_COMPATIBILITY_VERSION = 1; - DYLIB_CURRENT_VERSION = 1; - DYLIB_INSTALL_NAME_BASE = "@rpath"; - ENABLE_STRICT_OBJC_MSGSEND = YES; - GCC_NO_COMMON_BLOCKS = YES; - INFOPLIST_FILE = "Target Support Files/Pods-FCAlertView_Tests/Info.plist"; - INSTALL_PATH = "$(LOCAL_LIBRARY_DIR)/Frameworks"; - IPHONEOS_DEPLOYMENT_TARGET = 8.3; - LD_RUNPATH_SEARCH_PATHS = "$(inherited) @executable_path/Frameworks @loader_path/Frameworks"; - MACH_O_TYPE = staticlib; - MODULEMAP_FILE = "Target Support Files/Pods-FCAlertView_Tests/Pods-FCAlertView_Tests.modulemap"; - MTL_ENABLE_DEBUG_INFO = YES; - OTHER_LDFLAGS = ""; - OTHER_LIBTOOLFLAGS = ""; - PODS_ROOT = "$(SRCROOT)"; - PRODUCT_BUNDLE_IDENTIFIER = "org.cocoapods.${PRODUCT_NAME:rfc1034identifier}"; - PRODUCT_NAME = Pods_FCAlertView_Tests; - SDKROOT = iphoneos; - SKIP_INSTALL = YES; - TARGETED_DEVICE_FAMILY = "1,2"; - VERSIONING_SYSTEM = "apple-generic"; - VERSION_INFO_PREFIX = ""; - }; - name = Debug; - }; - A6D07E3AFCBFA75546AF03E84F673E17 /* Debug */ = { - isa = XCBuildConfiguration; - baseConfigurationReference = 79D33A236D3BAF34170780DFC20A653F /* FCAlertView.xcconfig */; - buildSettings = { - CONFIGURATION_BUILD_DIR = "$(BUILD_DIR)/$(CONFIGURATION)$(EFFECTIVE_PLATFORM_NAME)/FCAlertView"; - ENABLE_STRICT_OBJC_MSGSEND = YES; - GCC_NO_COMMON_BLOCKS = YES; - INFOPLIST_FILE = "Target Support Files/FCAlertView/ResourceBundle-FCAlertView-Info.plist"; - IPHONEOS_DEPLOYMENT_TARGET = 8.0; - PRODUCT_NAME = FCAlertView; - SDKROOT = iphoneos; - SKIP_INSTALL = YES; - TARGETED_DEVICE_FAMILY = "1,2"; - WRAPPER_EXTENSION = bundle; - }; - name = Debug; - }; - FDD1FCE8252EC5035FFFEF3C77A09B55 /* Release */ = { - isa = XCBuildConfiguration; - baseConfigurationReference = 4C31D5AC0965C827B99B817ED68F9DEA /* Pods-FCAlertView_Tests.release.xcconfig */; - buildSettings = { - "CODE_SIGN_IDENTITY[sdk=appletvos*]" = ""; - "CODE_SIGN_IDENTITY[sdk=iphoneos*]" = ""; - "CODE_SIGN_IDENTITY[sdk=watchos*]" = ""; - CURRENT_PROJECT_VERSION = 1; - DEBUG_INFORMATION_FORMAT = "dwarf-with-dsym"; - DEFINES_MODULE = YES; - DYLIB_COMPATIBILITY_VERSION = 1; - DYLIB_CURRENT_VERSION = 1; - DYLIB_INSTALL_NAME_BASE = "@rpath"; - ENABLE_STRICT_OBJC_MSGSEND = YES; - GCC_NO_COMMON_BLOCKS = YES; - INFOPLIST_FILE = "Target Support Files/Pods-FCAlertView_Tests/Info.plist"; - INSTALL_PATH = "$(LOCAL_LIBRARY_DIR)/Frameworks"; - IPHONEOS_DEPLOYMENT_TARGET = 8.3; - LD_RUNPATH_SEARCH_PATHS = "$(inherited) @executable_path/Frameworks @loader_path/Frameworks"; - MACH_O_TYPE = staticlib; - MODULEMAP_FILE = "Target Support Files/Pods-FCAlertView_Tests/Pods-FCAlertView_Tests.modulemap"; - MTL_ENABLE_DEBUG_INFO = NO; - OTHER_LDFLAGS = ""; - OTHER_LIBTOOLFLAGS = ""; - PODS_ROOT = "$(SRCROOT)"; - PRODUCT_BUNDLE_IDENTIFIER = "org.cocoapods.${PRODUCT_NAME:rfc1034identifier}"; - PRODUCT_NAME = Pods_FCAlertView_Tests; - SDKROOT = iphoneos; - SKIP_INSTALL = YES; - TARGETED_DEVICE_FAMILY = "1,2"; - VERSIONING_SYSTEM = "apple-generic"; - VERSION_INFO_PREFIX = ""; - }; - name = Release; - }; -/* End XCBuildConfiguration section */ - -/* Begin XCConfigurationList section */ - 2D8E8EC45A3A1A1D94AE762CB5028504 /* Build configuration list for PBXProject "Pods" */ = { - isa = XCConfigurationList; - buildConfigurations = ( - 9E1E4E48AF2EAB23169E611BF694090A /* Debug */, - 8DED8AD26D381A6ACFF202E5217EC498 /* Release */, - ); - defaultConfigurationIsVisible = 0; - defaultConfigurationName = Release; - }; - 4E82A1DE997D99C0DF2CECEF19D52746 /* Build configuration list for PBXNativeTarget "FCAlertView-FCAlertView" */ = { - isa = XCConfigurationList; - buildConfigurations = ( - A6D07E3AFCBFA75546AF03E84F673E17 /* Debug */, - 7CEB3D839D1BDC64F3C6C0E33D021ED0 /* Release */, - ); - defaultConfigurationIsVisible = 0; - defaultConfigurationName = Release; - }; - 7CA6C0585D1B3396EA76721ED9ABF898 /* Build configuration list for PBXNativeTarget "FCAlertView" */ = { - isa = XCConfigurationList; - buildConfigurations = ( - 2FDDB362FD39D415E5E11FFDB9F08691 /* Debug */, - 7141BE5552785A9251FEFCA1DD0B80FC /* Release */, - ); - defaultConfigurationIsVisible = 0; - defaultConfigurationName = Release; - }; - D9FB31A0AB6F7E2DA64DBA6BD1D48837 /* Build configuration list for PBXNativeTarget "Pods-FCAlertView_Example" */ = { - isa = XCConfigurationList; - buildConfigurations = ( - 2AD2762680CE83E6EC8EF4FA8E4EFF52 /* Debug */, - 6A5A677FDD24F3D7ECE0ADF99D6612B5 /* Release */, - ); - defaultConfigurationIsVisible = 0; - defaultConfigurationName = Release; - }; - E7AFAC36E99113B6DB979AB6432BCD4F /* Build configuration list for PBXNativeTarget "Pods-FCAlertView_Tests" */ = { - isa = XCConfigurationList; - buildConfigurations = ( - A0DF65BF7EA810747613C5CF79C1B369 /* Debug */, - FDD1FCE8252EC5035FFFEF3C77A09B55 /* Release */, - ); - defaultConfigurationIsVisible = 0; - defaultConfigurationName = Release; - }; -/* End XCConfigurationList section */ - }; - rootObject = D41D8CD98F00B204E9800998ECF8427E /* Project object */; -} diff --git a/Example/Pods/Pods.xcodeproj/project.xcworkspace/contents.xcworkspacedata b/Example/Pods/Pods.xcodeproj/project.xcworkspace/contents.xcworkspacedata deleted file mode 100644 index 919434a..0000000 --- a/Example/Pods/Pods.xcodeproj/project.xcworkspace/contents.xcworkspacedata +++ /dev/null @@ -1,7 +0,0 @@ - - - - - diff --git a/Example/Pods/Pods.xcodeproj/project.xcworkspace/xcuserdata/Nima.xcuserdatad/WorkspaceSettings.xcsettings b/Example/Pods/Pods.xcodeproj/project.xcworkspace/xcuserdata/Nima.xcuserdatad/WorkspaceSettings.xcsettings deleted file mode 100644 index a8f6112..0000000 --- a/Example/Pods/Pods.xcodeproj/project.xcworkspace/xcuserdata/Nima.xcuserdatad/WorkspaceSettings.xcsettings +++ /dev/null @@ -1,8 +0,0 @@ - - - - - BuildLocationStyle - UseTargetSettings - - diff --git a/Example/Pods/Pods.xcodeproj/xcshareddata/xcschemes/FCAlertView-FCAlertView.xcscheme b/Example/Pods/Pods.xcodeproj/xcshareddata/xcschemes/FCAlertView-FCAlertView.xcscheme deleted file mode 100644 index c53f448..0000000 --- a/Example/Pods/Pods.xcodeproj/xcshareddata/xcschemes/FCAlertView-FCAlertView.xcscheme +++ /dev/null @@ -1,71 +0,0 @@ - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - diff --git a/Example/Pods/Pods.xcodeproj/xcuserdata/Nima.xcuserdatad/xcschemes/FCAlertView-FCAlertView.xcscheme b/Example/Pods/Pods.xcodeproj/xcuserdata/Nima.xcuserdatad/xcschemes/FCAlertView-FCAlertView.xcscheme deleted file mode 100644 index 2627124..0000000 --- a/Example/Pods/Pods.xcodeproj/xcuserdata/Nima.xcuserdatad/xcschemes/FCAlertView-FCAlertView.xcscheme +++ /dev/null @@ -1,60 +0,0 @@ - - - - - - - - - - - - - - - - - - - - - - - - - diff --git a/Example/Pods/Pods.xcodeproj/xcuserdata/Nima.xcuserdatad/xcschemes/FCAlertView.xcscheme b/Example/Pods/Pods.xcodeproj/xcuserdata/Nima.xcuserdatad/xcschemes/FCAlertView.xcscheme deleted file mode 100644 index 71662ad..0000000 --- a/Example/Pods/Pods.xcodeproj/xcuserdata/Nima.xcuserdatad/xcschemes/FCAlertView.xcscheme +++ /dev/null @@ -1,60 +0,0 @@ - - - - - - - - - - - - - - - - - - - - - - - - - diff --git a/Example/Pods/Pods.xcodeproj/xcuserdata/Nima.xcuserdatad/xcschemes/Pods-FCAlertView_Example.xcscheme b/Example/Pods/Pods.xcodeproj/xcuserdata/Nima.xcuserdatad/xcschemes/Pods-FCAlertView_Example.xcscheme deleted file mode 100644 index bd92ccb..0000000 --- a/Example/Pods/Pods.xcodeproj/xcuserdata/Nima.xcuserdatad/xcschemes/Pods-FCAlertView_Example.xcscheme +++ /dev/null @@ -1,71 +0,0 @@ - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - diff --git a/Example/Pods/Pods.xcodeproj/xcuserdata/Nima.xcuserdatad/xcschemes/Pods-FCAlertView_Tests.xcscheme b/Example/Pods/Pods.xcodeproj/xcuserdata/Nima.xcuserdatad/xcschemes/Pods-FCAlertView_Tests.xcscheme deleted file mode 100644 index 98707d8..0000000 --- a/Example/Pods/Pods.xcodeproj/xcuserdata/Nima.xcuserdatad/xcschemes/Pods-FCAlertView_Tests.xcscheme +++ /dev/null @@ -1,71 +0,0 @@ - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - diff --git a/Example/Pods/Pods.xcodeproj/xcuserdata/Nima.xcuserdatad/xcschemes/xcschememanagement.plist b/Example/Pods/Pods.xcodeproj/xcuserdata/Nima.xcuserdatad/xcschemes/xcschememanagement.plist deleted file mode 100644 index 2516bb7..0000000 --- a/Example/Pods/Pods.xcodeproj/xcuserdata/Nima.xcuserdatad/xcschemes/xcschememanagement.plist +++ /dev/null @@ -1,52 +0,0 @@ - - - - - SchemeUserState - - FCAlertView-FCAlertView.xcscheme - - isShown - - - FCAlertView.xcscheme - - isShown - - - Pods-FCAlertView_Example.xcscheme - - isShown - - - Pods-FCAlertView_Tests.xcscheme - - isShown - - - - SuppressBuildableAutocreation - - 1613271357771814C71601D90B787D94 - - primary - - - 9E4A7B97C55BF8A57B894EA0C62F4997 - - primary - - - EF1ABE20DAA23760FBF0359740C1F0B9 - - primary - - - F5AF6BEFE7BAB21BCE8FD8D9E749A41B - - primary - - - - - diff --git a/Example/Pods/Target Support Files/FCAlertView/FCAlertView-dummy.m b/Example/Pods/Target Support Files/FCAlertView/FCAlertView-dummy.m deleted file mode 100644 index 8708705..0000000 --- a/Example/Pods/Target Support Files/FCAlertView/FCAlertView-dummy.m +++ /dev/null @@ -1,5 +0,0 @@ -#import -@interface PodsDummy_FCAlertView : NSObject -@end -@implementation PodsDummy_FCAlertView -@end diff --git a/Example/Pods/Target Support Files/FCAlertView/FCAlertView-prefix.pch b/Example/Pods/Target Support Files/FCAlertView/FCAlertView-prefix.pch deleted file mode 100644 index beb2a24..0000000 --- a/Example/Pods/Target Support Files/FCAlertView/FCAlertView-prefix.pch +++ /dev/null @@ -1,12 +0,0 @@ -#ifdef __OBJC__ -#import -#else -#ifndef FOUNDATION_EXPORT -#if defined(__cplusplus) -#define FOUNDATION_EXPORT extern "C" -#else -#define FOUNDATION_EXPORT extern -#endif -#endif -#endif - diff --git a/Example/Pods/Target Support Files/FCAlertView/FCAlertView-umbrella.h b/Example/Pods/Target Support Files/FCAlertView/FCAlertView-umbrella.h deleted file mode 100644 index 1efe3e0..0000000 --- a/Example/Pods/Target Support Files/FCAlertView/FCAlertView-umbrella.h +++ /dev/null @@ -1,17 +0,0 @@ -#ifdef __OBJC__ -#import -#else -#ifndef FOUNDATION_EXPORT -#if defined(__cplusplus) -#define FOUNDATION_EXPORT extern "C" -#else -#define FOUNDATION_EXPORT extern -#endif -#endif -#endif - -#import "FCAlertView.h" - -FOUNDATION_EXPORT double FCAlertViewVersionNumber; -FOUNDATION_EXPORT const unsigned char FCAlertViewVersionString[]; - diff --git a/Example/Pods/Target Support Files/FCAlertView/FCAlertView.modulemap b/Example/Pods/Target Support Files/FCAlertView/FCAlertView.modulemap deleted file mode 100644 index a600cce..0000000 --- a/Example/Pods/Target Support Files/FCAlertView/FCAlertView.modulemap +++ /dev/null @@ -1,6 +0,0 @@ -framework module FCAlertView { - umbrella header "FCAlertView-umbrella.h" - - export * - module * { export * } -} diff --git a/Example/Pods/Target Support Files/FCAlertView/FCAlertView.xcconfig b/Example/Pods/Target Support Files/FCAlertView/FCAlertView.xcconfig deleted file mode 100644 index 7cf0f2d..0000000 --- a/Example/Pods/Target Support Files/FCAlertView/FCAlertView.xcconfig +++ /dev/null @@ -1,9 +0,0 @@ -CONFIGURATION_BUILD_DIR = $PODS_CONFIGURATION_BUILD_DIR/FCAlertView -GCC_PREPROCESSOR_DEFINITIONS = $(inherited) COCOAPODS=1 -HEADER_SEARCH_PATHS = "${PODS_ROOT}/Headers/Private" "${PODS_ROOT}/Headers/Public" -PODS_BUILD_DIR = $BUILD_DIR -PODS_CONFIGURATION_BUILD_DIR = $PODS_BUILD_DIR/$(CONFIGURATION)$(EFFECTIVE_PLATFORM_NAME) -PODS_ROOT = ${SRCROOT} -PODS_TARGET_SRCROOT = ${PODS_ROOT}/FCAlertView -PRODUCT_BUNDLE_IDENTIFIER = org.cocoapods.${PRODUCT_NAME:rfc1034identifier} -SKIP_INSTALL = YES diff --git a/Example/Pods/Target Support Files/FCAlertView/Info.plist b/Example/Pods/Target Support Files/FCAlertView/Info.plist deleted file mode 100644 index b6b2813..0000000 --- a/Example/Pods/Target Support Files/FCAlertView/Info.plist +++ /dev/null @@ -1,26 +0,0 @@ - - - - - CFBundleDevelopmentRegion - en - CFBundleExecutable - ${EXECUTABLE_NAME} - CFBundleIdentifier - ${PRODUCT_BUNDLE_IDENTIFIER} - CFBundleInfoDictionaryVersion - 6.0 - CFBundleName - ${PRODUCT_NAME} - CFBundlePackageType - FMWK - CFBundleShortVersionString - 1.3.0 - CFBundleSignature - ???? - CFBundleVersion - ${CURRENT_PROJECT_VERSION} - NSPrincipalClass - - - diff --git a/Example/Pods/Target Support Files/FCAlertView/ResourceBundle-FCAlertView-Info.plist b/Example/Pods/Target Support Files/FCAlertView/ResourceBundle-FCAlertView-Info.plist deleted file mode 100644 index 743810c..0000000 --- a/Example/Pods/Target Support Files/FCAlertView/ResourceBundle-FCAlertView-Info.plist +++ /dev/null @@ -1,24 +0,0 @@ - - - - - CFBundleDevelopmentRegion - en - CFBundleIdentifier - ${PRODUCT_BUNDLE_IDENTIFIER} - CFBundleInfoDictionaryVersion - 6.0 - CFBundleName - ${PRODUCT_NAME} - CFBundlePackageType - BNDL - CFBundleShortVersionString - 1.3.0 - CFBundleSignature - ???? - CFBundleVersion - 1 - NSPrincipalClass - - - diff --git a/Example/Pods/Target Support Files/Pods-FCAlertView_Example/Info.plist b/Example/Pods/Target Support Files/Pods-FCAlertView_Example/Info.plist deleted file mode 100644 index 2243fe6..0000000 --- a/Example/Pods/Target Support Files/Pods-FCAlertView_Example/Info.plist +++ /dev/null @@ -1,26 +0,0 @@ - - - - - CFBundleDevelopmentRegion - en - CFBundleExecutable - ${EXECUTABLE_NAME} - CFBundleIdentifier - ${PRODUCT_BUNDLE_IDENTIFIER} - CFBundleInfoDictionaryVersion - 6.0 - CFBundleName - ${PRODUCT_NAME} - CFBundlePackageType - FMWK - CFBundleShortVersionString - 1.0.0 - CFBundleSignature - ???? - CFBundleVersion - ${CURRENT_PROJECT_VERSION} - NSPrincipalClass - - - diff --git a/Example/Pods/Target Support Files/Pods-FCAlertView_Example/Pods-FCAlertView_Example-acknowledgements.markdown b/Example/Pods/Target Support Files/Pods-FCAlertView_Example/Pods-FCAlertView_Example-acknowledgements.markdown deleted file mode 100644 index 25ee291..0000000 --- a/Example/Pods/Target Support Files/Pods-FCAlertView_Example/Pods-FCAlertView_Example-acknowledgements.markdown +++ /dev/null @@ -1,26 +0,0 @@ -# Acknowledgements -This application makes use of the following third party libraries: - -## FCAlertView - -Copyright (c) 2016 Nima Tahami - -Permission is hereby granted, free of charge, to any person obtaining a copy -of this software and associated documentation files (the "Software"), to deal -in the Software without restriction, including without limitation the rights -to use, copy, modify, merge, publish, distribute, sublicense, and/or sell -copies of the Software, and to permit persons to whom the Software is -furnished to do so, subject to the following conditions: - -The above copyright notice and this permission notice shall be included in -all copies or substantial portions of the Software. - -THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND, EXPRESS OR -IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF MERCHANTABILITY, -FITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT. IN NO EVENT SHALL THE -AUTHORS OR COPYRIGHT HOLDERS BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER -LIABILITY, WHETHER IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING FROM, -OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN -THE SOFTWARE. - -Generated by CocoaPods - https://cocoapods.org diff --git a/Example/Pods/Target Support Files/Pods-FCAlertView_Example/Pods-FCAlertView_Example-acknowledgements.plist b/Example/Pods/Target Support Files/Pods-FCAlertView_Example/Pods-FCAlertView_Example-acknowledgements.plist deleted file mode 100644 index 94827dc..0000000 --- a/Example/Pods/Target Support Files/Pods-FCAlertView_Example/Pods-FCAlertView_Example-acknowledgements.plist +++ /dev/null @@ -1,58 +0,0 @@ - - - - - PreferenceSpecifiers - - - FooterText - This application makes use of the following third party libraries: - Title - Acknowledgements - Type - PSGroupSpecifier - - - FooterText - Copyright (c) 2016 Nima Tahami - -Permission is hereby granted, free of charge, to any person obtaining a copy -of this software and associated documentation files (the "Software"), to deal -in the Software without restriction, including without limitation the rights -to use, copy, modify, merge, publish, distribute, sublicense, and/or sell -copies of the Software, and to permit persons to whom the Software is -furnished to do so, subject to the following conditions: - -The above copyright notice and this permission notice shall be included in -all copies or substantial portions of the Software. - -THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND, EXPRESS OR -IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF MERCHANTABILITY, -FITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT. IN NO EVENT SHALL THE -AUTHORS OR COPYRIGHT HOLDERS BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER -LIABILITY, WHETHER IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING FROM, -OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN -THE SOFTWARE. - - License - MIT - Title - FCAlertView - Type - PSGroupSpecifier - - - FooterText - Generated by CocoaPods - https://cocoapods.org - Title - - Type - PSGroupSpecifier - - - StringsTable - Acknowledgements - Title - Acknowledgements - - diff --git a/Example/Pods/Target Support Files/Pods-FCAlertView_Example/Pods-FCAlertView_Example-dummy.m b/Example/Pods/Target Support Files/Pods-FCAlertView_Example/Pods-FCAlertView_Example-dummy.m deleted file mode 100644 index 97e9b5c..0000000 --- a/Example/Pods/Target Support Files/Pods-FCAlertView_Example/Pods-FCAlertView_Example-dummy.m +++ /dev/null @@ -1,5 +0,0 @@ -#import -@interface PodsDummy_Pods_FCAlertView_Example : NSObject -@end -@implementation PodsDummy_Pods_FCAlertView_Example -@end diff --git a/Example/Pods/Target Support Files/Pods-FCAlertView_Example/Pods-FCAlertView_Example-frameworks.sh b/Example/Pods/Target Support Files/Pods-FCAlertView_Example/Pods-FCAlertView_Example-frameworks.sh deleted file mode 100755 index dfd30cb..0000000 --- a/Example/Pods/Target Support Files/Pods-FCAlertView_Example/Pods-FCAlertView_Example-frameworks.sh +++ /dev/null @@ -1,99 +0,0 @@ -#!/bin/sh -set -e - -echo "mkdir -p ${CONFIGURATION_BUILD_DIR}/${FRAMEWORKS_FOLDER_PATH}" -mkdir -p "${CONFIGURATION_BUILD_DIR}/${FRAMEWORKS_FOLDER_PATH}" - -SWIFT_STDLIB_PATH="${DT_TOOLCHAIN_DIR}/usr/lib/swift/${PLATFORM_NAME}" - -install_framework() -{ - if [ -r "${BUILT_PRODUCTS_DIR}/$1" ]; then - local source="${BUILT_PRODUCTS_DIR}/$1" - elif [ -r "${BUILT_PRODUCTS_DIR}/$(basename "$1")" ]; then - local source="${BUILT_PRODUCTS_DIR}/$(basename "$1")" - elif [ -r "$1" ]; then - local source="$1" - fi - - local destination="${TARGET_BUILD_DIR}/${FRAMEWORKS_FOLDER_PATH}" - - if [ -L "${source}" ]; then - echo "Symlinked..." - source="$(readlink "${source}")" - fi - - # use filter instead of exclude so missing patterns dont' throw errors - echo "rsync -av --filter \"- CVS/\" --filter \"- .svn/\" --filter \"- .git/\" --filter \"- .hg/\" --filter \"- Headers\" --filter \"- PrivateHeaders\" --filter \"- Modules\" \"${source}\" \"${destination}\"" - rsync -av --filter "- CVS/" --filter "- .svn/" --filter "- .git/" --filter "- .hg/" --filter "- Headers" --filter "- PrivateHeaders" --filter "- Modules" "${source}" "${destination}" - - local basename - basename="$(basename -s .framework "$1")" - binary="${destination}/${basename}.framework/${basename}" - if ! [ -r "$binary" ]; then - binary="${destination}/${basename}" - fi - - # Strip invalid architectures so "fat" simulator / device frameworks work on device - if [[ "$(file "$binary")" == *"dynamically linked shared library"* ]]; then - strip_invalid_archs "$binary" - fi - - # Resign the code if required by the build settings to avoid unstable apps - code_sign_if_enabled "${destination}/$(basename "$1")" - - # Embed linked Swift runtime libraries. No longer necessary as of Xcode 7. - if [ "${XCODE_VERSION_MAJOR}" -lt 7 ]; then - local swift_runtime_libs - swift_runtime_libs=$(xcrun otool -LX "$binary" | grep --color=never @rpath/libswift | sed -E s/@rpath\\/\(.+dylib\).*/\\1/g | uniq -u && exit ${PIPESTATUS[0]}) - for lib in $swift_runtime_libs; do - echo "rsync -auv \"${SWIFT_STDLIB_PATH}/${lib}\" \"${destination}\"" - rsync -auv "${SWIFT_STDLIB_PATH}/${lib}" "${destination}" - code_sign_if_enabled "${destination}/${lib}" - done - fi -} - -# Signs a framework with the provided identity -code_sign_if_enabled() { - if [ -n "${EXPANDED_CODE_SIGN_IDENTITY}" -a "${CODE_SIGNING_REQUIRED}" != "NO" -a "${CODE_SIGNING_ALLOWED}" != "NO" ]; then - # Use the current code_sign_identitiy - echo "Code Signing $1 with Identity ${EXPANDED_CODE_SIGN_IDENTITY_NAME}" - local code_sign_cmd="/usr/bin/codesign --force --sign ${EXPANDED_CODE_SIGN_IDENTITY} ${OTHER_CODE_SIGN_FLAGS} --preserve-metadata=identifier,entitlements '$1'" - - if [ "${COCOAPODS_PARALLEL_CODE_SIGN}" == "true" ]; then - code_sign_cmd="$code_sign_cmd &" - fi - echo "$code_sign_cmd" - eval "$code_sign_cmd" - fi -} - -# Strip invalid architectures -strip_invalid_archs() { - binary="$1" - # Get architectures for current file - archs="$(lipo -info "$binary" | rev | cut -d ':' -f1 | rev)" - stripped="" - for arch in $archs; do - if ! [[ "${VALID_ARCHS}" == *"$arch"* ]]; then - # Strip non-valid architectures in-place - lipo -remove "$arch" -output "$binary" "$binary" || exit 1 - stripped="$stripped $arch" - fi - done - if [[ "$stripped" ]]; then - echo "Stripped $binary of architectures:$stripped" - fi -} - - -if [[ "$CONFIGURATION" == "Debug" ]]; then - install_framework "$BUILT_PRODUCTS_DIR/FCAlertView/FCAlertView.framework" -fi -if [[ "$CONFIGURATION" == "Release" ]]; then - install_framework "$BUILT_PRODUCTS_DIR/FCAlertView/FCAlertView.framework" -fi -if [ "${COCOAPODS_PARALLEL_CODE_SIGN}" == "true" ]; then - wait -fi diff --git a/Example/Pods/Target Support Files/Pods-FCAlertView_Example/Pods-FCAlertView_Example-resources.sh b/Example/Pods/Target Support Files/Pods-FCAlertView_Example/Pods-FCAlertView_Example-resources.sh deleted file mode 100755 index 4602c68..0000000 --- a/Example/Pods/Target Support Files/Pods-FCAlertView_Example/Pods-FCAlertView_Example-resources.sh +++ /dev/null @@ -1,99 +0,0 @@ -#!/bin/sh -set -e - -mkdir -p "${TARGET_BUILD_DIR}/${UNLOCALIZED_RESOURCES_FOLDER_PATH}" - -RESOURCES_TO_COPY=${PODS_ROOT}/resources-to-copy-${TARGETNAME}.txt -> "$RESOURCES_TO_COPY" - -XCASSET_FILES=() - -case "${TARGETED_DEVICE_FAMILY}" in - 1,2) - TARGET_DEVICE_ARGS="--target-device ipad --target-device iphone" - ;; - 1) - TARGET_DEVICE_ARGS="--target-device iphone" - ;; - 2) - TARGET_DEVICE_ARGS="--target-device ipad" - ;; - 3) - TARGET_DEVICE_ARGS="--target-device tv" - ;; - *) - TARGET_DEVICE_ARGS="--target-device mac" - ;; -esac - -install_resource() -{ - if [[ "$1" = /* ]] ; then - RESOURCE_PATH="$1" - else - RESOURCE_PATH="${PODS_ROOT}/$1" - fi - if [[ ! -e "$RESOURCE_PATH" ]] ; then - cat << EOM -error: Resource "$RESOURCE_PATH" not found. Run 'pod install' to update the copy resources script. -EOM - exit 1 - fi - case $RESOURCE_PATH in - *.storyboard) - 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}" - 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} - ;; - *.xib) - 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}" - 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} - ;; - *.framework) - echo "mkdir -p ${TARGET_BUILD_DIR}/${FRAMEWORKS_FOLDER_PATH}" - mkdir -p "${TARGET_BUILD_DIR}/${FRAMEWORKS_FOLDER_PATH}" - echo "rsync -av $RESOURCE_PATH ${TARGET_BUILD_DIR}/${FRAMEWORKS_FOLDER_PATH}" - rsync -av "$RESOURCE_PATH" "${TARGET_BUILD_DIR}/${FRAMEWORKS_FOLDER_PATH}" - ;; - *.xcdatamodel) - echo "xcrun momc \"$RESOURCE_PATH\" \"${TARGET_BUILD_DIR}/${UNLOCALIZED_RESOURCES_FOLDER_PATH}/`basename "$RESOURCE_PATH"`.mom\"" - xcrun momc "$RESOURCE_PATH" "${TARGET_BUILD_DIR}/${UNLOCALIZED_RESOURCES_FOLDER_PATH}/`basename "$RESOURCE_PATH" .xcdatamodel`.mom" - ;; - *.xcdatamodeld) - echo "xcrun momc \"$RESOURCE_PATH\" \"${TARGET_BUILD_DIR}/${UNLOCALIZED_RESOURCES_FOLDER_PATH}/`basename "$RESOURCE_PATH" .xcdatamodeld`.momd\"" - xcrun momc "$RESOURCE_PATH" "${TARGET_BUILD_DIR}/${UNLOCALIZED_RESOURCES_FOLDER_PATH}/`basename "$RESOURCE_PATH" .xcdatamodeld`.momd" - ;; - *.xcmappingmodel) - echo "xcrun mapc \"$RESOURCE_PATH\" \"${TARGET_BUILD_DIR}/${UNLOCALIZED_RESOURCES_FOLDER_PATH}/`basename "$RESOURCE_PATH" .xcmappingmodel`.cdm\"" - xcrun mapc "$RESOURCE_PATH" "${TARGET_BUILD_DIR}/${UNLOCALIZED_RESOURCES_FOLDER_PATH}/`basename "$RESOURCE_PATH" .xcmappingmodel`.cdm" - ;; - *.xcassets) - ABSOLUTE_XCASSET_FILE="$RESOURCE_PATH" - XCASSET_FILES+=("$ABSOLUTE_XCASSET_FILE") - ;; - *) - echo "$RESOURCE_PATH" - echo "$RESOURCE_PATH" >> "$RESOURCES_TO_COPY" - ;; - esac -} - -mkdir -p "${TARGET_BUILD_DIR}/${UNLOCALIZED_RESOURCES_FOLDER_PATH}" -rsync -avr --copy-links --no-relative --exclude '*/.svn/*' --files-from="$RESOURCES_TO_COPY" / "${TARGET_BUILD_DIR}/${UNLOCALIZED_RESOURCES_FOLDER_PATH}" -if [[ "${ACTION}" == "install" ]] && [[ "${SKIP_INSTALL}" == "NO" ]]; then - mkdir -p "${INSTALL_DIR}/${UNLOCALIZED_RESOURCES_FOLDER_PATH}" - rsync -avr --copy-links --no-relative --exclude '*/.svn/*' --files-from="$RESOURCES_TO_COPY" / "${INSTALL_DIR}/${UNLOCALIZED_RESOURCES_FOLDER_PATH}" -fi -rm -f "$RESOURCES_TO_COPY" - -if [[ -n "${WRAPPER_EXTENSION}" ]] && [ "`xcrun --find actool`" ] && [ -n "$XCASSET_FILES" ] -then - # Find all other xcassets (this unfortunately includes those of path pods and other targets). - OTHER_XCASSETS=$(find "$PWD" -iname "*.xcassets" -type d) - while read line; do - if [[ $line != "${PODS_ROOT}*" ]]; then - XCASSET_FILES+=("$line") - fi - done <<<"$OTHER_XCASSETS" - - 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}" -fi diff --git a/Example/Pods/Target Support Files/Pods-FCAlertView_Example/Pods-FCAlertView_Example-umbrella.h b/Example/Pods/Target Support Files/Pods-FCAlertView_Example/Pods-FCAlertView_Example-umbrella.h deleted file mode 100644 index 8453335..0000000 --- a/Example/Pods/Target Support Files/Pods-FCAlertView_Example/Pods-FCAlertView_Example-umbrella.h +++ /dev/null @@ -1,16 +0,0 @@ -#ifdef __OBJC__ -#import -#else -#ifndef FOUNDATION_EXPORT -#if defined(__cplusplus) -#define FOUNDATION_EXPORT extern "C" -#else -#define FOUNDATION_EXPORT extern -#endif -#endif -#endif - - -FOUNDATION_EXPORT double Pods_FCAlertView_ExampleVersionNumber; -FOUNDATION_EXPORT const unsigned char Pods_FCAlertView_ExampleVersionString[]; - diff --git a/Example/Pods/Target Support Files/Pods-FCAlertView_Example/Pods-FCAlertView_Example.debug.xcconfig b/Example/Pods/Target Support Files/Pods-FCAlertView_Example/Pods-FCAlertView_Example.debug.xcconfig deleted file mode 100644 index 7df3bf2..0000000 --- a/Example/Pods/Target Support Files/Pods-FCAlertView_Example/Pods-FCAlertView_Example.debug.xcconfig +++ /dev/null @@ -1,8 +0,0 @@ -FRAMEWORK_SEARCH_PATHS = $(inherited) "$PODS_CONFIGURATION_BUILD_DIR/FCAlertView" -GCC_PREPROCESSOR_DEFINITIONS = $(inherited) COCOAPODS=1 -LD_RUNPATH_SEARCH_PATHS = $(inherited) '@executable_path/Frameworks' '@loader_path/Frameworks' -OTHER_CFLAGS = $(inherited) -iquote "$PODS_CONFIGURATION_BUILD_DIR/FCAlertView/FCAlertView.framework/Headers" -OTHER_LDFLAGS = $(inherited) -framework "FCAlertView" -PODS_BUILD_DIR = $BUILD_DIR -PODS_CONFIGURATION_BUILD_DIR = $PODS_BUILD_DIR/$(CONFIGURATION)$(EFFECTIVE_PLATFORM_NAME) -PODS_ROOT = ${SRCROOT}/Pods diff --git a/Example/Pods/Target Support Files/Pods-FCAlertView_Example/Pods-FCAlertView_Example.modulemap b/Example/Pods/Target Support Files/Pods-FCAlertView_Example/Pods-FCAlertView_Example.modulemap deleted file mode 100644 index aed426b..0000000 --- a/Example/Pods/Target Support Files/Pods-FCAlertView_Example/Pods-FCAlertView_Example.modulemap +++ /dev/null @@ -1,6 +0,0 @@ -framework module Pods_FCAlertView_Example { - umbrella header "Pods-FCAlertView_Example-umbrella.h" - - export * - module * { export * } -} diff --git a/Example/Pods/Target Support Files/Pods-FCAlertView_Example/Pods-FCAlertView_Example.release.xcconfig b/Example/Pods/Target Support Files/Pods-FCAlertView_Example/Pods-FCAlertView_Example.release.xcconfig deleted file mode 100644 index 7df3bf2..0000000 --- a/Example/Pods/Target Support Files/Pods-FCAlertView_Example/Pods-FCAlertView_Example.release.xcconfig +++ /dev/null @@ -1,8 +0,0 @@ -FRAMEWORK_SEARCH_PATHS = $(inherited) "$PODS_CONFIGURATION_BUILD_DIR/FCAlertView" -GCC_PREPROCESSOR_DEFINITIONS = $(inherited) COCOAPODS=1 -LD_RUNPATH_SEARCH_PATHS = $(inherited) '@executable_path/Frameworks' '@loader_path/Frameworks' -OTHER_CFLAGS = $(inherited) -iquote "$PODS_CONFIGURATION_BUILD_DIR/FCAlertView/FCAlertView.framework/Headers" -OTHER_LDFLAGS = $(inherited) -framework "FCAlertView" -PODS_BUILD_DIR = $BUILD_DIR -PODS_CONFIGURATION_BUILD_DIR = $PODS_BUILD_DIR/$(CONFIGURATION)$(EFFECTIVE_PLATFORM_NAME) -PODS_ROOT = ${SRCROOT}/Pods diff --git a/Example/Pods/Target Support Files/Pods-FCAlertView_Tests/Info.plist b/Example/Pods/Target Support Files/Pods-FCAlertView_Tests/Info.plist deleted file mode 100644 index 2243fe6..0000000 --- a/Example/Pods/Target Support Files/Pods-FCAlertView_Tests/Info.plist +++ /dev/null @@ -1,26 +0,0 @@ - - - - - CFBundleDevelopmentRegion - en - CFBundleExecutable - ${EXECUTABLE_NAME} - CFBundleIdentifier - ${PRODUCT_BUNDLE_IDENTIFIER} - CFBundleInfoDictionaryVersion - 6.0 - CFBundleName - ${PRODUCT_NAME} - CFBundlePackageType - FMWK - CFBundleShortVersionString - 1.0.0 - CFBundleSignature - ???? - CFBundleVersion - ${CURRENT_PROJECT_VERSION} - NSPrincipalClass - - - diff --git a/Example/Pods/Target Support Files/Pods-FCAlertView_Tests/Pods-FCAlertView_Tests-acknowledgements.markdown b/Example/Pods/Target Support Files/Pods-FCAlertView_Tests/Pods-FCAlertView_Tests-acknowledgements.markdown deleted file mode 100644 index 102af75..0000000 --- a/Example/Pods/Target Support Files/Pods-FCAlertView_Tests/Pods-FCAlertView_Tests-acknowledgements.markdown +++ /dev/null @@ -1,3 +0,0 @@ -# Acknowledgements -This application makes use of the following third party libraries: -Generated by CocoaPods - https://cocoapods.org diff --git a/Example/Pods/Target Support Files/Pods-FCAlertView_Tests/Pods-FCAlertView_Tests-acknowledgements.plist b/Example/Pods/Target Support Files/Pods-FCAlertView_Tests/Pods-FCAlertView_Tests-acknowledgements.plist deleted file mode 100644 index 7acbad1..0000000 --- a/Example/Pods/Target Support Files/Pods-FCAlertView_Tests/Pods-FCAlertView_Tests-acknowledgements.plist +++ /dev/null @@ -1,29 +0,0 @@ - - - - - PreferenceSpecifiers - - - FooterText - This application makes use of the following third party libraries: - Title - Acknowledgements - Type - PSGroupSpecifier - - - FooterText - Generated by CocoaPods - https://cocoapods.org - Title - - Type - PSGroupSpecifier - - - StringsTable - Acknowledgements - Title - Acknowledgements - - diff --git a/Example/Pods/Target Support Files/Pods-FCAlertView_Tests/Pods-FCAlertView_Tests-dummy.m b/Example/Pods/Target Support Files/Pods-FCAlertView_Tests/Pods-FCAlertView_Tests-dummy.m deleted file mode 100644 index 66d94ef..0000000 --- a/Example/Pods/Target Support Files/Pods-FCAlertView_Tests/Pods-FCAlertView_Tests-dummy.m +++ /dev/null @@ -1,5 +0,0 @@ -#import -@interface PodsDummy_Pods_FCAlertView_Tests : NSObject -@end -@implementation PodsDummy_Pods_FCAlertView_Tests -@end diff --git a/Example/Pods/Target Support Files/Pods-FCAlertView_Tests/Pods-FCAlertView_Tests-frameworks.sh b/Example/Pods/Target Support Files/Pods-FCAlertView_Tests/Pods-FCAlertView_Tests-frameworks.sh deleted file mode 100755 index 0f29f13..0000000 --- a/Example/Pods/Target Support Files/Pods-FCAlertView_Tests/Pods-FCAlertView_Tests-frameworks.sh +++ /dev/null @@ -1,92 +0,0 @@ -#!/bin/sh -set -e - -echo "mkdir -p ${CONFIGURATION_BUILD_DIR}/${FRAMEWORKS_FOLDER_PATH}" -mkdir -p "${CONFIGURATION_BUILD_DIR}/${FRAMEWORKS_FOLDER_PATH}" - -SWIFT_STDLIB_PATH="${DT_TOOLCHAIN_DIR}/usr/lib/swift/${PLATFORM_NAME}" - -install_framework() -{ - if [ -r "${BUILT_PRODUCTS_DIR}/$1" ]; then - local source="${BUILT_PRODUCTS_DIR}/$1" - elif [ -r "${BUILT_PRODUCTS_DIR}/$(basename "$1")" ]; then - local source="${BUILT_PRODUCTS_DIR}/$(basename "$1")" - elif [ -r "$1" ]; then - local source="$1" - fi - - local destination="${TARGET_BUILD_DIR}/${FRAMEWORKS_FOLDER_PATH}" - - if [ -L "${source}" ]; then - echo "Symlinked..." - source="$(readlink "${source}")" - fi - - # use filter instead of exclude so missing patterns dont' throw errors - echo "rsync -av --filter \"- CVS/\" --filter \"- .svn/\" --filter \"- .git/\" --filter \"- .hg/\" --filter \"- Headers\" --filter \"- PrivateHeaders\" --filter \"- Modules\" \"${source}\" \"${destination}\"" - rsync -av --filter "- CVS/" --filter "- .svn/" --filter "- .git/" --filter "- .hg/" --filter "- Headers" --filter "- PrivateHeaders" --filter "- Modules" "${source}" "${destination}" - - local basename - basename="$(basename -s .framework "$1")" - binary="${destination}/${basename}.framework/${basename}" - if ! [ -r "$binary" ]; then - binary="${destination}/${basename}" - fi - - # Strip invalid architectures so "fat" simulator / device frameworks work on device - if [[ "$(file "$binary")" == *"dynamically linked shared library"* ]]; then - strip_invalid_archs "$binary" - fi - - # Resign the code if required by the build settings to avoid unstable apps - code_sign_if_enabled "${destination}/$(basename "$1")" - - # Embed linked Swift runtime libraries. No longer necessary as of Xcode 7. - if [ "${XCODE_VERSION_MAJOR}" -lt 7 ]; then - local swift_runtime_libs - swift_runtime_libs=$(xcrun otool -LX "$binary" | grep --color=never @rpath/libswift | sed -E s/@rpath\\/\(.+dylib\).*/\\1/g | uniq -u && exit ${PIPESTATUS[0]}) - for lib in $swift_runtime_libs; do - echo "rsync -auv \"${SWIFT_STDLIB_PATH}/${lib}\" \"${destination}\"" - rsync -auv "${SWIFT_STDLIB_PATH}/${lib}" "${destination}" - code_sign_if_enabled "${destination}/${lib}" - done - fi -} - -# Signs a framework with the provided identity -code_sign_if_enabled() { - if [ -n "${EXPANDED_CODE_SIGN_IDENTITY}" -a "${CODE_SIGNING_REQUIRED}" != "NO" -a "${CODE_SIGNING_ALLOWED}" != "NO" ]; then - # Use the current code_sign_identitiy - echo "Code Signing $1 with Identity ${EXPANDED_CODE_SIGN_IDENTITY_NAME}" - local code_sign_cmd="/usr/bin/codesign --force --sign ${EXPANDED_CODE_SIGN_IDENTITY} ${OTHER_CODE_SIGN_FLAGS} --preserve-metadata=identifier,entitlements '$1'" - - if [ "${COCOAPODS_PARALLEL_CODE_SIGN}" == "true" ]; then - code_sign_cmd="$code_sign_cmd &" - fi - echo "$code_sign_cmd" - eval "$code_sign_cmd" - fi -} - -# Strip invalid architectures -strip_invalid_archs() { - binary="$1" - # Get architectures for current file - archs="$(lipo -info "$binary" | rev | cut -d ':' -f1 | rev)" - stripped="" - for arch in $archs; do - if ! [[ "${VALID_ARCHS}" == *"$arch"* ]]; then - # Strip non-valid architectures in-place - lipo -remove "$arch" -output "$binary" "$binary" || exit 1 - stripped="$stripped $arch" - fi - done - if [[ "$stripped" ]]; then - echo "Stripped $binary of architectures:$stripped" - fi -} - -if [ "${COCOAPODS_PARALLEL_CODE_SIGN}" == "true" ]; then - wait -fi diff --git a/Example/Pods/Target Support Files/Pods-FCAlertView_Tests/Pods-FCAlertView_Tests-resources.sh b/Example/Pods/Target Support Files/Pods-FCAlertView_Tests/Pods-FCAlertView_Tests-resources.sh deleted file mode 100755 index 4602c68..0000000 --- a/Example/Pods/Target Support Files/Pods-FCAlertView_Tests/Pods-FCAlertView_Tests-resources.sh +++ /dev/null @@ -1,99 +0,0 @@ -#!/bin/sh -set -e - -mkdir -p "${TARGET_BUILD_DIR}/${UNLOCALIZED_RESOURCES_FOLDER_PATH}" - -RESOURCES_TO_COPY=${PODS_ROOT}/resources-to-copy-${TARGETNAME}.txt -> "$RESOURCES_TO_COPY" - -XCASSET_FILES=() - -case "${TARGETED_DEVICE_FAMILY}" in - 1,2) - TARGET_DEVICE_ARGS="--target-device ipad --target-device iphone" - ;; - 1) - TARGET_DEVICE_ARGS="--target-device iphone" - ;; - 2) - TARGET_DEVICE_ARGS="--target-device ipad" - ;; - 3) - TARGET_DEVICE_ARGS="--target-device tv" - ;; - *) - TARGET_DEVICE_ARGS="--target-device mac" - ;; -esac - -install_resource() -{ - if [[ "$1" = /* ]] ; then - RESOURCE_PATH="$1" - else - RESOURCE_PATH="${PODS_ROOT}/$1" - fi - if [[ ! -e "$RESOURCE_PATH" ]] ; then - cat << EOM -error: Resource "$RESOURCE_PATH" not found. Run 'pod install' to update the copy resources script. -EOM - exit 1 - fi - case $RESOURCE_PATH in - *.storyboard) - 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}" - 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} - ;; - *.xib) - 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}" - 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} - ;; - *.framework) - echo "mkdir -p ${TARGET_BUILD_DIR}/${FRAMEWORKS_FOLDER_PATH}" - mkdir -p "${TARGET_BUILD_DIR}/${FRAMEWORKS_FOLDER_PATH}" - echo "rsync -av $RESOURCE_PATH ${TARGET_BUILD_DIR}/${FRAMEWORKS_FOLDER_PATH}" - rsync -av "$RESOURCE_PATH" "${TARGET_BUILD_DIR}/${FRAMEWORKS_FOLDER_PATH}" - ;; - *.xcdatamodel) - echo "xcrun momc \"$RESOURCE_PATH\" \"${TARGET_BUILD_DIR}/${UNLOCALIZED_RESOURCES_FOLDER_PATH}/`basename "$RESOURCE_PATH"`.mom\"" - xcrun momc "$RESOURCE_PATH" "${TARGET_BUILD_DIR}/${UNLOCALIZED_RESOURCES_FOLDER_PATH}/`basename "$RESOURCE_PATH" .xcdatamodel`.mom" - ;; - *.xcdatamodeld) - echo "xcrun momc \"$RESOURCE_PATH\" \"${TARGET_BUILD_DIR}/${UNLOCALIZED_RESOURCES_FOLDER_PATH}/`basename "$RESOURCE_PATH" .xcdatamodeld`.momd\"" - xcrun momc "$RESOURCE_PATH" "${TARGET_BUILD_DIR}/${UNLOCALIZED_RESOURCES_FOLDER_PATH}/`basename "$RESOURCE_PATH" .xcdatamodeld`.momd" - ;; - *.xcmappingmodel) - echo "xcrun mapc \"$RESOURCE_PATH\" \"${TARGET_BUILD_DIR}/${UNLOCALIZED_RESOURCES_FOLDER_PATH}/`basename "$RESOURCE_PATH" .xcmappingmodel`.cdm\"" - xcrun mapc "$RESOURCE_PATH" "${TARGET_BUILD_DIR}/${UNLOCALIZED_RESOURCES_FOLDER_PATH}/`basename "$RESOURCE_PATH" .xcmappingmodel`.cdm" - ;; - *.xcassets) - ABSOLUTE_XCASSET_FILE="$RESOURCE_PATH" - XCASSET_FILES+=("$ABSOLUTE_XCASSET_FILE") - ;; - *) - echo "$RESOURCE_PATH" - echo "$RESOURCE_PATH" >> "$RESOURCES_TO_COPY" - ;; - esac -} - -mkdir -p "${TARGET_BUILD_DIR}/${UNLOCALIZED_RESOURCES_FOLDER_PATH}" -rsync -avr --copy-links --no-relative --exclude '*/.svn/*' --files-from="$RESOURCES_TO_COPY" / "${TARGET_BUILD_DIR}/${UNLOCALIZED_RESOURCES_FOLDER_PATH}" -if [[ "${ACTION}" == "install" ]] && [[ "${SKIP_INSTALL}" == "NO" ]]; then - mkdir -p "${INSTALL_DIR}/${UNLOCALIZED_RESOURCES_FOLDER_PATH}" - rsync -avr --copy-links --no-relative --exclude '*/.svn/*' --files-from="$RESOURCES_TO_COPY" / "${INSTALL_DIR}/${UNLOCALIZED_RESOURCES_FOLDER_PATH}" -fi -rm -f "$RESOURCES_TO_COPY" - -if [[ -n "${WRAPPER_EXTENSION}" ]] && [ "`xcrun --find actool`" ] && [ -n "$XCASSET_FILES" ] -then - # Find all other xcassets (this unfortunately includes those of path pods and other targets). - OTHER_XCASSETS=$(find "$PWD" -iname "*.xcassets" -type d) - while read line; do - if [[ $line != "${PODS_ROOT}*" ]]; then - XCASSET_FILES+=("$line") - fi - done <<<"$OTHER_XCASSETS" - - 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}" -fi diff --git a/Example/Pods/Target Support Files/Pods-FCAlertView_Tests/Pods-FCAlertView_Tests-umbrella.h b/Example/Pods/Target Support Files/Pods-FCAlertView_Tests/Pods-FCAlertView_Tests-umbrella.h deleted file mode 100644 index a7716cd..0000000 --- a/Example/Pods/Target Support Files/Pods-FCAlertView_Tests/Pods-FCAlertView_Tests-umbrella.h +++ /dev/null @@ -1,16 +0,0 @@ -#ifdef __OBJC__ -#import -#else -#ifndef FOUNDATION_EXPORT -#if defined(__cplusplus) -#define FOUNDATION_EXPORT extern "C" -#else -#define FOUNDATION_EXPORT extern -#endif -#endif -#endif - - -FOUNDATION_EXPORT double Pods_FCAlertView_TestsVersionNumber; -FOUNDATION_EXPORT const unsigned char Pods_FCAlertView_TestsVersionString[]; - diff --git a/Example/Pods/Target Support Files/Pods-FCAlertView_Tests/Pods-FCAlertView_Tests.debug.xcconfig b/Example/Pods/Target Support Files/Pods-FCAlertView_Tests/Pods-FCAlertView_Tests.debug.xcconfig deleted file mode 100644 index b98e913..0000000 --- a/Example/Pods/Target Support Files/Pods-FCAlertView_Tests/Pods-FCAlertView_Tests.debug.xcconfig +++ /dev/null @@ -1,7 +0,0 @@ -FRAMEWORK_SEARCH_PATHS = $(inherited) "$PODS_CONFIGURATION_BUILD_DIR/FCAlertView" -GCC_PREPROCESSOR_DEFINITIONS = $(inherited) COCOAPODS=1 -LD_RUNPATH_SEARCH_PATHS = $(inherited) '@executable_path/Frameworks' '@loader_path/Frameworks' -OTHER_CFLAGS = $(inherited) -iquote "$PODS_CONFIGURATION_BUILD_DIR/FCAlertView/FCAlertView.framework/Headers" -PODS_BUILD_DIR = $BUILD_DIR -PODS_CONFIGURATION_BUILD_DIR = $PODS_BUILD_DIR/$(CONFIGURATION)$(EFFECTIVE_PLATFORM_NAME) -PODS_ROOT = ${SRCROOT}/Pods diff --git a/Example/Pods/Target Support Files/Pods-FCAlertView_Tests/Pods-FCAlertView_Tests.modulemap b/Example/Pods/Target Support Files/Pods-FCAlertView_Tests/Pods-FCAlertView_Tests.modulemap deleted file mode 100644 index c2736fe..0000000 --- a/Example/Pods/Target Support Files/Pods-FCAlertView_Tests/Pods-FCAlertView_Tests.modulemap +++ /dev/null @@ -1,6 +0,0 @@ -framework module Pods_FCAlertView_Tests { - umbrella header "Pods-FCAlertView_Tests-umbrella.h" - - export * - module * { export * } -} diff --git a/Example/Pods/Target Support Files/Pods-FCAlertView_Tests/Pods-FCAlertView_Tests.release.xcconfig b/Example/Pods/Target Support Files/Pods-FCAlertView_Tests/Pods-FCAlertView_Tests.release.xcconfig deleted file mode 100644 index b98e913..0000000 --- a/Example/Pods/Target Support Files/Pods-FCAlertView_Tests/Pods-FCAlertView_Tests.release.xcconfig +++ /dev/null @@ -1,7 +0,0 @@ -FRAMEWORK_SEARCH_PATHS = $(inherited) "$PODS_CONFIGURATION_BUILD_DIR/FCAlertView" -GCC_PREPROCESSOR_DEFINITIONS = $(inherited) COCOAPODS=1 -LD_RUNPATH_SEARCH_PATHS = $(inherited) '@executable_path/Frameworks' '@loader_path/Frameworks' -OTHER_CFLAGS = $(inherited) -iquote "$PODS_CONFIGURATION_BUILD_DIR/FCAlertView/FCAlertView.framework/Headers" -PODS_BUILD_DIR = $BUILD_DIR -PODS_CONFIGURATION_BUILD_DIR = $PODS_BUILD_DIR/$(CONFIGURATION)$(EFFECTIVE_PLATFORM_NAME) -PODS_ROOT = ${SRCROOT}/Pods diff --git a/Example/build/Pods.build/Debug-iphoneos/FCAlertView.build/DerivedSources/FCAlertView_vers.c b/Example/build/Pods.build/Debug-iphoneos/FCAlertView.build/DerivedSources/FCAlertView_vers.c deleted file mode 100644 index fa9c374..0000000 --- a/Example/build/Pods.build/Debug-iphoneos/FCAlertView.build/DerivedSources/FCAlertView_vers.c +++ /dev/null @@ -1 +0,0 @@ - const unsigned char FCAlertViewVersionString[] __attribute__ ((used)) = "@(#)PROGRAM:FCAlertView PROJECT:Pods-1" "\n"; const double FCAlertViewVersionNumber __attribute__ ((used)) = (double)1.; diff --git a/Example/build/Pods.build/Debug-iphoneos/FCAlertView.build/FCAlertView-all-non-framework-target-headers.hmap b/Example/build/Pods.build/Debug-iphoneos/FCAlertView.build/FCAlertView-all-non-framework-target-headers.hmap deleted file mode 100644 index 5c408cc..0000000 Binary files a/Example/build/Pods.build/Debug-iphoneos/FCAlertView.build/FCAlertView-all-non-framework-target-headers.hmap and /dev/null differ diff --git a/Example/build/Pods.build/Debug-iphoneos/FCAlertView.build/FCAlertView-all-target-headers.hmap b/Example/build/Pods.build/Debug-iphoneos/FCAlertView.build/FCAlertView-all-target-headers.hmap deleted file mode 100644 index 5c408cc..0000000 Binary files a/Example/build/Pods.build/Debug-iphoneos/FCAlertView.build/FCAlertView-all-target-headers.hmap and /dev/null differ diff --git a/Example/build/Pods.build/Debug-iphoneos/FCAlertView.build/FCAlertView-generated-files.hmap b/Example/build/Pods.build/Debug-iphoneos/FCAlertView.build/FCAlertView-generated-files.hmap deleted file mode 100644 index 8f7f2f5..0000000 Binary files a/Example/build/Pods.build/Debug-iphoneos/FCAlertView.build/FCAlertView-generated-files.hmap and /dev/null differ diff --git a/Example/build/Pods.build/Debug-iphoneos/FCAlertView.build/FCAlertView-own-target-headers.hmap b/Example/build/Pods.build/Debug-iphoneos/FCAlertView.build/FCAlertView-own-target-headers.hmap deleted file mode 100644 index d0a3051..0000000 Binary files a/Example/build/Pods.build/Debug-iphoneos/FCAlertView.build/FCAlertView-own-target-headers.hmap and /dev/null differ diff --git a/Example/build/Pods.build/Debug-iphoneos/FCAlertView.build/FCAlertView-project-headers.hmap b/Example/build/Pods.build/Debug-iphoneos/FCAlertView.build/FCAlertView-project-headers.hmap deleted file mode 100644 index 223868d..0000000 Binary files a/Example/build/Pods.build/Debug-iphoneos/FCAlertView.build/FCAlertView-project-headers.hmap and /dev/null differ diff --git a/Example/build/Pods.build/Debug-iphoneos/FCAlertView.build/FCAlertView.hmap b/Example/build/Pods.build/Debug-iphoneos/FCAlertView.build/FCAlertView.hmap deleted file mode 100644 index 4c54227..0000000 Binary files a/Example/build/Pods.build/Debug-iphoneos/FCAlertView.build/FCAlertView.hmap and /dev/null differ diff --git a/Example/build/Pods.build/Debug-iphoneos/FCAlertView.build/Objects-normal/arm64/FCAlertView.LinkFileList b/Example/build/Pods.build/Debug-iphoneos/FCAlertView.build/Objects-normal/arm64/FCAlertView.LinkFileList deleted file mode 100644 index 0ef4f32..0000000 --- a/Example/build/Pods.build/Debug-iphoneos/FCAlertView.build/Objects-normal/arm64/FCAlertView.LinkFileList +++ /dev/null @@ -1,3 +0,0 @@ -/Users/Nima/Desktop/FCAlertView/Example/build/Pods.build/Debug-iphoneos/FCAlertView.build/Objects-normal/arm64/FCAlertView-dummy.o -/Users/Nima/Desktop/FCAlertView/Example/build/Pods.build/Debug-iphoneos/FCAlertView.build/Objects-normal/arm64/FCAlertView.o -/Users/Nima/Desktop/FCAlertView/Example/build/Pods.build/Debug-iphoneos/FCAlertView.build/Objects-normal/arm64/FCAlertView_vers.o diff --git a/Example/build/Pods.build/Debug-iphoneos/FCAlertView.build/Objects-normal/armv7/FCAlertView.LinkFileList b/Example/build/Pods.build/Debug-iphoneos/FCAlertView.build/Objects-normal/armv7/FCAlertView.LinkFileList deleted file mode 100644 index 7d9eb75..0000000 --- a/Example/build/Pods.build/Debug-iphoneos/FCAlertView.build/Objects-normal/armv7/FCAlertView.LinkFileList +++ /dev/null @@ -1,3 +0,0 @@ -/Users/Nima/Desktop/FCAlertView/Example/build/Pods.build/Debug-iphoneos/FCAlertView.build/Objects-normal/armv7/FCAlertView-dummy.o -/Users/Nima/Desktop/FCAlertView/Example/build/Pods.build/Debug-iphoneos/FCAlertView.build/Objects-normal/armv7/FCAlertView.o -/Users/Nima/Desktop/FCAlertView/Example/build/Pods.build/Debug-iphoneos/FCAlertView.build/Objects-normal/armv7/FCAlertView_vers.o diff --git a/Example/build/Pods.build/Debug-iphoneos/FCAlertView.build/dgph b/Example/build/Pods.build/Debug-iphoneos/FCAlertView.build/dgph deleted file mode 100644 index 2970580..0000000 Binary files a/Example/build/Pods.build/Debug-iphoneos/FCAlertView.build/dgph and /dev/null differ diff --git a/Example/build/Pods.build/Debug-iphoneos/FCAlertView.build/module.modulemap b/Example/build/Pods.build/Debug-iphoneos/FCAlertView.build/module.modulemap deleted file mode 100644 index a600cce..0000000 --- a/Example/build/Pods.build/Debug-iphoneos/FCAlertView.build/module.modulemap +++ /dev/null @@ -1,6 +0,0 @@ -framework module FCAlertView { - umbrella header "FCAlertView-umbrella.h" - - export * - module * { export * } -} diff --git a/Example/build/Pods.build/Debug-iphoneos/Pods-FCAlertView_Example.build/DerivedSources/Pods_FCAlertView_Example_vers.c b/Example/build/Pods.build/Debug-iphoneos/Pods-FCAlertView_Example.build/DerivedSources/Pods_FCAlertView_Example_vers.c deleted file mode 100644 index fc5d8aa..0000000 --- a/Example/build/Pods.build/Debug-iphoneos/Pods-FCAlertView_Example.build/DerivedSources/Pods_FCAlertView_Example_vers.c +++ /dev/null @@ -1 +0,0 @@ - const unsigned char Pods_FCAlertView_ExampleVersionString[] __attribute__ ((used)) = "@(#)PROGRAM:Pods_FCAlertView_Example PROJECT:Pods-1" "\n"; const double Pods_FCAlertView_ExampleVersionNumber __attribute__ ((used)) = (double)1.; diff --git a/Example/build/Pods.build/Debug-iphoneos/Pods-FCAlertView_Example.build/Objects-normal/arm64/Pods_FCAlertView_Example.LinkFileList b/Example/build/Pods.build/Debug-iphoneos/Pods-FCAlertView_Example.build/Objects-normal/arm64/Pods_FCAlertView_Example.LinkFileList deleted file mode 100644 index d13f115..0000000 --- a/Example/build/Pods.build/Debug-iphoneos/Pods-FCAlertView_Example.build/Objects-normal/arm64/Pods_FCAlertView_Example.LinkFileList +++ /dev/null @@ -1,2 +0,0 @@ -/Users/Nima/Desktop/FCAlertView/Example/build/Pods.build/Debug-iphoneos/Pods-FCAlertView_Example.build/Objects-normal/arm64/Pods-FCAlertView_Example-dummy.o -/Users/Nima/Desktop/FCAlertView/Example/build/Pods.build/Debug-iphoneos/Pods-FCAlertView_Example.build/Objects-normal/arm64/Pods_FCAlertView_Example_vers.o diff --git a/Example/build/Pods.build/Debug-iphoneos/Pods-FCAlertView_Example.build/Objects-normal/armv7/Pods_FCAlertView_Example.LinkFileList b/Example/build/Pods.build/Debug-iphoneos/Pods-FCAlertView_Example.build/Objects-normal/armv7/Pods_FCAlertView_Example.LinkFileList deleted file mode 100644 index 6de59e1..0000000 --- a/Example/build/Pods.build/Debug-iphoneos/Pods-FCAlertView_Example.build/Objects-normal/armv7/Pods_FCAlertView_Example.LinkFileList +++ /dev/null @@ -1,2 +0,0 @@ -/Users/Nima/Desktop/FCAlertView/Example/build/Pods.build/Debug-iphoneos/Pods-FCAlertView_Example.build/Objects-normal/armv7/Pods-FCAlertView_Example-dummy.o -/Users/Nima/Desktop/FCAlertView/Example/build/Pods.build/Debug-iphoneos/Pods-FCAlertView_Example.build/Objects-normal/armv7/Pods_FCAlertView_Example_vers.o diff --git a/Example/build/Pods.build/Debug-iphoneos/Pods-FCAlertView_Example.build/Pods_FCAlertView_Example-all-non-framework-target-headers.hmap b/Example/build/Pods.build/Debug-iphoneos/Pods-FCAlertView_Example.build/Pods_FCAlertView_Example-all-non-framework-target-headers.hmap deleted file mode 100644 index 5c408cc..0000000 Binary files a/Example/build/Pods.build/Debug-iphoneos/Pods-FCAlertView_Example.build/Pods_FCAlertView_Example-all-non-framework-target-headers.hmap and /dev/null differ diff --git a/Example/build/Pods.build/Debug-iphoneos/Pods-FCAlertView_Example.build/Pods_FCAlertView_Example-all-target-headers.hmap b/Example/build/Pods.build/Debug-iphoneos/Pods-FCAlertView_Example.build/Pods_FCAlertView_Example-all-target-headers.hmap deleted file mode 100644 index 5c408cc..0000000 Binary files a/Example/build/Pods.build/Debug-iphoneos/Pods-FCAlertView_Example.build/Pods_FCAlertView_Example-all-target-headers.hmap and /dev/null differ diff --git a/Example/build/Pods.build/Debug-iphoneos/Pods-FCAlertView_Example.build/Pods_FCAlertView_Example-generated-files.hmap b/Example/build/Pods.build/Debug-iphoneos/Pods-FCAlertView_Example.build/Pods_FCAlertView_Example-generated-files.hmap deleted file mode 100644 index 14b03b3..0000000 Binary files a/Example/build/Pods.build/Debug-iphoneos/Pods-FCAlertView_Example.build/Pods_FCAlertView_Example-generated-files.hmap and /dev/null differ diff --git a/Example/build/Pods.build/Debug-iphoneos/Pods-FCAlertView_Example.build/Pods_FCAlertView_Example-own-target-headers.hmap b/Example/build/Pods.build/Debug-iphoneos/Pods-FCAlertView_Example.build/Pods_FCAlertView_Example-own-target-headers.hmap deleted file mode 100644 index 6d2ad53..0000000 Binary files a/Example/build/Pods.build/Debug-iphoneos/Pods-FCAlertView_Example.build/Pods_FCAlertView_Example-own-target-headers.hmap and /dev/null differ diff --git a/Example/build/Pods.build/Debug-iphoneos/Pods-FCAlertView_Example.build/Pods_FCAlertView_Example-project-headers.hmap b/Example/build/Pods.build/Debug-iphoneos/Pods-FCAlertView_Example.build/Pods_FCAlertView_Example-project-headers.hmap deleted file mode 100644 index 223868d..0000000 Binary files a/Example/build/Pods.build/Debug-iphoneos/Pods-FCAlertView_Example.build/Pods_FCAlertView_Example-project-headers.hmap and /dev/null differ diff --git a/Example/build/Pods.build/Debug-iphoneos/Pods-FCAlertView_Example.build/Pods_FCAlertView_Example.hmap b/Example/build/Pods.build/Debug-iphoneos/Pods-FCAlertView_Example.build/Pods_FCAlertView_Example.hmap deleted file mode 100644 index 5d3cca4..0000000 Binary files a/Example/build/Pods.build/Debug-iphoneos/Pods-FCAlertView_Example.build/Pods_FCAlertView_Example.hmap and /dev/null differ diff --git a/Example/build/Pods.build/Debug-iphoneos/Pods-FCAlertView_Example.build/dgph b/Example/build/Pods.build/Debug-iphoneos/Pods-FCAlertView_Example.build/dgph deleted file mode 100644 index 2970580..0000000 Binary files a/Example/build/Pods.build/Debug-iphoneos/Pods-FCAlertView_Example.build/dgph and /dev/null differ diff --git a/Example/build/Pods.build/Debug-iphoneos/Pods-FCAlertView_Example.build/module.modulemap b/Example/build/Pods.build/Debug-iphoneos/Pods-FCAlertView_Example.build/module.modulemap deleted file mode 100644 index aed426b..0000000 --- a/Example/build/Pods.build/Debug-iphoneos/Pods-FCAlertView_Example.build/module.modulemap +++ /dev/null @@ -1,6 +0,0 @@ -framework module Pods_FCAlertView_Example { - umbrella header "Pods-FCAlertView_Example-umbrella.h" - - export * - module * { export * } -} diff --git a/Example/build/Pods.build/Debug-iphoneos/Pods-FCAlertView_Tests.build/DerivedSources/Pods_FCAlertView_Tests_vers.c b/Example/build/Pods.build/Debug-iphoneos/Pods-FCAlertView_Tests.build/DerivedSources/Pods_FCAlertView_Tests_vers.c deleted file mode 100644 index 6efbd33..0000000 --- a/Example/build/Pods.build/Debug-iphoneos/Pods-FCAlertView_Tests.build/DerivedSources/Pods_FCAlertView_Tests_vers.c +++ /dev/null @@ -1 +0,0 @@ - const unsigned char Pods_FCAlertView_TestsVersionString[] __attribute__ ((used)) = "@(#)PROGRAM:Pods_FCAlertView_Tests PROJECT:Pods-1" "\n"; const double Pods_FCAlertView_TestsVersionNumber __attribute__ ((used)) = (double)1.; diff --git a/Example/build/Pods.build/Debug-iphoneos/Pods-FCAlertView_Tests.build/Objects-normal/arm64/Pods_FCAlertView_Tests.LinkFileList b/Example/build/Pods.build/Debug-iphoneos/Pods-FCAlertView_Tests.build/Objects-normal/arm64/Pods_FCAlertView_Tests.LinkFileList deleted file mode 100644 index 9edccb1..0000000 --- a/Example/build/Pods.build/Debug-iphoneos/Pods-FCAlertView_Tests.build/Objects-normal/arm64/Pods_FCAlertView_Tests.LinkFileList +++ /dev/null @@ -1,2 +0,0 @@ -/Users/Nima/Desktop/FCAlertView/Example/build/Pods.build/Debug-iphoneos/Pods-FCAlertView_Tests.build/Objects-normal/arm64/Pods-FCAlertView_Tests-dummy.o -/Users/Nima/Desktop/FCAlertView/Example/build/Pods.build/Debug-iphoneos/Pods-FCAlertView_Tests.build/Objects-normal/arm64/Pods_FCAlertView_Tests_vers.o diff --git a/Example/build/Pods.build/Debug-iphoneos/Pods-FCAlertView_Tests.build/Objects-normal/armv7/Pods_FCAlertView_Tests.LinkFileList b/Example/build/Pods.build/Debug-iphoneos/Pods-FCAlertView_Tests.build/Objects-normal/armv7/Pods_FCAlertView_Tests.LinkFileList deleted file mode 100644 index a800fa2..0000000 --- a/Example/build/Pods.build/Debug-iphoneos/Pods-FCAlertView_Tests.build/Objects-normal/armv7/Pods_FCAlertView_Tests.LinkFileList +++ /dev/null @@ -1,2 +0,0 @@ -/Users/Nima/Desktop/FCAlertView/Example/build/Pods.build/Debug-iphoneos/Pods-FCAlertView_Tests.build/Objects-normal/armv7/Pods-FCAlertView_Tests-dummy.o -/Users/Nima/Desktop/FCAlertView/Example/build/Pods.build/Debug-iphoneos/Pods-FCAlertView_Tests.build/Objects-normal/armv7/Pods_FCAlertView_Tests_vers.o diff --git a/Example/build/Pods.build/Debug-iphoneos/Pods-FCAlertView_Tests.build/Pods_FCAlertView_Tests-all-non-framework-target-headers.hmap b/Example/build/Pods.build/Debug-iphoneos/Pods-FCAlertView_Tests.build/Pods_FCAlertView_Tests-all-non-framework-target-headers.hmap deleted file mode 100644 index 57d7faa..0000000 Binary files a/Example/build/Pods.build/Debug-iphoneos/Pods-FCAlertView_Tests.build/Pods_FCAlertView_Tests-all-non-framework-target-headers.hmap and /dev/null differ diff --git a/Example/build/Pods.build/Debug-iphoneos/Pods-FCAlertView_Tests.build/Pods_FCAlertView_Tests-all-target-headers.hmap b/Example/build/Pods.build/Debug-iphoneos/Pods-FCAlertView_Tests.build/Pods_FCAlertView_Tests-all-target-headers.hmap deleted file mode 100644 index 57d7faa..0000000 Binary files a/Example/build/Pods.build/Debug-iphoneos/Pods-FCAlertView_Tests.build/Pods_FCAlertView_Tests-all-target-headers.hmap and /dev/null differ diff --git a/Example/build/Pods.build/Debug-iphoneos/Pods-FCAlertView_Tests.build/Pods_FCAlertView_Tests-generated-files.hmap b/Example/build/Pods.build/Debug-iphoneos/Pods-FCAlertView_Tests.build/Pods_FCAlertView_Tests-generated-files.hmap deleted file mode 100644 index 5ea8f8d..0000000 Binary files a/Example/build/Pods.build/Debug-iphoneos/Pods-FCAlertView_Tests.build/Pods_FCAlertView_Tests-generated-files.hmap and /dev/null differ diff --git a/Example/build/Pods.build/Debug-iphoneos/Pods-FCAlertView_Tests.build/Pods_FCAlertView_Tests-own-target-headers.hmap b/Example/build/Pods.build/Debug-iphoneos/Pods-FCAlertView_Tests.build/Pods_FCAlertView_Tests-own-target-headers.hmap deleted file mode 100644 index 943646c..0000000 Binary files a/Example/build/Pods.build/Debug-iphoneos/Pods-FCAlertView_Tests.build/Pods_FCAlertView_Tests-own-target-headers.hmap and /dev/null differ diff --git a/Example/build/Pods.build/Debug-iphoneos/Pods-FCAlertView_Tests.build/Pods_FCAlertView_Tests-project-headers.hmap b/Example/build/Pods.build/Debug-iphoneos/Pods-FCAlertView_Tests.build/Pods_FCAlertView_Tests-project-headers.hmap deleted file mode 100644 index 223868d..0000000 Binary files a/Example/build/Pods.build/Debug-iphoneos/Pods-FCAlertView_Tests.build/Pods_FCAlertView_Tests-project-headers.hmap and /dev/null differ diff --git a/Example/build/Pods.build/Debug-iphoneos/Pods-FCAlertView_Tests.build/Pods_FCAlertView_Tests.hmap b/Example/build/Pods.build/Debug-iphoneos/Pods-FCAlertView_Tests.build/Pods_FCAlertView_Tests.hmap deleted file mode 100644 index 5dee818..0000000 Binary files a/Example/build/Pods.build/Debug-iphoneos/Pods-FCAlertView_Tests.build/Pods_FCAlertView_Tests.hmap and /dev/null differ diff --git a/Example/build/Pods.build/Debug-iphoneos/Pods-FCAlertView_Tests.build/dgph b/Example/build/Pods.build/Debug-iphoneos/Pods-FCAlertView_Tests.build/dgph deleted file mode 100644 index 2970580..0000000 Binary files a/Example/build/Pods.build/Debug-iphoneos/Pods-FCAlertView_Tests.build/dgph and /dev/null differ diff --git a/Example/build/Pods.build/Debug-iphoneos/Pods-FCAlertView_Tests.build/module.modulemap b/Example/build/Pods.build/Debug-iphoneos/Pods-FCAlertView_Tests.build/module.modulemap deleted file mode 100644 index c2736fe..0000000 --- a/Example/build/Pods.build/Debug-iphoneos/Pods-FCAlertView_Tests.build/module.modulemap +++ /dev/null @@ -1,6 +0,0 @@ -framework module Pods_FCAlertView_Tests { - umbrella header "Pods-FCAlertView_Tests-umbrella.h" - - export * - module * { export * } -} diff --git a/Example/build/Pods.build/Debug-iphonesimulator/FCAlertView-FCAlertView.build/FCAlertView-all-non-framework-target-headers.hmap b/Example/build/Pods.build/Debug-iphonesimulator/FCAlertView-FCAlertView.build/FCAlertView-all-non-framework-target-headers.hmap deleted file mode 100644 index 250f2bb..0000000 Binary files a/Example/build/Pods.build/Debug-iphonesimulator/FCAlertView-FCAlertView.build/FCAlertView-all-non-framework-target-headers.hmap and /dev/null differ diff --git a/Example/build/Pods.build/Debug-iphonesimulator/FCAlertView-FCAlertView.build/FCAlertView-all-target-headers.hmap b/Example/build/Pods.build/Debug-iphonesimulator/FCAlertView-FCAlertView.build/FCAlertView-all-target-headers.hmap deleted file mode 100644 index 250f2bb..0000000 Binary files a/Example/build/Pods.build/Debug-iphonesimulator/FCAlertView-FCAlertView.build/FCAlertView-all-target-headers.hmap and /dev/null differ diff --git a/Example/build/Pods.build/Debug-iphonesimulator/FCAlertView-FCAlertView.build/FCAlertView-generated-files.hmap b/Example/build/Pods.build/Debug-iphonesimulator/FCAlertView-FCAlertView.build/FCAlertView-generated-files.hmap deleted file mode 100644 index dd8b535..0000000 Binary files a/Example/build/Pods.build/Debug-iphonesimulator/FCAlertView-FCAlertView.build/FCAlertView-generated-files.hmap and /dev/null differ diff --git a/Example/build/Pods.build/Debug-iphonesimulator/FCAlertView-FCAlertView.build/FCAlertView-own-target-headers.hmap b/Example/build/Pods.build/Debug-iphonesimulator/FCAlertView-FCAlertView.build/FCAlertView-own-target-headers.hmap deleted file mode 100644 index dc511c4..0000000 Binary files a/Example/build/Pods.build/Debug-iphonesimulator/FCAlertView-FCAlertView.build/FCAlertView-own-target-headers.hmap and /dev/null differ diff --git a/Example/build/Pods.build/Debug-iphonesimulator/FCAlertView-FCAlertView.build/FCAlertView-project-headers.hmap b/Example/build/Pods.build/Debug-iphonesimulator/FCAlertView-FCAlertView.build/FCAlertView-project-headers.hmap deleted file mode 100644 index 93402f3..0000000 Binary files a/Example/build/Pods.build/Debug-iphonesimulator/FCAlertView-FCAlertView.build/FCAlertView-project-headers.hmap and /dev/null differ diff --git a/Example/build/Pods.build/Debug-iphonesimulator/FCAlertView-FCAlertView.build/FCAlertView.hmap b/Example/build/Pods.build/Debug-iphonesimulator/FCAlertView-FCAlertView.build/FCAlertView.hmap deleted file mode 100644 index df1cd62..0000000 Binary files a/Example/build/Pods.build/Debug-iphonesimulator/FCAlertView-FCAlertView.build/FCAlertView.hmap and /dev/null differ diff --git a/Example/build/Pods.build/Debug-iphonesimulator/FCAlertView-FCAlertView.build/dgph b/Example/build/Pods.build/Debug-iphonesimulator/FCAlertView-FCAlertView.build/dgph deleted file mode 100644 index 5a28189..0000000 Binary files a/Example/build/Pods.build/Debug-iphonesimulator/FCAlertView-FCAlertView.build/dgph and /dev/null differ diff --git a/Example/build/Pods.build/Debug-iphonesimulator/FCAlertView-FCAlertView.build/dgph~ b/Example/build/Pods.build/Debug-iphonesimulator/FCAlertView-FCAlertView.build/dgph~ deleted file mode 100644 index 46e9a58..0000000 Binary files a/Example/build/Pods.build/Debug-iphonesimulator/FCAlertView-FCAlertView.build/dgph~ and /dev/null differ diff --git a/Example/build/Pods.build/Debug-iphonesimulator/FCAlertView.build/DerivedSources/FCAlertView_vers.c b/Example/build/Pods.build/Debug-iphonesimulator/FCAlertView.build/DerivedSources/FCAlertView_vers.c deleted file mode 100644 index e8985ba..0000000 --- a/Example/build/Pods.build/Debug-iphonesimulator/FCAlertView.build/DerivedSources/FCAlertView_vers.c +++ /dev/null @@ -1,5 +0,0 @@ - extern const unsigned char FCAlertViewVersionString[]; - extern const double FCAlertViewVersionNumber; - - const unsigned char FCAlertViewVersionString[] __attribute__ ((used)) = "@(#)PROGRAM:FCAlertView PROJECT:Pods-1" "\n"; - const double FCAlertViewVersionNumber __attribute__ ((used)) = (double)1.; diff --git a/Example/build/Pods.build/Debug-iphonesimulator/FCAlertView.build/FCAlertView-all-non-framework-target-headers.hmap b/Example/build/Pods.build/Debug-iphonesimulator/FCAlertView.build/FCAlertView-all-non-framework-target-headers.hmap deleted file mode 100644 index 250f2bb..0000000 Binary files a/Example/build/Pods.build/Debug-iphonesimulator/FCAlertView.build/FCAlertView-all-non-framework-target-headers.hmap and /dev/null differ diff --git a/Example/build/Pods.build/Debug-iphonesimulator/FCAlertView.build/FCAlertView-all-target-headers.hmap b/Example/build/Pods.build/Debug-iphonesimulator/FCAlertView.build/FCAlertView-all-target-headers.hmap deleted file mode 100644 index 250f2bb..0000000 Binary files a/Example/build/Pods.build/Debug-iphonesimulator/FCAlertView.build/FCAlertView-all-target-headers.hmap and /dev/null differ diff --git a/Example/build/Pods.build/Debug-iphonesimulator/FCAlertView.build/FCAlertView-generated-files.hmap b/Example/build/Pods.build/Debug-iphonesimulator/FCAlertView.build/FCAlertView-generated-files.hmap deleted file mode 100644 index dec97e0..0000000 Binary files a/Example/build/Pods.build/Debug-iphonesimulator/FCAlertView.build/FCAlertView-generated-files.hmap and /dev/null differ diff --git a/Example/build/Pods.build/Debug-iphonesimulator/FCAlertView.build/FCAlertView-own-target-headers.hmap b/Example/build/Pods.build/Debug-iphonesimulator/FCAlertView.build/FCAlertView-own-target-headers.hmap deleted file mode 100644 index d0a3051..0000000 Binary files a/Example/build/Pods.build/Debug-iphonesimulator/FCAlertView.build/FCAlertView-own-target-headers.hmap and /dev/null differ diff --git a/Example/build/Pods.build/Debug-iphonesimulator/FCAlertView.build/FCAlertView-project-headers.hmap b/Example/build/Pods.build/Debug-iphonesimulator/FCAlertView.build/FCAlertView-project-headers.hmap deleted file mode 100644 index 93402f3..0000000 Binary files a/Example/build/Pods.build/Debug-iphonesimulator/FCAlertView.build/FCAlertView-project-headers.hmap and /dev/null differ diff --git a/Example/build/Pods.build/Debug-iphonesimulator/FCAlertView.build/FCAlertView.hmap b/Example/build/Pods.build/Debug-iphonesimulator/FCAlertView.build/FCAlertView.hmap deleted file mode 100644 index 5406737..0000000 Binary files a/Example/build/Pods.build/Debug-iphonesimulator/FCAlertView.build/FCAlertView.hmap and /dev/null differ diff --git a/Example/build/Pods.build/Debug-iphonesimulator/FCAlertView.build/Objects-normal/x86_64/FCAlertView.LinkFileList b/Example/build/Pods.build/Debug-iphonesimulator/FCAlertView.build/Objects-normal/x86_64/FCAlertView.LinkFileList deleted file mode 100644 index 786a246..0000000 --- a/Example/build/Pods.build/Debug-iphonesimulator/FCAlertView.build/Objects-normal/x86_64/FCAlertView.LinkFileList +++ /dev/null @@ -1,3 +0,0 @@ -/Users/Nima/Desktop/Code/FCAlertView/Example/build/Pods.build/Debug-iphonesimulator/FCAlertView.build/Objects-normal/x86_64/FCAlertView-dummy.o -/Users/Nima/Desktop/Code/FCAlertView/Example/build/Pods.build/Debug-iphonesimulator/FCAlertView.build/Objects-normal/x86_64/FCAlertView.o -/Users/Nima/Desktop/Code/FCAlertView/Example/build/Pods.build/Debug-iphonesimulator/FCAlertView.build/Objects-normal/x86_64/FCAlertView_vers.o diff --git a/Example/build/Pods.build/Debug-iphonesimulator/FCAlertView.build/dgph b/Example/build/Pods.build/Debug-iphonesimulator/FCAlertView.build/dgph deleted file mode 100644 index 46e9a58..0000000 Binary files a/Example/build/Pods.build/Debug-iphonesimulator/FCAlertView.build/dgph and /dev/null differ diff --git a/Example/build/Pods.build/Debug-iphonesimulator/FCAlertView.build/module.modulemap b/Example/build/Pods.build/Debug-iphonesimulator/FCAlertView.build/module.modulemap deleted file mode 100644 index a600cce..0000000 --- a/Example/build/Pods.build/Debug-iphonesimulator/FCAlertView.build/module.modulemap +++ /dev/null @@ -1,6 +0,0 @@ -framework module FCAlertView { - umbrella header "FCAlertView-umbrella.h" - - export * - module * { export * } -} diff --git a/Example/build/Pods.build/Debug-iphonesimulator/Pods-FCAlertView_Example.build/DerivedSources/Pods_FCAlertView_Example_vers.c b/Example/build/Pods.build/Debug-iphonesimulator/Pods-FCAlertView_Example.build/DerivedSources/Pods_FCAlertView_Example_vers.c deleted file mode 100644 index 6fc5925..0000000 --- a/Example/build/Pods.build/Debug-iphonesimulator/Pods-FCAlertView_Example.build/DerivedSources/Pods_FCAlertView_Example_vers.c +++ /dev/null @@ -1,5 +0,0 @@ - extern const unsigned char Pods_FCAlertView_ExampleVersionString[]; - extern const double Pods_FCAlertView_ExampleVersionNumber; - - const unsigned char Pods_FCAlertView_ExampleVersionString[] __attribute__ ((used)) = "@(#)PROGRAM:Pods_FCAlertView_Example PROJECT:Pods-1" "\n"; - const double Pods_FCAlertView_ExampleVersionNumber __attribute__ ((used)) = (double)1.; diff --git a/Example/build/Pods.build/Debug-iphonesimulator/Pods-FCAlertView_Example.build/Objects-normal/x86_64/Pods_FCAlertView_Example.LinkFileList b/Example/build/Pods.build/Debug-iphonesimulator/Pods-FCAlertView_Example.build/Objects-normal/x86_64/Pods_FCAlertView_Example.LinkFileList deleted file mode 100644 index 6c63d55..0000000 --- a/Example/build/Pods.build/Debug-iphonesimulator/Pods-FCAlertView_Example.build/Objects-normal/x86_64/Pods_FCAlertView_Example.LinkFileList +++ /dev/null @@ -1,2 +0,0 @@ -/Users/Nima/Desktop/Code/FCAlertView/Example/build/Pods.build/Debug-iphonesimulator/Pods-FCAlertView_Example.build/Objects-normal/x86_64/Pods-FCAlertView_Example-dummy.o -/Users/Nima/Desktop/Code/FCAlertView/Example/build/Pods.build/Debug-iphonesimulator/Pods-FCAlertView_Example.build/Objects-normal/x86_64/Pods_FCAlertView_Example_vers.o diff --git a/Example/build/Pods.build/Debug-iphonesimulator/Pods-FCAlertView_Example.build/Pods_FCAlertView_Example-all-non-framework-target-headers.hmap b/Example/build/Pods.build/Debug-iphonesimulator/Pods-FCAlertView_Example.build/Pods_FCAlertView_Example-all-non-framework-target-headers.hmap deleted file mode 100644 index 250f2bb..0000000 Binary files a/Example/build/Pods.build/Debug-iphonesimulator/Pods-FCAlertView_Example.build/Pods_FCAlertView_Example-all-non-framework-target-headers.hmap and /dev/null differ diff --git a/Example/build/Pods.build/Debug-iphonesimulator/Pods-FCAlertView_Example.build/Pods_FCAlertView_Example-all-target-headers.hmap b/Example/build/Pods.build/Debug-iphonesimulator/Pods-FCAlertView_Example.build/Pods_FCAlertView_Example-all-target-headers.hmap deleted file mode 100644 index 250f2bb..0000000 Binary files a/Example/build/Pods.build/Debug-iphonesimulator/Pods-FCAlertView_Example.build/Pods_FCAlertView_Example-all-target-headers.hmap and /dev/null differ diff --git a/Example/build/Pods.build/Debug-iphonesimulator/Pods-FCAlertView_Example.build/Pods_FCAlertView_Example-generated-files.hmap b/Example/build/Pods.build/Debug-iphonesimulator/Pods-FCAlertView_Example.build/Pods_FCAlertView_Example-generated-files.hmap deleted file mode 100644 index 8f08aec..0000000 Binary files a/Example/build/Pods.build/Debug-iphonesimulator/Pods-FCAlertView_Example.build/Pods_FCAlertView_Example-generated-files.hmap and /dev/null differ diff --git a/Example/build/Pods.build/Debug-iphonesimulator/Pods-FCAlertView_Example.build/Pods_FCAlertView_Example-own-target-headers.hmap b/Example/build/Pods.build/Debug-iphonesimulator/Pods-FCAlertView_Example.build/Pods_FCAlertView_Example-own-target-headers.hmap deleted file mode 100644 index 6d2ad53..0000000 Binary files a/Example/build/Pods.build/Debug-iphonesimulator/Pods-FCAlertView_Example.build/Pods_FCAlertView_Example-own-target-headers.hmap and /dev/null differ diff --git a/Example/build/Pods.build/Debug-iphonesimulator/Pods-FCAlertView_Example.build/Pods_FCAlertView_Example-project-headers.hmap b/Example/build/Pods.build/Debug-iphonesimulator/Pods-FCAlertView_Example.build/Pods_FCAlertView_Example-project-headers.hmap deleted file mode 100644 index 93402f3..0000000 Binary files a/Example/build/Pods.build/Debug-iphonesimulator/Pods-FCAlertView_Example.build/Pods_FCAlertView_Example-project-headers.hmap and /dev/null differ diff --git a/Example/build/Pods.build/Debug-iphonesimulator/Pods-FCAlertView_Example.build/Pods_FCAlertView_Example.hmap b/Example/build/Pods.build/Debug-iphonesimulator/Pods-FCAlertView_Example.build/Pods_FCAlertView_Example.hmap deleted file mode 100644 index 6e2de8d..0000000 Binary files a/Example/build/Pods.build/Debug-iphonesimulator/Pods-FCAlertView_Example.build/Pods_FCAlertView_Example.hmap and /dev/null differ diff --git a/Example/build/Pods.build/Debug-iphonesimulator/Pods-FCAlertView_Example.build/dgph b/Example/build/Pods.build/Debug-iphonesimulator/Pods-FCAlertView_Example.build/dgph deleted file mode 100644 index 46e9a58..0000000 Binary files a/Example/build/Pods.build/Debug-iphonesimulator/Pods-FCAlertView_Example.build/dgph and /dev/null differ diff --git a/Example/build/Pods.build/Debug-iphonesimulator/Pods-FCAlertView_Example.build/module.modulemap b/Example/build/Pods.build/Debug-iphonesimulator/Pods-FCAlertView_Example.build/module.modulemap deleted file mode 100644 index aed426b..0000000 --- a/Example/build/Pods.build/Debug-iphonesimulator/Pods-FCAlertView_Example.build/module.modulemap +++ /dev/null @@ -1,6 +0,0 @@ -framework module Pods_FCAlertView_Example { - umbrella header "Pods-FCAlertView_Example-umbrella.h" - - export * - module * { export * } -} diff --git a/Example/build/Pods.build/Debug-iphonesimulator/Pods-FCAlertView_Tests.build/DerivedSources/Pods_FCAlertView_Tests_vers.c b/Example/build/Pods.build/Debug-iphonesimulator/Pods-FCAlertView_Tests.build/DerivedSources/Pods_FCAlertView_Tests_vers.c deleted file mode 100644 index 5960817..0000000 --- a/Example/build/Pods.build/Debug-iphonesimulator/Pods-FCAlertView_Tests.build/DerivedSources/Pods_FCAlertView_Tests_vers.c +++ /dev/null @@ -1,5 +0,0 @@ - extern const unsigned char Pods_FCAlertView_TestsVersionString[]; - extern const double Pods_FCAlertView_TestsVersionNumber; - - const unsigned char Pods_FCAlertView_TestsVersionString[] __attribute__ ((used)) = "@(#)PROGRAM:Pods_FCAlertView_Tests PROJECT:Pods-1" "\n"; - const double Pods_FCAlertView_TestsVersionNumber __attribute__ ((used)) = (double)1.; diff --git a/Example/build/Pods.build/Debug-iphonesimulator/Pods-FCAlertView_Tests.build/Objects-normal/x86_64/Pods_FCAlertView_Tests.LinkFileList b/Example/build/Pods.build/Debug-iphonesimulator/Pods-FCAlertView_Tests.build/Objects-normal/x86_64/Pods_FCAlertView_Tests.LinkFileList deleted file mode 100644 index c553a69..0000000 --- a/Example/build/Pods.build/Debug-iphonesimulator/Pods-FCAlertView_Tests.build/Objects-normal/x86_64/Pods_FCAlertView_Tests.LinkFileList +++ /dev/null @@ -1,2 +0,0 @@ -/Users/Nima/Desktop/Code/FCAlertView/Example/build/Pods.build/Debug-iphonesimulator/Pods-FCAlertView_Tests.build/Objects-normal/x86_64/Pods-FCAlertView_Tests-dummy.o -/Users/Nima/Desktop/Code/FCAlertView/Example/build/Pods.build/Debug-iphonesimulator/Pods-FCAlertView_Tests.build/Objects-normal/x86_64/Pods_FCAlertView_Tests_vers.o diff --git a/Example/build/Pods.build/Debug-iphonesimulator/Pods-FCAlertView_Tests.build/Pods_FCAlertView_Tests-all-non-framework-target-headers.hmap b/Example/build/Pods.build/Debug-iphonesimulator/Pods-FCAlertView_Tests.build/Pods_FCAlertView_Tests-all-non-framework-target-headers.hmap deleted file mode 100644 index 14d5fe9..0000000 Binary files a/Example/build/Pods.build/Debug-iphonesimulator/Pods-FCAlertView_Tests.build/Pods_FCAlertView_Tests-all-non-framework-target-headers.hmap and /dev/null differ diff --git a/Example/build/Pods.build/Debug-iphonesimulator/Pods-FCAlertView_Tests.build/Pods_FCAlertView_Tests-all-target-headers.hmap b/Example/build/Pods.build/Debug-iphonesimulator/Pods-FCAlertView_Tests.build/Pods_FCAlertView_Tests-all-target-headers.hmap deleted file mode 100644 index 14d5fe9..0000000 Binary files a/Example/build/Pods.build/Debug-iphonesimulator/Pods-FCAlertView_Tests.build/Pods_FCAlertView_Tests-all-target-headers.hmap and /dev/null differ diff --git a/Example/build/Pods.build/Debug-iphonesimulator/Pods-FCAlertView_Tests.build/Pods_FCAlertView_Tests-generated-files.hmap b/Example/build/Pods.build/Debug-iphonesimulator/Pods-FCAlertView_Tests.build/Pods_FCAlertView_Tests-generated-files.hmap deleted file mode 100644 index 68334c9..0000000 Binary files a/Example/build/Pods.build/Debug-iphonesimulator/Pods-FCAlertView_Tests.build/Pods_FCAlertView_Tests-generated-files.hmap and /dev/null differ diff --git a/Example/build/Pods.build/Debug-iphonesimulator/Pods-FCAlertView_Tests.build/Pods_FCAlertView_Tests-own-target-headers.hmap b/Example/build/Pods.build/Debug-iphonesimulator/Pods-FCAlertView_Tests.build/Pods_FCAlertView_Tests-own-target-headers.hmap deleted file mode 100644 index 943646c..0000000 Binary files a/Example/build/Pods.build/Debug-iphonesimulator/Pods-FCAlertView_Tests.build/Pods_FCAlertView_Tests-own-target-headers.hmap and /dev/null differ diff --git a/Example/build/Pods.build/Debug-iphonesimulator/Pods-FCAlertView_Tests.build/Pods_FCAlertView_Tests-project-headers.hmap b/Example/build/Pods.build/Debug-iphonesimulator/Pods-FCAlertView_Tests.build/Pods_FCAlertView_Tests-project-headers.hmap deleted file mode 100644 index 93402f3..0000000 Binary files a/Example/build/Pods.build/Debug-iphonesimulator/Pods-FCAlertView_Tests.build/Pods_FCAlertView_Tests-project-headers.hmap and /dev/null differ diff --git a/Example/build/Pods.build/Debug-iphonesimulator/Pods-FCAlertView_Tests.build/Pods_FCAlertView_Tests.hmap b/Example/build/Pods.build/Debug-iphonesimulator/Pods-FCAlertView_Tests.build/Pods_FCAlertView_Tests.hmap deleted file mode 100644 index 05adcae..0000000 Binary files a/Example/build/Pods.build/Debug-iphonesimulator/Pods-FCAlertView_Tests.build/Pods_FCAlertView_Tests.hmap and /dev/null differ diff --git a/Example/build/Pods.build/Debug-iphonesimulator/Pods-FCAlertView_Tests.build/dgph b/Example/build/Pods.build/Debug-iphonesimulator/Pods-FCAlertView_Tests.build/dgph deleted file mode 100644 index 46e9a58..0000000 Binary files a/Example/build/Pods.build/Debug-iphonesimulator/Pods-FCAlertView_Tests.build/dgph and /dev/null differ diff --git a/Example/build/Pods.build/Debug-iphonesimulator/Pods-FCAlertView_Tests.build/module.modulemap b/Example/build/Pods.build/Debug-iphonesimulator/Pods-FCAlertView_Tests.build/module.modulemap deleted file mode 100644 index c2736fe..0000000 --- a/Example/build/Pods.build/Debug-iphonesimulator/Pods-FCAlertView_Tests.build/module.modulemap +++ /dev/null @@ -1,6 +0,0 @@ -framework module Pods_FCAlertView_Tests { - umbrella header "Pods-FCAlertView_Tests-umbrella.h" - - export * - module * { export * } -} diff --git a/FCAlertView.podspec b/FCAlertView.podspec index e5eb37b..56d1464 100644 --- a/FCAlertView.podspec +++ b/FCAlertView.podspec @@ -8,7 +8,7 @@ Pod::Spec.new do |s| s.name = 'FCAlertView' - s.version = '1.4.1' + s.version = '1.4.4' s.summary = 'FCAlertView is a Flat Customizable AlertView' # This description is used to generate tags and improve search results. diff --git a/FCAlertView/Classes/FCAlertView.h b/FCAlertView/Classes/FCAlertView.h index 45062a3..d099185 100644 --- a/FCAlertView/Classes/FCAlertView.h +++ b/FCAlertView/Classes/FCAlertView.h @@ -186,6 +186,7 @@ typedef void (^FCTextReturnBlock)(NSString *text); @property (nonatomic, retain) UIColor * doneButtonTitleColor; @property (nonatomic, retain) UIFont * doneButtonCustomFont; +@property (nonatomic, retain) UIColor * doneButtonBackgroundColor; @property (nonatomic, retain) UIColor * doneButtonHighlightedBackgroundColor; @property (nonatomic, retain) UIColor * firstButtonTitleColor; @@ -219,4 +220,4 @@ typedef void (^FCTextReturnBlock)(NSString *text); - (void)FCAlertViewWillAppear:(FCAlertView *)alertView; - (void)FCAlertDoneButtonClicked:(FCAlertView *)alertView; -@end \ No newline at end of file +@end diff --git a/FCAlertView/Classes/FCAlertView.m b/FCAlertView/Classes/FCAlertView.m index 524ea84..16db2b7 100644 --- a/FCAlertView/Classes/FCAlertView.m +++ b/FCAlertView/Classes/FCAlertView.m @@ -594,6 +594,8 @@ - (void)drawRect:(CGRect)rect { doneButton.titleLabel.font = self.doneButtonCustomFont; if (_colorScheme != nil || _darkTheme) doneButton.tintColor = [UIColor whiteColor]; + if (self.doneButtonBackgroundColor) + doneButton.backgroundColor = self.doneButtonBackgroundColor; if (self.doneButtonTitleColor != nil) doneButton.tintColor = self.doneButtonTitleColor; @@ -638,7 +640,9 @@ - (void)drawRect:(CGRect)rect { doneButton.titleLabel.font = self.doneButtonCustomFont; if (_colorScheme != nil || _darkTheme) doneButton.tintColor = [UIColor whiteColor]; - if (self.doneButtonTitleColor != nil) + if (self.doneButtonBackgroundColor) + doneButton.backgroundColor = self.doneButtonBackgroundColor; + if (self.doneButtonTitleColor) doneButton.tintColor = self.doneButtonTitleColor; UIButton *otherButton = [UIButton buttonWithType:UIButtonTypeSystem]; @@ -854,6 +858,8 @@ - (void)drawRect:(CGRect)rect { doneButton.titleLabel.font = self.doneButtonCustomFont; if (_colorScheme != nil || _darkTheme) doneButton.tintColor = [UIColor whiteColor]; + if (self.doneButtonBackgroundColor) + doneButton.backgroundColor = self.doneButtonBackgroundColor; if (self.doneButtonTitleColor != nil) doneButton.tintColor = self.doneButtonTitleColor; @@ -1884,4 +1890,4 @@ - (void) setActiveRating:(NSInteger)rating { } -@end \ No newline at end of file +@end