Skip to content

Commit

Permalink
Make IBOutlets private
Browse files Browse the repository at this point in the history
  • Loading branch information
lukakerr committed Mar 26, 2019
1 parent d12754b commit 927de16
Show file tree
Hide file tree
Showing 4 changed files with 5 additions and 5 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -14,7 +14,7 @@ class PreferencesSidebarViewController: NSViewController {
return parent as? PreferencesSplitViewController
}

@IBOutlet weak var sidebar: NSOutlineView!
@IBOutlet weak private var sidebar: NSOutlineView!

override func viewDidLoad() {
super.viewDidLoad()
Expand Down
2 changes: 1 addition & 1 deletion Pine/Controllers/PreviewViewController.swift
Original file line number Diff line number Diff line change
Expand Up @@ -11,7 +11,7 @@ import WebKit

class PreviewViewController: NSViewController, WKNavigationDelegate {

@IBOutlet weak var webPreview: WKWebView!
@IBOutlet weak private var webPreview: WKWebView!

/// The current directory that external assets can load from
private var permissionDirectory: URL?
Expand Down
2 changes: 1 addition & 1 deletion Pine/Controllers/Reference/ReferenceViewController.swift
Original file line number Diff line number Diff line change
Expand Up @@ -11,7 +11,7 @@ import WebKit

class ReferenceViewController: NSViewController {

@IBOutlet weak var webView: WKWebView!
@IBOutlet weak private var webView: WKWebView!

override func viewDidLoad() {
super.viewDidLoad()
Expand Down
4 changes: 2 additions & 2 deletions Pine/Controllers/SidebarViewController.swift
Original file line number Diff line number Diff line change
Expand Up @@ -10,8 +10,8 @@ import Cocoa

class SidebarViewController: NSViewController {

@IBOutlet weak var sidebar: NSOutlineView!
@IBOutlet weak var sidebarActionsView: NSView!
@IBOutlet weak private var sidebar: NSOutlineView!
@IBOutlet weak private var sidebarActionsView: NSView!

// Data used for sidebar rows
var items: [FileSystemItem] = []
Expand Down

0 comments on commit 927de16

Please sign in to comment.