minor change.

This commit is contained in:
Martin Barreto 2015-04-13 14:14:24 -03:00
parent 4860895a0c
commit 2ce2352b38
3 changed files with 3 additions and 4 deletions

View File

@ -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";

View File

@ -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];

View File

@ -24,8 +24,6 @@
// THE SOFTWARE.
#import "XLTwitterPagerTabStripViewController.h"
#import "TableChildExampleViewController.h"
#import "ChildExampleViewController.h"
#import "FXPageControl.h"
@interface XLTwitterPagerTabStripViewController ()