Skip to content

Commit

Permalink
Add Swift Package Manager support (#1)
Browse files Browse the repository at this point in the history
* Swift Package Manager support

* Bump pod version

* fix imports

* fix imports in umbrella header

* fix import
  • Loading branch information
christianhatch authored Sep 4, 2022
1 parent 6e77f0d commit 94c6fc3
Show file tree
Hide file tree
Showing 21 changed files with 225 additions and 117 deletions.
7 changes: 7 additions & 0 deletions .swiftpm/xcode/package.xcworkspace/contents.xcworkspacedata

Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.

80 changes: 56 additions & 24 deletions Example/RSDayFlowExample.xcodeproj/project.pbxproj
Original file line number Diff line number Diff line change
Expand Up @@ -47,6 +47,17 @@
/* End PBXContainerItemProxy section */

/* Begin PBXFileReference section */
45EA2D0228C475F70078C12E /* RSDFDatePickerDaysOfWeekView.h */ = {isa = PBXFileReference; lastKnownFileType = sourcecode.c.h; name = RSDFDatePickerDaysOfWeekView.h; path = include/RSDFDatePickerDaysOfWeekView.h; sourceTree = "<group>"; };
45EA2D0328C475F70078C12E /* NSCalendar+RSDFAdditions.h */ = {isa = PBXFileReference; lastKnownFileType = sourcecode.c.h; name = "NSCalendar+RSDFAdditions.h"; path = "include/NSCalendar+RSDFAdditions.h"; sourceTree = "<group>"; };
45EA2D0428C475F70078C12E /* RSDayFlow.modulemap */ = {isa = PBXFileReference; lastKnownFileType = "sourcecode.module-map"; name = RSDayFlow.modulemap; path = include/RSDayFlow.modulemap; sourceTree = "<group>"; };
45EA2D0528C475F70078C12E /* RSDayFlow.h */ = {isa = PBXFileReference; lastKnownFileType = sourcecode.c.h; name = RSDayFlow.h; path = include/RSDayFlow.h; sourceTree = "<group>"; };
45EA2D0628C475F70078C12E /* RSDFDatePickerCollectionView.h */ = {isa = PBXFileReference; lastKnownFileType = sourcecode.c.h; name = RSDFDatePickerCollectionView.h; path = include/RSDFDatePickerCollectionView.h; sourceTree = "<group>"; };
45EA2D0728C475F70078C12E /* RSDFDatePickerMonthHeader.h */ = {isa = PBXFileReference; lastKnownFileType = sourcecode.c.h; name = RSDFDatePickerMonthHeader.h; path = include/RSDFDatePickerMonthHeader.h; sourceTree = "<group>"; };
45EA2D0828C475F70078C12E /* RSDFDatePickerView+Protected.h */ = {isa = PBXFileReference; lastKnownFileType = sourcecode.c.h; name = "RSDFDatePickerView+Protected.h"; path = "include/RSDFDatePickerView+Protected.h"; sourceTree = "<group>"; };
45EA2D0928C475F70078C12E /* RSDFDatePickerCollectionViewLayout.h */ = {isa = PBXFileReference; lastKnownFileType = sourcecode.c.h; name = RSDFDatePickerCollectionViewLayout.h; path = include/RSDFDatePickerCollectionViewLayout.h; sourceTree = "<group>"; };
45EA2D0A28C475F70078C12E /* RSDFDatePickerDayCell.h */ = {isa = PBXFileReference; lastKnownFileType = sourcecode.c.h; name = RSDFDatePickerDayCell.h; path = include/RSDFDatePickerDayCell.h; sourceTree = "<group>"; };
45EA2D0B28C475F70078C12E /* RSDFDatePickerView.h */ = {isa = PBXFileReference; lastKnownFileType = sourcecode.c.h; name = RSDFDatePickerView.h; path = include/RSDFDatePickerView.h; sourceTree = "<group>"; };
45EA2D0C28C475F70078C12E /* RSDFDatePickerDate.h */ = {isa = PBXFileReference; lastKnownFileType = sourcecode.c.h; name = RSDFDatePickerDate.h; path = include/RSDFDatePickerDate.h; sourceTree = "<group>"; };
B82FFF9919A37EDB000816FF /* RSDFCustomDatePickerCollectionView.h */ = {isa = PBXFileReference; fileEncoding = 4; lastKnownFileType = sourcecode.c.h; path = RSDFCustomDatePickerCollectionView.h; sourceTree = "<group>"; };
B82FFF9A19A37EDB000816FF /* RSDFCustomDatePickerCollectionView.m */ = {isa = PBXFileReference; fileEncoding = 4; lastKnownFileType = sourcecode.c.objc; path = RSDFCustomDatePickerCollectionView.m; sourceTree = "<group>"; };
B82FFF9B19A37EDB000816FF /* RSDFCustomDatePickerCollectionViewLayout.h */ = {isa = PBXFileReference; fileEncoding = 4; lastKnownFileType = sourcecode.c.h; path = RSDFCustomDatePickerCollectionViewLayout.h; sourceTree = "<group>"; };
Expand All @@ -60,22 +71,12 @@
B82FFFA319A37EDB000816FF /* RSDFCustomDatePickerView.h */ = {isa = PBXFileReference; fileEncoding = 4; lastKnownFileType = sourcecode.c.h; path = RSDFCustomDatePickerView.h; sourceTree = "<group>"; };
B82FFFA419A37EDB000816FF /* RSDFCustomDatePickerView.m */ = {isa = PBXFileReference; fileEncoding = 4; lastKnownFileType = sourcecode.c.objc; path = RSDFCustomDatePickerView.m; sourceTree = "<group>"; };
B872EE8219E82DF000E52146 /* Base */ = {isa = PBXFileReference; lastKnownFileType = file.xib; name = Base; path = Base.lproj/LaunchScreen.xib; sourceTree = "<group>"; };
B89C2AE11DCC5571005710E0 /* NSCalendar+RSDFAdditions.h */ = {isa = PBXFileReference; fileEncoding = 4; lastKnownFileType = sourcecode.c.h; path = "NSCalendar+RSDFAdditions.h"; sourceTree = "<group>"; };
B89C2AE21DCC5571005710E0 /* NSCalendar+RSDFAdditions.m */ = {isa = PBXFileReference; fileEncoding = 4; lastKnownFileType = sourcecode.c.objc; path = "NSCalendar+RSDFAdditions.m"; sourceTree = "<group>"; };
B89C2AE31DCC5571005710E0 /* RSDayFlow.h */ = {isa = PBXFileReference; fileEncoding = 4; lastKnownFileType = sourcecode.c.h; path = RSDayFlow.h; sourceTree = "<group>"; };
B89C2AE41DCC5571005710E0 /* RSDFDatePickerCollectionView.h */ = {isa = PBXFileReference; fileEncoding = 4; lastKnownFileType = sourcecode.c.h; path = RSDFDatePickerCollectionView.h; sourceTree = "<group>"; };
B89C2AE51DCC5571005710E0 /* RSDFDatePickerCollectionView.m */ = {isa = PBXFileReference; fileEncoding = 4; lastKnownFileType = sourcecode.c.objc; path = RSDFDatePickerCollectionView.m; sourceTree = "<group>"; };
B89C2AE61DCC5571005710E0 /* RSDFDatePickerCollectionViewLayout.h */ = {isa = PBXFileReference; fileEncoding = 4; lastKnownFileType = sourcecode.c.h; path = RSDFDatePickerCollectionViewLayout.h; sourceTree = "<group>"; };
B89C2AE71DCC5571005710E0 /* RSDFDatePickerCollectionViewLayout.m */ = {isa = PBXFileReference; fileEncoding = 4; lastKnownFileType = sourcecode.c.objc; path = RSDFDatePickerCollectionViewLayout.m; sourceTree = "<group>"; };
B89C2AE81DCC5571005710E0 /* RSDFDatePickerDate.h */ = {isa = PBXFileReference; fileEncoding = 4; lastKnownFileType = sourcecode.c.h; path = RSDFDatePickerDate.h; sourceTree = "<group>"; };
B89C2AE91DCC5571005710E0 /* RSDFDatePickerDayCell.h */ = {isa = PBXFileReference; fileEncoding = 4; lastKnownFileType = sourcecode.c.h; path = RSDFDatePickerDayCell.h; sourceTree = "<group>"; };
B89C2AEA1DCC5571005710E0 /* RSDFDatePickerDayCell.m */ = {isa = PBXFileReference; fileEncoding = 4; lastKnownFileType = sourcecode.c.objc; path = RSDFDatePickerDayCell.m; sourceTree = "<group>"; };
B89C2AEB1DCC5571005710E0 /* RSDFDatePickerDaysOfWeekView.h */ = {isa = PBXFileReference; fileEncoding = 4; lastKnownFileType = sourcecode.c.h; path = RSDFDatePickerDaysOfWeekView.h; sourceTree = "<group>"; };
B89C2AEC1DCC5571005710E0 /* RSDFDatePickerDaysOfWeekView.m */ = {isa = PBXFileReference; fileEncoding = 4; lastKnownFileType = sourcecode.c.objc; path = RSDFDatePickerDaysOfWeekView.m; sourceTree = "<group>"; };
B89C2AED1DCC5571005710E0 /* RSDFDatePickerMonthHeader.h */ = {isa = PBXFileReference; fileEncoding = 4; lastKnownFileType = sourcecode.c.h; path = RSDFDatePickerMonthHeader.h; sourceTree = "<group>"; };
B89C2AEE1DCC5571005710E0 /* RSDFDatePickerMonthHeader.m */ = {isa = PBXFileReference; fileEncoding = 4; lastKnownFileType = sourcecode.c.objc; path = RSDFDatePickerMonthHeader.m; sourceTree = "<group>"; };
B89C2AEF1DCC5571005710E0 /* RSDFDatePickerView+Protected.h */ = {isa = PBXFileReference; fileEncoding = 4; lastKnownFileType = sourcecode.c.h; path = "RSDFDatePickerView+Protected.h"; sourceTree = "<group>"; };
B89C2AF01DCC5571005710E0 /* RSDFDatePickerView.h */ = {isa = PBXFileReference; fileEncoding = 4; lastKnownFileType = sourcecode.c.h; path = RSDFDatePickerView.h; sourceTree = "<group>"; };
B89C2AF11DCC5571005710E0 /* RSDFDatePickerView.m */ = {isa = PBXFileReference; fileEncoding = 4; lastKnownFileType = sourcecode.c.objc; path = RSDFDatePickerView.m; sourceTree = "<group>"; };
B8F807BD19A34B990047C24B /* RSDayFlowExample.app */ = {isa = PBXFileReference; explicitFileType = wrapper.application; includeInIndex = 0; path = RSDayFlowExample.app; sourceTree = BUILT_PRODUCTS_DIR; };
B8F807C019A34B990047C24B /* Foundation.framework */ = {isa = PBXFileReference; lastKnownFileType = wrapper.framework; name = Foundation.framework; path = System/Library/Frameworks/Foundation.framework; sourceTree = SDKROOT; };
Expand Down Expand Up @@ -151,22 +152,23 @@
B89C2ADF1DCC5571005710E0 /* RSDayFlow */ = {
isa = PBXGroup;
children = (
B89C2AE11DCC5571005710E0 /* NSCalendar+RSDFAdditions.h */,
45EA2D0328C475F70078C12E /* NSCalendar+RSDFAdditions.h */,
45EA2D0528C475F70078C12E /* RSDayFlow.h */,
45EA2D0428C475F70078C12E /* RSDayFlow.modulemap */,
45EA2D0628C475F70078C12E /* RSDFDatePickerCollectionView.h */,
45EA2D0928C475F70078C12E /* RSDFDatePickerCollectionViewLayout.h */,
45EA2D0C28C475F70078C12E /* RSDFDatePickerDate.h */,
45EA2D0A28C475F70078C12E /* RSDFDatePickerDayCell.h */,
45EA2D0228C475F70078C12E /* RSDFDatePickerDaysOfWeekView.h */,
45EA2D0728C475F70078C12E /* RSDFDatePickerMonthHeader.h */,
45EA2D0B28C475F70078C12E /* RSDFDatePickerView.h */,
45EA2D0828C475F70078C12E /* RSDFDatePickerView+Protected.h */,
B89C2AE21DCC5571005710E0 /* NSCalendar+RSDFAdditions.m */,
B89C2AE31DCC5571005710E0 /* RSDayFlow.h */,
B89C2AE41DCC5571005710E0 /* RSDFDatePickerCollectionView.h */,
B89C2AE51DCC5571005710E0 /* RSDFDatePickerCollectionView.m */,
B89C2AE61DCC5571005710E0 /* RSDFDatePickerCollectionViewLayout.h */,
B89C2AE71DCC5571005710E0 /* RSDFDatePickerCollectionViewLayout.m */,
B89C2AE81DCC5571005710E0 /* RSDFDatePickerDate.h */,
B89C2AE91DCC5571005710E0 /* RSDFDatePickerDayCell.h */,
B89C2AEA1DCC5571005710E0 /* RSDFDatePickerDayCell.m */,
B89C2AEB1DCC5571005710E0 /* RSDFDatePickerDaysOfWeekView.h */,
B89C2AEC1DCC5571005710E0 /* RSDFDatePickerDaysOfWeekView.m */,
B89C2AED1DCC5571005710E0 /* RSDFDatePickerMonthHeader.h */,
B89C2AEE1DCC5571005710E0 /* RSDFDatePickerMonthHeader.m */,
B89C2AEF1DCC5571005710E0 /* RSDFDatePickerView+Protected.h */,
B89C2AF01DCC5571005710E0 /* RSDFDatePickerView.h */,
B89C2AF11DCC5571005710E0 /* RSDFDatePickerView.m */,
);
name = RSDayFlow;
Expand Down Expand Up @@ -302,7 +304,7 @@
isa = PBXProject;
attributes = {
CLASSPREFIX = RSDF;
LastUpgradeCheck = 0700;
LastUpgradeCheck = 1340;
ORGANIZATIONNAME = "Ruslan Skorb";
TargetAttributes = {
B8F807D719A34B9A0047C24B = {
Expand All @@ -312,7 +314,7 @@
};
buildConfigurationList = B8F807B819A34B990047C24B /* Build configuration list for PBXProject "RSDayFlowExample" */;
compatibilityVersion = "Xcode 3.2";
developmentRegion = English;
developmentRegion = en;
hasScannedForEncodings = 0;
knownRegions = (
en,
Expand Down Expand Up @@ -424,23 +426,38 @@
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_QUOTED_INCLUDE_IN_FRAMEWORK_HEADER = YES;
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;
ENABLE_STRICT_OBJC_MSGSEND = YES;
ENABLE_TESTABILITY = YES;
GCC_C_LANGUAGE_STANDARD = gnu99;
GCC_DYNAMIC_NO_PIC = NO;
GCC_NO_COMMON_BLOCKS = YES;
GCC_OPTIMIZATION_LEVEL = 0;
GCC_PREPROCESSOR_DEFINITIONS = (
"DEBUG=1",
Expand All @@ -458,7 +475,7 @@
"$(inherited)",
"$(PROJECT_DIR)/../",
);
IPHONEOS_DEPLOYMENT_TARGET = 7.0;
IPHONEOS_DEPLOYMENT_TARGET = 12.0;
ONLY_ACTIVE_ARCH = YES;
SDKROOT = iphoneos;
};
Expand All @@ -468,22 +485,37 @@
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_QUOTED_INCLUDE_IN_FRAMEWORK_HEADER = YES;
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 = YES;
ENABLE_NS_ASSERTIONS = NO;
ENABLE_STRICT_OBJC_MSGSEND = YES;
GCC_C_LANGUAGE_STANDARD = gnu99;
GCC_NO_COMMON_BLOCKS = YES;
GCC_WARN_64_TO_32_BIT_CONVERSION = YES;
GCC_WARN_ABOUT_RETURN_TYPE = YES_ERROR;
GCC_WARN_UNDECLARED_SELECTOR = YES;
Expand All @@ -494,7 +526,7 @@
"$(inherited)",
"$(PROJECT_DIR)/../",
);
IPHONEOS_DEPLOYMENT_TARGET = 7.0;
IPHONEOS_DEPLOYMENT_TARGET = 12.0;
SDKROOT = iphoneos;
VALIDATE_PRODUCT = YES;
};
Expand Down
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
<?xml version="1.0" encoding="UTF-8"?>
<Scheme
LastUpgradeVersion = "0700"
LastUpgradeVersion = "1340"
version = "1.3">
<BuildAction
parallelizeBuildables = "YES"
Expand Down Expand Up @@ -41,6 +41,15 @@
selectedDebuggerIdentifier = "Xcode.DebuggerFoundation.Debugger.LLDB"
selectedLauncherIdentifier = "Xcode.DebuggerFoundation.Launcher.LLDB"
shouldUseLaunchSchemeArgsEnv = "YES">
<MacroExpansion>
<BuildableReference
BuildableIdentifier = "primary"
BlueprintIdentifier = "B8F807BC19A34B990047C24B"
BuildableName = "RSDayFlowExample.app"
BlueprintName = "RSDayFlowExample"
ReferencedContainer = "container:RSDayFlowExample.xcodeproj">
</BuildableReference>
</MacroExpansion>
<Testables>
<TestableReference
skipped = "NO">
Expand All @@ -53,17 +62,6 @@
</BuildableReference>
</TestableReference>
</Testables>
<MacroExpansion>
<BuildableReference
BuildableIdentifier = "primary"
BlueprintIdentifier = "B8F807BC19A34B990047C24B"
BuildableName = "RSDayFlowExample.app"
BlueprintName = "RSDayFlowExample"
ReferencedContainer = "container:RSDayFlowExample.xcodeproj">
</BuildableReference>
</MacroExpansion>
<AdditionalOptions>
</AdditionalOptions>
</TestAction>
<LaunchAction
buildConfiguration = "Debug"
Expand All @@ -85,8 +83,6 @@
ReferencedContainer = "container:RSDayFlowExample.xcodeproj">
</BuildableReference>
</BuildableProductRunnable>
<AdditionalOptions>
</AdditionalOptions>
</LaunchAction>
<ProfileAction
buildConfiguration = "Release"
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>
Original file line number Diff line number Diff line change
Expand Up @@ -2,37 +2,52 @@
"images" : [
{
"idiom" : "iphone",
"size" : "29x29",
"scale" : "2x"
"scale" : "2x",
"size" : "20x20"
},
{
"idiom" : "iphone",
"size" : "29x29",
"scale" : "3x"
"scale" : "3x",
"size" : "20x20"
},
{
"idiom" : "iphone",
"size" : "40x40",
"scale" : "2x"
"scale" : "2x",
"size" : "29x29"
},
{
"idiom" : "iphone",
"size" : "40x40",
"scale" : "3x"
"scale" : "3x",
"size" : "29x29"
},
{
"idiom" : "iphone",
"size" : "60x60",
"scale" : "2x"
"scale" : "2x",
"size" : "40x40"
},
{
"idiom" : "iphone",
"size" : "60x60",
"scale" : "3x"
"scale" : "3x",
"size" : "40x40"
},
{
"idiom" : "iphone",
"scale" : "2x",
"size" : "60x60"
},
{
"idiom" : "iphone",
"scale" : "3x",
"size" : "60x60"
},
{
"idiom" : "ios-marketing",
"scale" : "1x",
"size" : "1024x1024"
}
],
"info" : {
"version" : 1,
"author" : "xcode"
"author" : "xcode",
"version" : 1
}
}
}
2 changes: 1 addition & 1 deletion Example/RSDayFlowExample/RSDFDatePickerViewController.m
Original file line number Diff line number Diff line change
Expand Up @@ -49,7 +49,7 @@ - (void)viewDidLoad
[super viewDidLoad];

self.edgesForExtendedLayout = UIRectEdgeNone;
self.automaticallyAdjustsScrollViewInsets = NO;
// self.automaticallyAdjustsScrollViewInsets = NO;

self.navigationController.navigationBar.translucent = NO;
self.navigationController.navigationBar.opaque = YES;
Expand Down
29 changes: 29 additions & 0 deletions Package.swift
Original file line number Diff line number Diff line change
@@ -0,0 +1,29 @@
// swift-tools-version: 5.6
// The swift-tools-version declares the minimum version of Swift required to build this package.

import PackageDescription

let package = Package(
name: "RSDayFlow",
products: [
// Products define the executables and libraries a package produces, and make them visible to other packages.
.library(
name: "RSDayFlow",
targets: ["RSDayFlow"]),
],
dependencies: [
// Dependencies declare other packages that this package depends on.
// .package(url: /* package url */, from: "1.0.0"),
],
targets: [
// Targets are the basic building blocks of a package. A target can define a module or a test suite.
// Targets can depend on other targets in this package, and on products in packages this package depends on.
.target(
name: "RSDayFlow",
dependencies: [],
path: "RSDayFlow"),
.testTarget(
name: "RSDayFlowTests",
dependencies: ["RSDayFlow"]),
]
)
4 changes: 2 additions & 2 deletions RSDayFlow.podspec
Original file line number Diff line number Diff line change
@@ -1,12 +1,12 @@
Pod::Spec.new do |s|
s.name = 'RSDayFlow'
s.version = '1.6.1'
s.version = '1.7.0'
s.summary = 'iOS 7 Calendar with Infinite Scrolling.'
s.homepage = 'https://github.com/ruslanskorb/RSDayFlow'
s.license = { :type => 'MIT', :file => 'LICENSE' }
s.authors = { 'Evadne Wu' => '[email protected]', 'Ruslan Skorb' => '[email protected]' }
s.source = { :git => 'https://github.com/ruslanskorb/RSDayFlow.git', :tag => s.version.to_s }
s.platform = :ios, '7.0'
s.platform = :ios, '9.0'
s.module_map = 'RSDayFlow/RSDayFlow.modulemap'
s.source_files = 'RSDayFlow/*.{h,m}'
s.frameworks = 'QuartzCore', 'UIKit'
Expand Down
Loading

0 comments on commit 94c6fc3

Please sign in to comment.