leogdion
(Leo G Dion)
1
I built a library to access CloudKit Web Services via Swift. Why?
Because the CloudKit framework is not available outside of Apple operative systems. Therefore, if you are doing anything server-side (i.e. Linux) then you can use MistKit to swiftly access CloudKit via the web services. I use this specifically for my app Heartwitch.
Version 0.2.0 includes built-in support and helpers for SwiftNIO and Vapor.
Your input and feedback is great appreciated!
13 Likes
lukasa
(Cory Benfield)
2
This looks very cool: it seems extremely thorough and has a wide feature set, as well as lots of great integrations. Really good work!
1 Like
dannys42
(Danny Sung)
3
This is great! I've been wanting such a thing! Anything I can do to help with Kitura integration?
leogdion
(Leo G Dion)
4
Hey @dannys42
Thanks for asking! I know barely anything about Kitura but if you are willing to implement a plugin for it that would be fantastic. There are two main components I implemented for integration with Vapor:
This protocol is for making http request in whatever manner the developer wishes to do so...
Implementations
2. Storing the CloudKit Web Authentication Token
For Vapor, there are two ways to do:
I would recommend looking the Vapor code for ideas on how I've implemented this.
Feel free to reach out to me if you have any questions.
Leo
1 Like
dannys42
(Danny Sung)
5
Cool thanks! I'll check it out.