Post

Replies

Boosts

Views

Activity

Reply to Xcode 12 store kit test returning different date formats than actual receipts
I've updated FB8724409 but can't tell if it has been assigned back to Apple. Testing this against Xcode 12B45b running Simulator Version 12.2 (940.16) SimulatorKit 597.13.0.1 CoreSimulator 732.18.0.2 And iOS 14.2 in the simulator, the string in section 12 (creation date) is still formatted with the -0700 format, section 1704 (purchase date) is using the Z format, but the expiration date is still incorrect as well. The purchase date, however, is returning the local time but appending Z, rather than correctly converting the local time to UTC.
Dec ’20
Reply to CoreData / SwiftUI List selection question
The code: @FetchRequest(sortDescriptors: []) private var players: FetchedResults<PlayerEntity> @State private var selectedPlayer : PlayerEntity? var body: some View { NavigationSplitView { List(players, selection: $selectedPlayer) { player in Text(player.shortName ?? "") } .navigationTitle("Players") } detail: { if let player = selectedPlayer { Text("Do Something") } } } The list appears, but is not selectable, and the detail view doesn't get presented. I also tried using the same List/ForEach style of the sample code.
Sep ’23