NetNewsWire/Evergreen/MainWindow/Sidebar/Renaming/RenameWindowController.swift

27 lines
559 B
Swift
Raw Normal View History

//
// RenameWindowController.swift
// Evergreen
//
// Created by Brent Simmons on 1/28/18.
// Copyright © 2018 Ranchero Software. All rights reserved.
//
import AppKit
2018-02-03 08:00:09 +01:00
final class RenameWindowController: NSWindowController {
2018-02-03 08:00:09 +01:00
@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
}
}