Merge branch 'Ranchero-Software:main' into tiqoe

This commit is contained in:
Justin Reeves authored and GitHub committed 2026-11-13 13:10:03 -06:00
commit d81884e5fb
22 files changed
+234 -23

No files matched your search

+17
View File
@@ -6,6 +6,23 @@
<description>Most recent NetNewsWire changes with links to updates.</description>
<language>en</language>
<item>
<title>NetNewsWire 7.3b8</title>
<description><![CDATA[
<ul>
<li>Added Gray theme — inspired by newsprint design but not meant to be a literal copy
<li>Added Plum theme — uses the same layout as the Gray theme but with color
<li>Added an optional grayscaleIcon key to theme Info.plist files — when true, the feed icon or author avatar in the article view is grayscale. The Gray theme uses this new feature
<li>Fixed a crash in the timeline (too many layout passes) caused by row-height measurement mixing up same articles from different accounts
<li>Fixed bug where deleting a feed could remove the wrong row (usually the next row) from the sidebar
<li>Fixed bug where restoring with no article selected, then clicking an article, would auto-scroll the article view
</ul>
]]></description>
<pubDate>Wed, 11 Nov 2026 17:30:00 -0800</pubDate>
<enclosure url="https://github.com/Ranchero-Software/NetNewsWire/releases/download/mac-7.3b8/NetNewsWire7.3b8.zip" sparkle:version="7235" sparkle:shortVersionString="7.3b8" length="10472470" type="application/zip" />
<sparkle:minimumSystemVersion>15.0</sparkle:minimumSystemVersion>
</item>
<item>
<title>NetNewsWire 7.3b7</title>
<description><![CDATA[
+17
View File
@@ -6,6 +6,23 @@
<description>Most recent NetNewsWire changes with links to updates.</description>
<language>en</language>
<item>
<title>NetNewsWire 7.3b8</title>
<description><![CDATA[
<ul>
<li>Added Gray theme — inspired by newsprint design but not meant to be a literal copy
<li>Added Plum theme — uses the same layout as the Gray theme but with color
<li>Added an optional grayscaleIcon key to theme Info.plist files — when true, the feed icon or author avatar in the article view is grayscale. The Gray theme uses this new feature
<li>Fixed a crash in the timeline (too many layout passes) caused by row-height measurement mixing up same articles from different accounts
<li>Fixed bug where deleting a feed could remove the wrong row (usually the next row) from the sidebar
<li>Fixed bug where restoring with no article selected, then clicking an article, would auto-scroll the article view
</ul>
]]></description>
<pubDate>Wed, 11 Nov 2026 17:30:00 -0800</pubDate>
<enclosure url="https://github.com/Ranchero-Software/NetNewsWire/releases/download/mac-7.3b8/NetNewsWire7.3b8.zip" sparkle:version="7235" sparkle:shortVersionString="7.3b8" length="10472470" type="application/zip" />
<sparkle:minimumSystemVersion>15.0</sparkle:minimumSystemVersion>
</item>
<item>
<title>NetNewsWire 7.3b7</title>
<description><![CDATA[
@@ -498,7 +498,15 @@ final class TimelineViewController: NSViewController, UndoableCommandRunner, Unr
// MARK: - Actions
@objc func openArticleInBrowser(_ sender: Any?) {
if let link = oneSelectedArticle?.preferredLink {
let article: Article?
if let tableView = sender as? NSTableView, tableView === self.tableView, let clickedArticle = articles.articleAtRow(tableView.clickedRow) {
article = clickedArticle
} else {
article = oneSelectedArticle
}
if let link = article?.preferredLink {
Browser.open(link, invertPreference: NSApp.currentEvent?.modifierFlags.contains(.shift) ?? false)
}
}
@@ -834,7 +842,7 @@ final class TimelineViewController: NSViewController, UndoableCommandRunner, Unr
// After ArticleThumbnailFinder forgets its choices, which it does on this notification too.
Task { @MainActor in
remeasureRowsWhoseThumbnailChanged()
// Thumbnails that couldn’t download while offline or in Low Data Mode try again.
// Thumbnails that couldn’t download while offline try again.
if ThumbnailDownloader.shared.networkAllowsDownloads {
reloadVisibleCells()
}
@@ -100,8 +100,13 @@ extension Notification.Name {
}
}
/// False when offline or in Low Data Mode.
/// False when offline. Low Data Mode doesn’t stop thumbnail downloads.
static var networkAllowsDownloads: Bool {
NetworkMonitor.shared.isConnected
}
/// False when offline or in Low Data Mode.
static var networkAllowsRevalidation: Bool {
NetworkMonitor.shared.isConnected && !NetworkMonitor.shared.isConstrained
}
@@ -379,7 +384,7 @@ private extension DownloadedImageCache {
/// Doesn’t use the download queue, since icons aren’t limited either.
/// A network that doesn’t allow downloads, a retry wait, or a network error leaves `nextCheck` as is, so the next day’s use tries again.
func revalidateIfDue(_ url: String) async {
guard Self.networkAllowsDownloads, !isWaitingToRetry(url) else {
guard Self.networkAllowsRevalidation, !isWaitingToRetry(url) else {
return
}
// Not <=, which is back-deployed and crashes on iOS 27.2 betas.
@@ -612,6 +612,26 @@ import RSParser
#expect(summary.contains("<p>Hello <em>world</em>.</p>"))
}
@Test func xhtmlTitleWithCDATA() throws {
// <https://github.com/Ranchero-Software/NetNewsWire/issues/5484>
let xml = """
<?xml version="1.0" encoding="utf-8"?>
<feed xmlns="http://www.w3.org/2005/Atom">
<title>t</title><id>urn:t</id>
<entry>
<id>urn:t:1</id>
<title type="xhtml"><![CDATA[Wheels within (mouse) wheels]]></title>
<updated>2020-05-01T00:00:00Z</updated>
<content>Body.</content>
</entry>
</feed>
"""
let d = ParserData(url: "http://example.com/", data: Data(xml.utf8))
let feed = try #require(try FeedParser.parse(d))
let item = try #require(feed.items.first)
#expect(item.title == "Wheels within (mouse) wheels")
}
@Test func contentTypeDefault() throws {
// No `type` attribute — RFC 4287 specifies default is "text". The
// parser treats it as plain text (same path as `type="text"`).
+1
View File
@@ -14,6 +14,7 @@ extension Notification.Name {
static let UserDidAddFeed = Notification.Name("UserDidAddFeedNotification")
static let WebInspectorEnabledDidChange = Notification.Name("WebInspectorEnabledDidChange")
static let sidebarShowsIconsDidChange = Notification.Name("SidebarShowsIconsDidChangeNotification")
static let articleSwipeNavigationEnabledDidChange = Notification.Name("ArticleSwipeNavigationEnabledDidChangeNotification")
static let grayscaleIconsDidChange = Notification.Name("GrayscaleIconsDidChangeNotification")
static let sidebarSmartFeedsVisibilityDidChange = Notification.Name("SidebarSmartFeedsVisibilityDidChangeNotification")
static let timelineIconSizeDidChange = Notification.Name("TimelineIconSizeDidChangeNotification")
+6
View File
@@ -1157,6 +1157,12 @@
"Scanning iCloud storage" : {
"comment" : "Scan status text while fetching"
},
"Scroll Down" : {
"comment" : "Scroll Down"
},
"Scroll Up" : {
"comment" : "Scroll Up"
},
"Search" : {
"comment" : "Search"
},
+9
View File
@@ -1,5 +1,14 @@
# Mac Release Notes
### 7.3b8 7235 11 Nov 2026 - branch: main tag: mac-7.3b8
Added Gray theme — inspired by newsprint design but not meant to be a literal copy
Added Plum theme — uses the same layout as the Gray theme but with color
Added an optional grayscaleIcon key to theme Info.plist files — when true, the feed icon or author avatar in the article view is grayscale. The Gray theme uses this new feature
Fixed a crash in the timeline (too many layout passes) caused by row-height measurement mixing up same articles from different accounts
Fixed bug where deleting a feed could remove the wrong row (usually the next row) from the sidebar
Fixed bug where restoring with no article selected, then clicking an article, would auto-scroll the article view
### 7.3b7 7234 9 Nov 2026 - branch: main tag: mac-7.3b7
Make image cache eviction less aggressive, which should fix a loop where images get evicted, re-cached, evicted, re-cached, etc. (See this Discourse forum post <https://discourse.netnewswire.com/t/favicons-disappear-in-7-3b3/481>.)
+8
View File
@@ -1,5 +1,13 @@
# iOS Release Notes
### 7.3 build 7236 12 Nov 2026 - branch: main tag: iOS-7.3-7236
Added Gray theme — inspired by newsprint design but not meant to be a literal copy
Added Plum theme — uses the same layout as the Gray theme but with color
Added an optional grayscaleIcon key to theme Info.plist files — when true, the feed icon or author avatar in the article view is grayscale. The Gray theme uses this new feature
Fixed bug where folder icons weren’t grayscale when Grayscale Feed Icons is on
Added an entry to the Errors Log when a tap in the timeline is ignored
### 7.3 build 7233 9 Nov 2026 - branch: main tag: iOS-7.3-7233
Added Show Today, Show All Unread, and Show Starred settings, to hide smart feeds
+2 -2
View File
@@ -16,5 +16,5 @@ https://github.com/Ranchero-Software/NetNewsWire/releases/tag/iOS-7.3-7233
Mac shipping: 7.2.1
https://github.com/Ranchero-Software/NetNewsWire/releases/tag/mac-7.2.1
Mac beta: 7.3b7
https://github.com/Ranchero-Software/NetNewsWire/releases/tag/mac-7.3b7
Mac beta: 7.3b8
https://github.com/Ranchero-Software/NetNewsWire/releases/tag/mac-7.3b8
+12
View File
@@ -19,6 +19,7 @@ extension AppDefaults.Key {
static let articleFullscreenEnabled = "articleFullscreenEnabled"
static let confirmMarkAllAsRead = "confirmMarkAllAsRead"
static let showPreviewInTimelineContextMenu = "showPreviewInTimelineContextMenu"
static let articleSwipeNavigationEnabled = "articleSwipeNavigationEnabled"
static let lastRefresh = "lastRefresh"
static let useSystemBrowser = "useSystemBrowser"
static let hideReadFeeds = "hideReadFeeds"
@@ -120,6 +121,16 @@ extension AppDefaults {
}
}
static var articleSwipeNavigationEnabled: Bool {
get {
UserDefaults.standard.bool(forKey: Key.articleSwipeNavigationEnabled)
}
set {
UserDefaults.standard.set(newValue, forKey: Key.articleSwipeNavigationEnabled)
NotificationCenter.default.post(name: .articleSwipeNavigationEnabledDidChange, object: nil)
}
}
static var splitViewPreferredDisplayMode: Int {
get {
UserDefaults.standard.integer(forKey: Key.splitViewPreferredDisplayMode)
@@ -298,6 +309,7 @@ extension AppDefaults {
Key.articleFullscreenEnabled: false,
Key.confirmMarkAllAsRead: true,
Key.showPreviewInTimelineContextMenu: false,
Key.articleSwipeNavigationEnabled: true,
Key.splitViewPreferredDisplayMode: UISplitViewController.DisplayMode.oneBesideSecondary.rawValue
]
+1
View File
@@ -71,6 +71,7 @@ import Images
let isFirstRun = AppDefaults.isFirstRun
if isFirstRun {
Self.logger.info("Is first run.")
AppDefaults.articleSwipeNavigationEnabled = false
}
if isFirstRun && !AccountManager.shared.anyAccountHasAtLeastOneFeed() {
+24 -2
View File
@@ -120,6 +120,9 @@ final class ArticleViewController: UIViewController {
override var keyCommands: [UIKeyCommand]? {
return keyboardManager.keyCommands
}
override var canBecomeFirstResponder: Bool {
true
}
override func viewDidLoad() {
super.viewDidLoad()
@@ -127,6 +130,7 @@ final class ArticleViewController: UIViewController {
NotificationCenter.default.addObserver(self, selector: #selector(unreadCountDidChange(_:)), name: .UnreadCountDidChange, object: nil)
NotificationCenter.default.addObserver(self, selector: #selector(statusesDidChange(_:)), name: .StatusesDidChange, object: nil)
NotificationCenter.default.addObserver(self, selector: #selector(contentSizeCategoryDidChange(_:)), name: UIContentSizeCategory.didChangeNotification, object: nil)
NotificationCenter.default.addObserver(self, selector: #selector(handleArticleSwipeNavigationEnabledDidChange(_:)), name: .articleSwipeNavigationEnabledDidChange, object: nil)
NotificationCenter.default.addObserver(self, selector: #selector(willEnterForeground(_:)), name: UIApplication.willEnterForegroundNotification, object: nil)
let appearance = UINavigationBarAppearance()
@@ -182,7 +186,7 @@ final class ArticleViewController: UIViewController {
pageViewController = UIPageViewController(transitionStyle: .scroll, navigationOrientation: .horizontal, options: [:])
pageViewController.delegate = self
pageViewController.dataSource = self
updatePageViewControllerDataSource()
// This code is to disallow paging if we scroll from the left edge. If this code is removed
// PoppableGestureRecognizerDelegate will allow us to both navigate back and page back at the
@@ -347,6 +351,15 @@ final class ArticleViewController: UIViewController {
currentWebViewController?.fullReload()
}
@objc func handleArticleSwipeNavigationEnabledDidChange(_ notification: Notification) {
updatePageViewControllerDataSource()
}
/// A nil data source turns off swipe paging. `setViewControllers` still works.
func updatePageViewControllerDataSource() {
pageViewController.dataSource = AppDefaults.articleSwipeNavigationEnabled ? self : nil
}
@objc func willEnterForeground(_ note: Notification) {
// The toolbar will come back on you if you don't hide it again
if AppDefaults.logicalArticleFullscreenEnabled {
@@ -402,10 +415,19 @@ final class ArticleViewController: UIViewController {
coordinator.navigateToTimeline()
}
@objc func scrollLineDown(_ sender: Any?) {
currentWebViewController?.scrollLineDown()
}
@objc func scrollLineUp(_ sender: Any?) {
currentWebViewController?.scrollLineUp()
}
// MARK: API
// Focus this view controller rather than the web view, since the web view is replaced on each article change.
func focus() {
currentWebViewController?.focus()
becomeFirstResponder()
}
func canScrollDown() -> Bool {
+19 -5
View File
@@ -22,6 +22,8 @@ import Images
final class WebViewController: UIViewController {
private static let arrowKeyScrollDistance: CGFloat = 60
private struct MessageName {
static let imageWasClicked = "imageWasClicked"
static let imageWasShown = "imageWasShown"
@@ -222,10 +224,6 @@ final class WebViewController: UIViewController {
}
}
func focus() {
webView?.becomeFirstResponder()
}
func canScrollDown() -> Bool {
guard let webView = webView else { return false }
return webView.scrollView.contentOffset.y < finalScrollPosition(scrollingUp: false)
@@ -242,8 +240,16 @@ final class WebViewController: UIViewController {
}
let overlap = 2 * UIFont.systemFont(ofSize: UIFont.systemFontSize).lineHeight * windowScene.screen.scale
let scrollDistance = webView.scrollView.layoutMarginsGuide.layoutFrame.height - overlap
scroll(up: scrollingUp, distance: scrollDistance)
}
private func scroll(up scrollingUp: Bool, distance scrollDistance: CGFloat) {
guard let webView else {
return
}
let scrollToY: CGFloat = {
let scrollDistance = webView.scrollView.layoutMarginsGuide.layoutFrame.height - overlap
let fullScroll = webView.scrollView.contentOffset.y + (scrollingUp ? -scrollDistance : scrollDistance)
let final = finalScrollPosition(scrollingUp: scrollingUp)
return (scrollingUp ? fullScroll > final : fullScroll < final) ? fullScroll : final
@@ -262,6 +268,14 @@ final class WebViewController: UIViewController {
scrollPage(up: true)
}
func scrollLineDown() {
scroll(up: false, distance: Self.arrowKeyScrollDistance)
}
func scrollLineUp() {
scroll(up: true, distance: Self.arrowKeyScrollDistance)
}
func hideClickedImage() {
webView?.evaluateJavaScript("hideClickedImage();")
}
+16 -1
View File
@@ -29,8 +29,11 @@ enum KeyboardType: String, Sendable {
switch type {
case .sidebar:
_keyCommands.append(contentsOf: KeyboardManager.hardcodeFeedKeyCommands())
case .timeline, .detail:
case .timeline:
_keyCommands.append(contentsOf: KeyboardManager.hardcodeArticleKeyCommands())
case .detail:
_keyCommands.append(contentsOf: KeyboardManager.hardcodeArticleKeyCommands())
_keyCommands.append(contentsOf: KeyboardManager.hardcodeDetailKeyCommands())
default:
break
}
@@ -215,4 +218,16 @@ private extension KeyboardManager {
return keys
}
static func hardcodeDetailKeyCommands() -> [UIKeyCommand] {
var keys = [UIKeyCommand]()
let scrollDownTitle = NSLocalizedString("Scroll Down", comment: "Scroll Down")
keys.append(KeyboardManager.createKeyCommand(title: scrollDownTitle, action: "scrollLineDown:", input: UIKeyCommand.inputDownArrow, modifiers: []))
let scrollUpTitle = NSLocalizedString("Scroll Up", comment: "Scroll Up")
keys.append(KeyboardManager.createKeyCommand(title: scrollUpTitle, action: "scrollLineUp:", input: UIKeyCommand.inputUpArrow, modifiers: []))
return keys
}
}
@@ -1255,7 +1255,7 @@ private extension MainTimelineViewController {
guard thumbnailMode != nil, ThumbnailDownloader.shared.networkAllowsDownloads else {
return
}
// Thumbnails that couldn’t download while offline or in Low Data Mode try again.
// Thumbnails that couldn’t download while offline try again.
reloadVisibleCells()
}
+11
View File
@@ -13,6 +13,9 @@ final class RootSplitViewController: UISplitViewController {
var coordinator: SceneCoordinator!
/// True during rotation, window resizes, and background snapshots, when UIKit changes the display mode on its own.
private(set) var isTransitioningSize = false
override var prefersStatusBarHidden: Bool {
return coordinator.prefersStatusBarHidden
}
@@ -26,6 +29,14 @@ final class RootSplitViewController: UISplitViewController {
coordinator.resetFocus()
}
override func viewWillTransition(to size: CGSize, with transitionCoordinator: UIViewControllerTransitionCoordinator) {
isTransitioningSize = true
super.viewWillTransition(to: size, with: transitionCoordinator)
transitionCoordinator.animate(alongsideTransition: nil) { [weak self] _ in
self?.isTransitioningSize = false
}
}
/// Show a column for programmatic navigation.
/// Pass `bypassDisplayModeRestriction: true` for user-initiated navigation, so it can
/// reveal a column the display-mode suppression below would otherwise keep hidden.
+8 -5
View File
@@ -95,7 +95,6 @@ struct SidebarItemNode: Hashable, Sendable {
var isTimelineViewControllerPending = false
var isArticleViewControllerPending = false
private var hasReportedIgnoredTap = false
/// `Bool` to track whether a refresh is scheduled.
private var isNavigationBarSubtitleRefreshScheduled: Bool = false
@@ -1242,13 +1241,11 @@ struct SidebarItemNode: Hashable, Sendable {
}
/// Selecting the current article while the article view isn’t showing does nothing, which is never expected.
/// Log it once per launch to the Errors log.
/// <https://github.com/Ranchero-Software/NetNewsWire/issues/5516>
private func reportIgnoredSelection(of article: Article?) {
guard let article, !hasReportedIgnoredTap, isRootSplitCollapsed, !isArticleViewControllerShowing else {
guard let article, isRootSplitCollapsed, !isArticleViewControllerShowing else {
return
}
hasReportedIgnoredTap = true
let selectedItemCount = mainTimelineViewController?.collectionView?.indexPathsForSelectedItems?.count ?? 0
let navigationStackDepth = mainTimelineViewController?.navigationController?.viewControllers.count ?? 0
@@ -1846,7 +1843,13 @@ extension SceneCoordinator: UISplitViewControllerDelegate {
}
func splitViewController(_ svc: UISplitViewController, willChangeTo displayMode: UISplitViewController.DisplayMode) {
AppDefaults.splitViewPreferredDisplayMode = displayMode.rawValue
// Save only user-initiated changes. UIKit also changes the display mode during
// rotation, window resizes, and background snapshots, and those must not be saved.
// <https://github.com/Ranchero-Software/NetNewsWire/issues/5524>
let isSceneActive = svc.view.window?.windowScene?.activationState == .foregroundActive
if isSceneActive && !svc.isCollapsed && !rootSplitViewController.isTransitioningSize {
AppDefaults.splitViewPreferredDisplayMode = displayMode.rawValue
}
mainTimelineViewController?.updateToolbarProgressView(for: displayMode)
}
+35
View File
@@ -552,6 +552,40 @@
</constraints>
</tableViewCellContentView>
</tableViewCell>
<tableViewCell clipsSubviews="YES" contentMode="scaleToFill" preservesSuperviewLayoutMargins="YES" selectionStyle="none" indentationWidth="10" id="Sw1-pe-Cel" customClass="VibrantBasicTableViewCell" customModule="NetNewsWire" customModuleProvider="target">
<rect key="frame" x="20" y="1004" width="374" height="51.5"/>
<autoresizingMask key="autoresizingMask"/>
<tableViewCellContentView key="contentView" opaque="NO" clipsSubviews="YES" multipleTouchEnabled="YES" contentMode="center" preservesSuperviewLayoutMargins="YES" insetsLayoutMarginsFromSafeArea="NO" tableViewCell="Sw1-pe-Cel" id="Sw1-pe-Cnt">
<rect key="frame" x="0.0" y="0.0" width="374" height="51.5"/>
<autoresizingMask key="autoresizingMask"/>
<subviews>
<label opaque="NO" userInteractionEnabled="NO" contentMode="left" horizontalHuggingPriority="251" verticalHuggingPriority="251" horizontalCompressionResistancePriority="749" text="Enable Horizontal Swipe to Previous and Next Article" textAlignment="natural" lineBreakMode="tailTruncation" numberOfLines="0" baselineAdjustment="alignBaselines" adjustsFontForContentSizeCategory="YES" adjustsFontSizeToFit="NO" translatesAutoresizingMaskIntoConstraints="NO" id="Sw1-pe-Lbl">
<rect key="frame" x="20" y="15" width="265" height="21.5"/>
<fontDescription key="fontDescription" style="UICTFontTextStyleBody"/>
<nil key="textColor"/>
<nil key="highlightedColor"/>
</label>
<switch opaque="NO" contentMode="scaleToFill" horizontalHuggingPriority="750" verticalHuggingPriority="750" contentHorizontalAlignment="center" contentVerticalAlignment="center" on="YES" translatesAutoresizingMaskIntoConstraints="NO" id="Sw1-pe-Swt" userLabel="Enable Horizontal Swipe to Previous and Next Article">
<rect key="frame" x="293" y="12" width="63" height="28"/>
<color key="onTintColor" name="primaryAccentColor"/>
<connections>
<action selector="switchSwipeToNextPreviousArticle:" destination="a0p-rk-skQ" eventType="valueChanged" id="Sw1-pe-Act"/>
</connections>
</switch>
</subviews>
<constraints>
<constraint firstItem="Sw1-pe-Swt" firstAttribute="leading" secondItem="Sw1-pe-Lbl" secondAttribute="trailing" constant="8" symbolic="YES" id="Sw1-pe-C01"/>
<constraint firstItem="Sw1-pe-Lbl" firstAttribute="top" secondItem="Sw1-pe-Cnt" secondAttribute="topMargin" id="Sw1-pe-C02"/>
<constraint firstAttribute="bottomMargin" secondItem="Sw1-pe-Lbl" secondAttribute="bottom" id="Sw1-pe-C03"/>
<constraint firstAttribute="trailingMargin" secondItem="Sw1-pe-Swt" secondAttribute="trailing" id="Sw1-pe-C04"/>
<constraint firstItem="Sw1-pe-Swt" firstAttribute="centerY" secondItem="Sw1-pe-Cnt" secondAttribute="centerY" id="Sw1-pe-C05"/>
<constraint firstItem="Sw1-pe-Lbl" firstAttribute="leading" secondItem="Sw1-pe-Cnt" secondAttribute="leadingMargin" id="Sw1-pe-C06"/>
</constraints>
</tableViewCellContentView>
<connections>
<outlet property="label" destination="Sw1-pe-Lbl" id="Sw1-pe-Out"/>
</connections>
</tableViewCell>
<tableViewCell clipsSubviews="YES" contentMode="scaleToFill" preservesSuperviewLayoutMargins="YES" selectionStyle="none" indentationWidth="10" id="WR6-xo-ty2" customClass="VibrantTableViewCell" customModule="NetNewsWire" customModuleProvider="target">
<rect key="frame" x="20" y="1004" width="374" height="92"/>
<autoresizingMask key="autoresizingMask"/>
@@ -875,6 +909,7 @@
<outlet property="confirmMarkAllAsReadSwitch" destination="UOo-9z-IuL" id="yLZ-Kf-wDt"/>
<outlet property="showPreviewInTimelineContextMenuSwitch" destination="pTc-Mp-c04" id="pTc-Mp-c14"/>
<outlet property="enableJavaScriptSwitch" destination="Djo-HE-LWS" id="muL-I5-eDE"/>
<outlet property="swipeToNextPreviousArticleSwitch" destination="Sw1-pe-Swt" id="Sw1-pe-Ot2"/>
<outlet property="grayscaleIconsSwitch" destination="Gry-s4-Swt" id="Gry-o1-Out"/>
<outlet property="groupByFeedSwitch" destination="JNi-Wz-RbU" id="TwH-Kd-o6N"/>
<outlet property="openLinksInNetNewsWire" destination="dhR-L2-PX3" id="z1b-pX-bwG"/>
+8 -1
View File
@@ -56,7 +56,8 @@ final class SettingsViewController: UITableViewController {
case theme = 0
case openLinksInNetNewsWire = 1
case enableJavaScript = 2
case enableFullScreenArticles = 3
case swipeToNextPreviousArticle = 3
case enableFullScreenArticles = 4
}
private enum HelpRow: Int {
@@ -80,6 +81,7 @@ final class SettingsViewController: UITableViewController {
@IBOutlet var unreadCountDisplayCell: UITableViewCell?
@IBOutlet var openLinksInNetNewsWire: UISwitch!
@IBOutlet var enableJavaScriptSwitch: UISwitch!
@IBOutlet var swipeToNextPreviousArticleSwitch: UISwitch?
@IBOutlet var sidebarShowsIconsSwitch: UISwitch?
@IBOutlet var grayscaleIconsSwitch: UISwitch?
@IBOutlet var showTodayFeedSwitch: UISwitch?
@@ -151,6 +153,7 @@ final class SettingsViewController: UITableViewController {
}
showPreviewInTimelineContextMenuSwitch?.isOn = AppDefaults.showPreviewInTimelineContextMenu
swipeToNextPreviousArticleSwitch?.isOn = AppDefaults.articleSwipeNavigationEnabled
if AppDefaults.articleFullscreenAvailable {
showFullscreenArticlesSwitch.isOn = true
@@ -448,6 +451,10 @@ final class SettingsViewController: UITableViewController {
}
}
@IBAction func switchSwipeToNextPreviousArticle(_ sender: UISwitch) {
AppDefaults.articleSwipeNavigationEnabled = sender.isOn
}
@IBAction func switchJavaScriptPreference(_ sender: Any) {
AppDefaults.isArticleContentJavascriptEnabled = enableJavaScriptSwitch.isOn
}
@@ -1,7 +1,7 @@
#include "./NetNewsWire_version.xcconfig"
// High Level Settings common to both the Mac application and any extensions we bundle with it
MARKETING_VERSION = 7.3b7
MARKETING_VERSION = 7.3b8
APP_GROUP_ID = group.$(ORGANIZATION_IDENTIFIER).NetNewsWire-Evergreen$(APP_GROUP_SUFFIX)
+1 -1
View File
@@ -1 +1 @@
CURRENT_PROJECT_VERSION = 7234
CURRENT_PROJECT_VERSION = 7236