Post

Replies

Boosts

Views

Activity

Reply to iMac crashes randomly around once per month
If you have a M1 Mac, then unplug any USB extenders you may have connected. There is a known problem between M1 Macs and USB extenders, of which Apple doesn't have any answers for yet. If you do not have a M1 Mac, then the error looks like you may have a corrupt file somewhere causing the computer to do a reboot. In that case, you may have to redo the computer. Also, check the power connector on the back of the computer. I've had some issues with that in the past. Even shut it down, unplug it and then plug it back in and see what happens. Hope this helps, Dan Uff
Jun ’21
Reply to Showing JSON contents to iOS screen output?
Thanks for the help. Yes, I do want to randomly show a quote from the json file (but from what I'm hearing, kind of not possible) so I'd settle for showing a quote one at a time. As for your question, I was going to try and take the information from the json file, put that in an arc4random so it could randomly select a quote to show. Or am I on the wrong track? Here's the json file.... json file - https://developer.apple.com/forums/content/attachment/be858213-5a7b-43ff-90cf-78be77df26ed THANK YOU AGAIN!
Oct ’20
Reply to Showing JSON contents to iOS screen output?
Here you go.... UserData.Swift - https://developer.apple.com/forums/content/attachment/f633eed7-f559-4115-9af9-1c47579900b3 GetData.swift - https://developer.apple.com/forums/content/attachment/9568326a-1ba3-4cc4-a0a1-9d63092c3e38 ViewController.Swift - https://developer.apple.com/forums/content/attachment/04b964fc-8233-4795-be5a-7a6acbb75ad7 I hope to delete the switch statements in favor of using the quotes from the JSON file.
Oct ’20