iOS swift passing BLE data to a separate class function
I am sure this has been answered somewhere, but I am not sure what to search for. I am in the early stages of a simple BLE iOS app and trying to work out how to transfer the incoming BLE…
I am sure this has been answered somewhere, but I am not sure what to search for. I am in the early stages of a simple BLE iOS app and trying to work out how to transfer the incoming BLE…
I want to create UIImage(urlString: String?). There is no error when I run this code but it is not working. extension UIImage { convenience init?(urlString: String?) { var imageData = Data() guard let urlString = urlString else { return nil}…
I am building a flutter chat app, here on running it on an ios device, I am getting the below error. ld: building for iOS Simulator, but linking in dylib built for iOS, file '/Users/drole/Documents/chat/ios/Pods/AgoraRtcEngine_iOS/AgoraAIDenoiseExtension.framework/AgoraAIDenoiseExtension' for architecture arm64 What should…
I intended to display data from my Firestore Database into my app using the TableViewCell. It supposed to show the bookTitle, bookAuthor and bookSummary but the bookAuthor does not show up. Below is my code. func tableView(_ tableView: UITableView, cellForRowAt…
I am trying to test some code on Xcode playground. I am receiving the following error: 'Failed to prepare for communication with playground for an unknown reason.' When I press the play button nothing happens - I have copied the…
Good day everyone I want to create a function that takes an array of strings and return an array, sorted from shortest to longest but I'm getting a terminated by signal 4 error. I'm using an online swift compiler on…
What is the difference between deep copy and shallow copy on iOS world?? Please answer to this question very detailized!! e.g a piece of code class A { var name: String init(name: String) { self.name = name } } var…
I have successfully built an app using Mac Catalyst. It runs on iPhone, iPad, and M1 Macs, and is available now in the App Store as "Designed for iPad". So far, so good. But it's not available for Intel-based Macs,…
I am trying to decode an api response that just responds with an array. All the examples I see for using responseDecodable are a dictionary with a data key or something. But when I just pass [Movie].self into as the…
Problem Want to perform operation BitwiseAND(UIImage1, UIImage2) this is function of OpenCV framework. UIImage1 is already presented in MainVC: @IBOutlet weak var presentedImage: UIImageView! So, UIImage2 must be picked additionally, whenever user wants it. Worth to mention : @IBOutlet weak…