I have a ChildView with a variable: @Binding var itemName: String In this ChildView I have few buttons that change value of the variable: Button(action: {
I have developed my watch app for my iOS App. The problem is that I need to use WCSession logic in order to send data from iOS to the AppWatch and vice versa. I
Xcode gives the error: Function opaque return type was inferred as 'Button', which defines the opaque type in terms of itself on the line below: @State var sh
I am new to SwiftUI (iOS development). I would like to mimic the iOS Photos APP browsing behavior with SwiftUI. More specifically, I want to display a photo in
I want to change the current week title to two letters, eg: sun to su, mon to mo, in FSCalendar.
I am trying to add a dependency on a local swift package in my Xcode project. (I don't want to add a dependency using a file url file://me/dev/app/package as th
We were able to have custom raycasting using bitmasks: let hitTest = sceneView.hitTest(location, options: [categoryBitMask: bitmask]) But hitTest is deprecated
As administrator I want to create another users from the iOS app. In my system I would like users to be created via my admin panel. I have switched public permi
I am trying to record touches and finger movements that users perform on a 2018 MacBook Trackpad. When I try to test the API and print to console when the user
If I have stored a cancellable set into a ViewController: private var bag = Set<AnyCancellable>() Which contains multiple subscription. 1 - Should I canc
I have my user struct with has a dictionary of all their social medias. struct User: Identifiable { var id: String { uid } let uid, email, name, bio, profileI
I'm trying to give a shadow to Button using following code. Code: Button(action: { }) { Text("SIGN IN") .fon
I have a vertically scrolling collectionView where sections are scroll horizontally. How to know that section did end decelerating? If I use func scrollViewDidE
I am having a little trouble here: I have a class class TempC { func GetData(){ //do stuff } } And in ContentView I want to call the func
I initialized new react-native project with "react-native init ReactNStudy" for first time on my M1 Silicon Apple computer. Metro builder worked without any pro
i'm trying to create a view controller programmatically that will be opened if a cell on a table is clicked. i'm using a table view and i'm filling it with a xi
In an iOS app (using UIKit), a specific action should be performed when a UIView has been "seen" by the user for at least 30 seconds. A generic approach or an e
I want to create a local backup of the CoreData sqlite file, and then have the user choose the save location with a popup. I've attached the following fileExpor
So I'm digging into combine and this question came up. Is there any real difference between using CurrentValueSubject (and setting its value using currentValue
I have a horizontal collection view in my project which has 2 elements - a button and a label. Button and label are stuck to each other and then I want to show