Looks like the prediction input parameters are now Int64 instead of Double. So the prediction at 8:32 should now read: _let prediction = try model.prediction(wake: Int64(hour + minute), estimatedSleep: sleepAmount, coffee: Int64(coffeeAmount))_
Holding the option key and using your arrow keys will allow you to move from word to word, then also holding the command key will let you move from one side of the line to the other. You can also hold shift to highlight the section.
Im using an older Mac that has xcode 14.3.1, not sure if I did anything wrong because when I press the coreML file on my xcode, it only shows the ML logo and wont allow me to create line 45 at 3:17. Not sure if anyone is also is using an older mac and it works for them.
I got the same issue with newest Xcode while using an old saved csv file from the old course, i am redoing it now. After downloaded the new file and regenerated ml model, all works, hope this helps.
I just recently bought an M2 Mac Mini, am running Sonoma 14.2 and Xcode 15.2, and it worked fine for me. What system / OS ver. / Xcode ver. are you running?
Looks like the prediction input parameters are now Int64 instead of Double. So the prediction at 8:32 should now read:
_let prediction = try model.prediction(wake: Int64(hour + minute), estimatedSleep: sleepAmount, coffee: Int64(coffeeAmount))_
at 9 minutes for the prediction constant, why does swift have me input Int64 for wake and coffee?
same, I did Int64
same here@@IkbalDemirdoven
same for me..
same as well. M1 Max here, if it matters.
upvoted, got same issue
it is not showing the alert that it was supposed to, also the Int64 er showing for my case too
1:30 I didn't know how to rename a file in Xcode (there was no rename or refactor option) so I figured out you can do it by holding left click on it
12:26 Sir, What shortcut do you use to discard the rest of the word while changing alertMessage to alertTitle?
Holding the option key and using your arrow keys will allow you to move from word to word, then also holding the command key will let you move from one side of the line to the other. You can also hold shift to highlight the section.
Im using an older Mac that has xcode 14.3.1, not sure if I did anything wrong because when I press the coreML file on my xcode, it only shows the ML logo and wont allow me to create line 45 at 3:17. Not sure if anyone is also is using an older mac and it works for them.
Not sure if related but I think this is part of his 100 days of SwiftUI course where he previously mentioned Xcode 15 as a system requirement
I got the same issue with newest Xcode while using an old saved csv file from the old course, i am redoing it now. After downloaded the new file and regenerated ml model, all works, hope this helps.
Looks like things have changed and he missed updating this. I also can't run the predictive model in the simulator now either.
I just recently bought an M2 Mac Mini, am running Sonoma 14.2 and Xcode 15.2, and it worked fine for me. What system / OS ver. / Xcode ver. are you running?