Good day,
I have hard data in the form of an array (which will eventually be replaced by a CMS) on one view. This view creates card like tiles that displays a bit of data from that array list items. I then would like to display that data in full again, in a different view when the user clicks on one of the tiles. I am very very new to SwiftUI, please forgive me.
I believe that I must use @ObservableObject and @ObservedObject, but I am unsure how to apply it. Below is a code snippet...
var draftData = [
Draft( title: "Beer 1", type: "NEIPA 7.5%", desc: "This beer x y z 1 2 3 description here."),
	Draft( title: "Beer 1", type: "NEIPA 7.5%", desc: "This beer x y z 1 2 3 description here."),
	Draft( title: "Beer 1", type: "NEIPA 7.5%", desc: "This beer x y z 1 2 3 description here."),
]
Now, in the view that this is in I can simply just define that those items are strings, then call them as shown below, but I am unsure how I could call it on a whole different view?Text(draft.title)
Post
Replies
Boosts
Views
Activity
Upon attempting to launch XCode 11.7 or 12 Beta, I get the following error...
Running MacBook on macOS Catalina 10.15.7 (19H2)
"Loading a plug-in failed.
The plug-in or one of its prerequisite plug-ins may be missing or damaged and may need to be reinstalled."
I have attempted the following..
Reinstall XCode 11.7 from Apple Website Download
Reinstall XCode 12 Beta from App Store
Reinstall XCode 12 Beta from Apple Website Download
Install XCode 12 Beta on a different account
Contact Apple via Feedback Assistant
Contact Apple via Apple Support Chat
All the above have yielded negative results. Is there any location in which would have a log of sorts to tell me what plug in would be causing this issue?
I am creating an application which utilizes SwiftUI and Apple's MapKit api. The goal is to create a map with custom annotations, I have been successful in this quest however I am having issues with Map Annotation Clustering.
I suppose what I'm looking to determine is if I am required to use UIKit with MKMapView in hopes to be able to create clustering map annotations or if there is a method utilizing the above aforementioned SwiftUI Map Struct along slide the MapAnnotation Struct to complete this task?
I'm looking to see if someone could point me in the right direction in terms of understanding what's needed for to host a backend server for the new Push To Talk API. Additionally, I'm curious to know what type of latency times people are getting. We've ran a mumble server which unfortunately had a considerable amount of latency.
I am buidling out a SwiftUI application which uses DataScannerViewController passed through a UIViewControllerRepresentable. WIth that said, I'd like to create a method to allow the user to change the quality level as they see fit however, every time I attempt to do so, the compiler tells me the below message which obviously means it's not mutable.
Cannot assign to property: qualityLevel is a let constant
Is there a known way to change this on the fly, or once the ViewController sets it - it's set and cannot be changed?
Recently have been working on this project just fine... had an app throw a warning for some malware called InstallCore. Removed the malware and now I am getting this on every preview, regardless of the device preview type.
I've tried clearing derived data, cache, etc. No dice.
Could not install the preview host "AppName.app" on iPhone 14 Pro Max: Failed to get parent identifier for BUNDLEIDENTIFIER.
I am attempting to upload an application to the App Store. I archive the build just fine however when I attempt to distribute it to TestFlight / App Store the progress continues until the Signing ipa portion and fails, crashing Xcode and returning the below information. I am unsure what to look for in my Info.plist file.
-------------------------------------
Translated Report (Full Report Below)
-------------------------------------
Process: Xcode [15710]
Path: /Applications/Xcode.app/Contents/MacOS/Xcode
Identifier: com.apple.dt.Xcode
Version: 15.0 (22265)
Build Info: IDEApplication-22265000000000000~3 (15A240d)
Code Type: ARM-64 (Native)
Parent Process: launchd [1]
User ID: 501
Date/Time: 2023-10-30 21:18:31.3872 -0400
OS Version: macOS 13.6 (22G120)
Report Version: 12
Anonymous UUID: BEF69C9D-CF8D-5B49-999B-99E7E49C1E3B
Sleep/Wake UUID: FDEB6246-B8CE-4202-8970-1130064E877D
Time Awake Since Boot: 21000 seconds
Time Since Wake: 20425 seconds
System Integrity Protection: enabled
Crashed Thread: 0 Dispatch queue: archive info plist lock
Exception Type: EXC_CRASH (SIGABRT)
Exception Codes: 0x0000000000000000, 0x0000000000000000
Termination Reason: Namespace SIGNAL, Code 6 Abort trap: 6
Terminating Process: Xcode [15710]
Application Specific Information:
abort() called
com.apple.main-thread
As the title states, I'm trying to apply a .popoverTip to a Menu { } which is inside of a .toolbar { }. The toolbar has default placement and the menu includes a toggle button, and a NavigationLink.
I've ensured that tips can show on the view by using a TipView(tip: ) within my view which displays. Am I missing something? Is this not possible?
Alternatively, can anyone recommend a method to potentially debug why a tip won't show for future debugging?