Skip to content

Commit 94c6fc3

Browse files
Add Swift Package Manager support (#1)
* Swift Package Manager support * Bump pod version * fix imports * fix imports in umbrella header * fix import
1 parent 6e77f0d commit 94c6fc3

File tree

21 files changed

+225
-117
lines changed

21 files changed

+225
-117
lines changed

.swiftpm/xcode/package.xcworkspace/contents.xcworkspacedata

Lines changed: 7 additions & 0 deletions
Some generated files are not rendered by default. Learn more about customizing how changed files appear on GitHub.

Example/RSDayFlowExample.xcodeproj/project.pbxproj

Lines changed: 56 additions & 24 deletions
Original file line numberDiff line numberDiff line change
@@ -47,6 +47,17 @@
4747
/* End PBXContainerItemProxy section */
4848

4949
/* Begin PBXFileReference section */
50+
45EA2D0228C475F70078C12E /* RSDFDatePickerDaysOfWeekView.h */ = {isa = PBXFileReference; lastKnownFileType = sourcecode.c.h; name = RSDFDatePickerDaysOfWeekView.h; path = include/RSDFDatePickerDaysOfWeekView.h; sourceTree = "<group>"; };
51+
45EA2D0328C475F70078C12E /* NSCalendar+RSDFAdditions.h */ = {isa = PBXFileReference; lastKnownFileType = sourcecode.c.h; name = "NSCalendar+RSDFAdditions.h"; path = "include/NSCalendar+RSDFAdditions.h"; sourceTree = "<group>"; };
52+
45EA2D0428C475F70078C12E /* RSDayFlow.modulemap */ = {isa = PBXFileReference; lastKnownFileType = "sourcecode.module-map"; name = RSDayFlow.modulemap; path = include/RSDayFlow.modulemap; sourceTree = "<group>"; };
53+
45EA2D0528C475F70078C12E /* RSDayFlow.h */ = {isa = PBXFileReference; lastKnownFileType = sourcecode.c.h; name = RSDayFlow.h; path = include/RSDayFlow.h; sourceTree = "<group>"; };
54+
45EA2D0628C475F70078C12E /* RSDFDatePickerCollectionView.h */ = {isa = PBXFileReference; lastKnownFileType = sourcecode.c.h; name = RSDFDatePickerCollectionView.h; path = include/RSDFDatePickerCollectionView.h; sourceTree = "<group>"; };
55+
45EA2D0728C475F70078C12E /* RSDFDatePickerMonthHeader.h */ = {isa = PBXFileReference; lastKnownFileType = sourcecode.c.h; name = RSDFDatePickerMonthHeader.h; path = include/RSDFDatePickerMonthHeader.h; sourceTree = "<group>"; };
56+
45EA2D0828C475F70078C12E /* RSDFDatePickerView+Protected.h */ = {isa = PBXFileReference; lastKnownFileType = sourcecode.c.h; name = "RSDFDatePickerView+Protected.h"; path = "include/RSDFDatePickerView+Protected.h"; sourceTree = "<group>"; };
57+
45EA2D0928C475F70078C12E /* RSDFDatePickerCollectionViewLayout.h */ = {isa = PBXFileReference; lastKnownFileType = sourcecode.c.h; name = RSDFDatePickerCollectionViewLayout.h; path = include/RSDFDatePickerCollectionViewLayout.h; sourceTree = "<group>"; };
58+
45EA2D0A28C475F70078C12E /* RSDFDatePickerDayCell.h */ = {isa = PBXFileReference; lastKnownFileType = sourcecode.c.h; name = RSDFDatePickerDayCell.h; path = include/RSDFDatePickerDayCell.h; sourceTree = "<group>"; };
59+
45EA2D0B28C475F70078C12E /* RSDFDatePickerView.h */ = {isa = PBXFileReference; lastKnownFileType = sourcecode.c.h; name = RSDFDatePickerView.h; path = include/RSDFDatePickerView.h; sourceTree = "<group>"; };
60+
45EA2D0C28C475F70078C12E /* RSDFDatePickerDate.h */ = {isa = PBXFileReference; lastKnownFileType = sourcecode.c.h; name = RSDFDatePickerDate.h; path = include/RSDFDatePickerDate.h; sourceTree = "<group>"; };
5061
B82FFF9919A37EDB000816FF /* RSDFCustomDatePickerCollectionView.h */ = {isa = PBXFileReference; fileEncoding = 4; lastKnownFileType = sourcecode.c.h; path = RSDFCustomDatePickerCollectionView.h; sourceTree = "<group>"; };
5162
B82FFF9A19A37EDB000816FF /* RSDFCustomDatePickerCollectionView.m */ = {isa = PBXFileReference; fileEncoding = 4; lastKnownFileType = sourcecode.c.objc; path = RSDFCustomDatePickerCollectionView.m; sourceTree = "<group>"; };
5263
B82FFF9B19A37EDB000816FF /* RSDFCustomDatePickerCollectionViewLayout.h */ = {isa = PBXFileReference; fileEncoding = 4; lastKnownFileType = sourcecode.c.h; path = RSDFCustomDatePickerCollectionViewLayout.h; sourceTree = "<group>"; };
@@ -60,22 +71,12 @@
6071
B82FFFA319A37EDB000816FF /* RSDFCustomDatePickerView.h */ = {isa = PBXFileReference; fileEncoding = 4; lastKnownFileType = sourcecode.c.h; path = RSDFCustomDatePickerView.h; sourceTree = "<group>"; };
6172
B82FFFA419A37EDB000816FF /* RSDFCustomDatePickerView.m */ = {isa = PBXFileReference; fileEncoding = 4; lastKnownFileType = sourcecode.c.objc; path = RSDFCustomDatePickerView.m; sourceTree = "<group>"; };
6273
B872EE8219E82DF000E52146 /* Base */ = {isa = PBXFileReference; lastKnownFileType = file.xib; name = Base; path = Base.lproj/LaunchScreen.xib; sourceTree = "<group>"; };
63-
B89C2AE11DCC5571005710E0 /* NSCalendar+RSDFAdditions.h */ = {isa = PBXFileReference; fileEncoding = 4; lastKnownFileType = sourcecode.c.h; path = "NSCalendar+RSDFAdditions.h"; sourceTree = "<group>"; };
6474
B89C2AE21DCC5571005710E0 /* NSCalendar+RSDFAdditions.m */ = {isa = PBXFileReference; fileEncoding = 4; lastKnownFileType = sourcecode.c.objc; path = "NSCalendar+RSDFAdditions.m"; sourceTree = "<group>"; };
65-
B89C2AE31DCC5571005710E0 /* RSDayFlow.h */ = {isa = PBXFileReference; fileEncoding = 4; lastKnownFileType = sourcecode.c.h; path = RSDayFlow.h; sourceTree = "<group>"; };
66-
B89C2AE41DCC5571005710E0 /* RSDFDatePickerCollectionView.h */ = {isa = PBXFileReference; fileEncoding = 4; lastKnownFileType = sourcecode.c.h; path = RSDFDatePickerCollectionView.h; sourceTree = "<group>"; };
6775
B89C2AE51DCC5571005710E0 /* RSDFDatePickerCollectionView.m */ = {isa = PBXFileReference; fileEncoding = 4; lastKnownFileType = sourcecode.c.objc; path = RSDFDatePickerCollectionView.m; sourceTree = "<group>"; };
68-
B89C2AE61DCC5571005710E0 /* RSDFDatePickerCollectionViewLayout.h */ = {isa = PBXFileReference; fileEncoding = 4; lastKnownFileType = sourcecode.c.h; path = RSDFDatePickerCollectionViewLayout.h; sourceTree = "<group>"; };
6976
B89C2AE71DCC5571005710E0 /* RSDFDatePickerCollectionViewLayout.m */ = {isa = PBXFileReference; fileEncoding = 4; lastKnownFileType = sourcecode.c.objc; path = RSDFDatePickerCollectionViewLayout.m; sourceTree = "<group>"; };
70-
B89C2AE81DCC5571005710E0 /* RSDFDatePickerDate.h */ = {isa = PBXFileReference; fileEncoding = 4; lastKnownFileType = sourcecode.c.h; path = RSDFDatePickerDate.h; sourceTree = "<group>"; };
71-
B89C2AE91DCC5571005710E0 /* RSDFDatePickerDayCell.h */ = {isa = PBXFileReference; fileEncoding = 4; lastKnownFileType = sourcecode.c.h; path = RSDFDatePickerDayCell.h; sourceTree = "<group>"; };
7277
B89C2AEA1DCC5571005710E0 /* RSDFDatePickerDayCell.m */ = {isa = PBXFileReference; fileEncoding = 4; lastKnownFileType = sourcecode.c.objc; path = RSDFDatePickerDayCell.m; sourceTree = "<group>"; };
73-
B89C2AEB1DCC5571005710E0 /* RSDFDatePickerDaysOfWeekView.h */ = {isa = PBXFileReference; fileEncoding = 4; lastKnownFileType = sourcecode.c.h; path = RSDFDatePickerDaysOfWeekView.h; sourceTree = "<group>"; };
7478
B89C2AEC1DCC5571005710E0 /* RSDFDatePickerDaysOfWeekView.m */ = {isa = PBXFileReference; fileEncoding = 4; lastKnownFileType = sourcecode.c.objc; path = RSDFDatePickerDaysOfWeekView.m; sourceTree = "<group>"; };
75-
B89C2AED1DCC5571005710E0 /* RSDFDatePickerMonthHeader.h */ = {isa = PBXFileReference; fileEncoding = 4; lastKnownFileType = sourcecode.c.h; path = RSDFDatePickerMonthHeader.h; sourceTree = "<group>"; };
7679
B89C2AEE1DCC5571005710E0 /* RSDFDatePickerMonthHeader.m */ = {isa = PBXFileReference; fileEncoding = 4; lastKnownFileType = sourcecode.c.objc; path = RSDFDatePickerMonthHeader.m; sourceTree = "<group>"; };
77-
B89C2AEF1DCC5571005710E0 /* RSDFDatePickerView+Protected.h */ = {isa = PBXFileReference; fileEncoding = 4; lastKnownFileType = sourcecode.c.h; path = "RSDFDatePickerView+Protected.h"; sourceTree = "<group>"; };
78-
B89C2AF01DCC5571005710E0 /* RSDFDatePickerView.h */ = {isa = PBXFileReference; fileEncoding = 4; lastKnownFileType = sourcecode.c.h; path = RSDFDatePickerView.h; sourceTree = "<group>"; };
7980
B89C2AF11DCC5571005710E0 /* RSDFDatePickerView.m */ = {isa = PBXFileReference; fileEncoding = 4; lastKnownFileType = sourcecode.c.objc; path = RSDFDatePickerView.m; sourceTree = "<group>"; };
8081
B8F807BD19A34B990047C24B /* RSDayFlowExample.app */ = {isa = PBXFileReference; explicitFileType = wrapper.application; includeInIndex = 0; path = RSDayFlowExample.app; sourceTree = BUILT_PRODUCTS_DIR; };
8182
B8F807C019A34B990047C24B /* Foundation.framework */ = {isa = PBXFileReference; lastKnownFileType = wrapper.framework; name = Foundation.framework; path = System/Library/Frameworks/Foundation.framework; sourceTree = SDKROOT; };
@@ -151,22 +152,23 @@
151152
B89C2ADF1DCC5571005710E0 /* RSDayFlow */ = {
152153
isa = PBXGroup;
153154
children = (
154-
B89C2AE11DCC5571005710E0 /* NSCalendar+RSDFAdditions.h */,
155+
45EA2D0328C475F70078C12E /* NSCalendar+RSDFAdditions.h */,
156+
45EA2D0528C475F70078C12E /* RSDayFlow.h */,
157+
45EA2D0428C475F70078C12E /* RSDayFlow.modulemap */,
158+
45EA2D0628C475F70078C12E /* RSDFDatePickerCollectionView.h */,
159+
45EA2D0928C475F70078C12E /* RSDFDatePickerCollectionViewLayout.h */,
160+
45EA2D0C28C475F70078C12E /* RSDFDatePickerDate.h */,
161+
45EA2D0A28C475F70078C12E /* RSDFDatePickerDayCell.h */,
162+
45EA2D0228C475F70078C12E /* RSDFDatePickerDaysOfWeekView.h */,
163+
45EA2D0728C475F70078C12E /* RSDFDatePickerMonthHeader.h */,
164+
45EA2D0B28C475F70078C12E /* RSDFDatePickerView.h */,
165+
45EA2D0828C475F70078C12E /* RSDFDatePickerView+Protected.h */,
155166
B89C2AE21DCC5571005710E0 /* NSCalendar+RSDFAdditions.m */,
156-
B89C2AE31DCC5571005710E0 /* RSDayFlow.h */,
157-
B89C2AE41DCC5571005710E0 /* RSDFDatePickerCollectionView.h */,
158167
B89C2AE51DCC5571005710E0 /* RSDFDatePickerCollectionView.m */,
159-
B89C2AE61DCC5571005710E0 /* RSDFDatePickerCollectionViewLayout.h */,
160168
B89C2AE71DCC5571005710E0 /* RSDFDatePickerCollectionViewLayout.m */,
161-
B89C2AE81DCC5571005710E0 /* RSDFDatePickerDate.h */,
162-
B89C2AE91DCC5571005710E0 /* RSDFDatePickerDayCell.h */,
163169
B89C2AEA1DCC5571005710E0 /* RSDFDatePickerDayCell.m */,
164-
B89C2AEB1DCC5571005710E0 /* RSDFDatePickerDaysOfWeekView.h */,
165170
B89C2AEC1DCC5571005710E0 /* RSDFDatePickerDaysOfWeekView.m */,
166-
B89C2AED1DCC5571005710E0 /* RSDFDatePickerMonthHeader.h */,
167171
B89C2AEE1DCC5571005710E0 /* RSDFDatePickerMonthHeader.m */,
168-
B89C2AEF1DCC5571005710E0 /* RSDFDatePickerView+Protected.h */,
169-
B89C2AF01DCC5571005710E0 /* RSDFDatePickerView.h */,
170172
B89C2AF11DCC5571005710E0 /* RSDFDatePickerView.m */,
171173
);
172174
name = RSDayFlow;
@@ -302,7 +304,7 @@
302304
isa = PBXProject;
303305
attributes = {
304306
CLASSPREFIX = RSDF;
305-
LastUpgradeCheck = 0700;
307+
LastUpgradeCheck = 1340;
306308
ORGANIZATIONNAME = "Ruslan Skorb";
307309
TargetAttributes = {
308310
B8F807D719A34B9A0047C24B = {
@@ -312,7 +314,7 @@
312314
};
313315
buildConfigurationList = B8F807B819A34B990047C24B /* Build configuration list for PBXProject "RSDayFlowExample" */;
314316
compatibilityVersion = "Xcode 3.2";
315-
developmentRegion = English;
317+
developmentRegion = en;
316318
hasScannedForEncodings = 0;
317319
knownRegions = (
318320
en,
@@ -424,23 +426,38 @@
424426
isa = XCBuildConfiguration;
425427
buildSettings = {
426428
ALWAYS_SEARCH_USER_PATHS = NO;
429+
CLANG_ANALYZER_LOCALIZABILITY_NONLOCALIZED = YES;
427430
CLANG_CXX_LANGUAGE_STANDARD = "gnu++0x";
428431
CLANG_CXX_LIBRARY = "libc++";
429432
CLANG_ENABLE_MODULES = YES;
430433
CLANG_ENABLE_OBJC_ARC = YES;
434+
CLANG_WARN_BLOCK_CAPTURE_AUTORELEASING = YES;
431435
CLANG_WARN_BOOL_CONVERSION = YES;
436+
CLANG_WARN_COMMA = YES;
432437
CLANG_WARN_CONSTANT_CONVERSION = YES;
438+
CLANG_WARN_DEPRECATED_OBJC_IMPLEMENTATIONS = YES;
433439
CLANG_WARN_DIRECT_OBJC_ISA_USAGE = YES_ERROR;
434440
CLANG_WARN_EMPTY_BODY = YES;
435441
CLANG_WARN_ENUM_CONVERSION = YES;
442+
CLANG_WARN_INFINITE_RECURSION = YES;
436443
CLANG_WARN_INT_CONVERSION = YES;
444+
CLANG_WARN_NON_LITERAL_NULL_CONVERSION = YES;
445+
CLANG_WARN_OBJC_IMPLICIT_RETAIN_SELF = YES;
446+
CLANG_WARN_OBJC_LITERAL_CONVERSION = YES;
437447
CLANG_WARN_OBJC_ROOT_CLASS = YES_ERROR;
448+
CLANG_WARN_QUOTED_INCLUDE_IN_FRAMEWORK_HEADER = YES;
449+
CLANG_WARN_RANGE_LOOP_ANALYSIS = YES;
450+
CLANG_WARN_STRICT_PROTOTYPES = YES;
451+
CLANG_WARN_SUSPICIOUS_MOVE = YES;
452+
CLANG_WARN_UNREACHABLE_CODE = YES;
438453
CLANG_WARN__DUPLICATE_METHOD_MATCH = YES;
439454
"CODE_SIGN_IDENTITY[sdk=iphoneos*]" = "iPhone Developer";
440455
COPY_PHASE_STRIP = NO;
456+
ENABLE_STRICT_OBJC_MSGSEND = YES;
441457
ENABLE_TESTABILITY = YES;
442458
GCC_C_LANGUAGE_STANDARD = gnu99;
443459
GCC_DYNAMIC_NO_PIC = NO;
460+
GCC_NO_COMMON_BLOCKS = YES;
444461
GCC_OPTIMIZATION_LEVEL = 0;
445462
GCC_PREPROCESSOR_DEFINITIONS = (
446463
"DEBUG=1",
@@ -458,7 +475,7 @@
458475
"$(inherited)",
459476
"$(PROJECT_DIR)/../",
460477
);
461-
IPHONEOS_DEPLOYMENT_TARGET = 7.0;
478+
IPHONEOS_DEPLOYMENT_TARGET = 12.0;
462479
ONLY_ACTIVE_ARCH = YES;
463480
SDKROOT = iphoneos;
464481
};
@@ -468,22 +485,37 @@
468485
isa = XCBuildConfiguration;
469486
buildSettings = {
470487
ALWAYS_SEARCH_USER_PATHS = NO;
488+
CLANG_ANALYZER_LOCALIZABILITY_NONLOCALIZED = YES;
471489
CLANG_CXX_LANGUAGE_STANDARD = "gnu++0x";
472490
CLANG_CXX_LIBRARY = "libc++";
473491
CLANG_ENABLE_MODULES = YES;
474492
CLANG_ENABLE_OBJC_ARC = YES;
493+
CLANG_WARN_BLOCK_CAPTURE_AUTORELEASING = YES;
475494
CLANG_WARN_BOOL_CONVERSION = YES;
495+
CLANG_WARN_COMMA = YES;
476496
CLANG_WARN_CONSTANT_CONVERSION = YES;
497+
CLANG_WARN_DEPRECATED_OBJC_IMPLEMENTATIONS = YES;
477498
CLANG_WARN_DIRECT_OBJC_ISA_USAGE = YES_ERROR;
478499
CLANG_WARN_EMPTY_BODY = YES;
479500
CLANG_WARN_ENUM_CONVERSION = YES;
501+
CLANG_WARN_INFINITE_RECURSION = YES;
480502
CLANG_WARN_INT_CONVERSION = YES;
503+
CLANG_WARN_NON_LITERAL_NULL_CONVERSION = YES;
504+
CLANG_WARN_OBJC_IMPLICIT_RETAIN_SELF = YES;
505+
CLANG_WARN_OBJC_LITERAL_CONVERSION = YES;
481506
CLANG_WARN_OBJC_ROOT_CLASS = YES_ERROR;
507+
CLANG_WARN_QUOTED_INCLUDE_IN_FRAMEWORK_HEADER = YES;
508+
CLANG_WARN_RANGE_LOOP_ANALYSIS = YES;
509+
CLANG_WARN_STRICT_PROTOTYPES = YES;
510+
CLANG_WARN_SUSPICIOUS_MOVE = YES;
511+
CLANG_WARN_UNREACHABLE_CODE = YES;
482512
CLANG_WARN__DUPLICATE_METHOD_MATCH = YES;
483513
"CODE_SIGN_IDENTITY[sdk=iphoneos*]" = "iPhone Developer";
484514
COPY_PHASE_STRIP = YES;
485515
ENABLE_NS_ASSERTIONS = NO;
516+
ENABLE_STRICT_OBJC_MSGSEND = YES;
486517
GCC_C_LANGUAGE_STANDARD = gnu99;
518+
GCC_NO_COMMON_BLOCKS = YES;
487519
GCC_WARN_64_TO_32_BIT_CONVERSION = YES;
488520
GCC_WARN_ABOUT_RETURN_TYPE = YES_ERROR;
489521
GCC_WARN_UNDECLARED_SELECTOR = YES;
@@ -494,7 +526,7 @@
494526
"$(inherited)",
495527
"$(PROJECT_DIR)/../",
496528
);
497-
IPHONEOS_DEPLOYMENT_TARGET = 7.0;
529+
IPHONEOS_DEPLOYMENT_TARGET = 12.0;
498530
SDKROOT = iphoneos;
499531
VALIDATE_PRODUCT = YES;
500532
};

Example/RSDayFlowExample.xcodeproj/xcshareddata/xcschemes/RSDayFlowExample.xcscheme

Lines changed: 10 additions & 14 deletions
Original file line numberDiff line numberDiff line change
@@ -1,6 +1,6 @@
11
<?xml version="1.0" encoding="UTF-8"?>
22
<Scheme
3-
LastUpgradeVersion = "0700"
3+
LastUpgradeVersion = "1340"
44
version = "1.3">
55
<BuildAction
66
parallelizeBuildables = "YES"
@@ -41,6 +41,15 @@
4141
selectedDebuggerIdentifier = "Xcode.DebuggerFoundation.Debugger.LLDB"
4242
selectedLauncherIdentifier = "Xcode.DebuggerFoundation.Launcher.LLDB"
4343
shouldUseLaunchSchemeArgsEnv = "YES">
44+
<MacroExpansion>
45+
<BuildableReference
46+
BuildableIdentifier = "primary"
47+
BlueprintIdentifier = "B8F807BC19A34B990047C24B"
48+
BuildableName = "RSDayFlowExample.app"
49+
BlueprintName = "RSDayFlowExample"
50+
ReferencedContainer = "container:RSDayFlowExample.xcodeproj">
51+
</BuildableReference>
52+
</MacroExpansion>
4453
<Testables>
4554
<TestableReference
4655
skipped = "NO">
@@ -53,17 +62,6 @@
5362
</BuildableReference>
5463
</TestableReference>
5564
</Testables>
56-
<MacroExpansion>
57-
<BuildableReference
58-
BuildableIdentifier = "primary"
59-
BlueprintIdentifier = "B8F807BC19A34B990047C24B"
60-
BuildableName = "RSDayFlowExample.app"
61-
BlueprintName = "RSDayFlowExample"
62-
ReferencedContainer = "container:RSDayFlowExample.xcodeproj">
63-
</BuildableReference>
64-
</MacroExpansion>
65-
<AdditionalOptions>
66-
</AdditionalOptions>
6765
</TestAction>
6866
<LaunchAction
6967
buildConfiguration = "Debug"
@@ -85,8 +83,6 @@
8583
ReferencedContainer = "container:RSDayFlowExample.xcodeproj">
8684
</BuildableReference>
8785
</BuildableProductRunnable>
88-
<AdditionalOptions>
89-
</AdditionalOptions>
9086
</LaunchAction>
9187
<ProfileAction
9288
buildConfiguration = "Release"
Lines changed: 8 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,8 @@
1+
<?xml version="1.0" encoding="UTF-8"?>
2+
<!DOCTYPE plist PUBLIC "-//Apple//DTD PLIST 1.0//EN" "http://www.apple.com/DTDs/PropertyList-1.0.dtd">
3+
<plist version="1.0">
4+
<dict>
5+
<key>IDEDidComputeMac32BitWarning</key>
6+
<true/>
7+
</dict>
8+
</plist>

Example/RSDayFlowExample/Images.xcassets/AppIcon.appiconset/Contents.json

Lines changed: 30 additions & 15 deletions
Original file line numberDiff line numberDiff line change
@@ -2,37 +2,52 @@
22
"images" : [
33
{
44
"idiom" : "iphone",
5-
"size" : "29x29",
6-
"scale" : "2x"
5+
"scale" : "2x",
6+
"size" : "20x20"
77
},
88
{
99
"idiom" : "iphone",
10-
"size" : "29x29",
11-
"scale" : "3x"
10+
"scale" : "3x",
11+
"size" : "20x20"
1212
},
1313
{
1414
"idiom" : "iphone",
15-
"size" : "40x40",
16-
"scale" : "2x"
15+
"scale" : "2x",
16+
"size" : "29x29"
1717
},
1818
{
1919
"idiom" : "iphone",
20-
"size" : "40x40",
21-
"scale" : "3x"
20+
"scale" : "3x",
21+
"size" : "29x29"
2222
},
2323
{
2424
"idiom" : "iphone",
25-
"size" : "60x60",
26-
"scale" : "2x"
25+
"scale" : "2x",
26+
"size" : "40x40"
2727
},
2828
{
2929
"idiom" : "iphone",
30-
"size" : "60x60",
31-
"scale" : "3x"
30+
"scale" : "3x",
31+
"size" : "40x40"
32+
},
33+
{
34+
"idiom" : "iphone",
35+
"scale" : "2x",
36+
"size" : "60x60"
37+
},
38+
{
39+
"idiom" : "iphone",
40+
"scale" : "3x",
41+
"size" : "60x60"
42+
},
43+
{
44+
"idiom" : "ios-marketing",
45+
"scale" : "1x",
46+
"size" : "1024x1024"
3247
}
3348
],
3449
"info" : {
35-
"version" : 1,
36-
"author" : "xcode"
50+
"author" : "xcode",
51+
"version" : 1
3752
}
38-
}
53+
}

Example/RSDayFlowExample/RSDFDatePickerViewController.m

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -49,7 +49,7 @@ - (void)viewDidLoad
4949
[super viewDidLoad];
5050

5151
self.edgesForExtendedLayout = UIRectEdgeNone;
52-
self.automaticallyAdjustsScrollViewInsets = NO;
52+
// self.automaticallyAdjustsScrollViewInsets = NO;
5353

5454
self.navigationController.navigationBar.translucent = NO;
5555
self.navigationController.navigationBar.opaque = YES;

Package.swift

Lines changed: 29 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,29 @@
1+
// swift-tools-version: 5.6
2+
// The swift-tools-version declares the minimum version of Swift required to build this package.
3+
4+
import PackageDescription
5+
6+
let package = Package(
7+
name: "RSDayFlow",
8+
products: [
9+
// Products define the executables and libraries a package produces, and make them visible to other packages.
10+
.library(
11+
name: "RSDayFlow",
12+
targets: ["RSDayFlow"]),
13+
],
14+
dependencies: [
15+
// Dependencies declare other packages that this package depends on.
16+
// .package(url: /* package url */, from: "1.0.0"),
17+
],
18+
targets: [
19+
// Targets are the basic building blocks of a package. A target can define a module or a test suite.
20+
// Targets can depend on other targets in this package, and on products in packages this package depends on.
21+
.target(
22+
name: "RSDayFlow",
23+
dependencies: [],
24+
path: "RSDayFlow"),
25+
.testTarget(
26+
name: "RSDayFlowTests",
27+
dependencies: ["RSDayFlow"]),
28+
]
29+
)

RSDayFlow.podspec

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -1,12 +1,12 @@
11
Pod::Spec.new do |s|
22
s.name = 'RSDayFlow'
3-
s.version = '1.6.1'
3+
s.version = '1.7.0'
44
s.summary = 'iOS 7 Calendar with Infinite Scrolling.'
55
s.homepage = 'https://github.com/ruslanskorb/RSDayFlow'
66
s.license = { :type => 'MIT', :file => 'LICENSE' }
77
s.authors = { 'Evadne Wu' => 'ev@radi.ws', 'Ruslan Skorb' => 'ruslan.skorb@gmail.com' }
88
s.source = { :git => 'https://github.com/ruslanskorb/RSDayFlow.git', :tag => s.version.to_s }
9-
s.platform = :ios, '7.0'
9+
s.platform = :ios, '9.0'
1010
s.module_map = 'RSDayFlow/RSDayFlow.modulemap'
1111
s.source_files = 'RSDayFlow/*.{h,m}'
1212
s.frameworks = 'QuartzCore', 'UIKit'

0 commit comments

Comments
 (0)