Skip to content
This repository has been archived by the owner on Dec 15, 2022. It is now read-only.

Complete placeholder font & icon active color #119

Closed
wants to merge 11 commits into from

Conversation

AgapovOne
Copy link
Contributor

Completes #91, #103, #110
Updated readme style, style in example project.
Checked on iOS 12 XS.
Ran tests (did not find snapshot references)

Copy link
Contributor

@victorBaro victorBaro left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Please remove setter before merging.

Nice PR, thank you.

@@ -70,6 +70,11 @@ extension AnimatedTextView: TextInput {
set { self.autocorrectionType = newValue }
}

public var rightView: UIView? {
get { return nil }
set { }
Copy link
Contributor

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Remove setter

Copy link
Contributor Author

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

UITextField public interface requires setter.
Yes, this code is unused in text view, but it's needed for AnimatedTextField

@@ -78,6 +78,7 @@ struct CustomTextInputStyle: AnimatedTextInputStyle {
let lineHeight: CGFloat = 3
let errorColor = UIColor.red
let textInputFont = UIFont.systemFont(ofSize: 14)
let placeHolderFont = UIFont.systemFont(ofSize: 14)
Copy link
Contributor

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Just curious.. Have you tried that the component is working when placeHolderFont.pointSize > textInputFont.pointSize ?

Copy link
Contributor Author

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

It will work, but basically you want input font & placeholder font to be the same.

... Now I start thinking if we ever need to set placeholderFont to anything other than textInputFont.

…Input into jobandtalent-master

# Conflicts:
#	AnimatedTextInput/Classes/AnimatedTextInput.swift
#	AnimatedTextInput/Classes/AnimatedTextView.swift
@AgapovOne
Copy link
Contributor Author

@victorBaro Nothing else to change, please acccept

@AgapovOne AgapovOne closed this Mar 16, 2022
Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.
Labels
None yet
Development

Successfully merging this pull request may close these issues.

5 participants