Post

Replies

Boosts

Views

Activity

Reply to How retrieve attendees associated with a calendar item?
Thank you very much Claude. I implemented email recovery like this: extension EKParticipant {     func email() -> String{         var dict: [String: String] = [:]         for token1 in self.description.components(separatedBy: ";") {             let tokens = token1.components(separatedBy: "=")             if tokens.count == 2 {                 dict[tokens[0].trimmingCharacters(in: .whitespaces)] = tokens[1].trimmingCharacters(in: .whitespaces)             }         }         return dict["email"] ?? "no email"     } }
Topic: App & System Services SubTopic: General Tags:
Nov ’21
Reply to How retrieve attendees associated with a calendar item?
Thank you very much Claude. I implemented email recovery like this: extension EKParticipant {     func email() -> String{         var dict: [String: String] = [:]         for token1 in self.description.components(separatedBy: ";") {             let tokens = token1.components(separatedBy: "=")             if tokens.count == 2 {                 dict[tokens[0].trimmingCharacters(in: .whitespaces)] = tokens[1].trimmingCharacters(in: .whitespaces)             }         }         return dict["email"] ?? "no email"     } }
Topic: App & System Services SubTopic: General Tags:
Replies
Boosts
Views
Activity
Nov ’21