Skip to content

Commit

Permalink
Fix pod lint issues and code formatting.
Browse files Browse the repository at this point in the history
  • Loading branch information
AyushSinghi committed May 9, 2021
1 parent 88a69e3 commit 1a7994a
Show file tree
Hide file tree
Showing 2 changed files with 4 additions and 13 deletions.
15 changes: 3 additions & 12 deletions EyePasswordTextField.podspec
Original file line number Diff line number Diff line change
@@ -1,28 +1,19 @@
Pod::Spec.new do |s|
s.name = 'EyePasswordTextField'
s.version = '0.1.0'
s.summary = 'A short description of EyePasswordTextField.'

# This description is used to generate tags and improve search results.
# * Think: What does it do? Why did you write it? What is the focus?
# * Try to keep it short, snappy and to the point.
# * Write the description between the DESC delimiters below.
# * Finally, don't worry about the indent, CocoaPods strips it!

s.description = <<-DESC
TODO: Add long description of the pod here.
DESC

s.summary = 'A custom password field SDK for iOS, completely written in Swift'
s.homepage = 'https://github.com/ayusinghi96/EyePasswordTextField'

s.license = { :type => 'MIT', :file => 'LICENSE' }
s.author = { 'Ayush Singhi' => 'ayusinghi96@gmail.com' }
s.source = { :git => 'https://github.com/ayusinghi96/EyePasswordTextField.git', :tag => s.version.to_s }

s.platforms = { :ios => '11.0' }
s.swift_version = '5.0'
s.ios.deployment_target = '11.0'

s.source_files = 'EyePasswordTextField/Classes'
s.resources = 'EyePasswordTextField/*.xcassets'

s.frameworks = 'UIKit'
end
2 changes: 1 addition & 1 deletion EyePasswordTextField/Classes/PasswordEyeButton.swift
Original file line number Diff line number Diff line change
Expand Up @@ -26,7 +26,7 @@ public class PasswordEyeButton: UIButton
/// Icon for this state.
fileprivate var icon: UIImage?
{
/// This bundle
/// This bundle.
let bundle = Bundle.init(for: PasswordEyeButton.self)
let iconName: String = {
switch self
Expand Down

0 comments on commit 1a7994a

Please sign in to comment.