diff --git a/CalculateCalendarLogic.podspec b/CalculateCalendarLogic.podspec index 33b69e0..eecbf1f 100644 --- a/CalculateCalendarLogic.podspec +++ b/CalculateCalendarLogic.podspec @@ -1,7 +1,7 @@ Pod::Spec.new do |s| s.name = "CalculateCalendarLogic" s.swift_versions = '5.0' - s.version = "0.6.0" + s.version = "0.6.1" s.summary = "This library CalculateCalendarLogic (sample project name is handMadeCalendarAdvance) can judge a holiday in Japan." s.description = <<-DESC This library 'CalculateCalendarLogic' can judge a holiday in Japan. diff --git a/Package.swift b/Package.swift index ad48299..a2477cd 100644 --- a/Package.swift +++ b/Package.swift @@ -1,4 +1,4 @@ -// swift-tools-version:5.3 +// swift-tools-version:5.7 // The swift-tools-version declares the minimum version of Swift required to build this package. import PackageDescription diff --git a/handMadeCalendarAdvance.xcodeproj/project.xcworkspace/contents.xcworkspacedata b/handMadeCalendarAdvance.xcodeproj/project.xcworkspace/contents.xcworkspacedata index e83e691..919434a 100644 --- a/handMadeCalendarAdvance.xcodeproj/project.xcworkspace/contents.xcworkspacedata +++ b/handMadeCalendarAdvance.xcodeproj/project.xcworkspace/contents.xcworkspacedata @@ -2,6 +2,6 @@ + location = "self:"> diff --git a/handMadeCalendarAdvance/NewCalendarViewController.swift b/handMadeCalendarAdvance/NewCalendarViewController.swift index 461da11..11b8ab3 100644 --- a/handMadeCalendarAdvance/NewCalendarViewController.swift +++ b/handMadeCalendarAdvance/NewCalendarViewController.swift @@ -59,7 +59,7 @@ class NewCalendarViewController: UIViewController { extension NewCalendarViewController: UICalendarViewDelegate { // CalendarViewに適用する装飾を決定する - // 👉 このコードでは祝祭日の部分にオレンジの🗓マークを付与する + // 👉 このコードでは祝祭日の部分にオレンジの🏴マークを付与する // 参考: https://www.fuwamaki.com/article/353 @available(iOS 16.0, *) func calendarView(_ calendarView: UICalendarView, decorationFor dateComponents: DateComponents) -> UICalendarView.Decoration? { @@ -69,7 +69,7 @@ extension NewCalendarViewController: UICalendarViewDelegate { return nil } if holidayObject.judgeJapaneseHoliday(year: targetYear, month: targetMonth, day: targetDay) { - return .image(UIImage(systemName: "calendar"), color: .orange, size: .medium) + return .image(UIImage(systemName: "flag.2.crossed.fill"), color: .orange, size: .medium) } else { return nil }