My tableview does not show cell data until I tap on back button and return to table view controller. My app is loading data from Firebase. class ViewPostsViewCo
This is my Model: class Api { func getRockets(completion: @escaping ([Rocket]) -> ()) { guard let url = URL(string: "https://api.spacexdata.com/v
I'm new to combine and URLSession and I'm trying to find a way to log in after I get a 401 error back. My Set up for the URLSession. APIErrors: enum APIError:
I've only been programming for a month, and I am trying to cobble together a mockup and I keep getting the following error: Terminating app due to uncaught exc
In my project I was dealing with this issue. After many hours, I was able to track down the causes and reduce them into a small demo, but do not understand the
The setup is quite simple: State/Observable/Computet property, let's call it S1 Views (V1, V2) that depend on S1 The following conditions must hold: V1 should h
import Foundation import AVFoundation @available(iOS 14, *) extension AVAudioSession { class func set(category: AVAudioSession.Category = .playback) {
struct Classroom: Codable { let teacher: String let id: Int let status: Bool init(from decoder: Decoder) throws { ... ... } }
This will soon be my first time publishing an iOS app, and I just finished writing my privacy policy and terms & conditions texts. Best idea I came up with
What is the proper way to save time to Firestore & how do I get back the values to compare them & determine if a subscription is expired? I am currently
Is it possible to support moving rows in a SwiftUI Table view? I know there's List which can optionally support selection and drag-and-drop to move single or mu
I have the following Swinject implementation in my app - import Foundation import Swinject @propertyWrapper struct Inject<Component> { let wrappedVal
I'm developing in SwiftUI and I want to get a message when I get a push notification so I can navigate to a specific part of the app. After googling I can't ge
I have a project that mixes Swift and objective c. The controller for my preference panes is written in Swift. I can’t seem to read those preferences in O
This is a library that doesn't have a very great documentation, In the past, I had problems migrating from a previous version to a modern version, and now, I ha
When I make project with AVFoundation library it is possible to make recording my voice. But when call comes and when I call the somebody record being disabled
This issue does not exist when my app is run on the iPhone, and it also doesn't exist in the simulator, but whenever I run the app on my physical iPad this weir
I have encountered the problem "Cannot assign to property: 'self' is an immutable capture". How can i call API to check status and update "getUpdateSuccess" pa
I am working on UIDocumentPickerViewController() in swift. After opening the document picker the files and images look blur and I can't able to select anyone of
I'm trying to customize a UITabBar using Swift in Xcode, however I can't figure our how to set the color of the unselected items using the menu on the right sid