Search results for

column

2,061 results found

Post

Replies

Boosts

Views

Activity

Table TableColumn Metal failed to load render pipeline Failed to find reflection in binary archives
I created a new project in xCode 15 on MacOS 14. This project only has a View with a Table that has two columns. When I call the view I get the following error several times: Metal failed to load render pipeline: pipeline=PL008BsovXmw_TprcA3Xhf sdk=23A322 Failed to find reflection in binary archives Here is the code: struct Freunde: Identifiable { var id: UUID = UUID() var firstName: String = var lastName: String = init(firstName: String, lastName: String) { self.firstName = firstName self.lastName = lastName } } struct ContentView: View { @State var sortOrder = [KeyPathComparator(Freunde.firstName)] @State public var selectedItems: Set = [] @State var myList: [Freunde] = [ Freunde(firstName: Klaus, lastName: Kirchhoff), Freunde(firstName: Patrik, lastName: Grot), Freunde(firstName: Johannes, lastName: Gottfried), Freunde(firstName: Daniel, lastName: Schaedla) ] var body: some View { VStack { Table(myList, selection: $selectedItems, sortOrder: $sortOrder) { TableColumn(Vorname, value: .firstName) T
7
0
2.0k
Oct ’23
Confusing TestFlight stats
I'm confused by the stats on the TestFlight builds screen. See below. There are more crashes than sessions. So the definition of session can't quite be what I thought. Does a session have to last more than a certain amount of time to be included? Do sessions that end in a crash not count as sessions? Do multiple invocations within a short period of time count as a single session? The number of sessions falls over time. I.e. once I have released a new version, the reported Sessions numbers for older versions slowly fall. Maybe as soon as a user has used version N+1, all their sessions for version N are removed from the stats? The invites column is clearly the same for every version, while it should have been slowly increasing. Is there any value in these numbers?
1
0
692
Oct ’23
Reply to SwiftUI Table with TextField becomes unresponsive as entries increase
Hi, did you solve this? My guess is ( I didn't need it yet so far, but know I have to start about this next week ), but can't you make all the fields a Text and do a check if it is a row/column that should be ( by check double click or so ) edited replace the row with TextField's and change it back to Text. I think that you to have .modify one of the other to match each other visually. Beside that the var is used in all the rows and the same and is not usable to edit or change one people item. But if you found a solution then.... let us/me know.
Topic: UI Frameworks SubTopic: SwiftUI Tags:
Oct ’23
Reply to errSecInternalComponent building locally with Xcode
In the My Certificates tab, that certificate and its associated private key both show login in the Keychain column. I have several other development identities in my keychain and others are working, it's just this one that isn't. The others also have both their certificates and private keys in the login keychain.
Topic: Code Signing SubTopic: General Tags:
Oct ’23
Reply to errSecInternalComponent building locally with Xcode
Do you think this means I didn't correctly import the key initially? It’s possible, but I’m leaning towards the theory that something got borked in the interim. Or that the key was revoked and I need to check with the account holder? I doubt it was revoked. Revoking Developer ID certificates is tricky and, even if were revoked, Keychain Access wouldn’t get that error trying to export it. I suspect that your keychain is just broken in some way. However, I’ve one more test to run before I suggest remedial action: In Keychain Access, switch to My Certificates and find your Developer ID identity. Click the chevron to disclose the private key. Look at the Keychain column for both items. Are both items in the same keychain? Is it your login keychain? Or something else? Share and Enjoy — Quinn “The Eskimo!” @ Developer Technical Support @ Apple let myEmail = eskimo + 1 + @ + apple.com
Topic: Code Signing SubTopic: General Tags:
Oct ’23
Reply to Xcode 14.3 - Multiple commands produce swiftsourceinfo
Here's how I fixed it... Select your Extension target and go to Build Settings Search for module and look for Packaging -> Product Module Name. You'll probably see that the Resolved column is showing the same name as your main target. Type a unique name in the middle column (the column is titled WidgetsExtension or whatever your extension target is called) You should see that the Resolved column now shows the unique name you entered. It should hopefully build now.
Topic: App & System Services SubTopic: Core OS Tags:
Oct ’23
Reply to HDR Image capture/conversion
I'm also investigating Gain Map's, and in addition to the documentation you are referring to, I also found this PDF from Adobe: https://helpx.adobe.com/content/dam/help/en/camera-raw/using/gain-map/jcr_content/root/content/flex/items/position/position-par/table/row-3u03dx0-column-4a63daf/download_section/download-1/Gain_Map_1_0d12.pdf In here here you will find pseudocode for both encoding and decoding. However, the problem is that Adobe's encoding calculates some values, that you are supposed to pass as metadata, and use in the decoding. At this point I'm unsure if Apple supports Adobe decoding using this metadata or only their own Maps and decoding? Also for both Apple and Adobe Gain Maps the real problem is that we have no way to write Gain Maps 100% using Apple API's. I found this discussion: https://gist.github.com/kiding/fa4876ab4ddc797e3f18c71b3c2eeb3a They suggest the usage of a non-public CIImageOption called: kCIImageRepresentationHDRGainMapImage. This brings us half the way, however we sti
Topic: Media Technologies SubTopic: General Tags:
Sep ’23
Trouble with new XCode 15 Preview Macro for Widgets
I'm trying to get rid of the auto-padding added recently by iOS 17, and I found out that you can use the WidgetConfigurations properly with the new Preview Macro, but I'm having trouble getting it to work, and some help would be much appreciated. Here's my code: struct ChartEntry: TimelineEntry { let date: Date let configuration: ConfigurationIntent ... static func getSampleEntry() -> ChartEntry { let sample = ChartEntry(date: Date(), configuration: WidgetUtils.getSampleConfiguration()) return sample } } struct PreviewTimelineProvider: TimelineProvider { typealias Entry = ChartEntry func placeholder(in context: Context) -> ChartEntry { ChartEntry.getSampleEntry() } func getSnapshot(in context: Context, completion: @escaping (ChartEntry) -> Void) { completion(ChartEntry.getSampleEntry()) } func getTimeline(in context: Context, completion: @escaping (Timeline) -> Void) { var entries: [ChartEntry] = [] let currentDate = Date() for hourOffset in 0 ..< 5 { let entryDate = Calendar.current.date(byAdd
2
0
2.5k
Sep ’23
AppStoreConnect - Subscriber Report: refund issue
Hi everyone! Has anyone ever seen in their subscriber reports rows with the refund column at Yes and a positive value in the customer price column? Usually, what I have in this case is, a row at date D with refund column at Yes and a negative value in the customer price column and then in D+N a new row with refund column at Yes and a positive value in the customer price column, as if the refund was canceled. I don't understand what that means, so if anyone knows how to explain it I'm interested. -> Official documentation: https://developer.apple.com/help/app-store-connect/reference/subscriber-report Thanks, Marion
1
0
1k
Apr ’23
NavigationSplitView and Lists in Child views
I'm trying to make a three column Split View where the sidebar determines the type of content, so I was hoping to have separate views drive the Lists for each content type, but I'm getting an issue where the selections get out of sync / don't highlight. For simplicity, I tested using a sidebar/detail Split View, as follows: struct StringItem : Identifiable, Hashable { let id = UUID() let item : String } struct SimpleSplitView: View { @State private var selString : StringItem? let content = [StringItem(item: Here), StringItem(item: There), StringItem(item: Everywhere) ] var body: some View { NavigationSplitView { // This List(content, selection: $selString) { c in NavigationLink(value: c) { Text(c.item) } } // or this ContentStringX(selection: $selString) } detail: { if let s = selString { DetailStringX(item: s) } else { Text(Empty) } } } } struct ContentStringX: View { let content = [StringItem(item: Here), StringItem(item: There), StringItem(item: Everywhere) ] @Binding var selection : StringItem? v
3
0
791
Sep ’23
Reply to Error when loading (some) Audio Units on macOS 12
Looks like you’re making great progress here. but I have no prove that this version is sandboxed There are two ways to do that: Run the app, run Activity Monitor, find the app in the process list, and check the Sandbox column. You might need to control click on the list headers to enable that column. Check for the entitlement with codesign. I don’t have Logic installed, but here’s an example with GarageBand: % codesign -d --entitlements - /Applications/GarageBand.app … [Dict] … [Key] com.apple.security.app-sandbox [Value] [Bool] true … Having said that, working with GarageBand seems like the acid test to me. If an audio unit fails there, it’s worth reporting that as a bug against the audio unit. Share and Enjoy — Quinn “The Eskimo!” @ Developer Technical Support @ Apple let myEmail = eskimo + 1 + @ + apple.com
Topic: Code Signing SubTopic: Entitlements Tags:
Sep ’23