Skip to content

Commit

Permalink
Rename ContainerView to Window
Browse files Browse the repository at this point in the history
  • Loading branch information
mtfum committed Apr 11, 2019
1 parent b3a6723 commit 455bfc9
Show file tree
Hide file tree
Showing 4 changed files with 8 additions and 8 deletions.
8 changes: 4 additions & 4 deletions PKHUD.xcodeproj/project.pbxproj
Original file line number Diff line number Diff line change
Expand Up @@ -30,7 +30,7 @@
F996324D19514FEF001F73CA /* PKHUDAssets.swift in Sources */ = {isa = PBXBuildFile; fileRef = F996324619514FEF001F73CA /* PKHUDAssets.swift */; };
F996324F19514FEF001F73CA /* PKHUD.swift in Sources */ = {isa = PBXBuildFile; fileRef = F996324819514FEF001F73CA /* PKHUD.swift */; };
F996325019514FEF001F73CA /* FrameView.swift in Sources */ = {isa = PBXBuildFile; fileRef = F996324919514FEF001F73CA /* FrameView.swift */; };
F996325219514FEF001F73CA /* ContainerView.swift in Sources */ = {isa = PBXBuildFile; fileRef = F996324B19514FEF001F73CA /* ContainerView.swift */; };
F996325219514FEF001F73CA /* Window.swift in Sources */ = {isa = PBXBuildFile; fileRef = F996324B19514FEF001F73CA /* Window.swift */; };
F996325519514FF3001F73CA /* Images.xcassets in Resources */ = {isa = PBXBuildFile; fileRef = F996325419514FF3001F73CA /* Images.xcassets */; };
F996325919515052001F73CA /* DemoViewController.swift in Sources */ = {isa = PBXBuildFile; fileRef = F996325819515052001F73CA /* DemoViewController.swift */; };
/* End PBXBuildFile section */
Expand Down Expand Up @@ -107,7 +107,7 @@
F996324619514FEF001F73CA /* PKHUDAssets.swift */ = {isa = PBXFileReference; fileEncoding = 4; lastKnownFileType = sourcecode.swift; path = PKHUDAssets.swift; sourceTree = "<group>"; };
F996324819514FEF001F73CA /* PKHUD.swift */ = {isa = PBXFileReference; fileEncoding = 4; lastKnownFileType = sourcecode.swift; path = PKHUD.swift; sourceTree = "<group>"; };
F996324919514FEF001F73CA /* FrameView.swift */ = {isa = PBXFileReference; fileEncoding = 4; lastKnownFileType = sourcecode.swift; path = FrameView.swift; sourceTree = "<group>"; };
F996324B19514FEF001F73CA /* ContainerView.swift */ = {isa = PBXFileReference; fileEncoding = 4; lastKnownFileType = sourcecode.swift; path = ContainerView.swift; sourceTree = "<group>"; };
F996324B19514FEF001F73CA /* Window.swift */ = {isa = PBXFileReference; fileEncoding = 4; lastKnownFileType = sourcecode.swift; path = Window.swift; sourceTree = "<group>"; };
F996325419514FF3001F73CA /* Images.xcassets */ = {isa = PBXFileReference; lastKnownFileType = folder.assetcatalog; path = Images.xcassets; sourceTree = "<group>"; };
F996325819515052001F73CA /* DemoViewController.swift */ = {isa = PBXFileReference; fileEncoding = 4; lastKnownFileType = sourcecode.swift; path = DemoViewController.swift; sourceTree = "<group>"; };
/* End PBXFileReference section */
Expand Down Expand Up @@ -242,7 +242,7 @@
isa = PBXGroup;
children = (
F996324919514FEF001F73CA /* FrameView.swift */,
F996324B19514FEF001F73CA /* ContainerView.swift */,
F996324B19514FEF001F73CA /* Window.swift */,
);
name = Internal;
sourceTree = "<group>";
Expand Down Expand Up @@ -441,7 +441,7 @@
F908BEC01BB849290015E5A8 /* PKHUDSuccessView.swift in Sources */,
F908BEC51BB852C60015E5A8 /* PKHUDErrorView.swift in Sources */,
F935B15D1B2B8C20003C3734 /* PKHUDSquareBaseView.swift in Sources */,
F996325219514FEF001F73CA /* ContainerView.swift in Sources */,
F996325219514FEF001F73CA /* Window.swift in Sources */,
F935B15F1B2B8C7E003C3734 /* PKHUDWideBaseView.swift in Sources */,
F996324D19514FEF001F73CA /* PKHUDAssets.swift in Sources */,
F996324F19514FEF001F73CA /* PKHUD.swift in Sources */,
Expand Down
2 changes: 1 addition & 1 deletion PKHUD/FrameView.swift
Original file line number Diff line number Diff line change
@@ -1,5 +1,5 @@
//
// HUDView.swift
// FrameView.swift
// PKHUD
//
// Created by Philip Kluz on 6/16/14.
Expand Down
2 changes: 1 addition & 1 deletion PKHUD/PKHUD.swift
Original file line number Diff line number Diff line change
Expand Up @@ -18,7 +18,7 @@ open class PKHUD: NSObject {

public var viewToPresentOn: UIView?

private let container = ContainerView()
private let container = Window()
private var hideTimer: Timer?

public typealias TimerAction = (Bool) -> Void
Expand Down
4 changes: 2 additions & 2 deletions PKHUD/ContainerView.swift → PKHUD/Window.swift
Original file line number Diff line number Diff line change
@@ -1,5 +1,5 @@
//
// HUDWindow.swift
// Window.swift
// PKHUD
//
// Created by Philip Kluz on 6/16/14.
Expand All @@ -10,7 +10,7 @@
import UIKit

/// The window used to display the PKHUD within. Placed atop the applications main window.
internal final class ContainerView: UIView {
internal final class Window: UIView {

private var keyboardIsVisible = false
private var keyboardHeight: CGFloat = 0.0
Expand Down

0 comments on commit 455bfc9

Please sign in to comment.