Post

Replies

Boosts

Views

Activity

Reply to Value based colors
I'm trying to plot 2 lines (daily minimum and maximum temperatures). PointMark's do have individual colors, but look like crowded dots, and lose the sense of 2 lines, so it's not a good solution.
Topic: UI Frameworks SubTopic: SwiftUI Tags:
Jul ’22
Reply to WidgetEntryPointFactory' does not conform to `NonUIEntryPoint` when previewing watch widget
In Xcode 14 beta 3, create a watch only app, create a widget extension: RemoteHumanReadableError: Type 'WidgetEntryPointFactory' does not conform to NonUIEntryPoint (in framework at path /System/Library/PrivateFrameworks/ChronoCore.framework/Support/WidgetPreviewsExtensionAgent.bundle) ================================== |  MessageSendFailure: Message send failure for <ServiceMessage 43: update>
Jul ’22
Reply to App group shared user defaults
It's new code. After sharing data with statements like following: @AppStorage("variable", store: UserDefaults(suiteName: "group.com.company.App")) var variable I don't seem to get any data shared from iOS app to watch app. Xcode 14 beta 3 gives warning: [User Defaults] Couldn't read values in CFPrefsPlistSource<0x14698af0> (Domain: group.com.company.App, User: kCFPreferencesAnyUser, ByHost: Yes, Container: (null), Contents Need Refresh: Yes): Using kCFPreferencesAnyUser with a container is only allowed for System Containers, detaching from cfprefsd
Topic: App & System Services SubTopic: General Tags:
Jul ’22
Reply to Explain Map() position
It seems the behavior of fallback automatic. After initial display, setting position programmatically has no effect -- I wrote a feedback on this bug. In my app, tapping the user location button has no effect either, but I couldn't create a simple app to reproduce it.
Topic: UI Frameworks SubTopic: SwiftUI Tags:
Jun ’23