= [schemeHTTP, schemeHTTPS, schemeMailto]
+#endif
}
public extension URL {
@@ -60,7 +65,7 @@ public extension URL {
}
func preparedForOpeningInBrowser() -> URL? {
- // Open http, https, and mailto links only.
+ // Open http, https, and mailto links only, plus magnet on macOS.
guard let scheme = scheme?.lowercased(with: localeForLowercasing),
URLConstants.allowedSchemesForOpening.contains(scheme) else {
return nil
diff --git a/Modules/RSWeb/Sources/RSWeb/WebServices/TestingURLProtocol.swift b/Modules/RSWeb/Sources/RSWeb/WebServices/TestingURLProtocol.swift
index 0a02e8c53..594ef4447 100644
--- a/Modules/RSWeb/Sources/RSWeb/WebServices/TestingURLProtocol.swift
+++ b/Modules/RSWeb/Sources/RSWeb/WebServices/TestingURLProtocol.swift
@@ -6,7 +6,7 @@
//
import Foundation
-import os
+import Synchronization
public final class TestingURLProtocol: URLProtocol {
@@ -49,7 +49,7 @@ public final class TestingURLProtocol: URLProtocol {
/// Maps a test ID to its state. Requests from a session built outside a
/// `currentTestID` scope use `sharedTestID`.
- private static let testStates = OSAllocatedUnfairLock<[String: TestState]>(initialState: [:])
+ private static let testStates = Mutex<[String: TestState]>([:])
private static let sharedTestID = "shared"
diff --git a/Modules/RSWeb/Tests/RSWebTests/URLPreparedForOpeningTests.swift b/Modules/RSWeb/Tests/RSWebTests/URLPreparedForOpeningTests.swift
index 1484eb40f..6c6b3806a 100644
--- a/Modules/RSWeb/Tests/RSWebTests/URLPreparedForOpeningTests.swift
+++ b/Modules/RSWeb/Tests/RSWebTests/URLPreparedForOpeningTests.swift
@@ -17,6 +17,17 @@ struct URLPreparedForOpeningTests {
#expect(try url("mailto:me@example.com").preparedForOpeningInBrowser() != nil)
}
+#if os(macOS)
+ @Test func allowsMagnetScheme() throws {
+ #expect(try url("magnet:?xt=urn:btih:c12fe1c06bba254a9dc9f519b335aa7c1367a88a&dn=example").preparedForOpeningInBrowser() != nil)
+ #expect(try url("Magnet:?xt=urn:btih:c12fe1c06bba254a9dc9f519b335aa7c1367a88a").preparedForOpeningInBrowser() != nil)
+ }
+#else
+ @Test func blocksMagnetScheme() throws {
+ #expect(try url("magnet:?xt=urn:btih:c12fe1c06bba254a9dc9f519b335aa7c1367a88a&dn=example").preparedForOpeningInBrowser() == nil)
+ }
+#endif
+
@Test func blocksOtherSchemes() throws {
#expect(try url("smb://server/share").preparedForOpeningInBrowser() == nil)
#expect(try url("file:///etc/passwd").preparedForOpeningInBrowser() == nil)
diff --git a/Modules/Secrets/Package.swift b/Modules/Secrets/Package.swift
index b712e8361..3512db435 100644
--- a/Modules/Secrets/Package.swift
+++ b/Modules/Secrets/Package.swift
@@ -3,7 +3,7 @@ import PackageDescription
let package = Package(
name: "Secrets",
- platforms: [.macOS(.v15), .iOS(.v17)],
+ platforms: [.macOS(.v15), .iOS(.v18)],
products: [
.library(
name: "Secrets",
diff --git a/Modules/SyncDatabase/Package.swift b/Modules/SyncDatabase/Package.swift
index 330b3ade4..491ca022a 100644
--- a/Modules/SyncDatabase/Package.swift
+++ b/Modules/SyncDatabase/Package.swift
@@ -3,7 +3,7 @@ import PackageDescription
let package = Package(
name: "SyncDatabase",
- platforms: [.macOS(.v15), .iOS(.v17)],
+ platforms: [.macOS(.v15), .iOS(.v18)],
products: [
.library(
name: "SyncDatabase",
diff --git a/Shared/Article Rendering/ArticleRenderer.swift b/Shared/Article Rendering/ArticleRenderer.swift
index 19fe0eee9..fa1cb121d 100644
--- a/Shared/Article Rendering/ArticleRenderer.swift
+++ b/Shared/Article Rendering/ArticleRenderer.swift
@@ -117,8 +117,12 @@ import Account
self.body = ArticleRenderingSpecialCases.extractBodyFragmentIfNeeded(content)
self.baseURL = extractedArticle?.url
} else {
- let articleBody = ArticleRenderingSpecialCases.extractBodyFragmentIfNeeded(article?.body ?? "")
- self.body = ArticleRenderingSpecialCases.insertParagraphTagsIfNeeded(articleBody, feedURL: article?.feed?.url, homePageURL: article?.feed?.homePageURL)
+ let feedURL = article?.feed?.url
+ let homePageURL = article?.feed?.homePageURL
+ var articleBody = ArticleRenderingSpecialCases.extractBodyFragmentIfNeeded(article?.body ?? "")
+ articleBody = ArticleRenderingSpecialCases.insertParagraphTagsIfNeeded(articleBody, feedURL: feedURL, homePageURL: homePageURL)
+ articleBody = ArticleRenderingSpecialCases.removeStrayLineBreaksIfNeeded(articleBody, feedURL: feedURL, homePageURL: homePageURL)
+ self.body = articleBody
self.baseURL = article?.baseURL?.absoluteString
}
}
diff --git a/Shared/Article Rendering/ArticleRenderingSpecialCases.swift b/Shared/Article Rendering/ArticleRenderingSpecialCases.swift
index 02c984ae3..24902c0cc 100644
--- a/Shared/Article Rendering/ArticleRenderingSpecialCases.swift
+++ b/Shared/Article Rendering/ArticleRenderingSpecialCases.swift
@@ -42,6 +42,32 @@ struct ArticleRenderingSpecialCases {
return consecutiveReturnsRegex.stringByReplacingMatches(in: html, range: range, withTemplate: "")
}
+ private static let feedDomainsWithStrayLineBreaks = ["macrumors.com"]
+
+ // One or more
s right after a tag where a
can't appear — between list items,
+ // table rows, or table cells. Not after an opening
, , or | : a there is content.
+ private static let strayLineBreaksRegex = try? NSRegularExpression(
+ pattern: "(<(?:ul|ol|table|thead|tbody|tfoot|tr)\\b[^>]*>|(?:li|tr|td|th|thead|tbody|tfoot)>)(?:\\s* )+",
+ options: [.caseInsensitive]
+ )
+
+ /// MacRumors puts a after every line of its feed HTML, including inside lists and tables.
+ /// In lists each one renders as a blank line. In tables the HTML parser moves them all
+ /// to just before the table, leaving a huge gap above it. Remove them before parsing,
+ /// while they’re still recognizable.
+ ///
+ static func removeStrayLineBreaksIfNeeded(_ html: String, feedURL: String?, homePageURL: String?) -> String {
+ guard anyURLStringMatchesAnyDomain([feedURL, homePageURL], feedDomainsWithStrayLineBreaks) else {
+ return html
+ }
+ guard html.range(of: " String {
var filteredHTML = removeLocationHrefRedirectScripts(html)
diff --git a/Shared/ArticleStyles/ArticleThemesManager.swift b/Shared/ArticleStyles/ArticleThemesManager.swift
index 110a4ccff..2f918b702 100644
--- a/Shared/ArticleStyles/ArticleThemesManager.swift
+++ b/Shared/ArticleStyles/ArticleThemesManager.swift
@@ -7,7 +7,7 @@
//
import Foundation
-import os
+import Synchronization
import RSCore
public extension Notification.Name {
@@ -87,7 +87,7 @@ final class ArticleThemesManager: NSObject, NSFilePresenter, Sendable {
var currentTheme = ArticleTheme.defaultTheme
var themeNames = [AppDefaults.defaultThemeName]
}
- private let state = OSAllocatedUnfairLock(initialState: State())
+ private let state = Mutex(State())
@MainActor private var didStart = false
diff --git a/Shared/Assets.swift b/Shared/Assets.swift
index a17c3d4a6..a3b4dd4b1 100644
--- a/Shared/Assets.swift
+++ b/Shared/Assets.swift
@@ -42,27 +42,9 @@ struct Assets {
nonisolated static var nnwFeedIcon: RSImage { RSImage(named: "nnwFeedIcon")! }
static var faviconTemplate: RSImage { RSImage(named: "faviconTemplateImage")! }
- static let articleExtractorOff: RSImage = {
- if #available(iOS 18, macOS 15, *) {
- return RSImage(symbol: "text.page")!
- } else {
- return RSImage(symbol: "doc.plaintext")!
- }
- }()
- static let articleExtractorOn: RSImage = {
- if #available(iOS 18, macOS 15, *) {
- return RSImage(symbol: "text.page.fill")!
- } else {
- return RSImage(symbol: "doc.plaintext.fill")!
- }
- }()
- static let articleExtractorError: RSImage = {
- if #available(iOS 18, macOS 15, *) {
- return RSImage(symbol: "text.page.slash")!
- } else {
- return RSImage(symbol: "exclamationmark.triangle")!
- }
- }()
+ static let articleExtractorOff: RSImage = RSImage(symbol: "text.page")!
+ static let articleExtractorOn: RSImage = RSImage(symbol: "text.page.fill")!
+ static let articleExtractorError: RSImage = RSImage(symbol: "text.page.slash")!
static let share = RSImage(symbol: "square.and.arrow.up")!
static let folder = RSImage(symbol: "folder")!
static let starredFeed = IconImage(starClosed, isSymbol: true, isBackgroundSuppressed: true, preferredColor: Assets.Colors.star)
diff --git a/Shared/Localizable.xcstrings b/Shared/Localizable.xcstrings
index 033079b98..9eed59c8c 100644
--- a/Shared/Localizable.xcstrings
+++ b/Shared/Localizable.xcstrings
@@ -45,27 +45,8 @@
"%lld months" : {
"comment" : "Dinosaur staleness threshold in months"
},
- "Are you sure you want to delete the account “%@”? This cannot be undone." : {
- "comment" : "Delete account alert message",
- "localizations" : {
- "es" : {
- "stringUnit" : {
- "state" : "translated",
- "value" : "¿Seguro que quieres eliminar la cuenta «%@»? Esta acción no se puede deshacer."
- }
- }
- }
- },
- "Delete “%@”?" : {
- "comment" : "Delete account alert title",
- "localizations" : {
- "es" : {
- "stringUnit" : {
- "state" : "translated",
- "value" : "¿Eliminar «%@»?"
- }
- }
- }
+ "^[%lld folder](inflect: true), ^[%lld feed](inflect: true)" : {
+ "comment" : "Status bar: number of folders and feeds"
},
"🦖 Dinosaurs" : {
"comment" : "The title of the Dinosaurs screen.",
@@ -116,6 +97,9 @@
}
}
},
+ "Actions" : {
+ "comment" : "Status bar gear menu accessibility label"
+ },
"Active" : {
"localizations" : {
"es" : {
@@ -218,6 +202,17 @@
"Are you sure you want to delete the %d selected items?" : {
"comment" : "Items delete text"
},
+ "Are you sure you want to delete the account “%@”? This cannot be undone." : {
+ "comment" : "Delete account alert message",
+ "localizations" : {
+ "es" : {
+ "stringUnit" : {
+ "state" : "translated",
+ "value" : "¿Seguro que quieres eliminar la cuenta «%@»? Esta acción no se puede deshacer."
+ }
+ }
+ }
+ },
"Are you sure you want to delete the feed “%@”?" : {
"comment" : "Delete feed alert message"
},
@@ -371,6 +366,9 @@
}
}
},
+ "Copy" : {
+ "comment" : "Command"
+ },
"Copy Article URL" : {
"comment" : "Command"
},
@@ -449,6 +447,17 @@
}
}
},
+ "Delete “%@”?" : {
+ "comment" : "Delete account alert title",
+ "localizations" : {
+ "es" : {
+ "stringUnit" : {
+ "state" : "translated",
+ "value" : "¿Eliminar «%@»?"
+ }
+ }
+ }
+ },
"Delete Feed" : {
"comment" : "Delete Feed"
},
@@ -695,6 +704,15 @@
"Hide Read Feeds" : {
"comment" : "Command"
},
+ "Hide Sidebar" : {
+ "comment" : "Command"
+ },
+ "Hide Status Bar" : {
+ "comment" : "Command"
+ },
+ "Hide Theme Menu in Status Bar" : {
+ "comment" : "Command"
+ },
"How to Optimize iCloud Syncing" : {
"comment" : "Help link"
},
@@ -865,6 +883,18 @@
"Multiple" : {
"comment" : "Multiple"
},
+ "Multiple feeds" : {
+ "comment" : "Status bar gear menu: header for a selection of several feeds"
+ },
+ "Multiple folders" : {
+ "comment" : "Status bar gear menu: header for a selection of several folders"
+ },
+ "Multiple selection" : {
+ "comment" : "Status bar gear menu: header for a selection of different kinds of items"
+ },
+ "Multiple smart feeds" : {
+ "comment" : "Status bar gear menu: header for a selection of several smart feeds"
+ },
"Name" : {
"comment" : "Name field placeholder"
},
@@ -944,6 +974,9 @@
"No results" : {
"comment" : "No results"
},
+ "Not updated yet" : {
+ "comment" : "Status bar: no refresh has completed yet"
+ },
"Notifications" : {
"comment" : "Notifications"
},
@@ -1185,6 +1218,15 @@
"Show Reader View" : {
"comment" : "Show Reader View"
},
+ "Show Sidebar" : {
+ "comment" : "Command"
+ },
+ "Show Status Bar" : {
+ "comment" : "Command"
+ },
+ "Show Theme Menu in Status Bar" : {
+ "comment" : "Command"
+ },
"Show Website" : {
"comment" : "Show Website"
},
@@ -1248,6 +1290,9 @@
"Starred" : {
"comment" : "Starred"
},
+ "Status Bar" : {
+ "comment" : "Main window status bar accessibility label"
+ },
"Status Records" : {
"comment" : "Status records section header"
},
diff --git a/Shared/ShareExtension/ExtensionFeedAddRequestFile.swift b/Shared/ShareExtension/ExtensionFeedAddRequestFile.swift
index 9ea8fbbc5..308d8d7a6 100644
--- a/Shared/ShareExtension/ExtensionFeedAddRequestFile.swift
+++ b/Shared/ShareExtension/ExtensionFeedAddRequestFile.swift
@@ -9,6 +9,7 @@
import Foundation
import RSCore
import os
+import Synchronization
import Account
final class ExtensionFeedAddRequestFile: NSObject, NSFilePresenter, Sendable {
@@ -36,7 +37,7 @@ final class ExtensionFeedAddRequestFile: NSObject, NSFilePresenter, Sendable {
operationQueue
}
- private let didStart = OSAllocatedUnfairLock(initialState: false)
+ private let didStart = Mutex(false)
func start() {
let alreadyStarted = didStart.withLock { didStart -> Bool in
diff --git a/Technotes/ReleaseNotes-Mac.markdown b/Technotes/ReleaseNotes-Mac.markdown
index d4e912262..e822685cf 100644
--- a/Technotes/ReleaseNotes-Mac.markdown
+++ b/Technotes/ReleaseNotes-Mac.markdown
@@ -1,5 +1,58 @@
# Mac Release Notes
+### 7.3b1 7225 20 Oct 2026 - branch: main tag: mac-7.3b1
+
+Restored the status bar from NetNewsWire of Yore (NetNewsWire 1-3). Show and hide it via the View menu
+
+### 7.2.1 7224 19 Oct 2026 - branch: main tag: mac-7.2.1
+
+Same as 7.2.1b1 — just bumped the version.
+
+Changes since 7.2:
+
+Fixed bug where navigated-to row, in column layout, might appear under column headers
+Fixed bug where scroller hiding/showing could mess up sidebar layout
+Added magnet as an allowed link scheme
+
+### 7.2.1b1 7223 18 Oct 2026 - branch: main tag: mac-7.2.1b1
+
+Fixed bug where navigated-to row, in column layout, might appear under column headers
+Fixed bug where scroller hiding/showing could mess up sidebar layout
+Added magnet as an allowed link scheme
+
+### 7.2 7222 14 Oct 2026 - branch: main tag: mac-7.2
+
+Changes since 7.2b4:
+
+Fixed column view bug where next-unread could scroll to a row that’s hidden under the column headers
+
+Changes since 7.1.5:
+
+Added unread count display setting — show the count, show a dot, or hide it — which applies to the Dock icon badge, window title, and sidebar
+Added column layout for the timeline — choose View > Use Column Layout
+Expanded View > Sort Articles By with more options (works with standard and column layouts)
+Made timeline sorting per window instead of one setting for the whole app
+Made the Add Feed sheet start with the folder or account selected in the sidebar
+Changed the message for adding a feed that’s already added to include the name of the folder (or folders)
+Fixed bug where YouTube embeds in articles showed an error instead of playing
+Fixed bug where embedded videos with no set height — such as Inoreader’s YouTube player — collapsed to a short strip
+Fixed extra whitespace at the end of Slashdot articles and paragraphs running together
+Fixed parsing of RSS feed titles when a feed contains a textinput section (Slashdot, for instance)
+Added support for the instapaper_ignore class — elements marked with it are now removed from articles
+Changed tabs in pre and code elements in articles to display as four spaces
+Improved finding feeds in a page by skipping links to PDFs, movies, and other files that can’t be feeds
+Changed finding a feed to use the redirected-to URL
+Sped up Today and unread count queries
+Added up to 500 characters of the HTTP error response body to Error Log entries
+Fixed bug where the sidebar could reopen with no width when it had been collapsed in 7.1.x
+Fixed a memory leak when closing a main window
+Fixed a possible crash when the sidebar or timeline had no visible rows
+Changed sorting by title and by feed to sort numbers by value — “Episode 2” comes before “Episode 10”
+Added support for Substack-style footnotes
+Improved CJK text rendering in the article view by adding text-autospace
+Fixed horizontal overflow of WordPress Math blocks and SVGs in the Tiqoe Dark theme
+Improved font sizing and fixed superscript orphans in table cells in the Tiqoe Dark theme
+
### 7.2b4 7221 11 Oct 2026 - branch: main tag: mac-7.2b4
Fixed bug where embedded videos with no set height — such as Inoreader’s YouTube player — collapsed to a short strip
diff --git a/Technotes/ReleaseNotes-iOS.markdown b/Technotes/ReleaseNotes-iOS.markdown
index 8b11f6812..a7d7e1646 100644
--- a/Technotes/ReleaseNotes-iOS.markdown
+++ b/Technotes/ReleaseNotes-iOS.markdown
@@ -2,6 +2,40 @@
### 7.2 build 7221 11 Oct 2026 - branch: main tag: iOS-7.2-7221
+Submitted to App Store 15 Oct. 2026. Originally a TestFlight release.
+
+Changes since 7.1.4:
+
+Added unread count display setting — show the count, show a dot, or hide it — which applies to the app icon badge, feeds list, and widgets
+Sped up Today and unread count queries
+Fixed bug where the timeline selection was cleared when using the left arrow or shift-tab to go back to the feeds list (when multiple columns are showing)
+Changed the selection color in the feeds list to blue when it has keyboard focus and multiple columns are showing
+Fixed timeline text sometimes showing white on the gray selection background
+Stopped the scroll animation when restoring the selection in the feeds list and timeline
+Changed sort-by-feed to sort feed names with numbers by value — “Episode 2” comes before “Episode 10”
+Fixed bug where YouTube embeds in articles showed an error instead of playing
+Fixed extra whitespace at the end of Slashdot articles and paragraphs running together
+Added support for the instapaper_ignore class — elements marked with it are now removed from articles
+Added support for Substack-style footnotes
+Improved CJK text rendering in the article view by adding text-autospace
+Changed tabs in pre and code elements in articles to display as four spaces
+Improved font sizing and fixed superscript orphans in table cells in the Tiqoe Dark theme
+Fixed horizontal overflow of WordPress Math blocks and SVGs in the Tiqoe Dark theme
+Fixed parsing of RSS feed titles when a feed contains a textinput section (Slashdot, for instance)
+Fixed Slashdot feed detection (for Slashdot special cases) when the feed comes through a proxy such as FeedBurner
+Improved finding feeds in a page by skipping links to PDFs, movies, and other files that can’t be feeds
+Improved finding feeds in a page by skipping links to X, Twitter, Facebook, and Instagram
+Changed finding a feed to use the redirected-to URL
+Fixed bug where some sites with “youtube” in their names were treated as YouTube
+Offered Update Credentials in the account error alert for all username and password accounts, not just Feedbin
+Filled in the API URL when editing a FreshRSS account’s credentials
+Removed a newly added account when its credentials can’t be saved to the keychain
+Stopped account sheets from being swiped away while they’re working
+Added up to 500 characters of the HTTP error response body to Error Log entries
+Trimmed spaces from folder names when adding a folder
+
+Changes since 7.2 (7220):
+
Fixed bug on iPad where fullscreen YouTube videos were black with audio only
Fixed bug where embedded videos with no set height — such as Inoreader’s YouTube player — collapsed to a short strip
diff --git a/Technotes/Status.md b/Technotes/Status.md
index 0ca365da3..26639aac5 100644
--- a/Technotes/Status.md
+++ b/Technotes/Status.md
@@ -5,16 +5,16 @@ https://github.com/Ranchero-Software/NetNewsWire/milestone/74
## iOS
-iOS shipping: 7.1.4 (7213)
-https://github.com/Ranchero-Software/NetNewsWire/releases/tag/iOS-7.1.3-7206
+iOS shipping: 7.2 (7221)
+https://github.com/Ranchero-Software/NetNewsWire/releases/tag/iOS-7.2-7221
iOS beta: 7.2 (7221)
https://github.com/Ranchero-Software/NetNewsWire/releases/tag/iOS-7.2-7221
## Mac
-Mac shipping: 7.1.5
-https://github.com/Ranchero-Software/NetNewsWire/releases/tag/mac-7.1.5
+Mac shipping: 7.2.1
+https://github.com/Ranchero-Software/NetNewsWire/releases/tag/mac-7.2.1
-Mac beta: 7.2b4
-https://github.com/Ranchero-Software/NetNewsWire/releases/tag/mac-7.2b4
+Mac beta: 7.3b1
+https://github.com/Ranchero-Software/NetNewsWire/releases/tag/mac-7.3b1
diff --git a/Tests/NetNewsWireTests/ArticleRenderingSpecialCasesTests.swift b/Tests/NetNewsWireTests/ArticleRenderingSpecialCasesTests.swift
index fdf088425..e2ccf230f 100644
--- a/Tests/NetNewsWireTests/ArticleRenderingSpecialCasesTests.swift
+++ b/Tests/NetNewsWireTests/ArticleRenderingSpecialCasesTests.swift
@@ -104,6 +104,31 @@ import Testing
#expect(result == html)
}
+ // MARK: - MacRumors stray line breaks
+
+ //
+
+ // From the MacRumors feed on 2026-10-19, cut to one list item.
+ @Test func macRumorsListLosesStrayLineBreaks() {
+ let html = "GM said the rollout will occur as follows.\n \n\n \nSeptember–October 2026\n \n\n \n - Cadillac Vistiq (2027)
\n \n GM said customers will see a notification."
+ let expected = "GM said the rollout will occur as follows.\n \n\n \nSeptember–October 2026\n \n\n - Cadillac Vistiq (2027)
\n GM said customers will see a notification."
+ let result = ArticleRenderingSpecialCases.removeStrayLineBreaksIfNeeded(html, feedURL: "https://feeds.macrumors.com/MacRumors-All", homePageURL: nil)
+ #expect(result == expected)
+ }
+
+ @Test func macRumorsTableLosesStrayLineBreaksButKeepsCellLineBreaks() {
+ let html = "\n \n\n \nHeight | \n \n5.91 inches | \n \nclosed open | \n \n \n \n \n \nAfter."
+ let expected = "\n\n| Height | \n5.91 inches | \nclosed open | \n \n \n \nAfter."
+ let result = ArticleRenderingSpecialCases.removeStrayLineBreaksIfNeeded(html, feedURL: nil, homePageURL: "https://www.macrumors.com/")
+ #expect(result == expected)
+ }
+
+ @Test func otherFeedsKeepLineBreaksInListsAndTables() {
+ let html = ""
+ let result = ArticleRenderingSpecialCases.removeStrayLineBreaksIfNeeded(html, feedURL: "https://example.com/feed.xml", homePageURL: "https://example.com/")
+ #expect(result == html)
+ }
+
// MARK: - Base URL for YouTube articles
//
diff --git a/Widget/Assets.xcassets/CornerIcon.imageset/Contents.json b/Widget/Assets.xcassets/CornerIcon.imageset/Contents.json
deleted file mode 100644
index 2a420c17d..000000000
--- a/Widget/Assets.xcassets/CornerIcon.imageset/Contents.json
+++ /dev/null
@@ -1,12 +0,0 @@
-{
- "images" : [
- {
- "filename" : "Icon_1024x1024.png",
- "idiom" : "universal"
- }
- ],
- "info" : {
- "author" : "xcode",
- "version" : 1
- }
-}
diff --git a/Widget/Assets.xcassets/CornerIcon.imageset/Icon_1024x1024.png b/Widget/Assets.xcassets/CornerIcon.imageset/Icon_1024x1024.png
deleted file mode 100644
index c23104e9b..000000000
Binary files a/Widget/Assets.xcassets/CornerIcon.imageset/Icon_1024x1024.png and /dev/null differ
diff --git a/Widget/Assets.xcassets/WidgetBackground.colorset/Contents.json b/Widget/Assets.xcassets/WidgetBackground.colorset/Contents.json
deleted file mode 100644
index aa42afaf7..000000000
--- a/Widget/Assets.xcassets/WidgetBackground.colorset/Contents.json
+++ /dev/null
@@ -1,38 +0,0 @@
-{
- "colors" : [
- {
- "color" : {
- "color-space" : "srgb",
- "components" : {
- "alpha" : "1.000",
- "blue" : "1.000",
- "green" : "1.000",
- "red" : "1.000"
- }
- },
- "idiom" : "universal"
- },
- {
- "appearances" : [
- {
- "appearance" : "luminosity",
- "value" : "dark"
- }
- ],
- "color" : {
- "color-space" : "srgb",
- "components" : {
- "alpha" : "1.000",
- "blue" : "0.130",
- "green" : "0.130",
- "red" : "0.130"
- }
- },
- "idiom" : "universal"
- }
- ],
- "info" : {
- "author" : "xcode",
- "version" : 1
- }
-}
diff --git a/iOS/AppDelegate.swift b/iOS/AppDelegate.swift
index fa916f45b..18163b1bd 100644
--- a/iOS/AppDelegate.swift
+++ b/iOS/AppDelegate.swift
@@ -9,6 +9,7 @@
import UIKit
@preconcurrency import BackgroundTasks
import os
+import Synchronization
import WidgetKit
import RSCore
import RSWeb
@@ -424,7 +425,7 @@ private extension AppDelegate {
Self.logger.info("Performing background refresh.")
- let refreshTaskIsCompleted = OSAllocatedUnfairLock(initialState: false)
+ let refreshTaskIsCompleted = Mutex(false)
enum RefreshOutcome {
case completed
diff --git a/iOS/Article/ImageScrollView.swift b/iOS/Article/ImageScrollView.swift
index 408757527..4415139b2 100644
--- a/iOS/Article/ImageScrollView.swift
+++ b/iOS/Article/ImageScrollView.swift
@@ -343,7 +343,6 @@ extension ImageScrollView: UIScrollViewDelegate {
return false
}
- @available(iOS 11.0, *)
public func scrollViewDidChangeAdjustedContentInset(_ scrollView: UIScrollView) {
imageScrollViewDelegate?.scrollViewDidChangeAdjustedContentInset?(scrollView)
}
diff --git a/iOS/KeyboardManager.swift b/iOS/KeyboardManager.swift
index 349deed5d..669abca29 100644
--- a/iOS/KeyboardManager.swift
+++ b/iOS/KeyboardManager.swift
@@ -48,9 +48,7 @@ enum KeyboardType: String, Sendable {
static func createKeyCommand(title: String, action: String, input: String, modifiers: UIKeyModifierFlags) -> UIKeyCommand {
let selector = NSSelectorFromString(action)
let keyCommand = UIKeyCommand(title: title, image: nil, action: selector, input: input, modifierFlags: modifiers, propertyList: nil, alternates: [], discoverabilityTitle: nil, attributes: [], state: .on)
- if #available(iOS 15.0, *) {
- keyCommand.wantsPriorityOverSystemBehavior = true
- }
+ keyCommand.wantsPriorityOverSystemBehavior = true
return keyCommand
}
}
@@ -66,9 +64,7 @@ private extension KeyboardManager {
return KeyboardManager.createKeyCommand(title: title, action: action, input: input, modifiers: modifiers)
} else {
let keyCommand = UIKeyCommand(input: input, modifierFlags: modifiers, action: NSSelectorFromString(action))
- if #available(iOS 15.0, *) {
- keyCommand.wantsPriorityOverSystemBehavior = true
- }
+ keyCommand.wantsPriorityOverSystemBehavior = true
return keyCommand
}
}
diff --git a/iOS/MainFeed/Collection View Cells/MainFeedCollectionViewCell.swift b/iOS/MainFeed/Collection View Cells/MainFeedCollectionViewCell.swift
index b4e06f59f..9e2e2fb02 100644
--- a/iOS/MainFeed/Collection View Cells/MainFeedCollectionViewCell.swift
+++ b/iOS/MainFeed/Collection View Cells/MainFeedCollectionViewCell.swift
@@ -78,14 +78,7 @@ final class MainFeedCollectionViewCell: UICollectionViewCell {
}
override func updateConfiguration(using state: UICellConfigurationState) {
- var backgroundConfig: UIBackgroundConfiguration
- if #available(iOS 18, *) {
- backgroundConfig = UIBackgroundConfiguration.listCell().updated(for: state)
- } else if traitCollection.userInterfaceIdiom == .pad {
- backgroundConfig = UIBackgroundConfiguration.listSidebarCell().updated(for: state)
- } else {
- backgroundConfig = UIBackgroundConfiguration.listGroupedCell().updated(for: state)
- }
+ var backgroundConfig = UIBackgroundConfiguration.listCell().updated(for: state)
// Matches the timeline: accent background and white text when the feeds list is first responder,
// and no highlight while a row is pressed, so the row goes straight to the selected style.
diff --git a/iOS/MainFeed/Collection View Cells/MainFeedCollectionViewFolderCell.swift b/iOS/MainFeed/Collection View Cells/MainFeedCollectionViewFolderCell.swift
index de11eccf9..5c357c620 100644
--- a/iOS/MainFeed/Collection View Cells/MainFeedCollectionViewFolderCell.swift
+++ b/iOS/MainFeed/Collection View Cells/MainFeedCollectionViewFolderCell.swift
@@ -138,14 +138,7 @@ class MainFeedCollectionViewFolderCell: UICollectionViewCell {
}
override func updateConfiguration(using state: UICellConfigurationState) {
- var backgroundConfig: UIBackgroundConfiguration
- if #available(iOS 18, *) {
- backgroundConfig = UIBackgroundConfiguration.listCell().updated(for: state)
- } else if traitCollection.userInterfaceIdiom == .pad {
- backgroundConfig = UIBackgroundConfiguration.listSidebarCell().updated(for: state)
- } else {
- backgroundConfig = UIBackgroundConfiguration.listGroupedCell().updated(for: state)
- }
+ var backgroundConfig = UIBackgroundConfiguration.listCell().updated(for: state)
// Matches the timeline: accent background and white text when the feeds list is first responder,
// and no highlight while a row is pressed, so the row goes straight to the selected style.
diff --git a/iOS/MainTimeline/Cell/MainTimelineCell.swift b/iOS/MainTimeline/Cell/MainTimelineCell.swift
index 2733a17ee..0bb6323b3 100644
--- a/iOS/MainTimeline/Cell/MainTimelineCell.swift
+++ b/iOS/MainTimeline/Cell/MainTimelineCell.swift
@@ -72,12 +72,7 @@ final class MainTimelineCell: UICollectionViewCell {
override func updateConfiguration(using state: UICellConfigurationState) {
super.updateConfiguration(using: state)
- var backgroundConfig: UIBackgroundConfiguration
- if #available(iOS 18, *) {
- backgroundConfig = UIBackgroundConfiguration.listCell().updated(for: state)
- } else {
- backgroundConfig = UIBackgroundConfiguration.listGroupedCell().updated(for: state)
- }
+ var backgroundConfig = UIBackgroundConfiguration.listCell().updated(for: state)
// The Settings timeline preview isn't in the split view hierarchy, so style it
// the way the timeline usually looks on the device.
let usesExpandedStyle = isPreview ? UIDevice.current.userInterfaceIdiom == .pad : isInExpandedSplitView
diff --git a/iOS/Resources/Assets.xcassets/Account icon colors/Contents.json b/iOS/Resources/Assets.xcassets/Account icon colors/Contents.json
deleted file mode 100644
index 73c00596a..000000000
--- a/iOS/Resources/Assets.xcassets/Account icon colors/Contents.json
+++ /dev/null
@@ -1,6 +0,0 @@
-{
- "info" : {
- "author" : "xcode",
- "version" : 1
- }
-}
diff --git a/iOS/Resources/Assets.xcassets/Account icon colors/bazquxColor.colorset/Contents.json b/iOS/Resources/Assets.xcassets/Account icon colors/bazquxColor.colorset/Contents.json
deleted file mode 100644
index 9b5443387..000000000
--- a/iOS/Resources/Assets.xcassets/Account icon colors/bazquxColor.colorset/Contents.json
+++ /dev/null
@@ -1,38 +0,0 @@
-{
- "colors" : [
- {
- "color" : {
- "color-space" : "srgb",
- "components" : {
- "alpha" : "1.000",
- "blue" : "204",
- "green" : "153",
- "red" : "51"
- }
- },
- "idiom" : "universal"
- },
- {
- "appearances" : [
- {
- "appearance" : "luminosity",
- "value" : "dark"
- }
- ],
- "color" : {
- "color-space" : "srgb",
- "components" : {
- "alpha" : "1.000",
- "blue" : "194",
- "green" : "143",
- "red" : "43"
- }
- },
- "idiom" : "universal"
- }
- ],
- "info" : {
- "author" : "xcode",
- "version" : 1
- }
-}
diff --git a/iOS/Resources/Assets.xcassets/Account icon colors/cloudkitColor.colorset/Contents.json b/iOS/Resources/Assets.xcassets/Account icon colors/cloudkitColor.colorset/Contents.json
deleted file mode 100644
index 7a02ab4bf..000000000
--- a/iOS/Resources/Assets.xcassets/Account icon colors/cloudkitColor.colorset/Contents.json
+++ /dev/null
@@ -1,38 +0,0 @@
-{
- "colors" : [
- {
- "color" : {
- "color-space" : "srgb",
- "components" : {
- "alpha" : "1.000",
- "blue" : "178",
- "green" : "174",
- "red" : "174"
- }
- },
- "idiom" : "universal"
- },
- {
- "appearances" : [
- {
- "appearance" : "luminosity",
- "value" : "dark"
- }
- ],
- "color" : {
- "color-space" : "srgb",
- "components" : {
- "alpha" : "1.000",
- "blue" : "102",
- "green" : "99",
- "red" : "99"
- }
- },
- "idiom" : "universal"
- }
- ],
- "info" : {
- "author" : "xcode",
- "version" : 1
- }
-}
diff --git a/iOS/Resources/Assets.xcassets/Account icon colors/feedbinColor.colorset/Contents.json b/iOS/Resources/Assets.xcassets/Account icon colors/feedbinColor.colorset/Contents.json
deleted file mode 100644
index 70285bbbb..000000000
--- a/iOS/Resources/Assets.xcassets/Account icon colors/feedbinColor.colorset/Contents.json
+++ /dev/null
@@ -1,38 +0,0 @@
-{
- "colors" : [
- {
- "color" : {
- "color-space" : "srgb",
- "components" : {
- "alpha" : "1.000",
- "blue" : "206",
- "green" : "94",
- "red" : "7"
- }
- },
- "idiom" : "universal"
- },
- {
- "appearances" : [
- {
- "appearance" : "luminosity",
- "value" : "dark"
- }
- ],
- "color" : {
- "color-space" : "srgb",
- "components" : {
- "alpha" : "1.000",
- "blue" : "192",
- "green" : "69",
- "red" : "7"
- }
- },
- "idiom" : "universal"
- }
- ],
- "info" : {
- "author" : "xcode",
- "version" : 1
- }
-}
diff --git a/iOS/Resources/Assets.xcassets/Account icon colors/feedlyColor.colorset/Contents.json b/iOS/Resources/Assets.xcassets/Account icon colors/feedlyColor.colorset/Contents.json
deleted file mode 100644
index 9a49b2f33..000000000
--- a/iOS/Resources/Assets.xcassets/Account icon colors/feedlyColor.colorset/Contents.json
+++ /dev/null
@@ -1,38 +0,0 @@
-{
- "colors" : [
- {
- "color" : {
- "color-space" : "srgb",
- "components" : {
- "alpha" : "1.000",
- "blue" : "76",
- "green" : "177",
- "red" : "43"
- }
- },
- "idiom" : "universal"
- },
- {
- "appearances" : [
- {
- "appearance" : "luminosity",
- "value" : "dark"
- }
- ],
- "color" : {
- "color-space" : "srgb",
- "components" : {
- "alpha" : "1.000",
- "blue" : "56",
- "green" : "157",
- "red" : "23"
- }
- },
- "idiom" : "universal"
- }
- ],
- "info" : {
- "author" : "xcode",
- "version" : 1
- }
-}
diff --git a/iOS/Resources/Assets.xcassets/Account icon colors/freshRSSColor.colorset/Contents.json b/iOS/Resources/Assets.xcassets/Account icon colors/freshRSSColor.colorset/Contents.json
deleted file mode 100644
index f28741638..000000000
--- a/iOS/Resources/Assets.xcassets/Account icon colors/freshRSSColor.colorset/Contents.json
+++ /dev/null
@@ -1,38 +0,0 @@
-{
- "colors" : [
- {
- "color" : {
- "color-space" : "srgb",
- "components" : {
- "alpha" : "1.000",
- "blue" : "189",
- "green" : "98",
- "red" : "0"
- }
- },
- "idiom" : "universal"
- },
- {
- "appearances" : [
- {
- "appearance" : "luminosity",
- "value" : "dark"
- }
- ],
- "color" : {
- "color-space" : "srgb",
- "components" : {
- "alpha" : "1.000",
- "blue" : "169",
- "green" : "78",
- "red" : "1"
- }
- },
- "idiom" : "universal"
- }
- ],
- "info" : {
- "author" : "xcode",
- "version" : 1
- }
-}
diff --git a/iOS/Resources/Assets.xcassets/Account icon colors/inoreaderColor.colorset/Contents.json b/iOS/Resources/Assets.xcassets/Account icon colors/inoreaderColor.colorset/Contents.json
deleted file mode 100644
index 15944ddfc..000000000
--- a/iOS/Resources/Assets.xcassets/Account icon colors/inoreaderColor.colorset/Contents.json
+++ /dev/null
@@ -1,38 +0,0 @@
-{
- "colors" : [
- {
- "color" : {
- "color-space" : "srgb",
- "components" : {
- "alpha" : "1.000",
- "blue" : "199",
- "green" : "123",
- "red" : "1"
- }
- },
- "idiom" : "universal"
- },
- {
- "appearances" : [
- {
- "appearance" : "luminosity",
- "value" : "dark"
- }
- ],
- "color" : {
- "color-space" : "srgb",
- "components" : {
- "alpha" : "1.000",
- "blue" : "179",
- "green" : "103",
- "red" : "1"
- }
- },
- "idiom" : "universal"
- }
- ],
- "info" : {
- "author" : "xcode",
- "version" : 1
- }
-}
diff --git a/iOS/Resources/Assets.xcassets/Account icon colors/localColor.colorset/Contents.json b/iOS/Resources/Assets.xcassets/Account icon colors/localColor.colorset/Contents.json
deleted file mode 100644
index 116d254f0..000000000
--- a/iOS/Resources/Assets.xcassets/Account icon colors/localColor.colorset/Contents.json
+++ /dev/null
@@ -1,38 +0,0 @@
-{
- "colors" : [
- {
- "color" : {
- "color-space" : "srgb",
- "components" : {
- "alpha" : "1.000",
- "blue" : "0xFF",
- "green" : "0x7A",
- "red" : "0x00"
- }
- },
- "idiom" : "universal"
- },
- {
- "appearances" : [
- {
- "appearance" : "luminosity",
- "value" : "dark"
- }
- ],
- "color" : {
- "color-space" : "srgb",
- "components" : {
- "alpha" : "1.000",
- "blue" : "0xFF",
- "green" : "0x84",
- "red" : "0x0A"
- }
- },
- "idiom" : "universal"
- }
- ],
- "info" : {
- "author" : "xcode",
- "version" : 1
- }
-}
diff --git a/iOS/Resources/Assets.xcassets/Account icon colors/newsblurColor.colorset/Contents.json b/iOS/Resources/Assets.xcassets/Account icon colors/newsblurColor.colorset/Contents.json
deleted file mode 100644
index 33988d2d2..000000000
--- a/iOS/Resources/Assets.xcassets/Account icon colors/newsblurColor.colorset/Contents.json
+++ /dev/null
@@ -1,38 +0,0 @@
-{
- "colors" : [
- {
- "color" : {
- "color-space" : "srgb",
- "components" : {
- "alpha" : "1.000",
- "blue" : "0",
- "green" : "149",
- "red" : "255"
- }
- },
- "idiom" : "universal"
- },
- {
- "appearances" : [
- {
- "appearance" : "luminosity",
- "value" : "dark"
- }
- ],
- "color" : {
- "color-space" : "srgb",
- "components" : {
- "alpha" : "1.000",
- "blue" : "10",
- "green" : "159",
- "red" : "255"
- }
- },
- "idiom" : "universal"
- }
- ],
- "info" : {
- "author" : "xcode",
- "version" : 1
- }
-}
diff --git a/iOS/Resources/Assets.xcassets/Account icon colors/theoldreaderColor.colorset/Contents.json b/iOS/Resources/Assets.xcassets/Account icon colors/theoldreaderColor.colorset/Contents.json
deleted file mode 100644
index 77b47025f..000000000
--- a/iOS/Resources/Assets.xcassets/Account icon colors/theoldreaderColor.colorset/Contents.json
+++ /dev/null
@@ -1,38 +0,0 @@
-{
- "colors" : [
- {
- "color" : {
- "color-space" : "srgb",
- "components" : {
- "alpha" : "1.000",
- "blue" : "0x00",
- "green" : "0x25",
- "red" : "0xFF"
- }
- },
- "idiom" : "universal"
- },
- {
- "appearances" : [
- {
- "appearance" : "luminosity",
- "value" : "dark"
- }
- ],
- "color" : {
- "color-space" : "srgb",
- "components" : {
- "alpha" : "1.000",
- "blue" : "0",
- "green" : "17",
- "red" : "225"
- }
- },
- "idiom" : "universal"
- }
- ],
- "info" : {
- "author" : "xcode",
- "version" : 1
- }
-}
diff --git a/iOS/Settings/AboutView.swift b/iOS/Settings/AboutView.swift
index 5d3a1c2e7..1de93d704 100644
--- a/iOS/Settings/AboutView.swift
+++ b/iOS/Settings/AboutView.swift
@@ -7,6 +7,7 @@
//
import SwiftUI
+import RSCore
struct AboutView: View {
var body: some View {
@@ -20,8 +21,9 @@ struct AboutView: View {
Text(verbatim: "NetNewsWire")
.font(.largeTitle)
- Text(verbatim: "By Brent Simmons and the Ranchero Software team")
- .foregroundStyle(.secondary)
+ CopyableText(text: "Version \(Bundle.main.versionNumber) (build \(Bundle.main.buildNumber))")
+
+ Text(verbatim: "By Brent Simmons and the NetNewsWire team")
Text("[netnewswire.com](https://netnewswire.com/)")
VStack(spacing: 6) {
diff --git a/iOS/Settings/SettingsViewController.swift b/iOS/Settings/SettingsViewController.swift
index ed5182c50..130cf8fbb 100644
--- a/iOS/Settings/SettingsViewController.swift
+++ b/iOS/Settings/SettingsViewController.swift
@@ -150,15 +150,13 @@ final class SettingsViewController: UITableViewController {
openLinksInNetNewsWire.isOn = !AppDefaults.shared.useSystemBrowser
- let buildLabel = NonIntrinsicLabel(frame: CGRect(x: 32.0, y: 0.0, width: 0.0, height: 0.0))
+ let buildLabel = CopyableLabel(frame: CGRect(x: 32.0, y: 0.0, width: 0.0, height: 0.0))
buildLabel.font = UIFont.systemFont(ofSize: 11.0)
buildLabel.textColor = UIColor.gray
- buildLabel.text = "\(Bundle.main.appName) \(Bundle.main.versionNumber) (Build \(Bundle.main.buildNumber))"
+ buildLabel.text = "\(Bundle.main.appName) \(Bundle.main.versionNumber) (build \(Bundle.main.buildNumber))"
buildLabel.sizeToFit()
- buildLabel.translatesAutoresizingMaskIntoConstraints = false
- let wrapperView = UIView(frame: CGRect(x: 0, y: 0, width: buildLabel.frame.width, height: buildLabel.frame.height + 10.0))
- wrapperView.translatesAutoresizingMaskIntoConstraints = false
+ let wrapperView = UIView(frame: CGRect(x: 0, y: 0, width: tableView.bounds.width, height: buildLabel.frame.height + 10.0))
wrapperView.addSubview(buildLabel)
tableView.tableFooterView = wrapperView
diff --git a/iOS/Settings/TimelineCustomizerCell.swift b/iOS/Settings/TimelineCustomizerCell.swift
index 4ed3d1087..80b01faa8 100644
--- a/iOS/Settings/TimelineCustomizerCell.swift
+++ b/iOS/Settings/TimelineCustomizerCell.swift
@@ -55,12 +55,7 @@ final class TimelineCustomizerCell: UICollectionViewCell {
}
override func updateConfiguration(using state: UICellConfigurationState) {
- var backgroundConfig: UIBackgroundConfiguration
- if #available(iOS 18, *) {
- backgroundConfig = UIBackgroundConfiguration.listCell().updated(for: state)
- } else {
- backgroundConfig = UIBackgroundConfiguration.listGroupedCell().updated(for: state)
- }
+ var backgroundConfig = UIBackgroundConfiguration.listCell().updated(for: state)
backgroundConfig.backgroundColor = traitCollection.userInterfaceStyle == .dark ? .secondarySystemBackground : .white
backgroundConfig.cornerRadius = 20
self.backgroundConfiguration = backgroundConfig
diff --git a/iOS/UIKit Extensions/CopyableLabel.swift b/iOS/UIKit Extensions/CopyableLabel.swift
new file mode 100644
index 000000000..263ca720b
--- /dev/null
+++ b/iOS/UIKit Extensions/CopyableLabel.swift
@@ -0,0 +1,85 @@
+//
+// CopyableLabel.swift
+// NetNewsWire-iOS
+//
+// Created by Brent Simmons on 10/20/26.
+//
+
+import UIKit
+import SwiftUI
+
+/// A label that shows a Copy edit menu on long press. Copy copies the entire text — no selection.
+final class CopyableLabel: UILabel {
+
+ override init(frame: CGRect) {
+ super.init(frame: frame)
+ commonInit()
+ }
+
+ required init?(coder: NSCoder) {
+ super.init(coder: coder)
+ commonInit()
+ }
+}
+
+// MARK: - UIEditMenuInteractionDelegate
+
+extension CopyableLabel: @preconcurrency UIEditMenuInteractionDelegate {
+
+ func editMenuInteraction(_ interaction: UIEditMenuInteraction, menuFor configuration: UIEditMenuConfiguration, suggestedActions: [UIMenuElement]) -> UIMenu? {
+ let title = NSLocalizedString("Copy", comment: "Command")
+ let copyAction = UIAction(title: title) { [weak self] _ in
+ UIPasteboard.general.string = self?.text
+ }
+ return UIMenu(children: [copyAction])
+ }
+}
+
+// MARK: - Private
+
+private extension CopyableLabel {
+
+ func commonInit() {
+ isUserInteractionEnabled = true
+ addInteraction(UIEditMenuInteraction(delegate: self))
+ addGestureRecognizer(UILongPressGestureRecognizer(target: self, action: #selector(showEditMenu(_:))))
+ }
+
+ @objc func showEditMenu(_ recognizer: UILongPressGestureRecognizer) {
+ guard recognizer.state == .began else {
+ return
+ }
+ guard let editMenuInteraction = interactions.first(where: { $0 is UIEditMenuInteraction }) as? UIEditMenuInteraction else {
+ return
+ }
+ let sourcePoint = CGPoint(x: bounds.midX, y: bounds.minY)
+ editMenuInteraction.presentEditMenu(with: UIEditMenuConfiguration(identifier: nil, sourcePoint: sourcePoint))
+ }
+}
+
+// MARK: - SwiftUI
+
+/// SwiftUI wrapper for `CopyableLabel`: centered, secondary-colored body text.
+struct CopyableText: UIViewRepresentable {
+
+ let text: String
+
+ func makeUIView(context: Context) -> CopyableLabel {
+ let label = CopyableLabel()
+ label.font = UIFont.preferredFont(forTextStyle: .body)
+ label.adjustsFontForContentSizeCategory = true
+ label.textColor = UIColor.secondaryLabel
+ label.textAlignment = .center
+ label.numberOfLines = 0
+ return label
+ }
+
+ func updateUIView(_ label: CopyableLabel, context: Context) {
+ label.text = text
+ }
+
+ func sizeThatFits(_ proposal: ProposedViewSize, uiView label: CopyableLabel, context: Context) -> CGSize? {
+ let width = proposal.width ?? CGFloat.greatestFiniteMagnitude
+ return label.sizeThatFits(CGSize(width: width, height: CGFloat.greatestFiniteMagnitude))
+ }
+}
diff --git a/xcconfig/NetNewsWire_iOSwidgetextension_target.xcconfig b/xcconfig/NetNewsWire_iOSwidgetextension_target.xcconfig
index 6c9a575e2..0cd00deae 100644
--- a/xcconfig/NetNewsWire_iOSwidgetextension_target.xcconfig
+++ b/xcconfig/NetNewsWire_iOSwidgetextension_target.xcconfig
@@ -3,4 +3,4 @@ CODE_SIGN_ENTITLEMENTS = Widget/NetNewsWire_iOS_WidgetExtension.entitlements
INFOPLIST_FILE = Widget/Info.plist
PRODUCT_BUNDLE_IDENTIFIER = $(ORGANIZATION_IDENTIFIER).NetNewsWire.iOS$(BUNDLE_ID_SUFFIX).SpringboardWidgets
-IPHONEOS_DEPLOYMENT_TARGET = 17.0
+IPHONEOS_DEPLOYMENT_TARGET = 18.0
diff --git a/xcconfig/NetNewsWire_project.xcconfig b/xcconfig/NetNewsWire_project.xcconfig
index d774bbde9..e65dfeb6a 100644
--- a/xcconfig/NetNewsWire_project.xcconfig
+++ b/xcconfig/NetNewsWire_project.xcconfig
@@ -47,7 +47,7 @@ GCC_WARN_UNINITIALIZED_AUTOS = YES_AGGRESSIVE
GCC_WARN_UNUSED_FUNCTION = YES
GCC_WARN_UNUSED_VARIABLE = YES
MACOSX_DEPLOYMENT_TARGET = 15.0
-IPHONEOS_DEPLOYMENT_TARGET = 17.0
+IPHONEOS_DEPLOYMENT_TARGET = 18.0
//SDKROOT = macosx
SWIFT_EMIT_LOC_STRINGS = YES
SWIFT_SWIFT3_OBJC_INFERENCE = Off
diff --git a/xcconfig/common/NetNewsWire_mac_target_common.xcconfig b/xcconfig/common/NetNewsWire_mac_target_common.xcconfig
index 19890883b..8a3789322 100644
--- a/xcconfig/common/NetNewsWire_mac_target_common.xcconfig
+++ b/xcconfig/common/NetNewsWire_mac_target_common.xcconfig
@@ -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.2b4
+MARKETING_VERSION = 7.3b1
APP_GROUP_ID = group.$(ORGANIZATION_IDENTIFIER).NetNewsWire-Evergreen$(APP_GROUP_SUFFIX)
diff --git a/xcconfig/common/NetNewsWire_version.xcconfig b/xcconfig/common/NetNewsWire_version.xcconfig
index 9b252c3a6..e99d65a8f 100644
--- a/xcconfig/common/NetNewsWire_version.xcconfig
+++ b/xcconfig/common/NetNewsWire_version.xcconfig
@@ -1 +1 @@
-CURRENT_PROJECT_VERSION = 7221
+CURRENT_PROJECT_VERSION = 7225
|