Create new Timeline settings pane on Mac (the Appearance pane was too long).

This commit is contained in:
Brent Simmons committed 2026-11-07 16:10:57 -08:00
1 parent 128b727f42
commit d2ca8c031f
8 files changed
+916 -827

No files matched your search

@@ -7,7 +7,6 @@
import AppKit
import RSCore
import Images
final class AppearancePreferencesViewController: NSViewController {
@@ -19,16 +18,6 @@ final class AppearancePreferencesViewController: NSViewController {
@IBOutlet var sidebarShowAllUnreadButton: NSButton?
@IBOutlet var sidebarShowStarredButton: NSButton?
@IBOutlet var timelineIconsPopup: NSPopUpButton?
@IBOutlet var timelineIconSizePopup: NSPopUpButton?
@IBOutlet var timelineTitleAndSummaryButton: NSButton?
@IBOutlet var timelineNumberOfLinesPopup: NSPopUpButton?
@IBOutlet var timelineFullTitlesButton: NSButton?
@IBOutlet var timelineThumbnailsPopup: NSPopUpButton?
@IBOutlet var timelineTextSizePopup: NSPopUpButton?
@IBOutlet var timelineShowSeparatorsButton: NSButton?
@IBOutlet var timelineFadeReadArticlesButton: NSButton?
@IBOutlet var articleTextSizeLabel: NSTextField?
@IBOutlet var articleTextSizePopup: NSPopUpButton?
@IBOutlet var articleThemePopup: NSPopUpButton?
@@ -59,13 +48,6 @@ final class AppearancePreferencesViewController: NSViewController {
updateSidebarShowIconsButton()
updateSidebarTextSizePopup()
updateSmartFeedsButtons()
updateTimelineFeedIconsPopup()
updateTimelineIconSizePopup()
updateTimelineThumbnailsPopup()
updateTimelineTextSizePopup()
updateTimelineRowsControls()
updateTimelineShowSeparatorsButton()
updateTimelineFadeReadArticlesButton()
updateArticleThemePopup()
}
@@ -95,38 +77,6 @@ final class AppearancePreferencesViewController: NSViewController {
updateSmartFeedsButtons()
}
@objc func handleTimelineFeedIconsDisplayDidChange(_ notification: Notification) {
updateTimelineFeedIconsPopup()
}
@objc func handleTimelineIconSizeDidChange(_ notification: Notification) {
updateTimelineIconSizePopup()
}
@objc func handleTimelineThumbnailsDisplayDidChange(_ notification: Notification) {
updateTimelineThumbnailsPopup()
}
@objc func handleTimelineTextSizeDidChange(_ notification: Notification) {
updateTimelineTextSizePopup()
}
@objc func handleTimelineNumberOfLinesDidChange(_ notification: Notification) {
updateTimelineRowsControls()
}
@objc func handleTimelineShowFullTitlesDidChange(_ notification: Notification) {
updateTimelineRowsControls()
}
@objc func handleTimelineShowSeparatorsDidChange(_ notification: Notification) {
updateTimelineShowSeparatorsButton()
}
@objc func handleTimelineFadeReadArticlesDidChange(_ notification: Notification) {
updateTimelineFadeReadArticlesButton()
}
// MARK: - Actions
@IBAction func appearancePopUpDidChange(_ sender: Any) {
@@ -159,53 +109,6 @@ final class AppearancePreferencesViewController: NSViewController {
AppDefaults.showStarredFeed = sender.state == .on
}
@IBAction func timelineFeedIconsPopUpDidChange(_ sender: Any) {
guard let tag = timelineIconsPopup?.selectedTag(), let feedIconsDisplay = TimelineFeedIconsDisplay(rawValue: tag) else {
return
}
AppDefaults.timelineFeedIconsDisplay = feedIconsDisplay
}
@IBAction func timelineIconSizePopUpDidChange(_ sender: Any) {
guard let tag = timelineIconSizePopup?.selectedTag(), let iconSize = IconSize(rawValue: tag) else {
return
}
AppDefaults.timelineIconSize = iconSize
}
@IBAction func timelineThumbnailsPopUpDidChange(_ sender: Any) {
guard let tag = timelineThumbnailsPopup?.selectedTag(), let thumbnailsDisplay = TimelineThumbnailsDisplay(rawValue: tag) else {
return
}
AppDefaults.timelineThumbnailsDisplay = thumbnailsDisplay
}
@IBAction func timelineTextSizePopUpDidChange(_ sender: Any) {
guard let tag = timelineTextSizePopup?.selectedTag(), let textSize = TimelineTextSize(rawValue: tag) else {
return
}
AppDefaults.timelineTextSize = textSize
}
@IBAction func timelineNumberOfLinesPopUpDidChange(_ sender: Any) {
guard let numberOfLines = timelineNumberOfLinesPopup?.selectedTag() else {
return
}
AppDefaults.timelineNumberOfLines = numberOfLines
}
@IBAction func timelineRowsRadioButtonDidChange(_ sender: NSButton) {
AppDefaults.timelineShowFullTitles = sender === timelineFullTitlesButton
}
@IBAction func timelineShowSeparatorsDidChange(_ sender: NSButton) {
AppDefaults.timelineShowSeparators = sender.state == .on
}
@IBAction func timelineFadeReadArticlesDidChange(_ sender: NSButton) {
AppDefaults.timelineFadeReadArticles = sender.state == .on
}
@IBAction func showThemesFolder(_ sender: Any) {
let url = URL(fileURLWithPath: ArticleThemesManager.shared.folderPath)
NSWorkspace.shared.open(url)
@@ -231,14 +134,6 @@ private extension AppearancePreferencesViewController {
NotificationCenter.default.addObserver(self, selector: #selector(handleSidebarShowsIconsDidChange(_:)), name: .sidebarShowsIconsDidChange, object: nil)
NotificationCenter.default.addObserver(self, selector: #selector(handleSidebarTextSizeDidChange(_:)), name: .sidebarTextSizeDidChange, object: nil)
NotificationCenter.default.addObserver(self, selector: #selector(handleSidebarSmartFeedsVisibilityDidChange(_:)), name: .sidebarSmartFeedsVisibilityDidChange, object: nil)
NotificationCenter.default.addObserver(self, selector: #selector(handleTimelineFeedIconsDisplayDidChange(_:)), name: .timelineFeedIconsDisplayDidChange, object: nil)
NotificationCenter.default.addObserver(self, selector: #selector(handleTimelineIconSizeDidChange(_:)), name: .timelineIconSizeDidChange, object: nil)
NotificationCenter.default.addObserver(self, selector: #selector(handleTimelineThumbnailsDisplayDidChange(_:)), name: .timelineThumbnailsDisplayDidChange, object: nil)
NotificationCenter.default.addObserver(self, selector: #selector(handleTimelineTextSizeDidChange(_:)), name: .timelineTextSizeDidChange, object: nil)
NotificationCenter.default.addObserver(self, selector: #selector(handleTimelineNumberOfLinesDidChange(_:)), name: .timelineNumberOfLinesDidChange, object: nil)
NotificationCenter.default.addObserver(self, selector: #selector(handleTimelineShowFullTitlesDidChange(_:)), name: .timelineShowFullTitlesDidChange, object: nil)
NotificationCenter.default.addObserver(self, selector: #selector(handleTimelineShowSeparatorsDidChange(_:)), name: .timelineShowSeparatorsDidChange, object: nil)
NotificationCenter.default.addObserver(self, selector: #selector(handleTimelineFadeReadArticlesDidChange(_:)), name: .timelineFadeReadArticlesDidChange, object: nil)
}
/// On macOS 15 the "Article Text Size:" label is vertically misaligned
@@ -290,39 +185,6 @@ private extension AppearancePreferencesViewController {
sidebarShowStarredButton?.state = AppDefaults.showStarredFeed ? .on : .off
}
func updateTimelineFeedIconsPopup() {
timelineIconsPopup?.selectItem(withTag: AppDefaults.timelineFeedIconsDisplay.rawValue)
}
func updateTimelineIconSizePopup() {
timelineIconSizePopup?.selectItem(withTag: AppDefaults.timelineIconSize.rawValue)
}
func updateTimelineThumbnailsPopup() {
timelineThumbnailsPopup?.selectItem(withTag: AppDefaults.timelineThumbnailsDisplay.rawValue)
}
func updateTimelineTextSizePopup() {
timelineTextSizePopup?.selectItem(withTag: AppDefaults.timelineTextSize.rawValue)
}
/// The number of lines applies only to title and summary, so its popup is disabled with full titles.
func updateTimelineRowsControls() {
let showFullTitles = AppDefaults.timelineShowFullTitles
timelineTitleAndSummaryButton?.state = showFullTitles ? .off : .on
timelineFullTitlesButton?.state = showFullTitles ? .on : .off
timelineNumberOfLinesPopup?.selectItem(withTag: AppDefaults.timelineNumberOfLines)
timelineNumberOfLinesPopup?.isEnabled = !showFullTitles
}
func updateTimelineShowSeparatorsButton() {
timelineShowSeparatorsButton?.state = AppDefaults.timelineShowSeparators ? .on : .off
}
func updateTimelineFadeReadArticlesButton() {
timelineFadeReadArticlesButton?.state = AppDefaults.timelineFadeReadArticles ? .on : .off
}
func updateArticleThemePopup() {
guard let articleThemePopup, let menu = articleThemePopup.menu else {
return
@@ -16,29 +16,20 @@
<outlet property="sidebarShowStarredButton" destination="sbB-sT-0b1" id="sbO-sT-0o1"/>
<outlet property="sidebarShowTodayButton" destination="sbB-tD-0b1" id="sbO-tD-0o1"/>
<outlet property="sidebarTextSizePopup" destination="sbP-tX-0p1" id="sbO-tX-0o1"/>
<outlet property="timelineIconSizePopup" destination="tlP-fS-0p1" id="tlO-fS-0o1"/>
<outlet property="timelineIconsPopup" destination="tlP-fD-0p1" id="tlO-fD-0o1"/>
<outlet property="timelineFadeReadArticlesButton" destination="tlB-fR-0b1" id="tlO-fR-0o1"/>
<outlet property="timelineFullTitlesButton" destination="tlR-fT-0b1" id="tlO-fT-0o1"/>
<outlet property="timelineNumberOfLinesPopup" destination="tlP-nL-0p1" id="tlO-nL-0o1"/>
<outlet property="timelineShowSeparatorsButton" destination="tlB-sP-0b1" id="tlO-sP-0o1"/>
<outlet property="timelineTitleAndSummaryButton" destination="tlR-tP-0b1" id="tlO-tP-0o1"/>
<outlet property="timelineTextSizePopup" destination="tlP-tX-0p1" id="tlO-tX-0o1"/>
<outlet property="timelineThumbnailsPopup" destination="tlP-tS-0p1" id="tlO-tS-0o1"/>
<outlet property="view" destination="apV-iw-0v1" id="apO-vw-0o1"/>
</connections>
</customObject>
<customObject id="-1" userLabel="First Responder" customClass="FirstResponder"/>
<customObject id="-3" userLabel="Application" customClass="NSObject"/>
<view id="apV-iw-0v1">
<rect key="frame" x="0.0" y="0.0" width="515" height="767"/>
<rect key="frame" x="0.0" y="0.0" width="515" height="366"/>
<autoresizingMask key="autoresizingMask"/>
<subviews>
<customView translatesAutoresizingMaskIntoConstraints="NO" id="apC-nT-0c1">
<rect key="frame" x="55" y="20" width="406" height="727"/>
<rect key="frame" x="74" y="20" width="368" height="326"/>
<subviews>
<textField focusRingType="none" horizontalHuggingPriority="251" verticalHuggingPriority="750" translatesAutoresizingMaskIntoConstraints="NO" id="apL-cM-0l1">
<rect key="frame" x="-2" y="707" width="151" height="16"/>
<rect key="frame" x="-2" y="306" width="113" height="16"/>
<textFieldCell key="cell" lineBreakMode="truncatingTail" sendsActionOnEndEditing="YES" alignment="right" title="Appearance:" id="apL-cM-0c1">
<font key="font" metaFont="system"/>
<color key="textColor" name="labelColor" catalog="System" colorSpace="catalog"/>
@@ -46,7 +37,7 @@
</textFieldCell>
</textField>
<popUpButton verticalHuggingPriority="750" translatesAutoresizingMaskIntoConstraints="NO" id="apP-cM-0p1">
<rect key="frame" x="155" y="703" width="250" height="24"/>
<rect key="frame" x="117" y="302" width="250" height="24"/>
<popUpButtonCell key="cell" type="push" title="System" bezelStyle="rounded" alignment="left" lineBreakMode="truncatingTail" state="on" borderStyle="borderAndBezel" imageScaling="proportionallyDown" inset="2" selectedItem="apM-cM-0m0" id="apP-cM-0c1">
<behavior key="behavior" lightByBackground="YES" lightByGray="YES"/>
<font key="font" metaFont="message"/>
@@ -67,10 +58,10 @@
</connections>
</popUpButton>
<box verticalHuggingPriority="750" boxType="separator" translatesAutoresizingMaskIntoConstraints="NO" id="sp1-Bx-0s1">
<rect key="frame" x="0.0" y="680" width="405" height="5"/>
<rect key="frame" x="0.0" y="279" width="367" height="5"/>
</box>
<textField focusRingType="none" horizontalHuggingPriority="251" verticalHuggingPriority="750" translatesAutoresizingMaskIntoConstraints="NO" id="sbL-fI-0l1">
<rect key="frame" x="-2" y="646" width="151" height="16"/>
<rect key="frame" x="-2" y="245" width="113" height="16"/>
<textFieldCell key="cell" lineBreakMode="truncatingTail" sendsActionOnEndEditing="YES" alignment="right" title="Sidebar Icons:" id="sbL-fI-0c1">
<font key="font" metaFont="system"/>
<color key="textColor" name="labelColor" catalog="System" colorSpace="catalog"/>
@@ -78,7 +69,7 @@
</textFieldCell>
</textField>
<button verticalHuggingPriority="750" translatesAutoresizingMaskIntoConstraints="NO" id="sbB-fI-0b1">
<rect key="frame" x="155" y="646" width="251" height="16"/>
<rect key="frame" x="117" y="245" width="251" height="16"/>
<buttonCell key="cell" type="check" title="Show" bezelStyle="regularSquare" imagePosition="left" state="on" inset="2" id="sbB-fI-0c1">
<behavior key="behavior" changeContents="YES" doesNotDimImage="YES" lightByContents="YES"/>
<font key="font" metaFont="system"/>
@@ -88,7 +79,7 @@
</connections>
</button>
<textField focusRingType="none" horizontalHuggingPriority="251" verticalHuggingPriority="750" translatesAutoresizingMaskIntoConstraints="NO" id="sbL-tX-0l1">
<rect key="frame" x="-2" y="614" width="151" height="16"/>
<rect key="frame" x="-2" y="213" width="113" height="16"/>
<textFieldCell key="cell" lineBreakMode="truncatingTail" sendsActionOnEndEditing="YES" alignment="right" title="Sidebar Text Size:" id="sbL-tX-0c1">
<font key="font" metaFont="system"/>
<color key="textColor" name="labelColor" catalog="System" colorSpace="catalog"/>
@@ -96,7 +87,7 @@
</textFieldCell>
</textField>
<popUpButton verticalHuggingPriority="750" translatesAutoresizingMaskIntoConstraints="NO" id="sbP-tX-0p1">
<rect key="frame" x="155" y="610" width="250" height="24"/>
<rect key="frame" x="117" y="209" width="250" height="24"/>
<popUpButtonCell key="cell" type="push" title="System" bezelStyle="rounded" alignment="left" lineBreakMode="truncatingTail" state="on" borderStyle="borderAndBezel" imageScaling="proportionallyDown" inset="2" selectedItem="sbM-tX-0m0" id="sbP-tX-0c1">
<behavior key="behavior" lightByBackground="YES" lightByGray="YES"/>
<font key="font" metaFont="message"/>
@@ -120,7 +111,7 @@
</connections>
</popUpButton>
<textField focusRingType="none" horizontalHuggingPriority="251" verticalHuggingPriority="750" translatesAutoresizingMaskIntoConstraints="NO" id="sbL-sF-0l1">
<rect key="frame" x="-2" y="582" width="151" height="16"/>
<rect key="frame" x="-2" y="181" width="113" height="16"/>
<textFieldCell key="cell" lineBreakMode="truncatingTail" sendsActionOnEndEditing="YES" alignment="right" title="Smart Feeds:" id="sbL-sF-0c1">
<font key="font" metaFont="system"/>
<color key="textColor" name="labelColor" catalog="System" colorSpace="catalog"/>
@@ -128,7 +119,7 @@
</textFieldCell>
</textField>
<button verticalHuggingPriority="750" translatesAutoresizingMaskIntoConstraints="NO" id="sbB-tD-0b1">
<rect key="frame" x="155" y="582" width="251" height="16"/>
<rect key="frame" x="117" y="181" width="251" height="16"/>
<buttonCell key="cell" type="check" title="Today" bezelStyle="regularSquare" imagePosition="left" state="on" inset="2" id="sbB-tD-0c1">
<behavior key="behavior" changeContents="YES" doesNotDimImage="YES" lightByContents="YES"/>
<font key="font" metaFont="system"/>
@@ -138,7 +129,7 @@
</connections>
</button>
<button verticalHuggingPriority="750" translatesAutoresizingMaskIntoConstraints="NO" id="sbB-aU-0b1">
<rect key="frame" x="155" y="560" width="251" height="16"/>
<rect key="frame" x="117" y="159" width="251" height="16"/>
<buttonCell key="cell" type="check" title="All Unread" bezelStyle="regularSquare" imagePosition="left" state="on" inset="2" id="sbB-aU-0c1">
<behavior key="behavior" changeContents="YES" doesNotDimImage="YES" lightByContents="YES"/>
<font key="font" metaFont="system"/>
@@ -148,7 +139,7 @@
</connections>
</button>
<button verticalHuggingPriority="750" translatesAutoresizingMaskIntoConstraints="NO" id="sbB-sT-0b1">
<rect key="frame" x="155" y="538" width="251" height="16"/>
<rect key="frame" x="117" y="137" width="251" height="16"/>
<buttonCell key="cell" type="check" title="Starred" bezelStyle="regularSquare" imagePosition="left" state="on" inset="2" id="sbB-sT-0c1">
<behavior key="behavior" changeContents="YES" doesNotDimImage="YES" lightByContents="YES"/>
<font key="font" metaFont="system"/>
@@ -158,219 +149,10 @@
</connections>
</button>
<box verticalHuggingPriority="750" boxType="separator" translatesAutoresizingMaskIntoConstraints="NO" id="sp2-Bx-0s1">
<rect key="frame" x="0.0" y="515" width="405" height="5"/>
</box>
<textField focusRingType="none" horizontalHuggingPriority="251" verticalHuggingPriority="750" translatesAutoresizingMaskIntoConstraints="NO" id="tlL-fI-0l1">
<rect key="frame" x="-2" y="477" width="151" height="16"/>
<textFieldCell key="cell" lineBreakMode="truncatingTail" sendsActionOnEndEditing="YES" alignment="right" title="Timeline Feed Icons:" id="tlL-fI-0c1">
<font key="font" metaFont="system"/>
<color key="textColor" name="labelColor" catalog="System" colorSpace="catalog"/>
<color key="backgroundColor" name="controlColor" catalog="System" colorSpace="catalog"/>
</textFieldCell>
</textField>
<popUpButton verticalHuggingPriority="750" translatesAutoresizingMaskIntoConstraints="NO" id="tlP-fD-0p1">
<rect key="frame" x="155" y="473" width="250" height="24"/>
<popUpButtonCell key="cell" type="push" title="Automatic" bezelStyle="rounded" alignment="left" lineBreakMode="truncatingTail" state="on" borderStyle="borderAndBezel" imageScaling="proportionallyDown" inset="2" selectedItem="tlM-fD-0m0" id="tlP-fD-0c1">
<behavior key="behavior" lightByBackground="YES" lightByGray="YES"/>
<font key="font" metaFont="message"/>
<menu key="menu" id="tlM-fD-0n1">
<items>
<menuItem title="Automatic" state="on" id="tlM-fD-0m0"/>
<menuItem title="Always" tag="1" id="tlM-fD-0m1"/>
<menuItem title="Never" tag="2" id="tlM-fD-0m2"/>
</items>
</menu>
</popUpButtonCell>
<connections>
<action selector="timelineFeedIconsPopUpDidChange:" target="-2" id="tlA-fD-0a1"/>
</connections>
</popUpButton>
<textField focusRingType="none" horizontalHuggingPriority="251" verticalHuggingPriority="750" horizontalCompressionResistancePriority="250" translatesAutoresizingMaskIntoConstraints="NO" id="tlN-fD-0l1">
<rect key="frame" x="153" y="433" width="255" height="32"/>
<textFieldCell key="cell" controlSize="small" title="Automatic shows icons for folders, smart feeds, and authors with avatars." id="tlN-fD-0c1">
<font key="font" usesAppearanceFont="YES"/>
<color key="textColor" name="secondaryLabelColor" catalog="System" colorSpace="catalog"/>
<color key="backgroundColor" name="textBackgroundColor" catalog="System" colorSpace="catalog"/>
</textFieldCell>
</textField>
<textField focusRingType="none" horizontalHuggingPriority="251" verticalHuggingPriority="750" translatesAutoresizingMaskIntoConstraints="NO" id="tlL-fS-0l1">
<rect key="frame" x="-2" y="401" width="151" height="16"/>
<textFieldCell key="cell" lineBreakMode="truncatingTail" sendsActionOnEndEditing="YES" alignment="right" title="Timeline Feed Icon Size:" id="tlL-fS-0c1">
<font key="font" metaFont="system"/>
<color key="textColor" name="labelColor" catalog="System" colorSpace="catalog"/>
<color key="backgroundColor" name="controlColor" catalog="System" colorSpace="catalog"/>
</textFieldCell>
</textField>
<popUpButton verticalHuggingPriority="750" translatesAutoresizingMaskIntoConstraints="NO" id="tlP-fS-0p1">
<rect key="frame" x="155" y="397" width="250" height="24"/>
<popUpButtonCell key="cell" type="push" title="Medium" bezelStyle="rounded" alignment="left" lineBreakMode="truncatingTail" state="on" borderStyle="borderAndBezel" tag="2" imageScaling="proportionallyDown" inset="2" selectedItem="tlM-fS-0m2" id="tlP-fS-0c1">
<behavior key="behavior" lightByBackground="YES" lightByGray="YES"/>
<font key="font" metaFont="message"/>
<menu key="menu" id="tlM-fS-0n1">
<items>
<menuItem title="Small" tag="1" id="tlM-fS-0m1"/>
<menuItem title="Medium" state="on" tag="2" id="tlM-fS-0m2"/>
<menuItem title="Large" tag="3" id="tlM-fS-0m3"/>
</items>
</menu>
</popUpButtonCell>
<connections>
<action selector="timelineIconSizePopUpDidChange:" target="-2" id="tlA-fS-0a1"/>
</connections>
</popUpButton>
<textField focusRingType="none" horizontalHuggingPriority="251" verticalHuggingPriority="750" translatesAutoresizingMaskIntoConstraints="NO" id="tlL-tH-0l1">
<rect key="frame" x="-2" y="365" width="151" height="16"/>
<textFieldCell key="cell" lineBreakMode="truncatingTail" sendsActionOnEndEditing="YES" alignment="right" title="Thumbnails:" id="tlL-tH-0c1">
<font key="font" metaFont="system"/>
<color key="textColor" name="labelColor" catalog="System" colorSpace="catalog"/>
<color key="backgroundColor" name="controlColor" catalog="System" colorSpace="catalog"/>
</textFieldCell>
</textField>
<popUpButton verticalHuggingPriority="750" translatesAutoresizingMaskIntoConstraints="NO" id="tlP-tS-0p1">
<rect key="frame" x="155" y="361" width="250" height="24"/>
<popUpButtonCell key="cell" type="push" title="None" bezelStyle="rounded" alignment="left" lineBreakMode="truncatingTail" state="on" borderStyle="borderAndBezel" imageScaling="proportionallyDown" inset="2" selectedItem="tlM-tS-0m0" id="tlP-tS-0c1">
<behavior key="behavior" lightByBackground="YES" lightByGray="YES"/>
<font key="font" metaFont="message"/>
<menu key="menu" id="tlM-tS-0n1">
<items>
<menuItem title="None" state="on" id="tlM-tS-0m0"/>
<menuItem isSeparatorItem="YES" id="tlM-tS-0s1"/>
<menuItem title="Small" tag="1" id="tlM-tS-0m1"/>
<menuItem title="Large" tag="2" id="tlM-tS-0m2"/>
</items>
</menu>
</popUpButtonCell>
<connections>
<action selector="timelineThumbnailsPopUpDidChange:" target="-2" id="tlA-tS-0a1"/>
</connections>
</popUpButton>
<textField focusRingType="none" horizontalHuggingPriority="251" verticalHuggingPriority="750" translatesAutoresizingMaskIntoConstraints="NO" id="tlL-tX-0l1">
<rect key="frame" x="-2" y="329" width="151" height="16"/>
<textFieldCell key="cell" lineBreakMode="truncatingTail" sendsActionOnEndEditing="YES" alignment="right" title="Timeline Text Size:" id="tlL-tX-0c1">
<font key="font" metaFont="system"/>
<color key="textColor" name="labelColor" catalog="System" colorSpace="catalog"/>
<color key="backgroundColor" name="controlColor" catalog="System" colorSpace="catalog"/>
</textFieldCell>
</textField>
<popUpButton verticalHuggingPriority="750" translatesAutoresizingMaskIntoConstraints="NO" id="tlP-tX-0p1">
<rect key="frame" x="155" y="325" width="250" height="24"/>
<popUpButtonCell key="cell" type="push" title="Medium" bezelStyle="rounded" alignment="left" lineBreakMode="truncatingTail" state="on" borderStyle="borderAndBezel" tag="2" imageScaling="proportionallyDown" inset="2" selectedItem="tlM-tX-0m2" id="tlP-tX-0c1">
<behavior key="behavior" lightByBackground="YES" lightByGray="YES"/>
<font key="font" metaFont="message"/>
<menu key="menu" id="tlM-tX-0n1">
<items>
<menuItem title="Small" tag="1" id="tlM-tX-0m1"/>
<menuItem title="Medium" state="on" tag="2" id="tlM-tX-0m2"/>
<menuItem title="Large" tag="3" id="tlM-tX-0m3"/>
<menuItem title="Extra Large" tag="4" id="tlM-tX-0m4"/>
<menuItem title="Extra Extra Large" tag="5" id="tlM-tX-0m5"/>
</items>
</menu>
</popUpButtonCell>
<constraints>
<constraint firstAttribute="width" relation="greaterThanOrEqual" constant="200" id="tlK-00-0k1"/>
</constraints>
<connections>
<action selector="timelineTextSizePopUpDidChange:" target="-2" id="tlA-tX-0a1"/>
</connections>
</popUpButton>
<textField focusRingType="none" horizontalHuggingPriority="251" verticalHuggingPriority="750" translatesAutoresizingMaskIntoConstraints="NO" id="tlL-nL-0l1">
<rect key="frame" x="-2" y="293" width="151" height="16"/>
<textFieldCell key="cell" lineBreakMode="truncatingTail" sendsActionOnEndEditing="YES" alignment="right" title="Timeline Rows:" id="tlL-nL-0c1">
<font key="font" metaFont="system"/>
<color key="textColor" name="labelColor" catalog="System" colorSpace="catalog"/>
<color key="backgroundColor" name="controlColor" catalog="System" colorSpace="catalog"/>
</textFieldCell>
</textField>
<popUpButton verticalHuggingPriority="750" translatesAutoresizingMaskIntoConstraints="NO" id="tlP-nL-0p1">
<rect key="frame" x="306" y="289" width="57" height="24"/>
<popUpButtonCell key="cell" type="push" title="2" bezelStyle="rounded" alignment="left" lineBreakMode="truncatingTail" state="on" borderStyle="borderAndBezel" tag="2" imageScaling="proportionallyDown" inset="2" selectedItem="tlM-nL-0m2" id="tlP-nL-0c1">
<behavior key="behavior" lightByBackground="YES" lightByGray="YES"/>
<font key="font" metaFont="message"/>
<menu key="menu" id="tlM-nL-0n1">
<items>
<menuItem title="1" tag="1" id="tlM-nL-0m1"/>
<menuItem title="2" state="on" tag="2" id="tlM-nL-0m2"/>
<menuItem title="3" tag="3" id="tlM-nL-0m3"/>
<menuItem title="4" tag="4" id="tlM-nL-0m4"/>
<menuItem title="5" tag="5" id="tlM-nL-0m5"/>
<menuItem title="6" tag="6" id="tlM-nL-0m6"/>
</items>
</menu>
</popUpButtonCell>
<connections>
<action selector="timelineNumberOfLinesPopUpDidChange:" target="-2" id="tlA-nL-0a1"/>
</connections>
</popUpButton>
<button verticalHuggingPriority="750" translatesAutoresizingMaskIntoConstraints="NO" id="tlR-tP-0b1">
<rect key="frame" x="155" y="293" width="143" height="16"/>
<buttonCell key="cell" type="radio" title="Title and preview, in" bezelStyle="regularSquare" imagePosition="left" alignment="left" state="on" inset="2" id="tlR-tP-0c1">
<behavior key="behavior" changeContents="YES" doesNotDimImage="YES" lightByContents="YES"/>
<font key="font" metaFont="system"/>
</buttonCell>
<connections>
<action selector="timelineRowsRadioButtonDidChange:" target="-2" id="tlA-tP-0a1"/>
</connections>
</button>
<textField focusRingType="none" horizontalHuggingPriority="251" verticalHuggingPriority="750" translatesAutoresizingMaskIntoConstraints="NO" id="tlL-ln-0l1">
<rect key="frame" x="369" y="293" width="32" height="16"/>
<textFieldCell key="cell" lineBreakMode="clipping" title="lines" id="tlL-ln-0c1">
<font key="font" metaFont="system"/>
<color key="textColor" name="labelColor" catalog="System" colorSpace="catalog"/>
<color key="backgroundColor" name="textBackgroundColor" catalog="System" colorSpace="catalog"/>
</textFieldCell>
</textField>
<button verticalHuggingPriority="750" translatesAutoresizingMaskIntoConstraints="NO" id="tlR-fT-0b1">
<rect key="frame" x="155" y="265" width="144" height="16"/>
<buttonCell key="cell" type="radio" title="Full title, no preview" bezelStyle="regularSquare" imagePosition="left" alignment="left" inset="2" id="tlR-fT-0c1">
<behavior key="behavior" changeContents="YES" doesNotDimImage="YES" lightByContents="YES"/>
<font key="font" metaFont="system"/>
</buttonCell>
<connections>
<action selector="timelineRowsRadioButtonDidChange:" target="-2" id="tlA-fT-0a1"/>
</connections>
</button>
<textField focusRingType="none" horizontalHuggingPriority="251" verticalHuggingPriority="750" horizontalCompressionResistancePriority="250" translatesAutoresizingMaskIntoConstraints="NO" id="tlN-fT-0l1">
<rect key="frame" x="173" y="243" width="235" height="16"/>
<textFieldCell key="cell" controlSize="small" title="Shows the whole title, up to 12 lines." id="tlN-fT-0c1">
<font key="font" usesAppearanceFont="YES"/>
<color key="textColor" name="secondaryLabelColor" catalog="System" colorSpace="catalog"/>
<color key="backgroundColor" name="textBackgroundColor" catalog="System" colorSpace="catalog"/>
</textFieldCell>
</textField>
<button verticalHuggingPriority="750" translatesAutoresizingMaskIntoConstraints="NO" id="tlB-sP-0b1">
<rect key="frame" x="155" y="215" width="251" height="16"/>
<buttonCell key="cell" type="check" title="Show separators" bezelStyle="regularSquare" imagePosition="left" inset="2" id="tlB-sP-0c1">
<behavior key="behavior" changeContents="YES" doesNotDimImage="YES" lightByContents="YES"/>
<font key="font" metaFont="system"/>
</buttonCell>
<connections>
<action selector="timelineShowSeparatorsDidChange:" target="-2" id="tlA-sP-0a1"/>
</connections>
</button>
<button verticalHuggingPriority="750" translatesAutoresizingMaskIntoConstraints="NO" id="tlB-fR-0b1">
<rect key="frame" x="155" y="193" width="251" height="16"/>
<buttonCell key="cell" type="check" title="Fade read articles" bezelStyle="regularSquare" imagePosition="left" inset="2" id="tlB-fR-0c1">
<behavior key="behavior" changeContents="YES" doesNotDimImage="YES" lightByContents="YES"/>
<font key="font" metaFont="system"/>
</buttonCell>
<connections>
<action selector="timelineFadeReadArticlesDidChange:" target="-2" id="tlA-fR-0a1"/>
</connections>
</button>
<textField focusRingType="none" horizontalHuggingPriority="251" verticalHuggingPriority="750" horizontalCompressionResistancePriority="250" translatesAutoresizingMaskIntoConstraints="NO" id="tlN-cL-0l1">
<rect key="frame" x="153" y="137" width="255" height="48"/>
<textFieldCell key="cell" controlSize="small" title="Feed icon size, thumbnails, timeline rows, and separators apply only to the standard layout." id="tlN-cL-0c1">
<font key="font" usesAppearanceFont="YES"/>
<color key="textColor" name="secondaryLabelColor" catalog="System" colorSpace="catalog"/>
<color key="backgroundColor" name="textBackgroundColor" catalog="System" colorSpace="catalog"/>
</textFieldCell>
</textField>
<box verticalHuggingPriority="750" boxType="separator" translatesAutoresizingMaskIntoConstraints="NO" id="sp3-Bx-0s1">
<rect key="frame" x="0.0" y="114" width="405" height="5"/>
<rect key="frame" x="0.0" y="114" width="367" height="5"/>
</box>
<textField focusRingType="none" horizontalHuggingPriority="251" verticalHuggingPriority="750" translatesAutoresizingMaskIntoConstraints="NO" id="pR2-Bf-7Fd">
<rect key="frame" x="-2" y="76" width="151" height="16"/>
<rect key="frame" x="-2" y="76" width="113" height="16"/>
<textFieldCell key="cell" lineBreakMode="clipping" alignment="right" title="Article Text Size:" id="xQu-QV-91i">
<font key="font" usesAppearanceFont="YES"/>
<color key="textColor" name="labelColor" catalog="System" colorSpace="catalog"/>
@@ -378,7 +160,7 @@
</textFieldCell>
</textField>
<popUpButton horizontalHuggingPriority="249" verticalHuggingPriority="750" translatesAutoresizingMaskIntoConstraints="NO" id="Z6O-Zt-V1g">
<rect key="frame" x="155" y="72" width="250" height="24"/>
<rect key="frame" x="117" y="72" width="250" height="24"/>
<popUpButtonCell key="cell" type="push" title="Medium" bezelStyle="rounded" alignment="left" lineBreakMode="truncatingTail" state="on" borderStyle="borderAndBezel" tag="2" imageScaling="proportionallyDown" inset="2" selectedItem="jMV-2o-5Oh" id="6pw-Vq-tjM">
<behavior key="behavior" lightByBackground="YES" lightByGray="YES"/>
<font key="font" metaFont="message"/>
@@ -410,7 +192,7 @@
</constraints>
</popUpButton>
<textField focusRingType="none" horizontalHuggingPriority="251" verticalHuggingPriority="750" translatesAutoresizingMaskIntoConstraints="NO" id="S2Z-bG-jYk">
<rect key="frame" x="-2" y="40" width="151" height="16"/>
<rect key="frame" x="-2" y="40" width="113" height="16"/>
<textFieldCell key="cell" lineBreakMode="clipping" alignment="right" title="Article Theme:" id="MQe-Za-N8J">
<font key="font" usesAppearanceFont="YES"/>
<color key="textColor" name="labelColor" catalog="System" colorSpace="catalog"/>
@@ -418,7 +200,7 @@
</textFieldCell>
</textField>
<popUpButton verticalHuggingPriority="750" translatesAutoresizingMaskIntoConstraints="NO" id="ISO-Wu-R60">
<rect key="frame" x="155" y="36" width="250" height="24"/>
<rect key="frame" x="117" y="36" width="250" height="24"/>
<popUpButtonCell key="cell" type="push" title="Default" bezelStyle="rounded" alignment="left" lineBreakMode="truncatingTail" state="on" borderStyle="borderAndBezel" imageScaling="proportionallyDown" inset="2" selectedItem="Pkl-EA-Goa" id="vN9-pm-Gls">
<behavior key="behavior" lightByBackground="YES" lightByGray="YES"/>
<font key="font" metaFont="message"/>
@@ -433,7 +215,7 @@
</connections>
</popUpButton>
<button verticalHuggingPriority="750" translatesAutoresizingMaskIntoConstraints="NO" id="1w0-nA-DEO">
<rect key="frame" x="155" y="0.0" width="151" height="24"/>
<rect key="frame" x="117" y="0.0" width="151" height="24"/>
<buttonCell key="cell" type="push" title="Open Themes Folder" bezelStyle="rounded" alignment="center" borderStyle="border" imageScaling="proportionallyDown" inset="2" id="ySX-5i-SP1">
<behavior key="behavior" pushIn="YES" lightByBackground="YES" lightByGray="YES"/>
<font key="font" metaFont="system"/>
@@ -479,62 +261,7 @@
<constraint firstItem="sp2-Bx-0s1" firstAttribute="top" secondItem="sbB-sT-0b1" secondAttribute="bottom" constant="20" id="c33-Ly-Out"/>
<constraint firstItem="sp2-Bx-0s1" firstAttribute="leading" secondItem="apC-nT-0c1" secondAttribute="leading" id="c34-Ly-Out"/>
<constraint firstAttribute="trailing" secondItem="sp2-Bx-0s1" secondAttribute="trailing" constant="1" id="c35-Ly-Out"/>
<constraint firstItem="tlP-fD-0p1" firstAttribute="top" secondItem="sp2-Bx-0s1" secondAttribute="bottom" constant="20" id="c36-Ly-Out"/>
<constraint firstItem="tlL-fI-0l1" firstAttribute="leading" secondItem="apC-nT-0c1" secondAttribute="leading" id="c37-Ly-Out"/>
<constraint firstItem="tlL-fI-0l1" firstAttribute="firstBaseline" secondItem="tlP-fD-0p1" secondAttribute="firstBaseline" id="c38-Ly-Out"/>
<constraint firstItem="tlL-fI-0l1" firstAttribute="trailing" secondItem="apL-cM-0l1" secondAttribute="trailing" id="c39-Ly-Out"/>
<constraint firstItem="tlP-fD-0p1" firstAttribute="leading" secondItem="apP-cM-0p1" secondAttribute="leading" id="c40-Ly-Out"/>
<constraint firstAttribute="trailing" secondItem="tlP-fD-0p1" secondAttribute="trailing" constant="1" id="c41-Ly-Out"/>
<constraint firstItem="tlN-fD-0l1" firstAttribute="top" secondItem="tlP-fD-0p1" secondAttribute="bottom" constant="8" id="c42-Ly-Out"/>
<constraint firstItem="tlN-fD-0l1" firstAttribute="leading" secondItem="apP-cM-0p1" secondAttribute="leading" id="c43-Ly-Out"/>
<constraint firstAttribute="trailing" secondItem="tlN-fD-0l1" secondAttribute="trailing" id="c44-Ly-Out"/>
<constraint firstItem="tlP-fS-0p1" firstAttribute="top" secondItem="tlN-fD-0l1" secondAttribute="bottom" constant="12" id="c45-Ly-Out"/>
<constraint firstItem="tlL-fS-0l1" firstAttribute="leading" secondItem="apC-nT-0c1" secondAttribute="leading" id="c46-Ly-Out"/>
<constraint firstItem="tlL-fS-0l1" firstAttribute="firstBaseline" secondItem="tlP-fS-0p1" secondAttribute="firstBaseline" id="c47-Ly-Out"/>
<constraint firstItem="tlL-fS-0l1" firstAttribute="trailing" secondItem="apL-cM-0l1" secondAttribute="trailing" id="c48-Ly-Out"/>
<constraint firstItem="tlP-fS-0p1" firstAttribute="leading" secondItem="apP-cM-0p1" secondAttribute="leading" id="c49-Ly-Out"/>
<constraint firstAttribute="trailing" secondItem="tlP-fS-0p1" secondAttribute="trailing" constant="1" id="c50-Ly-Out"/>
<constraint firstItem="tlP-tS-0p1" firstAttribute="top" secondItem="tlP-fS-0p1" secondAttribute="bottom" constant="12" id="c51-Ly-Out"/>
<constraint firstItem="tlL-tH-0l1" firstAttribute="leading" secondItem="apC-nT-0c1" secondAttribute="leading" id="c52-Ly-Out"/>
<constraint firstItem="tlL-tH-0l1" firstAttribute="firstBaseline" secondItem="tlP-tS-0p1" secondAttribute="firstBaseline" id="c53-Ly-Out"/>
<constraint firstItem="tlL-tH-0l1" firstAttribute="trailing" secondItem="apL-cM-0l1" secondAttribute="trailing" id="c54-Ly-Out"/>
<constraint firstItem="tlP-tS-0p1" firstAttribute="leading" secondItem="apP-cM-0p1" secondAttribute="leading" id="c55-Ly-Out"/>
<constraint firstAttribute="trailing" secondItem="tlP-tS-0p1" secondAttribute="trailing" constant="1" id="c56-Ly-Out"/>
<constraint firstItem="tlP-tX-0p1" firstAttribute="top" secondItem="tlP-tS-0p1" secondAttribute="bottom" constant="12" id="c57-Ly-Out"/>
<constraint firstItem="tlL-tX-0l1" firstAttribute="leading" secondItem="apC-nT-0c1" secondAttribute="leading" id="c58-Ly-Out"/>
<constraint firstItem="tlL-tX-0l1" firstAttribute="firstBaseline" secondItem="tlP-tX-0p1" secondAttribute="firstBaseline" id="c59-Ly-Out"/>
<constraint firstItem="tlL-tX-0l1" firstAttribute="trailing" secondItem="apL-cM-0l1" secondAttribute="trailing" id="c60-Ly-Out"/>
<constraint firstItem="tlP-tX-0p1" firstAttribute="leading" secondItem="apP-cM-0p1" secondAttribute="leading" id="c61-Ly-Out"/>
<constraint firstAttribute="trailing" secondItem="tlP-tX-0p1" secondAttribute="trailing" constant="1" id="c62-Ly-Out"/>
<constraint firstItem="tlP-nL-0p1" firstAttribute="top" secondItem="tlP-tX-0p1" secondAttribute="bottom" constant="12" id="c63-Ly-Out"/>
<constraint firstItem="tlL-nL-0l1" firstAttribute="leading" secondItem="apC-nT-0c1" secondAttribute="leading" id="c64-Ly-Out"/>
<constraint firstItem="tlL-nL-0l1" firstAttribute="firstBaseline" secondItem="tlP-nL-0p1" secondAttribute="firstBaseline" id="c65-Ly-Out"/>
<constraint firstItem="tlL-nL-0l1" firstAttribute="trailing" secondItem="apL-cM-0l1" secondAttribute="trailing" id="c66-Ly-Out"/>
<constraint firstItem="tlR-tP-0b1" firstAttribute="leading" secondItem="apP-cM-0p1" secondAttribute="leading" id="cR1-Ly-Out"/>
<constraint firstItem="tlR-tP-0b1" firstAttribute="firstBaseline" secondItem="tlP-nL-0p1" secondAttribute="firstBaseline" id="cR2-Ly-Out"/>
<constraint firstItem="tlP-nL-0p1" firstAttribute="leading" secondItem="tlR-tP-0b1" secondAttribute="trailing" constant="8" symbolic="YES" id="c67-Ly-Out"/>
<constraint firstItem="tlL-ln-0l1" firstAttribute="leading" secondItem="tlP-nL-0p1" secondAttribute="trailing" constant="8" symbolic="YES" id="cR3-Ly-Out"/>
<constraint firstItem="tlL-ln-0l1" firstAttribute="firstBaseline" secondItem="tlP-nL-0p1" secondAttribute="firstBaseline" id="cR4-Ly-Out"/>
<constraint firstAttribute="trailing" relation="greaterThanOrEqual" secondItem="tlL-ln-0l1" secondAttribute="trailing" constant="1" id="c68-Ly-Out"/>
<constraint firstItem="tlR-fT-0b1" firstAttribute="top" secondItem="tlP-nL-0p1" secondAttribute="bottom" constant="8" id="cR5-Ly-Out"/>
<constraint firstItem="tlR-fT-0b1" firstAttribute="leading" secondItem="apP-cM-0p1" secondAttribute="leading" id="cR6-Ly-Out"/>
<constraint firstAttribute="trailing" relation="greaterThanOrEqual" secondItem="tlR-fT-0b1" secondAttribute="trailing" id="cR7-Ly-Out"/>
<constraint firstItem="tlN-fT-0l1" firstAttribute="top" secondItem="tlR-fT-0b1" secondAttribute="bottom" constant="6" id="cR8-Ly-Out"/>
<constraint firstItem="tlN-fT-0l1" firstAttribute="leading" secondItem="tlR-fT-0b1" secondAttribute="leading" constant="20" id="cR9-Ly-Out"/>
<constraint firstAttribute="trailing" secondItem="tlN-fT-0l1" secondAttribute="trailing" id="cRA-Ly-Out"/>
<constraint firstItem="tlB-sP-0b1" firstAttribute="top" secondItem="tlN-fT-0l1" secondAttribute="bottom" constant="12" id="c69-Ly-Out"/>
<constraint firstItem="tlB-sP-0b1" firstAttribute="leading" secondItem="apP-cM-0p1" secondAttribute="leading" id="c70-Ly-Out"/>
<constraint firstAttribute="trailing" secondItem="tlB-sP-0b1" secondAttribute="trailing" id="c71-Ly-Out"/>
<constraint firstItem="tlB-fR-0b1" firstAttribute="top" secondItem="tlB-sP-0b1" secondAttribute="bottom" constant="6" id="cF1-Ly-Out"/>
<constraint firstItem="tlB-fR-0b1" firstAttribute="leading" secondItem="apP-cM-0p1" secondAttribute="leading" id="cF2-Ly-Out"/>
<constraint firstAttribute="trailing" secondItem="tlB-fR-0b1" secondAttribute="trailing" id="cF3-Ly-Out"/>
<constraint firstItem="tlN-cL-0l1" firstAttribute="top" secondItem="tlB-fR-0b1" secondAttribute="bottom" constant="8" id="cN1-Ly-Out"/>
<constraint firstItem="tlN-cL-0l1" firstAttribute="leading" secondItem="apP-cM-0p1" secondAttribute="leading" id="cN2-Ly-Out"/>
<constraint firstAttribute="trailing" secondItem="tlN-cL-0l1" secondAttribute="trailing" id="cN3-Ly-Out"/>
<constraint firstItem="sp3-Bx-0s1" firstAttribute="top" secondItem="tlN-cL-0l1" secondAttribute="bottom" constant="20" id="c72-Ly-Out"/>
<constraint firstItem="sp3-Bx-0s1" firstAttribute="leading" secondItem="apC-nT-0c1" secondAttribute="leading" id="c73-Ly-Out"/>
<constraint firstAttribute="trailing" secondItem="sp3-Bx-0s1" secondAttribute="trailing" constant="1" id="c74-Ly-Out"/>
<constraint firstItem="Z6O-Zt-V1g" firstAttribute="top" secondItem="sp3-Bx-0s1" secondAttribute="bottom" constant="20" id="c75-Ly-Out"/>
<constraint firstItem="Z6O-Zt-V1g" firstAttribute="top" secondItem="sp2-Bx-0s1" secondAttribute="bottom" constant="20" id="c75-Ly-Out"/>
<constraint firstItem="pR2-Bf-7Fd" firstAttribute="leading" secondItem="apC-nT-0c1" secondAttribute="leading" id="c76-Ly-Out"/>
<constraint firstItem="pR2-Bf-7Fd" firstAttribute="firstBaseline" secondItem="Z6O-Zt-V1g" secondAttribute="firstBaseline" id="c77-Ly-Out"/>
<constraint firstItem="pR2-Bf-7Fd" firstAttribute="trailing" secondItem="apL-cM-0l1" secondAttribute="trailing" id="c78-Ly-Out"/>
@@ -325,402 +325,6 @@
}
}
},
"tlB-fR-0c1.title" : {
"comment" : "Class = \"NSButtonCell\"; title = \"Fade read articles\"; ObjectID = \"tlB-fR-0c1\";",
"extractionState" : "extracted_with_value",
"localizations" : {
"en" : {
"stringUnit" : {
"state" : "new",
"value" : "Fade read articles"
}
}
}
},
"tlB-sP-0c1.title" : {
"comment" : "Class = \"NSButtonCell\"; title = \"Show separators\"; ObjectID = \"tlB-sP-0c1\";",
"extractionState" : "extracted_with_value",
"localizations" : {
"en" : {
"stringUnit" : {
"state" : "new",
"value" : "Show separators"
}
}
}
},
"tlL-fI-0c1.title" : {
"comment" : "Class = \"NSTextFieldCell\"; title = \"Timeline Feed Icons:\"; ObjectID = \"tlL-fI-0c1\";",
"extractionState" : "extracted_with_value",
"localizations" : {
"en" : {
"stringUnit" : {
"state" : "new",
"value" : "Timeline Feed Icons:"
}
}
}
},
"tlL-fS-0c1.title" : {
"comment" : "Class = \"NSTextFieldCell\"; title = \"Timeline Feed Icon Size:\"; ObjectID = \"tlL-fS-0c1\";",
"extractionState" : "extracted_with_value",
"localizations" : {
"en" : {
"stringUnit" : {
"state" : "new",
"value" : "Timeline Feed Icon Size:"
}
}
}
},
"tlL-ln-0c1.title" : {
"comment" : "Class = \"NSTextFieldCell\"; title = \"lines\"; ObjectID = \"tlL-ln-0c1\";",
"extractionState" : "extracted_with_value",
"localizations" : {
"en" : {
"stringUnit" : {
"state" : "new",
"value" : "lines"
}
}
}
},
"tlL-nL-0c1.title" : {
"comment" : "Class = \"NSTextFieldCell\"; title = \"Timeline Rows:\"; ObjectID = \"tlL-nL-0c1\";",
"extractionState" : "extracted_with_value",
"localizations" : {
"en" : {
"stringUnit" : {
"state" : "new",
"value" : "Timeline Rows:"
}
}
}
},
"tlL-tH-0c1.title" : {
"comment" : "Class = \"NSTextFieldCell\"; title = \"Thumbnails:\"; ObjectID = \"tlL-tH-0c1\";",
"extractionState" : "extracted_with_value",
"localizations" : {
"en" : {
"stringUnit" : {
"state" : "new",
"value" : "Thumbnails:"
}
}
}
},
"tlL-tX-0c1.title" : {
"comment" : "Class = \"NSTextFieldCell\"; title = \"Timeline Text Size:\"; ObjectID = \"tlL-tX-0c1\";",
"extractionState" : "extracted_with_value",
"localizations" : {
"en" : {
"stringUnit" : {
"state" : "new",
"value" : "Timeline Text Size:"
}
}
}
},
"tlM-fD-0m0.title" : {
"comment" : "Class = \"NSMenuItem\"; title = \"Automatic\"; ObjectID = \"tlM-fD-0m0\";",
"extractionState" : "extracted_with_value",
"localizations" : {
"en" : {
"stringUnit" : {
"state" : "new",
"value" : "Automatic"
}
}
}
},
"tlM-fD-0m1.title" : {
"comment" : "Class = \"NSMenuItem\"; title = \"Always\"; ObjectID = \"tlM-fD-0m1\";",
"extractionState" : "extracted_with_value",
"localizations" : {
"en" : {
"stringUnit" : {
"state" : "new",
"value" : "Always"
}
}
}
},
"tlM-fD-0m2.title" : {
"comment" : "Class = \"NSMenuItem\"; title = \"Never\"; ObjectID = \"tlM-fD-0m2\";",
"extractionState" : "extracted_with_value",
"localizations" : {
"en" : {
"stringUnit" : {
"state" : "new",
"value" : "Never"
}
}
}
},
"tlM-fS-0m1.title" : {
"comment" : "Class = \"NSMenuItem\"; title = \"Small\"; ObjectID = \"tlM-fS-0m1\";",
"extractionState" : "extracted_with_value",
"localizations" : {
"en" : {
"stringUnit" : {
"state" : "new",
"value" : "Small"
}
}
}
},
"tlM-fS-0m2.title" : {
"comment" : "Class = \"NSMenuItem\"; title = \"Medium\"; ObjectID = \"tlM-fS-0m2\";",
"extractionState" : "extracted_with_value",
"localizations" : {
"en" : {
"stringUnit" : {
"state" : "new",
"value" : "Medium"
}
}
}
},
"tlM-fS-0m3.title" : {
"comment" : "Class = \"NSMenuItem\"; title = \"Large\"; ObjectID = \"tlM-fS-0m3\";",
"extractionState" : "extracted_with_value",
"localizations" : {
"en" : {
"stringUnit" : {
"state" : "new",
"value" : "Large"
}
}
}
},
"tlM-nL-0m1.title" : {
"comment" : "Class = \"NSMenuItem\"; title = \"1\"; ObjectID = \"tlM-nL-0m1\";",
"extractionState" : "extracted_with_value",
"localizations" : {
"en" : {
"stringUnit" : {
"state" : "new",
"value" : "1"
}
}
}
},
"tlM-nL-0m2.title" : {
"comment" : "Class = \"NSMenuItem\"; title = \"2\"; ObjectID = \"tlM-nL-0m2\";",
"extractionState" : "extracted_with_value",
"localizations" : {
"en" : {
"stringUnit" : {
"state" : "new",
"value" : "2"
}
}
}
},
"tlM-nL-0m3.title" : {
"comment" : "Class = \"NSMenuItem\"; title = \"3\"; ObjectID = \"tlM-nL-0m3\";",
"extractionState" : "extracted_with_value",
"localizations" : {
"en" : {
"stringUnit" : {
"state" : "new",
"value" : "3"
}
}
}
},
"tlM-nL-0m4.title" : {
"comment" : "Class = \"NSMenuItem\"; title = \"4\"; ObjectID = \"tlM-nL-0m4\";",
"extractionState" : "extracted_with_value",
"localizations" : {
"en" : {
"stringUnit" : {
"state" : "new",
"value" : "4"
}
}
}
},
"tlM-nL-0m5.title" : {
"comment" : "Class = \"NSMenuItem\"; title = \"5\"; ObjectID = \"tlM-nL-0m5\";",
"extractionState" : "extracted_with_value",
"localizations" : {
"en" : {
"stringUnit" : {
"state" : "new",
"value" : "5"
}
}
}
},
"tlM-nL-0m6.title" : {
"comment" : "Class = \"NSMenuItem\"; title = \"6\"; ObjectID = \"tlM-nL-0m6\";",
"extractionState" : "extracted_with_value",
"localizations" : {
"en" : {
"stringUnit" : {
"state" : "new",
"value" : "6"
}
}
}
},
"tlM-tS-0m0.title" : {
"comment" : "Class = \"NSMenuItem\"; title = \"None\"; ObjectID = \"tlM-tS-0m0\";",
"extractionState" : "extracted_with_value",
"localizations" : {
"en" : {
"stringUnit" : {
"state" : "new",
"value" : "None"
}
}
}
},
"tlM-tS-0m1.title" : {
"comment" : "Class = \"NSMenuItem\"; title = \"Small\"; ObjectID = \"tlM-tS-0m1\";",
"extractionState" : "extracted_with_value",
"localizations" : {
"en" : {
"stringUnit" : {
"state" : "new",
"value" : "Small"
}
}
}
},
"tlM-tS-0m2.title" : {
"comment" : "Class = \"NSMenuItem\"; title = \"Large\"; ObjectID = \"tlM-tS-0m2\";",
"extractionState" : "extracted_with_value",
"localizations" : {
"en" : {
"stringUnit" : {
"state" : "new",
"value" : "Large"
}
}
}
},
"tlM-tX-0m1.title" : {
"comment" : "Class = \"NSMenuItem\"; title = \"Small\"; ObjectID = \"tlM-tX-0m1\";",
"extractionState" : "extracted_with_value",
"localizations" : {
"en" : {
"stringUnit" : {
"state" : "new",
"value" : "Small"
}
}
}
},
"tlM-tX-0m2.title" : {
"comment" : "Class = \"NSMenuItem\"; title = \"Medium\"; ObjectID = \"tlM-tX-0m2\";",
"extractionState" : "extracted_with_value",
"localizations" : {
"en" : {
"stringUnit" : {
"state" : "new",
"value" : "Medium"
}
}
}
},
"tlM-tX-0m3.title" : {
"comment" : "Class = \"NSMenuItem\"; title = \"Large\"; ObjectID = \"tlM-tX-0m3\";",
"extractionState" : "extracted_with_value",
"localizations" : {
"en" : {
"stringUnit" : {
"state" : "new",
"value" : "Large"
}
}
}
},
"tlM-tX-0m4.title" : {
"comment" : "Class = \"NSMenuItem\"; title = \"Extra Large\"; ObjectID = \"tlM-tX-0m4\";",
"extractionState" : "extracted_with_value",
"localizations" : {
"en" : {
"stringUnit" : {
"state" : "new",
"value" : "Extra Large"
}
}
}
},
"tlM-tX-0m5.title" : {
"comment" : "Class = \"NSMenuItem\"; title = \"Extra Extra Large\"; ObjectID = \"tlM-tX-0m5\";",
"extractionState" : "extracted_with_value",
"localizations" : {
"en" : {
"stringUnit" : {
"state" : "new",
"value" : "Extra Extra Large"
}
}
}
},
"tlN-cL-0c1.title" : {
"comment" : "Class = \"NSTextFieldCell\"; title = \"Feed icon size, thumbnails, timeline rows, and separators apply only to the standard layout.\"; ObjectID = \"tlN-cL-0c1\";",
"extractionState" : "extracted_with_value",
"localizations" : {
"en" : {
"stringUnit" : {
"state" : "new",
"value" : "Feed icon size, thumbnails, timeline rows, and separators apply only to the standard layout."
}
}
}
},
"tlN-fD-0c1.title" : {
"comment" : "Class = \"NSTextFieldCell\"; title = \"Automatic shows icons for folders, smart feeds, and authors with avatars.\"; ObjectID = \"tlN-fD-0c1\";",
"extractionState" : "extracted_with_value",
"localizations" : {
"en" : {
"stringUnit" : {
"state" : "new",
"value" : "Automatic shows icons for folders, smart feeds, and authors with avatars."
}
}
}
},
"tlN-fT-0c1.title" : {
"comment" : "Class = \"NSTextFieldCell\"; title = \"Shows the whole title, up to 12 lines.\"; ObjectID = \"tlN-fT-0c1\";",
"extractionState" : "extracted_with_value",
"localizations" : {
"en" : {
"stringUnit" : {
"state" : "new",
"value" : "Shows the whole title, up to 12 lines."
}
}
}
},
"tlR-fT-0c1.title" : {
"comment" : "Class = \"NSButtonCell\"; title = \"Full title, no preview\"; ObjectID = \"tlR-fT-0c1\";",
"extractionState" : "extracted_with_value",
"localizations" : {
"en" : {
"stringUnit" : {
"state" : "new",
"value" : "Full title, no preview"
}
}
}
},
"tlR-tP-0c1.title" : {
"comment" : "Class = \"NSButtonCell\"; title = \"Title and preview, in\"; ObjectID = \"tlR-tP-0c1\";",
"extractionState" : "extracted_with_value",
"localizations" : {
"en" : {
"stringUnit" : {
"state" : "new",
"value" : "Title and preview, in"
}
}
}
},
"xQu-QV-91i.title" : {
"comment" : "Class = \"NSTextFieldCell\"; title = \"Article Text Size:\"; ObjectID = \"xQu-QV-91i\";",
"extractionState" : "extracted_with_value",
@@ -29,6 +29,10 @@ final class PreferencesWindowController: NSWindowController, NSToolbarDelegate {
name: NSLocalizedString("Appearance", comment: "Preferences"),
image: Assets.Images.preferencesToolbarAppearance,
makeViewController: { AppearancePreferencesViewController() }),
PreferencesToolbarItemSpec(identifier: NSToolbarItem.Identifier("Timeline"),
name: NSLocalizedString("Timeline", comment: "Timeline"),
image: Assets.Images.preferencesToolbarTimeline,
makeViewController: { TimelinePreferencesViewController() }),
PreferencesToolbarItemSpec(identifier: NSToolbarItem.Identifier("Accounts"),
name: NSLocalizedString("Accounts", comment: "Preferences"),
image: Assets.Images.preferencesToolbarAccounts,
@@ -0,0 +1,304 @@
<?xml version="1.0" encoding="UTF-8"?>
<document type="com.apple.InterfaceBuilder3.Cocoa.XIB" version="3.0" toolsVersion="24765" targetRuntime="MacOSX.Cocoa" propertyAccessControl="none" useAutolayout="YES" customObjectInstantitationMethod="direct">
<dependencies>
<plugIn identifier="com.apple.InterfaceBuilder.CocoaPlugin" version="24765"/>
<capability name="documents saved in the Xcode 8 format" minToolsVersion="8.0"/>
</dependencies>
<objects>
<customObject id="-2" userLabel="File's Owner" customClass="TimelinePreferencesViewController" customModule="NetNewsWire" customModuleProvider="target">
<connections>
<outlet property="timelineIconSizePopup" destination="tlP-fS-0p1" id="tlO-fS-0o1"/>
<outlet property="timelineIconsPopup" destination="tlP-fD-0p1" id="tlO-fD-0o1"/>
<outlet property="timelineFadeReadArticlesButton" destination="tlB-fR-0b1" id="tlO-fR-0o1"/>
<outlet property="timelineFullTitlesButton" destination="tlR-fT-0b1" id="tlO-fT-0o1"/>
<outlet property="timelineNumberOfLinesPopup" destination="tlP-nL-0p1" id="tlO-nL-0o1"/>
<outlet property="timelineShowSeparatorsButton" destination="tlB-sP-0b1" id="tlO-sP-0o1"/>
<outlet property="timelineTitleAndSummaryButton" destination="tlR-tP-0b1" id="tlO-tP-0o1"/>
<outlet property="timelineTextSizePopup" destination="tlP-tX-0p1" id="tlO-tX-0o1"/>
<outlet property="timelineThumbnailsPopup" destination="tlP-tS-0p1" id="tlO-tS-0o1"/>
<outlet property="view" destination="tlV-iw-0v1" id="tlO-vw-0o1"/>
</connections>
</customObject>
<customObject id="-1" userLabel="First Responder" customClass="FirstResponder"/>
<customObject id="-3" userLabel="Application" customClass="NSObject"/>
<view id="tlV-iw-0v1">
<rect key="frame" x="0.0" y="0.0" width="515" height="400"/>
<autoresizingMask key="autoresizingMask"/>
<subviews>
<customView translatesAutoresizingMaskIntoConstraints="NO" id="tlC-nT-0c1">
<rect key="frame" x="85" y="20" width="346" height="360"/>
<subviews>
<textField focusRingType="none" horizontalHuggingPriority="251" verticalHuggingPriority="750" translatesAutoresizingMaskIntoConstraints="NO" id="tlL-fI-0l1">
<rect key="frame" x="-2" y="340" width="97" height="16"/>
<textFieldCell key="cell" lineBreakMode="truncatingTail" sendsActionOnEndEditing="YES" alignment="right" title="Feed Icons:" id="tlL-fI-0c1">
<font key="font" metaFont="system"/>
<color key="textColor" name="labelColor" catalog="System" colorSpace="catalog"/>
<color key="backgroundColor" name="controlColor" catalog="System" colorSpace="catalog"/>
</textFieldCell>
</textField>
<popUpButton verticalHuggingPriority="750" translatesAutoresizingMaskIntoConstraints="NO" id="tlP-fD-0p1">
<rect key="frame" x="101" y="336" width="244" height="24"/>
<popUpButtonCell key="cell" type="push" title="Automatic" bezelStyle="rounded" alignment="left" lineBreakMode="truncatingTail" state="on" borderStyle="borderAndBezel" imageScaling="proportionallyDown" inset="2" selectedItem="tlM-fD-0m0" id="tlP-fD-0c1">
<behavior key="behavior" lightByBackground="YES" lightByGray="YES"/>
<font key="font" metaFont="message"/>
<menu key="menu" id="tlM-fD-0n1">
<items>
<menuItem title="Automatic" state="on" id="tlM-fD-0m0"/>
<menuItem title="Always" tag="1" id="tlM-fD-0m1"/>
<menuItem title="Never" tag="2" id="tlM-fD-0m2"/>
</items>
</menu>
</popUpButtonCell>
<connections>
<action selector="timelineFeedIconsPopUpDidChange:" target="-2" id="tlA-fD-0a1"/>
</connections>
</popUpButton>
<textField focusRingType="none" horizontalHuggingPriority="251" verticalHuggingPriority="750" horizontalCompressionResistancePriority="250" translatesAutoresizingMaskIntoConstraints="NO" id="tlN-fD-0l1">
<rect key="frame" x="99" y="296" width="249" height="32"/>
<textFieldCell key="cell" controlSize="small" title="Automatic shows icons for folders, smart feeds, and authors with avatars." id="tlN-fD-0c1">
<font key="font" usesAppearanceFont="YES"/>
<color key="textColor" name="secondaryLabelColor" catalog="System" colorSpace="catalog"/>
<color key="backgroundColor" name="textBackgroundColor" catalog="System" colorSpace="catalog"/>
</textFieldCell>
</textField>
<textField focusRingType="none" horizontalHuggingPriority="251" verticalHuggingPriority="750" translatesAutoresizingMaskIntoConstraints="NO" id="tlL-fS-0l1">
<rect key="frame" x="-2" y="264" width="97" height="16"/>
<textFieldCell key="cell" lineBreakMode="truncatingTail" sendsActionOnEndEditing="YES" alignment="right" title="Feed Icon Size:" id="tlL-fS-0c1">
<font key="font" metaFont="system"/>
<color key="textColor" name="labelColor" catalog="System" colorSpace="catalog"/>
<color key="backgroundColor" name="controlColor" catalog="System" colorSpace="catalog"/>
</textFieldCell>
</textField>
<popUpButton verticalHuggingPriority="750" translatesAutoresizingMaskIntoConstraints="NO" id="tlP-fS-0p1">
<rect key="frame" x="101" y="260" width="244" height="24"/>
<popUpButtonCell key="cell" type="push" title="Medium" bezelStyle="rounded" alignment="left" lineBreakMode="truncatingTail" state="on" borderStyle="borderAndBezel" tag="2" imageScaling="proportionallyDown" inset="2" selectedItem="tlM-fS-0m2" id="tlP-fS-0c1">
<behavior key="behavior" lightByBackground="YES" lightByGray="YES"/>
<font key="font" metaFont="message"/>
<menu key="menu" id="tlM-fS-0n1">
<items>
<menuItem title="Small" tag="1" id="tlM-fS-0m1"/>
<menuItem title="Medium" state="on" tag="2" id="tlM-fS-0m2"/>
<menuItem title="Large" tag="3" id="tlM-fS-0m3"/>
</items>
</menu>
</popUpButtonCell>
<connections>
<action selector="timelineIconSizePopUpDidChange:" target="-2" id="tlA-fS-0a1"/>
</connections>
</popUpButton>
<textField focusRingType="none" horizontalHuggingPriority="251" verticalHuggingPriority="750" translatesAutoresizingMaskIntoConstraints="NO" id="tlL-tH-0l1">
<rect key="frame" x="-2" y="228" width="97" height="16"/>
<textFieldCell key="cell" lineBreakMode="truncatingTail" sendsActionOnEndEditing="YES" alignment="right" title="Thumbnails:" id="tlL-tH-0c1">
<font key="font" metaFont="system"/>
<color key="textColor" name="labelColor" catalog="System" colorSpace="catalog"/>
<color key="backgroundColor" name="controlColor" catalog="System" colorSpace="catalog"/>
</textFieldCell>
</textField>
<popUpButton verticalHuggingPriority="750" translatesAutoresizingMaskIntoConstraints="NO" id="tlP-tS-0p1">
<rect key="frame" x="101" y="224" width="244" height="24"/>
<popUpButtonCell key="cell" type="push" title="None" bezelStyle="rounded" alignment="left" lineBreakMode="truncatingTail" state="on" borderStyle="borderAndBezel" imageScaling="proportionallyDown" inset="2" selectedItem="tlM-tS-0m0" id="tlP-tS-0c1">
<behavior key="behavior" lightByBackground="YES" lightByGray="YES"/>
<font key="font" metaFont="message"/>
<menu key="menu" id="tlM-tS-0n1">
<items>
<menuItem title="None" state="on" id="tlM-tS-0m0"/>
<menuItem isSeparatorItem="YES" id="tlM-tS-0s1"/>
<menuItem title="Small" tag="1" id="tlM-tS-0m1"/>
<menuItem title="Large" tag="2" id="tlM-tS-0m2"/>
</items>
</menu>
</popUpButtonCell>
<connections>
<action selector="timelineThumbnailsPopUpDidChange:" target="-2" id="tlA-tS-0a1"/>
</connections>
</popUpButton>
<textField focusRingType="none" horizontalHuggingPriority="251" verticalHuggingPriority="750" translatesAutoresizingMaskIntoConstraints="NO" id="tlL-tX-0l1">
<rect key="frame" x="-2" y="192" width="97" height="16"/>
<textFieldCell key="cell" lineBreakMode="truncatingTail" sendsActionOnEndEditing="YES" alignment="right" title="Text Size:" id="tlL-tX-0c1">
<font key="font" metaFont="system"/>
<color key="textColor" name="labelColor" catalog="System" colorSpace="catalog"/>
<color key="backgroundColor" name="controlColor" catalog="System" colorSpace="catalog"/>
</textFieldCell>
</textField>
<popUpButton verticalHuggingPriority="750" translatesAutoresizingMaskIntoConstraints="NO" id="tlP-tX-0p1">
<rect key="frame" x="101" y="188" width="244" height="24"/>
<popUpButtonCell key="cell" type="push" title="Medium" bezelStyle="rounded" alignment="left" lineBreakMode="truncatingTail" state="on" borderStyle="borderAndBezel" tag="2" imageScaling="proportionallyDown" inset="2" selectedItem="tlM-tX-0m2" id="tlP-tX-0c1">
<behavior key="behavior" lightByBackground="YES" lightByGray="YES"/>
<font key="font" metaFont="message"/>
<menu key="menu" id="tlM-tX-0n1">
<items>
<menuItem title="Small" tag="1" id="tlM-tX-0m1"/>
<menuItem title="Medium" state="on" tag="2" id="tlM-tX-0m2"/>
<menuItem title="Large" tag="3" id="tlM-tX-0m3"/>
<menuItem title="Extra Large" tag="4" id="tlM-tX-0m4"/>
<menuItem title="Extra Extra Large" tag="5" id="tlM-tX-0m5"/>
</items>
</menu>
</popUpButtonCell>
<constraints>
<constraint firstAttribute="width" relation="greaterThanOrEqual" constant="200" id="tlK-00-0k1"/>
</constraints>
<connections>
<action selector="timelineTextSizePopUpDidChange:" target="-2" id="tlA-tX-0a1"/>
</connections>
</popUpButton>
<textField focusRingType="none" horizontalHuggingPriority="251" verticalHuggingPriority="750" translatesAutoresizingMaskIntoConstraints="NO" id="tlL-nL-0l1">
<rect key="frame" x="-2" y="156" width="97" height="16"/>
<textFieldCell key="cell" lineBreakMode="truncatingTail" sendsActionOnEndEditing="YES" alignment="right" title="Rows:" id="tlL-nL-0c1">
<font key="font" metaFont="system"/>
<color key="textColor" name="labelColor" catalog="System" colorSpace="catalog"/>
<color key="backgroundColor" name="controlColor" catalog="System" colorSpace="catalog"/>
</textFieldCell>
</textField>
<popUpButton verticalHuggingPriority="750" translatesAutoresizingMaskIntoConstraints="NO" id="tlP-nL-0p1">
<rect key="frame" x="252" y="152" width="57" height="24"/>
<popUpButtonCell key="cell" type="push" title="2" bezelStyle="rounded" alignment="left" lineBreakMode="truncatingTail" state="on" borderStyle="borderAndBezel" tag="2" imageScaling="proportionallyDown" inset="2" selectedItem="tlM-nL-0m2" id="tlP-nL-0c1">
<behavior key="behavior" lightByBackground="YES" lightByGray="YES"/>
<font key="font" metaFont="message"/>
<menu key="menu" id="tlM-nL-0n1">
<items>
<menuItem title="1" tag="1" id="tlM-nL-0m1"/>
<menuItem title="2" state="on" tag="2" id="tlM-nL-0m2"/>
<menuItem title="3" tag="3" id="tlM-nL-0m3"/>
<menuItem title="4" tag="4" id="tlM-nL-0m4"/>
<menuItem title="5" tag="5" id="tlM-nL-0m5"/>
<menuItem title="6" tag="6" id="tlM-nL-0m6"/>
</items>
</menu>
</popUpButtonCell>
<connections>
<action selector="timelineNumberOfLinesPopUpDidChange:" target="-2" id="tlA-nL-0a1"/>
</connections>
</popUpButton>
<button verticalHuggingPriority="750" translatesAutoresizingMaskIntoConstraints="NO" id="tlR-tP-0b1">
<rect key="frame" x="101" y="156" width="143" height="16"/>
<buttonCell key="cell" type="radio" title="Title and preview, in" bezelStyle="regularSquare" imagePosition="left" alignment="left" state="on" inset="2" id="tlR-tP-0c1">
<behavior key="behavior" changeContents="YES" doesNotDimImage="YES" lightByContents="YES"/>
<font key="font" metaFont="system"/>
</buttonCell>
<connections>
<action selector="timelineRowsRadioButtonDidChange:" target="-2" id="tlA-tP-0a1"/>
</connections>
</button>
<textField focusRingType="none" horizontalHuggingPriority="251" verticalHuggingPriority="750" translatesAutoresizingMaskIntoConstraints="NO" id="tlL-ln-0l1">
<rect key="frame" x="315" y="156" width="32" height="16"/>
<textFieldCell key="cell" lineBreakMode="clipping" title="lines" id="tlL-ln-0c1">
<font key="font" metaFont="system"/>
<color key="textColor" name="labelColor" catalog="System" colorSpace="catalog"/>
<color key="backgroundColor" name="textBackgroundColor" catalog="System" colorSpace="catalog"/>
</textFieldCell>
</textField>
<button verticalHuggingPriority="750" translatesAutoresizingMaskIntoConstraints="NO" id="tlR-fT-0b1">
<rect key="frame" x="101" y="128" width="144" height="16"/>
<buttonCell key="cell" type="radio" title="Full title, no preview" bezelStyle="regularSquare" imagePosition="left" alignment="left" inset="2" id="tlR-fT-0c1">
<behavior key="behavior" changeContents="YES" doesNotDimImage="YES" lightByContents="YES"/>
<font key="font" metaFont="system"/>
</buttonCell>
<connections>
<action selector="timelineRowsRadioButtonDidChange:" target="-2" id="tlA-fT-0a1"/>
</connections>
</button>
<textField focusRingType="none" horizontalHuggingPriority="251" verticalHuggingPriority="750" horizontalCompressionResistancePriority="250" translatesAutoresizingMaskIntoConstraints="NO" id="tlN-fT-0l1">
<rect key="frame" x="119" y="106" width="229" height="16"/>
<textFieldCell key="cell" controlSize="small" title="Shows the whole title, up to 12 lines." id="tlN-fT-0c1">
<font key="font" usesAppearanceFont="YES"/>
<color key="textColor" name="secondaryLabelColor" catalog="System" colorSpace="catalog"/>
<color key="backgroundColor" name="textBackgroundColor" catalog="System" colorSpace="catalog"/>
</textFieldCell>
</textField>
<button verticalHuggingPriority="750" translatesAutoresizingMaskIntoConstraints="NO" id="tlB-sP-0b1">
<rect key="frame" x="101" y="78" width="245" height="16"/>
<buttonCell key="cell" type="check" title="Show separators" bezelStyle="regularSquare" imagePosition="left" inset="2" id="tlB-sP-0c1">
<behavior key="behavior" changeContents="YES" doesNotDimImage="YES" lightByContents="YES"/>
<font key="font" metaFont="system"/>
</buttonCell>
<connections>
<action selector="timelineShowSeparatorsDidChange:" target="-2" id="tlA-sP-0a1"/>
</connections>
</button>
<button verticalHuggingPriority="750" translatesAutoresizingMaskIntoConstraints="NO" id="tlB-fR-0b1">
<rect key="frame" x="101" y="56" width="245" height="16"/>
<buttonCell key="cell" type="check" title="Fade read articles" bezelStyle="regularSquare" imagePosition="left" inset="2" id="tlB-fR-0c1">
<behavior key="behavior" changeContents="YES" doesNotDimImage="YES" lightByContents="YES"/>
<font key="font" metaFont="system"/>
</buttonCell>
<connections>
<action selector="timelineFadeReadArticlesDidChange:" target="-2" id="tlA-fR-0a1"/>
</connections>
</button>
<textField focusRingType="none" horizontalHuggingPriority="251" verticalHuggingPriority="750" horizontalCompressionResistancePriority="250" translatesAutoresizingMaskIntoConstraints="NO" id="tlN-cL-0l1">
<rect key="frame" x="99" y="0.0" width="249" height="48"/>
<textFieldCell key="cell" controlSize="small" title="Feed icon size, thumbnails, rows, and separators apply only to the standard layout." id="tlN-cL-0c1">
<font key="font" usesAppearanceFont="YES"/>
<color key="textColor" name="secondaryLabelColor" catalog="System" colorSpace="catalog"/>
<color key="backgroundColor" name="textBackgroundColor" catalog="System" colorSpace="catalog"/>
</textFieldCell>
</textField>
</subviews>
<constraints>
<constraint firstItem="tlP-fD-0p1" firstAttribute="top" secondItem="tlC-nT-0c1" secondAttribute="top" id="c36-Ly-Out"/>
<constraint firstItem="tlP-fD-0p1" firstAttribute="leading" secondItem="tlL-fI-0l1" secondAttribute="trailing" constant="8" symbolic="YES" id="c40-Ly-Out"/>
<constraint firstItem="tlL-fI-0l1" firstAttribute="leading" secondItem="tlC-nT-0c1" secondAttribute="leading" id="c37-Ly-Out"/>
<constraint firstItem="tlL-fI-0l1" firstAttribute="firstBaseline" secondItem="tlP-fD-0p1" secondAttribute="firstBaseline" id="c38-Ly-Out"/>
<constraint firstAttribute="trailing" secondItem="tlP-fD-0p1" secondAttribute="trailing" constant="1" id="c41-Ly-Out"/>
<constraint firstItem="tlN-fD-0l1" firstAttribute="top" secondItem="tlP-fD-0p1" secondAttribute="bottom" constant="8" id="c42-Ly-Out"/>
<constraint firstItem="tlN-fD-0l1" firstAttribute="leading" secondItem="tlP-fD-0p1" secondAttribute="leading" id="c43-Ly-Out"/>
<constraint firstAttribute="trailing" secondItem="tlN-fD-0l1" secondAttribute="trailing" id="c44-Ly-Out"/>
<constraint firstItem="tlP-fS-0p1" firstAttribute="top" secondItem="tlN-fD-0l1" secondAttribute="bottom" constant="12" id="c45-Ly-Out"/>
<constraint firstItem="tlL-fS-0l1" firstAttribute="leading" secondItem="tlC-nT-0c1" secondAttribute="leading" id="c46-Ly-Out"/>
<constraint firstItem="tlL-fS-0l1" firstAttribute="firstBaseline" secondItem="tlP-fS-0p1" secondAttribute="firstBaseline" id="c47-Ly-Out"/>
<constraint firstItem="tlL-fS-0l1" firstAttribute="trailing" secondItem="tlL-fI-0l1" secondAttribute="trailing" id="c48-Ly-Out"/>
<constraint firstItem="tlP-fS-0p1" firstAttribute="leading" secondItem="tlP-fD-0p1" secondAttribute="leading" id="c49-Ly-Out"/>
<constraint firstAttribute="trailing" secondItem="tlP-fS-0p1" secondAttribute="trailing" constant="1" id="c50-Ly-Out"/>
<constraint firstItem="tlP-tS-0p1" firstAttribute="top" secondItem="tlP-fS-0p1" secondAttribute="bottom" constant="12" id="c51-Ly-Out"/>
<constraint firstItem="tlL-tH-0l1" firstAttribute="leading" secondItem="tlC-nT-0c1" secondAttribute="leading" id="c52-Ly-Out"/>
<constraint firstItem="tlL-tH-0l1" firstAttribute="firstBaseline" secondItem="tlP-tS-0p1" secondAttribute="firstBaseline" id="c53-Ly-Out"/>
<constraint firstItem="tlL-tH-0l1" firstAttribute="trailing" secondItem="tlL-fI-0l1" secondAttribute="trailing" id="c54-Ly-Out"/>
<constraint firstItem="tlP-tS-0p1" firstAttribute="leading" secondItem="tlP-fD-0p1" secondAttribute="leading" id="c55-Ly-Out"/>
<constraint firstAttribute="trailing" secondItem="tlP-tS-0p1" secondAttribute="trailing" constant="1" id="c56-Ly-Out"/>
<constraint firstItem="tlP-tX-0p1" firstAttribute="top" secondItem="tlP-tS-0p1" secondAttribute="bottom" constant="12" id="c57-Ly-Out"/>
<constraint firstItem="tlL-tX-0l1" firstAttribute="leading" secondItem="tlC-nT-0c1" secondAttribute="leading" id="c58-Ly-Out"/>
<constraint firstItem="tlL-tX-0l1" firstAttribute="firstBaseline" secondItem="tlP-tX-0p1" secondAttribute="firstBaseline" id="c59-Ly-Out"/>
<constraint firstItem="tlL-tX-0l1" firstAttribute="trailing" secondItem="tlL-fI-0l1" secondAttribute="trailing" id="c60-Ly-Out"/>
<constraint firstItem="tlP-tX-0p1" firstAttribute="leading" secondItem="tlP-fD-0p1" secondAttribute="leading" id="c61-Ly-Out"/>
<constraint firstAttribute="trailing" secondItem="tlP-tX-0p1" secondAttribute="trailing" constant="1" id="c62-Ly-Out"/>
<constraint firstItem="tlP-nL-0p1" firstAttribute="top" secondItem="tlP-tX-0p1" secondAttribute="bottom" constant="12" id="c63-Ly-Out"/>
<constraint firstItem="tlL-nL-0l1" firstAttribute="leading" secondItem="tlC-nT-0c1" secondAttribute="leading" id="c64-Ly-Out"/>
<constraint firstItem="tlL-nL-0l1" firstAttribute="firstBaseline" secondItem="tlP-nL-0p1" secondAttribute="firstBaseline" id="c65-Ly-Out"/>
<constraint firstItem="tlL-nL-0l1" firstAttribute="trailing" secondItem="tlL-fI-0l1" secondAttribute="trailing" id="c66-Ly-Out"/>
<constraint firstItem="tlR-tP-0b1" firstAttribute="leading" secondItem="tlP-fD-0p1" secondAttribute="leading" id="cR1-Ly-Out"/>
<constraint firstItem="tlR-tP-0b1" firstAttribute="firstBaseline" secondItem="tlP-nL-0p1" secondAttribute="firstBaseline" id="cR2-Ly-Out"/>
<constraint firstItem="tlP-nL-0p1" firstAttribute="leading" secondItem="tlR-tP-0b1" secondAttribute="trailing" constant="8" symbolic="YES" id="c67-Ly-Out"/>
<constraint firstItem="tlL-ln-0l1" firstAttribute="leading" secondItem="tlP-nL-0p1" secondAttribute="trailing" constant="8" symbolic="YES" id="cR3-Ly-Out"/>
<constraint firstItem="tlL-ln-0l1" firstAttribute="firstBaseline" secondItem="tlP-nL-0p1" secondAttribute="firstBaseline" id="cR4-Ly-Out"/>
<constraint firstAttribute="trailing" relation="greaterThanOrEqual" secondItem="tlL-ln-0l1" secondAttribute="trailing" constant="1" id="c68-Ly-Out"/>
<constraint firstItem="tlR-fT-0b1" firstAttribute="top" secondItem="tlP-nL-0p1" secondAttribute="bottom" constant="8" id="cR5-Ly-Out"/>
<constraint firstItem="tlR-fT-0b1" firstAttribute="leading" secondItem="tlP-fD-0p1" secondAttribute="leading" id="cR6-Ly-Out"/>
<constraint firstAttribute="trailing" relation="greaterThanOrEqual" secondItem="tlR-fT-0b1" secondAttribute="trailing" id="cR7-Ly-Out"/>
<constraint firstItem="tlN-fT-0l1" firstAttribute="top" secondItem="tlR-fT-0b1" secondAttribute="bottom" constant="6" id="cR8-Ly-Out"/>
<constraint firstItem="tlN-fT-0l1" firstAttribute="leading" secondItem="tlR-fT-0b1" secondAttribute="leading" constant="20" id="cR9-Ly-Out"/>
<constraint firstAttribute="trailing" secondItem="tlN-fT-0l1" secondAttribute="trailing" id="cRA-Ly-Out"/>
<constraint firstItem="tlB-sP-0b1" firstAttribute="top" secondItem="tlN-fT-0l1" secondAttribute="bottom" constant="12" id="c69-Ly-Out"/>
<constraint firstItem="tlB-sP-0b1" firstAttribute="leading" secondItem="tlP-fD-0p1" secondAttribute="leading" id="c70-Ly-Out"/>
<constraint firstAttribute="trailing" secondItem="tlB-sP-0b1" secondAttribute="trailing" id="c71-Ly-Out"/>
<constraint firstItem="tlB-fR-0b1" firstAttribute="top" secondItem="tlB-sP-0b1" secondAttribute="bottom" constant="6" id="cF1-Ly-Out"/>
<constraint firstItem="tlB-fR-0b1" firstAttribute="leading" secondItem="tlP-fD-0p1" secondAttribute="leading" id="cF2-Ly-Out"/>
<constraint firstAttribute="trailing" secondItem="tlB-fR-0b1" secondAttribute="trailing" id="cF3-Ly-Out"/>
<constraint firstItem="tlN-cL-0l1" firstAttribute="top" secondItem="tlB-fR-0b1" secondAttribute="bottom" constant="8" id="cN1-Ly-Out"/>
<constraint firstItem="tlN-cL-0l1" firstAttribute="leading" secondItem="tlP-fD-0p1" secondAttribute="leading" id="cN2-Ly-Out"/>
<constraint firstAttribute="trailing" secondItem="tlN-cL-0l1" secondAttribute="trailing" id="cN3-Ly-Out"/>
<constraint firstAttribute="bottom" secondItem="tlN-cL-0l1" secondAttribute="bottom" id="c72-Ly-Out"/>
</constraints>
</customView>
</subviews>
<constraints>
<constraint firstItem="tlC-nT-0c1" firstAttribute="top" secondItem="tlV-iw-0v1" secondAttribute="top" constant="20" id="t01-Ly-Out"/>
<constraint firstItem="tlC-nT-0c1" firstAttribute="centerX" secondItem="tlV-iw-0v1" secondAttribute="centerX" id="t02-Ly-Out"/>
<constraint firstItem="tlC-nT-0c1" firstAttribute="leading" relation="greaterThanOrEqual" secondItem="tlV-iw-0v1" secondAttribute="leading" constant="20" id="t03-Ly-Out"/>
<constraint firstAttribute="trailing" relation="greaterThanOrEqual" secondItem="tlC-nT-0c1" secondAttribute="trailing" constant="20" id="t04-Ly-Out"/>
<constraint firstAttribute="bottom" secondItem="tlC-nT-0c1" secondAttribute="bottom" constant="20" id="t05-Ly-Out"/>
</constraints>
<point key="canvasLocation" x="141.5" y="193"/>
</view>
</objects>
</document>
@@ -0,0 +1,185 @@
//
// TimelinePreferencesViewController.swift
// NetNewsWire
//
// Created by Brent Simmons on 11/7/26.
//
import AppKit
import RSCore
import Images
final class TimelinePreferencesViewController: NSViewController {
@IBOutlet var timelineIconsPopup: NSPopUpButton?
@IBOutlet var timelineIconSizePopup: NSPopUpButton?
@IBOutlet var timelineTitleAndSummaryButton: NSButton?
@IBOutlet var timelineNumberOfLinesPopup: NSPopUpButton?
@IBOutlet var timelineFullTitlesButton: NSButton?
@IBOutlet var timelineThumbnailsPopup: NSPopUpButton?
@IBOutlet var timelineTextSizePopup: NSPopUpButton?
@IBOutlet var timelineShowSeparatorsButton: NSButton?
@IBOutlet var timelineFadeReadArticlesButton: NSButton?
convenience init() {
self.init(nibName: "TimelinePreferencesView", bundle: nil)
}
override init(nibName nibNameOrNil: NSNib.Name?, bundle nibBundleOrNil: Bundle?) {
super.init(nibName: nibNameOrNil, bundle: nibBundleOrNil)
commonInit()
}
required init?(coder: NSCoder) {
super.init(coder: coder)
commonInit()
}
override func viewDidLoad() {
super.viewDidLoad()
view.sizeToFittingSize()
}
override func viewWillAppear() {
super.viewWillAppear()
updateTimelineFeedIconsPopup()
updateTimelineIconSizePopup()
updateTimelineThumbnailsPopup()
updateTimelineTextSizePopup()
updateTimelineRowsControls()
updateTimelineShowSeparatorsButton()
updateTimelineFadeReadArticlesButton()
}
// MARK: - Notifications
@objc func handleTimelineFeedIconsDisplayDidChange(_ notification: Notification) {
updateTimelineFeedIconsPopup()
}
@objc func handleTimelineIconSizeDidChange(_ notification: Notification) {
updateTimelineIconSizePopup()
}
@objc func handleTimelineThumbnailsDisplayDidChange(_ notification: Notification) {
updateTimelineThumbnailsPopup()
}
@objc func handleTimelineTextSizeDidChange(_ notification: Notification) {
updateTimelineTextSizePopup()
}
@objc func handleTimelineNumberOfLinesDidChange(_ notification: Notification) {
updateTimelineRowsControls()
}
@objc func handleTimelineShowFullTitlesDidChange(_ notification: Notification) {
updateTimelineRowsControls()
}
@objc func handleTimelineShowSeparatorsDidChange(_ notification: Notification) {
updateTimelineShowSeparatorsButton()
}
@objc func handleTimelineFadeReadArticlesDidChange(_ notification: Notification) {
updateTimelineFadeReadArticlesButton()
}
// MARK: - Actions
@IBAction func timelineFeedIconsPopUpDidChange(_ sender: Any) {
guard let tag = timelineIconsPopup?.selectedTag(), let feedIconsDisplay = TimelineFeedIconsDisplay(rawValue: tag) else {
return
}
AppDefaults.timelineFeedIconsDisplay = feedIconsDisplay
}
@IBAction func timelineIconSizePopUpDidChange(_ sender: Any) {
guard let tag = timelineIconSizePopup?.selectedTag(), let iconSize = IconSize(rawValue: tag) else {
return
}
AppDefaults.timelineIconSize = iconSize
}
@IBAction func timelineThumbnailsPopUpDidChange(_ sender: Any) {
guard let tag = timelineThumbnailsPopup?.selectedTag(), let thumbnailsDisplay = TimelineThumbnailsDisplay(rawValue: tag) else {
return
}
AppDefaults.timelineThumbnailsDisplay = thumbnailsDisplay
}
@IBAction func timelineTextSizePopUpDidChange(_ sender: Any) {
guard let tag = timelineTextSizePopup?.selectedTag(), let textSize = TimelineTextSize(rawValue: tag) else {
return
}
AppDefaults.timelineTextSize = textSize
}
@IBAction func timelineNumberOfLinesPopUpDidChange(_ sender: Any) {
guard let numberOfLines = timelineNumberOfLinesPopup?.selectedTag() else {
return
}
AppDefaults.timelineNumberOfLines = numberOfLines
}
@IBAction func timelineRowsRadioButtonDidChange(_ sender: NSButton) {
AppDefaults.timelineShowFullTitles = sender === timelineFullTitlesButton
}
@IBAction func timelineShowSeparatorsDidChange(_ sender: NSButton) {
AppDefaults.timelineShowSeparators = sender.state == .on
}
@IBAction func timelineFadeReadArticlesDidChange(_ sender: NSButton) {
AppDefaults.timelineFadeReadArticles = sender.state == .on
}
}
// MARK: - Private
private extension TimelinePreferencesViewController {
func commonInit() {
NotificationCenter.default.addObserver(self, selector: #selector(handleTimelineFeedIconsDisplayDidChange(_:)), name: .timelineFeedIconsDisplayDidChange, object: nil)
NotificationCenter.default.addObserver(self, selector: #selector(handleTimelineIconSizeDidChange(_:)), name: .timelineIconSizeDidChange, object: nil)
NotificationCenter.default.addObserver(self, selector: #selector(handleTimelineThumbnailsDisplayDidChange(_:)), name: .timelineThumbnailsDisplayDidChange, object: nil)
NotificationCenter.default.addObserver(self, selector: #selector(handleTimelineTextSizeDidChange(_:)), name: .timelineTextSizeDidChange, object: nil)
NotificationCenter.default.addObserver(self, selector: #selector(handleTimelineNumberOfLinesDidChange(_:)), name: .timelineNumberOfLinesDidChange, object: nil)
NotificationCenter.default.addObserver(self, selector: #selector(handleTimelineShowFullTitlesDidChange(_:)), name: .timelineShowFullTitlesDidChange, object: nil)
NotificationCenter.default.addObserver(self, selector: #selector(handleTimelineShowSeparatorsDidChange(_:)), name: .timelineShowSeparatorsDidChange, object: nil)
NotificationCenter.default.addObserver(self, selector: #selector(handleTimelineFadeReadArticlesDidChange(_:)), name: .timelineFadeReadArticlesDidChange, object: nil)
}
func updateTimelineFeedIconsPopup() {
timelineIconsPopup?.selectItem(withTag: AppDefaults.timelineFeedIconsDisplay.rawValue)
}
func updateTimelineIconSizePopup() {
timelineIconSizePopup?.selectItem(withTag: AppDefaults.timelineIconSize.rawValue)
}
func updateTimelineThumbnailsPopup() {
timelineThumbnailsPopup?.selectItem(withTag: AppDefaults.timelineThumbnailsDisplay.rawValue)
}
func updateTimelineTextSizePopup() {
timelineTextSizePopup?.selectItem(withTag: AppDefaults.timelineTextSize.rawValue)
}
/// The number of lines applies only to title and summary, so its popup is disabled with full titles.
func updateTimelineRowsControls() {
let showFullTitles = AppDefaults.timelineShowFullTitles
timelineTitleAndSummaryButton?.state = showFullTitles ? .off : .on
timelineFullTitlesButton?.state = showFullTitles ? .on : .off
timelineNumberOfLinesPopup?.selectItem(withTag: AppDefaults.timelineNumberOfLines)
timelineNumberOfLinesPopup?.isEnabled = !showFullTitles
}
func updateTimelineShowSeparatorsButton() {
timelineShowSeparatorsButton?.state = AppDefaults.timelineShowSeparators ? .on : .off
}
func updateTimelineFadeReadArticlesButton() {
timelineFadeReadArticlesButton?.state = AppDefaults.timelineFadeReadArticles ? .on : .off
}
}
@@ -0,0 +1,402 @@
{
"sourceLanguage" : "en",
"strings" : {
"tlB-fR-0c1.title" : {
"comment" : "Class = \"NSButtonCell\"; title = \"Fade read articles\"; ObjectID = \"tlB-fR-0c1\";",
"extractionState" : "extracted_with_value",
"localizations" : {
"en" : {
"stringUnit" : {
"state" : "new",
"value" : "Fade read articles"
}
}
}
},
"tlB-sP-0c1.title" : {
"comment" : "Class = \"NSButtonCell\"; title = \"Show separators\"; ObjectID = \"tlB-sP-0c1\";",
"extractionState" : "extracted_with_value",
"localizations" : {
"en" : {
"stringUnit" : {
"state" : "new",
"value" : "Show separators"
}
}
}
},
"tlL-fI-0c1.title" : {
"comment" : "Class = \"NSTextFieldCell\"; title = \"Feed Icons:\"; ObjectID = \"tlL-fI-0c1\";",
"extractionState" : "extracted_with_value",
"localizations" : {
"en" : {
"stringUnit" : {
"state" : "new",
"value" : "Feed Icons:"
}
}
}
},
"tlL-fS-0c1.title" : {
"comment" : "Class = \"NSTextFieldCell\"; title = \"Feed Icon Size:\"; ObjectID = \"tlL-fS-0c1\";",
"extractionState" : "extracted_with_value",
"localizations" : {
"en" : {
"stringUnit" : {
"state" : "new",
"value" : "Feed Icon Size:"
}
}
}
},
"tlL-ln-0c1.title" : {
"comment" : "Class = \"NSTextFieldCell\"; title = \"lines\"; ObjectID = \"tlL-ln-0c1\";",
"extractionState" : "extracted_with_value",
"localizations" : {
"en" : {
"stringUnit" : {
"state" : "new",
"value" : "lines"
}
}
}
},
"tlL-nL-0c1.title" : {
"comment" : "Class = \"NSTextFieldCell\"; title = \"Rows:\"; ObjectID = \"tlL-nL-0c1\";",
"extractionState" : "extracted_with_value",
"localizations" : {
"en" : {
"stringUnit" : {
"state" : "new",
"value" : "Rows:"
}
}
}
},
"tlL-tH-0c1.title" : {
"comment" : "Class = \"NSTextFieldCell\"; title = \"Thumbnails:\"; ObjectID = \"tlL-tH-0c1\";",
"extractionState" : "extracted_with_value",
"localizations" : {
"en" : {
"stringUnit" : {
"state" : "new",
"value" : "Thumbnails:"
}
}
}
},
"tlL-tX-0c1.title" : {
"comment" : "Class = \"NSTextFieldCell\"; title = \"Text Size:\"; ObjectID = \"tlL-tX-0c1\";",
"extractionState" : "extracted_with_value",
"localizations" : {
"en" : {
"stringUnit" : {
"state" : "new",
"value" : "Text Size:"
}
}
}
},
"tlM-fD-0m0.title" : {
"comment" : "Class = \"NSMenuItem\"; title = \"Automatic\"; ObjectID = \"tlM-fD-0m0\";",
"extractionState" : "extracted_with_value",
"localizations" : {
"en" : {
"stringUnit" : {
"state" : "new",
"value" : "Automatic"
}
}
}
},
"tlM-fD-0m1.title" : {
"comment" : "Class = \"NSMenuItem\"; title = \"Always\"; ObjectID = \"tlM-fD-0m1\";",
"extractionState" : "extracted_with_value",
"localizations" : {
"en" : {
"stringUnit" : {
"state" : "new",
"value" : "Always"
}
}
}
},
"tlM-fD-0m2.title" : {
"comment" : "Class = \"NSMenuItem\"; title = \"Never\"; ObjectID = \"tlM-fD-0m2\";",
"extractionState" : "extracted_with_value",
"localizations" : {
"en" : {
"stringUnit" : {
"state" : "new",
"value" : "Never"
}
}
}
},
"tlM-fS-0m1.title" : {
"comment" : "Class = \"NSMenuItem\"; title = \"Small\"; ObjectID = \"tlM-fS-0m1\";",
"extractionState" : "extracted_with_value",
"localizations" : {
"en" : {
"stringUnit" : {
"state" : "new",
"value" : "Small"
}
}
}
},
"tlM-fS-0m2.title" : {
"comment" : "Class = \"NSMenuItem\"; title = \"Medium\"; ObjectID = \"tlM-fS-0m2\";",
"extractionState" : "extracted_with_value",
"localizations" : {
"en" : {
"stringUnit" : {
"state" : "new",
"value" : "Medium"
}
}
}
},
"tlM-fS-0m3.title" : {
"comment" : "Class = \"NSMenuItem\"; title = \"Large\"; ObjectID = \"tlM-fS-0m3\";",
"extractionState" : "extracted_with_value",
"localizations" : {
"en" : {
"stringUnit" : {
"state" : "new",
"value" : "Large"
}
}
}
},
"tlM-nL-0m1.title" : {
"comment" : "Class = \"NSMenuItem\"; title = \"1\"; ObjectID = \"tlM-nL-0m1\";",
"extractionState" : "extracted_with_value",
"localizations" : {
"en" : {
"stringUnit" : {
"state" : "new",
"value" : "1"
}
}
}
},
"tlM-nL-0m2.title" : {
"comment" : "Class = \"NSMenuItem\"; title = \"2\"; ObjectID = \"tlM-nL-0m2\";",
"extractionState" : "extracted_with_value",
"localizations" : {
"en" : {
"stringUnit" : {
"state" : "new",
"value" : "2"
}
}
}
},
"tlM-nL-0m3.title" : {
"comment" : "Class = \"NSMenuItem\"; title = \"3\"; ObjectID = \"tlM-nL-0m3\";",
"extractionState" : "extracted_with_value",
"localizations" : {
"en" : {
"stringUnit" : {
"state" : "new",
"value" : "3"
}
}
}
},
"tlM-nL-0m4.title" : {
"comment" : "Class = \"NSMenuItem\"; title = \"4\"; ObjectID = \"tlM-nL-0m4\";",
"extractionState" : "extracted_with_value",
"localizations" : {
"en" : {
"stringUnit" : {
"state" : "new",
"value" : "4"
}
}
}
},
"tlM-nL-0m5.title" : {
"comment" : "Class = \"NSMenuItem\"; title = \"5\"; ObjectID = \"tlM-nL-0m5\";",
"extractionState" : "extracted_with_value",
"localizations" : {
"en" : {
"stringUnit" : {
"state" : "new",
"value" : "5"
}
}
}
},
"tlM-nL-0m6.title" : {
"comment" : "Class = \"NSMenuItem\"; title = \"6\"; ObjectID = \"tlM-nL-0m6\";",
"extractionState" : "extracted_with_value",
"localizations" : {
"en" : {
"stringUnit" : {
"state" : "new",
"value" : "6"
}
}
}
},
"tlM-tS-0m0.title" : {
"comment" : "Class = \"NSMenuItem\"; title = \"None\"; ObjectID = \"tlM-tS-0m0\";",
"extractionState" : "extracted_with_value",
"localizations" : {
"en" : {
"stringUnit" : {
"state" : "new",
"value" : "None"
}
}
}
},
"tlM-tS-0m1.title" : {
"comment" : "Class = \"NSMenuItem\"; title = \"Small\"; ObjectID = \"tlM-tS-0m1\";",
"extractionState" : "extracted_with_value",
"localizations" : {
"en" : {
"stringUnit" : {
"state" : "new",
"value" : "Small"
}
}
}
},
"tlM-tS-0m2.title" : {
"comment" : "Class = \"NSMenuItem\"; title = \"Large\"; ObjectID = \"tlM-tS-0m2\";",
"extractionState" : "extracted_with_value",
"localizations" : {
"en" : {
"stringUnit" : {
"state" : "new",
"value" : "Large"
}
}
}
},
"tlM-tX-0m1.title" : {
"comment" : "Class = \"NSMenuItem\"; title = \"Small\"; ObjectID = \"tlM-tX-0m1\";",
"extractionState" : "extracted_with_value",
"localizations" : {
"en" : {
"stringUnit" : {
"state" : "new",
"value" : "Small"
}
}
}
},
"tlM-tX-0m2.title" : {
"comment" : "Class = \"NSMenuItem\"; title = \"Medium\"; ObjectID = \"tlM-tX-0m2\";",
"extractionState" : "extracted_with_value",
"localizations" : {
"en" : {
"stringUnit" : {
"state" : "new",
"value" : "Medium"
}
}
}
},
"tlM-tX-0m3.title" : {
"comment" : "Class = \"NSMenuItem\"; title = \"Large\"; ObjectID = \"tlM-tX-0m3\";",
"extractionState" : "extracted_with_value",
"localizations" : {
"en" : {
"stringUnit" : {
"state" : "new",
"value" : "Large"
}
}
}
},
"tlM-tX-0m4.title" : {
"comment" : "Class = \"NSMenuItem\"; title = \"Extra Large\"; ObjectID = \"tlM-tX-0m4\";",
"extractionState" : "extracted_with_value",
"localizations" : {
"en" : {
"stringUnit" : {
"state" : "new",
"value" : "Extra Large"
}
}
}
},
"tlM-tX-0m5.title" : {
"comment" : "Class = \"NSMenuItem\"; title = \"Extra Extra Large\"; ObjectID = \"tlM-tX-0m5\";",
"extractionState" : "extracted_with_value",
"localizations" : {
"en" : {
"stringUnit" : {
"state" : "new",
"value" : "Extra Extra Large"
}
}
}
},
"tlN-cL-0c1.title" : {
"comment" : "Class = \"NSTextFieldCell\"; title = \"Feed icon size, thumbnails, rows, and separators apply only to the standard layout.\"; ObjectID = \"tlN-cL-0c1\";",
"extractionState" : "extracted_with_value",
"localizations" : {
"en" : {
"stringUnit" : {
"state" : "new",
"value" : "Feed icon size, thumbnails, rows, and separators apply only to the standard layout."
}
}
}
},
"tlN-fD-0c1.title" : {
"comment" : "Class = \"NSTextFieldCell\"; title = \"Automatic shows icons for folders, smart feeds, and authors with avatars.\"; ObjectID = \"tlN-fD-0c1\";",
"extractionState" : "extracted_with_value",
"localizations" : {
"en" : {
"stringUnit" : {
"state" : "new",
"value" : "Automatic shows icons for folders, smart feeds, and authors with avatars."
}
}
}
},
"tlN-fT-0c1.title" : {
"comment" : "Class = \"NSTextFieldCell\"; title = \"Shows the whole title, up to 12 lines.\"; ObjectID = \"tlN-fT-0c1\";",
"extractionState" : "extracted_with_value",
"localizations" : {
"en" : {
"stringUnit" : {
"state" : "new",
"value" : "Shows the whole title, up to 12 lines."
}
}
}
},
"tlR-fT-0c1.title" : {
"comment" : "Class = \"NSButtonCell\"; title = \"Full title, no preview\"; ObjectID = \"tlR-fT-0c1\";",
"extractionState" : "extracted_with_value",
"localizations" : {
"en" : {
"stringUnit" : {
"state" : "new",
"value" : "Full title, no preview"
}
}
}
},
"tlR-tP-0c1.title" : {
"comment" : "Class = \"NSButtonCell\"; title = \"Title and preview, in\"; ObjectID = \"tlR-tP-0c1\";",
"extractionState" : "extracted_with_value",
"localizations" : {
"en" : {
"stringUnit" : {
"state" : "new",
"value" : "Title and preview, in"
}
}
}
}
},
"version" : "1.2"
}
+1
View File
@@ -62,6 +62,7 @@ struct Assets {
static let preferencesToolbarAccounts = RSImage(symbol: "at")!
static let preferencesToolbarGeneral = RSImage(symbol: "gearshape")!
static var preferencesToolbarAppearance: RSImage { RSImage(named: "preferencesToolbarAppearance")! }
static let preferencesToolbarTimeline = RSImage(symbol: "list.bullet.rectangle")!
static let preferencesToolbarAdvanced = RSImage(symbol: "gearshape.2")!
static let readClosed = RSImage(symbol: "largecircle.fill.circle")!
static let readOpen = RSImage(symbol: "circle")!