Skip to content

Commit

Permalink
Remove unnecessary protocol
Browse files Browse the repository at this point in the history
  • Loading branch information
corin8823 committed Nov 10, 2015
1 parent 506ecd9 commit 8410e65
Show file tree
Hide file tree
Showing 3 changed files with 0 additions and 38 deletions.
4 changes: 0 additions & 4 deletions SwiftyExtensions.xcodeproj/project.pbxproj
Original file line number Diff line number Diff line change
Expand Up @@ -18,7 +18,6 @@
015B5B0F1B6DD9BF0087F4D3 /* UIView+Addtions.swift in Sources */ = {isa = PBXBuildFile; fileRef = 015B5B061B6DD9BF0087F4D3 /* UIView+Addtions.swift */; };
015B5B141B6DDAF10087F4D3 /* UICollectionView+Register.swift in Sources */ = {isa = PBXBuildFile; fileRef = 015B5B111B6DDAF10087F4D3 /* UICollectionView+Register.swift */; };
015B5B151B6DDAF10087F4D3 /* UITableView+Register.swift in Sources */ = {isa = PBXBuildFile; fileRef = 015B5B121B6DDAF10087F4D3 /* UITableView+Register.swift */; };
015B5B161B6DDAF10087F4D3 /* UIViewController+UIStoryBoard.swift in Sources */ = {isa = PBXBuildFile; fileRef = 015B5B131B6DDAF10087F4D3 /* UIViewController+UIStoryBoard.swift */; };
/* End PBXBuildFile section */

/* Begin PBXContainerItemProxy section */
Expand Down Expand Up @@ -46,7 +45,6 @@
015B5B061B6DD9BF0087F4D3 /* UIView+Addtions.swift */ = {isa = PBXFileReference; fileEncoding = 4; lastKnownFileType = sourcecode.swift; path = "UIView+Addtions.swift"; sourceTree = "<group>"; };
015B5B111B6DDAF10087F4D3 /* UICollectionView+Register.swift */ = {isa = PBXFileReference; fileEncoding = 4; lastKnownFileType = sourcecode.swift; path = "UICollectionView+Register.swift"; sourceTree = "<group>"; };
015B5B121B6DDAF10087F4D3 /* UITableView+Register.swift */ = {isa = PBXFileReference; fileEncoding = 4; lastKnownFileType = sourcecode.swift; path = "UITableView+Register.swift"; sourceTree = "<group>"; };
015B5B131B6DDAF10087F4D3 /* UIViewController+UIStoryBoard.swift */ = {isa = PBXFileReference; fileEncoding = 4; lastKnownFileType = sourcecode.swift; path = "UIViewController+UIStoryBoard.swift"; sourceTree = "<group>"; };
/* End PBXFileReference section */

/* Begin PBXFrameworksBuildPhase section */
Expand Down Expand Up @@ -99,7 +97,6 @@
015B5B051B6DD9BF0087F4D3 /* UIImageView+Addtions.swift */,
015B5B121B6DDAF10087F4D3 /* UITableView+Register.swift */,
015B5B061B6DD9BF0087F4D3 /* UIView+Addtions.swift */,
015B5B131B6DDAF10087F4D3 /* UIViewController+UIStoryBoard.swift */,
);
path = SwiftyExtensions;
sourceTree = "<group>";
Expand Down Expand Up @@ -246,7 +243,6 @@
015B5B0E1B6DD9BF0087F4D3 /* UIImageView+Addtions.swift in Sources */,
015B5B151B6DDAF10087F4D3 /* UITableView+Register.swift in Sources */,
015B5B0F1B6DD9BF0087F4D3 /* UIView+Addtions.swift in Sources */,
015B5B161B6DDAF10087F4D3 /* UIViewController+UIStoryBoard.swift in Sources */,
);
runOnlyForDeploymentPostprocessing = 0;
};
Expand Down
12 changes: 0 additions & 12 deletions SwiftyExtensions/UIView+Addtions.swift
Original file line number Diff line number Diff line change
Expand Up @@ -85,16 +85,4 @@ extension UIView {
}
return false
}
}

public protocol NibLoadable {
func loadNib() -> Self
}

public extension NibLoadable {

func loadNib() -> Self {
let className = StringFromType(Self)
return NSBundle.mainBundle().loadNibNamed(className, owner: nil, options: nil)[0] as! Self
}
}
22 changes: 0 additions & 22 deletions SwiftyExtensions/UIViewController+UIStoryBoard.swift

This file was deleted.

0 comments on commit 8410e65

Please sign in to comment.