- Implemented the feature, showing or hiding hidden stories, only offering it if there are some.
- I used the “all” icon in the menu as a placeholder; please provide one you’d prefer.
- Since the crusty old menu mechanism doesn’t handle dynamic items well, I took this opportunity to migrate the feed detail menu to the block-based MenuViewController mechanism, resulting in significant code reduction.
- Enhanced MenuViewController to support the theme controls etc, so other menus can be more easily migrated next time they need to be updated.
- Added a "Restore position" preference in the "Reading Stories" group, with options to restore the previous state on launch always, within a specified interval, or never.
- When within the indicated interval, the app restores the feeds, feed detail, and story selections and scrolling positions.
- The active story is marked unread to ensure it remains available for restoring, and re-marked read when resumed.
- NOTE: only supported on iPhone for now. I’ll add iPad support later.
Added a "Tap story" preference with "Toggle full screen" and "Do nothing" options; toggling is the default. This is only available on iPhone. When active, a single tap in a story, not on a link, image, movie, or button, will hide or show the status and navigation bars. On iPhones with a notch (iPhone X, XS, etc), the feed bar at the top is also hidden, so the story can scroll under the notch, using every bit of the screen.
This was a curly one! I also fixed a bunch of Xcode 8 warnings (for
non-third-party code; I'd like to fix the third-party ones to get to
zero warnings, but don't know how you feel about that).
More tweaks to the theme handling, including the story CSS. The gesture
has been extended to make it easier to switch themes: it's still up for
light and down for dark (like a light switch), but swiping up again
will switch between the two light themes, and swiping down again will
switch between the two dark themes.
Eliminated the old WYPopoverController from the code, since it isn’t
needed and isn’t compatible with theming. All popovers now use the
modern UIPopoverPresentationController mechanism.
Also remove -[NBContainerViewController showSendToController:] which no longer does anything of the sort, and attempt to speed up popover-popover transition a bit by not animating.
Here are the folder selection and size changes. Awaiting clarification
of the autocomplete before I close this. (Or if it's one line to
comment out, you could do that if you prefer.)
Sorry for the delay getting to this. I've implemented the separate
list of fonts, listing the sample one you provided. Once you get the
others, they can be added to the fonts folder in the resources, and
listed in the -[FontSettingsViewController viewWillAppear:] method (I
can do that if you like).