Friday, April 10, 2020

CloudKit Impressions From a NetNewsWire Developer

Maurice Parker (tweet):

One area that CloudKit outshines our RESTful service implementations is that it gets notifications when the data changes. This keeps our data more up to date. In the RESTful services, we sync which feeds you are subscribed to every so often via polling. This happens at shortest around every 15 minutes. Realtime updates to your subscription information isn’t necessary, but it is fun to add a feed on your phone and watch it appear in realtime on the desktop.

[…]

One thing I wanted to do was provide a centralized repository that knew which feeds had been updated and when. I planned to have a system that would use the various NetNewsWire clients to update this data and notify the clients. My theory was that checking one site for updated feeds would be faster than testing all the sites to see if their feeds had updated.

I ended up giving up on this task. I think it would have been possible to implement in CloudKit, but would not have been faster than checking all the sites for their feed updates. […] There is no such thing as a “JOIN” between CloudKit records. If I could have connected data from more than one record per query I could have done some data driven logic.

I’d like to switch (back) to NetNewsWire when this ships, although I haven’t decided what I’ll do about the smart folder and Pocket features I use in ReadKit.

Previously:

4 Comments RSS · Twitter


Ron Elemens' News Explorer is on macOS and iOS, and has realtime iCloud sync for read / unread, feed subscriptions etc. It's pretty much the model citizen for what you'd want iCloud syncing to bring to an app, and to tie apps n different platforms together. Plus, no need to pay for a sync service.


@Someone News Explorer looks good, too. I wish it supported AppleScript and multiple selections.


What does News Explorer use? It’s not as well known as NetNewsWire, Reeder, etc. but it syncs pretty much instantly between my iPhone and Mac.

Also I’ve been able to cancel my RSS sync service subscription and its local sync Is faster anyway. With the sync being shared between Mac and iPhone when one device updates my feeds they are updated everywhere.


@Nate News Explorer uses CloudKit.

Leave a Comment