Campus-iOS icon indicating copy to clipboard operation
Campus-iOS copied to clipboard

Calendar Customization

Open kordianbruck opened this issue 7 years ago • 3 comments

Sync from/to Android: https://github.com/TCA-Team/TumCampusApp/issues/410

kordianbruck avatar Feb 20 '18 08:02 kordianbruck

Oh dang! We're finally generating content.

Looks like I will finally have to include SQLite in this project, if we're doing two way syncing. Most people go with: https://github.com/stephencelis/SQLite.swift

We'll see how easy it is to use or evaluate others. I would add this to a 1.5 release though. Because if we're finally adding a fully fledged DB, we might as well transfer our caching layer over there... Instead of the file cache we have right now

nerdsupremacist avatar Feb 20 '18 13:02 nerdsupremacist

DB does not replace you caching hopefully ;-)

kordianbruck avatar Feb 20 '18 13:02 kordianbruck

It doesn't have to. But I already had to get pretty clever/hacky to solve the Newsfeeds caching without a database...

Now that it's worth it to include a database, perhaps we can get rid of stuff like this: https://github.com/TCA-Team/iOS/blob/2acc72ab33b49c4c158ad58b7859af29e4ef77a8/TUM%20Campus%20App/NewsManager.swift#L40

nerdsupremacist avatar Feb 20 '18 13:02 nerdsupremacist