diff --git a/README.md b/README.md index 53c55c6..078f163 100644 --- a/README.md +++ b/README.md @@ -5,6 +5,10 @@ iOS 16 버전부터 지원하는 ActivityKit을 사용한 잠금화면 위젯과 단순 샘플 앱이지만 출시까지 하려합니다. +## 미리보기 + + + ## 4 Layer 구성 - Feature diff --git a/taskfolio/DynamicWidget/DynamicWidgetLiveActivity.swift b/taskfolio/DynamicWidget/DynamicWidgetLiveActivity.swift index 89eb284..ca1578a 100644 --- a/taskfolio/DynamicWidget/DynamicWidgetLiveActivity.swift +++ b/taskfolio/DynamicWidget/DynamicWidgetLiveActivity.swift @@ -32,15 +32,18 @@ struct DynamicWidgetLiveActivity: Widget { Text(context.state.title) .font(.title2) + .foregroundColor(.white) Spacer() VStack { Image(systemName: context.state.isTimerActive ? "pause.circle" : "play.circle") .font(.title2) + .foregroundColor(.white) Text(TimeManager.shared.toString(second: Int(context.state.time))) .font(.caption) + .foregroundColor(.white) } } .padding() diff --git a/taskfolio/taskfolio.xcodeproj/project.pbxproj b/taskfolio/taskfolio.xcodeproj/project.pbxproj index d8765e1..de86a98 100644 --- a/taskfolio/taskfolio.xcodeproj/project.pbxproj +++ b/taskfolio/taskfolio.xcodeproj/project.pbxproj @@ -483,7 +483,7 @@ SKIP_INSTALL = YES; SWIFT_EMIT_LOC_STRINGS = YES; SWIFT_VERSION = 5.0; - TARGETED_DEVICE_FAMILY = "1,2"; + TARGETED_DEVICE_FAMILY = 1; }; name = Debug; }; @@ -510,7 +510,7 @@ SKIP_INSTALL = YES; SWIFT_EMIT_LOC_STRINGS = YES; SWIFT_VERSION = 5.0; - TARGETED_DEVICE_FAMILY = "1,2"; + TARGETED_DEVICE_FAMILY = 1; }; name = Release; }; @@ -655,9 +655,12 @@ MARKETING_VERSION = 1.0; PRODUCT_BUNDLE_IDENTIFIER = com.annapo.taskfolio; PRODUCT_NAME = "$(TARGET_NAME)"; + SUPPORTED_PLATFORMS = "iphoneos iphonesimulator"; + SUPPORTS_MACCATALYST = NO; + SUPPORTS_MAC_DESIGNED_FOR_IPHONE_IPAD = NO; SWIFT_EMIT_LOC_STRINGS = YES; SWIFT_VERSION = 5.0; - TARGETED_DEVICE_FAMILY = "1,2"; + TARGETED_DEVICE_FAMILY = 1; }; name = Debug; }; @@ -688,9 +691,12 @@ MARKETING_VERSION = 1.0; PRODUCT_BUNDLE_IDENTIFIER = com.annapo.taskfolio; PRODUCT_NAME = "$(TARGET_NAME)"; + SUPPORTED_PLATFORMS = "iphoneos iphonesimulator"; + SUPPORTS_MACCATALYST = NO; + SUPPORTS_MAC_DESIGNED_FOR_IPHONE_IPAD = NO; SWIFT_EMIT_LOC_STRINGS = YES; SWIFT_VERSION = 5.0; - TARGETED_DEVICE_FAMILY = "1,2"; + TARGETED_DEVICE_FAMILY = 1; }; name = Release; }; diff --git a/taskfolio/taskfolio.xcodeproj/project.xcworkspace/xcuserdata/moyoung.xcuserdatad/UserInterfaceState.xcuserstate b/taskfolio/taskfolio.xcodeproj/project.xcworkspace/xcuserdata/moyoung.xcuserdatad/UserInterfaceState.xcuserstate index e7a2387..36d8c13 100644 Binary files a/taskfolio/taskfolio.xcodeproj/project.xcworkspace/xcuserdata/moyoung.xcuserdatad/UserInterfaceState.xcuserstate and b/taskfolio/taskfolio.xcodeproj/project.xcworkspace/xcuserdata/moyoung.xcuserdatad/UserInterfaceState.xcuserstate differ diff --git a/taskfolio/taskfolio.xcodeproj/xcshareddata/xcschemes/DynamicWidgetExtension.xcscheme b/taskfolio/taskfolio.xcodeproj/xcshareddata/xcschemes/DynamicWidgetExtension.xcscheme new file mode 100644 index 0000000..ea70511 --- /dev/null +++ b/taskfolio/taskfolio.xcodeproj/xcshareddata/xcschemes/DynamicWidgetExtension.xcscheme @@ -0,0 +1,124 @@ + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + diff --git a/taskfolio/taskfolio.xcodeproj/xcshareddata/xcschemes/taskfolio.xcscheme b/taskfolio/taskfolio.xcodeproj/xcshareddata/xcschemes/taskfolio.xcscheme new file mode 100644 index 0000000..289a6ad --- /dev/null +++ b/taskfolio/taskfolio.xcodeproj/xcshareddata/xcschemes/taskfolio.xcscheme @@ -0,0 +1,78 @@ + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + diff --git a/taskfolio/taskfolio.xcodeproj/xcuserdata/moyoung.xcuserdatad/xcschemes/xcschememanagement.plist b/taskfolio/taskfolio.xcodeproj/xcuserdata/moyoung.xcuserdatad/xcschemes/xcschememanagement.plist index 8e06b56..d29af90 100644 --- a/taskfolio/taskfolio.xcodeproj/xcuserdata/moyoung.xcuserdatad/xcschemes/xcschememanagement.plist +++ b/taskfolio/taskfolio.xcodeproj/xcuserdata/moyoung.xcuserdatad/xcschemes/xcschememanagement.plist @@ -7,12 +7,12 @@ DynamicWidgetExtension.xcscheme_^#shared#^_ orderHint - 1 + 0 taskfolio.xcscheme_^#shared#^_ orderHint - 0 + 1 widgetExtension.xcscheme_^#shared#^_ @@ -20,5 +20,18 @@ 0 + SuppressBuildableAutocreation + + 70BCDFEB2A248117002AE1CC + + primary + + + 70D2F9062A1E128B00099F17 + + primary + + +