Ios swift – How to make this type of card component
I am just wondering what are a component to make a Ui design card.cause I saw a lot of these cool card design on pinterest and I was wondering how to make it. Like what are the component to make…
I am just wondering what are a component to make a Ui design card.cause I saw a lot of these cool card design on pinterest and I was wondering how to make it. Like what are the component to make…
I have a SwiftUI view where I display a background image with a mockup of an iPhone over it. The mockup has a transparent area to show the background image. I want to add a Color.black.opacity(0.2) overlay to darken the…
Whenever I have an image asset in my Asset catalog that has variations for devices, macCatalyst won't find the asset. This issue does not occur on iOS or iPadOS, just macCatalyst. Once I delete all variations, the image shows up…
I have a project connected to the FirebaseSDK which runs perfectly fine in Build, Simulator, Preview, and when Run on my iPhone 16 Pro. However, I need to use the GoogleMaps SDK. When I install the package (https://github.com/googlemaps/ios-places-sdk) following the…
Been trying to find a solution to dynamically detect the Background Color / the color underneath the View you want to modify, since I may want to have readable text over a Image without resorting to using an average color…
I want to make a TextField in SwiftUI that adjusts its width dynamically based on the content, without adding extra spacing. The TextField is part of an HStack with several Text views, and my goal is to have it appear…
I'm trying to decode this JSON called Menu.json [ { "day": "Monday", "locationName": "Memorial Union Quad", "coordinate": [38.54141, -121.74845], "menu": { "Penne Pasta w/ Bolognese" : ["🌾","🐷"], "Penne Pasta w/ Roasted Mushrooms" : ["🌾","V"] } }, { "day": "Tuesday", "locationName":…
I have a EditTapasView which is there to edit any Tapas created by the user. To create one, they can press a "New Tapas" button, sending them to exactly this EditTapasView with a newly created Tapas. Until now it all…
I have a view which I use throughout my app on various pages. The view shows an image and a label, in this case the city name. import SwiftUI import Kingfisher struct CityView: View { @EnvironmentObject private var cityViewModel: CityViewModel…
I have an array of elements that contains a nested array of other elements inside. When deleting a row of an array, sometimes a crash occurs with the message 'Swift/ContiguousArrayBuffer.swift:600: Fatal error: Index out of range' not pointing at concrete…