Skip to content

Commit

Permalink
Add SWPM support
Browse files Browse the repository at this point in the history
  • Loading branch information
yaroslav-zhurakovskiy committed Dec 9, 2019
1 parent cabb289 commit a1fefc5
Show file tree
Hide file tree
Showing 159 changed files with 1,622 additions and 1,072 deletions.
3 changes: 1 addition & 2 deletions BAFluidView.podspec
Original file line number Diff line number Diff line change
Expand Up @@ -15,8 +15,7 @@ Pod::Spec.new do |s|
s.requires_arc = true
s.social_media_url = 'https://twitter.com/brantigua'

s.source_files = 'Pod/Classes'
s.source_files = 'Sources/BAFluidView/**/*.{h,m}'

s.public_header_files = 'Pod/Classes/**/*.h'
s.frameworks = 'UIKit'
end
74 changes: 52 additions & 22 deletions BAFluidView.xcodeproj/project.pbxproj
Original file line number Diff line number Diff line change
Expand Up @@ -8,20 +8,22 @@

/* Begin PBXBuildFile section */
659E9E001B58E7E70029FE32 /* BAFluidView.h in Headers */ = {isa = PBXBuildFile; fileRef = 659E9DFF1B58E7E70029FE32 /* BAFluidView.h */; settings = {ATTRIBUTES = (Public, ); }; };
659E9E421B58E8ED0029FE32 /* BAFluidView.h in Headers */ = {isa = PBXBuildFile; fileRef = 659E9E3E1B58E8ED0029FE32 /* BAFluidView.h */; settings = {ATTRIBUTES = (Public, ); }; };
659E9E431B58E8ED0029FE32 /* BAFluidView.m in Sources */ = {isa = PBXBuildFile; fileRef = 659E9E3F1B58E8ED0029FE32 /* BAFluidView.m */; };
659E9E441B58E8ED0029FE32 /* UIColor+ColorWithHex.h in Headers */ = {isa = PBXBuildFile; fileRef = 659E9E401B58E8ED0029FE32 /* UIColor+ColorWithHex.h */; };
659E9E451B58E8ED0029FE32 /* UIColor+ColorWithHex.m in Sources */ = {isa = PBXBuildFile; fileRef = 659E9E411B58E8ED0029FE32 /* UIColor+ColorWithHex.m */; };
C47CB2D2239E97A700994658 /* UIColor+ColorWithHex.m in Sources */ = {isa = PBXBuildFile; fileRef = C47CB2CC239E97A700994658 /* UIColor+ColorWithHex.m */; };
C47CB2D3239E97A700994658 /* BAFluidView.m in Sources */ = {isa = PBXBuildFile; fileRef = C47CB2CD239E97A700994658 /* BAFluidView.m */; };
C47CB2D4239E97A700994658 /* UIColor+ColorWithHex.h in Headers */ = {isa = PBXBuildFile; fileRef = C47CB2CF239E97A700994658 /* UIColor+ColorWithHex.h */; };
C47CB2D5239E97A700994658 /* Constants.h in Headers */ = {isa = PBXBuildFile; fileRef = C47CB2D0239E97A700994658 /* Constants.h */; };
C47CB2D8239E988600994658 /* BAFluidView.h in Headers */ = {isa = PBXBuildFile; fileRef = C47CB2D7239E988600994658 /* BAFluidView.h */; };
/* End PBXBuildFile section */

/* Begin PBXFileReference section */
659E9DFA1B58E7E70029FE32 /* BAFluidView.framework */ = {isa = PBXFileReference; explicitFileType = wrapper.framework; includeInIndex = 0; path = BAFluidView.framework; sourceTree = BUILT_PRODUCTS_DIR; };
659E9DFE1B58E7E70029FE32 /* Info.plist */ = {isa = PBXFileReference; lastKnownFileType = text.plist.xml; path = Info.plist; sourceTree = "<group>"; };
659E9DFF1B58E7E70029FE32 /* BAFluidView.h */ = {isa = PBXFileReference; lastKnownFileType = sourcecode.c.h; path = BAFluidView.h; sourceTree = "<group>"; };
659E9E3E1B58E8ED0029FE32 /* BAFluidView.h */ = {isa = PBXFileReference; fileEncoding = 4; lastKnownFileType = sourcecode.c.h; name = BAFluidView.h; path = Pod/Classes/BAFluidView.h; sourceTree = SOURCE_ROOT; };
659E9E3F1B58E8ED0029FE32 /* BAFluidView.m */ = {isa = PBXFileReference; fileEncoding = 4; lastKnownFileType = sourcecode.c.objc; name = BAFluidView.m; path = Pod/Classes/BAFluidView.m; sourceTree = SOURCE_ROOT; };
659E9E401B58E8ED0029FE32 /* UIColor+ColorWithHex.h */ = {isa = PBXFileReference; fileEncoding = 4; lastKnownFileType = sourcecode.c.h; name = "UIColor+ColorWithHex.h"; path = "Pod/Classes/UIColor+ColorWithHex.h"; sourceTree = SOURCE_ROOT; };
659E9E411B58E8ED0029FE32 /* UIColor+ColorWithHex.m */ = {isa = PBXFileReference; fileEncoding = 4; lastKnownFileType = sourcecode.c.objc; name = "UIColor+ColorWithHex.m"; path = "Pod/Classes/UIColor+ColorWithHex.m"; sourceTree = SOURCE_ROOT; };
C47CB2CC239E97A700994658 /* UIColor+ColorWithHex.m */ = {isa = PBXFileReference; fileEncoding = 4; lastKnownFileType = sourcecode.c.objc; name = "UIColor+ColorWithHex.m"; path = "Sources/BAFluidView/UIColor+ColorWithHex.m"; sourceTree = SOURCE_ROOT; };
C47CB2CD239E97A700994658 /* BAFluidView.m */ = {isa = PBXFileReference; fileEncoding = 4; lastKnownFileType = sourcecode.c.objc; name = BAFluidView.m; path = Sources/BAFluidView/BAFluidView.m; sourceTree = SOURCE_ROOT; };
C47CB2CF239E97A700994658 /* UIColor+ColorWithHex.h */ = {isa = PBXFileReference; fileEncoding = 4; lastKnownFileType = sourcecode.c.h; path = "UIColor+ColorWithHex.h"; sourceTree = "<group>"; };
C47CB2D0239E97A700994658 /* Constants.h */ = {isa = PBXFileReference; fileEncoding = 4; lastKnownFileType = sourcecode.c.h; path = Constants.h; sourceTree = "<group>"; };
C47CB2D7239E988600994658 /* BAFluidView.h */ = {isa = PBXFileReference; fileEncoding = 4; lastKnownFileType = sourcecode.c.h; path = BAFluidView.h; sourceTree = "<group>"; };
/* End PBXFileReference section */

/* Begin PBXFrameworksBuildPhase section */
Expand Down Expand Up @@ -54,8 +56,10 @@
659E9DFC1B58E7E70029FE32 /* BAFluidView */ = {
isa = PBXGroup;
children = (
659E9E171B58E8050029FE32 /* BAFluidView */,
659E9DFF1B58E7E70029FE32 /* BAFluidView.h */,
C47CB2CE239E97A700994658 /* include */,
C47CB2CD239E97A700994658 /* BAFluidView.m */,
C47CB2CC239E97A700994658 /* UIColor+ColorWithHex.m */,
659E9DFD1B58E7E70029FE32 /* Supporting Files */,
);
path = BAFluidView;
Expand All @@ -69,17 +73,16 @@
name = "Supporting Files";
sourceTree = "<group>";
};
659E9E171B58E8050029FE32 /* BAFluidView */ = {
C47CB2CE239E97A700994658 /* include */ = {
isa = PBXGroup;
children = (
659E9E3E1B58E8ED0029FE32 /* BAFluidView.h */,
659E9E3F1B58E8ED0029FE32 /* BAFluidView.m */,
659E9E401B58E8ED0029FE32 /* UIColor+ColorWithHex.h */,
659E9E411B58E8ED0029FE32 /* UIColor+ColorWithHex.m */,
C47CB2D7239E988600994658 /* BAFluidView.h */,
C47CB2CF239E97A700994658 /* UIColor+ColorWithHex.h */,
C47CB2D0239E97A700994658 /* Constants.h */,
);
name = BAFluidView;
path = ../../../code/BAFluidView/Example/BAFluidView;
sourceTree = "<group>";
name = include;
path = Sources/BAFluidView/include;
sourceTree = SOURCE_ROOT;
};
/* End PBXGroup section */

Expand All @@ -88,9 +91,10 @@
isa = PBXHeadersBuildPhase;
buildActionMask = 2147483647;
files = (
C47CB2D4239E97A700994658 /* UIColor+ColorWithHex.h in Headers */,
C47CB2D8239E988600994658 /* BAFluidView.h in Headers */,
659E9E001B58E7E70029FE32 /* BAFluidView.h in Headers */,
659E9E421B58E8ED0029FE32 /* BAFluidView.h in Headers */,
659E9E441B58E8ED0029FE32 /* UIColor+ColorWithHex.h in Headers */,
C47CB2D5239E97A700994658 /* Constants.h in Headers */,
);
runOnlyForDeploymentPostprocessing = 0;
};
Expand Down Expand Up @@ -121,7 +125,7 @@
659E9DF11B58E7E60029FE32 /* Project object */ = {
isa = PBXProject;
attributes = {
LastUpgradeCheck = 0640;
LastUpgradeCheck = 1120;
ORGANIZATIONNAME = "Bryan Antigua";
TargetAttributes = {
659E9DF91B58E7E70029FE32 = {
Expand All @@ -134,6 +138,7 @@
developmentRegion = English;
hasScannedForEncodings = 0;
knownRegions = (
English,
en,
Base,
);
Expand Down Expand Up @@ -162,8 +167,8 @@
isa = PBXSourcesBuildPhase;
buildActionMask = 2147483647;
files = (
659E9E431B58E8ED0029FE32 /* BAFluidView.m in Sources */,
659E9E451B58E8ED0029FE32 /* UIColor+ColorWithHex.m in Sources */,
C47CB2D3239E97A700994658 /* BAFluidView.m in Sources */,
C47CB2D2239E97A700994658 /* UIColor+ColorWithHex.m in Sources */,
);
runOnlyForDeploymentPostprocessing = 0;
};
Expand All @@ -174,24 +179,36 @@
isa = XCBuildConfiguration;
buildSettings = {
ALWAYS_SEARCH_USER_PATHS = NO;
CLANG_ANALYZER_LOCALIZABILITY_NONLOCALIZED = YES;
CLANG_CXX_LANGUAGE_STANDARD = "gnu++0x";
CLANG_CXX_LIBRARY = "libc++";
CLANG_ENABLE_MODULES = YES;
CLANG_ENABLE_OBJC_ARC = YES;
CLANG_WARN_BLOCK_CAPTURE_AUTORELEASING = YES;
CLANG_WARN_BOOL_CONVERSION = YES;
CLANG_WARN_COMMA = YES;
CLANG_WARN_CONSTANT_CONVERSION = YES;
CLANG_WARN_DEPRECATED_OBJC_IMPLEMENTATIONS = YES;
CLANG_WARN_DIRECT_OBJC_ISA_USAGE = YES_ERROR;
CLANG_WARN_EMPTY_BODY = YES;
CLANG_WARN_ENUM_CONVERSION = YES;
CLANG_WARN_INFINITE_RECURSION = YES;
CLANG_WARN_INT_CONVERSION = YES;
CLANG_WARN_NON_LITERAL_NULL_CONVERSION = YES;
CLANG_WARN_OBJC_IMPLICIT_RETAIN_SELF = YES;
CLANG_WARN_OBJC_LITERAL_CONVERSION = YES;
CLANG_WARN_OBJC_ROOT_CLASS = YES_ERROR;
CLANG_WARN_RANGE_LOOP_ANALYSIS = YES;
CLANG_WARN_STRICT_PROTOTYPES = YES;
CLANG_WARN_SUSPICIOUS_MOVE = YES;
CLANG_WARN_UNREACHABLE_CODE = YES;
CLANG_WARN__DUPLICATE_METHOD_MATCH = YES;
"CODE_SIGN_IDENTITY[sdk=iphoneos*]" = "iPhone Developer";
COPY_PHASE_STRIP = NO;
CURRENT_PROJECT_VERSION = 1;
DEBUG_INFORMATION_FORMAT = "dwarf-with-dsym";
ENABLE_STRICT_OBJC_MSGSEND = YES;
ENABLE_TESTABILITY = YES;
GCC_C_LANGUAGE_STANDARD = gnu99;
GCC_DYNAMIC_NO_PIC = NO;
GCC_NO_COMMON_BLOCKS = YES;
Expand Down Expand Up @@ -221,17 +238,28 @@
isa = XCBuildConfiguration;
buildSettings = {
ALWAYS_SEARCH_USER_PATHS = NO;
CLANG_ANALYZER_LOCALIZABILITY_NONLOCALIZED = YES;
CLANG_CXX_LANGUAGE_STANDARD = "gnu++0x";
CLANG_CXX_LIBRARY = "libc++";
CLANG_ENABLE_MODULES = YES;
CLANG_ENABLE_OBJC_ARC = YES;
CLANG_WARN_BLOCK_CAPTURE_AUTORELEASING = YES;
CLANG_WARN_BOOL_CONVERSION = YES;
CLANG_WARN_COMMA = YES;
CLANG_WARN_CONSTANT_CONVERSION = YES;
CLANG_WARN_DEPRECATED_OBJC_IMPLEMENTATIONS = YES;
CLANG_WARN_DIRECT_OBJC_ISA_USAGE = YES_ERROR;
CLANG_WARN_EMPTY_BODY = YES;
CLANG_WARN_ENUM_CONVERSION = YES;
CLANG_WARN_INFINITE_RECURSION = YES;
CLANG_WARN_INT_CONVERSION = YES;
CLANG_WARN_NON_LITERAL_NULL_CONVERSION = YES;
CLANG_WARN_OBJC_IMPLICIT_RETAIN_SELF = YES;
CLANG_WARN_OBJC_LITERAL_CONVERSION = YES;
CLANG_WARN_OBJC_ROOT_CLASS = YES_ERROR;
CLANG_WARN_RANGE_LOOP_ANALYSIS = YES;
CLANG_WARN_STRICT_PROTOTYPES = YES;
CLANG_WARN_SUSPICIOUS_MOVE = YES;
CLANG_WARN_UNREACHABLE_CODE = YES;
CLANG_WARN__DUPLICATE_METHOD_MATCH = YES;
"CODE_SIGN_IDENTITY[sdk=iphoneos*]" = "iPhone Developer";
Expand Down Expand Up @@ -268,6 +296,7 @@
INFOPLIST_FILE = BAFluidView/Info.plist;
INSTALL_PATH = "$(LOCAL_LIBRARY_DIR)/Frameworks";
LD_RUNPATH_SEARCH_PATHS = "$(inherited) @executable_path/Frameworks @loader_path/Frameworks";
PRODUCT_BUNDLE_IDENTIFIER = "com.BAFluidView.$(PRODUCT_NAME:rfc1034identifier)";
PRODUCT_NAME = "$(TARGET_NAME)";
SKIP_INSTALL = YES;
};
Expand All @@ -283,6 +312,7 @@
INFOPLIST_FILE = BAFluidView/Info.plist;
INSTALL_PATH = "$(LOCAL_LIBRARY_DIR)/Frameworks";
LD_RUNPATH_SEARCH_PATHS = "$(inherited) @executable_path/Frameworks @loader_path/Frameworks";
PRODUCT_BUNDLE_IDENTIFIER = "com.BAFluidView.$(PRODUCT_NAME:rfc1034identifier)";
PRODUCT_NAME = "$(TARGET_NAME)";
SKIP_INSTALL = YES;
};
Expand Down
Original file line number Diff line number Diff line change
@@ -0,0 +1,8 @@
<?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>IDEDidComputeMac32BitWarning</key>
<true/>
</dict>
</plist>
31 changes: 15 additions & 16 deletions BAFluidView.xcodeproj/xcshareddata/xcschemes/BAFluidView.xcscheme
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
<?xml version="1.0" encoding="UTF-8"?>
<Scheme
LastUpgradeVersion = "0640"
LastUpgradeVersion = "1120"
version = "1.3">
<BuildAction
parallelizeBuildables = "YES"
Expand Down Expand Up @@ -37,10 +37,19 @@
</BuildActionEntries>
</BuildAction>
<TestAction
buildConfiguration = "Debug"
selectedDebuggerIdentifier = "Xcode.DebuggerFoundation.Debugger.LLDB"
selectedLauncherIdentifier = "Xcode.DebuggerFoundation.Launcher.LLDB"
shouldUseLaunchSchemeArgsEnv = "YES"
buildConfiguration = "Debug">
shouldUseLaunchSchemeArgsEnv = "YES">
<MacroExpansion>
<BuildableReference
BuildableIdentifier = "primary"
BlueprintIdentifier = "659E9DF91B58E7E70029FE32"
BuildableName = "BAFluidView.framework"
BlueprintName = "BAFluidView"
ReferencedContainer = "container:BAFluidView.xcodeproj">
</BuildableReference>
</MacroExpansion>
<Testables>
<TestableReference
skipped = "NO">
Expand All @@ -53,24 +62,16 @@
</BuildableReference>
</TestableReference>
</Testables>
<MacroExpansion>
<BuildableReference
BuildableIdentifier = "primary"
BlueprintIdentifier = "659E9DF91B58E7E70029FE32"
BuildableName = "BAFluidView.framework"
BlueprintName = "BAFluidView"
ReferencedContainer = "container:BAFluidView.xcodeproj">
</BuildableReference>
</MacroExpansion>
</TestAction>
<LaunchAction
buildConfiguration = "Debug"
selectedDebuggerIdentifier = "Xcode.DebuggerFoundation.Debugger.LLDB"
selectedLauncherIdentifier = "Xcode.DebuggerFoundation.Launcher.LLDB"
launchStyle = "0"
useCustomWorkingDirectory = "NO"
buildConfiguration = "Debug"
ignoresPersistentStateOnLaunch = "NO"
debugDocumentVersioning = "YES"
debugServiceExtension = "internal"
allowLocationSimulation = "YES">
<MacroExpansion>
<BuildableReference
Expand All @@ -81,14 +82,12 @@
ReferencedContainer = "container:BAFluidView.xcodeproj">
</BuildableReference>
</MacroExpansion>
<AdditionalOptions>
</AdditionalOptions>
</LaunchAction>
<ProfileAction
buildConfiguration = "Release"
shouldUseLaunchSchemeArgsEnv = "YES"
savedToolIdentifier = ""
useCustomWorkingDirectory = "NO"
buildConfiguration = "Release"
debugDocumentVersioning = "YES">
<MacroExpansion>
<BuildableReference
Expand Down
2 changes: 1 addition & 1 deletion BAFluidView/BAFluidView.h
Original file line number Diff line number Diff line change
Expand Up @@ -15,4 +15,4 @@ FOUNDATION_EXPORT double BAFluidViewVersionNumber;
FOUNDATION_EXPORT const unsigned char BAFluidViewVersionString[];

// In this header, you should import all the public headers of your framework using statements like #import <BAFluidView/PublicHeader.h>
#import <BAFluidView/BAFluidView.h>
#import <BAFluidView/BAFluidView.h>
2 changes: 1 addition & 1 deletion BAFluidView/Info.plist
Original file line number Diff line number Diff line change
Expand Up @@ -7,7 +7,7 @@
<key>CFBundleExecutable</key>
<string>$(EXECUTABLE_NAME)</string>
<key>CFBundleIdentifier</key>
<string>com.BAFluidView.$(PRODUCT_NAME:rfc1034identifier)</string>
<string>$(PRODUCT_BUNDLE_IDENTIFIER)</string>
<key>CFBundleInfoDictionaryVersion</key>
<string>6.0</string>
<key>CFBundleName</key>
Expand Down
Loading

0 comments on commit a1fefc5

Please sign in to comment.