Skip to content
GitLab
Menu
Projects
Groups
Snippets
/
Help
Help
Support
Community forum
Keyboard shortcuts
?
Submit feedback
Contribute to GitLab
Sign in
Toggle navigation
Menu
Open sidebar
App16
iOS
Commits
a2270e24
Commit
a2270e24
authored
Mar 25, 2020
by
Grigor Aghabalyan
⚽
Browse files
Fix: login view textFiled placholder
parent
e63c59ef
Changes
1
Hide whitespace changes
Inline
Side-by-side
App16/Views/Login/LoginViewController.swift
View file @
a2270e24
...
...
@@ -15,11 +15,16 @@ class LoginViewController: UIViewController {
@IBOutlet
weak
var
middleNameTextField
:
UITextField
!
@IBOutlet
weak
var
nextButton
:
UIButton
!
// MARK: - LifeCycle
override
func
viewDidLoad
()
{
super
.
viewDidLoad
()
firstNameTextField
.
attributedPlaceholder
=
NSAttributedString
(
string
:
"Անուն"
,
attributes
:
[
NSAttributedString
.
Key
.
foregroundColor
:
UIColor
.
black
.
withAlphaComponent
(
0.2
)])
lastNameTextFiled
.
attributedPlaceholder
=
NSAttributedString
(
string
:
"Ազգանուն"
,
attributes
:
[
NSAttributedString
.
Key
.
foregroundColor
:
UIColor
.
black
.
withAlphaComponent
(
0.2
)])
middleNameTextField
.
attributedPlaceholder
=
NSAttributedString
(
string
:
"Հայրանուն"
,
attributes
:
[
NSAttributedString
.
Key
.
foregroundColor
:
UIColor
.
black
.
withAlphaComponent
(
0.2
)])
}
// MARK: - Navigation
...
...
Write
Preview
Supports
Markdown
0%
Try again
or
attach a new file
.
Attach a file
Cancel
You are about to add
0
people
to the discussion. Proceed with caution.
Finish editing this message first!
Cancel
Please
register
or
sign in
to comment