Post

Replies

Boosts

Views

Activity

Reply to Big Sur
I have a Late 2012 iMac that works perfectly fine, with good CPU, RAM, etc..., and I can not understand why is not being supported by Big Sur. I am pretty sad, I would upgrade to a new iMac but I can not at this moment. :(
Jun ’20
Reply to Xcode 12.3 failed on some 3rd framework and librarys?
Someone helped me with this instructions for the same problem with TwilioVoice.framework and it worked perfect. Maybe you can adapt the instruction for your frameworks. [https://github.com/twilio/twilio-voice-ios/issues/64#issuecomment-747186499) Basically you separate the framework in the platforms and then you join them again as xcframework. Finally, you include the new xcframework into your code.
Dec ’20
Reply to (Swift + CloudKit) or (SwiftUi + Core Data + CloudKit)
It depends in so many factors, such as how many records you will have, if you need to be able to work offline, and so on. I have an App (private) that shared a large number of records using CloudKit and a local cache with coredata. Now I'm dividing that App in multiple Apps and I thing I will use a mix between full synchronize tables and cache tables, all sharing the same record zone. I would recommend that you start using only CloudKit, then you can start adding coredata for cache, if you realize that you need it.
Jun ’21
Reply to Unable to populate value from CloudKit onto my display
Hi, I can see a couple of mistakes. The first one, you should create your new Ping() inside your recordFetched block, and I would use a struct, not a class. The second is that you are printing the return from loadPing(), that will print to your console only. If you want to automatically show them, you should fetch them from an ObservableObject, similar to what it seems to be UserProgress. Basically you create a model, and your results as @Published array that you can put in a ForEach. Finally, your operations run asynchronously. Probably your return is return an empty array because the operations are still running in another thread.
Jul ’21
Reply to How to make a pop up view?
There is a modifier called popup. You could add it to your button. @State var presentPopup = false Button { presentPopup = true } label: { Text("Rules") } .popup(isPresented: $presentPopup) { TheViewWithTheRulesAndADismissButton() } Or something like that. Just be clear that on iPhone it will appear as a sheet, that means, using all the screen.
Jul ’21