Profile Photo
With the following view.onReceive(     Timer.publish(         every: TimeInterval(60),         on: .current, in: .common     ) ) { _ in } If the app enters background, is the timer publisher suspended automatically? If the app enters foreground later, is the timer publisher resumed automatically?
in SwiftUI
Profile Photo
I am getting an error when trying to fetch objects in SwiftUi in a form sheet modal in iOS 13.   Here's the error: [SwiftUI] Context in environment is not connected to a persistent store coordinator: <NSManagedObjectContext: 0x600003218620>   I am able to run a fetchRequest from a list view, but not in the modal. Has anyone else seen this… (Show more)
in iOS 13 beta
Profile Photo
How to add 2 navigationBarItems onto a navigation bar, one leading and one trailing?
in SwiftUI
Profile Photo
Color's methods such as saturation(), brightness() return View, so do View's methods with the same names. Shouldn't Color's methods return Color, for color manipulation?
in SwiftUI
Profile Photo
Is it possible to get the preferred size of Text to position it? A font modifier may be applied to the parent View to change the size.
in SwiftUI
Profile Photo
How to animate color changes with Color structure and Animatable protocol? AnimatableData supports floating point types only.   (Edited.)
in SwiftUI
Profile Photo
How to convert a UIColor to Color for use in SwiftUI?
in SwiftUI
Profile Photo
I tried to validate an app in Xcode 10.3, and got an error:   Invalid Info.plist Key. The key 'UIUserInterfaceStyle' in the Payload/AppName.appInfo.plist file is not valid.   No problem yesterday with the same key.
in App Submission and Review
Profile Photo
UI element colors and standard colors (UIColor properties) are unavailable on watchOS. If I use them on iOS, how to match the colors on watchOS?
in Cocoa Touch
Profile Photo
GeometryReader { geometry in     let len = geometry.size.width * 0.4     Path { path in         ...     } } breaks the compiler in Xcode 11 beta 4. Without line 2 it passes compilation. Is it not permitted to declare local contants and variables in GeometryReader?
in SwiftUI