From 2ce2352b383dfa2cb36cf2b73dee9593e5bd5deb Mon Sep 17 00:00:00 2001 From: Martin Barreto Date: Mon, 13 Apr 2015 14:14:24 -0300 Subject: [PATCH] minor change. --- XLPagerTabStrip.xcodeproj/project.pbxproj | 3 ++- XLPagerTabStrip/XL/Controllers/XLPagerTabStripViewController.m | 2 +- .../XL/Controllers/XLTwitterPagerTabStripViewController.m | 2 -- 3 files changed, 3 insertions(+), 4 deletions(-) diff --git a/XLPagerTabStrip.xcodeproj/project.pbxproj b/XLPagerTabStrip.xcodeproj/project.pbxproj index 867394f..3954244 100644 --- a/XLPagerTabStrip.xcodeproj/project.pbxproj +++ b/XLPagerTabStrip.xcodeproj/project.pbxproj @@ -318,7 +318,6 @@ TargetAttributes = { 28B63A851A459F5900225C66 = { CreatedOnToolsVersion = 6.1.1; - DevelopmentTeam = 6F2G55XL63; }; 28B63A9E1A459F5900225C66 = { CreatedOnToolsVersion = 6.1.1; @@ -493,6 +492,7 @@ buildSettings = { ASSETCATALOG_COMPILER_APPICON_NAME = AppIcon; ASSETCATALOG_COMPILER_LAUNCHIMAGE_NAME = LaunchImage; + CODE_SIGN_IDENTITY = "iPhone Developer"; INFOPLIST_FILE = XLPagerTabStrip/Info.plist; IPHONEOS_DEPLOYMENT_TARGET = 7.1; LD_RUNPATH_SEARCH_PATHS = "$(inherited) @executable_path/Frameworks"; @@ -505,6 +505,7 @@ buildSettings = { ASSETCATALOG_COMPILER_APPICON_NAME = AppIcon; ASSETCATALOG_COMPILER_LAUNCHIMAGE_NAME = LaunchImage; + CODE_SIGN_IDENTITY = "iPhone Developer"; INFOPLIST_FILE = XLPagerTabStrip/Info.plist; IPHONEOS_DEPLOYMENT_TARGET = 7.1; LD_RUNPATH_SEARCH_PATHS = "$(inherited) @executable_path/Frameworks"; diff --git a/XLPagerTabStrip/XL/Controllers/XLPagerTabStripViewController.m b/XLPagerTabStrip/XL/Controllers/XLPagerTabStripViewController.m index 96f40a3..a0d590e 100644 --- a/XLPagerTabStrip/XL/Controllers/XLPagerTabStripViewController.m +++ b/XLPagerTabStrip/XL/Controllers/XLPagerTabStripViewController.m @@ -136,7 +136,7 @@ self.currentIndex = index; } else{ - if (self.skipIntermediateViewControllers && fabs(self.currentIndex - index) > 1){ + if (self.skipIntermediateViewControllers && ABS(self.currentIndex - index) > 1){ NSArray * originalPagerTabStripChildViewControllers = self.pagerTabStripChildViewControllers; NSMutableArray * tempChildViewControllers = [NSMutableArray arrayWithArray:originalPagerTabStripChildViewControllers]; UIViewController * currentChildVC = [originalPagerTabStripChildViewControllers objectAtIndex:self.currentIndex]; diff --git a/XLPagerTabStrip/XL/Controllers/XLTwitterPagerTabStripViewController.m b/XLPagerTabStrip/XL/Controllers/XLTwitterPagerTabStripViewController.m index 080b33a..ff9373b 100644 --- a/XLPagerTabStrip/XL/Controllers/XLTwitterPagerTabStripViewController.m +++ b/XLPagerTabStrip/XL/Controllers/XLTwitterPagerTabStripViewController.m @@ -24,8 +24,6 @@ // THE SOFTWARE. #import "XLTwitterPagerTabStripViewController.h" -#import "TableChildExampleViewController.h" -#import "ChildExampleViewController.h" #import "FXPageControl.h" @interface XLTwitterPagerTabStripViewController ()