Post

Replies

Boosts

Views

Activity

Reply to DateComponents configuration for x months
Hi @Claude31, here is where I read the definition of DateComponents.month. [https://developer.apple.com/documentation/foundation/datecomponents/1780256-month] If I remove the month component, how would I configure for schedules that repeat on an unusual number of months? For example, a notification that repeats every 13 months - I'm not sure how to do that. Should it be DateComponents.day = 386 ?
Aug ’21
Reply to DateComponents configuration for x months
@Claude31 thanks for your help. I think I'll have the app check for pending notifications, and make sure the next one is always scheduled. The user won't benefit from having multiple notifications queued for the same event - it only matters that the next scheduled notification appears when it should. The code will be a bit more work, but it will get the job done. Thanks again.
Aug ’21
Reply to Bugs still present in Beta 5
Same. Beta 4 on M1 Mac mini caused Teams to hang. I just moved to Beta 5 and Teams is OK now, but Outlook beach-balls immediately after launch. I never had Outlook problems prior to Beta 5, and no problems with Teams prior to Beta 4.
Topic: App & System Services SubTopic: Core OS Tags:
Replies
Boosts
Views
Activity
Aug ’21
Reply to DateComponents configuration for x months
Hi @Claude31, here is where I read the definition of DateComponents.month. [https://developer.apple.com/documentation/foundation/datecomponents/1780256-month] If I remove the month component, how would I configure for schedules that repeat on an unusual number of months? For example, a notification that repeats every 13 months - I'm not sure how to do that. Should it be DateComponents.day = 386 ?
Replies
Boosts
Views
Activity
Aug ’21
Reply to DateComponents configuration for x months
@Claude31 thanks for your help. I think I'll have the app check for pending notifications, and make sure the next one is always scheduled. The user won't benefit from having multiple notifications queued for the same event - it only matters that the next scheduled notification appears when it should. The code will be a bit more work, but it will get the job done. Thanks again.
Replies
Boosts
Views
Activity
Aug ’21