I'm not sure if this is an antipattern in this brave new SwiftUI world we live in, but essentially I have an @EnvironmentObject with some basic user information
I am trying to add a dependency on a local swift package in my Xcode project. (I don't want to add a dependency using a file url file://me/dev/app/package as th
I've run unit tests from the command line like this: xcodebuild \ -resultBundlePath Example.xcresult \ -workspace Example.xcworkspace \ -scheme Exa
I have changed my app target to IOS 13 to check the deprecated methods in my app and I am getting below warning: 'UIApplicationDidChangeStatusBarOrientati
I'm trying to figure out how to use the navigation bar in SwiftUI I want to put BarButtonItem and images inside the NavigationBar I have been able to display
I have a Mac early 2011 running MacOS high sierra 10.13.6. My Mac can't upgrade to higher MacOS versions. I need to install XCode 11 to take advantage of Swift
I´m trying to get the new Canvas feature from Xcode 11 running, but the Canvas won´t show up. What am I doing wrong? This new Xcode feature should s
When I try to re-name any variable, Xcode give me the following error: I have tried restarting Xcode but the same thing happens. Any ideas how to fix?
I am trying to upload my app to the app store. I can archive my app and successfully upload to App Store Connect, however, it keeps getting rejected with the fo
please help me to set image in macOs application using swiftUI Here is my Implementation: import SwiftUI struct SigninView: View { var body: some View {
I want to share unsigned xcarchive. To make unsigned xcarchive. I set Provisional profile and Signing Certificate as None. I have crated Xcarchive with below co
When added a long text inside a text view, it works as expected (not truncated). Xcode 11.0 beta 6 (11M392q) import SwiftUI struct ContentView: View { v
Default swift project with view controller embedded in navigationController and pushing to next UIHostingController. How to call navigationController?.popViewC
no code to show here, but I would like to know how it may be possible to do this. I have tried to use .blur(radius: (20) on a view, but it tends to blur the
I have my custom framework and it works properly in XCode 10. I rebuild it in XCode 11 beta 3, then integrated into the app, and get the following error: Could
I have one of my application, that is created in Xcode 8. I have used CoreLocation and MapKit in that app. I have update app with latest iOS till now. and it w
To exclude entire sections of a file, I can use macros to target platforms such as #if os(iOS) || os(watchOS). Is there a way to do this in Package.swift, or
I'm running Xcode 11 Beta 4. I'm using CocoaPods, and wanted to use one of my dependencies with Swift Package Manager as a static library instead of as a framew
I know we can open multiple previews of different screens at the same time in SwiftUI. Can anyone help me with the steps to achieve that?