I have 3 API call, all of them are being called using Publishers. API A & API B will be called first before API C got called. But API C should be called onl
In Xcode I have this app that uses tabBarItem. There are 5 items and occasionally when I'm on a specific page I get this weird overlay of the tabBarItems (see p
I'm need help in Swift, hope someone here can help me, I'm new and I don't understand exactly how to get values out of a nested JSON. this is what I have. In th
The WWDC21 talk below shows how to "Enhance your app with Metal ray tracing". How can I add Metal ray tracing to a SceneKit or RealityKit app? Any basic example
Views on Swift have a special property that allows them to add effects to it, which looks like this: view.addMotionEffect(interpolatingEffectCombined) Note tha
I am replacing my old JSON parsing code with Swift's Codable and am running into a bit of a snag. I guess it isn't as much a Codable question as it is a DateFor
I have this variable, timeRemaining and when a button is pressed it should subtract one from timeRemaining. I want the Text to update whenever the user clicks t
I'm just starting to code with Swift and I need help! I have authentication with firebase with email, I would like that after this login to show another view co
I am new to swift and am trying to build an app. I am receiving "Expected Declaration" error on Xcode when I type the following code. .edgesIgnoring
I have a list of strings filterList = ['x0', 'x1', 'x2'] My object is as follows: class Item: Object { @Persisted var name: String? } I want to get all obj
I created a framework writting on pure swift , but I cant find any .h file of public class . shouldn't Xcode generate .h file automaticly? here is project struc
I'm trying to create a string representing UInt64.max using NumberFormatter. Here's the code: let formatter = NumberFormatter() formatter.usesGroupingSepar
I have a horizontal ScrollView, and within it an HStack. It contains multiple Subviews, rendered by a ForEach. I want to make it so that when these Subviews are
Related to this I am trying to make an app based on Notes app. I set my iPhone text size to the smallest, and when the view changes, the texts on new view's to
I have a package (say, "PackageDemo") that is imported inside my application (say, "ApplicationDemo"). I have some methods in PackageDemo that needs data to be
I have a package (say, "PackageDemo") that is imported inside my application (say, "ApplicationDemo"). I have some methods in PackageDemo that needs data to be
I want to make a firestore call every time the app launches. but the line of accessing firestore or the completion is not being executed. class MoodAnalysisFire
Forgive me if explanation is not excellent. Basically, the video below shows the standard animation for hiding labels in a stack view. Notice it looks like the
I want to select an image from photos using new PHPickerViewController and I want to open PHPicker directly when my controller is load. Like this import UIKit
Is it possible to create an Airdrop bot that sends a picture automatically to nearby Apple devices? Like I choose the picture, turn on the bot, and go to a publ