Post

Replies

Boosts

Views

Activity

Reply to SwiftData Question
I created this project as a test so far just to see if I could create a Swift Data source and then display the data back to a swift Table. I'm new to this and been atttempting to learn some coding since I retired as it has always interested me. As far as storage options I am not using iCloud Core Data for this app, just on device storage as best as I can understand. I noticed every time I try to add a data model I get this particular error. I have tried to do a clean build after the addition to the data model but I still encounter the error. Is there a way to clear my current data and recreate the database could you explain the steps to do that?
Jun ’24
Reply to How do you get your users City name when building a Weather app.
I found this bit of code that done the trick:  CLGeocoder().reverseGeocodeLocation(myLocation, completionHandler: {(placemarks, error) -> Void in                             print(myLocation)                             guard error == nil else {                                 print("Reverse geocoder failed with error" + error!.localizedDescription)                                 return                             }                         guard placemarks!.count > 0 else {                                 print("Problem with the data received from geocoder")                                 return                             }                         let pm = placemarks![0].locality                         print(pm!)                         myCity = (pm!)                         print(myCity)                                                  })
Dec ’22
Reply to Compiler error question
var body: some View {                  NavigationView {             ZStack {             Image("DogTreat")                 .resizable()                 .ignoresSafeArea(.all)                 .opacity(0.99)
May ’22
Reply to Watch series 2 question
I'm wondering if this is a limitation to the new M1 machines? It was my newest M1 Mac book Air that shows Watch OS 7.0 as the oldest simulator to download ??? My 2017 iMac Pro shows 6.0 as the oldest Watch OS simulator?? This seems strange to me both Macs have Xcode 13.3 build 13E113??? Has anyone else seen this?
Mar ’22