Skip to content

Commit 30bcb6d

Browse files
committed
made some methods and classes public
1 parent 4be2a86 commit 30bcb6d

File tree

2 files changed

+4
-4
lines changed

2 files changed

+4
-4
lines changed

UIKitExtensions.podspec

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -8,7 +8,7 @@
88

99
Pod::Spec.new do |s|
1010
s.name = 'UIKitExtensions'
11-
s.version = '0.2.2'
11+
s.version = '0.2.3'
1212
s.summary = 'UIKitExtensions adds usefull features to UIKit classes.'
1313

1414
# This description is used to generate tags and improve search results.

UIKitExtensions/OwnView.swift

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -10,11 +10,11 @@ import Foundation
1010
import SnapKit
1111
import UIKit
1212

13-
protocol OwnViewProtocol {
13+
public protocol OwnViewProtocol {
1414
var viewName: String { get }
1515
}
1616

17-
class OwnView: UIView {
17+
public class OwnView: UIView {
1818
var contentView: UIView!
1919

2020
override init(frame: CGRect) {
@@ -27,7 +27,7 @@ class OwnView: UIView {
2727
self.loadView()
2828
}
2929

30-
func loadView() {
30+
public func loadView() {
3131
if let conformingProtocolView = self as? OwnViewProtocol {
3232
self.contentView = Bundle.main.loadNibNamed(
3333
conformingProtocolView.viewName,

0 commit comments

Comments
 (0)