Skip to content

Commit

Permalink
Merge pull request #26 from hansemannn/build-with-6_0_1_GA
Browse files Browse the repository at this point in the history
iOS: Build with 6.0.1.GA
  • Loading branch information
hansemannn authored Jan 15, 2017
2 parents 245236c + 4cd5fa9 commit 9ebe4dc
Show file tree
Hide file tree
Showing 6 changed files with 16 additions and 8 deletions.
5 changes: 5 additions & 0 deletions .gitignore
Original file line number Diff line number Diff line change
Expand Up @@ -3,3 +3,8 @@ android/build.properties
android/build/
android/dist/
android/libs/
/ios/imagefactory.xcodeproj/project.xcworkspace
/ios/imagefactory.xcodeproj/xcuserdata
/ios/build
/ios/Classes/TiImagefactoryModuleAssets.m
/ios/metadata.json
7 changes: 4 additions & 3 deletions ios/Classes/TiImagefactoryModule.m
Original file line number Diff line number Diff line change
Expand Up @@ -106,9 +106,10 @@ +(UIImage*)imageTransform:(TransformType)type image:(UIImage*)image withArgs:(id
return [TiImageFactory imageTransparentBorder:image withArgs:args];
case kTransformAlpha:
return [TiImageFactory imageAlpha:image withArgs:args];
}

return image;
case kTransformNone:
default:
return image;
}
}

+(id)imageTransform:(TransformType)type withArgs:(id)args
Expand Down
2 changes: 1 addition & 1 deletion ios/Classes/UIImage/TiUIImage+Resize.m
Original file line number Diff line number Diff line change
Expand Up @@ -210,7 +210,7 @@ + (UIImage *)resizedImageWithContentMode:(UIViewContentMode)contentMode
break;

default:
[NSException raise:NSInvalidArgumentException format:@"Unsupported content mode: %d", contentMode];
[NSException raise:NSInvalidArgumentException format:@"Unsupported content mode: %ld", (long)contentMode];
}

CGSize newSize = CGSizeMake(image.size.width * ratio, image.size.height * ratio);
Expand Down
2 changes: 2 additions & 0 deletions ios/imagefactory.xcodeproj/project.pbxproj
Original file line number Diff line number Diff line change
Expand Up @@ -287,6 +287,7 @@
RUN_CLANG_STATIC_ANALYZER = NO;
SDKROOT = iphoneos;
USER_HEADER_SEARCH_PATHS = "";
VALID_ARCHS = "$(ARCHS_STANDARD)";
};
name = Debug;
};
Expand Down Expand Up @@ -325,6 +326,7 @@
RUN_CLANG_STATIC_ANALYZER = NO;
SDKROOT = iphoneos;
USER_HEADER_SEARCH_PATHS = "";
VALID_ARCHS = "$(ARCHS_STANDARD)";
};
name = Release;
};
Expand Down
6 changes: 3 additions & 3 deletions ios/manifest
Original file line number Diff line number Diff line change
Expand Up @@ -2,18 +2,18 @@
# this is your module manifest and used by Titanium
# during compilation, packaging, distribution, etc.
#
version: 1.2.0
version: 1.2.1
apiversion: 2
architectures: armv7 i386 x86_64 arm64
description: Image Factory
author: Jeff English
license: Apache License, Version 2.0
copyright: Copyright (c) 2013-2014 by Appcelerator, Inc.
copyright: Copyright (c) 2013-2017 by Appcelerator, Inc.


# these should not be edited
name: imagefactory
moduleid: ti.imagefactory
guid: 0aab25d7-0486-40ab-94a3-ed4f9a293414
platform: iphone
minsdk: 3.4.1.GA
minsdk: 5.0.0.GA
2 changes: 1 addition & 1 deletion ios/titanium.xcconfig
Original file line number Diff line number Diff line change
Expand Up @@ -4,7 +4,7 @@
// OF YOUR TITANIUM SDK YOU'RE BUILDING FOR
//
//
TITANIUM_SDK_VERSION = 3.4.1.GA
TITANIUM_SDK_VERSION = 6.0.1.GA


//
Expand Down

0 comments on commit 9ebe4dc

Please sign in to comment.