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

Commit

Permalink
Fixes access control
Browse files Browse the repository at this point in the history
- Remove screenshot references from podspec.
  • Loading branch information
danielinoa committed Apr 3, 2017
1 parent ecc0f6b commit 9b04ff3
Show file tree
Hide file tree
Showing 2 changed files with 3 additions and 3 deletions.
2 changes: 1 addition & 1 deletion DIImageView.podspec
Expand Up @@ -12,7 +12,7 @@ Pod::Spec.new do |s|
s.summary = 'A Snapchat-inspired caption integrated within a regular UIImageView'

s.homepage = 'https://github.com/danielinoa/DIImageView'
s.screenshots = 'https://github.com/danielinoa/DIImageView/blob/master/Screenshots/ss1.png', 'https://github.com/danielinoa/DIImageView/blob/master/Screenshots/ss2.png'
# s.screenshots = 'https://github.com/danielinoa/DIImageView/blob/master/Screenshots/ss1.png', 'https://github.com/danielinoa/DIImageView/blob/master/Screenshots/ss2.png'
s.license = { :type => 'MIT', :file => 'LICENSE' }
s.author = { 'danielinoa' => 'danielinoa@gmail.com' }
s.source = { :git => 'https://github.com/danielinoa/DIImageView.git', :tag => s.version.to_s }
Expand Down
4 changes: 2 additions & 2 deletions DIImageView/Classes/DIImageView.swift
Expand Up @@ -31,7 +31,7 @@ open class DIImageView: UIImageView, UITextFieldDelegate {
super.init(coder: aDecoder)
}

public override func awakeFromNib() {
open override func awakeFromNib() {
super.awakeFromNib()
configure()
}
Expand Down Expand Up @@ -64,7 +64,7 @@ open class DIImageView: UIImageView, UITextFieldDelegate {
}
}

public override func layoutSubviews() {
open override func layoutSubviews() {
super.layoutSubviews()
let captionSize = CGSize(width: bounds.size.width, height: 32)
caption.bounds = CGRect(origin: CGPoint.zero, size: captionSize)
Expand Down

0 comments on commit 9b04ff3

Please sign in to comment.