Skip to content
This repository has been archived by the owner on Jan 14, 2021. It is now read-only.

Commit

Permalink
Merge branch '1.5.3-development'
Browse files Browse the repository at this point in the history
* 1.5.3-development:
  Bump podspec version
  Fix `var` parameter deprecation warning
  Fix Missing Framework warning
  • Loading branch information
bahlo committed Mar 24, 2016
2 parents 56d5687 + 53a1ece commit 65a8027
Show file tree
Hide file tree
Showing 3 changed files with 7 additions and 11 deletions.
10 changes: 2 additions & 8 deletions SwiftGif.xcodeproj/project.pbxproj
Original file line number Diff line number Diff line change
Expand Up @@ -344,10 +344,7 @@
isa = XCBuildConfiguration;
buildSettings = {
BUNDLE_LOADER = "$(BUILT_PRODUCTS_DIR)/SwiftGif.app/SwiftGif";
FRAMEWORK_SEARCH_PATHS = (
"$(SDKROOT)/Developer/Library/Frameworks",
"$(inherited)",
);
FRAMEWORK_SEARCH_PATHS = "$(inherited)";
GCC_PREPROCESSOR_DEFINITIONS = (
"DEBUG=1",
"$(inherited)",
Expand All @@ -365,10 +362,7 @@
isa = XCBuildConfiguration;
buildSettings = {
BUNDLE_LOADER = "$(BUILT_PRODUCTS_DIR)/SwiftGif.app/SwiftGif";
FRAMEWORK_SEARCH_PATHS = (
"$(SDKROOT)/Developer/Library/Frameworks",
"$(inherited)",
);
FRAMEWORK_SEARCH_PATHS = "$(inherited)";
INFOPLIST_FILE = SwiftGifTests/Info.plist;
LD_RUNPATH_SEARCH_PATHS = "$(inherited) @executable_path/Frameworks @loader_path/Frameworks";
METAL_ENABLE_DEBUG_INFO = NO;
Expand Down
4 changes: 3 additions & 1 deletion SwiftGifCommon/UIImage+Gif.swift
Original file line number Diff line number Diff line change
Expand Up @@ -84,7 +84,9 @@ extension UIImage {
return delay
}

class func gcdForPair(var a: Int?, var _ b: Int?) -> Int {
class func gcdForPair(a: Int?, _ b: Int?) -> Int {
var a = a
var b = b
// Check if one of them is nil
if b == nil || a == nil {
if b != nil {
Expand Down
4 changes: 2 additions & 2 deletions SwiftGifOrigin.podspec
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
Pod::Spec.new do |s|
s.name = 'SwiftGifOrigin'
s.version = '1.5.2'
s.version = '1.5.3'
s.summary = 'A small UIImage extension with gif support'
s.homepage = 'https://github.com/bahlo/SwiftGif'
s.license = 'MIT'
Expand All @@ -11,7 +11,7 @@ Pod::Spec.new do |s|

s.source = {
git: 'https://github.com/bahlo/SwiftGif.git',
tag: 'v1.5.2'
tag: 'v1.5.3'
}

s.source_files = 'SwiftGifCommon/*.swift'
Expand Down

0 comments on commit 65a8027

Please sign in to comment.