I have a @Published property in ViewModel and .onReceive in View. When my @Published var changes the .onReceive is not even executed. View is
I have a UITextView and I want to line break each time a user is extending a limit of chars per line (let's say 30 chars per line is the maximum). And I want to
I can't change title color, which is white by default and when my background color is white too, it's invisible. How can i change it to the black color? enter i
Using this Link I have added signature image annotation in PDF file But i could not find any guide for how to rotate and resize image annotation using the butto
I'm learning to animate collection views and currently use CollectionViewPagingLayout template. I want to use not only swipes for navigation in a collection vie
Recently we have migrated all of our iOS projects from GitLab to GitHub. However when we are trying to build the code using GitHub Actions(Fastlane) In our self
I read a similar question about that issue. But that only expand the button size use .padding(). The red region in the snapshot is the tappable area. The trai
I am working on changing types of notifications in my app to time-sensitive and active on iOS 15+. I noticed that if I go to iPhone settings -> Notifications
I am getting dynamic conditions through API to apply in the application. It could be any logical expression. The task is to run all the condition received in mo
How to convert a [String: Any] to [String: String] in Swift. I've tried to cast like this, but it didn't help: for (key, value) in dictionary { dictionary[
I have a class DataEntry that I want to store instances of in a Realm database, but i'm having issue instantiating a Realm. Here is my DataEntry class: class Da
in MapBox documentation for android there is LatLngBounds, but for iOS there are nothing, is there any way todo it for iOS
I know that Strings in Swift don't have Int indices as Swift supports Grapheme Clusters. But, when coming to Collections in Swift, Array supports Int indices bu
I am getting a worrying amount of EXC_BREAKPOINT crashes in crashlytics for my iOS swift app. I tried fixing the bug by looking at the method 'populate(user:wi
//First way var myVar: String = " Hello" print(myVar) //Second way var str = "Hello" print(str) I get the same output no matter which of the two I use. What's
For my school project, i want to create a MacOS application that communicates with my Arduino using a serial connection. I tried 2 different library (SwiftSeria
I have an if-else statement where I am checking if the value coming from user defaults is nil or not like this: if defaults.bool(forKey: "abcd") != nil{
I have two Circles to show a circle progress bar, one of these is the progress the another one is the background, but the progress circle doesn't show in my iPh
I am currently trying to show Routes in my app, but I get [UserSession] maps short session requested but session sharing is not enabled in the console. I separa
I have just updated to XCode 11.4 and some of my code has stopped working. I have some @Published struct variables in an ObservableObject. Previously, when I up