Questions tagged [skyfloatinglabeltextfield]

11 questions
2
votes
2 answers

How to get the content of floating title in SkyFloatingLabelTextField using XCUITest?

In my XCUITests I need to check content of floating title label in SkyFloatingLabelTextField after validation error. I've set accessibilityIdentifier for SkyFloatingLabelTextField element, so I can tap and enter text into it without any issue, but…
1
vote
2 answers

SkyFloatingLabelTextField auto move label up on focus

I am a newbie to this! I am using Swift 4 and I have configured the plugin called SkyFloatLabelTextField. I was wondering if someone else has solved how to auto move the label up if the cursor is on focus? I want the label to move up the moment you…
Cam
  • 137
  • 1
  • 2
  • 10
1
vote
3 answers

Vertically align UIImageView added as rightView of textfield with the text of skyfloatinglabeltextfield

I have added a checkmarkImageView as rightview of a skyfloatinglabeltextfield as follows: let checkmark = UIImage(named: "checkmark") checkmarkImageView = UIImageView(image: checkmark) checkmarkImageView?.frame = CGRect(x: 0.0, y: 0.0, width: 20.0,…
sandpat
  • 1,478
  • 12
  • 30
1
vote
2 answers

How to validate textField in swift using SkyFloatingLabelTextField

I am using SkyFloatingLabeltextField for textfield. I want to check all the textfields are valid then I want to call next viewController.So please tell me how to check func textField(_ textField: UITextField, shouldChangeCharactersIn range:…
Vikas
  • 1,548
  • 2
  • 12
  • 25
1
vote
2 answers

textfield on touch not working

I am trying to set ontouch listener on UITextField but it not working at all here is my code: class SettingsVC: BaseVC { @IBOutlet weak var languageField: SkyFloatingLabelTextField! @IBOutlet weak var btnburgerMenu: UIButton! @IBOutlet…
pmb
  • 2,327
  • 3
  • 30
  • 47
1
vote
2 answers

IQKeyboardManager with CustomTextField (SkyFloatingLabelTextField) using Swift 3

I am using the SkyFloatingLabelTextField which is a custom UITextField. After Adding the IQKeyboardManager into my Podfile (pod install), it was expected that it will automatically handle the keyboard issue. Any clue to integrate IQKeyboardManager…
0
votes
2 answers

How to disable the copy paste functionality in SkyFloatingLabelTextField in swift?

I am using the SkyFloatingLabelTextField class for UITextfield,How can I disable the Copy and paste functionality on this textfiled.
0
votes
1 answer

How to vertically and horizontally align text in SkyFloatingLabelTextField?

I have use SkyFloatingLabelTextField and I want to vertically and horizontally center align text. I have to write code but it aligns text only horizontally not vertically. what I have tried is var rightButton = UIButton(frame: CGRect(x: 0,…
Pinal
  • 23
  • 6
0
votes
0 answers

Is there anything like IQKeyboardManagerSwift to move UITextView up in Swift iOS?

I have implemented IQKeyboardManagerSwift to float UITextField, but for UITextView I am not sure how to do this. Is there any pod available for UITextView in Swift iOS? I am looking for textview should not hide behind keyboard and textview should…
New iOS Dev
  • 1,937
  • 7
  • 33
  • 67
0
votes
2 answers

Swift: check user input count to proceed

I have a field that takes a verification code sent through SMS. The code sent to all users is 4 digit numeric code. I want the user to type the code, and upon entering the 4th digit, the code is checked automatically (no button click required) and…
ksjg
  • 5
  • 3
-1
votes
1 answer

How to preload text value into SkyFloatingLabelTextField

I am currently using SkyFloatingLabelTextField and have the following code. var textFieldLastNameSignUp: SkyFloatingLabelTextField! textFieldLastNameSignUp.placeholder = "Family Name" textFieldLastNameSignUp.title = "Last Name" Based on this it…