Skip to content
This repository was archived by the owner on Jan 5, 2023. It is now read-only.

Commit 9b04ff3

Browse files
committed
Fixes access control
- Remove screenshot references from podspec.
1 parent ecc0f6b commit 9b04ff3

File tree

2 files changed

+3
-3
lines changed

2 files changed

+3
-3
lines changed

DIImageView.podspec

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -12,7 +12,7 @@ Pod::Spec.new do |s|
1212
s.summary = 'A Snapchat-inspired caption integrated within a regular UIImageView'
1313

1414
s.homepage = 'https://github.com/danielinoa/DIImageView'
15-
s.screenshots = 'https://github.com/danielinoa/DIImageView/blob/master/Screenshots/ss1.png', 'https://github.com/danielinoa/DIImageView/blob/master/Screenshots/ss2.png'
15+
# s.screenshots = 'https://github.com/danielinoa/DIImageView/blob/master/Screenshots/ss1.png', 'https://github.com/danielinoa/DIImageView/blob/master/Screenshots/ss2.png'
1616
s.license = { :type => 'MIT', :file => 'LICENSE' }
1717
s.author = { 'danielinoa' => '[email protected]' }
1818
s.source = { :git => 'https://github.com/danielinoa/DIImageView.git', :tag => s.version.to_s }

DIImageView/Classes/DIImageView.swift

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -31,7 +31,7 @@ open class DIImageView: UIImageView, UITextFieldDelegate {
3131
super.init(coder: aDecoder)
3232
}
3333

34-
public override func awakeFromNib() {
34+
open override func awakeFromNib() {
3535
super.awakeFromNib()
3636
configure()
3737
}
@@ -64,7 +64,7 @@ open class DIImageView: UIImageView, UITextFieldDelegate {
6464
}
6565
}
6666

67-
public override func layoutSubviews() {
67+
open override func layoutSubviews() {
6868
super.layoutSubviews()
6969
let captionSize = CGSize(width: bounds.size.width, height: 32)
7070
caption.bounds = CGRect(origin: CGPoint.zero, size: captionSize)

0 commit comments

Comments
 (0)