Skip to content

Commit

Permalink
Merge pull request melvitax#32 from patricks/master
Browse files Browse the repository at this point in the history
Added carthage support
  • Loading branch information
melvitax committed May 4, 2016
2 parents 128dfd7 + 081b332 commit 88f2926
Show file tree
Hide file tree
Showing 5 changed files with 277 additions and 8 deletions.
152 changes: 144 additions & 8 deletions AFDateHelper.xcodeproj/project.pbxproj
Original file line number Diff line number Diff line change
Expand Up @@ -12,7 +12,9 @@
65889B781965051C0049740E /* Images.xcassets in Resources */ = {isa = PBXBuildFile; fileRef = 65889B771965051C0049740E /* Images.xcassets */; };
65B75F2D19744D6D000AEFD4 /* Main.storyboard in Resources */ = {isa = PBXBuildFile; fileRef = 65B75F2C19744D6D000AEFD4 /* Main.storyboard */; };
65D016A119771E80005220FB /* AFDateExtension.swift in Sources */ = {isa = PBXBuildFile; fileRef = 65D016A019771E80005220FB /* AFDateExtension.swift */; };
65D86DED1BA0DB3E0081A0F9 /* Launch Screen.storyboard in Resources */ = {isa = PBXBuildFile; fileRef = 65D86DEC1BA0DB3E0081A0F9 /* Launch Screen.storyboard */; settings = {ASSET_TAGS = (); }; };
65D86DED1BA0DB3E0081A0F9 /* Launch Screen.storyboard in Resources */ = {isa = PBXBuildFile; fileRef = 65D86DEC1BA0DB3E0081A0F9 /* Launch Screen.storyboard */; };
CD1B226D1CB62C8400992308 /* AFDateHelper.h in Headers */ = {isa = PBXBuildFile; fileRef = CD1B226C1CB62C8400992308 /* AFDateHelper.h */; settings = {ATTRIBUTES = (Public, ); }; };
CD1B22721CB62D2200992308 /* AFDateExtension.swift in Sources */ = {isa = PBXBuildFile; fileRef = 65D016A019771E80005220FB /* AFDateExtension.swift */; };
/* End PBXBuildFile section */

/* Begin PBXFileReference section */
Expand All @@ -30,6 +32,9 @@
65D016A019771E80005220FB /* AFDateExtension.swift */ = {isa = PBXFileReference; fileEncoding = 4; lastKnownFileType = sourcecode.swift; path = AFDateExtension.swift; sourceTree = "<group>"; };
65D86DEC1BA0DB3E0081A0F9 /* Launch Screen.storyboard */ = {isa = PBXFileReference; fileEncoding = 4; lastKnownFileType = file.storyboard; name = "Launch Screen.storyboard"; path = "Demo/Launch Screen.storyboard"; sourceTree = "<group>"; };
65DE9BBB1B3C639D00F66BEC /* AFDateHelper.podspec */ = {isa = PBXFileReference; fileEncoding = 4; lastKnownFileType = text; path = AFDateHelper.podspec; sourceTree = "<group>"; };
CD1B226A1CB62C8400992308 /* AFDateHelper.framework */ = {isa = PBXFileReference; explicitFileType = wrapper.framework; includeInIndex = 0; path = AFDateHelper.framework; sourceTree = BUILT_PRODUCTS_DIR; };
CD1B226C1CB62C8400992308 /* AFDateHelper.h */ = {isa = PBXFileReference; lastKnownFileType = sourcecode.c.h; path = AFDateHelper.h; sourceTree = "<group>"; };
CD1B226E1CB62C8400992308 /* Info.plist */ = {isa = PBXFileReference; lastKnownFileType = text.plist.xml; path = Info.plist; sourceTree = "<group>"; };
/* End PBXFileReference section */

/* Begin PBXFrameworksBuildPhase section */
Expand All @@ -40,6 +45,13 @@
);
runOnlyForDeploymentPostprocessing = 0;
};
CD1B22661CB62C8400992308 /* Frameworks */ = {
isa = PBXFrameworksBuildPhase;
buildActionMask = 2147483647;
files = (
);
runOnlyForDeploymentPostprocessing = 0;
};
/* End PBXFrameworksBuildPhase section */

/* Begin PBXGroup section */
Expand All @@ -55,6 +67,7 @@
65889B6F1965051C0049740E /* Info.plist */,
65DE9BBB1B3C639D00F66BEC /* AFDateHelper.podspec */,
65B7EA75197082AA0097E598 /* README.md */,
CD1B226B1CB62C8400992308 /* AFDateHelper */,
655AEB41192D42990053AD6C /* Frameworks */,
655AEB40192D42990053AD6C /* Products */,
);
Expand All @@ -64,6 +77,7 @@
isa = PBXGroup;
children = (
65889B6C1965051C0049740E /* AFDateHelper.app */,
CD1B226A1CB62C8400992308 /* AFDateHelper.framework */,
);
name = Products;
sourceTree = "<group>";
Expand All @@ -87,12 +101,32 @@
path = AFDateHelper;
sourceTree = "<group>";
};
CD1B226B1CB62C8400992308 /* AFDateHelper */ = {
isa = PBXGroup;
children = (
CD1B226C1CB62C8400992308 /* AFDateHelper.h */,
CD1B226E1CB62C8400992308 /* Info.plist */,
);
path = AFDateHelper;
sourceTree = "<group>";
};
/* End PBXGroup section */

/* Begin PBXHeadersBuildPhase section */
CD1B22671CB62C8400992308 /* Headers */ = {
isa = PBXHeadersBuildPhase;
buildActionMask = 2147483647;
files = (
CD1B226D1CB62C8400992308 /* AFDateHelper.h in Headers */,
);
runOnlyForDeploymentPostprocessing = 0;
};
/* End PBXHeadersBuildPhase section */

/* Begin PBXNativeTarget section */
65889B6B1965051C0049740E /* AFDateHelper */ = {
65889B6B1965051C0049740E /* AFDateHelperDemo */ = {
isa = PBXNativeTarget;
buildConfigurationList = 65889B891965051C0049740E /* Build configuration list for PBXNativeTarget "AFDateHelper" */;
buildConfigurationList = 65889B891965051C0049740E /* Build configuration list for PBXNativeTarget "AFDateHelperDemo" */;
buildPhases = (
65889B681965051C0049740E /* Sources */,
65889B691965051C0049740E /* Frameworks */,
Expand All @@ -102,11 +136,29 @@
);
dependencies = (
);
name = AFDateHelper;
name = AFDateHelperDemo;
productName = "Swift Demo UIView+AF+Additions";
productReference = 65889B6C1965051C0049740E /* AFDateHelper.app */;
productType = "com.apple.product-type.application";
};
CD1B22691CB62C8400992308 /* AFDateHelper */ = {
isa = PBXNativeTarget;
buildConfigurationList = CD1B226F1CB62C8400992308 /* Build configuration list for PBXNativeTarget "AFDateHelper" */;
buildPhases = (
CD1B22651CB62C8400992308 /* Sources */,
CD1B22661CB62C8400992308 /* Frameworks */,
CD1B22671CB62C8400992308 /* Headers */,
CD1B22681CB62C8400992308 /* Resources */,
);
buildRules = (
);
dependencies = (
);
name = AFDateHelper;
productName = AFDateHelper;
productReference = CD1B226A1CB62C8400992308 /* AFDateHelper.framework */;
productType = "com.apple.product-type.framework";
};
/* End PBXNativeTarget section */

/* Begin PBXProject section */
Expand All @@ -121,6 +173,9 @@
CreatedOnToolsVersion = 6.0;
DevelopmentTeam = ERA9S8SPNY;
};
CD1B22691CB62C8400992308 = {
CreatedOnToolsVersion = 7.3;
};
};
};
buildConfigurationList = 655AEB3A192D42990053AD6C /* Build configuration list for PBXProject "AFDateHelper" */;
Expand All @@ -136,7 +191,8 @@
projectDirPath = "";
projectRoot = "";
targets = (
65889B6B1965051C0049740E /* AFDateHelper */,
65889B6B1965051C0049740E /* AFDateHelperDemo */,
CD1B22691CB62C8400992308 /* AFDateHelper */,
);
};
/* End PBXProject section */
Expand All @@ -152,6 +208,13 @@
);
runOnlyForDeploymentPostprocessing = 0;
};
CD1B22681CB62C8400992308 /* Resources */ = {
isa = PBXResourcesBuildPhase;
buildActionMask = 2147483647;
files = (
);
runOnlyForDeploymentPostprocessing = 0;
};
/* End PBXResourcesBuildPhase section */

/* Begin PBXSourcesBuildPhase section */
Expand All @@ -165,6 +228,14 @@
);
runOnlyForDeploymentPostprocessing = 0;
};
CD1B22651CB62C8400992308 /* Sources */ = {
isa = PBXSourcesBuildPhase;
buildActionMask = 2147483647;
files = (
CD1B22721CB62D2200992308 /* AFDateExtension.swift in Sources */,
);
runOnlyForDeploymentPostprocessing = 0;
};
/* End PBXSourcesBuildPhase section */

/* Begin XCBuildConfiguration section */
Expand Down Expand Up @@ -257,7 +328,7 @@
IPHONEOS_DEPLOYMENT_TARGET = 8.0;
LD_RUNPATH_SEARCH_PATHS = "$(inherited) @executable_path/Frameworks";
METAL_ENABLE_DEBUG_INFO = YES;
PRODUCT_BUNDLE_IDENTIFIER = "com.allforces.$(PRODUCT_NAME:rfc1034identifier)";
PRODUCT_BUNDLE_IDENTIFIER = com.allforces.AFDateHelperDemo;
PRODUCT_NAME = AFDateHelper;
SWIFT_OPTIMIZATION_LEVEL = "-Onone";
TARGETED_DEVICE_FAMILY = "1,2";
Expand All @@ -276,12 +347,68 @@
IPHONEOS_DEPLOYMENT_TARGET = 8.0;
LD_RUNPATH_SEARCH_PATHS = "$(inherited) @executable_path/Frameworks";
METAL_ENABLE_DEBUG_INFO = NO;
PRODUCT_BUNDLE_IDENTIFIER = "com.allforces.$(PRODUCT_NAME:rfc1034identifier)";
PRODUCT_BUNDLE_IDENTIFIER = com.allforces.AFDateHelperDemo;
PRODUCT_NAME = AFDateHelper;
TARGETED_DEVICE_FAMILY = "1,2";
};
name = Release;
};
CD1B22701CB62C8400992308 /* Debug */ = {
isa = XCBuildConfiguration;
buildSettings = {
APPLICATION_EXTENSION_API_ONLY = YES;
CLANG_ANALYZER_NONNULL = YES;
CLANG_WARN_UNREACHABLE_CODE = YES;
CURRENT_PROJECT_VERSION = 1;
DEBUG_INFORMATION_FORMAT = dwarf;
DEFINES_MODULE = YES;
DYLIB_COMPATIBILITY_VERSION = 1;
DYLIB_CURRENT_VERSION = 1;
DYLIB_INSTALL_NAME_BASE = "@rpath";
ENABLE_STRICT_OBJC_MSGSEND = YES;
GCC_NO_COMMON_BLOCKS = YES;
INFOPLIST_FILE = AFDateHelper/Info.plist;
INSTALL_PATH = "$(LOCAL_LIBRARY_DIR)/Frameworks";
IPHONEOS_DEPLOYMENT_TARGET = 9.3;
LD_RUNPATH_SEARCH_PATHS = "$(inherited) @executable_path/Frameworks @loader_path/Frameworks";
MTL_ENABLE_DEBUG_INFO = YES;
PRODUCT_BUNDLE_IDENTIFIER = com.allforces.AFDateHelper;
PRODUCT_NAME = "$(TARGET_NAME)";
SKIP_INSTALL = YES;
SWIFT_OPTIMIZATION_LEVEL = "-Onone";
VERSIONING_SYSTEM = "apple-generic";
VERSION_INFO_PREFIX = "";
};
name = Debug;
};
CD1B22711CB62C8400992308 /* Release */ = {
isa = XCBuildConfiguration;
buildSettings = {
APPLICATION_EXTENSION_API_ONLY = YES;
CLANG_ANALYZER_NONNULL = YES;
CLANG_WARN_UNREACHABLE_CODE = YES;
COPY_PHASE_STRIP = NO;
CURRENT_PROJECT_VERSION = 1;
DEBUG_INFORMATION_FORMAT = "dwarf-with-dsym";
DEFINES_MODULE = YES;
DYLIB_COMPATIBILITY_VERSION = 1;
DYLIB_CURRENT_VERSION = 1;
DYLIB_INSTALL_NAME_BASE = "@rpath";
ENABLE_STRICT_OBJC_MSGSEND = YES;
GCC_NO_COMMON_BLOCKS = YES;
INFOPLIST_FILE = AFDateHelper/Info.plist;
INSTALL_PATH = "$(LOCAL_LIBRARY_DIR)/Frameworks";
IPHONEOS_DEPLOYMENT_TARGET = 9.3;
LD_RUNPATH_SEARCH_PATHS = "$(inherited) @executable_path/Frameworks @loader_path/Frameworks";
MTL_ENABLE_DEBUG_INFO = NO;
PRODUCT_BUNDLE_IDENTIFIER = com.allforces.AFDateHelper;
PRODUCT_NAME = "$(TARGET_NAME)";
SKIP_INSTALL = YES;
VERSIONING_SYSTEM = "apple-generic";
VERSION_INFO_PREFIX = "";
};
name = Release;
};
/* End XCBuildConfiguration section */

/* Begin XCConfigurationList section */
Expand All @@ -294,7 +421,7 @@
defaultConfigurationIsVisible = 0;
defaultConfigurationName = Release;
};
65889B891965051C0049740E /* Build configuration list for PBXNativeTarget "AFDateHelper" */ = {
65889B891965051C0049740E /* Build configuration list for PBXNativeTarget "AFDateHelperDemo" */ = {
isa = XCConfigurationList;
buildConfigurations = (
65889B851965051C0049740E /* Debug */,
Expand All @@ -303,6 +430,15 @@
defaultConfigurationIsVisible = 0;
defaultConfigurationName = Release;
};
CD1B226F1CB62C8400992308 /* Build configuration list for PBXNativeTarget "AFDateHelper" */ = {
isa = XCConfigurationList;
buildConfigurations = (
CD1B22701CB62C8400992308 /* Debug */,
CD1B22711CB62C8400992308 /* Release */,
);
defaultConfigurationIsVisible = 0;
defaultConfigurationName = Release;
};
/* End XCConfigurationList section */
};
rootObject = 655AEB37192D42990053AD6C /* Project object */;
Expand Down
Original file line number Diff line number Diff line change
@@ -0,0 +1,80 @@
<?xml version="1.0" encoding="UTF-8"?>
<Scheme
LastUpgradeVersion = "0730"
version = "1.3">
<BuildAction
parallelizeBuildables = "YES"
buildImplicitDependencies = "YES">
<BuildActionEntries>
<BuildActionEntry
buildForTesting = "YES"
buildForRunning = "YES"
buildForProfiling = "YES"
buildForArchiving = "YES"
buildForAnalyzing = "YES">
<BuildableReference
BuildableIdentifier = "primary"
BlueprintIdentifier = "CD1B22691CB62C8400992308"
BuildableName = "AFDateHelper.framework"
BlueprintName = "AFDateHelper"
ReferencedContainer = "container:AFDateHelper.xcodeproj">
</BuildableReference>
</BuildActionEntry>
</BuildActionEntries>
</BuildAction>
<TestAction
buildConfiguration = "Debug"
selectedDebuggerIdentifier = "Xcode.DebuggerFoundation.Debugger.LLDB"
selectedLauncherIdentifier = "Xcode.DebuggerFoundation.Launcher.LLDB"
shouldUseLaunchSchemeArgsEnv = "YES">
<Testables>
</Testables>
<AdditionalOptions>
</AdditionalOptions>
</TestAction>
<LaunchAction
buildConfiguration = "Debug"
selectedDebuggerIdentifier = "Xcode.DebuggerFoundation.Debugger.LLDB"
selectedLauncherIdentifier = "Xcode.DebuggerFoundation.Launcher.LLDB"
launchStyle = "0"
useCustomWorkingDirectory = "NO"
ignoresPersistentStateOnLaunch = "NO"
debugDocumentVersioning = "YES"
debugServiceExtension = "internal"
allowLocationSimulation = "YES">
<MacroExpansion>
<BuildableReference
BuildableIdentifier = "primary"
BlueprintIdentifier = "CD1B22691CB62C8400992308"
BuildableName = "AFDateHelper.framework"
BlueprintName = "AFDateHelper"
ReferencedContainer = "container:AFDateHelper.xcodeproj">
</BuildableReference>
</MacroExpansion>
<AdditionalOptions>
</AdditionalOptions>
</LaunchAction>
<ProfileAction
buildConfiguration = "Release"
shouldUseLaunchSchemeArgsEnv = "YES"
savedToolIdentifier = ""
useCustomWorkingDirectory = "NO"
debugDocumentVersioning = "YES">
<MacroExpansion>
<BuildableReference
BuildableIdentifier = "primary"
BlueprintIdentifier = "CD1B22691CB62C8400992308"
BuildableName = "AFDateHelper.framework"
BlueprintName = "AFDateHelper"
ReferencedContainer = "container:AFDateHelper.xcodeproj">
</BuildableReference>
</MacroExpansion>
</ProfileAction>
<AnalyzeAction
buildConfiguration = "Debug">
</AnalyzeAction>
<ArchiveAction
buildConfiguration = "Release"
revealArchiveInOrganizer = "YES">
</ArchiveAction>
</Scheme>
19 changes: 19 additions & 0 deletions AFDateHelper/AFDateHelper.h
Original file line number Diff line number Diff line change
@@ -0,0 +1,19 @@
//
// AFDateHelper.h
// AFDateHelper
//
// Created by Patrick Steiner on 07.04.16.
// Copyright © 2016 All Forces. All rights reserved.
//

#import <UIKit/UIKit.h>

//! Project version number for AFDateHelper.
FOUNDATION_EXPORT double AFDateHelperVersionNumber;

//! Project version string for AFDateHelper.
FOUNDATION_EXPORT const unsigned char AFDateHelperVersionString[];

// In this header, you should import all the public headers of your framework using statements like #import <AFDateHelper/PublicHeader.h>


26 changes: 26 additions & 0 deletions AFDateHelper/Info.plist
Original file line number Diff line number Diff line change
@@ -0,0 +1,26 @@
<?xml version="1.0" encoding="UTF-8"?>
<!DOCTYPE plist PUBLIC "-//Apple//DTD PLIST 1.0//EN" "http://www.apple.com/DTDs/PropertyList-1.0.dtd">
<plist version="1.0">
<dict>
<key>CFBundleDevelopmentRegion</key>
<string>en</string>
<key>CFBundleExecutable</key>
<string>$(EXECUTABLE_NAME)</string>
<key>CFBundleIdentifier</key>
<string>$(PRODUCT_BUNDLE_IDENTIFIER)</string>
<key>CFBundleInfoDictionaryVersion</key>
<string>6.0</string>
<key>CFBundleName</key>
<string>$(PRODUCT_NAME)</string>
<key>CFBundlePackageType</key>
<string>FMWK</string>
<key>CFBundleShortVersionString</key>
<string>1.0</string>
<key>CFBundleSignature</key>
<string>????</string>
<key>CFBundleVersion</key>
<string>$(CURRENT_PROJECT_VERSION)</string>
<key>NSPrincipalClass</key>
<string></string>
</dict>
</plist>
Loading

0 comments on commit 88f2926

Please sign in to comment.