Post

Replies

Boosts

Views

Activity

Reply to Xcode 12.0.1 won't download watchOS 7.0.1 symbols
Apple replied to my Feedback Assistant report (after 10 days). They asked for my Developer email address, "to locate the account in question". Looking at "~LibraryDeveloper/Xcode/watchOS DeviceSupport" the entry for 7.0.1 is now there. Trying again, I can install to my Apple Watch, so it is working. What I don't know, is did they fix their back-end, or just tweak my account?
Oct ’20
Reply to SwiftUI - Returning a variable from a function
request.responseJSON executes asynchronously, so your method is returning, before the request's closure has finished (specifically, before it has set the new value for ttrr). So the method will always return ttrr = "default" You need to action the new value of ttrr within the request's closure (after you set ttrr = String(tr).
Oct ’20
Reply to View not refreshing with state change
You have made your TimerManager an ObservableObject, but your SingleTimerView does not handle it as an ObservedObject. Fix: In SingleTimerView, change @Binding var timerManager : TimerManager to @ObservedObject var timerManager : TimerManager In MultiTimerView, change SingleTimerView(timerManager: self.$timerList[id]) to SingleTimerView(timerManager: self.timerList[id])
Oct ’20
Reply to C language with Xcode 12.1 - could not build module 'Darwin'
Catalina 10.15.7, Xcode 12.1 How are you creating your C source file? In an iOS project, if I go to the "File" menu, File > New > File... Then Source > C File And check "Also create a header file"... Xcode creates the .h and .c files. The .h already includes "#include <stdio.h>", so there is no need to type it, and it builds okay. Can you add some more details to your question? What kind of project have you created?
Nov ’20