By default, on a macOS app using SwiftUI the window size is not restored after the window is closed. Is there a way to keep whatever size & position the use
The ZkSync documentation states that a deposit has to be made from an existing Ethereum account to a non-existing ZkSync account counterfactually in order to cr
I have an ObservableObject which can do a CPU-bound heavy work: import Foundation import SwiftUI @MainActor final class Controller: ObservableObject { @Pub
I'm implementing a very basic task (download few files from a remote server) on an existing app, to exercise the new Swift Concurrency APIs. The task is done fl
Hi i want to use swift gRPC and install in my mac, i already install with homebrew but can't generate the plugins. The error message is protoc-gen-swiftgrpc: pr
I've got a class currently something like this class Client { var responseOneDelegate: ResponseOneDelegate? var responseTwoDelegate: ResponseTwoDelegat
I am looking for a solution to create a macos windowless menu bar application with SwiftUI. I have implement the function ralated to the menu bar, the problem i
I have made a pretty simple costum TabView but when i enter the first view's navigation link and switch to other view using TabBar, then come back to the first
I have a CoreData base with 6 rows in it. I na ViewController, the data is displayed in a UITable, when I select a row in the table, the didSelectRow lists 6 ro
Is there a way that macOS/Swift app can retrieve Slack's currently-focused Workspace name and channel name? So, given that Slack app is running, is there any wa
I am beginner in SwiftUI, updating my app and remaking it on SWIFTUI. Here is the screenshot what I had to do... Screenshot I've successfully done actually the
I do a JSON Request and get some information. func parseJSON(poiData: Data) { let decoder = JSONDecoder() do { let decodedData = try decoder.dec
I have implemented a function, which allows me to find a SIMD3 Vector between two points. private func getMidPosition(_ a: SIMD3<Float>,
We have iOS apps that are built in Xamarin, swift and objective c. We change the authentication of those apps to use Azure AD to easily implement SSO using MSAL
How can I observe changes on an array with Combine framework but without SwiftUI? Basically, I want this sink block to get called when an element is added or re
I'm trying to create some functionality for uploading images to remote server using RxSwift. My upload function is below: func upload(image: UIImage) -> Sing
Say we have an AVCaptureAudioDataOutput object that has been set up with an AVCaptureSession to get data samples from the device's microphone. captureOutput(_:d
I have created a class called "AudioPlaybackManager" which is a MainActor class as a StateObject when the app starts up. Im getting this warning. How do I fix t
because of a requirement to auto remove Text after its appearance in 2 seconds, I want to write this operator but still cannot figure out the best way to implem
I'm trying to run this async function on Xcode Playground: import Foundation import PlaygroundSupport PlaygroundPage.current.needsIndefiniteExecution = true e