diff --git a/.swiftpm/xcode/package.xcworkspace/contents.xcworkspacedata b/.swiftpm/xcode/package.xcworkspace/contents.xcworkspacedata new file mode 100644 index 0000000..919434a --- /dev/null +++ b/.swiftpm/xcode/package.xcworkspace/contents.xcworkspacedata @@ -0,0 +1,7 @@ + + + + + diff --git a/Example/RSDayFlowExample.xcodeproj/project.pbxproj b/Example/RSDayFlowExample.xcodeproj/project.pbxproj index 59cba8f..c4e91e8 100644 --- a/Example/RSDayFlowExample.xcodeproj/project.pbxproj +++ b/Example/RSDayFlowExample.xcodeproj/project.pbxproj @@ -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 = ""; }; + 45EA2D0328C475F70078C12E /* NSCalendar+RSDFAdditions.h */ = {isa = PBXFileReference; lastKnownFileType = sourcecode.c.h; name = "NSCalendar+RSDFAdditions.h"; path = "include/NSCalendar+RSDFAdditions.h"; sourceTree = ""; }; + 45EA2D0428C475F70078C12E /* RSDayFlow.modulemap */ = {isa = PBXFileReference; lastKnownFileType = "sourcecode.module-map"; name = RSDayFlow.modulemap; path = include/RSDayFlow.modulemap; sourceTree = ""; }; + 45EA2D0528C475F70078C12E /* RSDayFlow.h */ = {isa = PBXFileReference; lastKnownFileType = sourcecode.c.h; name = RSDayFlow.h; path = include/RSDayFlow.h; sourceTree = ""; }; + 45EA2D0628C475F70078C12E /* RSDFDatePickerCollectionView.h */ = {isa = PBXFileReference; lastKnownFileType = sourcecode.c.h; name = RSDFDatePickerCollectionView.h; path = include/RSDFDatePickerCollectionView.h; sourceTree = ""; }; + 45EA2D0728C475F70078C12E /* RSDFDatePickerMonthHeader.h */ = {isa = PBXFileReference; lastKnownFileType = sourcecode.c.h; name = RSDFDatePickerMonthHeader.h; path = include/RSDFDatePickerMonthHeader.h; sourceTree = ""; }; + 45EA2D0828C475F70078C12E /* RSDFDatePickerView+Protected.h */ = {isa = PBXFileReference; lastKnownFileType = sourcecode.c.h; name = "RSDFDatePickerView+Protected.h"; path = "include/RSDFDatePickerView+Protected.h"; sourceTree = ""; }; + 45EA2D0928C475F70078C12E /* RSDFDatePickerCollectionViewLayout.h */ = {isa = PBXFileReference; lastKnownFileType = sourcecode.c.h; name = RSDFDatePickerCollectionViewLayout.h; path = include/RSDFDatePickerCollectionViewLayout.h; sourceTree = ""; }; + 45EA2D0A28C475F70078C12E /* RSDFDatePickerDayCell.h */ = {isa = PBXFileReference; lastKnownFileType = sourcecode.c.h; name = RSDFDatePickerDayCell.h; path = include/RSDFDatePickerDayCell.h; sourceTree = ""; }; + 45EA2D0B28C475F70078C12E /* RSDFDatePickerView.h */ = {isa = PBXFileReference; lastKnownFileType = sourcecode.c.h; name = RSDFDatePickerView.h; path = include/RSDFDatePickerView.h; sourceTree = ""; }; + 45EA2D0C28C475F70078C12E /* RSDFDatePickerDate.h */ = {isa = PBXFileReference; lastKnownFileType = sourcecode.c.h; name = RSDFDatePickerDate.h; path = include/RSDFDatePickerDate.h; sourceTree = ""; }; B82FFF9919A37EDB000816FF /* RSDFCustomDatePickerCollectionView.h */ = {isa = PBXFileReference; fileEncoding = 4; lastKnownFileType = sourcecode.c.h; path = RSDFCustomDatePickerCollectionView.h; sourceTree = ""; }; B82FFF9A19A37EDB000816FF /* RSDFCustomDatePickerCollectionView.m */ = {isa = PBXFileReference; fileEncoding = 4; lastKnownFileType = sourcecode.c.objc; path = RSDFCustomDatePickerCollectionView.m; sourceTree = ""; }; B82FFF9B19A37EDB000816FF /* RSDFCustomDatePickerCollectionViewLayout.h */ = {isa = PBXFileReference; fileEncoding = 4; lastKnownFileType = sourcecode.c.h; path = RSDFCustomDatePickerCollectionViewLayout.h; sourceTree = ""; }; @@ -60,22 +71,12 @@ B82FFFA319A37EDB000816FF /* RSDFCustomDatePickerView.h */ = {isa = PBXFileReference; fileEncoding = 4; lastKnownFileType = sourcecode.c.h; path = RSDFCustomDatePickerView.h; sourceTree = ""; }; B82FFFA419A37EDB000816FF /* RSDFCustomDatePickerView.m */ = {isa = PBXFileReference; fileEncoding = 4; lastKnownFileType = sourcecode.c.objc; path = RSDFCustomDatePickerView.m; sourceTree = ""; }; B872EE8219E82DF000E52146 /* Base */ = {isa = PBXFileReference; lastKnownFileType = file.xib; name = Base; path = Base.lproj/LaunchScreen.xib; sourceTree = ""; }; - B89C2AE11DCC5571005710E0 /* NSCalendar+RSDFAdditions.h */ = {isa = PBXFileReference; fileEncoding = 4; lastKnownFileType = sourcecode.c.h; path = "NSCalendar+RSDFAdditions.h"; sourceTree = ""; }; B89C2AE21DCC5571005710E0 /* NSCalendar+RSDFAdditions.m */ = {isa = PBXFileReference; fileEncoding = 4; lastKnownFileType = sourcecode.c.objc; path = "NSCalendar+RSDFAdditions.m"; sourceTree = ""; }; - B89C2AE31DCC5571005710E0 /* RSDayFlow.h */ = {isa = PBXFileReference; fileEncoding = 4; lastKnownFileType = sourcecode.c.h; path = RSDayFlow.h; sourceTree = ""; }; - B89C2AE41DCC5571005710E0 /* RSDFDatePickerCollectionView.h */ = {isa = PBXFileReference; fileEncoding = 4; lastKnownFileType = sourcecode.c.h; path = RSDFDatePickerCollectionView.h; sourceTree = ""; }; B89C2AE51DCC5571005710E0 /* RSDFDatePickerCollectionView.m */ = {isa = PBXFileReference; fileEncoding = 4; lastKnownFileType = sourcecode.c.objc; path = RSDFDatePickerCollectionView.m; sourceTree = ""; }; - B89C2AE61DCC5571005710E0 /* RSDFDatePickerCollectionViewLayout.h */ = {isa = PBXFileReference; fileEncoding = 4; lastKnownFileType = sourcecode.c.h; path = RSDFDatePickerCollectionViewLayout.h; sourceTree = ""; }; B89C2AE71DCC5571005710E0 /* RSDFDatePickerCollectionViewLayout.m */ = {isa = PBXFileReference; fileEncoding = 4; lastKnownFileType = sourcecode.c.objc; path = RSDFDatePickerCollectionViewLayout.m; sourceTree = ""; }; - B89C2AE81DCC5571005710E0 /* RSDFDatePickerDate.h */ = {isa = PBXFileReference; fileEncoding = 4; lastKnownFileType = sourcecode.c.h; path = RSDFDatePickerDate.h; sourceTree = ""; }; - B89C2AE91DCC5571005710E0 /* RSDFDatePickerDayCell.h */ = {isa = PBXFileReference; fileEncoding = 4; lastKnownFileType = sourcecode.c.h; path = RSDFDatePickerDayCell.h; sourceTree = ""; }; B89C2AEA1DCC5571005710E0 /* RSDFDatePickerDayCell.m */ = {isa = PBXFileReference; fileEncoding = 4; lastKnownFileType = sourcecode.c.objc; path = RSDFDatePickerDayCell.m; sourceTree = ""; }; - B89C2AEB1DCC5571005710E0 /* RSDFDatePickerDaysOfWeekView.h */ = {isa = PBXFileReference; fileEncoding = 4; lastKnownFileType = sourcecode.c.h; path = RSDFDatePickerDaysOfWeekView.h; sourceTree = ""; }; B89C2AEC1DCC5571005710E0 /* RSDFDatePickerDaysOfWeekView.m */ = {isa = PBXFileReference; fileEncoding = 4; lastKnownFileType = sourcecode.c.objc; path = RSDFDatePickerDaysOfWeekView.m; sourceTree = ""; }; - B89C2AED1DCC5571005710E0 /* RSDFDatePickerMonthHeader.h */ = {isa = PBXFileReference; fileEncoding = 4; lastKnownFileType = sourcecode.c.h; path = RSDFDatePickerMonthHeader.h; sourceTree = ""; }; B89C2AEE1DCC5571005710E0 /* RSDFDatePickerMonthHeader.m */ = {isa = PBXFileReference; fileEncoding = 4; lastKnownFileType = sourcecode.c.objc; path = RSDFDatePickerMonthHeader.m; sourceTree = ""; }; - B89C2AEF1DCC5571005710E0 /* RSDFDatePickerView+Protected.h */ = {isa = PBXFileReference; fileEncoding = 4; lastKnownFileType = sourcecode.c.h; path = "RSDFDatePickerView+Protected.h"; sourceTree = ""; }; - B89C2AF01DCC5571005710E0 /* RSDFDatePickerView.h */ = {isa = PBXFileReference; fileEncoding = 4; lastKnownFileType = sourcecode.c.h; path = RSDFDatePickerView.h; sourceTree = ""; }; B89C2AF11DCC5571005710E0 /* RSDFDatePickerView.m */ = {isa = PBXFileReference; fileEncoding = 4; lastKnownFileType = sourcecode.c.objc; path = RSDFDatePickerView.m; sourceTree = ""; }; 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; }; @@ -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; @@ -302,7 +304,7 @@ isa = PBXProject; attributes = { CLASSPREFIX = RSDF; - LastUpgradeCheck = 0700; + LastUpgradeCheck = 1340; ORGANIZATIONNAME = "Ruslan Skorb"; TargetAttributes = { B8F807D719A34B9A0047C24B = { @@ -312,7 +314,7 @@ }; buildConfigurationList = B8F807B819A34B990047C24B /* Build configuration list for PBXProject "RSDayFlowExample" */; compatibilityVersion = "Xcode 3.2"; - developmentRegion = English; + developmentRegion = en; hasScannedForEncodings = 0; knownRegions = ( en, @@ -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", @@ -458,7 +475,7 @@ "$(inherited)", "$(PROJECT_DIR)/../", ); - IPHONEOS_DEPLOYMENT_TARGET = 7.0; + IPHONEOS_DEPLOYMENT_TARGET = 12.0; ONLY_ACTIVE_ARCH = YES; SDKROOT = iphoneos; }; @@ -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; @@ -494,7 +526,7 @@ "$(inherited)", "$(PROJECT_DIR)/../", ); - IPHONEOS_DEPLOYMENT_TARGET = 7.0; + IPHONEOS_DEPLOYMENT_TARGET = 12.0; SDKROOT = iphoneos; VALIDATE_PRODUCT = YES; }; diff --git a/Example/RSDayFlowExample.xcodeproj/xcshareddata/xcschemes/RSDayFlowExample.xcscheme b/Example/RSDayFlowExample.xcodeproj/xcshareddata/xcschemes/RSDayFlowExample.xcscheme index 62eab77..756ce51 100644 --- a/Example/RSDayFlowExample.xcodeproj/xcshareddata/xcschemes/RSDayFlowExample.xcscheme +++ b/Example/RSDayFlowExample.xcodeproj/xcshareddata/xcschemes/RSDayFlowExample.xcscheme @@ -1,6 +1,6 @@ + + + + @@ -53,17 +62,6 @@ - - - - - - - - + + + + IDEDidComputeMac32BitWarning + + + diff --git a/Example/RSDayFlowExample/Images.xcassets/AppIcon.appiconset/Contents.json b/Example/RSDayFlowExample/Images.xcassets/AppIcon.appiconset/Contents.json index 118c98f..8121323 100644 --- a/Example/RSDayFlowExample/Images.xcassets/AppIcon.appiconset/Contents.json +++ b/Example/RSDayFlowExample/Images.xcassets/AppIcon.appiconset/Contents.json @@ -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 } -} \ No newline at end of file +} diff --git a/Example/RSDayFlowExample/RSDFDatePickerViewController.m b/Example/RSDayFlowExample/RSDFDatePickerViewController.m index 9cf5125..c5b96a9 100755 --- a/Example/RSDayFlowExample/RSDFDatePickerViewController.m +++ b/Example/RSDayFlowExample/RSDFDatePickerViewController.m @@ -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; diff --git a/Package.swift b/Package.swift new file mode 100644 index 0000000..d300834 --- /dev/null +++ b/Package.swift @@ -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"]), + ] +) diff --git a/RSDayFlow.podspec b/RSDayFlow.podspec index ad6cf4c..6449bd1 100644 --- a/RSDayFlow.podspec +++ b/RSDayFlow.podspec @@ -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' => 'ev@radi.ws', 'Ruslan Skorb' => 'ruslan.skorb@gmail.com' } 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' diff --git a/RSDayFlow.xcodeproj/project.pbxproj b/RSDayFlow.xcodeproj/project.pbxproj index 87e1b01..a7b3adb 100755 --- a/RSDayFlow.xcodeproj/project.pbxproj +++ b/RSDayFlow.xcodeproj/project.pbxproj @@ -7,43 +7,44 @@ objects = { /* Begin PBXBuildFile section */ - B851C6741C0AF698007A22DA /* NSCalendar+RSDFAdditions.h in Headers */ = {isa = PBXBuildFile; fileRef = B851C6631C0AF698007A22DA /* NSCalendar+RSDFAdditions.h */; settings = {ATTRIBUTES = (Public, ); }; }; + 45EA2D1828C4762F0078C12E /* RSDFDatePickerDate.h in Headers */ = {isa = PBXBuildFile; fileRef = 45EA2D0D28C4762F0078C12E /* RSDFDatePickerDate.h */; }; + 45EA2D1928C4762F0078C12E /* RSDFDatePickerCollectionView.h in Headers */ = {isa = PBXBuildFile; fileRef = 45EA2D0F28C4762F0078C12E /* RSDFDatePickerCollectionView.h */; }; + 45EA2D1A28C4762F0078C12E /* RSDFDatePickerMonthHeader.h in Headers */ = {isa = PBXBuildFile; fileRef = 45EA2D1028C4762F0078C12E /* RSDFDatePickerMonthHeader.h */; }; + 45EA2D1B28C4762F0078C12E /* RSDFDatePickerDayCell.h in Headers */ = {isa = PBXBuildFile; fileRef = 45EA2D1128C4762F0078C12E /* RSDFDatePickerDayCell.h */; }; + 45EA2D1C28C4762F0078C12E /* RSDFDatePickerCollectionViewLayout.h in Headers */ = {isa = PBXBuildFile; fileRef = 45EA2D1228C4762F0078C12E /* RSDFDatePickerCollectionViewLayout.h */; }; + 45EA2D1D28C4762F0078C12E /* RSDayFlow.h in Headers */ = {isa = PBXBuildFile; fileRef = 45EA2D1328C4762F0078C12E /* RSDayFlow.h */; }; + 45EA2D1E28C4762F0078C12E /* RSDFDatePickerView.h in Headers */ = {isa = PBXBuildFile; fileRef = 45EA2D1428C4762F0078C12E /* RSDFDatePickerView.h */; }; + 45EA2D1F28C4762F0078C12E /* RSDFDatePickerView+Protected.h in Headers */ = {isa = PBXBuildFile; fileRef = 45EA2D1528C4762F0078C12E /* RSDFDatePickerView+Protected.h */; }; + 45EA2D2028C4762F0078C12E /* NSCalendar+RSDFAdditions.h in Headers */ = {isa = PBXBuildFile; fileRef = 45EA2D1628C4762F0078C12E /* NSCalendar+RSDFAdditions.h */; }; + 45EA2D2128C4762F0078C12E /* RSDFDatePickerDaysOfWeekView.h in Headers */ = {isa = PBXBuildFile; fileRef = 45EA2D1728C4762F0078C12E /* RSDFDatePickerDaysOfWeekView.h */; }; B851C6751C0AF698007A22DA /* NSCalendar+RSDFAdditions.m in Sources */ = {isa = PBXBuildFile; fileRef = B851C6641C0AF698007A22DA /* NSCalendar+RSDFAdditions.m */; }; - B851C6761C0AF698007A22DA /* RSDayFlow.h in Headers */ = {isa = PBXBuildFile; fileRef = B851C6651C0AF698007A22DA /* RSDayFlow.h */; settings = {ATTRIBUTES = (Public, ); }; }; - B851C6771C0AF698007A22DA /* RSDFDatePickerCollectionView.h in Headers */ = {isa = PBXBuildFile; fileRef = B851C6661C0AF698007A22DA /* RSDFDatePickerCollectionView.h */; settings = {ATTRIBUTES = (Public, ); }; }; B851C6781C0AF698007A22DA /* RSDFDatePickerCollectionView.m in Sources */ = {isa = PBXBuildFile; fileRef = B851C6671C0AF698007A22DA /* RSDFDatePickerCollectionView.m */; }; - B851C6791C0AF698007A22DA /* RSDFDatePickerCollectionViewLayout.h in Headers */ = {isa = PBXBuildFile; fileRef = B851C6681C0AF698007A22DA /* RSDFDatePickerCollectionViewLayout.h */; settings = {ATTRIBUTES = (Public, ); }; }; B851C67A1C0AF698007A22DA /* RSDFDatePickerCollectionViewLayout.m in Sources */ = {isa = PBXBuildFile; fileRef = B851C6691C0AF698007A22DA /* RSDFDatePickerCollectionViewLayout.m */; }; - B851C67B1C0AF698007A22DA /* RSDFDatePickerDate.h in Headers */ = {isa = PBXBuildFile; fileRef = B851C66A1C0AF698007A22DA /* RSDFDatePickerDate.h */; settings = {ATTRIBUTES = (Public, ); }; }; - B851C67C1C0AF698007A22DA /* RSDFDatePickerDayCell.h in Headers */ = {isa = PBXBuildFile; fileRef = B851C66B1C0AF698007A22DA /* RSDFDatePickerDayCell.h */; settings = {ATTRIBUTES = (Public, ); }; }; B851C67D1C0AF698007A22DA /* RSDFDatePickerDayCell.m in Sources */ = {isa = PBXBuildFile; fileRef = B851C66C1C0AF698007A22DA /* RSDFDatePickerDayCell.m */; }; - B851C67E1C0AF698007A22DA /* RSDFDatePickerDaysOfWeekView.h in Headers */ = {isa = PBXBuildFile; fileRef = B851C66D1C0AF698007A22DA /* RSDFDatePickerDaysOfWeekView.h */; settings = {ATTRIBUTES = (Public, ); }; }; B851C67F1C0AF698007A22DA /* RSDFDatePickerDaysOfWeekView.m in Sources */ = {isa = PBXBuildFile; fileRef = B851C66E1C0AF698007A22DA /* RSDFDatePickerDaysOfWeekView.m */; }; - B851C6801C0AF698007A22DA /* RSDFDatePickerMonthHeader.h in Headers */ = {isa = PBXBuildFile; fileRef = B851C66F1C0AF698007A22DA /* RSDFDatePickerMonthHeader.h */; settings = {ATTRIBUTES = (Public, ); }; }; B851C6811C0AF698007A22DA /* RSDFDatePickerMonthHeader.m in Sources */ = {isa = PBXBuildFile; fileRef = B851C6701C0AF698007A22DA /* RSDFDatePickerMonthHeader.m */; }; - B851C6821C0AF698007A22DA /* RSDFDatePickerView+Protected.h in Headers */ = {isa = PBXBuildFile; fileRef = B851C6711C0AF698007A22DA /* RSDFDatePickerView+Protected.h */; settings = {ATTRIBUTES = (Public, ); }; }; - B851C6831C0AF698007A22DA /* RSDFDatePickerView.h in Headers */ = {isa = PBXBuildFile; fileRef = B851C6721C0AF698007A22DA /* RSDFDatePickerView.h */; settings = {ATTRIBUTES = (Public, ); }; }; B851C6841C0AF698007A22DA /* RSDFDatePickerView.m in Sources */ = {isa = PBXBuildFile; fileRef = B851C6731C0AF698007A22DA /* RSDFDatePickerView.m */; }; /* End PBXBuildFile section */ /* Begin PBXFileReference section */ + 45EA2D0D28C4762F0078C12E /* RSDFDatePickerDate.h */ = {isa = PBXFileReference; fileEncoding = 4; lastKnownFileType = sourcecode.c.h; name = RSDFDatePickerDate.h; path = include/RSDFDatePickerDate.h; sourceTree = ""; }; + 45EA2D0E28C4762F0078C12E /* RSDayFlow.modulemap */ = {isa = PBXFileReference; fileEncoding = 4; lastKnownFileType = "sourcecode.module-map"; name = RSDayFlow.modulemap; path = include/RSDayFlow.modulemap; sourceTree = ""; }; + 45EA2D0F28C4762F0078C12E /* RSDFDatePickerCollectionView.h */ = {isa = PBXFileReference; fileEncoding = 4; lastKnownFileType = sourcecode.c.h; name = RSDFDatePickerCollectionView.h; path = include/RSDFDatePickerCollectionView.h; sourceTree = ""; }; + 45EA2D1028C4762F0078C12E /* RSDFDatePickerMonthHeader.h */ = {isa = PBXFileReference; fileEncoding = 4; lastKnownFileType = sourcecode.c.h; name = RSDFDatePickerMonthHeader.h; path = include/RSDFDatePickerMonthHeader.h; sourceTree = ""; }; + 45EA2D1128C4762F0078C12E /* RSDFDatePickerDayCell.h */ = {isa = PBXFileReference; fileEncoding = 4; lastKnownFileType = sourcecode.c.h; name = RSDFDatePickerDayCell.h; path = include/RSDFDatePickerDayCell.h; sourceTree = ""; }; + 45EA2D1228C4762F0078C12E /* RSDFDatePickerCollectionViewLayout.h */ = {isa = PBXFileReference; fileEncoding = 4; lastKnownFileType = sourcecode.c.h; name = RSDFDatePickerCollectionViewLayout.h; path = include/RSDFDatePickerCollectionViewLayout.h; sourceTree = ""; }; + 45EA2D1328C4762F0078C12E /* RSDayFlow.h */ = {isa = PBXFileReference; fileEncoding = 4; lastKnownFileType = sourcecode.c.h; name = RSDayFlow.h; path = include/RSDayFlow.h; sourceTree = ""; }; + 45EA2D1428C4762F0078C12E /* RSDFDatePickerView.h */ = {isa = PBXFileReference; fileEncoding = 4; lastKnownFileType = sourcecode.c.h; name = RSDFDatePickerView.h; path = include/RSDFDatePickerView.h; sourceTree = ""; }; + 45EA2D1528C4762F0078C12E /* RSDFDatePickerView+Protected.h */ = {isa = PBXFileReference; fileEncoding = 4; lastKnownFileType = sourcecode.c.h; name = "RSDFDatePickerView+Protected.h"; path = "include/RSDFDatePickerView+Protected.h"; sourceTree = ""; }; + 45EA2D1628C4762F0078C12E /* NSCalendar+RSDFAdditions.h */ = {isa = PBXFileReference; fileEncoding = 4; lastKnownFileType = sourcecode.c.h; name = "NSCalendar+RSDFAdditions.h"; path = "include/NSCalendar+RSDFAdditions.h"; sourceTree = ""; }; + 45EA2D1728C4762F0078C12E /* RSDFDatePickerDaysOfWeekView.h */ = {isa = PBXFileReference; fileEncoding = 4; lastKnownFileType = sourcecode.c.h; name = RSDFDatePickerDaysOfWeekView.h; path = include/RSDFDatePickerDaysOfWeekView.h; sourceTree = ""; }; A5BE393D1B32B49D00ECDF88 /* RSDayFlow.framework */ = {isa = PBXFileReference; explicitFileType = wrapper.framework; includeInIndex = 0; path = RSDayFlow.framework; sourceTree = BUILT_PRODUCTS_DIR; }; - B851C6631C0AF698007A22DA /* NSCalendar+RSDFAdditions.h */ = {isa = PBXFileReference; fileEncoding = 4; lastKnownFileType = sourcecode.c.h; path = "NSCalendar+RSDFAdditions.h"; sourceTree = ""; }; B851C6641C0AF698007A22DA /* NSCalendar+RSDFAdditions.m */ = {isa = PBXFileReference; fileEncoding = 4; lastKnownFileType = sourcecode.c.objc; path = "NSCalendar+RSDFAdditions.m"; sourceTree = ""; }; - B851C6651C0AF698007A22DA /* RSDayFlow.h */ = {isa = PBXFileReference; fileEncoding = 4; lastKnownFileType = sourcecode.c.h; path = RSDayFlow.h; sourceTree = ""; }; - B851C6661C0AF698007A22DA /* RSDFDatePickerCollectionView.h */ = {isa = PBXFileReference; fileEncoding = 4; lastKnownFileType = sourcecode.c.h; path = RSDFDatePickerCollectionView.h; sourceTree = ""; }; B851C6671C0AF698007A22DA /* RSDFDatePickerCollectionView.m */ = {isa = PBXFileReference; fileEncoding = 4; lastKnownFileType = sourcecode.c.objc; path = RSDFDatePickerCollectionView.m; sourceTree = ""; }; - B851C6681C0AF698007A22DA /* RSDFDatePickerCollectionViewLayout.h */ = {isa = PBXFileReference; fileEncoding = 4; lastKnownFileType = sourcecode.c.h; path = RSDFDatePickerCollectionViewLayout.h; sourceTree = ""; }; B851C6691C0AF698007A22DA /* RSDFDatePickerCollectionViewLayout.m */ = {isa = PBXFileReference; fileEncoding = 4; lastKnownFileType = sourcecode.c.objc; path = RSDFDatePickerCollectionViewLayout.m; sourceTree = ""; }; - B851C66A1C0AF698007A22DA /* RSDFDatePickerDate.h */ = {isa = PBXFileReference; fileEncoding = 4; lastKnownFileType = sourcecode.c.h; path = RSDFDatePickerDate.h; sourceTree = ""; }; - B851C66B1C0AF698007A22DA /* RSDFDatePickerDayCell.h */ = {isa = PBXFileReference; fileEncoding = 4; lastKnownFileType = sourcecode.c.h; path = RSDFDatePickerDayCell.h; sourceTree = ""; }; B851C66C1C0AF698007A22DA /* RSDFDatePickerDayCell.m */ = {isa = PBXFileReference; fileEncoding = 4; lastKnownFileType = sourcecode.c.objc; path = RSDFDatePickerDayCell.m; sourceTree = ""; }; - B851C66D1C0AF698007A22DA /* RSDFDatePickerDaysOfWeekView.h */ = {isa = PBXFileReference; fileEncoding = 4; lastKnownFileType = sourcecode.c.h; path = RSDFDatePickerDaysOfWeekView.h; sourceTree = ""; }; B851C66E1C0AF698007A22DA /* RSDFDatePickerDaysOfWeekView.m */ = {isa = PBXFileReference; fileEncoding = 4; lastKnownFileType = sourcecode.c.objc; path = RSDFDatePickerDaysOfWeekView.m; sourceTree = ""; }; - B851C66F1C0AF698007A22DA /* RSDFDatePickerMonthHeader.h */ = {isa = PBXFileReference; fileEncoding = 4; lastKnownFileType = sourcecode.c.h; path = RSDFDatePickerMonthHeader.h; sourceTree = ""; }; B851C6701C0AF698007A22DA /* RSDFDatePickerMonthHeader.m */ = {isa = PBXFileReference; fileEncoding = 4; lastKnownFileType = sourcecode.c.objc; path = RSDFDatePickerMonthHeader.m; sourceTree = ""; }; - B851C6711C0AF698007A22DA /* RSDFDatePickerView+Protected.h */ = {isa = PBXFileReference; fileEncoding = 4; lastKnownFileType = sourcecode.c.h; path = "RSDFDatePickerView+Protected.h"; sourceTree = ""; }; - B851C6721C0AF698007A22DA /* RSDFDatePickerView.h */ = {isa = PBXFileReference; fileEncoding = 4; lastKnownFileType = sourcecode.c.h; path = RSDFDatePickerView.h; sourceTree = ""; }; B851C6731C0AF698007A22DA /* RSDFDatePickerView.m */ = {isa = PBXFileReference; fileEncoding = 4; lastKnownFileType = sourcecode.c.objc; path = RSDFDatePickerView.m; sourceTree = ""; }; B85EF7ED1B88DB2000222FF7 /* Info.plist */ = {isa = PBXFileReference; fileEncoding = 4; lastKnownFileType = text.plist.xml; name = Info.plist; path = Framework/Info.plist; sourceTree = ""; }; /* End PBXFileReference section */ @@ -87,22 +88,23 @@ B851C6621C0AF698007A22DA /* RSDayFlow */ = { isa = PBXGroup; children = ( - B851C6631C0AF698007A22DA /* NSCalendar+RSDFAdditions.h */, + 45EA2D1628C4762F0078C12E /* NSCalendar+RSDFAdditions.h */, + 45EA2D1328C4762F0078C12E /* RSDayFlow.h */, + 45EA2D0E28C4762F0078C12E /* RSDayFlow.modulemap */, + 45EA2D0F28C4762F0078C12E /* RSDFDatePickerCollectionView.h */, + 45EA2D1228C4762F0078C12E /* RSDFDatePickerCollectionViewLayout.h */, + 45EA2D0D28C4762F0078C12E /* RSDFDatePickerDate.h */, + 45EA2D1128C4762F0078C12E /* RSDFDatePickerDayCell.h */, + 45EA2D1728C4762F0078C12E /* RSDFDatePickerDaysOfWeekView.h */, + 45EA2D1028C4762F0078C12E /* RSDFDatePickerMonthHeader.h */, + 45EA2D1428C4762F0078C12E /* RSDFDatePickerView.h */, + 45EA2D1528C4762F0078C12E /* RSDFDatePickerView+Protected.h */, B851C6641C0AF698007A22DA /* NSCalendar+RSDFAdditions.m */, - B851C6651C0AF698007A22DA /* RSDayFlow.h */, - B851C6661C0AF698007A22DA /* RSDFDatePickerCollectionView.h */, B851C6671C0AF698007A22DA /* RSDFDatePickerCollectionView.m */, - B851C6681C0AF698007A22DA /* RSDFDatePickerCollectionViewLayout.h */, B851C6691C0AF698007A22DA /* RSDFDatePickerCollectionViewLayout.m */, - B851C66A1C0AF698007A22DA /* RSDFDatePickerDate.h */, - B851C66B1C0AF698007A22DA /* RSDFDatePickerDayCell.h */, B851C66C1C0AF698007A22DA /* RSDFDatePickerDayCell.m */, - B851C66D1C0AF698007A22DA /* RSDFDatePickerDaysOfWeekView.h */, B851C66E1C0AF698007A22DA /* RSDFDatePickerDaysOfWeekView.m */, - B851C66F1C0AF698007A22DA /* RSDFDatePickerMonthHeader.h */, B851C6701C0AF698007A22DA /* RSDFDatePickerMonthHeader.m */, - B851C6711C0AF698007A22DA /* RSDFDatePickerView+Protected.h */, - B851C6721C0AF698007A22DA /* RSDFDatePickerView.h */, B851C6731C0AF698007A22DA /* RSDFDatePickerView.m */, A5BE39CA1B32BAFA00ECDF88 /* Supporting Files */, ); @@ -116,16 +118,16 @@ isa = PBXHeadersBuildPhase; buildActionMask = 2147483647; files = ( - B851C6821C0AF698007A22DA /* RSDFDatePickerView+Protected.h in Headers */, - B851C67B1C0AF698007A22DA /* RSDFDatePickerDate.h in Headers */, - B851C6831C0AF698007A22DA /* RSDFDatePickerView.h in Headers */, - B851C6791C0AF698007A22DA /* RSDFDatePickerCollectionViewLayout.h in Headers */, - B851C6771C0AF698007A22DA /* RSDFDatePickerCollectionView.h in Headers */, - B851C67C1C0AF698007A22DA /* RSDFDatePickerDayCell.h in Headers */, - B851C6801C0AF698007A22DA /* RSDFDatePickerMonthHeader.h in Headers */, - B851C67E1C0AF698007A22DA /* RSDFDatePickerDaysOfWeekView.h in Headers */, - B851C6761C0AF698007A22DA /* RSDayFlow.h in Headers */, - B851C6741C0AF698007A22DA /* NSCalendar+RSDFAdditions.h in Headers */, + 45EA2D1D28C4762F0078C12E /* RSDayFlow.h in Headers */, + 45EA2D1C28C4762F0078C12E /* RSDFDatePickerCollectionViewLayout.h in Headers */, + 45EA2D1928C4762F0078C12E /* RSDFDatePickerCollectionView.h in Headers */, + 45EA2D1A28C4762F0078C12E /* RSDFDatePickerMonthHeader.h in Headers */, + 45EA2D1E28C4762F0078C12E /* RSDFDatePickerView.h in Headers */, + 45EA2D2028C4762F0078C12E /* NSCalendar+RSDFAdditions.h in Headers */, + 45EA2D1B28C4762F0078C12E /* RSDFDatePickerDayCell.h in Headers */, + 45EA2D1828C4762F0078C12E /* RSDFDatePickerDate.h in Headers */, + 45EA2D2128C4762F0078C12E /* RSDFDatePickerDaysOfWeekView.h in Headers */, + 45EA2D1F28C4762F0078C12E /* RSDFDatePickerView+Protected.h in Headers */, ); runOnlyForDeploymentPostprocessing = 0; }; @@ -156,7 +158,7 @@ A5BE39341B32B49D00ECDF88 /* Project object */ = { isa = PBXProject; attributes = { - LastUpgradeCheck = 0700; + LastUpgradeCheck = 1340; TargetAttributes = { A5BE393C1B32B49D00ECDF88 = { CreatedOnToolsVersion = 6.3.2; @@ -165,10 +167,11 @@ }; buildConfigurationList = A5BE39371B32B49D00ECDF88 /* Build configuration list for PBXProject "RSDayFlow" */; compatibilityVersion = "Xcode 3.2"; - developmentRegion = English; + developmentRegion = en; hasScannedForEncodings = 0; knownRegions = ( en, + Base, ); mainGroup = A5BE39331B32B49D00ECDF88; productRefGroup = A5BE393E1B32B49D00ECDF88 /* Products */; @@ -216,13 +219,24 @@ 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"; @@ -246,7 +260,7 @@ GCC_WARN_UNINITIALIZED_AUTOS = YES_AGGRESSIVE; GCC_WARN_UNUSED_FUNCTION = YES; GCC_WARN_UNUSED_VARIABLE = YES; - IPHONEOS_DEPLOYMENT_TARGET = 8.0; + IPHONEOS_DEPLOYMENT_TARGET = 12.0; MTL_ENABLE_DEBUG_INFO = YES; ONLY_ACTIVE_ARCH = YES; SDKROOT = iphoneos; @@ -264,13 +278,24 @@ 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"; @@ -287,7 +312,7 @@ GCC_WARN_UNINITIALIZED_AUTOS = YES_AGGRESSIVE; GCC_WARN_UNUSED_FUNCTION = YES; GCC_WARN_UNUSED_VARIABLE = YES; - IPHONEOS_DEPLOYMENT_TARGET = 8.0; + IPHONEOS_DEPLOYMENT_TARGET = 12.0; MTL_ENABLE_DEBUG_INFO = NO; SDKROOT = iphoneos; TARGETED_DEVICE_FAMILY = "1,2"; diff --git a/RSDayFlow.xcodeproj/xcshareddata/xcschemes/RSDayFlow.xcscheme b/RSDayFlow.xcodeproj/xcshareddata/xcschemes/RSDayFlow.xcscheme index 5d9f7c4..907061e 100644 --- a/RSDayFlow.xcodeproj/xcshareddata/xcschemes/RSDayFlow.xcscheme +++ b/RSDayFlow.xcodeproj/xcshareddata/xcschemes/RSDayFlow.xcscheme @@ -1,6 +1,6 @@ - - - - -#import +#import "RSDFDatePickerDate.h" NS_ASSUME_NONNULL_BEGIN diff --git a/RSDayFlow/RSDFDatePickerDaysOfWeekView.h b/RSDayFlow/include/RSDFDatePickerDaysOfWeekView.h similarity index 100% rename from RSDayFlow/RSDFDatePickerDaysOfWeekView.h rename to RSDayFlow/include/RSDFDatePickerDaysOfWeekView.h diff --git a/RSDayFlow/RSDFDatePickerMonthHeader.h b/RSDayFlow/include/RSDFDatePickerMonthHeader.h similarity index 98% rename from RSDayFlow/RSDFDatePickerMonthHeader.h rename to RSDayFlow/include/RSDFDatePickerMonthHeader.h index fa90a83..b501eaf 100644 --- a/RSDayFlow/RSDFDatePickerMonthHeader.h +++ b/RSDayFlow/include/RSDFDatePickerMonthHeader.h @@ -24,7 +24,7 @@ // #import -#import +#import "RSDFDatePickerDate.h" NS_ASSUME_NONNULL_BEGIN diff --git a/RSDayFlow/RSDFDatePickerView+Protected.h b/RSDayFlow/include/RSDFDatePickerView+Protected.h similarity index 98% rename from RSDayFlow/RSDFDatePickerView+Protected.h rename to RSDayFlow/include/RSDFDatePickerView+Protected.h index bd5a6d5..b8daa8d 100644 --- a/RSDayFlow/RSDFDatePickerView+Protected.h +++ b/RSDayFlow/include/RSDFDatePickerView+Protected.h @@ -23,7 +23,7 @@ // THE SOFTWARE. // -#import +#import "RSDFDatePickerView.h" NS_ASSUME_NONNULL_BEGIN diff --git a/RSDayFlow/RSDFDatePickerView.h b/RSDayFlow/include/RSDFDatePickerView.h similarity index 100% rename from RSDayFlow/RSDFDatePickerView.h rename to RSDayFlow/include/RSDFDatePickerView.h diff --git a/RSDayFlow/RSDayFlow.h b/RSDayFlow/include/RSDayFlow.h similarity index 75% rename from RSDayFlow/RSDayFlow.h rename to RSDayFlow/include/RSDayFlow.h index 74b74d9..7af110f 100644 --- a/RSDayFlow/RSDayFlow.h +++ b/RSDayFlow/include/RSDayFlow.h @@ -30,14 +30,14 @@ #ifndef RSDayFlow_RSDayFlow_h #define RSDayFlow_RSDayFlow_h -#import -#import -#import -#import -#import -#import -#import -#import -#import +#import "RSDFDatePickerView.h" +#import "RSDFDatePickerView+Protected.h" +#import "RSDFDatePickerDate.h" +#import "RSDFDatePickerDaysOfWeekView.h" +#import "RSDFDatePickerCollectionView.h" +#import "RSDFDatePickerCollectionViewLayout.h" +#import "RSDFDatePickerMonthHeader.h" +#import "RSDFDatePickerDayCell.h" +#import "NSCalendar+RSDFAdditions.h" #endif diff --git a/RSDayFlow/RSDayFlow.modulemap b/RSDayFlow/include/RSDayFlow.modulemap similarity index 100% rename from RSDayFlow/RSDayFlow.modulemap rename to RSDayFlow/include/RSDayFlow.modulemap