I fixed it and I implemented everything you mentioned, but still not working, ore at least I am getting notifications and fetch data with success but I don't see the data until core data fetches it
I already tried this but unfortunately it's not working, maybe because I am using Core Data. I have tried to use apple documentation, Paul Hudson's explanation and Swiftful Thinking video about CloudKit subscriptions but it's not working
What about this:
NSPredicate(format: "date >= %@ && date <= %@", Calendar.current.startOfDay(for: Date()) as CVarArg, Calendar.current.startOfDay(for: Date() + 86400) as CVarArg)
Do you think it is ok? Or does it have any problem.
I fixed it and I implemented everything you mentioned, but still not working, ore at least I am getting notifications and fetch data with success but I don't see the data until core data fetches it
I already tried this but unfortunately it's not working, maybe because I am using Core Data. I have tried to use apple documentation, Paul Hudson's explanation and Swiftful Thinking video about CloudKit subscriptions but it's not working
What about this:
NSPredicate(format: "date >= %@ && date <= %@", Calendar.current.startOfDay(for: Date()) as CVarArg, Calendar.current.startOfDay(for: Date() + 86400) as CVarArg)
Do you think it is ok? Or does it have any problem.