I'm trying to implement in SwiftUI where you press a button in a view on one tab, it changes to another tab. I would do with UIKit: if [condition...button press
I hope it's not a silly question, but why this iOS Swift code compiles successfully? import UIKit import ARKit class ViewController: UIViewController {
I've been struggling to convert the code from Python to Swift and can't get the same signature value. I've been trying different combinations in Swift but my re
I'm trying to create a view that has some labels and a UITableView. First of all i tried to create a UIView => UIScrollview => UIView + UITableView After
Currently I have a view that looks like this. struct StatsView: View { var body: some View { ScrollView { Text("Test1") Tex
I am trying to create a view in SwiftUI where the background of the image on the left should scale vertically based on the height of the text on the right. I t
I have students using Google Places AutoComplete with iOS UIKit and Swift. Students with M1 Macs still seem to not be able to use the simulator with this SDK an
After updating to Xcode 13 and trying to run my app on an iOS 15.4 simulator, I get the following error (note, this is not a repeat question). This error doesn'
I am using Tab Navigation which contains two screen, I need to make the background of each screen transparent so the app background is visible. This is how it l
Error in console: Warning: CocoaPods not installed. Skipping pod install. CocoaPods is used to retrieve the iOS and macOS platform side's plugin code that respo
I am using AppAuth (0.95) to access google mail on my IOS app. Before redirecting to google sign-in, i get an alert with this message. 'Appname' wants to use
I need to create tables with different number of fields for different users. I want to create a schema for each user, and in it a custom set of tables. I can do
I have standard iOS app, with a standard app icon contained in Assets. I'd like to display the app icon within the app (using SwiftUI). Note that I am not ask
Is there a way in Swift to capture events on a screen similar to how Event Delegation in JavaScript works? I would like to find a way to respond to events witho
I'm trying to change the cursor to a crosshair in SwiftUI on MacOS. I've put the following code into the AppDelegate applicationDidFinishLaunching() function:
I have a modal presented Sheet which should display based on a UserDefault bool. I wrote a UI-Test which dismisses the sheet and I use launch arguments to contr
During development I got a problem witch related to the connection central and peripheral. When one of the central already connected with perepheral I have to d
I am trying to add support for Swift Package Manager to one of my frameworks. The framework is iOS specific (I make use of UIKit on it), so I added the platform
let's say I have a string var a = "#bb #cccc #ddddd\u{ef}" and i am setting it to textview like this let text = a.trimmingCharacters(in: .whitespacesAndNe
I was wondering how I would make only sections of a text bold while keep the rest 'regular' in SwiftUI. I currently have: Text("Coronavirus Disease of 2019")