Commit Graph

10 Commits

Author SHA1 Message Date
Maurice Parker
be75bd28d0 Refactor the ArticleThemeManager code to simplify it and try to avoid any issues with app warm up on the iPhone 2022-10-03 13:23:11 -05:00
Stuart Breckenridge
0dd4689bf0 Logging changes
- Adds `Logging` protocol
- Moves to Swift-style `OSLog` usage

os_log to Logger

os_log audit

Replacment of os.log with Logging
2022-09-04 21:31:03 +08:00
Maurice Parker
fd151951b9 Merge branch 'ios-candidate' 2022-02-08 10:35:25 -08:00
Maurice Parker
8ad5969452 Prevent app themes from attempting to be deleted 2022-02-07 16:41:00 -08:00
Stuart Breckenridge
ca690859f7 Article Theme / UniformTypeIdentifiers 2022-01-21 13:07:38 +08:00
Stuart Breckenridge
c29afd2677 try? changed to try with error handling 2021-09-21 09:22:45 +08:00
Stuart Breckenridge
78e0595708 Various ThemeDownloader Updates
- `try` added where applicable to ArticleTheme inits
- `ArticleThemePlist` has fixed spelling of theme identifier and conforms to Equatable
- `ArticleTheme` now uses `ArticleThemePlist`
-  `ArticleThemeDownloader` is now a class
- `ArticleThemeDownloader` will now download themes to Application Support/NetNewsWire/Downloads on macOS and iOS.
- `ArticleThemeDownloader` will remove downloaded themes from the Download folder when the application is closed.
- macOS app delegate now observes for theme download fails
- Error display code moved from SceneDelegate to SceneCoordinator so that it can use existing presentError on rootVC.
2021-09-21 09:10:56 +08:00
Maurice Parker
04d7ab188f Add import button to Themes listing scene 2021-09-18 10:49:30 -05:00
Maurice Parker
35b913f4a0 Add the ability to delete a theme on iOS 2021-09-12 16:40:59 -05:00
Maurice Parker
98999c0cc1 Add Theme selector to iOS 2021-09-12 16:18:55 -05:00