├── .gitignore ├── .travis.yml ├── Class ├── PATabbarPushedView+Private.h ├── PATabbarPushedView.h ├── PATabbarPushedView.m ├── PATabbarView.h └── PATabbarView.m ├── Example ├── PATabbarView.xcodeproj │ ├── project.pbxproj │ ├── project.xcworkspace │ │ └── contents.xcworkspacedata │ └── xcshareddata │ │ └── xcschemes │ │ └── PATabbarView-Example.xcscheme ├── PATabbarView.xcworkspace │ └── contents.xcworkspacedata ├── PATabbarView │ ├── ExampleSubPushedView.h │ ├── ExampleSubPushedView.m │ ├── ExampleSubPushedView.xib │ ├── ExampleViewController.h │ ├── ExampleViewController.m │ ├── Images.xcassets │ │ ├── AppIcon.appiconset │ │ │ └── Contents.json │ │ └── LaunchImage.launchimage │ │ │ └── Contents.json │ ├── Main.storyboard │ ├── PATAppDelegate.h │ ├── PATAppDelegate.m │ ├── PATViewController.h │ ├── PATViewController.m │ ├── PATabbarView-Info.plist │ ├── PATabbarView-Prefix.pch │ ├── en.lproj │ │ └── InfoPlist.strings │ └── main.m ├── Podfile ├── Podfile.lock ├── Pods │ ├── Local Podspecs │ │ └── PATabbarView.podspec.json │ ├── Manifest.lock │ ├── Pods.xcodeproj │ │ ├── project.pbxproj │ │ └── xcshareddata │ │ │ └── xcschemes │ │ │ └── PATabbarView.xcscheme │ └── Target Support Files │ │ ├── PATabbarView │ │ ├── Info.plist │ │ ├── PATabbarView-dummy.m │ │ ├── PATabbarView-prefix.pch │ │ ├── PATabbarView-umbrella.h │ │ ├── PATabbarView.modulemap │ │ └── PATabbarView.xcconfig │ │ ├── Pods-PATabbarView_Example │ │ ├── Info.plist │ │ ├── Pods-PATabbarView_Example-acknowledgements.markdown │ │ ├── Pods-PATabbarView_Example-acknowledgements.plist │ │ ├── Pods-PATabbarView_Example-dummy.m │ │ ├── Pods-PATabbarView_Example-frameworks.sh │ │ ├── Pods-PATabbarView_Example-resources.sh │ │ ├── Pods-PATabbarView_Example-umbrella.h │ │ ├── Pods-PATabbarView_Example.debug.xcconfig │ │ ├── Pods-PATabbarView_Example.modulemap │ │ └── Pods-PATabbarView_Example.release.xcconfig │ │ └── Pods-PATabbarView_Tests │ │ ├── Info.plist │ │ ├── Pods-PATabbarView_Tests-acknowledgements.markdown │ │ ├── Pods-PATabbarView_Tests-acknowledgements.plist │ │ ├── Pods-PATabbarView_Tests-dummy.m │ │ ├── Pods-PATabbarView_Tests-frameworks.sh │ │ ├── Pods-PATabbarView_Tests-resources.sh │ │ ├── Pods-PATabbarView_Tests-umbrella.h │ │ ├── Pods-PATabbarView_Tests.debug.xcconfig │ │ ├── Pods-PATabbarView_Tests.modulemap │ │ └── Pods-PATabbarView_Tests.release.xcconfig └── Tests │ ├── Tests-Info.plist │ ├── Tests-Prefix.pch │ ├── Tests.m │ └── en.lproj │ └── InfoPlist.strings ├── LICENSE ├── PATabbarView.podspec ├── README.md ├── SampleImages └── sampleGif.gif └── _Pods.xcodeproj /.gitignore: -------------------------------------------------------------------------------- 1 | # OS X 2 | .DS_Store 3 | 4 | # Xcode 5 | build/ 6 | *.pbxuser 7 | !default.pbxuser 8 | *.mode1v3 9 | !default.mode1v3 10 | *.mode2v3 11 | !default.mode2v3 12 | *.perspectivev3 13 | !default.perspectivev3 14 | xcuserdata 15 | *.xccheckout 16 | profile 17 | *.moved-aside 18 | DerivedData 19 | *.hmap 20 | *.ipa 21 | 22 | # Bundler 23 | .bundle 24 | 25 | Carthage 26 | # We recommend against adding the Pods directory to your .gitignore. However 27 | # you should judge for yourself, the pros and cons are mentioned at: 28 | # http://guides.cocoapods.org/using/using-cocoapods.html#should-i-ignore-the-pods-directory-in-source-control 29 | # 30 | # Note: if you ignore the Pods directory, make sure to uncomment 31 | # `pod install` in .travis.yml 32 | # 33 | # Pods/ 34 | 35 | Example/Pods/Headers/ 36 | Example/Pods/Pods.xcodeproj/project.xcworkspace/ 37 | -------------------------------------------------------------------------------- /.travis.yml: -------------------------------------------------------------------------------- 1 | # references: 2 | # * http://www.objc.io/issue-6/travis-ci.html 3 | # * https://github.com/supermarin/xcpretty#usage 4 | 5 | language: objective-c 6 | # cache: cocoapods 7 | # podfile: Example/Podfile 8 | # before_install: 9 | # - gem install cocoapods # Since Travis is not always on latest version 10 | # - pod install --project-directory=Example 11 | script: 12 | - set -o pipefail && xcodebuild test -workspace Example/PATabbarView.xcworkspace -scheme PATabbarView-Example -sdk iphonesimulator ONLY_ACTIVE_ARCH=NO | xcpretty 13 | - pod lib lint 14 | -------------------------------------------------------------------------------- /Class/PATabbarPushedView+Private.h: -------------------------------------------------------------------------------- 1 | // 2 | // PATabbarView+Private.h 3 | // 4 | // Created by Inba on 2016/03/22. 5 | // Copyright © 2016年 Inba. All rights reserved. 6 | // 7 | 8 | #import "PATabbarPushedView.h" 9 | 10 | @interface PATabbarPushedView (Private) 11 | 12 | -(void)setNext:(PATabbarPushedView *)next; 13 | -(void)setPrev:(PATabbarPushedView *)prev; 14 | -(void)setState:(PATabbarPushedViewState)state; 15 | -(void)reAddFirstSelfConstraints; 16 | @end 17 | -------------------------------------------------------------------------------- /Class/PATabbarPushedView.h: -------------------------------------------------------------------------------- 1 | // 2 | // PATabbarPushedView.h 3 | // 4 | // Created by Inba on 2016/03/05. 5 | // Copyright (c) 2016年 Inba. All rights reserved. 6 | // 7 | 8 | #import 9 | 10 | @interface PATabbarPushedView : UIView 11 | 12 | typedef NS_ENUM(NSInteger, PATabbarPushedViewState) 13 | { 14 | PATabbarPushedViewStatusNotDecide = 0, 15 | PATabbarPushedViewStatusEmphasis,//These view's width are most wide. 16 | PATabbarPushedViewStatusDisplayed,//being near left end or right end. It has a width smaller than EmphasisState 17 | PATabbarPushedViewStatusNotDisplayed//Not displayed on the PATabbarView. 18 | }; 19 | @property (readonly) PATabbarPushedViewState currentState; 20 | 21 | 22 | /** 23 | Left side of this view. If not exist It is nil. 24 | */ 25 | @property (weak,readonly) PATabbarPushedView *next; 26 | 27 | /** 28 | Right side of this view. If not exist It is nil. 29 | */ 30 | @property (weak,readonly) PATabbarPushedView *prev; 31 | 32 | /** 33 | When set it YES,This subViews's highlighted also become YES. 34 | */ 35 | @property (nonatomic) BOOL highlighted; 36 | 37 | /** 38 | Called just after changed currentState. 39 | */ 40 | -(void)afterChangeState:(PATabbarPushedViewState)state; 41 | 42 | @end 43 | -------------------------------------------------------------------------------- /Class/PATabbarPushedView.m: -------------------------------------------------------------------------------- 1 | // 2 | // PATabbarPushedView.m 3 | // 4 | // Created by Inba on 2016/03/05. 5 | // Copyright (c) 2016年 Inba. All rights reserved. 6 | // 7 | 8 | #import "PATabbarPushedView.h" 9 | #import "PATabbarPushedView+Private.h" 10 | 11 | @implementation PATabbarPushedView{ 12 | NSArray *_constraints; 13 | BOOL _highlighted; 14 | } 15 | 16 | -(void)awakeFromNib{ 17 | [super awakeFromNib]; 18 | self.translatesAutoresizingMaskIntoConstraints = NO; 19 | _constraints = self.constraints; 20 | } 21 | 22 | -(instancetype)init{ 23 | return [self initWithFrame:CGRectZero]; 24 | } 25 | 26 | - (instancetype)initWithFrame:(CGRect)frame 27 | { 28 | self = [super initWithFrame:frame]; 29 | if (self) { 30 | self.translatesAutoresizingMaskIntoConstraints = NO; 31 | _constraints = self.constraints; 32 | } 33 | return self; 34 | } 35 | 36 | -(void)setHighlighted:(BOOL)highlighted{ 37 | _highlighted = highlighted; 38 | [self.subviews enumerateObjectsUsingBlock:^(UIView *obj, NSUInteger idx, BOOL *stop) { 39 | if ([obj respondsToSelector:@selector(setHighlighted:)]) { 40 | [obj setValue:@(highlighted) forKey:@"highlighted"]; 41 | }; 42 | }]; 43 | } 44 | 45 | -(void)afterChangeState:(PATabbarPushedViewState)state{ 46 | //abstract 47 | } 48 | 49 | -(void)addConstraint:(NSLayoutConstraint *)constraint{ 50 | [super addConstraint:constraint]; 51 | if (self.currentState == PATabbarPushedViewStatusNotDecide) { 52 | _constraints = self.constraints; 53 | } 54 | } 55 | 56 | -(void)addConstraints:(NSArray<__kindof NSLayoutConstraint *> *)constraints{ 57 | [super addConstraints:constraints]; 58 | if (self.currentState == PATabbarPushedViewStatusNotDecide) { 59 | _constraints = self.constraints; 60 | } 61 | } 62 | 63 | -(void)dealloc{ 64 | _constraints = nil; 65 | } 66 | 67 | @end 68 | 69 | @implementation PATabbarPushedView (Private) 70 | 71 | -(void)reAddFirstSelfConstraints{ 72 | [NSLayoutConstraint activateConstraints:_constraints]; 73 | } 74 | 75 | -(void)setNext:(PATabbarPushedView *)next{ 76 | _next = next; 77 | if (next) { 78 | next->_prev = self; 79 | } 80 | } 81 | 82 | -(void)setPrev:(PATabbarPushedView *)prev{ 83 | _prev = prev; 84 | if (prev) { 85 | prev->_next = self; 86 | } 87 | } 88 | 89 | -(void)setState:(PATabbarPushedViewState)state{ 90 | [self afterChangeState:state]; 91 | _currentState = state; 92 | } 93 | 94 | 95 | 96 | @end 97 | -------------------------------------------------------------------------------- /Class/PATabbarView.h: -------------------------------------------------------------------------------- 1 | // 2 | // PATabbarView.h 3 | // 4 | // Created by Inba on 2016/03/05. 5 | // Copyright (c) 2016年 Inba. All rights reserved. 6 | // 7 | 8 | #import 9 | 10 | 11 | @class PATabbarView; 12 | @class PATabbarPushedView; 13 | 14 | @protocol PATabbarViewDelegate 15 | 16 | @optional 17 | -(void)finishedAdjustAnimationAtForcusedView:(PATabbarPushedView *)forcusedView; 18 | -(void)deletedLastPushedView; 19 | 20 | @end 21 | 22 | @interface PATabbarView : UIView 23 | 24 | @property IBInspectable BOOL isEnableSwipe; 25 | 26 | @property CGFloat ratioOfEmphasisedViewWidth; 27 | @property NSInteger sumOfEmphasisPushedView; 28 | @property NSInteger sumOfDisplayedView; 29 | @property CGFloat durationForDeleteAnime; 30 | @property CGFloat durationForRepositionAnime; 31 | @property CGFloat latencyUpToRepositionFromDelete; 32 | @property CGFloat lengthBetweenPushedViews; 33 | @property (weak) NSObject *delegate; 34 | 35 | @property (weak,readonly,nonatomic) PATabbarPushedView *head;//Leftmost PushedView.If not exist It is nil. 36 | @property (weak,readonly,nonatomic) PATabbarPushedView *tail;//Rightmost PushedView.If not exist It is nil. 37 | 38 | -(void)addToTailView:(PATabbarPushedView *)view; 39 | 40 | /** 41 | In order near the centerView,It will be set to currentStatus ,first Emphasis,next Displayed and notDisplayed. 42 | */ 43 | -(void)adjustPositionWithAForcusOnView:(PATabbarPushedView *)centerView; 44 | 45 | -(void)deleteView:(PATabbarPushedView *)deleteView; 46 | @end 47 | -------------------------------------------------------------------------------- /Class/PATabbarView.m: -------------------------------------------------------------------------------- 1 | // 2 | // PATabbarView.m 3 | // 4 | // Created by Inba on 2016/03/05. 5 | // Copyright (c) 2016年 Inba. All rights reserved. 6 | // 7 | 8 | #import "PATabbarView.h" 9 | #import "PATabbarPushedView+Private.h" 10 | #import "PATabbarPushedView.h" 11 | 12 | #define PATabbarViewKeyEmphasis @"Emphasis" 13 | #define PATabbarViewKeyDisplayed @"Displayed" 14 | #define PATabbarViewKeyNotDisplayedViews @"NotDisplayed" 15 | #define PATabbarViewKeyNextAdjustmentTarget @"NextAdjustment" 16 | 17 | @implementation PATabbarView{ 18 | NSArray *_firstConstrainsArray; 19 | } 20 | 21 | - (instancetype)initWithFrame:(CGRect)frame 22 | { 23 | self = [super initWithFrame:frame]; 24 | if (self) { 25 | [self setDefParams]; 26 | } 27 | return self; 28 | } 29 | 30 | -(void)awakeFromNib{ 31 | [super awakeFromNib]; 32 | [self setDefParams]; 33 | _firstConstrainsArray = [NSArray arrayWithArray:self.constraints]; 34 | if (self.isEnableSwipe == YES) { 35 | 36 | UIPanGestureRecognizer *pan = [[UIPanGestureRecognizer alloc]initWithTarget:self action:@selector(pan:)]; 37 | 38 | UISwipeGestureRecognizer *swipeL = [[UISwipeGestureRecognizer alloc]initWithTarget:self action:@selector(swipeLeft:)]; 39 | swipeL.direction = UISwipeGestureRecognizerDirectionLeft; 40 | 41 | UISwipeGestureRecognizer *swipeR = [[UISwipeGestureRecognizer alloc]initWithTarget:self action:@selector(swipeRight:)]; 42 | swipeR.direction = UISwipeGestureRecognizerDirectionRight; 43 | 44 | [self addGestureRecognizer:pan]; 45 | } 46 | } 47 | 48 | -(void)swipeRight{ 49 | PATabbarPushedView *center = nil; 50 | for (PATabbarPushedView *pushedView = self.head; pushedView; pushedView = pushedView.next) { 51 | if (pushedView.currentState == PATabbarPushedViewStatusDisplayed) { 52 | center = pushedView; 53 | } 54 | if (pushedView.currentState == PATabbarPushedViewStatusEmphasis) { 55 | break; 56 | } 57 | 58 | } 59 | 60 | if (center) { 61 | [self adjustPositionWithAForcusOnView:center]; 62 | } 63 | } 64 | 65 | 66 | -(void)swipeLeft{ 67 | PATabbarPushedView *center = nil; 68 | for (PATabbarPushedView *pushedView = self.tail; pushedView; pushedView = pushedView.prev) { 69 | if (pushedView.currentState == PATabbarPushedViewStatusDisplayed) { 70 | center = pushedView; 71 | } 72 | if (pushedView.currentState == PATabbarPushedViewStatusEmphasis) { 73 | break; 74 | } 75 | } 76 | 77 | if (center) { 78 | [self adjustPositionWithAForcusOnView:center]; 79 | } 80 | } 81 | 82 | 83 | -(void)pan:(UIPanGestureRecognizer *)pan{ 84 | CGPoint touchPoint = [pan translationInView:pan.view]; 85 | if (touchPoint.x > 60) { 86 | [self swipeRight]; 87 | [pan setTranslation:CGPointZero inView:pan.view]; 88 | }else if(touchPoint.x < -60){ 89 | [self swipeLeft]; 90 | [pan setTranslation:CGPointZero inView:pan.view]; 91 | } 92 | } 93 | 94 | 95 | 96 | 97 | 98 | -(void)setDefParams{ 99 | _ratioOfEmphasisedViewWidth = 0.8; 100 | _sumOfDisplayedView = 4; 101 | _sumOfEmphasisPushedView = 3; 102 | _durationForDeleteAnime = 0.3; 103 | _durationForRepositionAnime = 0.5; 104 | _latencyUpToRepositionFromDelete = 0.7; 105 | _lengthBetweenPushedViews = 1; 106 | } 107 | 108 | -(void)addToTailView:(PATabbarPushedView *)view{ 109 | CGFloat firstWidth = view.frame.size.width?:50; 110 | 111 | view.frame = CGRectMake(self.frame.size.width+firstWidth, 0, firstWidth, self.frame.size.height); 112 | view.translatesAutoresizingMaskIntoConstraints = YES; 113 | [self addSubview:view]; 114 | [view setNeedsLayout]; 115 | [view layoutIfNeeded]; 116 | view.translatesAutoresizingMaskIntoConstraints = NO; 117 | 118 | if (self.head == nil) { 119 | _head = view; 120 | }else{ 121 | [self.tail setNext:view]; 122 | } 123 | [self adjustPositionWithAForcusOnView:view]; 124 | } 125 | 126 | -(void)deleteView:(PATabbarPushedView *)deleteView{ 127 | PATabbarPushedView *nextOfDeleteView = deleteView.next; 128 | PATabbarPushedView *previousOfDeleteView = deleteView.prev; 129 | PATabbarPushedView *nextSelectedView = nextOfDeleteView ? nextOfDeleteView:previousOfDeleteView; 130 | 131 | if (previousOfDeleteView == nil) {//deleteView is Head 132 | _head = nextOfDeleteView; 133 | } 134 | 135 | //connext next and prev 136 | if (previousOfDeleteView) { 137 | [previousOfDeleteView setNext:nextOfDeleteView]; 138 | } 139 | if (nextOfDeleteView) { 140 | [nextOfDeleteView setPrev:previousOfDeleteView]; 141 | } 142 | 143 | 144 | [PATabbarView deleteAllConstraintsRelatedView:deleteView FromView:self]; 145 | [deleteView removeFromSuperview]; 146 | 147 | if (nextSelectedView) { 148 | deleteView.hidden = YES; 149 | [UIView animateWithDuration:_durationForDeleteAnime animations:^{ 150 | if (nextOfDeleteView) { 151 | [NSLayoutConstraint deactivateConstraints:nextOfDeleteView.constraints]; 152 | [nextOfDeleteView reAddFirstSelfConstraints]; 153 | 154 | [[NSLayoutConstraint constraintWithItem:nextOfDeleteView attribute:NSLayoutAttributeWidth relatedBy:NSLayoutRelationEqual toItem:nil attribute:NSLayoutAttributeNotAnAttribute multiplier:1 constant:deleteView.frame.size.width] setActive:YES];//Width 155 | [[NSLayoutConstraint constraintWithItem:nextOfDeleteView attribute:NSLayoutAttributeHeight relatedBy:NSLayoutRelationEqual toItem:nil attribute:NSLayoutAttributeNotAnAttribute multiplier:1 constant:deleteView.frame.size.height] setActive:YES];//Height 156 | [nextOfDeleteView setState:PATabbarPushedViewStatusEmphasis]; 157 | } 158 | 159 | if ((previousOfDeleteView == nil)&&nextOfDeleteView) {//nextSelectedView is head |-(0)-nextSelectedView 160 | [[NSLayoutConstraint constraintWithItem:self attribute:NSLayoutAttributeLeft relatedBy:NSLayoutRelationEqual toItem:nextOfDeleteView attribute:NSLayoutAttributeLeft multiplier:1 constant:_lengthBetweenPushedViews] setActive:YES]; 161 | }else if (nextOfDeleteView&&previousOfDeleteView){//previous-(0)-next 162 | [[NSLayoutConstraint constraintWithItem:previousOfDeleteView attribute:NSLayoutAttributeRight relatedBy:NSLayoutRelationEqual toItem:nextOfDeleteView attribute:NSLayoutAttributeLeft multiplier:1 constant:_lengthBetweenPushedViews] setActive:YES]; 163 | } 164 | [self layoutIfNeeded]; 165 | } completion:^(BOOL finished) { 166 | if (nextSelectedView) { 167 | [NSTimer scheduledTimerWithTimeInterval:_latencyUpToRepositionFromDelete target:self selector:@selector(adjustmentIfInInterface:) userInfo:@{PATabbarViewKeyNextAdjustmentTarget:nextSelectedView} repeats:NO]; 168 | 169 | } 170 | }]; 171 | }else{//delete the last one 172 | if ([self.delegate respondsToSelector:@selector(deletedLastPushedView)]) { 173 | [self.delegate deletedLastPushedView]; 174 | } 175 | } 176 | } 177 | 178 | -(void)adjustmentIfInInterface:(NSTimer *)timer{ 179 | PATabbarPushedView *view = timer.userInfo[PATabbarViewKeyNextAdjustmentTarget]; 180 | if (view.superview) { 181 | [self adjustPositionWithAForcusOnView:view]; 182 | } 183 | } 184 | 185 | -(void)adjustPositionWithAForcusOnView:(PATabbarPushedView *)centerView{ 186 | //Delete All Constraints 187 | [NSLayoutConstraint deactivateConstraints:self.constraints]; 188 | for (PATabbarPushedView *pushedView = self.head; pushedView; pushedView = pushedView.next) { 189 | [NSLayoutConstraint deactivateConstraints:pushedView.constraints]; 190 | [pushedView reAddFirstSelfConstraints 191 | ]; 192 | } 193 | 194 | //Resetup Constraints 195 | [NSLayoutConstraint activateConstraints:_firstConstrainsArray]; 196 | 197 | [[NSLayoutConstraint constraintWithItem:_head attribute:NSLayoutAttributeLeading relatedBy:NSLayoutRelationEqual toItem:self attribute:NSLayoutAttributeLeading multiplier:1 constant:0] setActive:YES]; 198 | [[NSLayoutConstraint constraintWithItem:_head attribute:NSLayoutAttributeTop relatedBy:NSLayoutRelationEqual toItem:self attribute:NSLayoutAttributeTop multiplier:1 constant:0]setActive:YES]; 199 | 200 | for (PATabbarPushedView *pushedView = self.head; pushedView; pushedView = pushedView.next) { 201 | [[NSLayoutConstraint constraintWithItem:self attribute:NSLayoutAttributeTop relatedBy:NSLayoutRelationEqual toItem:pushedView attribute:NSLayoutAttributeTop multiplier:1 constant:0]setActive:YES]; 202 | [[NSLayoutConstraint constraintWithItem:pushedView attribute:NSLayoutAttributeHeight relatedBy:NSLayoutRelationEqual toItem:nil attribute:NSLayoutAttributeNotAnAttribute multiplier:1 constant:self.frame.size.height] setActive:YES]; 203 | } 204 | 205 | NSDictionary *dicSeparatedStatus = [self setStatesForPushedViewsInListOnTheBasisOfView:centerView]; 206 | CGFloat emphasisViewWidth; 207 | CGFloat displayViewWidth; 208 | NSArray *emphasisDisplayedViews = dicSeparatedStatus[PATabbarViewKeyEmphasis]; 209 | NSArray *displayedViews = dicSeparatedStatus[PATabbarViewKeyDisplayed]; 210 | NSArray *notDisplayedViews = dicSeparatedStatus[PATabbarViewKeyNotDisplayedViews]; 211 | CGFloat sumOfSpaceLength = (emphasisDisplayedViews.count+displayedViews.count - 1)*_lengthBetweenPushedViews; 212 | if (displayedViews.count == 0) { 213 | emphasisViewWidth = (self.frame.size.width-sumOfSpaceLength)/emphasisDisplayedViews.count; 214 | displayViewWidth = 0; 215 | }else{ 216 | emphasisViewWidth = (self.frame.size.width-sumOfSpaceLength)*_ratioOfEmphasisedViewWidth/emphasisDisplayedViews.count; 217 | displayViewWidth = ((self.frame.size.width-sumOfSpaceLength) - (self.frame.size.width-sumOfSpaceLength)*_ratioOfEmphasisedViewWidth)/displayedViews.count; 218 | } 219 | 220 | for (PATabbarPushedView *pushedView = self.head; pushedView; pushedView = pushedView.next) { 221 | float spaceLength = 0;//only exist between displayed and emphasis pushedViews 222 | 223 | if ([emphasisDisplayedViews containsObject:pushedView]) { 224 | [[NSLayoutConstraint constraintWithItem:pushedView attribute:NSLayoutAttributeWidth relatedBy:NSLayoutRelationEqual toItem:nil attribute:NSLayoutAttributeNotAnAttribute multiplier:1 constant:emphasisViewWidth] setActive:YES]; 225 | spaceLength = _lengthBetweenPushedViews; 226 | }else if ([displayedViews containsObject:pushedView]){ 227 | [[NSLayoutConstraint constraintWithItem:pushedView attribute:NSLayoutAttributeWidth relatedBy:NSLayoutRelationEqual toItem:nil attribute:NSLayoutAttributeNotAnAttribute multiplier:1 constant:displayViewWidth] setActive:YES]; 228 | spaceLength = _lengthBetweenPushedViews; 229 | }else{ 230 | [[NSLayoutConstraint constraintWithItem:pushedView attribute:NSLayoutAttributeWidth relatedBy:NSLayoutRelationEqual toItem:nil attribute:NSLayoutAttributeNotAnAttribute multiplier:1 constant:0] setActive:YES]; 231 | } 232 | 233 | if (pushedView.next) { 234 | if ((spaceLength >0) && ([notDisplayedViews containsObject:pushedView.next]) ) { 235 | spaceLength = 0; 236 | } 237 | [[NSLayoutConstraint constraintWithItem:pushedView attribute:NSLayoutAttributeRight relatedBy:NSLayoutRelationEqual toItem:pushedView.next attribute:NSLayoutAttributeLeft multiplier:1 constant:-spaceLength] setActive:YES]; 238 | } 239 | } 240 | 241 | [UIView animateWithDuration:_durationForRepositionAnime animations:^{ 242 | [self layoutIfNeeded]; 243 | }completion:^(BOOL finished) { 244 | if ([self.delegate respondsToSelector:@selector(finishedAdjustAnimationAtForcusedView:)]) { 245 | [self.delegate finishedAdjustAnimationAtForcusedView:centerView]; 246 | } 247 | }]; 248 | } 249 | 250 | 251 | /** 252 | @return ResultDictionary 253 | **/ 254 | -(NSDictionary *)setStatesForPushedViewsInListOnTheBasisOfView:(PATabbarPushedView *)center{ 255 | PATabbarPushedViewState currentSettingState = PATabbarPushedViewStatusEmphasis; 256 | 257 | NSMutableArray *emphasisDisplayedViews = [NSMutableArray array]; 258 | NSMutableArray *displayedViews = [NSMutableArray array]; 259 | NSMutableArray *notDisplayedViews = [NSMutableArray array]; 260 | 261 | NSMutableArray *currentAddedArray = emphasisDisplayedViews; 262 | 263 | [center setState:currentSettingState]; 264 | [emphasisDisplayedViews addObject:center]; 265 | 266 | PATabbarPushedView *next = center.next; 267 | PATabbarPushedView *prev = center.prev; 268 | 269 | while (YES) { 270 | if (next) { 271 | [next setState:currentSettingState]; 272 | [currentAddedArray addObject:next]; 273 | next = next.next; 274 | } 275 | if (emphasisDisplayedViews.count >=_sumOfEmphasisPushedView) { 276 | currentAddedArray = displayedViews; 277 | currentSettingState = PATabbarPushedViewStatusDisplayed; 278 | } 279 | if (displayedViews.count >= _sumOfDisplayedView) { 280 | currentAddedArray = notDisplayedViews; 281 | currentSettingState = PATabbarPushedViewStatusNotDisplayed; 282 | } 283 | 284 | if (prev) { 285 | [prev setState:currentSettingState]; 286 | [currentAddedArray addObject:prev]; 287 | prev = prev.prev; 288 | } 289 | if (emphasisDisplayedViews.count >=_sumOfEmphasisPushedView) { 290 | currentAddedArray = displayedViews; 291 | currentSettingState = PATabbarPushedViewStatusDisplayed; 292 | } 293 | if (displayedViews.count >= _sumOfDisplayedView) { 294 | currentAddedArray = notDisplayedViews; 295 | currentSettingState = PATabbarPushedViewStatusNotDisplayed; 296 | } 297 | 298 | if ((prev == nil)&&(next == nil)) { 299 | break; 300 | } 301 | } 302 | 303 | return @{PATabbarViewKeyEmphasis:[NSArray arrayWithArray:emphasisDisplayedViews],PATabbarViewKeyDisplayed:[NSArray arrayWithArray:displayedViews],PATabbarViewKeyNotDisplayedViews:[NSArray arrayWithArray:notDisplayedViews]}; 304 | } 305 | 306 | #pragma mark -Private 307 | 308 | -(PATabbarPushedView *)tail{ 309 | for (PATabbarPushedView *pushedView = self.head; pushedView; pushedView = pushedView.next) { 310 | if (pushedView.next == nil) { 311 | return pushedView; 312 | } 313 | } 314 | return nil; 315 | } 316 | 317 | -(void)dealloc{ 318 | _firstConstrainsArray = nil; 319 | } 320 | 321 | #pragma mark - Class method 322 | 323 | +(void)deleteAllConstraintsRelatedView:(UIView *)relatedView FromView:(UIView *)from{ 324 | NSMutableArray *newConstraints = [NSMutableArray array]; 325 | 326 | [from.constraints enumerateObjectsUsingBlock:^(__kindof NSLayoutConstraint * _Nonnull obj, NSUInteger idx, BOOL * _Nonnull stop) { 327 | if (![obj.firstItem isEqual:relatedView]&&![obj.secondItem isEqual:relatedView]) { 328 | [newConstraints addObject:obj]; 329 | } 330 | }]; 331 | 332 | [NSLayoutConstraint deactivateConstraints:from.constraints]; 333 | [NSLayoutConstraint activateConstraints:[NSArray arrayWithArray:newConstraints]]; 334 | } 335 | 336 | 337 | /* 338 | // Only override drawRect: if you perform custom drawing. 339 | // An empty implementation adversely affects performance during animation. 340 | - (void)drawRect:(CGRect)rect { 341 | // Drawing code 342 | } 343 | */ 344 | 345 | @end 346 | -------------------------------------------------------------------------------- /Example/PATabbarView.xcodeproj/project.pbxproj: -------------------------------------------------------------------------------- 1 | // !$*UTF8*$! 2 | { 3 | archiveVersion = 1; 4 | classes = { 5 | }; 6 | objectVersion = 46; 7 | objects = { 8 | 9 | /* Begin PBXBuildFile section */ 10 | 080331FA1D0FB6540075268A /* ExampleSubPushedView.xib in Resources */ = {isa = PBXBuildFile; fileRef = 080331F91D0FB6540075268A /* ExampleSubPushedView.xib */; }; 11 | 080B5E401CEB47BA0051D9D3 /* ExampleViewController.m in Sources */ = {isa = PBXBuildFile; fileRef = 080B5E3F1CEB47BA0051D9D3 /* ExampleViewController.m */; }; 12 | 081039FC1D0FBC17006C8858 /* ExampleSubPushedView.m in Sources */ = {isa = PBXBuildFile; fileRef = 081039FB1D0FBC17006C8858 /* ExampleSubPushedView.m */; }; 13 | 5DFE76DFAC734AEDEB64875B /* Pods_PATabbarView_Tests.framework in Frameworks */ = {isa = PBXBuildFile; fileRef = B6C830177527F6EFDB13BDE0 /* Pods_PATabbarView_Tests.framework */; }; 14 | 6003F58E195388D20070C39A /* Foundation.framework in Frameworks */ = {isa = PBXBuildFile; fileRef = 6003F58D195388D20070C39A /* Foundation.framework */; }; 15 | 6003F590195388D20070C39A /* CoreGraphics.framework in Frameworks */ = {isa = PBXBuildFile; fileRef = 6003F58F195388D20070C39A /* CoreGraphics.framework */; }; 16 | 6003F592195388D20070C39A /* UIKit.framework in Frameworks */ = {isa = PBXBuildFile; fileRef = 6003F591195388D20070C39A /* UIKit.framework */; }; 17 | 6003F598195388D20070C39A /* InfoPlist.strings in Resources */ = {isa = PBXBuildFile; fileRef = 6003F596195388D20070C39A /* InfoPlist.strings */; }; 18 | 6003F59A195388D20070C39A /* main.m in Sources */ = {isa = PBXBuildFile; fileRef = 6003F599195388D20070C39A /* main.m */; }; 19 | 6003F59E195388D20070C39A /* PATAppDelegate.m in Sources */ = {isa = PBXBuildFile; fileRef = 6003F59D195388D20070C39A /* PATAppDelegate.m */; }; 20 | 6003F5A7195388D20070C39A /* PATViewController.m in Sources */ = {isa = PBXBuildFile; fileRef = 6003F5A6195388D20070C39A /* PATViewController.m */; }; 21 | 6003F5A9195388D20070C39A /* Images.xcassets in Resources */ = {isa = PBXBuildFile; fileRef = 6003F5A8195388D20070C39A /* Images.xcassets */; }; 22 | 6003F5B0195388D20070C39A /* XCTest.framework in Frameworks */ = {isa = PBXBuildFile; fileRef = 6003F5AF195388D20070C39A /* XCTest.framework */; }; 23 | 6003F5B1195388D20070C39A /* Foundation.framework in Frameworks */ = {isa = PBXBuildFile; fileRef = 6003F58D195388D20070C39A /* Foundation.framework */; }; 24 | 6003F5B2195388D20070C39A /* UIKit.framework in Frameworks */ = {isa = PBXBuildFile; fileRef = 6003F591195388D20070C39A /* UIKit.framework */; }; 25 | 6003F5BA195388D20070C39A /* InfoPlist.strings in Resources */ = {isa = PBXBuildFile; fileRef = 6003F5B8195388D20070C39A /* InfoPlist.strings */; }; 26 | 6003F5BC195388D20070C39A /* Tests.m in Sources */ = {isa = PBXBuildFile; fileRef = 6003F5BB195388D20070C39A /* Tests.m */; }; 27 | 873B8AEB1B1F5CCA007FD442 /* Main.storyboard in Resources */ = {isa = PBXBuildFile; fileRef = 873B8AEA1B1F5CCA007FD442 /* Main.storyboard */; }; 28 | E6852921B6F43041F3F0D032 /* Pods_PATabbarView_Example.framework in Frameworks */ = {isa = PBXBuildFile; fileRef = BCFB60673D116C0DF6A13F73 /* Pods_PATabbarView_Example.framework */; }; 29 | /* End PBXBuildFile section */ 30 | 31 | /* Begin PBXContainerItemProxy section */ 32 | 6003F5B3195388D20070C39A /* PBXContainerItemProxy */ = { 33 | isa = PBXContainerItemProxy; 34 | containerPortal = 6003F582195388D10070C39A /* Project object */; 35 | proxyType = 1; 36 | remoteGlobalIDString = 6003F589195388D20070C39A; 37 | remoteInfo = PATabbarView; 38 | }; 39 | /* End PBXContainerItemProxy section */ 40 | 41 | /* Begin PBXFileReference section */ 42 | 080331F91D0FB6540075268A /* ExampleSubPushedView.xib */ = {isa = PBXFileReference; fileEncoding = 4; lastKnownFileType = file.xib; path = ExampleSubPushedView.xib; sourceTree = ""; }; 43 | 080B5E3E1CEB47BA0051D9D3 /* ExampleViewController.h */ = {isa = PBXFileReference; fileEncoding = 4; lastKnownFileType = sourcecode.c.h; path = ExampleViewController.h; sourceTree = ""; }; 44 | 080B5E3F1CEB47BA0051D9D3 /* ExampleViewController.m */ = {isa = PBXFileReference; fileEncoding = 4; lastKnownFileType = sourcecode.c.objc; path = ExampleViewController.m; sourceTree = ""; }; 45 | 081039FA1D0FBC17006C8858 /* ExampleSubPushedView.h */ = {isa = PBXFileReference; fileEncoding = 4; lastKnownFileType = sourcecode.c.h; path = ExampleSubPushedView.h; sourceTree = ""; }; 46 | 081039FB1D0FBC17006C8858 /* ExampleSubPushedView.m */ = {isa = PBXFileReference; fileEncoding = 4; lastKnownFileType = sourcecode.c.objc; path = ExampleSubPushedView.m; sourceTree = ""; }; 47 | 6003F58A195388D20070C39A /* PATabbarView_Example.app */ = {isa = PBXFileReference; explicitFileType = wrapper.application; includeInIndex = 0; path = PATabbarView_Example.app; sourceTree = BUILT_PRODUCTS_DIR; }; 48 | 6003F58D195388D20070C39A /* Foundation.framework */ = {isa = PBXFileReference; lastKnownFileType = wrapper.framework; name = Foundation.framework; path = System/Library/Frameworks/Foundation.framework; sourceTree = SDKROOT; }; 49 | 6003F58F195388D20070C39A /* CoreGraphics.framework */ = {isa = PBXFileReference; lastKnownFileType = wrapper.framework; name = CoreGraphics.framework; path = System/Library/Frameworks/CoreGraphics.framework; sourceTree = SDKROOT; }; 50 | 6003F591195388D20070C39A /* UIKit.framework */ = {isa = PBXFileReference; lastKnownFileType = wrapper.framework; name = UIKit.framework; path = System/Library/Frameworks/UIKit.framework; sourceTree = SDKROOT; }; 51 | 6003F595195388D20070C39A /* PATabbarView-Info.plist */ = {isa = PBXFileReference; lastKnownFileType = text.plist.xml; path = "PATabbarView-Info.plist"; sourceTree = ""; }; 52 | 6003F597195388D20070C39A /* en */ = {isa = PBXFileReference; lastKnownFileType = text.plist.strings; name = en; path = en.lproj/InfoPlist.strings; sourceTree = ""; }; 53 | 6003F599195388D20070C39A /* main.m */ = {isa = PBXFileReference; lastKnownFileType = sourcecode.c.objc; path = main.m; sourceTree = ""; }; 54 | 6003F59B195388D20070C39A /* PATabbarView-Prefix.pch */ = {isa = PBXFileReference; lastKnownFileType = sourcecode.c.h; path = "PATabbarView-Prefix.pch"; sourceTree = ""; }; 55 | 6003F59C195388D20070C39A /* PATAppDelegate.h */ = {isa = PBXFileReference; lastKnownFileType = sourcecode.c.h; path = PATAppDelegate.h; sourceTree = ""; }; 56 | 6003F59D195388D20070C39A /* PATAppDelegate.m */ = {isa = PBXFileReference; lastKnownFileType = sourcecode.c.objc; path = PATAppDelegate.m; sourceTree = ""; }; 57 | 6003F5A5195388D20070C39A /* PATViewController.h */ = {isa = PBXFileReference; lastKnownFileType = sourcecode.c.h; path = PATViewController.h; sourceTree = ""; }; 58 | 6003F5A6195388D20070C39A /* PATViewController.m */ = {isa = PBXFileReference; lastKnownFileType = sourcecode.c.objc; path = PATViewController.m; sourceTree = ""; }; 59 | 6003F5A8195388D20070C39A /* Images.xcassets */ = {isa = PBXFileReference; lastKnownFileType = folder.assetcatalog; path = Images.xcassets; sourceTree = ""; }; 60 | 6003F5AE195388D20070C39A /* PATabbarView_Tests.xctest */ = {isa = PBXFileReference; explicitFileType = wrapper.cfbundle; includeInIndex = 0; path = PATabbarView_Tests.xctest; sourceTree = BUILT_PRODUCTS_DIR; }; 61 | 6003F5AF195388D20070C39A /* XCTest.framework */ = {isa = PBXFileReference; lastKnownFileType = wrapper.framework; name = XCTest.framework; path = Library/Frameworks/XCTest.framework; sourceTree = DEVELOPER_DIR; }; 62 | 6003F5B7195388D20070C39A /* Tests-Info.plist */ = {isa = PBXFileReference; lastKnownFileType = text.plist.xml; path = "Tests-Info.plist"; sourceTree = ""; }; 63 | 6003F5B9195388D20070C39A /* en */ = {isa = PBXFileReference; lastKnownFileType = text.plist.strings; name = en; path = en.lproj/InfoPlist.strings; sourceTree = ""; }; 64 | 6003F5BB195388D20070C39A /* Tests.m */ = {isa = PBXFileReference; lastKnownFileType = sourcecode.c.objc; path = Tests.m; sourceTree = ""; }; 65 | 606FC2411953D9B200FFA9A0 /* Tests-Prefix.pch */ = {isa = PBXFileReference; lastKnownFileType = sourcecode.c.h; path = "Tests-Prefix.pch"; sourceTree = ""; }; 66 | 642EF6C0892F022D031F7CCE /* Pods-PATabbarView_Tests.debug.xcconfig */ = {isa = PBXFileReference; includeInIndex = 1; lastKnownFileType = text.xcconfig; name = "Pods-PATabbarView_Tests.debug.xcconfig"; path = "Pods/Target Support Files/Pods-PATabbarView_Tests/Pods-PATabbarView_Tests.debug.xcconfig"; sourceTree = ""; }; 67 | 83DD24BDA629CA12B806CBC1 /* Pods-PATabbarView_Example.release.xcconfig */ = {isa = PBXFileReference; includeInIndex = 1; lastKnownFileType = text.xcconfig; name = "Pods-PATabbarView_Example.release.xcconfig"; path = "Pods/Target Support Files/Pods-PATabbarView_Example/Pods-PATabbarView_Example.release.xcconfig"; sourceTree = ""; }; 68 | 873B8AEA1B1F5CCA007FD442 /* Main.storyboard */ = {isa = PBXFileReference; fileEncoding = 4; lastKnownFileType = file.storyboard; path = Main.storyboard; sourceTree = ""; }; 69 | 9858A8DAF85087B68BBA56B1 /* LICENSE */ = {isa = PBXFileReference; includeInIndex = 1; lastKnownFileType = text; name = LICENSE; path = ../LICENSE; sourceTree = ""; }; 70 | ACCE2C351752D125F8BA942B /* Pods-PATabbarView_Example.debug.xcconfig */ = {isa = PBXFileReference; includeInIndex = 1; lastKnownFileType = text.xcconfig; name = "Pods-PATabbarView_Example.debug.xcconfig"; path = "Pods/Target Support Files/Pods-PATabbarView_Example/Pods-PATabbarView_Example.debug.xcconfig"; sourceTree = ""; }; 71 | B6C830177527F6EFDB13BDE0 /* Pods_PATabbarView_Tests.framework */ = {isa = PBXFileReference; explicitFileType = wrapper.framework; includeInIndex = 0; path = Pods_PATabbarView_Tests.framework; sourceTree = BUILT_PRODUCTS_DIR; }; 72 | BCFB60673D116C0DF6A13F73 /* Pods_PATabbarView_Example.framework */ = {isa = PBXFileReference; explicitFileType = wrapper.framework; includeInIndex = 0; path = Pods_PATabbarView_Example.framework; sourceTree = BUILT_PRODUCTS_DIR; }; 73 | E29C0624CC9CF2DD0966D63B /* README.md */ = {isa = PBXFileReference; includeInIndex = 1; lastKnownFileType = net.daringfireball.markdown; name = README.md; path = ../README.md; sourceTree = ""; }; 74 | E80C87D062D03889001382C6 /* PATabbarView.podspec */ = {isa = PBXFileReference; includeInIndex = 1; lastKnownFileType = text; name = PATabbarView.podspec; path = ../PATabbarView.podspec; sourceTree = ""; }; 75 | EE5C2EA7609D3472A0B4D72C /* Pods-PATabbarView_Tests.release.xcconfig */ = {isa = PBXFileReference; includeInIndex = 1; lastKnownFileType = text.xcconfig; name = "Pods-PATabbarView_Tests.release.xcconfig"; path = "Pods/Target Support Files/Pods-PATabbarView_Tests/Pods-PATabbarView_Tests.release.xcconfig"; sourceTree = ""; }; 76 | /* End PBXFileReference section */ 77 | 78 | /* Begin PBXFrameworksBuildPhase section */ 79 | 6003F587195388D20070C39A /* Frameworks */ = { 80 | isa = PBXFrameworksBuildPhase; 81 | buildActionMask = 2147483647; 82 | files = ( 83 | 6003F590195388D20070C39A /* CoreGraphics.framework in Frameworks */, 84 | 6003F592195388D20070C39A /* UIKit.framework in Frameworks */, 85 | 6003F58E195388D20070C39A /* Foundation.framework in Frameworks */, 86 | E6852921B6F43041F3F0D032 /* Pods_PATabbarView_Example.framework in Frameworks */, 87 | ); 88 | runOnlyForDeploymentPostprocessing = 0; 89 | }; 90 | 6003F5AB195388D20070C39A /* Frameworks */ = { 91 | isa = PBXFrameworksBuildPhase; 92 | buildActionMask = 2147483647; 93 | files = ( 94 | 6003F5B0195388D20070C39A /* XCTest.framework in Frameworks */, 95 | 6003F5B2195388D20070C39A /* UIKit.framework in Frameworks */, 96 | 6003F5B1195388D20070C39A /* Foundation.framework in Frameworks */, 97 | 5DFE76DFAC734AEDEB64875B /* Pods_PATabbarView_Tests.framework in Frameworks */, 98 | ); 99 | runOnlyForDeploymentPostprocessing = 0; 100 | }; 101 | /* End PBXFrameworksBuildPhase section */ 102 | 103 | /* Begin PBXGroup section */ 104 | 6003F581195388D10070C39A = { 105 | isa = PBXGroup; 106 | children = ( 107 | 60FF7A9C1954A5C5007DD14C /* Podspec Metadata */, 108 | 6003F593195388D20070C39A /* Example for PATabbarView */, 109 | 6003F5B5195388D20070C39A /* Tests */, 110 | 6003F58C195388D20070C39A /* Frameworks */, 111 | 6003F58B195388D20070C39A /* Products */, 112 | 656206D4DFF7B3B30558D79E /* Pods */, 113 | ); 114 | sourceTree = ""; 115 | }; 116 | 6003F58B195388D20070C39A /* Products */ = { 117 | isa = PBXGroup; 118 | children = ( 119 | 6003F58A195388D20070C39A /* PATabbarView_Example.app */, 120 | 6003F5AE195388D20070C39A /* PATabbarView_Tests.xctest */, 121 | ); 122 | name = Products; 123 | sourceTree = ""; 124 | }; 125 | 6003F58C195388D20070C39A /* Frameworks */ = { 126 | isa = PBXGroup; 127 | children = ( 128 | 6003F58D195388D20070C39A /* Foundation.framework */, 129 | 6003F58F195388D20070C39A /* CoreGraphics.framework */, 130 | 6003F591195388D20070C39A /* UIKit.framework */, 131 | 6003F5AF195388D20070C39A /* XCTest.framework */, 132 | BCFB60673D116C0DF6A13F73 /* Pods_PATabbarView_Example.framework */, 133 | B6C830177527F6EFDB13BDE0 /* Pods_PATabbarView_Tests.framework */, 134 | ); 135 | name = Frameworks; 136 | sourceTree = ""; 137 | }; 138 | 6003F593195388D20070C39A /* Example for PATabbarView */ = { 139 | isa = PBXGroup; 140 | children = ( 141 | 6003F59C195388D20070C39A /* PATAppDelegate.h */, 142 | 6003F59D195388D20070C39A /* PATAppDelegate.m */, 143 | 873B8AEA1B1F5CCA007FD442 /* Main.storyboard */, 144 | 6003F5A5195388D20070C39A /* PATViewController.h */, 145 | 6003F5A6195388D20070C39A /* PATViewController.m */, 146 | 080331F91D0FB6540075268A /* ExampleSubPushedView.xib */, 147 | 081039FA1D0FBC17006C8858 /* ExampleSubPushedView.h */, 148 | 081039FB1D0FBC17006C8858 /* ExampleSubPushedView.m */, 149 | 080B5E3E1CEB47BA0051D9D3 /* ExampleViewController.h */, 150 | 080B5E3F1CEB47BA0051D9D3 /* ExampleViewController.m */, 151 | 6003F5A8195388D20070C39A /* Images.xcassets */, 152 | 6003F594195388D20070C39A /* Supporting Files */, 153 | ); 154 | name = "Example for PATabbarView"; 155 | path = PATabbarView; 156 | sourceTree = ""; 157 | }; 158 | 6003F594195388D20070C39A /* Supporting Files */ = { 159 | isa = PBXGroup; 160 | children = ( 161 | 6003F595195388D20070C39A /* PATabbarView-Info.plist */, 162 | 6003F596195388D20070C39A /* InfoPlist.strings */, 163 | 6003F599195388D20070C39A /* main.m */, 164 | 6003F59B195388D20070C39A /* PATabbarView-Prefix.pch */, 165 | ); 166 | name = "Supporting Files"; 167 | sourceTree = ""; 168 | }; 169 | 6003F5B5195388D20070C39A /* Tests */ = { 170 | isa = PBXGroup; 171 | children = ( 172 | 6003F5BB195388D20070C39A /* Tests.m */, 173 | 6003F5B6195388D20070C39A /* Supporting Files */, 174 | ); 175 | path = Tests; 176 | sourceTree = ""; 177 | }; 178 | 6003F5B6195388D20070C39A /* Supporting Files */ = { 179 | isa = PBXGroup; 180 | children = ( 181 | 6003F5B7195388D20070C39A /* Tests-Info.plist */, 182 | 6003F5B8195388D20070C39A /* InfoPlist.strings */, 183 | 606FC2411953D9B200FFA9A0 /* Tests-Prefix.pch */, 184 | ); 185 | name = "Supporting Files"; 186 | sourceTree = ""; 187 | }; 188 | 60FF7A9C1954A5C5007DD14C /* Podspec Metadata */ = { 189 | isa = PBXGroup; 190 | children = ( 191 | E80C87D062D03889001382C6 /* PATabbarView.podspec */, 192 | E29C0624CC9CF2DD0966D63B /* README.md */, 193 | 9858A8DAF85087B68BBA56B1 /* LICENSE */, 194 | ); 195 | name = "Podspec Metadata"; 196 | sourceTree = ""; 197 | }; 198 | 656206D4DFF7B3B30558D79E /* Pods */ = { 199 | isa = PBXGroup; 200 | children = ( 201 | ACCE2C351752D125F8BA942B /* Pods-PATabbarView_Example.debug.xcconfig */, 202 | 83DD24BDA629CA12B806CBC1 /* Pods-PATabbarView_Example.release.xcconfig */, 203 | 642EF6C0892F022D031F7CCE /* Pods-PATabbarView_Tests.debug.xcconfig */, 204 | EE5C2EA7609D3472A0B4D72C /* Pods-PATabbarView_Tests.release.xcconfig */, 205 | ); 206 | name = Pods; 207 | sourceTree = ""; 208 | }; 209 | /* End PBXGroup section */ 210 | 211 | /* Begin PBXNativeTarget section */ 212 | 6003F589195388D20070C39A /* PATabbarView_Example */ = { 213 | isa = PBXNativeTarget; 214 | buildConfigurationList = 6003F5BF195388D20070C39A /* Build configuration list for PBXNativeTarget "PATabbarView_Example" */; 215 | buildPhases = ( 216 | B9C442716488E96AF0F6CA9D /* Check Pods Manifest.lock */, 217 | 6003F586195388D20070C39A /* Sources */, 218 | 6003F587195388D20070C39A /* Frameworks */, 219 | 6003F588195388D20070C39A /* Resources */, 220 | F24D4369102F445AA78D367F /* Embed Pods Frameworks */, 221 | 044EFC94AD7BC8811F991C2C /* Copy Pods Resources */, 222 | ); 223 | buildRules = ( 224 | ); 225 | dependencies = ( 226 | ); 227 | name = PATabbarView_Example; 228 | productName = PATabbarView; 229 | productReference = 6003F58A195388D20070C39A /* PATabbarView_Example.app */; 230 | productType = "com.apple.product-type.application"; 231 | }; 232 | 6003F5AD195388D20070C39A /* PATabbarView_Tests */ = { 233 | isa = PBXNativeTarget; 234 | buildConfigurationList = 6003F5C2195388D20070C39A /* Build configuration list for PBXNativeTarget "PATabbarView_Tests" */; 235 | buildPhases = ( 236 | 9D1DE0D737405658EA229541 /* Check Pods Manifest.lock */, 237 | 6003F5AA195388D20070C39A /* Sources */, 238 | 6003F5AB195388D20070C39A /* Frameworks */, 239 | 6003F5AC195388D20070C39A /* Resources */, 240 | 4FE3DE6A9B093702EE2870A4 /* Embed Pods Frameworks */, 241 | 874E97DB2721C3C19DDBFD79 /* Copy Pods Resources */, 242 | ); 243 | buildRules = ( 244 | ); 245 | dependencies = ( 246 | 6003F5B4195388D20070C39A /* PBXTargetDependency */, 247 | ); 248 | name = PATabbarView_Tests; 249 | productName = PATabbarViewTests; 250 | productReference = 6003F5AE195388D20070C39A /* PATabbarView_Tests.xctest */; 251 | productType = "com.apple.product-type.bundle.unit-test"; 252 | }; 253 | /* End PBXNativeTarget section */ 254 | 255 | /* Begin PBXProject section */ 256 | 6003F582195388D10070C39A /* Project object */ = { 257 | isa = PBXProject; 258 | attributes = { 259 | CLASSPREFIX = PAT; 260 | LastUpgradeCheck = 0720; 261 | ORGANIZATIONNAME = Inba; 262 | TargetAttributes = { 263 | 6003F589195388D20070C39A = { 264 | DevelopmentTeam = 3AKMJEDD3X; 265 | }; 266 | 6003F5AD195388D20070C39A = { 267 | TestTargetID = 6003F589195388D20070C39A; 268 | }; 269 | }; 270 | }; 271 | buildConfigurationList = 6003F585195388D10070C39A /* Build configuration list for PBXProject "PATabbarView" */; 272 | compatibilityVersion = "Xcode 3.2"; 273 | developmentRegion = English; 274 | hasScannedForEncodings = 0; 275 | knownRegions = ( 276 | en, 277 | Base, 278 | ); 279 | mainGroup = 6003F581195388D10070C39A; 280 | productRefGroup = 6003F58B195388D20070C39A /* Products */; 281 | projectDirPath = ""; 282 | projectRoot = ""; 283 | targets = ( 284 | 6003F589195388D20070C39A /* PATabbarView_Example */, 285 | 6003F5AD195388D20070C39A /* PATabbarView_Tests */, 286 | ); 287 | }; 288 | /* End PBXProject section */ 289 | 290 | /* Begin PBXResourcesBuildPhase section */ 291 | 6003F588195388D20070C39A /* Resources */ = { 292 | isa = PBXResourcesBuildPhase; 293 | buildActionMask = 2147483647; 294 | files = ( 295 | 873B8AEB1B1F5CCA007FD442 /* Main.storyboard in Resources */, 296 | 6003F5A9195388D20070C39A /* Images.xcassets in Resources */, 297 | 6003F598195388D20070C39A /* InfoPlist.strings in Resources */, 298 | 080331FA1D0FB6540075268A /* ExampleSubPushedView.xib in Resources */, 299 | ); 300 | runOnlyForDeploymentPostprocessing = 0; 301 | }; 302 | 6003F5AC195388D20070C39A /* Resources */ = { 303 | isa = PBXResourcesBuildPhase; 304 | buildActionMask = 2147483647; 305 | files = ( 306 | 6003F5BA195388D20070C39A /* InfoPlist.strings in Resources */, 307 | ); 308 | runOnlyForDeploymentPostprocessing = 0; 309 | }; 310 | /* End PBXResourcesBuildPhase section */ 311 | 312 | /* Begin PBXShellScriptBuildPhase section */ 313 | 044EFC94AD7BC8811F991C2C /* Copy Pods Resources */ = { 314 | isa = PBXShellScriptBuildPhase; 315 | buildActionMask = 2147483647; 316 | files = ( 317 | ); 318 | inputPaths = ( 319 | ); 320 | name = "Copy Pods Resources"; 321 | outputPaths = ( 322 | ); 323 | runOnlyForDeploymentPostprocessing = 0; 324 | shellPath = /bin/sh; 325 | shellScript = "\"${SRCROOT}/Pods/Target Support Files/Pods-PATabbarView_Example/Pods-PATabbarView_Example-resources.sh\"\n"; 326 | showEnvVarsInLog = 0; 327 | }; 328 | 4FE3DE6A9B093702EE2870A4 /* Embed Pods Frameworks */ = { 329 | isa = PBXShellScriptBuildPhase; 330 | buildActionMask = 2147483647; 331 | files = ( 332 | ); 333 | inputPaths = ( 334 | ); 335 | name = "Embed Pods Frameworks"; 336 | outputPaths = ( 337 | ); 338 | runOnlyForDeploymentPostprocessing = 0; 339 | shellPath = /bin/sh; 340 | shellScript = "\"${SRCROOT}/Pods/Target Support Files/Pods-PATabbarView_Tests/Pods-PATabbarView_Tests-frameworks.sh\"\n"; 341 | showEnvVarsInLog = 0; 342 | }; 343 | 874E97DB2721C3C19DDBFD79 /* Copy Pods Resources */ = { 344 | isa = PBXShellScriptBuildPhase; 345 | buildActionMask = 2147483647; 346 | files = ( 347 | ); 348 | inputPaths = ( 349 | ); 350 | name = "Copy Pods Resources"; 351 | outputPaths = ( 352 | ); 353 | runOnlyForDeploymentPostprocessing = 0; 354 | shellPath = /bin/sh; 355 | shellScript = "\"${SRCROOT}/Pods/Target Support Files/Pods-PATabbarView_Tests/Pods-PATabbarView_Tests-resources.sh\"\n"; 356 | showEnvVarsInLog = 0; 357 | }; 358 | 9D1DE0D737405658EA229541 /* Check Pods Manifest.lock */ = { 359 | isa = PBXShellScriptBuildPhase; 360 | buildActionMask = 2147483647; 361 | files = ( 362 | ); 363 | inputPaths = ( 364 | ); 365 | name = "Check Pods Manifest.lock"; 366 | outputPaths = ( 367 | ); 368 | runOnlyForDeploymentPostprocessing = 0; 369 | shellPath = /bin/sh; 370 | shellScript = "diff \"${PODS_ROOT}/../Podfile.lock\" \"${PODS_ROOT}/Manifest.lock\" > /dev/null\nif [[ $? != 0 ]] ; then\n cat << EOM\nerror: The sandbox is not in sync with the Podfile.lock. Run 'pod install' or update your CocoaPods installation.\nEOM\n exit 1\nfi\n"; 371 | showEnvVarsInLog = 0; 372 | }; 373 | B9C442716488E96AF0F6CA9D /* Check Pods Manifest.lock */ = { 374 | isa = PBXShellScriptBuildPhase; 375 | buildActionMask = 2147483647; 376 | files = ( 377 | ); 378 | inputPaths = ( 379 | ); 380 | name = "Check Pods Manifest.lock"; 381 | outputPaths = ( 382 | ); 383 | runOnlyForDeploymentPostprocessing = 0; 384 | shellPath = /bin/sh; 385 | shellScript = "diff \"${PODS_ROOT}/../Podfile.lock\" \"${PODS_ROOT}/Manifest.lock\" > /dev/null\nif [[ $? != 0 ]] ; then\n cat << EOM\nerror: The sandbox is not in sync with the Podfile.lock. Run 'pod install' or update your CocoaPods installation.\nEOM\n exit 1\nfi\n"; 386 | showEnvVarsInLog = 0; 387 | }; 388 | F24D4369102F445AA78D367F /* Embed Pods Frameworks */ = { 389 | isa = PBXShellScriptBuildPhase; 390 | buildActionMask = 2147483647; 391 | files = ( 392 | ); 393 | inputPaths = ( 394 | ); 395 | name = "Embed Pods Frameworks"; 396 | outputPaths = ( 397 | ); 398 | runOnlyForDeploymentPostprocessing = 0; 399 | shellPath = /bin/sh; 400 | shellScript = "\"${SRCROOT}/Pods/Target Support Files/Pods-PATabbarView_Example/Pods-PATabbarView_Example-frameworks.sh\"\n"; 401 | showEnvVarsInLog = 0; 402 | }; 403 | /* End PBXShellScriptBuildPhase section */ 404 | 405 | /* Begin PBXSourcesBuildPhase section */ 406 | 6003F586195388D20070C39A /* Sources */ = { 407 | isa = PBXSourcesBuildPhase; 408 | buildActionMask = 2147483647; 409 | files = ( 410 | 6003F59E195388D20070C39A /* PATAppDelegate.m in Sources */, 411 | 6003F5A7195388D20070C39A /* PATViewController.m in Sources */, 412 | 080B5E401CEB47BA0051D9D3 /* ExampleViewController.m in Sources */, 413 | 6003F59A195388D20070C39A /* main.m in Sources */, 414 | 081039FC1D0FBC17006C8858 /* ExampleSubPushedView.m in Sources */, 415 | ); 416 | runOnlyForDeploymentPostprocessing = 0; 417 | }; 418 | 6003F5AA195388D20070C39A /* Sources */ = { 419 | isa = PBXSourcesBuildPhase; 420 | buildActionMask = 2147483647; 421 | files = ( 422 | 6003F5BC195388D20070C39A /* Tests.m in Sources */, 423 | ); 424 | runOnlyForDeploymentPostprocessing = 0; 425 | }; 426 | /* End PBXSourcesBuildPhase section */ 427 | 428 | /* Begin PBXTargetDependency section */ 429 | 6003F5B4195388D20070C39A /* PBXTargetDependency */ = { 430 | isa = PBXTargetDependency; 431 | target = 6003F589195388D20070C39A /* PATabbarView_Example */; 432 | targetProxy = 6003F5B3195388D20070C39A /* PBXContainerItemProxy */; 433 | }; 434 | /* End PBXTargetDependency section */ 435 | 436 | /* Begin PBXVariantGroup section */ 437 | 6003F596195388D20070C39A /* InfoPlist.strings */ = { 438 | isa = PBXVariantGroup; 439 | children = ( 440 | 6003F597195388D20070C39A /* en */, 441 | ); 442 | name = InfoPlist.strings; 443 | sourceTree = ""; 444 | }; 445 | 6003F5B8195388D20070C39A /* InfoPlist.strings */ = { 446 | isa = PBXVariantGroup; 447 | children = ( 448 | 6003F5B9195388D20070C39A /* en */, 449 | ); 450 | name = InfoPlist.strings; 451 | sourceTree = ""; 452 | }; 453 | /* End PBXVariantGroup section */ 454 | 455 | /* Begin XCBuildConfiguration section */ 456 | 6003F5BD195388D20070C39A /* Debug */ = { 457 | isa = XCBuildConfiguration; 458 | buildSettings = { 459 | ALWAYS_SEARCH_USER_PATHS = NO; 460 | CLANG_CXX_LANGUAGE_STANDARD = "gnu++0x"; 461 | CLANG_CXX_LIBRARY = "libc++"; 462 | CLANG_ENABLE_MODULES = YES; 463 | CLANG_ENABLE_OBJC_ARC = YES; 464 | CLANG_WARN_BOOL_CONVERSION = YES; 465 | CLANG_WARN_CONSTANT_CONVERSION = YES; 466 | CLANG_WARN_DIRECT_OBJC_ISA_USAGE = YES_ERROR; 467 | CLANG_WARN_EMPTY_BODY = YES; 468 | CLANG_WARN_ENUM_CONVERSION = YES; 469 | CLANG_WARN_INT_CONVERSION = YES; 470 | CLANG_WARN_OBJC_ROOT_CLASS = YES_ERROR; 471 | CLANG_WARN__DUPLICATE_METHOD_MATCH = YES; 472 | "CODE_SIGN_IDENTITY[sdk=iphoneos*]" = "iPhone Developer"; 473 | COPY_PHASE_STRIP = NO; 474 | ENABLE_TESTABILITY = YES; 475 | GCC_C_LANGUAGE_STANDARD = gnu99; 476 | GCC_DYNAMIC_NO_PIC = NO; 477 | GCC_OPTIMIZATION_LEVEL = 0; 478 | GCC_PREPROCESSOR_DEFINITIONS = ( 479 | "DEBUG=1", 480 | "$(inherited)", 481 | ); 482 | GCC_SYMBOLS_PRIVATE_EXTERN = NO; 483 | GCC_WARN_64_TO_32_BIT_CONVERSION = YES; 484 | GCC_WARN_ABOUT_RETURN_TYPE = YES_ERROR; 485 | GCC_WARN_UNDECLARED_SELECTOR = YES; 486 | GCC_WARN_UNINITIALIZED_AUTOS = YES_AGGRESSIVE; 487 | GCC_WARN_UNUSED_FUNCTION = YES; 488 | GCC_WARN_UNUSED_VARIABLE = YES; 489 | IPHONEOS_DEPLOYMENT_TARGET = 8.0; 490 | ONLY_ACTIVE_ARCH = YES; 491 | SDKROOT = iphoneos; 492 | TARGETED_DEVICE_FAMILY = "1,2"; 493 | }; 494 | name = Debug; 495 | }; 496 | 6003F5BE195388D20070C39A /* Release */ = { 497 | isa = XCBuildConfiguration; 498 | buildSettings = { 499 | ALWAYS_SEARCH_USER_PATHS = NO; 500 | CLANG_CXX_LANGUAGE_STANDARD = "gnu++0x"; 501 | CLANG_CXX_LIBRARY = "libc++"; 502 | CLANG_ENABLE_MODULES = YES; 503 | CLANG_ENABLE_OBJC_ARC = YES; 504 | CLANG_WARN_BOOL_CONVERSION = YES; 505 | CLANG_WARN_CONSTANT_CONVERSION = YES; 506 | CLANG_WARN_DIRECT_OBJC_ISA_USAGE = YES_ERROR; 507 | CLANG_WARN_EMPTY_BODY = YES; 508 | CLANG_WARN_ENUM_CONVERSION = YES; 509 | CLANG_WARN_INT_CONVERSION = YES; 510 | CLANG_WARN_OBJC_ROOT_CLASS = YES_ERROR; 511 | CLANG_WARN__DUPLICATE_METHOD_MATCH = YES; 512 | "CODE_SIGN_IDENTITY[sdk=iphoneos*]" = "iPhone Developer"; 513 | COPY_PHASE_STRIP = YES; 514 | ENABLE_NS_ASSERTIONS = NO; 515 | GCC_C_LANGUAGE_STANDARD = gnu99; 516 | GCC_WARN_64_TO_32_BIT_CONVERSION = YES; 517 | GCC_WARN_ABOUT_RETURN_TYPE = YES_ERROR; 518 | GCC_WARN_UNDECLARED_SELECTOR = YES; 519 | GCC_WARN_UNINITIALIZED_AUTOS = YES_AGGRESSIVE; 520 | GCC_WARN_UNUSED_FUNCTION = YES; 521 | GCC_WARN_UNUSED_VARIABLE = YES; 522 | IPHONEOS_DEPLOYMENT_TARGET = 8.0; 523 | SDKROOT = iphoneos; 524 | TARGETED_DEVICE_FAMILY = "1,2"; 525 | VALIDATE_PRODUCT = YES; 526 | }; 527 | name = Release; 528 | }; 529 | 6003F5C0195388D20070C39A /* Debug */ = { 530 | isa = XCBuildConfiguration; 531 | baseConfigurationReference = ACCE2C351752D125F8BA942B /* Pods-PATabbarView_Example.debug.xcconfig */; 532 | buildSettings = { 533 | ASSETCATALOG_COMPILER_APPICON_NAME = AppIcon; 534 | ASSETCATALOG_COMPILER_LAUNCHIMAGE_NAME = LaunchImage; 535 | CODE_SIGN_IDENTITY = "iPhone Developer"; 536 | "CODE_SIGN_IDENTITY[sdk=iphoneos*]" = "iPhone Developer"; 537 | GCC_PRECOMPILE_PREFIX_HEADER = YES; 538 | GCC_PREFIX_HEADER = "PATabbarView/PATabbarView-Prefix.pch"; 539 | INFOPLIST_FILE = "PATabbarView/PATabbarView-Info.plist"; 540 | MODULE_NAME = ExampleApp; 541 | PRODUCT_BUNDLE_IDENTIFIER = "org.cocoapods.demo.${PRODUCT_NAME:rfc1034identifier}"; 542 | PRODUCT_NAME = "$(TARGET_NAME)"; 543 | PROVISIONING_PROFILE = ""; 544 | WRAPPER_EXTENSION = app; 545 | }; 546 | name = Debug; 547 | }; 548 | 6003F5C1195388D20070C39A /* Release */ = { 549 | isa = XCBuildConfiguration; 550 | baseConfigurationReference = 83DD24BDA629CA12B806CBC1 /* Pods-PATabbarView_Example.release.xcconfig */; 551 | buildSettings = { 552 | ASSETCATALOG_COMPILER_APPICON_NAME = AppIcon; 553 | ASSETCATALOG_COMPILER_LAUNCHIMAGE_NAME = LaunchImage; 554 | CODE_SIGN_IDENTITY = "iPhone Developer"; 555 | "CODE_SIGN_IDENTITY[sdk=iphoneos*]" = "iPhone Developer"; 556 | GCC_OPTIMIZATION_LEVEL = 0; 557 | GCC_PRECOMPILE_PREFIX_HEADER = YES; 558 | GCC_PREFIX_HEADER = "PATabbarView/PATabbarView-Prefix.pch"; 559 | INFOPLIST_FILE = "PATabbarView/PATabbarView-Info.plist"; 560 | MODULE_NAME = ExampleApp; 561 | PRODUCT_BUNDLE_IDENTIFIER = "org.cocoapods.demo.${PRODUCT_NAME:rfc1034identifier}"; 562 | PRODUCT_NAME = "$(TARGET_NAME)"; 563 | PROVISIONING_PROFILE = ""; 564 | WRAPPER_EXTENSION = app; 565 | }; 566 | name = Release; 567 | }; 568 | 6003F5C3195388D20070C39A /* Debug */ = { 569 | isa = XCBuildConfiguration; 570 | baseConfigurationReference = 642EF6C0892F022D031F7CCE /* Pods-PATabbarView_Tests.debug.xcconfig */; 571 | buildSettings = { 572 | BUNDLE_LOADER = "$(TEST_HOST)"; 573 | FRAMEWORK_SEARCH_PATHS = ( 574 | "$(SDKROOT)/Developer/Library/Frameworks", 575 | "$(inherited)", 576 | "$(DEVELOPER_FRAMEWORKS_DIR)", 577 | ); 578 | GCC_PRECOMPILE_PREFIX_HEADER = YES; 579 | GCC_PREFIX_HEADER = "Tests/Tests-Prefix.pch"; 580 | GCC_PREPROCESSOR_DEFINITIONS = ( 581 | "DEBUG=1", 582 | "$(inherited)", 583 | ); 584 | INFOPLIST_FILE = "Tests/Tests-Info.plist"; 585 | PRODUCT_BUNDLE_IDENTIFIER = "org.cocoapods.demo.${PRODUCT_NAME:rfc1034identifier}"; 586 | PRODUCT_NAME = "$(TARGET_NAME)"; 587 | TEST_HOST = "$(BUILT_PRODUCTS_DIR)/PATabbarView_Example.app/PATabbarView_Example"; 588 | WRAPPER_EXTENSION = xctest; 589 | }; 590 | name = Debug; 591 | }; 592 | 6003F5C4195388D20070C39A /* Release */ = { 593 | isa = XCBuildConfiguration; 594 | baseConfigurationReference = EE5C2EA7609D3472A0B4D72C /* Pods-PATabbarView_Tests.release.xcconfig */; 595 | buildSettings = { 596 | BUNDLE_LOADER = "$(TEST_HOST)"; 597 | FRAMEWORK_SEARCH_PATHS = ( 598 | "$(SDKROOT)/Developer/Library/Frameworks", 599 | "$(inherited)", 600 | "$(DEVELOPER_FRAMEWORKS_DIR)", 601 | ); 602 | GCC_PRECOMPILE_PREFIX_HEADER = YES; 603 | GCC_PREFIX_HEADER = "Tests/Tests-Prefix.pch"; 604 | INFOPLIST_FILE = "Tests/Tests-Info.plist"; 605 | PRODUCT_BUNDLE_IDENTIFIER = "org.cocoapods.demo.${PRODUCT_NAME:rfc1034identifier}"; 606 | PRODUCT_NAME = "$(TARGET_NAME)"; 607 | TEST_HOST = "$(BUILT_PRODUCTS_DIR)/PATabbarView_Example.app/PATabbarView_Example"; 608 | WRAPPER_EXTENSION = xctest; 609 | }; 610 | name = Release; 611 | }; 612 | /* End XCBuildConfiguration section */ 613 | 614 | /* Begin XCConfigurationList section */ 615 | 6003F585195388D10070C39A /* Build configuration list for PBXProject "PATabbarView" */ = { 616 | isa = XCConfigurationList; 617 | buildConfigurations = ( 618 | 6003F5BD195388D20070C39A /* Debug */, 619 | 6003F5BE195388D20070C39A /* Release */, 620 | ); 621 | defaultConfigurationIsVisible = 0; 622 | defaultConfigurationName = Release; 623 | }; 624 | 6003F5BF195388D20070C39A /* Build configuration list for PBXNativeTarget "PATabbarView_Example" */ = { 625 | isa = XCConfigurationList; 626 | buildConfigurations = ( 627 | 6003F5C0195388D20070C39A /* Debug */, 628 | 6003F5C1195388D20070C39A /* Release */, 629 | ); 630 | defaultConfigurationIsVisible = 0; 631 | defaultConfigurationName = Release; 632 | }; 633 | 6003F5C2195388D20070C39A /* Build configuration list for PBXNativeTarget "PATabbarView_Tests" */ = { 634 | isa = XCConfigurationList; 635 | buildConfigurations = ( 636 | 6003F5C3195388D20070C39A /* Debug */, 637 | 6003F5C4195388D20070C39A /* Release */, 638 | ); 639 | defaultConfigurationIsVisible = 0; 640 | defaultConfigurationName = Release; 641 | }; 642 | /* End XCConfigurationList section */ 643 | }; 644 | rootObject = 6003F582195388D10070C39A /* Project object */; 645 | } 646 | -------------------------------------------------------------------------------- /Example/PATabbarView.xcodeproj/project.xcworkspace/contents.xcworkspacedata: -------------------------------------------------------------------------------- 1 | 2 | 4 | 6 | 7 | 8 | -------------------------------------------------------------------------------- /Example/PATabbarView.xcodeproj/xcshareddata/xcschemes/PATabbarView-Example.xcscheme: -------------------------------------------------------------------------------- 1 | 2 | 5 | 8 | 9 | 15 | 21 | 22 | 23 | 24 | 25 | 30 | 31 | 33 | 39 | 40 | 41 | 42 | 43 | 49 | 50 | 51 | 52 | 53 | 54 | 64 | 66 | 72 | 73 | 74 | 75 | 76 | 77 | 83 | 85 | 91 | 92 | 93 | 94 | 96 | 97 | 100 | 101 | 102 | -------------------------------------------------------------------------------- /Example/PATabbarView.xcworkspace/contents.xcworkspacedata: -------------------------------------------------------------------------------- 1 | 2 | 4 | 6 | 7 | 9 | 10 | 11 | -------------------------------------------------------------------------------- /Example/PATabbarView/ExampleSubPushedView.h: -------------------------------------------------------------------------------- 1 | // 2 | // ExampleSubPushedView2.h 3 | // PATabbarView 4 | // 5 | // Created by Inba on 2016/06/14. 6 | // Copyright © 2016年 Inba. All rights reserved. 7 | // 8 | 9 | #import "PATabbarPushedView.h" 10 | 11 | @class ExampleSubPushedView; 12 | 13 | @protocol ExampleSubPushedViewDelegate 14 | 15 | -(void)pushedDeleteButtonInPushedView:(ExampleSubPushedView *)sender; 16 | -(void)tapTab:(ExampleSubPushedView *)sender; 17 | 18 | 19 | @end 20 | 21 | @interface ExampleSubPushedView : PATabbarPushedView 22 | @property (weak, nonatomic) IBOutlet UIButton *deleteButton; 23 | @property (weak, nonatomic) IBOutlet UILabel *label; 24 | @property (weak) UIViewController *delegate; 25 | @property (strong, nonatomic) UIViewController *controller; 26 | 27 | @end 28 | -------------------------------------------------------------------------------- /Example/PATabbarView/ExampleSubPushedView.m: -------------------------------------------------------------------------------- 1 | // 2 | // ExampleSubPushedView2.m 3 | // PATabbarView 4 | // 5 | // Created by Inba on 2016/06/14. 6 | // Copyright © 2016年 Inba. All rights reserved. 7 | // 8 | 9 | #import "ExampleSubPushedView.h" 10 | #define ARC4RANDOM_MAX 0x100000000 11 | 12 | 13 | @implementation ExampleSubPushedView{ 14 | UIColor *_color; 15 | 16 | } 17 | 18 | 19 | 20 | -(void)awakeFromNib{ 21 | [super awakeFromNib]; 22 | self.backgroundColor = [UIColor colorWithRed:randFloat(0.5, 1) green:randFloat(0.5, 1) blue:randFloat(0.5, 1) alpha:1]; 23 | _color = self.backgroundColor; 24 | } 25 | 26 | 27 | - (IBAction)pushDeleteButton:(id)sender { 28 | [self.delegate pushedDeleteButtonInPushedView:self]; 29 | } 30 | 31 | -(void)afterChangeState:(PATabbarPushedViewState)state{ 32 | switch (state) { 33 | case PATabbarPushedViewStatusEmphasis: 34 | self.label.hidden = NO; 35 | self.backgroundColor = _color; 36 | break; 37 | default: 38 | self.label.hidden = YES; 39 | self.backgroundColor = [ExampleSubPushedView csn_colorWithBaseColor:_color brightnessRatio:0.5]; 40 | break; 41 | } 42 | } 43 | 44 | -(void)touchesEnded:(NSSet *)touches withEvent:(UIEvent *)event{ 45 | [self.delegate tapTab:self]; 46 | } 47 | 48 | 49 | float randFloat(float a, float b) 50 | { 51 | return ((b-a)*((float)arc4random()/ARC4RANDOM_MAX))+a; 52 | } 53 | 54 | + (UIColor *)csn_colorWithBaseColor:(UIColor *)baseColor brightnessRatio:(CGFloat)ratio 55 | { 56 | CGFloat hue = 0; 57 | CGFloat saturation = 0; 58 | CGFloat brightness = 0; 59 | CGFloat alpha = 0; 60 | 61 | BOOL converted = [baseColor getHue:&hue saturation:&saturation brightness:&brightness alpha:&alpha]; 62 | if (converted) { 63 | return [UIColor colorWithHue:hue saturation:saturation brightness:(brightness * ratio) alpha:alpha]; 64 | } 65 | 66 | return nil; 67 | } 68 | 69 | 70 | /* 71 | #pragma mark - Navigation 72 | 73 | // In a storyboard-based application, you will often want to do a little preparation before navigation 74 | - (void)prepareForSegue:(UIStoryboardSegue *)segue sender:(id)sender { 75 | // Get the new view controller using [segue destinationViewController]. 76 | // Pass the selected object to the new view controller. 77 | } 78 | */ 79 | 80 | @end 81 | -------------------------------------------------------------------------------- /Example/PATabbarView/ExampleSubPushedView.xib: -------------------------------------------------------------------------------- 1 | 2 | 3 | 4 | 5 | 6 | 7 | 8 | 9 | 10 | 11 | 12 | 13 | 14 | 15 | 25 | 31 | 32 | 33 | 34 | 35 | 36 | 37 | 38 | 39 | 40 | 41 | 42 | 43 | 44 | 45 | 46 | 47 | 48 | 49 | 50 | 51 | 52 | 53 | -------------------------------------------------------------------------------- /Example/PATabbarView/ExampleViewController.h: -------------------------------------------------------------------------------- 1 | // 2 | // ExampleViewController.h 3 | // PATabbarView 4 | // 5 | // Created by Inba on 2016/05/17. 6 | // Copyright © 2016年 Inba. All rights reserved. 7 | // 8 | 9 | #import 10 | 11 | @interface ExampleViewController : UIViewController 12 | 13 | @end 14 | -------------------------------------------------------------------------------- /Example/PATabbarView/ExampleViewController.m: -------------------------------------------------------------------------------- 1 | // 2 | // ExampleViewController.m 3 | // PATabbarView 4 | // 5 | // Created by Inba on 2016/05/17. 6 | // Copyright © 2016年 Inba. All rights reserved. 7 | // 8 | 9 | #import "ExampleViewController.h" 10 | 11 | @interface ExampleViewController () 12 | 13 | @end 14 | 15 | @implementation ExampleViewController 16 | 17 | - (void)viewDidLoad { 18 | [super viewDidLoad]; 19 | // Do any additional setup after loading the view. 20 | } 21 | 22 | - (void)didReceiveMemoryWarning { 23 | [super didReceiveMemoryWarning]; 24 | // Dispose of any resources that can be recreated. 25 | } 26 | 27 | /* 28 | #pragma mark - Navigation 29 | 30 | // In a storyboard-based application, you will often want to do a little preparation before navigation 31 | - (void)prepareForSegue:(UIStoryboardSegue *)segue sender:(id)sender { 32 | // Get the new view controller using [segue destinationViewController]. 33 | // Pass the selected object to the new view controller. 34 | } 35 | */ 36 | 37 | @end 38 | -------------------------------------------------------------------------------- /Example/PATabbarView/Images.xcassets/AppIcon.appiconset/Contents.json: -------------------------------------------------------------------------------- 1 | { 2 | "images" : [ 3 | { 4 | "idiom" : "iphone", 5 | "size" : "29x29", 6 | "scale" : "2x" 7 | }, 8 | { 9 | "idiom" : "iphone", 10 | "size" : "29x29", 11 | "scale" : "3x" 12 | }, 13 | { 14 | "idiom" : "iphone", 15 | "size" : "40x40", 16 | "scale" : "2x" 17 | }, 18 | { 19 | "idiom" : "iphone", 20 | "size" : "40x40", 21 | "scale" : "3x" 22 | }, 23 | { 24 | "idiom" : "iphone", 25 | "size" : "60x60", 26 | "scale" : "2x" 27 | }, 28 | { 29 | "idiom" : "iphone", 30 | "size" : "60x60", 31 | "scale" : "3x" 32 | }, 33 | { 34 | "idiom" : "ipad", 35 | "size" : "29x29", 36 | "scale" : "1x" 37 | }, 38 | { 39 | "idiom" : "ipad", 40 | "size" : "29x29", 41 | "scale" : "2x" 42 | }, 43 | { 44 | "idiom" : "ipad", 45 | "size" : "40x40", 46 | "scale" : "1x" 47 | }, 48 | { 49 | "idiom" : "ipad", 50 | "size" : "40x40", 51 | "scale" : "2x" 52 | }, 53 | { 54 | "idiom" : "ipad", 55 | "size" : "76x76", 56 | "scale" : "1x" 57 | }, 58 | { 59 | "idiom" : "ipad", 60 | "size" : "76x76", 61 | "scale" : "2x" 62 | }, 63 | { 64 | "idiom" : "ipad", 65 | "size" : "83.5x83.5", 66 | "scale" : "2x" 67 | } 68 | ], 69 | "info" : { 70 | "version" : 1, 71 | "author" : "xcode" 72 | } 73 | } -------------------------------------------------------------------------------- /Example/PATabbarView/Images.xcassets/LaunchImage.launchimage/Contents.json: -------------------------------------------------------------------------------- 1 | { 2 | "images" : [ 3 | { 4 | "orientation" : "portrait", 5 | "idiom" : "iphone", 6 | "extent" : "full-screen", 7 | "minimum-system-version" : "7.0", 8 | "scale" : "2x" 9 | }, 10 | { 11 | "orientation" : "portrait", 12 | "idiom" : "iphone", 13 | "subtype" : "retina4", 14 | "extent" : "full-screen", 15 | "minimum-system-version" : "7.0", 16 | "scale" : "2x" 17 | }, 18 | { 19 | "orientation" : "portrait", 20 | "idiom" : "ipad", 21 | "extent" : "full-screen", 22 | "minimum-system-version" : "7.0", 23 | "scale" : "1x" 24 | }, 25 | { 26 | "orientation" : "landscape", 27 | "idiom" : "ipad", 28 | "extent" : "full-screen", 29 | "minimum-system-version" : "7.0", 30 | "scale" : "1x" 31 | }, 32 | { 33 | "orientation" : "portrait", 34 | "idiom" : "ipad", 35 | "extent" : "full-screen", 36 | "minimum-system-version" : "7.0", 37 | "scale" : "2x" 38 | }, 39 | { 40 | "orientation" : "landscape", 41 | "idiom" : "ipad", 42 | "extent" : "full-screen", 43 | "minimum-system-version" : "7.0", 44 | "scale" : "2x" 45 | } 46 | ], 47 | "info" : { 48 | "version" : 1, 49 | "author" : "xcode" 50 | } 51 | } 52 | -------------------------------------------------------------------------------- /Example/PATabbarView/Main.storyboard: -------------------------------------------------------------------------------- 1 | 2 | 3 | 4 | 5 | 6 | 7 | 8 | 9 | 10 | 11 | 12 | 13 | 14 | 15 | 16 | 17 | 18 | 19 | 20 | 21 | 22 | 23 | 24 | 25 | 26 | 27 | 28 | 29 | 30 | 31 | 32 | 33 | 34 | 35 | 36 | 37 | 38 | 46 | 47 | 48 | 49 | 50 | 51 | 52 | 53 | 54 | 55 | 56 | 57 | 58 | 59 | 60 | 61 | 62 | 63 | 64 | 65 | 66 | 67 | 68 | 69 | 70 | 71 | 72 | 73 | 74 | -------------------------------------------------------------------------------- /Example/PATabbarView/PATAppDelegate.h: -------------------------------------------------------------------------------- 1 | // 2 | // PATAppDelegate.h 3 | // PATabbarView 4 | // 5 | // Created by Inba on 04/05/2016. 6 | // Copyright (c) 2016 Inba. All rights reserved. 7 | // 8 | 9 | @import UIKit; 10 | 11 | @interface PATAppDelegate : UIResponder 12 | 13 | @property (strong, nonatomic) UIWindow *window; 14 | 15 | @end 16 | -------------------------------------------------------------------------------- /Example/PATabbarView/PATAppDelegate.m: -------------------------------------------------------------------------------- 1 | // 2 | // PATAppDelegate.m 3 | // PATabbarView 4 | // 5 | // Created by Inba on 04/05/2016. 6 | // Copyright (c) 2016 Inba. All rights reserved. 7 | // 8 | 9 | #import "PATAppDelegate.h" 10 | 11 | @implementation PATAppDelegate 12 | 13 | - (BOOL)application:(UIApplication *)application didFinishLaunchingWithOptions:(NSDictionary *)launchOptions 14 | { 15 | // Override point for customization after application launch. 16 | return YES; 17 | } 18 | 19 | - (void)applicationWillResignActive:(UIApplication *)application 20 | { 21 | // Sent when the application is about to move from active to inactive state. This can occur for certain types of temporary interruptions (such as an incoming phone call or SMS message) or when the user quits the application and it begins the transition to the background state. 22 | // Use this method to pause ongoing tasks, disable timers, and throttle down OpenGL ES frame rates. Games should use this method to pause the game. 23 | } 24 | 25 | - (void)applicationDidEnterBackground:(UIApplication *)application 26 | { 27 | // Use this method to release shared resources, save user data, invalidate timers, and store enough application state information to restore your application to its current state in case it is terminated later. 28 | // If your application supports background execution, this method is called instead of applicationWillTerminate: when the user quits. 29 | } 30 | 31 | - (void)applicationWillEnterForeground:(UIApplication *)application 32 | { 33 | // Called as part of the transition from the background to the inactive state; here you can undo many of the changes made on entering the background. 34 | } 35 | 36 | - (void)applicationDidBecomeActive:(UIApplication *)application 37 | { 38 | // Restart any tasks that were paused (or not yet started) while the application was inactive. If the application was previously in the background, optionally refresh the user interface. 39 | } 40 | 41 | - (void)applicationWillTerminate:(UIApplication *)application 42 | { 43 | // Called when the application is about to terminate. Save data if appropriate. See also applicationDidEnterBackground:. 44 | } 45 | 46 | @end 47 | -------------------------------------------------------------------------------- /Example/PATabbarView/PATViewController.h: -------------------------------------------------------------------------------- 1 | // 2 | // PATViewController.h 3 | // PATabbarView 4 | // 5 | // Created by Inba on 04/05/2016. 6 | // Copyright (c) 2016 Inba. All rights reserved. 7 | // 8 | 9 | #import "PATabbarView.h" 10 | #import "ExampleSubPushedView.h" 11 | @import UIKit; 12 | 13 | @interface PATViewController : UIViewController 14 | 15 | @end 16 | -------------------------------------------------------------------------------- /Example/PATabbarView/PATViewController.m: -------------------------------------------------------------------------------- 1 | // 2 | // PATViewController.m 3 | // PATabbarView 4 | // 5 | // Created by Inba on 04/05/2016. 6 | // Copyright (c) 2016 Inba. All rights reserved. 7 | // 8 | 9 | #import "PATViewController.h" 10 | #import "ExampleViewController.h" 11 | 12 | @interface PATViewController () 13 | @property (weak, nonatomic) IBOutlet NSLayoutConstraint *tabbarHeight; 14 | @property (weak, nonatomic) IBOutlet PATabbarView *tabbar; 15 | @property (weak, nonatomic) IBOutlet UIView *baseView; 16 | @end 17 | 18 | @implementation PATViewController{ 19 | ExampleSubPushedView *_currentCenter; 20 | CGFloat _firstTabbarHeight; 21 | } 22 | 23 | - (void)viewDidLoad 24 | { 25 | [super viewDidLoad]; 26 | _firstTabbarHeight = self.tabbarHeight.constant; 27 | self.tabbar.delegate = self; 28 | 29 | // Do any additional setup after loading the view, typically from a nib. 30 | } 31 | 32 | -(void)setCurrentCenter:(ExampleSubPushedView *)nextCenter{ 33 | if ([_currentCenter isEqual:nextCenter]) { 34 | return; 35 | } 36 | if (_currentCenter) { 37 | _currentCenter.deleteButton.hidden = YES; 38 | } 39 | _currentCenter = nextCenter; 40 | nextCenter.deleteButton.hidden = NO; 41 | } 42 | 43 | 44 | - (IBAction)pushAddTabButton:(id)sender { 45 | static int vcNum = 1; 46 | UINib *nib = [UINib nibWithNibName:@"ExampleSubPushedView" bundle:nil]; 47 | ExampleSubPushedView *pushedView= [nib instantiateWithOwner:nil options:nil][0]; 48 | pushedView.delegate = self; 49 | pushedView.controller = [self newVCOpen]; 50 | pushedView.controller.view.backgroundColor = pushedView.backgroundColor; 51 | [pushedView.label setText:[NSString stringWithFormat:@"%d",vcNum]]; 52 | [self setCurrentCenter:pushedView]; 53 | [self.tabbar addToTailView:pushedView]; 54 | vcNum++; 55 | } 56 | 57 | 58 | 59 | -(void)tapTab:(ExampleSubPushedView *)sender{ 60 | if (sender.currentState == PATabbarPushedViewStatusEmphasis) { 61 | if ([sender isEqual:_currentCenter]) { 62 | return; 63 | } 64 | [self changeVCTo:sender.controller From:_currentCenter.controller]; 65 | [self setCurrentCenter:sender]; 66 | }else{ 67 | _currentCenter.deleteButton.hidden = YES; 68 | [self.tabbar adjustPositionWithAForcusOnView:sender]; 69 | } 70 | } 71 | 72 | -(void)pushedDeleteButtonInPushedView:(ExampleSubPushedView *)sender{ 73 | if (sender == _currentCenter) { 74 | if ((sender.next)||(sender.prev)) { 75 | ExampleSubPushedView *next = sender.next ?:sender.prev; 76 | [self changeVCTo:next.controller From:_currentCenter.controller];//交換 77 | [self setCurrentCenter:next]; 78 | }else{ 79 | _currentCenter = nil; 80 | [self deleteFromParentAtVC:sender.controller]; 81 | } 82 | } 83 | 84 | sender.controller = nil; 85 | [_tabbar deleteView:sender]; 86 | } 87 | 88 | -(UIViewController *)newVCOpen{ 89 | ExampleViewController *newVC = [[ExampleViewController alloc]init]; 90 | newVC.view.frame = self.baseView.frame; 91 | 92 | UIViewController *nextChildVC; 93 | if (_currentCenter) { 94 | nextChildVC = [self changeVCTo:newVC From:_currentCenter.controller]; 95 | }else{ 96 | [self addChildViewController:newVC]; 97 | [self.view addSubview:newVC.view]; 98 | [newVC didMoveToParentViewController:self]; 99 | nextChildVC = newVC; 100 | } 101 | return nextChildVC; 102 | } 103 | 104 | -(UIViewController *)changeVCTo:(UIViewController *)toVC From:(UIViewController *)fromVC{ 105 | [self addChildViewController:toVC]; 106 | [fromVC willMoveToParentViewController:nil]; 107 | [self transitionFromViewController:fromVC toViewController:toVC duration:0 options:UIViewAnimationOptionTransitionNone animations:nil completion:^(BOOL finished) { 108 | [toVC didMoveToParentViewController:self]; 109 | [fromVC removeFromParentViewController]; 110 | }]; 111 | return toVC; 112 | } 113 | 114 | -(void)deleteFromParentAtVC:(UIViewController *)deleteVC{ 115 | [deleteVC willMoveToParentViewController:nil]; 116 | [deleteVC removeFromParentViewController]; 117 | [deleteVC.view removeFromSuperview]; 118 | } 119 | 120 | 121 | - (void)didReceiveMemoryWarning 122 | { 123 | [super didReceiveMemoryWarning]; 124 | // Dispose of any resources that can be recreated. 125 | } 126 | 127 | @end 128 | -------------------------------------------------------------------------------- /Example/PATabbarView/PATabbarView-Info.plist: -------------------------------------------------------------------------------- 1 | 2 | 3 | 4 | 5 | CFBundleDevelopmentRegion 6 | en 7 | CFBundleDisplayName 8 | ${PRODUCT_NAME} 9 | CFBundleExecutable 10 | ${EXECUTABLE_NAME} 11 | CFBundleIdentifier 12 | $(PRODUCT_BUNDLE_IDENTIFIER) 13 | CFBundleInfoDictionaryVersion 14 | 6.0 15 | CFBundleName 16 | ${PRODUCT_NAME} 17 | CFBundlePackageType 18 | APPL 19 | CFBundleShortVersionString 20 | 0.2.3 21 | CFBundleSignature 22 | ???? 23 | CFBundleVersion 24 | 1.0 25 | LSRequiresIPhoneOS 26 | 27 | UILaunchStoryboardName 28 | Main 29 | UIMainStoryboardFile 30 | Main 31 | UIRequiredDeviceCapabilities 32 | 33 | armv7 34 | 35 | UISupportedInterfaceOrientations 36 | 37 | UIInterfaceOrientationPortrait 38 | UIInterfaceOrientationLandscapeLeft 39 | UIInterfaceOrientationLandscapeRight 40 | 41 | UISupportedInterfaceOrientations~ipad 42 | 43 | UIInterfaceOrientationPortrait 44 | UIInterfaceOrientationPortraitUpsideDown 45 | UIInterfaceOrientationLandscapeLeft 46 | UIInterfaceOrientationLandscapeRight 47 | 48 | 49 | 50 | -------------------------------------------------------------------------------- /Example/PATabbarView/PATabbarView-Prefix.pch: -------------------------------------------------------------------------------- 1 | // 2 | // Prefix header 3 | // 4 | // The contents of this file are implicitly included at the beginning of every source file. 5 | // 6 | 7 | #import 8 | 9 | #ifndef __IPHONE_5_0 10 | #warning "This project uses features only available in iOS SDK 5.0 and later." 11 | #endif 12 | 13 | #ifdef __OBJC__ 14 | @import UIKit; 15 | @import Foundation; 16 | #endif 17 | -------------------------------------------------------------------------------- /Example/PATabbarView/en.lproj/InfoPlist.strings: -------------------------------------------------------------------------------- 1 | /* Localized versions of Info.plist keys */ 2 | 3 | -------------------------------------------------------------------------------- /Example/PATabbarView/main.m: -------------------------------------------------------------------------------- 1 | // 2 | // main.m 3 | // PATabbarView 4 | // 5 | // Created by Inba on 04/05/2016. 6 | // Copyright (c) 2016 Inba. All rights reserved. 7 | // 8 | 9 | @import UIKit; 10 | #import "PATAppDelegate.h" 11 | 12 | int main(int argc, char * argv[]) 13 | { 14 | @autoreleasepool { 15 | return UIApplicationMain(argc, argv, nil, NSStringFromClass([PATAppDelegate class])); 16 | } 17 | } 18 | -------------------------------------------------------------------------------- /Example/Podfile: -------------------------------------------------------------------------------- 1 | source 'https://github.com/CocoaPods/Specs.git' 2 | use_frameworks! 3 | 4 | target 'PATabbarView_Example', :exclusive => true do 5 | pod 'PATabbarView', :path => '../' 6 | end 7 | 8 | target 'PATabbarView_Tests', :exclusive => true do 9 | pod 'PATabbarView', :path => '../' 10 | 11 | 12 | end 13 | -------------------------------------------------------------------------------- /Example/Podfile.lock: -------------------------------------------------------------------------------- 1 | PODS: 2 | - PATabbarView (0.1.0) 3 | 4 | DEPENDENCIES: 5 | - PATabbarView (from `../`) 6 | 7 | EXTERNAL SOURCES: 8 | PATabbarView: 9 | :path: "../" 10 | 11 | SPEC CHECKSUMS: 12 | PATabbarView: 13ffc8c356070a455f80535d2aae5bfb4dbd12a9 13 | 14 | COCOAPODS: 0.39.0 15 | -------------------------------------------------------------------------------- /Example/Pods/Local Podspecs/PATabbarView.podspec.json: -------------------------------------------------------------------------------- 1 | { 2 | "name": "PATabbarView", 3 | "version": "0.1.0", 4 | "summary": "Pushable Tabbar Like MacOS Safari", 5 | "description": "Pushable Tabbar is like MacOS Safari.You can add subclass of PATabbarPushedView object into PATabbarView.", 6 | "homepage": "https://github.com/suterusu/PATabbarView", 7 | "license": "MIT", 8 | "authors": { 9 | "Inba": "gyuuuuchan@gmail.com" 10 | }, 11 | "source": { 12 | "git": "https://github.com/suterusu/PATabbarView.git", 13 | "tag": "0.1.0" 14 | }, 15 | "platforms": { 16 | "ios": "8.0" 17 | }, 18 | "requires_arc": true, 19 | "source_files": "Class/*", 20 | "public_header_files": [ 21 | "Class/PATabbarView.h", 22 | "Class/PATabbarPushedView.h" 23 | ] 24 | } 25 | -------------------------------------------------------------------------------- /Example/Pods/Manifest.lock: -------------------------------------------------------------------------------- 1 | PODS: 2 | - PATabbarView (0.1.0) 3 | 4 | DEPENDENCIES: 5 | - PATabbarView (from `../`) 6 | 7 | EXTERNAL SOURCES: 8 | PATabbarView: 9 | :path: "../" 10 | 11 | SPEC CHECKSUMS: 12 | PATabbarView: 13ffc8c356070a455f80535d2aae5bfb4dbd12a9 13 | 14 | COCOAPODS: 0.39.0 15 | -------------------------------------------------------------------------------- /Example/Pods/Pods.xcodeproj/project.pbxproj: -------------------------------------------------------------------------------- 1 | // !$*UTF8*$! 2 | { 3 | archiveVersion = 1; 4 | classes = { 5 | }; 6 | objectVersion = 46; 7 | objects = { 8 | 9 | /* Begin PBXBuildFile section */ 10 | 07D272454970C858BD9D146E9D56AD17 /* Pods-PATabbarView_Tests-dummy.m in Sources */ = {isa = PBXBuildFile; fileRef = E4AA3074045CEA1EDF9E96FC285C6DB1 /* Pods-PATabbarView_Tests-dummy.m */; }; 11 | 0C9F117752FD0A366B77113B1A758276 /* PATabbarPushedView.h in Headers */ = {isa = PBXBuildFile; fileRef = 7264837786D61CF35A0EED5F06611E1E /* PATabbarPushedView.h */; settings = {ATTRIBUTES = (Public, ); }; }; 12 | 0D65A9394EA2231F30231E0C4CC1A898 /* Foundation.framework in Frameworks */ = {isa = PBXBuildFile; fileRef = 3E4E89230EF59BC255123B67864ACF77 /* Foundation.framework */; }; 13 | 184810CEFC91FDCFB82D27093E878B0C /* PATabbarPushedView+Private.h in Headers */ = {isa = PBXBuildFile; fileRef = 6EC6A7B2917A040F9BA88CF74EA94C1F /* PATabbarPushedView+Private.h */; settings = {ATTRIBUTES = (Project, ); }; }; 14 | 188E8A99A5BDA37B661EFCE765E42A82 /* PATabbarView.m in Sources */ = {isa = PBXBuildFile; fileRef = 5054244417EAD9B7F74BB49DAF98763A /* PATabbarView.m */; }; 15 | 1DFE8553A63C26DE5CF2991C3697E3D0 /* Pods-PATabbarView_Example-dummy.m in Sources */ = {isa = PBXBuildFile; fileRef = 3FF268AA2013A9E100395B8F7B9D4DCC /* Pods-PATabbarView_Example-dummy.m */; }; 16 | 38B6A0A786057A44EFFC0D5B9A52708D /* PATabbarView.h in Headers */ = {isa = PBXBuildFile; fileRef = 1294B73799ECC58A95FEF24A0E7053A4 /* PATabbarView.h */; settings = {ATTRIBUTES = (Public, ); }; }; 17 | 4E718ECA7DFCA815A51DD8965A920F5B /* Pods-PATabbarView_Tests-umbrella.h in Headers */ = {isa = PBXBuildFile; fileRef = 1630EF9EDE46C831130AFC4580471554 /* Pods-PATabbarView_Tests-umbrella.h */; settings = {ATTRIBUTES = (Public, ); }; }; 18 | 5FA56E9BC0012731B4EF41030EC104BC /* PATabbarView-umbrella.h in Headers */ = {isa = PBXBuildFile; fileRef = CE3689EA723D277F088CBC8FEECCCB5A /* PATabbarView-umbrella.h */; settings = {ATTRIBUTES = (Public, ); }; }; 19 | 64D84BEE142465782852C48268A33B8F /* Foundation.framework in Frameworks */ = {isa = PBXBuildFile; fileRef = 3E4E89230EF59BC255123B67864ACF77 /* Foundation.framework */; }; 20 | 910C2A1D6A26151A0CC8BC4DCEF84409 /* Foundation.framework in Frameworks */ = {isa = PBXBuildFile; fileRef = 3E4E89230EF59BC255123B67864ACF77 /* Foundation.framework */; }; 21 | CB7025E0F1B3D701FB3142237082F4D4 /* PATabbarView-dummy.m in Sources */ = {isa = PBXBuildFile; fileRef = 7DE627825A1898F2283683CEB69A3F45 /* PATabbarView-dummy.m */; }; 22 | D7F67C6158EAD7E44E18AFB22E535F62 /* Pods-PATabbarView_Example-umbrella.h in Headers */ = {isa = PBXBuildFile; fileRef = 0FFC2AB601E5ADE1B2C511167A64BFB0 /* Pods-PATabbarView_Example-umbrella.h */; settings = {ATTRIBUTES = (Public, ); }; }; 23 | E52F47F25EE37AD239A7FC68B1FE1361 /* PATabbarPushedView.m in Sources */ = {isa = PBXBuildFile; fileRef = C610F8225532D7A1A30B62EC4865024E /* PATabbarPushedView.m */; }; 24 | /* End PBXBuildFile section */ 25 | 26 | /* Begin PBXContainerItemProxy section */ 27 | 75D8B36EFCC72B167238E073A612E299 /* PBXContainerItemProxy */ = { 28 | isa = PBXContainerItemProxy; 29 | containerPortal = D41D8CD98F00B204E9800998ECF8427E /* Project object */; 30 | proxyType = 1; 31 | remoteGlobalIDString = 0611EECB515349526FBDB1840FDFE562; 32 | remoteInfo = PATabbarView; 33 | }; 34 | D70624CA340D0DE009583A8534922E01 /* PBXContainerItemProxy */ = { 35 | isa = PBXContainerItemProxy; 36 | containerPortal = D41D8CD98F00B204E9800998ECF8427E /* Project object */; 37 | proxyType = 1; 38 | remoteGlobalIDString = 0611EECB515349526FBDB1840FDFE562; 39 | remoteInfo = PATabbarView; 40 | }; 41 | /* End PBXContainerItemProxy section */ 42 | 43 | /* Begin PBXFileReference section */ 44 | 003670AA3B0A599F876AC11C13BFA98A /* Pods-PATabbarView_Example.modulemap */ = {isa = PBXFileReference; includeInIndex = 1; lastKnownFileType = "sourcecode.module-map"; path = "Pods-PATabbarView_Example.modulemap"; sourceTree = ""; }; 45 | 0FFC2AB601E5ADE1B2C511167A64BFB0 /* Pods-PATabbarView_Example-umbrella.h */ = {isa = PBXFileReference; includeInIndex = 1; lastKnownFileType = sourcecode.c.h; path = "Pods-PATabbarView_Example-umbrella.h"; sourceTree = ""; }; 46 | 11FDA8C6638DF233339E99362AF9086C /* Pods-PATabbarView_Tests-acknowledgements.plist */ = {isa = PBXFileReference; includeInIndex = 1; lastKnownFileType = text.plist.xml; path = "Pods-PATabbarView_Tests-acknowledgements.plist"; sourceTree = ""; }; 47 | 1294B73799ECC58A95FEF24A0E7053A4 /* PATabbarView.h */ = {isa = PBXFileReference; includeInIndex = 1; lastKnownFileType = sourcecode.c.h; path = PATabbarView.h; sourceTree = ""; }; 48 | 12C10806F000AB5F0F601732995DF095 /* Pods-PATabbarView_Tests.modulemap */ = {isa = PBXFileReference; includeInIndex = 1; lastKnownFileType = "sourcecode.module-map"; path = "Pods-PATabbarView_Tests.modulemap"; sourceTree = ""; }; 49 | 1630EF9EDE46C831130AFC4580471554 /* Pods-PATabbarView_Tests-umbrella.h */ = {isa = PBXFileReference; includeInIndex = 1; lastKnownFileType = sourcecode.c.h; path = "Pods-PATabbarView_Tests-umbrella.h"; sourceTree = ""; }; 50 | 276F77C834ED9B9277B1F9E14B1DD8B5 /* PATabbarView.modulemap */ = {isa = PBXFileReference; includeInIndex = 1; lastKnownFileType = "sourcecode.module-map"; path = PATabbarView.modulemap; sourceTree = ""; }; 51 | 28F31B9E622AE534BFCCE779CF733665 /* Pods_PATabbarView_Example.framework */ = {isa = PBXFileReference; explicitFileType = wrapper.framework; includeInIndex = 0; path = Pods_PATabbarView_Example.framework; sourceTree = BUILT_PRODUCTS_DIR; }; 52 | 2D1808C2E87C9511B59A28BEF07A44C4 /* Info.plist */ = {isa = PBXFileReference; includeInIndex = 1; lastKnownFileType = text.plist.xml; path = Info.plist; sourceTree = ""; }; 53 | 35390FE5C000D8AFED4693F63867D13A /* Pods-PATabbarView_Example.release.xcconfig */ = {isa = PBXFileReference; includeInIndex = 1; lastKnownFileType = text.xcconfig; path = "Pods-PATabbarView_Example.release.xcconfig"; sourceTree = ""; }; 54 | 3E4E89230EF59BC255123B67864ACF77 /* Foundation.framework */ = {isa = PBXFileReference; lastKnownFileType = wrapper.framework; name = Foundation.framework; path = Platforms/iPhoneOS.platform/Developer/SDKs/iPhoneOS9.0.sdk/System/Library/Frameworks/Foundation.framework; sourceTree = DEVELOPER_DIR; }; 55 | 3FF268AA2013A9E100395B8F7B9D4DCC /* Pods-PATabbarView_Example-dummy.m */ = {isa = PBXFileReference; includeInIndex = 1; lastKnownFileType = sourcecode.c.objc; path = "Pods-PATabbarView_Example-dummy.m"; sourceTree = ""; }; 56 | 5054244417EAD9B7F74BB49DAF98763A /* PATabbarView.m */ = {isa = PBXFileReference; includeInIndex = 1; lastKnownFileType = sourcecode.c.objc; path = PATabbarView.m; sourceTree = ""; }; 57 | 58A5F45FDE41A1B09D53D7F34813F402 /* Pods-PATabbarView_Example.debug.xcconfig */ = {isa = PBXFileReference; includeInIndex = 1; lastKnownFileType = text.xcconfig; path = "Pods-PATabbarView_Example.debug.xcconfig"; sourceTree = ""; }; 58 | 5B948500899B66B43EB71071B6D1006A /* Pods-PATabbarView_Example-acknowledgements.plist */ = {isa = PBXFileReference; includeInIndex = 1; lastKnownFileType = text.plist.xml; path = "Pods-PATabbarView_Example-acknowledgements.plist"; sourceTree = ""; }; 59 | 68AFF08E163553D63C94258575FA01D4 /* Pods-PATabbarView_Tests.debug.xcconfig */ = {isa = PBXFileReference; includeInIndex = 1; lastKnownFileType = text.xcconfig; path = "Pods-PATabbarView_Tests.debug.xcconfig"; sourceTree = ""; }; 60 | 69B48D6388DFA077FE0C1AB4338594BC /* Info.plist */ = {isa = PBXFileReference; includeInIndex = 1; lastKnownFileType = text.plist.xml; path = Info.plist; sourceTree = ""; }; 61 | 6EC6A7B2917A040F9BA88CF74EA94C1F /* PATabbarPushedView+Private.h */ = {isa = PBXFileReference; includeInIndex = 1; lastKnownFileType = sourcecode.c.h; path = "PATabbarPushedView+Private.h"; sourceTree = ""; }; 62 | 7264837786D61CF35A0EED5F06611E1E /* PATabbarPushedView.h */ = {isa = PBXFileReference; includeInIndex = 1; lastKnownFileType = sourcecode.c.h; path = PATabbarPushedView.h; sourceTree = ""; }; 63 | 7DE627825A1898F2283683CEB69A3F45 /* PATabbarView-dummy.m */ = {isa = PBXFileReference; includeInIndex = 1; lastKnownFileType = sourcecode.c.objc; path = "PATabbarView-dummy.m"; sourceTree = ""; }; 64 | 7F2D8CB26D285ADE3635B91C7DC11D20 /* Pods-PATabbarView_Tests-acknowledgements.markdown */ = {isa = PBXFileReference; includeInIndex = 1; lastKnownFileType = text; path = "Pods-PATabbarView_Tests-acknowledgements.markdown"; sourceTree = ""; }; 65 | 83F5CFAC5C7D34568758F4FCE03E0902 /* Pods-PATabbarView_Example-frameworks.sh */ = {isa = PBXFileReference; includeInIndex = 1; lastKnownFileType = text.script.sh; path = "Pods-PATabbarView_Example-frameworks.sh"; sourceTree = ""; }; 66 | 8BA8299AB988B88A2FCD93025890A837 /* PATabbarView.xcconfig */ = {isa = PBXFileReference; includeInIndex = 1; lastKnownFileType = text.xcconfig; path = PATabbarView.xcconfig; sourceTree = ""; }; 67 | 9D4017D0FB26BA459B8D6B02A03D6C12 /* Pods_PATabbarView_Tests.framework */ = {isa = PBXFileReference; explicitFileType = wrapper.framework; includeInIndex = 0; path = Pods_PATabbarView_Tests.framework; sourceTree = BUILT_PRODUCTS_DIR; }; 68 | B906014ABC187FFE49FD904195A13E77 /* PATabbarView-prefix.pch */ = {isa = PBXFileReference; includeInIndex = 1; lastKnownFileType = sourcecode.c.h; path = "PATabbarView-prefix.pch"; sourceTree = ""; }; 69 | BA6428E9F66FD5A23C0A2E06ED26CD2F /* Podfile */ = {isa = PBXFileReference; includeInIndex = 1; lastKnownFileType = text; name = Podfile; path = ../Podfile; sourceTree = SOURCE_ROOT; xcLanguageSpecificationIdentifier = xcode.lang.ruby; }; 70 | BCB835442B46D636DB8BDACA8BC4B559 /* Pods-PATabbarView_Tests-resources.sh */ = {isa = PBXFileReference; includeInIndex = 1; lastKnownFileType = text.script.sh; path = "Pods-PATabbarView_Tests-resources.sh"; sourceTree = ""; }; 71 | C610F8225532D7A1A30B62EC4865024E /* PATabbarPushedView.m */ = {isa = PBXFileReference; includeInIndex = 1; lastKnownFileType = sourcecode.c.objc; path = PATabbarPushedView.m; sourceTree = ""; }; 72 | CE3689EA723D277F088CBC8FEECCCB5A /* PATabbarView-umbrella.h */ = {isa = PBXFileReference; includeInIndex = 1; lastKnownFileType = sourcecode.c.h; path = "PATabbarView-umbrella.h"; sourceTree = ""; }; 73 | DFA4DC971DEBB6E654342F9569C50AC2 /* Info.plist */ = {isa = PBXFileReference; includeInIndex = 1; lastKnownFileType = text.plist.xml; path = Info.plist; sourceTree = ""; }; 74 | E26B9A00A54C29BF6761941939935083 /* Pods-PATabbarView_Tests-frameworks.sh */ = {isa = PBXFileReference; includeInIndex = 1; lastKnownFileType = text.script.sh; path = "Pods-PATabbarView_Tests-frameworks.sh"; sourceTree = ""; }; 75 | E4AA3074045CEA1EDF9E96FC285C6DB1 /* Pods-PATabbarView_Tests-dummy.m */ = {isa = PBXFileReference; includeInIndex = 1; lastKnownFileType = sourcecode.c.objc; path = "Pods-PATabbarView_Tests-dummy.m"; sourceTree = ""; }; 76 | EA6C82700C3D7F3DBA46B750CC6B982D /* Pods-PATabbarView_Example-resources.sh */ = {isa = PBXFileReference; includeInIndex = 1; lastKnownFileType = text.script.sh; path = "Pods-PATabbarView_Example-resources.sh"; sourceTree = ""; }; 77 | F2689BE544352921FFF082C95AAF4DD0 /* Pods-PATabbarView_Tests.release.xcconfig */ = {isa = PBXFileReference; includeInIndex = 1; lastKnownFileType = text.xcconfig; path = "Pods-PATabbarView_Tests.release.xcconfig"; sourceTree = ""; }; 78 | F68F8030827F7955D37CB1968711E3A0 /* Pods-PATabbarView_Example-acknowledgements.markdown */ = {isa = PBXFileReference; includeInIndex = 1; lastKnownFileType = text; path = "Pods-PATabbarView_Example-acknowledgements.markdown"; sourceTree = ""; }; 79 | FFB2047CE0E1655EDBC9B096326BD295 /* PATabbarView.framework */ = {isa = PBXFileReference; explicitFileType = wrapper.framework; includeInIndex = 0; path = PATabbarView.framework; sourceTree = BUILT_PRODUCTS_DIR; }; 80 | /* End PBXFileReference section */ 81 | 82 | /* Begin PBXFrameworksBuildPhase section */ 83 | 75F7ECFBFB277ED3A30CCE2FF78E6513 /* Frameworks */ = { 84 | isa = PBXFrameworksBuildPhase; 85 | buildActionMask = 2147483647; 86 | files = ( 87 | 0D65A9394EA2231F30231E0C4CC1A898 /* Foundation.framework in Frameworks */, 88 | ); 89 | runOnlyForDeploymentPostprocessing = 0; 90 | }; 91 | B2C2D5E5E6CF106D0E44BEE5C4D001C7 /* Frameworks */ = { 92 | isa = PBXFrameworksBuildPhase; 93 | buildActionMask = 2147483647; 94 | files = ( 95 | 910C2A1D6A26151A0CC8BC4DCEF84409 /* Foundation.framework in Frameworks */, 96 | ); 97 | runOnlyForDeploymentPostprocessing = 0; 98 | }; 99 | E4E650F1D176024153A34FBC733D7F2F /* Frameworks */ = { 100 | isa = PBXFrameworksBuildPhase; 101 | buildActionMask = 2147483647; 102 | files = ( 103 | 64D84BEE142465782852C48268A33B8F /* Foundation.framework in Frameworks */, 104 | ); 105 | runOnlyForDeploymentPostprocessing = 0; 106 | }; 107 | /* End PBXFrameworksBuildPhase section */ 108 | 109 | /* Begin PBXGroup section */ 110 | 04054998E0F57581DBECEAD1C76AAF21 /* Pods-PATabbarView_Tests */ = { 111 | isa = PBXGroup; 112 | children = ( 113 | 69B48D6388DFA077FE0C1AB4338594BC /* Info.plist */, 114 | 12C10806F000AB5F0F601732995DF095 /* Pods-PATabbarView_Tests.modulemap */, 115 | 7F2D8CB26D285ADE3635B91C7DC11D20 /* Pods-PATabbarView_Tests-acknowledgements.markdown */, 116 | 11FDA8C6638DF233339E99362AF9086C /* Pods-PATabbarView_Tests-acknowledgements.plist */, 117 | E4AA3074045CEA1EDF9E96FC285C6DB1 /* Pods-PATabbarView_Tests-dummy.m */, 118 | E26B9A00A54C29BF6761941939935083 /* Pods-PATabbarView_Tests-frameworks.sh */, 119 | BCB835442B46D636DB8BDACA8BC4B559 /* Pods-PATabbarView_Tests-resources.sh */, 120 | 1630EF9EDE46C831130AFC4580471554 /* Pods-PATabbarView_Tests-umbrella.h */, 121 | 68AFF08E163553D63C94258575FA01D4 /* Pods-PATabbarView_Tests.debug.xcconfig */, 122 | F2689BE544352921FFF082C95AAF4DD0 /* Pods-PATabbarView_Tests.release.xcconfig */, 123 | ); 124 | name = "Pods-PATabbarView_Tests"; 125 | path = "Target Support Files/Pods-PATabbarView_Tests"; 126 | sourceTree = ""; 127 | }; 128 | 0513537D5DA522E3295EDBFFEF8EFAA8 /* Pods-PATabbarView_Example */ = { 129 | isa = PBXGroup; 130 | children = ( 131 | DFA4DC971DEBB6E654342F9569C50AC2 /* Info.plist */, 132 | 003670AA3B0A599F876AC11C13BFA98A /* Pods-PATabbarView_Example.modulemap */, 133 | F68F8030827F7955D37CB1968711E3A0 /* Pods-PATabbarView_Example-acknowledgements.markdown */, 134 | 5B948500899B66B43EB71071B6D1006A /* Pods-PATabbarView_Example-acknowledgements.plist */, 135 | 3FF268AA2013A9E100395B8F7B9D4DCC /* Pods-PATabbarView_Example-dummy.m */, 136 | 83F5CFAC5C7D34568758F4FCE03E0902 /* Pods-PATabbarView_Example-frameworks.sh */, 137 | EA6C82700C3D7F3DBA46B750CC6B982D /* Pods-PATabbarView_Example-resources.sh */, 138 | 0FFC2AB601E5ADE1B2C511167A64BFB0 /* Pods-PATabbarView_Example-umbrella.h */, 139 | 58A5F45FDE41A1B09D53D7F34813F402 /* Pods-PATabbarView_Example.debug.xcconfig */, 140 | 35390FE5C000D8AFED4693F63867D13A /* Pods-PATabbarView_Example.release.xcconfig */, 141 | ); 142 | name = "Pods-PATabbarView_Example"; 143 | path = "Target Support Files/Pods-PATabbarView_Example"; 144 | sourceTree = ""; 145 | }; 146 | 24B3AA1C010A5B89A9E253B543C5557C /* Class */ = { 147 | isa = PBXGroup; 148 | children = ( 149 | 7264837786D61CF35A0EED5F06611E1E /* PATabbarPushedView.h */, 150 | C610F8225532D7A1A30B62EC4865024E /* PATabbarPushedView.m */, 151 | 6EC6A7B2917A040F9BA88CF74EA94C1F /* PATabbarPushedView+Private.h */, 152 | 1294B73799ECC58A95FEF24A0E7053A4 /* PATabbarView.h */, 153 | 5054244417EAD9B7F74BB49DAF98763A /* PATabbarView.m */, 154 | ); 155 | path = Class; 156 | sourceTree = ""; 157 | }; 158 | 47F7345B0BF5A62094DDF000D5876E5A /* PATabbarView */ = { 159 | isa = PBXGroup; 160 | children = ( 161 | 24B3AA1C010A5B89A9E253B543C5557C /* Class */, 162 | 892522D850404A55E919B2459A681E59 /* Support Files */, 163 | ); 164 | name = PATabbarView; 165 | path = ../..; 166 | sourceTree = ""; 167 | }; 168 | 7DB346D0F39D3F0E887471402A8071AB = { 169 | isa = PBXGroup; 170 | children = ( 171 | BA6428E9F66FD5A23C0A2E06ED26CD2F /* Podfile */, 172 | D73987B96E960E1B6CB617683AC2A77B /* Development Pods */, 173 | BC3CA7F9E30CC8F7E2DD044DD34432FC /* Frameworks */, 174 | E58B2F7DEB836C2F5768E119A54007CA /* Products */, 175 | A728AAD717787F24B63C5A0C71F33350 /* Targets Support Files */, 176 | ); 177 | sourceTree = ""; 178 | }; 179 | 892522D850404A55E919B2459A681E59 /* Support Files */ = { 180 | isa = PBXGroup; 181 | children = ( 182 | 2D1808C2E87C9511B59A28BEF07A44C4 /* Info.plist */, 183 | 276F77C834ED9B9277B1F9E14B1DD8B5 /* PATabbarView.modulemap */, 184 | 8BA8299AB988B88A2FCD93025890A837 /* PATabbarView.xcconfig */, 185 | 7DE627825A1898F2283683CEB69A3F45 /* PATabbarView-dummy.m */, 186 | B906014ABC187FFE49FD904195A13E77 /* PATabbarView-prefix.pch */, 187 | CE3689EA723D277F088CBC8FEECCCB5A /* PATabbarView-umbrella.h */, 188 | ); 189 | name = "Support Files"; 190 | path = "Example/Pods/Target Support Files/PATabbarView"; 191 | sourceTree = ""; 192 | }; 193 | A728AAD717787F24B63C5A0C71F33350 /* Targets Support Files */ = { 194 | isa = PBXGroup; 195 | children = ( 196 | 0513537D5DA522E3295EDBFFEF8EFAA8 /* Pods-PATabbarView_Example */, 197 | 04054998E0F57581DBECEAD1C76AAF21 /* Pods-PATabbarView_Tests */, 198 | ); 199 | name = "Targets Support Files"; 200 | sourceTree = ""; 201 | }; 202 | BC3CA7F9E30CC8F7E2DD044DD34432FC /* Frameworks */ = { 203 | isa = PBXGroup; 204 | children = ( 205 | BF6342C8B29F4CEEA088EFF7AB4DE362 /* iOS */, 206 | ); 207 | name = Frameworks; 208 | sourceTree = ""; 209 | }; 210 | BF6342C8B29F4CEEA088EFF7AB4DE362 /* iOS */ = { 211 | isa = PBXGroup; 212 | children = ( 213 | 3E4E89230EF59BC255123B67864ACF77 /* Foundation.framework */, 214 | ); 215 | name = iOS; 216 | sourceTree = ""; 217 | }; 218 | D73987B96E960E1B6CB617683AC2A77B /* Development Pods */ = { 219 | isa = PBXGroup; 220 | children = ( 221 | 47F7345B0BF5A62094DDF000D5876E5A /* PATabbarView */, 222 | ); 223 | name = "Development Pods"; 224 | sourceTree = ""; 225 | }; 226 | E58B2F7DEB836C2F5768E119A54007CA /* Products */ = { 227 | isa = PBXGroup; 228 | children = ( 229 | FFB2047CE0E1655EDBC9B096326BD295 /* PATabbarView.framework */, 230 | 28F31B9E622AE534BFCCE779CF733665 /* Pods_PATabbarView_Example.framework */, 231 | 9D4017D0FB26BA459B8D6B02A03D6C12 /* Pods_PATabbarView_Tests.framework */, 232 | ); 233 | name = Products; 234 | sourceTree = ""; 235 | }; 236 | /* End PBXGroup section */ 237 | 238 | /* Begin PBXHeadersBuildPhase section */ 239 | A3130CB1CE205DDD87021C5DD7348C99 /* Headers */ = { 240 | isa = PBXHeadersBuildPhase; 241 | buildActionMask = 2147483647; 242 | files = ( 243 | 184810CEFC91FDCFB82D27093E878B0C /* PATabbarPushedView+Private.h in Headers */, 244 | 0C9F117752FD0A366B77113B1A758276 /* PATabbarPushedView.h in Headers */, 245 | 5FA56E9BC0012731B4EF41030EC104BC /* PATabbarView-umbrella.h in Headers */, 246 | 38B6A0A786057A44EFFC0D5B9A52708D /* PATabbarView.h in Headers */, 247 | ); 248 | runOnlyForDeploymentPostprocessing = 0; 249 | }; 250 | DCD9383295133B5A3F1589FD3940CB3B /* Headers */ = { 251 | isa = PBXHeadersBuildPhase; 252 | buildActionMask = 2147483647; 253 | files = ( 254 | 4E718ECA7DFCA815A51DD8965A920F5B /* Pods-PATabbarView_Tests-umbrella.h in Headers */, 255 | ); 256 | runOnlyForDeploymentPostprocessing = 0; 257 | }; 258 | F3238025A54A545BD3A80E6233E3CDB3 /* Headers */ = { 259 | isa = PBXHeadersBuildPhase; 260 | buildActionMask = 2147483647; 261 | files = ( 262 | D7F67C6158EAD7E44E18AFB22E535F62 /* Pods-PATabbarView_Example-umbrella.h in Headers */, 263 | ); 264 | runOnlyForDeploymentPostprocessing = 0; 265 | }; 266 | /* End PBXHeadersBuildPhase section */ 267 | 268 | /* Begin PBXNativeTarget section */ 269 | 0611EECB515349526FBDB1840FDFE562 /* PATabbarView */ = { 270 | isa = PBXNativeTarget; 271 | buildConfigurationList = 3B2CB53BE3D7EFC30BF7D0C17EEFE86B /* Build configuration list for PBXNativeTarget "PATabbarView" */; 272 | buildPhases = ( 273 | C4B4D01702043EB4D8CFEEC5EEA8137A /* Sources */, 274 | E4E650F1D176024153A34FBC733D7F2F /* Frameworks */, 275 | A3130CB1CE205DDD87021C5DD7348C99 /* Headers */, 276 | ); 277 | buildRules = ( 278 | ); 279 | dependencies = ( 280 | ); 281 | name = PATabbarView; 282 | productName = PATabbarView; 283 | productReference = FFB2047CE0E1655EDBC9B096326BD295 /* PATabbarView.framework */; 284 | productType = "com.apple.product-type.framework"; 285 | }; 286 | 69C27D311BDADC08F77A8F8CC6A55CDE /* Pods-PATabbarView_Tests */ = { 287 | isa = PBXNativeTarget; 288 | buildConfigurationList = 6E545A6C5C125A7A5D7F5D648A262976 /* Build configuration list for PBXNativeTarget "Pods-PATabbarView_Tests" */; 289 | buildPhases = ( 290 | F7CEC73B80A2B5C3731B575E194003F6 /* Sources */, 291 | B2C2D5E5E6CF106D0E44BEE5C4D001C7 /* Frameworks */, 292 | DCD9383295133B5A3F1589FD3940CB3B /* Headers */, 293 | ); 294 | buildRules = ( 295 | ); 296 | dependencies = ( 297 | 28945DAEE5C42F5593A04AAC07289155 /* PBXTargetDependency */, 298 | ); 299 | name = "Pods-PATabbarView_Tests"; 300 | productName = "Pods-PATabbarView_Tests"; 301 | productReference = 9D4017D0FB26BA459B8D6B02A03D6C12 /* Pods_PATabbarView_Tests.framework */; 302 | productType = "com.apple.product-type.framework"; 303 | }; 304 | D7F28A14DC5485ED2B1155D0D1C0841D /* Pods-PATabbarView_Example */ = { 305 | isa = PBXNativeTarget; 306 | buildConfigurationList = 8CA04E1661FF1C1A527A5B379E806934 /* Build configuration list for PBXNativeTarget "Pods-PATabbarView_Example" */; 307 | buildPhases = ( 308 | 4F5248F7738ADD7D5196AFF4722D3C04 /* Sources */, 309 | 75F7ECFBFB277ED3A30CCE2FF78E6513 /* Frameworks */, 310 | F3238025A54A545BD3A80E6233E3CDB3 /* Headers */, 311 | ); 312 | buildRules = ( 313 | ); 314 | dependencies = ( 315 | 96D87CFE29A29E1F04D2B12CE39F0EC7 /* PBXTargetDependency */, 316 | ); 317 | name = "Pods-PATabbarView_Example"; 318 | productName = "Pods-PATabbarView_Example"; 319 | productReference = 28F31B9E622AE534BFCCE779CF733665 /* Pods_PATabbarView_Example.framework */; 320 | productType = "com.apple.product-type.framework"; 321 | }; 322 | /* End PBXNativeTarget section */ 323 | 324 | /* Begin PBXProject section */ 325 | D41D8CD98F00B204E9800998ECF8427E /* Project object */ = { 326 | isa = PBXProject; 327 | attributes = { 328 | LastSwiftUpdateCheck = 0700; 329 | LastUpgradeCheck = 0700; 330 | }; 331 | buildConfigurationList = 2D8E8EC45A3A1A1D94AE762CB5028504 /* Build configuration list for PBXProject "Pods" */; 332 | compatibilityVersion = "Xcode 3.2"; 333 | developmentRegion = English; 334 | hasScannedForEncodings = 0; 335 | knownRegions = ( 336 | en, 337 | ); 338 | mainGroup = 7DB346D0F39D3F0E887471402A8071AB; 339 | productRefGroup = E58B2F7DEB836C2F5768E119A54007CA /* Products */; 340 | projectDirPath = ""; 341 | projectRoot = ""; 342 | targets = ( 343 | 0611EECB515349526FBDB1840FDFE562 /* PATabbarView */, 344 | D7F28A14DC5485ED2B1155D0D1C0841D /* Pods-PATabbarView_Example */, 345 | 69C27D311BDADC08F77A8F8CC6A55CDE /* Pods-PATabbarView_Tests */, 346 | ); 347 | }; 348 | /* End PBXProject section */ 349 | 350 | /* Begin PBXSourcesBuildPhase section */ 351 | 4F5248F7738ADD7D5196AFF4722D3C04 /* Sources */ = { 352 | isa = PBXSourcesBuildPhase; 353 | buildActionMask = 2147483647; 354 | files = ( 355 | 1DFE8553A63C26DE5CF2991C3697E3D0 /* Pods-PATabbarView_Example-dummy.m in Sources */, 356 | ); 357 | runOnlyForDeploymentPostprocessing = 0; 358 | }; 359 | C4B4D01702043EB4D8CFEEC5EEA8137A /* Sources */ = { 360 | isa = PBXSourcesBuildPhase; 361 | buildActionMask = 2147483647; 362 | files = ( 363 | E52F47F25EE37AD239A7FC68B1FE1361 /* PATabbarPushedView.m in Sources */, 364 | CB7025E0F1B3D701FB3142237082F4D4 /* PATabbarView-dummy.m in Sources */, 365 | 188E8A99A5BDA37B661EFCE765E42A82 /* PATabbarView.m in Sources */, 366 | ); 367 | runOnlyForDeploymentPostprocessing = 0; 368 | }; 369 | F7CEC73B80A2B5C3731B575E194003F6 /* Sources */ = { 370 | isa = PBXSourcesBuildPhase; 371 | buildActionMask = 2147483647; 372 | files = ( 373 | 07D272454970C858BD9D146E9D56AD17 /* Pods-PATabbarView_Tests-dummy.m in Sources */, 374 | ); 375 | runOnlyForDeploymentPostprocessing = 0; 376 | }; 377 | /* End PBXSourcesBuildPhase section */ 378 | 379 | /* Begin PBXTargetDependency section */ 380 | 28945DAEE5C42F5593A04AAC07289155 /* PBXTargetDependency */ = { 381 | isa = PBXTargetDependency; 382 | name = PATabbarView; 383 | target = 0611EECB515349526FBDB1840FDFE562 /* PATabbarView */; 384 | targetProxy = 75D8B36EFCC72B167238E073A612E299 /* PBXContainerItemProxy */; 385 | }; 386 | 96D87CFE29A29E1F04D2B12CE39F0EC7 /* PBXTargetDependency */ = { 387 | isa = PBXTargetDependency; 388 | name = PATabbarView; 389 | target = 0611EECB515349526FBDB1840FDFE562 /* PATabbarView */; 390 | targetProxy = D70624CA340D0DE009583A8534922E01 /* PBXContainerItemProxy */; 391 | }; 392 | /* End PBXTargetDependency section */ 393 | 394 | /* Begin XCBuildConfiguration section */ 395 | 3DDCE45F8E7ED4D6E71A7A4014F9F95D /* Debug */ = { 396 | isa = XCBuildConfiguration; 397 | baseConfigurationReference = 58A5F45FDE41A1B09D53D7F34813F402 /* Pods-PATabbarView_Example.debug.xcconfig */; 398 | buildSettings = { 399 | "CODE_SIGN_IDENTITY[sdk=iphoneos*]" = "iPhone Developer"; 400 | CURRENT_PROJECT_VERSION = 1; 401 | DEFINES_MODULE = YES; 402 | DYLIB_COMPATIBILITY_VERSION = 1; 403 | DYLIB_CURRENT_VERSION = 1; 404 | DYLIB_INSTALL_NAME_BASE = "@rpath"; 405 | ENABLE_STRICT_OBJC_MSGSEND = YES; 406 | INFOPLIST_FILE = "Target Support Files/Pods-PATabbarView_Example/Info.plist"; 407 | INSTALL_PATH = "$(LOCAL_LIBRARY_DIR)/Frameworks"; 408 | IPHONEOS_DEPLOYMENT_TARGET = 8.0; 409 | LD_RUNPATH_SEARCH_PATHS = "$(inherited) @executable_path/Frameworks @loader_path/Frameworks"; 410 | MACH_O_TYPE = staticlib; 411 | MODULEMAP_FILE = "Target Support Files/Pods-PATabbarView_Example/Pods-PATabbarView_Example.modulemap"; 412 | MTL_ENABLE_DEBUG_INFO = YES; 413 | OTHER_LDFLAGS = ""; 414 | OTHER_LIBTOOLFLAGS = ""; 415 | PODS_ROOT = "$(SRCROOT)"; 416 | PRODUCT_NAME = Pods_PATabbarView_Example; 417 | SDKROOT = iphoneos; 418 | SKIP_INSTALL = YES; 419 | TARGETED_DEVICE_FAMILY = "1,2"; 420 | VERSIONING_SYSTEM = "apple-generic"; 421 | VERSION_INFO_PREFIX = ""; 422 | }; 423 | name = Debug; 424 | }; 425 | 453C4665DD2C20620A67F4092A0DE9C8 /* Release */ = { 426 | isa = XCBuildConfiguration; 427 | baseConfigurationReference = 35390FE5C000D8AFED4693F63867D13A /* Pods-PATabbarView_Example.release.xcconfig */; 428 | buildSettings = { 429 | "CODE_SIGN_IDENTITY[sdk=iphoneos*]" = "iPhone Developer"; 430 | CURRENT_PROJECT_VERSION = 1; 431 | DEFINES_MODULE = YES; 432 | DYLIB_COMPATIBILITY_VERSION = 1; 433 | DYLIB_CURRENT_VERSION = 1; 434 | DYLIB_INSTALL_NAME_BASE = "@rpath"; 435 | ENABLE_STRICT_OBJC_MSGSEND = YES; 436 | INFOPLIST_FILE = "Target Support Files/Pods-PATabbarView_Example/Info.plist"; 437 | INSTALL_PATH = "$(LOCAL_LIBRARY_DIR)/Frameworks"; 438 | IPHONEOS_DEPLOYMENT_TARGET = 8.0; 439 | LD_RUNPATH_SEARCH_PATHS = "$(inherited) @executable_path/Frameworks @loader_path/Frameworks"; 440 | MACH_O_TYPE = staticlib; 441 | MODULEMAP_FILE = "Target Support Files/Pods-PATabbarView_Example/Pods-PATabbarView_Example.modulemap"; 442 | MTL_ENABLE_DEBUG_INFO = NO; 443 | OTHER_LDFLAGS = ""; 444 | OTHER_LIBTOOLFLAGS = ""; 445 | PODS_ROOT = "$(SRCROOT)"; 446 | PRODUCT_NAME = Pods_PATabbarView_Example; 447 | SDKROOT = iphoneos; 448 | SKIP_INSTALL = YES; 449 | TARGETED_DEVICE_FAMILY = "1,2"; 450 | VERSIONING_SYSTEM = "apple-generic"; 451 | VERSION_INFO_PREFIX = ""; 452 | }; 453 | name = Release; 454 | }; 455 | 633991134FF09E1C4A3320A16D4A1D81 /* Debug */ = { 456 | isa = XCBuildConfiguration; 457 | baseConfigurationReference = 8BA8299AB988B88A2FCD93025890A837 /* PATabbarView.xcconfig */; 458 | buildSettings = { 459 | "CODE_SIGN_IDENTITY[sdk=iphoneos*]" = "iPhone Developer"; 460 | CURRENT_PROJECT_VERSION = 1; 461 | DEFINES_MODULE = YES; 462 | DYLIB_COMPATIBILITY_VERSION = 1; 463 | DYLIB_CURRENT_VERSION = 1; 464 | DYLIB_INSTALL_NAME_BASE = "@rpath"; 465 | ENABLE_STRICT_OBJC_MSGSEND = YES; 466 | GCC_PREFIX_HEADER = "Target Support Files/PATabbarView/PATabbarView-prefix.pch"; 467 | INFOPLIST_FILE = "Target Support Files/PATabbarView/Info.plist"; 468 | INSTALL_PATH = "$(LOCAL_LIBRARY_DIR)/Frameworks"; 469 | IPHONEOS_DEPLOYMENT_TARGET = 8.0; 470 | LD_RUNPATH_SEARCH_PATHS = "$(inherited) @executable_path/Frameworks @loader_path/Frameworks"; 471 | MODULEMAP_FILE = "Target Support Files/PATabbarView/PATabbarView.modulemap"; 472 | MTL_ENABLE_DEBUG_INFO = YES; 473 | PRODUCT_NAME = PATabbarView; 474 | SDKROOT = iphoneos; 475 | SKIP_INSTALL = YES; 476 | TARGETED_DEVICE_FAMILY = "1,2"; 477 | VERSIONING_SYSTEM = "apple-generic"; 478 | VERSION_INFO_PREFIX = ""; 479 | }; 480 | name = Debug; 481 | }; 482 | A70CDAD61F90AC503C7D04CC22DA2923 /* Debug */ = { 483 | isa = XCBuildConfiguration; 484 | buildSettings = { 485 | ALWAYS_SEARCH_USER_PATHS = NO; 486 | CLANG_CXX_LANGUAGE_STANDARD = "gnu++0x"; 487 | CLANG_CXX_LIBRARY = "libc++"; 488 | CLANG_ENABLE_MODULES = YES; 489 | CLANG_ENABLE_OBJC_ARC = YES; 490 | CLANG_WARN_BOOL_CONVERSION = YES; 491 | CLANG_WARN_CONSTANT_CONVERSION = YES; 492 | CLANG_WARN_DIRECT_OBJC_ISA_USAGE = YES; 493 | CLANG_WARN_EMPTY_BODY = YES; 494 | CLANG_WARN_ENUM_CONVERSION = YES; 495 | CLANG_WARN_INT_CONVERSION = YES; 496 | CLANG_WARN_OBJC_ROOT_CLASS = YES; 497 | CLANG_WARN_UNREACHABLE_CODE = YES; 498 | CLANG_WARN__DUPLICATE_METHOD_MATCH = YES; 499 | COPY_PHASE_STRIP = NO; 500 | GCC_C_LANGUAGE_STANDARD = gnu99; 501 | GCC_DYNAMIC_NO_PIC = NO; 502 | GCC_OPTIMIZATION_LEVEL = 0; 503 | GCC_PREPROCESSOR_DEFINITIONS = ( 504 | "DEBUG=1", 505 | "$(inherited)", 506 | ); 507 | GCC_SYMBOLS_PRIVATE_EXTERN = NO; 508 | GCC_WARN_64_TO_32_BIT_CONVERSION = YES; 509 | GCC_WARN_ABOUT_RETURN_TYPE = YES; 510 | GCC_WARN_UNDECLARED_SELECTOR = YES; 511 | GCC_WARN_UNINITIALIZED_AUTOS = YES; 512 | GCC_WARN_UNUSED_FUNCTION = YES; 513 | GCC_WARN_UNUSED_VARIABLE = YES; 514 | IPHONEOS_DEPLOYMENT_TARGET = 8.0; 515 | ONLY_ACTIVE_ARCH = YES; 516 | STRIP_INSTALLED_PRODUCT = NO; 517 | SYMROOT = "${SRCROOT}/../build"; 518 | }; 519 | name = Debug; 520 | }; 521 | A70F5344B2BBF324C11BDFC80521D86D /* Release */ = { 522 | isa = XCBuildConfiguration; 523 | baseConfigurationReference = 8BA8299AB988B88A2FCD93025890A837 /* PATabbarView.xcconfig */; 524 | buildSettings = { 525 | "CODE_SIGN_IDENTITY[sdk=iphoneos*]" = "iPhone Developer"; 526 | CURRENT_PROJECT_VERSION = 1; 527 | DEFINES_MODULE = YES; 528 | DYLIB_COMPATIBILITY_VERSION = 1; 529 | DYLIB_CURRENT_VERSION = 1; 530 | DYLIB_INSTALL_NAME_BASE = "@rpath"; 531 | ENABLE_STRICT_OBJC_MSGSEND = YES; 532 | GCC_OPTIMIZATION_LEVEL = 0; 533 | GCC_PREFIX_HEADER = "Target Support Files/PATabbarView/PATabbarView-prefix.pch"; 534 | INFOPLIST_FILE = "Target Support Files/PATabbarView/Info.plist"; 535 | INSTALL_PATH = "$(LOCAL_LIBRARY_DIR)/Frameworks"; 536 | IPHONEOS_DEPLOYMENT_TARGET = 8.0; 537 | LD_RUNPATH_SEARCH_PATHS = "$(inherited) @executable_path/Frameworks @loader_path/Frameworks"; 538 | MODULEMAP_FILE = "Target Support Files/PATabbarView/PATabbarView.modulemap"; 539 | MTL_ENABLE_DEBUG_INFO = NO; 540 | PRODUCT_NAME = PATabbarView; 541 | SDKROOT = iphoneos; 542 | SKIP_INSTALL = YES; 543 | TARGETED_DEVICE_FAMILY = "1,2"; 544 | VERSIONING_SYSTEM = "apple-generic"; 545 | VERSION_INFO_PREFIX = ""; 546 | }; 547 | name = Release; 548 | }; 549 | BCD73BA1C295D134C443696F49536E0B /* Release */ = { 550 | isa = XCBuildConfiguration; 551 | baseConfigurationReference = F2689BE544352921FFF082C95AAF4DD0 /* Pods-PATabbarView_Tests.release.xcconfig */; 552 | buildSettings = { 553 | "CODE_SIGN_IDENTITY[sdk=iphoneos*]" = "iPhone Developer"; 554 | CURRENT_PROJECT_VERSION = 1; 555 | DEFINES_MODULE = YES; 556 | DYLIB_COMPATIBILITY_VERSION = 1; 557 | DYLIB_CURRENT_VERSION = 1; 558 | DYLIB_INSTALL_NAME_BASE = "@rpath"; 559 | ENABLE_STRICT_OBJC_MSGSEND = YES; 560 | INFOPLIST_FILE = "Target Support Files/Pods-PATabbarView_Tests/Info.plist"; 561 | INSTALL_PATH = "$(LOCAL_LIBRARY_DIR)/Frameworks"; 562 | IPHONEOS_DEPLOYMENT_TARGET = 8.0; 563 | LD_RUNPATH_SEARCH_PATHS = "$(inherited) @executable_path/Frameworks @loader_path/Frameworks"; 564 | MACH_O_TYPE = staticlib; 565 | MODULEMAP_FILE = "Target Support Files/Pods-PATabbarView_Tests/Pods-PATabbarView_Tests.modulemap"; 566 | MTL_ENABLE_DEBUG_INFO = NO; 567 | OTHER_LDFLAGS = ""; 568 | OTHER_LIBTOOLFLAGS = ""; 569 | PODS_ROOT = "$(SRCROOT)"; 570 | PRODUCT_NAME = Pods_PATabbarView_Tests; 571 | SDKROOT = iphoneos; 572 | SKIP_INSTALL = YES; 573 | TARGETED_DEVICE_FAMILY = "1,2"; 574 | VERSIONING_SYSTEM = "apple-generic"; 575 | VERSION_INFO_PREFIX = ""; 576 | }; 577 | name = Release; 578 | }; 579 | C8A351ABA6B760CC000A5670F2CBC626 /* Debug */ = { 580 | isa = XCBuildConfiguration; 581 | baseConfigurationReference = 68AFF08E163553D63C94258575FA01D4 /* Pods-PATabbarView_Tests.debug.xcconfig */; 582 | buildSettings = { 583 | "CODE_SIGN_IDENTITY[sdk=iphoneos*]" = "iPhone Developer"; 584 | CURRENT_PROJECT_VERSION = 1; 585 | DEFINES_MODULE = YES; 586 | DYLIB_COMPATIBILITY_VERSION = 1; 587 | DYLIB_CURRENT_VERSION = 1; 588 | DYLIB_INSTALL_NAME_BASE = "@rpath"; 589 | ENABLE_STRICT_OBJC_MSGSEND = YES; 590 | INFOPLIST_FILE = "Target Support Files/Pods-PATabbarView_Tests/Info.plist"; 591 | INSTALL_PATH = "$(LOCAL_LIBRARY_DIR)/Frameworks"; 592 | IPHONEOS_DEPLOYMENT_TARGET = 8.0; 593 | LD_RUNPATH_SEARCH_PATHS = "$(inherited) @executable_path/Frameworks @loader_path/Frameworks"; 594 | MACH_O_TYPE = staticlib; 595 | MODULEMAP_FILE = "Target Support Files/Pods-PATabbarView_Tests/Pods-PATabbarView_Tests.modulemap"; 596 | MTL_ENABLE_DEBUG_INFO = YES; 597 | OTHER_LDFLAGS = ""; 598 | OTHER_LIBTOOLFLAGS = ""; 599 | PODS_ROOT = "$(SRCROOT)"; 600 | PRODUCT_NAME = Pods_PATabbarView_Tests; 601 | SDKROOT = iphoneos; 602 | SKIP_INSTALL = YES; 603 | TARGETED_DEVICE_FAMILY = "1,2"; 604 | VERSIONING_SYSTEM = "apple-generic"; 605 | VERSION_INFO_PREFIX = ""; 606 | }; 607 | name = Debug; 608 | }; 609 | FB45FFD90572718D82AB9092B750F0CA /* Release */ = { 610 | isa = XCBuildConfiguration; 611 | buildSettings = { 612 | ALWAYS_SEARCH_USER_PATHS = NO; 613 | CLANG_CXX_LANGUAGE_STANDARD = "gnu++0x"; 614 | CLANG_CXX_LIBRARY = "libc++"; 615 | CLANG_ENABLE_MODULES = YES; 616 | CLANG_ENABLE_OBJC_ARC = YES; 617 | CLANG_WARN_BOOL_CONVERSION = YES; 618 | CLANG_WARN_CONSTANT_CONVERSION = YES; 619 | CLANG_WARN_DIRECT_OBJC_ISA_USAGE = YES; 620 | CLANG_WARN_EMPTY_BODY = YES; 621 | CLANG_WARN_ENUM_CONVERSION = YES; 622 | CLANG_WARN_INT_CONVERSION = YES; 623 | CLANG_WARN_OBJC_ROOT_CLASS = YES; 624 | CLANG_WARN_UNREACHABLE_CODE = YES; 625 | CLANG_WARN__DUPLICATE_METHOD_MATCH = YES; 626 | COPY_PHASE_STRIP = YES; 627 | ENABLE_NS_ASSERTIONS = NO; 628 | GCC_C_LANGUAGE_STANDARD = gnu99; 629 | GCC_PREPROCESSOR_DEFINITIONS = "RELEASE=1"; 630 | GCC_WARN_64_TO_32_BIT_CONVERSION = YES; 631 | GCC_WARN_ABOUT_RETURN_TYPE = YES; 632 | GCC_WARN_UNDECLARED_SELECTOR = YES; 633 | GCC_WARN_UNINITIALIZED_AUTOS = YES; 634 | GCC_WARN_UNUSED_FUNCTION = YES; 635 | GCC_WARN_UNUSED_VARIABLE = YES; 636 | IPHONEOS_DEPLOYMENT_TARGET = 8.0; 637 | STRIP_INSTALLED_PRODUCT = NO; 638 | SYMROOT = "${SRCROOT}/../build"; 639 | VALIDATE_PRODUCT = YES; 640 | }; 641 | name = Release; 642 | }; 643 | /* End XCBuildConfiguration section */ 644 | 645 | /* Begin XCConfigurationList section */ 646 | 2D8E8EC45A3A1A1D94AE762CB5028504 /* Build configuration list for PBXProject "Pods" */ = { 647 | isa = XCConfigurationList; 648 | buildConfigurations = ( 649 | A70CDAD61F90AC503C7D04CC22DA2923 /* Debug */, 650 | FB45FFD90572718D82AB9092B750F0CA /* Release */, 651 | ); 652 | defaultConfigurationIsVisible = 0; 653 | defaultConfigurationName = Release; 654 | }; 655 | 3B2CB53BE3D7EFC30BF7D0C17EEFE86B /* Build configuration list for PBXNativeTarget "PATabbarView" */ = { 656 | isa = XCConfigurationList; 657 | buildConfigurations = ( 658 | 633991134FF09E1C4A3320A16D4A1D81 /* Debug */, 659 | A70F5344B2BBF324C11BDFC80521D86D /* Release */, 660 | ); 661 | defaultConfigurationIsVisible = 0; 662 | defaultConfigurationName = Release; 663 | }; 664 | 6E545A6C5C125A7A5D7F5D648A262976 /* Build configuration list for PBXNativeTarget "Pods-PATabbarView_Tests" */ = { 665 | isa = XCConfigurationList; 666 | buildConfigurations = ( 667 | C8A351ABA6B760CC000A5670F2CBC626 /* Debug */, 668 | BCD73BA1C295D134C443696F49536E0B /* Release */, 669 | ); 670 | defaultConfigurationIsVisible = 0; 671 | defaultConfigurationName = Release; 672 | }; 673 | 8CA04E1661FF1C1A527A5B379E806934 /* Build configuration list for PBXNativeTarget "Pods-PATabbarView_Example" */ = { 674 | isa = XCConfigurationList; 675 | buildConfigurations = ( 676 | 3DDCE45F8E7ED4D6E71A7A4014F9F95D /* Debug */, 677 | 453C4665DD2C20620A67F4092A0DE9C8 /* Release */, 678 | ); 679 | defaultConfigurationIsVisible = 0; 680 | defaultConfigurationName = Release; 681 | }; 682 | /* End XCConfigurationList section */ 683 | }; 684 | rootObject = D41D8CD98F00B204E9800998ECF8427E /* Project object */; 685 | } 686 | -------------------------------------------------------------------------------- /Example/Pods/Pods.xcodeproj/xcshareddata/xcschemes/PATabbarView.xcscheme: -------------------------------------------------------------------------------- 1 | 2 | 5 | 8 | 9 | 15 | 21 | 22 | 23 | 24 | 25 | 30 | 31 | 32 | 33 | 43 | 44 | 45 | 46 | 52 | 53 | 55 | 56 | 59 | 60 | 61 | -------------------------------------------------------------------------------- /Example/Pods/Target Support Files/PATabbarView/Info.plist: -------------------------------------------------------------------------------- 1 | 2 | 3 | 4 | 5 | CFBundleDevelopmentRegion 6 | en 7 | CFBundleExecutable 8 | ${EXECUTABLE_NAME} 9 | CFBundleIdentifier 10 | org.cocoapods.${PRODUCT_NAME:rfc1034identifier} 11 | CFBundleInfoDictionaryVersion 12 | 6.0 13 | CFBundleName 14 | ${PRODUCT_NAME} 15 | CFBundlePackageType 16 | FMWK 17 | CFBundleShortVersionString 18 | 0.2.2 19 | CFBundleSignature 20 | ???? 21 | CFBundleVersion 22 | ${CURRENT_PROJECT_VERSION} 23 | NSPrincipalClass 24 | 25 | 26 | 27 | -------------------------------------------------------------------------------- /Example/Pods/Target Support Files/PATabbarView/PATabbarView-dummy.m: -------------------------------------------------------------------------------- 1 | #import 2 | @interface PodsDummy_PATabbarView : NSObject 3 | @end 4 | @implementation PodsDummy_PATabbarView 5 | @end 6 | -------------------------------------------------------------------------------- /Example/Pods/Target Support Files/PATabbarView/PATabbarView-prefix.pch: -------------------------------------------------------------------------------- 1 | #ifdef __OBJC__ 2 | #import 3 | #endif 4 | 5 | -------------------------------------------------------------------------------- /Example/Pods/Target Support Files/PATabbarView/PATabbarView-umbrella.h: -------------------------------------------------------------------------------- 1 | #import 2 | 3 | #import "PATabbarView.h" 4 | #import "PATabbarPushedView.h" 5 | 6 | FOUNDATION_EXPORT double PATabbarViewVersionNumber; 7 | FOUNDATION_EXPORT const unsigned char PATabbarViewVersionString[]; 8 | 9 | -------------------------------------------------------------------------------- /Example/Pods/Target Support Files/PATabbarView/PATabbarView.modulemap: -------------------------------------------------------------------------------- 1 | framework module PATabbarView { 2 | umbrella header "PATabbarView-umbrella.h" 3 | 4 | export * 5 | module * { export * } 6 | } 7 | -------------------------------------------------------------------------------- /Example/Pods/Target Support Files/PATabbarView/PATabbarView.xcconfig: -------------------------------------------------------------------------------- 1 | GCC_PREPROCESSOR_DEFINITIONS = $(inherited) COCOAPODS=1 2 | HEADER_SEARCH_PATHS = "${PODS_ROOT}/Headers/Private" "${PODS_ROOT}/Headers/Private/PATabbarView" "${PODS_ROOT}/Headers/Public" 3 | PODS_ROOT = ${SRCROOT} 4 | SKIP_INSTALL = YES -------------------------------------------------------------------------------- /Example/Pods/Target Support Files/Pods-PATabbarView_Example/Info.plist: -------------------------------------------------------------------------------- 1 | 2 | 3 | 4 | 5 | CFBundleDevelopmentRegion 6 | en 7 | CFBundleExecutable 8 | ${EXECUTABLE_NAME} 9 | CFBundleIdentifier 10 | org.cocoapods.${PRODUCT_NAME:rfc1034identifier} 11 | CFBundleInfoDictionaryVersion 12 | 6.0 13 | CFBundleName 14 | ${PRODUCT_NAME} 15 | CFBundlePackageType 16 | FMWK 17 | CFBundleShortVersionString 18 | 1.0.0 19 | CFBundleSignature 20 | ???? 21 | CFBundleVersion 22 | ${CURRENT_PROJECT_VERSION} 23 | NSPrincipalClass 24 | 25 | 26 | 27 | -------------------------------------------------------------------------------- /Example/Pods/Target Support Files/Pods-PATabbarView_Example/Pods-PATabbarView_Example-acknowledgements.markdown: -------------------------------------------------------------------------------- 1 | # Acknowledgements 2 | This application makes use of the following third party libraries: 3 | 4 | ## PATabbarView 5 | 6 | Copyright (c) 2016 Inba 7 | 8 | Permission is hereby granted, free of charge, to any person obtaining a copy 9 | of this software and associated documentation files (the "Software"), to deal 10 | in the Software without restriction, including without limitation the rights 11 | to use, copy, modify, merge, publish, distribute, sublicense, and/or sell 12 | copies of the Software, and to permit persons to whom the Software is 13 | furnished to do so, subject to the following conditions: 14 | 15 | The above copyright notice and this permission notice shall be included in 16 | all copies or substantial portions of the Software. 17 | 18 | THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND, EXPRESS OR 19 | IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF MERCHANTABILITY, 20 | FITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT. IN NO EVENT SHALL THE 21 | AUTHORS OR COPYRIGHT HOLDERS BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER 22 | LIABILITY, WHETHER IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING FROM, 23 | OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN 24 | THE SOFTWARE. 25 | 26 | Generated by CocoaPods - http://cocoapods.org 27 | -------------------------------------------------------------------------------- /Example/Pods/Target Support Files/Pods-PATabbarView_Example/Pods-PATabbarView_Example-acknowledgements.plist: -------------------------------------------------------------------------------- 1 | 2 | 3 | 4 | 5 | PreferenceSpecifiers 6 | 7 | 8 | FooterText 9 | This application makes use of the following third party libraries: 10 | Title 11 | Acknowledgements 12 | Type 13 | PSGroupSpecifier 14 | 15 | 16 | FooterText 17 | Copyright (c) 2016 Inba <gyuuuuchan@gmail.com> 18 | 19 | Permission is hereby granted, free of charge, to any person obtaining a copy 20 | of this software and associated documentation files (the "Software"), to deal 21 | in the Software without restriction, including without limitation the rights 22 | to use, copy, modify, merge, publish, distribute, sublicense, and/or sell 23 | copies of the Software, and to permit persons to whom the Software is 24 | furnished to do so, subject to the following conditions: 25 | 26 | The above copyright notice and this permission notice shall be included in 27 | all copies or substantial portions of the Software. 28 | 29 | THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND, EXPRESS OR 30 | IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF MERCHANTABILITY, 31 | FITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT. IN NO EVENT SHALL THE 32 | AUTHORS OR COPYRIGHT HOLDERS BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER 33 | LIABILITY, WHETHER IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING FROM, 34 | OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN 35 | THE SOFTWARE. 36 | 37 | Title 38 | PATabbarView 39 | Type 40 | PSGroupSpecifier 41 | 42 | 43 | FooterText 44 | Generated by CocoaPods - http://cocoapods.org 45 | Title 46 | 47 | Type 48 | PSGroupSpecifier 49 | 50 | 51 | StringsTable 52 | Acknowledgements 53 | Title 54 | Acknowledgements 55 | 56 | 57 | -------------------------------------------------------------------------------- /Example/Pods/Target Support Files/Pods-PATabbarView_Example/Pods-PATabbarView_Example-dummy.m: -------------------------------------------------------------------------------- 1 | #import 2 | @interface PodsDummy_Pods_PATabbarView_Example : NSObject 3 | @end 4 | @implementation PodsDummy_Pods_PATabbarView_Example 5 | @end 6 | -------------------------------------------------------------------------------- /Example/Pods/Target Support Files/Pods-PATabbarView_Example/Pods-PATabbarView_Example-frameworks.sh: -------------------------------------------------------------------------------- 1 | #!/bin/sh 2 | set -e 3 | 4 | echo "mkdir -p ${CONFIGURATION_BUILD_DIR}/${FRAMEWORKS_FOLDER_PATH}" 5 | mkdir -p "${CONFIGURATION_BUILD_DIR}/${FRAMEWORKS_FOLDER_PATH}" 6 | 7 | SWIFT_STDLIB_PATH="${DT_TOOLCHAIN_DIR}/usr/lib/swift/${PLATFORM_NAME}" 8 | 9 | install_framework() 10 | { 11 | if [ -r "${BUILT_PRODUCTS_DIR}/$1" ]; then 12 | local source="${BUILT_PRODUCTS_DIR}/$1" 13 | elif [ -r "${BUILT_PRODUCTS_DIR}/$(basename "$1")" ]; then 14 | local source="${BUILT_PRODUCTS_DIR}/$(basename "$1")" 15 | elif [ -r "$1" ]; then 16 | local source="$1" 17 | fi 18 | 19 | local destination="${CONFIGURATION_BUILD_DIR}/${FRAMEWORKS_FOLDER_PATH}" 20 | 21 | if [ -L "${source}" ]; then 22 | echo "Symlinked..." 23 | source="$(readlink "${source}")" 24 | fi 25 | 26 | # use filter instead of exclude so missing patterns dont' throw errors 27 | echo "rsync -av --filter \"- CVS/\" --filter \"- .svn/\" --filter \"- .git/\" --filter \"- .hg/\" --filter \"- Headers\" --filter \"- PrivateHeaders\" --filter \"- Modules\" \"${source}\" \"${destination}\"" 28 | rsync -av --filter "- CVS/" --filter "- .svn/" --filter "- .git/" --filter "- .hg/" --filter "- Headers" --filter "- PrivateHeaders" --filter "- Modules" "${source}" "${destination}" 29 | 30 | local basename 31 | basename="$(basename -s .framework "$1")" 32 | binary="${destination}/${basename}.framework/${basename}" 33 | if ! [ -r "$binary" ]; then 34 | binary="${destination}/${basename}" 35 | fi 36 | 37 | # Strip invalid architectures so "fat" simulator / device frameworks work on device 38 | if [[ "$(file "$binary")" == *"dynamically linked shared library"* ]]; then 39 | strip_invalid_archs "$binary" 40 | fi 41 | 42 | # Resign the code if required by the build settings to avoid unstable apps 43 | code_sign_if_enabled "${destination}/$(basename "$1")" 44 | 45 | # Embed linked Swift runtime libraries. No longer necessary as of Xcode 7. 46 | if [ "${XCODE_VERSION_MAJOR}" -lt 7 ]; then 47 | local swift_runtime_libs 48 | swift_runtime_libs=$(xcrun otool -LX "$binary" | grep --color=never @rpath/libswift | sed -E s/@rpath\\/\(.+dylib\).*/\\1/g | uniq -u && exit ${PIPESTATUS[0]}) 49 | for lib in $swift_runtime_libs; do 50 | echo "rsync -auv \"${SWIFT_STDLIB_PATH}/${lib}\" \"${destination}\"" 51 | rsync -auv "${SWIFT_STDLIB_PATH}/${lib}" "${destination}" 52 | code_sign_if_enabled "${destination}/${lib}" 53 | done 54 | fi 55 | } 56 | 57 | # Signs a framework with the provided identity 58 | code_sign_if_enabled() { 59 | if [ -n "${EXPANDED_CODE_SIGN_IDENTITY}" -a "${CODE_SIGNING_REQUIRED}" != "NO" -a "${CODE_SIGNING_ALLOWED}" != "NO" ]; then 60 | # Use the current code_sign_identitiy 61 | echo "Code Signing $1 with Identity ${EXPANDED_CODE_SIGN_IDENTITY_NAME}" 62 | echo "/usr/bin/codesign --force --sign ${EXPANDED_CODE_SIGN_IDENTITY} --preserve-metadata=identifier,entitlements \"$1\"" 63 | /usr/bin/codesign --force --sign ${EXPANDED_CODE_SIGN_IDENTITY} --preserve-metadata=identifier,entitlements "$1" 64 | fi 65 | } 66 | 67 | # Strip invalid architectures 68 | strip_invalid_archs() { 69 | binary="$1" 70 | # Get architectures for current file 71 | archs="$(lipo -info "$binary" | rev | cut -d ':' -f1 | rev)" 72 | stripped="" 73 | for arch in $archs; do 74 | if ! [[ "${VALID_ARCHS}" == *"$arch"* ]]; then 75 | # Strip non-valid architectures in-place 76 | lipo -remove "$arch" -output "$binary" "$binary" || exit 1 77 | stripped="$stripped $arch" 78 | fi 79 | done 80 | if [[ "$stripped" ]]; then 81 | echo "Stripped $binary of architectures:$stripped" 82 | fi 83 | } 84 | 85 | 86 | if [[ "$CONFIGURATION" == "Debug" ]]; then 87 | install_framework "Pods-PATabbarView_Example/PATabbarView.framework" 88 | fi 89 | if [[ "$CONFIGURATION" == "Release" ]]; then 90 | install_framework "Pods-PATabbarView_Example/PATabbarView.framework" 91 | fi 92 | -------------------------------------------------------------------------------- /Example/Pods/Target Support Files/Pods-PATabbarView_Example/Pods-PATabbarView_Example-resources.sh: -------------------------------------------------------------------------------- 1 | #!/bin/sh 2 | set -e 3 | 4 | mkdir -p "${CONFIGURATION_BUILD_DIR}/${UNLOCALIZED_RESOURCES_FOLDER_PATH}" 5 | 6 | RESOURCES_TO_COPY=${PODS_ROOT}/resources-to-copy-${TARGETNAME}.txt 7 | > "$RESOURCES_TO_COPY" 8 | 9 | XCASSET_FILES=() 10 | 11 | realpath() { 12 | DIRECTORY="$(cd "${1%/*}" && pwd)" 13 | FILENAME="${1##*/}" 14 | echo "$DIRECTORY/$FILENAME" 15 | } 16 | 17 | install_resource() 18 | { 19 | case $1 in 20 | *.storyboard) 21 | echo "ibtool --reference-external-strings-file --errors --warnings --notices --output-format human-readable-text --compile ${CONFIGURATION_BUILD_DIR}/${UNLOCALIZED_RESOURCES_FOLDER_PATH}/`basename \"$1\" .storyboard`.storyboardc ${PODS_ROOT}/$1 --sdk ${SDKROOT}" 22 | ibtool --reference-external-strings-file --errors --warnings --notices --output-format human-readable-text --compile "${CONFIGURATION_BUILD_DIR}/${UNLOCALIZED_RESOURCES_FOLDER_PATH}/`basename \"$1\" .storyboard`.storyboardc" "${PODS_ROOT}/$1" --sdk "${SDKROOT}" 23 | ;; 24 | *.xib) 25 | echo "ibtool --reference-external-strings-file --errors --warnings --notices --output-format human-readable-text --compile ${CONFIGURATION_BUILD_DIR}/${UNLOCALIZED_RESOURCES_FOLDER_PATH}/`basename \"$1\" .xib`.nib ${PODS_ROOT}/$1 --sdk ${SDKROOT}" 26 | ibtool --reference-external-strings-file --errors --warnings --notices --output-format human-readable-text --compile "${CONFIGURATION_BUILD_DIR}/${UNLOCALIZED_RESOURCES_FOLDER_PATH}/`basename \"$1\" .xib`.nib" "${PODS_ROOT}/$1" --sdk "${SDKROOT}" 27 | ;; 28 | *.framework) 29 | echo "mkdir -p ${CONFIGURATION_BUILD_DIR}/${FRAMEWORKS_FOLDER_PATH}" 30 | mkdir -p "${CONFIGURATION_BUILD_DIR}/${FRAMEWORKS_FOLDER_PATH}" 31 | echo "rsync -av ${PODS_ROOT}/$1 ${CONFIGURATION_BUILD_DIR}/${FRAMEWORKS_FOLDER_PATH}" 32 | rsync -av "${PODS_ROOT}/$1" "${CONFIGURATION_BUILD_DIR}/${FRAMEWORKS_FOLDER_PATH}" 33 | ;; 34 | *.xcdatamodel) 35 | echo "xcrun momc \"${PODS_ROOT}/$1\" \"${CONFIGURATION_BUILD_DIR}/${UNLOCALIZED_RESOURCES_FOLDER_PATH}/`basename "$1"`.mom\"" 36 | xcrun momc "${PODS_ROOT}/$1" "${CONFIGURATION_BUILD_DIR}/${UNLOCALIZED_RESOURCES_FOLDER_PATH}/`basename "$1" .xcdatamodel`.mom" 37 | ;; 38 | *.xcdatamodeld) 39 | echo "xcrun momc \"${PODS_ROOT}/$1\" \"${CONFIGURATION_BUILD_DIR}/${UNLOCALIZED_RESOURCES_FOLDER_PATH}/`basename "$1" .xcdatamodeld`.momd\"" 40 | xcrun momc "${PODS_ROOT}/$1" "${CONFIGURATION_BUILD_DIR}/${UNLOCALIZED_RESOURCES_FOLDER_PATH}/`basename "$1" .xcdatamodeld`.momd" 41 | ;; 42 | *.xcmappingmodel) 43 | echo "xcrun mapc \"${PODS_ROOT}/$1\" \"${CONFIGURATION_BUILD_DIR}/${UNLOCALIZED_RESOURCES_FOLDER_PATH}/`basename "$1" .xcmappingmodel`.cdm\"" 44 | xcrun mapc "${PODS_ROOT}/$1" "${CONFIGURATION_BUILD_DIR}/${UNLOCALIZED_RESOURCES_FOLDER_PATH}/`basename "$1" .xcmappingmodel`.cdm" 45 | ;; 46 | *.xcassets) 47 | ABSOLUTE_XCASSET_FILE=$(realpath "${PODS_ROOT}/$1") 48 | XCASSET_FILES+=("$ABSOLUTE_XCASSET_FILE") 49 | ;; 50 | /*) 51 | echo "$1" 52 | echo "$1" >> "$RESOURCES_TO_COPY" 53 | ;; 54 | *) 55 | echo "${PODS_ROOT}/$1" 56 | echo "${PODS_ROOT}/$1" >> "$RESOURCES_TO_COPY" 57 | ;; 58 | esac 59 | } 60 | 61 | mkdir -p "${CONFIGURATION_BUILD_DIR}/${UNLOCALIZED_RESOURCES_FOLDER_PATH}" 62 | rsync -avr --copy-links --no-relative --exclude '*/.svn/*' --files-from="$RESOURCES_TO_COPY" / "${CONFIGURATION_BUILD_DIR}/${UNLOCALIZED_RESOURCES_FOLDER_PATH}" 63 | if [[ "${ACTION}" == "install" ]] && [[ "${SKIP_INSTALL}" == "NO" ]]; then 64 | mkdir -p "${INSTALL_DIR}/${UNLOCALIZED_RESOURCES_FOLDER_PATH}" 65 | rsync -avr --copy-links --no-relative --exclude '*/.svn/*' --files-from="$RESOURCES_TO_COPY" / "${INSTALL_DIR}/${UNLOCALIZED_RESOURCES_FOLDER_PATH}" 66 | fi 67 | rm -f "$RESOURCES_TO_COPY" 68 | 69 | if [[ -n "${WRAPPER_EXTENSION}" ]] && [ "`xcrun --find actool`" ] && [ -n "$XCASSET_FILES" ] 70 | then 71 | case "${TARGETED_DEVICE_FAMILY}" in 72 | 1,2) 73 | TARGET_DEVICE_ARGS="--target-device ipad --target-device iphone" 74 | ;; 75 | 1) 76 | TARGET_DEVICE_ARGS="--target-device iphone" 77 | ;; 78 | 2) 79 | TARGET_DEVICE_ARGS="--target-device ipad" 80 | ;; 81 | *) 82 | TARGET_DEVICE_ARGS="--target-device mac" 83 | ;; 84 | esac 85 | 86 | # Find all other xcassets (this unfortunately includes those of path pods and other targets). 87 | OTHER_XCASSETS=$(find "$PWD" -iname "*.xcassets" -type d) 88 | while read line; do 89 | if [[ $line != "`realpath $PODS_ROOT`*" ]]; then 90 | XCASSET_FILES+=("$line") 91 | fi 92 | done <<<"$OTHER_XCASSETS" 93 | 94 | printf "%s\0" "${XCASSET_FILES[@]}" | xargs -0 xcrun actool --output-format human-readable-text --notices --warnings --platform "${PLATFORM_NAME}" --minimum-deployment-target "${IPHONEOS_DEPLOYMENT_TARGET}" ${TARGET_DEVICE_ARGS} --compress-pngs --compile "${BUILT_PRODUCTS_DIR}/${UNLOCALIZED_RESOURCES_FOLDER_PATH}" 95 | fi 96 | -------------------------------------------------------------------------------- /Example/Pods/Target Support Files/Pods-PATabbarView_Example/Pods-PATabbarView_Example-umbrella.h: -------------------------------------------------------------------------------- 1 | #import 2 | 3 | 4 | FOUNDATION_EXPORT double Pods_PATabbarView_ExampleVersionNumber; 5 | FOUNDATION_EXPORT const unsigned char Pods_PATabbarView_ExampleVersionString[]; 6 | 7 | -------------------------------------------------------------------------------- /Example/Pods/Target Support Files/Pods-PATabbarView_Example/Pods-PATabbarView_Example.debug.xcconfig: -------------------------------------------------------------------------------- 1 | GCC_PREPROCESSOR_DEFINITIONS = $(inherited) COCOAPODS=1 2 | LD_RUNPATH_SEARCH_PATHS = $(inherited) '@executable_path/Frameworks' '@loader_path/Frameworks' 3 | OTHER_CFLAGS = $(inherited) -iquote "$CONFIGURATION_BUILD_DIR/PATabbarView.framework/Headers" 4 | OTHER_LDFLAGS = $(inherited) -framework "PATabbarView" 5 | PODS_FRAMEWORK_BUILD_PATH = $(BUILD_DIR)/$(CONFIGURATION)$(EFFECTIVE_PLATFORM_NAME)/Pods-PATabbarView_Example 6 | PODS_ROOT = ${SRCROOT}/Pods -------------------------------------------------------------------------------- /Example/Pods/Target Support Files/Pods-PATabbarView_Example/Pods-PATabbarView_Example.modulemap: -------------------------------------------------------------------------------- 1 | framework module Pods_PATabbarView_Example { 2 | umbrella header "Pods-PATabbarView_Example-umbrella.h" 3 | 4 | export * 5 | module * { export * } 6 | } 7 | -------------------------------------------------------------------------------- /Example/Pods/Target Support Files/Pods-PATabbarView_Example/Pods-PATabbarView_Example.release.xcconfig: -------------------------------------------------------------------------------- 1 | GCC_PREPROCESSOR_DEFINITIONS = $(inherited) COCOAPODS=1 2 | LD_RUNPATH_SEARCH_PATHS = $(inherited) '@executable_path/Frameworks' '@loader_path/Frameworks' 3 | OTHER_CFLAGS = $(inherited) -iquote "$CONFIGURATION_BUILD_DIR/PATabbarView.framework/Headers" 4 | OTHER_LDFLAGS = $(inherited) -framework "PATabbarView" 5 | PODS_FRAMEWORK_BUILD_PATH = $(BUILD_DIR)/$(CONFIGURATION)$(EFFECTIVE_PLATFORM_NAME)/Pods-PATabbarView_Example 6 | PODS_ROOT = ${SRCROOT}/Pods -------------------------------------------------------------------------------- /Example/Pods/Target Support Files/Pods-PATabbarView_Tests/Info.plist: -------------------------------------------------------------------------------- 1 | 2 | 3 | 4 | 5 | CFBundleDevelopmentRegion 6 | en 7 | CFBundleExecutable 8 | ${EXECUTABLE_NAME} 9 | CFBundleIdentifier 10 | org.cocoapods.${PRODUCT_NAME:rfc1034identifier} 11 | CFBundleInfoDictionaryVersion 12 | 6.0 13 | CFBundleName 14 | ${PRODUCT_NAME} 15 | CFBundlePackageType 16 | FMWK 17 | CFBundleShortVersionString 18 | 1.0.0 19 | CFBundleSignature 20 | ???? 21 | CFBundleVersion 22 | ${CURRENT_PROJECT_VERSION} 23 | NSPrincipalClass 24 | 25 | 26 | 27 | -------------------------------------------------------------------------------- /Example/Pods/Target Support Files/Pods-PATabbarView_Tests/Pods-PATabbarView_Tests-acknowledgements.markdown: -------------------------------------------------------------------------------- 1 | # Acknowledgements 2 | This application makes use of the following third party libraries: 3 | 4 | ## PATabbarView 5 | 6 | Copyright (c) 2016 Inba 7 | 8 | Permission is hereby granted, free of charge, to any person obtaining a copy 9 | of this software and associated documentation files (the "Software"), to deal 10 | in the Software without restriction, including without limitation the rights 11 | to use, copy, modify, merge, publish, distribute, sublicense, and/or sell 12 | copies of the Software, and to permit persons to whom the Software is 13 | furnished to do so, subject to the following conditions: 14 | 15 | The above copyright notice and this permission notice shall be included in 16 | all copies or substantial portions of the Software. 17 | 18 | THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND, EXPRESS OR 19 | IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF MERCHANTABILITY, 20 | FITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT. IN NO EVENT SHALL THE 21 | AUTHORS OR COPYRIGHT HOLDERS BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER 22 | LIABILITY, WHETHER IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING FROM, 23 | OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN 24 | THE SOFTWARE. 25 | 26 | Generated by CocoaPods - http://cocoapods.org 27 | -------------------------------------------------------------------------------- /Example/Pods/Target Support Files/Pods-PATabbarView_Tests/Pods-PATabbarView_Tests-acknowledgements.plist: -------------------------------------------------------------------------------- 1 | 2 | 3 | 4 | 5 | PreferenceSpecifiers 6 | 7 | 8 | FooterText 9 | This application makes use of the following third party libraries: 10 | Title 11 | Acknowledgements 12 | Type 13 | PSGroupSpecifier 14 | 15 | 16 | FooterText 17 | Copyright (c) 2016 Inba <gyuuuuchan@gmail.com> 18 | 19 | Permission is hereby granted, free of charge, to any person obtaining a copy 20 | of this software and associated documentation files (the "Software"), to deal 21 | in the Software without restriction, including without limitation the rights 22 | to use, copy, modify, merge, publish, distribute, sublicense, and/or sell 23 | copies of the Software, and to permit persons to whom the Software is 24 | furnished to do so, subject to the following conditions: 25 | 26 | The above copyright notice and this permission notice shall be included in 27 | all copies or substantial portions of the Software. 28 | 29 | THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND, EXPRESS OR 30 | IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF MERCHANTABILITY, 31 | FITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT. IN NO EVENT SHALL THE 32 | AUTHORS OR COPYRIGHT HOLDERS BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER 33 | LIABILITY, WHETHER IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING FROM, 34 | OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN 35 | THE SOFTWARE. 36 | 37 | Title 38 | PATabbarView 39 | Type 40 | PSGroupSpecifier 41 | 42 | 43 | FooterText 44 | Generated by CocoaPods - http://cocoapods.org 45 | Title 46 | 47 | Type 48 | PSGroupSpecifier 49 | 50 | 51 | StringsTable 52 | Acknowledgements 53 | Title 54 | Acknowledgements 55 | 56 | 57 | -------------------------------------------------------------------------------- /Example/Pods/Target Support Files/Pods-PATabbarView_Tests/Pods-PATabbarView_Tests-dummy.m: -------------------------------------------------------------------------------- 1 | #import 2 | @interface PodsDummy_Pods_PATabbarView_Tests : NSObject 3 | @end 4 | @implementation PodsDummy_Pods_PATabbarView_Tests 5 | @end 6 | -------------------------------------------------------------------------------- /Example/Pods/Target Support Files/Pods-PATabbarView_Tests/Pods-PATabbarView_Tests-frameworks.sh: -------------------------------------------------------------------------------- 1 | #!/bin/sh 2 | set -e 3 | 4 | echo "mkdir -p ${CONFIGURATION_BUILD_DIR}/${FRAMEWORKS_FOLDER_PATH}" 5 | mkdir -p "${CONFIGURATION_BUILD_DIR}/${FRAMEWORKS_FOLDER_PATH}" 6 | 7 | SWIFT_STDLIB_PATH="${DT_TOOLCHAIN_DIR}/usr/lib/swift/${PLATFORM_NAME}" 8 | 9 | install_framework() 10 | { 11 | if [ -r "${BUILT_PRODUCTS_DIR}/$1" ]; then 12 | local source="${BUILT_PRODUCTS_DIR}/$1" 13 | elif [ -r "${BUILT_PRODUCTS_DIR}/$(basename "$1")" ]; then 14 | local source="${BUILT_PRODUCTS_DIR}/$(basename "$1")" 15 | elif [ -r "$1" ]; then 16 | local source="$1" 17 | fi 18 | 19 | local destination="${CONFIGURATION_BUILD_DIR}/${FRAMEWORKS_FOLDER_PATH}" 20 | 21 | if [ -L "${source}" ]; then 22 | echo "Symlinked..." 23 | source="$(readlink "${source}")" 24 | fi 25 | 26 | # use filter instead of exclude so missing patterns dont' throw errors 27 | echo "rsync -av --filter \"- CVS/\" --filter \"- .svn/\" --filter \"- .git/\" --filter \"- .hg/\" --filter \"- Headers\" --filter \"- PrivateHeaders\" --filter \"- Modules\" \"${source}\" \"${destination}\"" 28 | rsync -av --filter "- CVS/" --filter "- .svn/" --filter "- .git/" --filter "- .hg/" --filter "- Headers" --filter "- PrivateHeaders" --filter "- Modules" "${source}" "${destination}" 29 | 30 | local basename 31 | basename="$(basename -s .framework "$1")" 32 | binary="${destination}/${basename}.framework/${basename}" 33 | if ! [ -r "$binary" ]; then 34 | binary="${destination}/${basename}" 35 | fi 36 | 37 | # Strip invalid architectures so "fat" simulator / device frameworks work on device 38 | if [[ "$(file "$binary")" == *"dynamically linked shared library"* ]]; then 39 | strip_invalid_archs "$binary" 40 | fi 41 | 42 | # Resign the code if required by the build settings to avoid unstable apps 43 | code_sign_if_enabled "${destination}/$(basename "$1")" 44 | 45 | # Embed linked Swift runtime libraries. No longer necessary as of Xcode 7. 46 | if [ "${XCODE_VERSION_MAJOR}" -lt 7 ]; then 47 | local swift_runtime_libs 48 | swift_runtime_libs=$(xcrun otool -LX "$binary" | grep --color=never @rpath/libswift | sed -E s/@rpath\\/\(.+dylib\).*/\\1/g | uniq -u && exit ${PIPESTATUS[0]}) 49 | for lib in $swift_runtime_libs; do 50 | echo "rsync -auv \"${SWIFT_STDLIB_PATH}/${lib}\" \"${destination}\"" 51 | rsync -auv "${SWIFT_STDLIB_PATH}/${lib}" "${destination}" 52 | code_sign_if_enabled "${destination}/${lib}" 53 | done 54 | fi 55 | } 56 | 57 | # Signs a framework with the provided identity 58 | code_sign_if_enabled() { 59 | if [ -n "${EXPANDED_CODE_SIGN_IDENTITY}" -a "${CODE_SIGNING_REQUIRED}" != "NO" -a "${CODE_SIGNING_ALLOWED}" != "NO" ]; then 60 | # Use the current code_sign_identitiy 61 | echo "Code Signing $1 with Identity ${EXPANDED_CODE_SIGN_IDENTITY_NAME}" 62 | echo "/usr/bin/codesign --force --sign ${EXPANDED_CODE_SIGN_IDENTITY} --preserve-metadata=identifier,entitlements \"$1\"" 63 | /usr/bin/codesign --force --sign ${EXPANDED_CODE_SIGN_IDENTITY} --preserve-metadata=identifier,entitlements "$1" 64 | fi 65 | } 66 | 67 | # Strip invalid architectures 68 | strip_invalid_archs() { 69 | binary="$1" 70 | # Get architectures for current file 71 | archs="$(lipo -info "$binary" | rev | cut -d ':' -f1 | rev)" 72 | stripped="" 73 | for arch in $archs; do 74 | if ! [[ "${VALID_ARCHS}" == *"$arch"* ]]; then 75 | # Strip non-valid architectures in-place 76 | lipo -remove "$arch" -output "$binary" "$binary" || exit 1 77 | stripped="$stripped $arch" 78 | fi 79 | done 80 | if [[ "$stripped" ]]; then 81 | echo "Stripped $binary of architectures:$stripped" 82 | fi 83 | } 84 | 85 | 86 | if [[ "$CONFIGURATION" == "Debug" ]]; then 87 | install_framework "Pods-PATabbarView_Tests/PATabbarView.framework" 88 | fi 89 | if [[ "$CONFIGURATION" == "Release" ]]; then 90 | install_framework "Pods-PATabbarView_Tests/PATabbarView.framework" 91 | fi 92 | -------------------------------------------------------------------------------- /Example/Pods/Target Support Files/Pods-PATabbarView_Tests/Pods-PATabbarView_Tests-resources.sh: -------------------------------------------------------------------------------- 1 | #!/bin/sh 2 | set -e 3 | 4 | mkdir -p "${CONFIGURATION_BUILD_DIR}/${UNLOCALIZED_RESOURCES_FOLDER_PATH}" 5 | 6 | RESOURCES_TO_COPY=${PODS_ROOT}/resources-to-copy-${TARGETNAME}.txt 7 | > "$RESOURCES_TO_COPY" 8 | 9 | XCASSET_FILES=() 10 | 11 | realpath() { 12 | DIRECTORY="$(cd "${1%/*}" && pwd)" 13 | FILENAME="${1##*/}" 14 | echo "$DIRECTORY/$FILENAME" 15 | } 16 | 17 | install_resource() 18 | { 19 | case $1 in 20 | *.storyboard) 21 | echo "ibtool --reference-external-strings-file --errors --warnings --notices --output-format human-readable-text --compile ${CONFIGURATION_BUILD_DIR}/${UNLOCALIZED_RESOURCES_FOLDER_PATH}/`basename \"$1\" .storyboard`.storyboardc ${PODS_ROOT}/$1 --sdk ${SDKROOT}" 22 | ibtool --reference-external-strings-file --errors --warnings --notices --output-format human-readable-text --compile "${CONFIGURATION_BUILD_DIR}/${UNLOCALIZED_RESOURCES_FOLDER_PATH}/`basename \"$1\" .storyboard`.storyboardc" "${PODS_ROOT}/$1" --sdk "${SDKROOT}" 23 | ;; 24 | *.xib) 25 | echo "ibtool --reference-external-strings-file --errors --warnings --notices --output-format human-readable-text --compile ${CONFIGURATION_BUILD_DIR}/${UNLOCALIZED_RESOURCES_FOLDER_PATH}/`basename \"$1\" .xib`.nib ${PODS_ROOT}/$1 --sdk ${SDKROOT}" 26 | ibtool --reference-external-strings-file --errors --warnings --notices --output-format human-readable-text --compile "${CONFIGURATION_BUILD_DIR}/${UNLOCALIZED_RESOURCES_FOLDER_PATH}/`basename \"$1\" .xib`.nib" "${PODS_ROOT}/$1" --sdk "${SDKROOT}" 27 | ;; 28 | *.framework) 29 | echo "mkdir -p ${CONFIGURATION_BUILD_DIR}/${FRAMEWORKS_FOLDER_PATH}" 30 | mkdir -p "${CONFIGURATION_BUILD_DIR}/${FRAMEWORKS_FOLDER_PATH}" 31 | echo "rsync -av ${PODS_ROOT}/$1 ${CONFIGURATION_BUILD_DIR}/${FRAMEWORKS_FOLDER_PATH}" 32 | rsync -av "${PODS_ROOT}/$1" "${CONFIGURATION_BUILD_DIR}/${FRAMEWORKS_FOLDER_PATH}" 33 | ;; 34 | *.xcdatamodel) 35 | echo "xcrun momc \"${PODS_ROOT}/$1\" \"${CONFIGURATION_BUILD_DIR}/${UNLOCALIZED_RESOURCES_FOLDER_PATH}/`basename "$1"`.mom\"" 36 | xcrun momc "${PODS_ROOT}/$1" "${CONFIGURATION_BUILD_DIR}/${UNLOCALIZED_RESOURCES_FOLDER_PATH}/`basename "$1" .xcdatamodel`.mom" 37 | ;; 38 | *.xcdatamodeld) 39 | echo "xcrun momc \"${PODS_ROOT}/$1\" \"${CONFIGURATION_BUILD_DIR}/${UNLOCALIZED_RESOURCES_FOLDER_PATH}/`basename "$1" .xcdatamodeld`.momd\"" 40 | xcrun momc "${PODS_ROOT}/$1" "${CONFIGURATION_BUILD_DIR}/${UNLOCALIZED_RESOURCES_FOLDER_PATH}/`basename "$1" .xcdatamodeld`.momd" 41 | ;; 42 | *.xcmappingmodel) 43 | echo "xcrun mapc \"${PODS_ROOT}/$1\" \"${CONFIGURATION_BUILD_DIR}/${UNLOCALIZED_RESOURCES_FOLDER_PATH}/`basename "$1" .xcmappingmodel`.cdm\"" 44 | xcrun mapc "${PODS_ROOT}/$1" "${CONFIGURATION_BUILD_DIR}/${UNLOCALIZED_RESOURCES_FOLDER_PATH}/`basename "$1" .xcmappingmodel`.cdm" 45 | ;; 46 | *.xcassets) 47 | ABSOLUTE_XCASSET_FILE=$(realpath "${PODS_ROOT}/$1") 48 | XCASSET_FILES+=("$ABSOLUTE_XCASSET_FILE") 49 | ;; 50 | /*) 51 | echo "$1" 52 | echo "$1" >> "$RESOURCES_TO_COPY" 53 | ;; 54 | *) 55 | echo "${PODS_ROOT}/$1" 56 | echo "${PODS_ROOT}/$1" >> "$RESOURCES_TO_COPY" 57 | ;; 58 | esac 59 | } 60 | 61 | mkdir -p "${CONFIGURATION_BUILD_DIR}/${UNLOCALIZED_RESOURCES_FOLDER_PATH}" 62 | rsync -avr --copy-links --no-relative --exclude '*/.svn/*' --files-from="$RESOURCES_TO_COPY" / "${CONFIGURATION_BUILD_DIR}/${UNLOCALIZED_RESOURCES_FOLDER_PATH}" 63 | if [[ "${ACTION}" == "install" ]] && [[ "${SKIP_INSTALL}" == "NO" ]]; then 64 | mkdir -p "${INSTALL_DIR}/${UNLOCALIZED_RESOURCES_FOLDER_PATH}" 65 | rsync -avr --copy-links --no-relative --exclude '*/.svn/*' --files-from="$RESOURCES_TO_COPY" / "${INSTALL_DIR}/${UNLOCALIZED_RESOURCES_FOLDER_PATH}" 66 | fi 67 | rm -f "$RESOURCES_TO_COPY" 68 | 69 | if [[ -n "${WRAPPER_EXTENSION}" ]] && [ "`xcrun --find actool`" ] && [ -n "$XCASSET_FILES" ] 70 | then 71 | case "${TARGETED_DEVICE_FAMILY}" in 72 | 1,2) 73 | TARGET_DEVICE_ARGS="--target-device ipad --target-device iphone" 74 | ;; 75 | 1) 76 | TARGET_DEVICE_ARGS="--target-device iphone" 77 | ;; 78 | 2) 79 | TARGET_DEVICE_ARGS="--target-device ipad" 80 | ;; 81 | *) 82 | TARGET_DEVICE_ARGS="--target-device mac" 83 | ;; 84 | esac 85 | 86 | # Find all other xcassets (this unfortunately includes those of path pods and other targets). 87 | OTHER_XCASSETS=$(find "$PWD" -iname "*.xcassets" -type d) 88 | while read line; do 89 | if [[ $line != "`realpath $PODS_ROOT`*" ]]; then 90 | XCASSET_FILES+=("$line") 91 | fi 92 | done <<<"$OTHER_XCASSETS" 93 | 94 | printf "%s\0" "${XCASSET_FILES[@]}" | xargs -0 xcrun actool --output-format human-readable-text --notices --warnings --platform "${PLATFORM_NAME}" --minimum-deployment-target "${IPHONEOS_DEPLOYMENT_TARGET}" ${TARGET_DEVICE_ARGS} --compress-pngs --compile "${BUILT_PRODUCTS_DIR}/${UNLOCALIZED_RESOURCES_FOLDER_PATH}" 95 | fi 96 | -------------------------------------------------------------------------------- /Example/Pods/Target Support Files/Pods-PATabbarView_Tests/Pods-PATabbarView_Tests-umbrella.h: -------------------------------------------------------------------------------- 1 | #import 2 | 3 | 4 | FOUNDATION_EXPORT double Pods_PATabbarView_TestsVersionNumber; 5 | FOUNDATION_EXPORT const unsigned char Pods_PATabbarView_TestsVersionString[]; 6 | 7 | -------------------------------------------------------------------------------- /Example/Pods/Target Support Files/Pods-PATabbarView_Tests/Pods-PATabbarView_Tests.debug.xcconfig: -------------------------------------------------------------------------------- 1 | GCC_PREPROCESSOR_DEFINITIONS = $(inherited) COCOAPODS=1 2 | LD_RUNPATH_SEARCH_PATHS = $(inherited) '@executable_path/Frameworks' '@loader_path/Frameworks' 3 | OTHER_CFLAGS = $(inherited) -iquote "$CONFIGURATION_BUILD_DIR/PATabbarView.framework/Headers" 4 | OTHER_LDFLAGS = $(inherited) -framework "PATabbarView" 5 | PODS_FRAMEWORK_BUILD_PATH = $(BUILD_DIR)/$(CONFIGURATION)$(EFFECTIVE_PLATFORM_NAME)/Pods-PATabbarView_Tests 6 | PODS_ROOT = ${SRCROOT}/Pods -------------------------------------------------------------------------------- /Example/Pods/Target Support Files/Pods-PATabbarView_Tests/Pods-PATabbarView_Tests.modulemap: -------------------------------------------------------------------------------- 1 | framework module Pods_PATabbarView_Tests { 2 | umbrella header "Pods-PATabbarView_Tests-umbrella.h" 3 | 4 | export * 5 | module * { export * } 6 | } 7 | -------------------------------------------------------------------------------- /Example/Pods/Target Support Files/Pods-PATabbarView_Tests/Pods-PATabbarView_Tests.release.xcconfig: -------------------------------------------------------------------------------- 1 | GCC_PREPROCESSOR_DEFINITIONS = $(inherited) COCOAPODS=1 2 | LD_RUNPATH_SEARCH_PATHS = $(inherited) '@executable_path/Frameworks' '@loader_path/Frameworks' 3 | OTHER_CFLAGS = $(inherited) -iquote "$CONFIGURATION_BUILD_DIR/PATabbarView.framework/Headers" 4 | OTHER_LDFLAGS = $(inherited) -framework "PATabbarView" 5 | PODS_FRAMEWORK_BUILD_PATH = $(BUILD_DIR)/$(CONFIGURATION)$(EFFECTIVE_PLATFORM_NAME)/Pods-PATabbarView_Tests 6 | PODS_ROOT = ${SRCROOT}/Pods -------------------------------------------------------------------------------- /Example/Tests/Tests-Info.plist: -------------------------------------------------------------------------------- 1 | 2 | 3 | 4 | 5 | CFBundleDevelopmentRegion 6 | en 7 | CFBundleExecutable 8 | ${EXECUTABLE_NAME} 9 | CFBundleIdentifier 10 | $(PRODUCT_BUNDLE_IDENTIFIER) 11 | CFBundleInfoDictionaryVersion 12 | 6.0 13 | CFBundlePackageType 14 | BNDL 15 | CFBundleShortVersionString 16 | 1.0 17 | CFBundleSignature 18 | ???? 19 | CFBundleVersion 20 | 1 21 | 22 | 23 | -------------------------------------------------------------------------------- /Example/Tests/Tests-Prefix.pch: -------------------------------------------------------------------------------- 1 | // The contents of this file are implicitly included at the beginning of every test case source file. 2 | 3 | #ifdef __OBJC__ 4 | 5 | 6 | 7 | #endif 8 | -------------------------------------------------------------------------------- /Example/Tests/Tests.m: -------------------------------------------------------------------------------- 1 | // 2 | // PATabbarViewTests.m 3 | // PATabbarViewTests 4 | // 5 | // Created by Inba on 04/05/2016. 6 | // Copyright (c) 2016 Inba. All rights reserved. 7 | // 8 | 9 | @import XCTest; 10 | 11 | @interface Tests : XCTestCase 12 | 13 | @end 14 | 15 | @implementation Tests 16 | 17 | - (void)setUp 18 | { 19 | [super setUp]; 20 | // Put setup code here. This method is called before the invocation of each test method in the class. 21 | } 22 | 23 | - (void)tearDown 24 | { 25 | // Put teardown code here. This method is called after the invocation of each test method in the class. 26 | [super tearDown]; 27 | } 28 | 29 | - (void)testExample 30 | { 31 | XCTFail(@"No implementation for \"%s\"", __PRETTY_FUNCTION__); 32 | } 33 | 34 | @end 35 | 36 | -------------------------------------------------------------------------------- /Example/Tests/en.lproj/InfoPlist.strings: -------------------------------------------------------------------------------- 1 | /* Localized versions of Info.plist keys */ 2 | 3 | -------------------------------------------------------------------------------- /LICENSE: -------------------------------------------------------------------------------- 1 | Copyright (c) 2016 Inba 2 | 3 | Permission is hereby granted, free of charge, to any person obtaining a copy 4 | of this software and associated documentation files (the "Software"), to deal 5 | in the Software without restriction, including without limitation the rights 6 | to use, copy, modify, merge, publish, distribute, sublicense, and/or sell 7 | copies of the Software, and to permit persons to whom the Software is 8 | furnished to do so, subject to the following conditions: 9 | 10 | The above copyright notice and this permission notice shall be included in 11 | all copies or substantial portions of the Software. 12 | 13 | THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND, EXPRESS OR 14 | IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF MERCHANTABILITY, 15 | FITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT. IN NO EVENT SHALL THE 16 | AUTHORS OR COPYRIGHT HOLDERS BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER 17 | LIABILITY, WHETHER IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING FROM, 18 | OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN 19 | THE SOFTWARE. 20 | -------------------------------------------------------------------------------- /PATabbarView.podspec: -------------------------------------------------------------------------------- 1 | Pod::Spec.new do |s| 2 | s.name = "PATabbarView" 3 | s.version = "0.2.4" 4 | s.summary = "Pushable Tabbar Like MacOS Safari" 5 | 6 | s.description = <<-DESC 7 | Pushable Tabbar is like MacOS Safari.You can add subclass of PATabbarPushedView object into PATabbarView. 8 | DESC 9 | 10 | s.homepage = "https://github.com/suterusu/PATabbarView" 11 | s.license = 'MIT' 12 | s.author = { "Inba" => "gyuuuuchan@gmail.com" } 13 | s.source = { :git => "https://github.com/suterusu/PATabbarView.git", :tag => s.version.to_s } 14 | 15 | s.platform = :ios, '10.0' 16 | s.requires_arc = true 17 | 18 | s.source_files = 'Class/*' 19 | s.public_header_files = 'Class/PATabbarView.h','Class/PATabbarPushedView.h' 20 | 21 | 22 | end 23 | -------------------------------------------------------------------------------- /README.md: -------------------------------------------------------------------------------- 1 | # PATabbarView 2 | 3 | [![CI Status](http://img.shields.io/travis/Inba/PATabbarView.svg?style=flat)](https://travis-ci.org/Inba/PATabbarView) 4 | [![Version](https://img.shields.io/cocoapods/v/PATabbarView.svg?style=flat)](http://cocoapods.org/pods/PATabbarView) 5 | [![License](https://img.shields.io/cocoapods/l/PATabbarView.svg?style=flat)](http://cocoapods.org/pods/PATabbarView) 6 | [![Platform](https://img.shields.io/cocoapods/p/PATabbarView.svg?style=flat)](http://cocoapods.org/pods/PATabbarView) 7 | 8 | ![header:YES mid:NO](./SampleImages/sampleGif.gif "header:YES mid:NO") 9 | 10 | ## Usage 11 | If you want to try it, simply run: 12 | 13 | ```ruby 14 | pod try PATabbarView 15 | ``` 16 | 17 | To run the example project, clone the repo, and run `pod install` from the Example directory first. 18 | 19 | ## Installation 20 | 21 | PATabbarView is available through [CocoaPods](http://cocoapods.org). To install 22 | it, simply add the following line to your Podfile: 23 | 24 | ```ruby 25 | pod "PATabbarView" 26 | ``` 27 | 28 | 29 | # How to 30 | 31 | 1.Add PATabbarView To Interface. 32 | 33 | 2.Make PATabbarPushedView,and call addToTailView: in addition to this as an argument 34 | 35 | UINib *nib = [UINib nibWithNibName:@"PATabbarPushedView" bundle:nil]; 36 | PATabbarPushedView *pushedView= [nib instantiateWithOwner:nil options:nil][0]; 37 | [self.tabbarView addToTailView:pushedView]; 38 | 39 | 40 | # Delete pushedView From tabbarView. 41 | If call deleteView:, Argument view is deleted from PATabbarView with delete and reposition animation. 42 | PushedView must be in subview of PATabbarPushedView. 43 | 44 | `[self.tabbarView deleteView:pushedView];` 45 | 46 | 47 | # Reposition pushedView. 48 | If call adjustPositionWithAForcusOnView:,Pushed views reposition With A Forcus On argument view with a animation. 49 | 50 | `[self.tabbarView adjustPositionWithAForcusOnView:centerPushedView];` 51 | 52 | 53 | # Design pushedView 54 | 55 | You can applie autolayout and autosize to PATabbarPushedView obj. 56 | You had better use autolayout with nib.(Possible in other ways! maybe..) 57 | 58 | #Requirements 59 | 60 | ・Xcode 7.0 or greater 61 | 62 | ・iOS8.0 or greater 63 | 64 | ## Author 65 | 66 | Inba, gyuuuuchan@gmail.com 67 | 68 | ## License 69 | 70 | PATabbarView is available under the MIT license. See the LICENSE file for more info. 71 | -------------------------------------------------------------------------------- /SampleImages/sampleGif.gif: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/suterusu/PATabbarView/08a9493e98e5dfafa86666cc56b3336a3c9e17b0/SampleImages/sampleGif.gif -------------------------------------------------------------------------------- /_Pods.xcodeproj: -------------------------------------------------------------------------------- 1 | Example/Pods/Pods.xcodeproj --------------------------------------------------------------------------------