From 5a5870068bd5562b4800748ee0c1991406a80264 Mon Sep 17 00:00:00 2001 From: Joe Ciou Date: Mon, 8 Apr 2019 14:30:18 +0800 Subject: [PATCH] Fix bug --- Example/JKCalendar-Example.xcodeproj/project.pbxproj | 4 ++-- Sources/Info.plist | 2 +- Sources/JKCalendarScrollView.swift | 2 +- Sources/JKCalendarTableView.swift | 2 +- 4 files changed, 5 insertions(+), 5 deletions(-) diff --git a/Example/JKCalendar-Example.xcodeproj/project.pbxproj b/Example/JKCalendar-Example.xcodeproj/project.pbxproj index 9bacc58..87776dd 100644 --- a/Example/JKCalendar-Example.xcodeproj/project.pbxproj +++ b/Example/JKCalendar-Example.xcodeproj/project.pbxproj @@ -186,7 +186,7 @@ files = ( ); inputPaths = ( - "${SRCROOT}/Pods/Target Support Files/Pods-JKCalendar-Example/Pods-JKCalendar-Example-frameworks.sh", + "${PODS_ROOT}/Target Support Files/Pods-JKCalendar-Example/Pods-JKCalendar-Example-frameworks.sh", "${BUILT_PRODUCTS_DIR}/JKCalendar/JKCalendar.framework", "${BUILT_PRODUCTS_DIR}/JKInfinitePageView/JKInfinitePageView.framework", ); @@ -197,7 +197,7 @@ ); runOnlyForDeploymentPostprocessing = 0; shellPath = /bin/sh; - shellScript = "\"${SRCROOT}/Pods/Target Support Files/Pods-JKCalendar-Example/Pods-JKCalendar-Example-frameworks.sh\"\n"; + shellScript = "\"${PODS_ROOT}/Target Support Files/Pods-JKCalendar-Example/Pods-JKCalendar-Example-frameworks.sh\"\n"; showEnvVarsInLog = 0; }; 19D9E6AA37C40B1A00D6F001 /* [CP] Check Pods Manifest.lock */ = { diff --git a/Sources/Info.plist b/Sources/Info.plist index 58241b6..76bf6f7 100644 --- a/Sources/Info.plist +++ b/Sources/Info.plist @@ -15,7 +15,7 @@ CFBundlePackageType FMWK CFBundleShortVersionString - 1.1.3 + 1.1.4 CFBundleVersion $(CURRENT_PROJECT_VERSION) NSPrincipalClass diff --git a/Sources/JKCalendarScrollView.swift b/Sources/JKCalendarScrollView.swift index af10cc4..6f2828b 100644 --- a/Sources/JKCalendarScrollView.swift +++ b/Sources/JKCalendarScrollView.swift @@ -27,7 +27,7 @@ import UIKit public class JKCalendarScrollView: UIScrollView { public let calendar: JKCalendar = JKCalendar(frame: CGRect.zero) - weak var nativeDelegate: UIScrollViewDelegate? + public weak var nativeDelegate: UIScrollViewDelegate? public var startsCollapsed: Bool = false private var first = true diff --git a/Sources/JKCalendarTableView.swift b/Sources/JKCalendarTableView.swift index 71dc3bb..f616db7 100644 --- a/Sources/JKCalendarTableView.swift +++ b/Sources/JKCalendarTableView.swift @@ -11,7 +11,7 @@ import UIKit open class JKCalendarTableView: UITableView { public let calendar: JKCalendar = JKCalendar(frame: CGRect.zero) - weak var nativeDelegate: UITableViewDelegate? + public weak var nativeDelegate: UITableViewDelegate? private var first = true private var rotating = false