Hi everyone,
I am trying to update the "repeatNumber" value that I created in a struct.
struct ItemModel: Identifiable, Codable {
let id: String
let title: String
let detail: String
let isCompleted: Bool
let repeatNumber: Int // <---
}
I have a class named ListViewModel that conforms NSObject, ObservableObject, UNUserNotificationCenterDelegate. In this class I have userNotificationCenter "didReceive" function to control notification action responses but I could not reach and change the repeatNumber value.
I hope you guys help me and I will be appreciated.
Thanks.
Selecting any option will automatically load the page
Post
Replies
Boosts
Views
Activity
I stuck on the exercise at the page of 18 at unit "Arrays and Loops".
I feel the exercise directs me to use while loop but I did not find a way to do that.
Thanks for the help by now.