Comments (12)
Ah, I see! Anyway, many thanks! I will give it a try and get back to you.
from ekeventkit.example.
Hi, happy this repo was useful to you. I will add the update example :-)
from ekeventkit.example.
Turns out, there is EventKit notification for this purpose :-) Let me know if it works as expected
from ekeventkit.example.
Fantastic, thank you! I haven't had the time to test it yet. Just a thought though, are the changes also applicable to the SwiftUI version of your example?
from ekeventkit.example.
Yes, I think it should work roughly in the same way. Subscribe to the EventKit notification and when you get it, reload all the events.
from ekeventkit.example.
I gave it a try (or more like 50) but I can't seem to get it to work. And to be honest, this is way above my competence level. Would you mind updating the SwiftUI example as well? I would really appreciate it!
Thanks!
from ekeventkit.example.
I can certainly try, but I am not really proficient with SwiftUI
from ekeventkit.example.
That would be great! I came across this when searching for some examples:
https://developer.apple.com/documentation/foundation/nsnotification/name/1507525-ekeventstorechanged
from ekeventkit.example.
Yes, that is what I used in UIKit version and now moved to SwiftUI. Although the whole SwiftUI version looks kind of broken right now after the iOS 14 update.. it should still work though
from ekeventkit.example.
Closing for inactivity. Feel free to open fresh issue. Thanks.
from ekeventkit.example.
Oh, sorry for not getting back to you, totally forgot about it. Anyway, your change works great! Good work!
from ekeventkit.example.
No problem! Glad it works :-)
from ekeventkit.example.
Related Issues (9)
- Any chance of a swiftUI version of this? I've found information of EventKit & EventKitui rarer than unicorn S*!t HOT 4
- iOS 15, "bottom sheet" HOT 3
- Relative time giving odd results HOT 4
- Suggestion to break list into day segments HOT 9
- Selected Calendars not being persisted HOT 1
- Recurring events issue HOT 11
- EKEventEditViewController initial focus HOT 2
- Errors when launching the app for the first time HOT 14
Recommend Projects
-
React
A declarative, efficient, and flexible JavaScript library for building user interfaces.
-
Vue.js
🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.
-
Typescript
TypeScript is a superset of JavaScript that compiles to clean JavaScript output.
-
TensorFlow
An Open Source Machine Learning Framework for Everyone
-
Django
The Web framework for perfectionists with deadlines.
-
Laravel
A PHP framework for web artisans
-
D3
Bring data to life with SVG, Canvas and HTML. 📊📈🎉
-
Recommend Topics
-
javascript
JavaScript (JS) is a lightweight interpreted programming language with first-class functions.
-
web
Some thing interesting about web. New door for the world.
-
server
A server is a program made to process requests and deliver data to clients.
-
Machine learning
Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.
-
Visualization
Some thing interesting about visualization, use data art
-
Game
Some thing interesting about game, make everyone happy.
Recommend Org
-
Facebook
We are working to build community through open source technology. NB: members must have two-factor auth.
-
Microsoft
Open source projects and samples from Microsoft.
-
Google
Google ❤️ Open Source for everyone.
-
Alibaba
Alibaba Open Source for everyone
-
D3
Data-Driven Documents codes.
-
Tencent
China tencent open source team.
from ekeventkit.example.