Api calls architecture in Swift
I want to know what is the best and cleaner architecture to implement API Calls in swift
How to Animate Transition Between a UICollectionViewCell and a SwiftUI View in iOS?
I have a HomeViewController that contains a UICollectionView with cells displaying images of size 200×200. When a cell(catogary) is tapped, it navigates to another UIViewController with an animated transition. The animation is that the image expands and then bounces to the top of the viewController’s view taking half of the hight of the screen and the other half is a Table view Cells(subcatogaries of the main catogary).
iOS 18 breaks design of SwiftUI Toggle buttons
inside a List
, I have a simple Toggle
.
I use this in the main column of a NavigationSplitView
.
SwiftUI .toolbar not showing at bottom of screen
new coder here, and I am learning SwiftUI for the first time. I started an iOS coding journey this year after not having coded since 2005, when I last coded a social media website using HTML, CSS, and Cold Fusion7. I have been following tutorials for a while and cannot get past this bug that doesn’t generate any errors. I may have my .toolbar embedded in the wrong area of my View Controller. But the toolbar refuses to show at the bottom of the screen. See the two screenshots. One shows the toolbar, but the report title and select button are not at the top of the screen. The other is where I fixed the select/edit button, but the toolbar is missing.
SwiftUI with localized views in packages won’t show previews
I have created this localized SwiftUI Test-Project, and I set up this project with a localization package and 2 packages with different views, one using the other one.
Publishing Changes from Background Thread using DispatchQueue.main.async not working
I am struggling to understand why I get this Error:
[SwiftUI] Publishing changes from background threads is not allowed; make sure to publish values from the main thread (via operators like receive(on:)) on model updates.
Fill height for children in HStack?
A similar question has been answered for Android Compose in this post. I was wondering if the same can be done for SwiftUI?
SwiftUI – Accessibility set focus on navigation title
I’m trying to set the VoiceOver focus to be on the navigation title when the user first opens a page. I’ve done this with UIKit using the UIAccessibility post(notification:argument:)
function, but unsure how to accomplish this with SwiftUI.
iOS dividing the screen into equal parts in interface design
I attended the interface certification program of the University of California. I’m having a version problem because the trainings are old. My homework is due and I can’t finish it.
The Background Modes capability should not be varied by configuration
Why Xcode is showing this popup while I checked any option from Background Modes.
The Background Modes capability should not be varied by configuration. Make changes to Background Modes by changing all configurations.
. Secondly, why is pop is appearing ?