mirror of
https://github.com/Ranchero-Software/NetNewsWire.git
synced 2024-12-19 13:02:55 +01:00
25 lines
557 B
Swift
25 lines
557 B
Swift
//
|
|
// RenameWindowController.swift
|
|
// Evergreen
|
|
//
|
|
// Created by Brent Simmons on 1/28/18.
|
|
// Copyright © 2018 Ranchero Software. All rights reserved.
|
|
//
|
|
|
|
import AppKit
|
|
|
|
final class RenameWindowController: NSWindowController {
|
|
|
|
@IBOutlet var renamePrompt: NSTextField!
|
|
@IBOutlet var newTitleTextField: NSTextField!
|
|
@IBOutlet var renameButton: NSButton!
|
|
|
|
private var originalTitle: String!
|
|
|
|
public convenience init(originalTitle: String) {
|
|
|
|
self.init(windowNibName: NSNib.Name(rawValue: "RenameSheet"))
|
|
self.originalTitle = originalTitle
|
|
}
|
|
}
|