Giter Club home page Giter Club logo

Comments (12)

skegget avatar skegget commented on July 21, 2024 1

Ah, I see! Anyway, many thanks! I will give it a try and get back to you.

from ekeventkit.example.

nemecek-filip avatar nemecek-filip commented on July 21, 2024

Hi, happy this repo was useful to you. I will add the update example :-)

from ekeventkit.example.

nemecek-filip avatar nemecek-filip commented on July 21, 2024

Turns out, there is EventKit notification for this purpose :-) Let me know if it works as expected

from ekeventkit.example.

skegget avatar skegget commented on July 21, 2024

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.

nemecek-filip avatar nemecek-filip commented on July 21, 2024

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.

skegget avatar skegget commented on July 21, 2024

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.

nemecek-filip avatar nemecek-filip commented on July 21, 2024

I can certainly try, but I am not really proficient with SwiftUI

from ekeventkit.example.

skegget avatar skegget commented on July 21, 2024

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.

nemecek-filip avatar nemecek-filip commented on July 21, 2024

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.

nemecek-filip avatar nemecek-filip commented on July 21, 2024

Closing for inactivity. Feel free to open fresh issue. Thanks.

from ekeventkit.example.

skegget avatar skegget commented on July 21, 2024

Oh, sorry for not getting back to you, totally forgot about it. Anyway, your change works great! Good work!

from ekeventkit.example.

nemecek-filip avatar nemecek-filip commented on July 21, 2024

No problem! Glad it works :-)

from ekeventkit.example.

Related Issues (9)

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo 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.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google ❤️ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.