Swift5 Questions
Ad
SwiftUI function shows "Modifying state during view update, this will cause undefined behavior."
The code works in that it brings up 5 random consonants and 2 vowels just like i want, but it is showing a warning message that "modifying
Swift 5: I have a problem when I try to instantiate a viewmodel for testing
I'm trying to instantiate my viewmodel for testing, in this case i don't need its parameters, but as it asks me to add them, when i try i get an
Unable to pass image downloaded from the firebase database
I cannot have the image shown on the detailviewcontroller which i retrieve from the firebase database. i've tried to solve it by looking
How to retrieve child data from firebase realtime database on Swift 5
I am facing with firebase problem for 2 days and couldn't handle it. here is my realtime database
Wait for image to be uploaded before continuing function - Swift 5 Firebase Storage
I'm trying to upload an image using firebase storage. the problem i'm having is when i'm calling my image upload function, the upload task is very
Show an Image in applicationWillResignActive in Swift 5
So, i'm trying to show an image on the recent screen when the app goes to the background. i have achieved a blur effect, but i want to replace the
Selector UIView.endEditing crashing with UIBarButtonItem but it's working with UITapGestureRecognizer Swift 5
I want to dismiss keyboard when click on done button of uibarbuttonitem and i don't want to add selector function @objc method.
Modifying user input in Swift
I'm trying to learn swift and have gone through several tutorials, however, i seem to be going in circles and need some direction on how to solve
Setting UIBarButtonItem appearance is only working after a delay
I am setting all of my appearance() overrides in func scene(_ scene: uiscene, willconnectto session: uiscenesession, options
How to use advanced navigation on Tab Bar Controller
I have a tabbarcontroller with 5 options. first tabbaritem is homescreen, second is taking me to a deep navigation workflow. when i'm
Ad
Modal View not displaying bottom view correctly
I am currently presenting a modal with a view at the bottom. unfortunately, when the modal is displayed, the view controller is pushed down some
Swift KeyPath on optional value
If i have class info { var name: string? } class user { var info: info? } class wrappedclass { var user: user =
Can not see the navigation bar in screen
I am trying to open new uiviewcontroller with navigation bar when button is clicked. but i can not see the navigation bar. i only see what
How can I translate this code from objective-C to Swift?
I'm having some trouble translating this old code from objective-c to swift language, i don'get to fully understand what it does therefore i don't
AppDelegate.Swift compile error after updating to Swift 5
I recently updated a project after not touching it for a year or two, and now i'm having some issues. everything worked before and i even
Ad
Blog Categories
Ad