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
507e4386
Commit
507e4386
authored
Mar 29, 2020
by
Grigor Aghabalyan
⚽
Browse files
Fix: dark mode issues
parent
6ea42f8c
Changes
3
Expand all
Hide whitespace changes
Inline
Side-by-side
App16.xcodeproj/project.pbxproj
View file @
507e4386
...
...
@@ -758,7 +758,7 @@
buildSettings
=
{
ASSETCATALOG_COMPILER_APPICON_NAME
=
AppIcon
;
CODE_SIGN_STYLE
=
Automatic
;
CURRENT_PROJECT_VERSION
=
1
2
;
CURRENT_PROJECT_VERSION
=
1
4
;
DEVELOPMENT_TEAM
=
JY829SQQAV
;
INFOPLIST_FILE
=
App16/Info.plist
;
IPHONEOS_DEPLOYMENT_TARGET
=
12.0
;
...
...
@@ -770,7 +770,7 @@
PRODUCT_BUNDLE_IDENTIFIER
=
"am.x-tech.App16"
;
PRODUCT_NAME
=
"$(TARGET_NAME)"
;
SWIFT_VERSION
=
5.0
;
TARGETED_DEVICE_FAMILY
=
1
;
TARGETED_DEVICE_FAMILY
=
"1,2"
;
};
name
=
Debug
;
};
...
...
@@ -780,7 +780,7 @@
buildSettings
=
{
ASSETCATALOG_COMPILER_APPICON_NAME
=
AppIcon
;
CODE_SIGN_STYLE
=
Automatic
;
CURRENT_PROJECT_VERSION
=
1
2
;
CURRENT_PROJECT_VERSION
=
1
4
;
DEVELOPMENT_TEAM
=
JY829SQQAV
;
INFOPLIST_FILE
=
App16/Info.plist
;
IPHONEOS_DEPLOYMENT_TARGET
=
12.0
;
...
...
@@ -792,7 +792,7 @@
PRODUCT_BUNDLE_IDENTIFIER
=
"am.x-tech.App16"
;
PRODUCT_NAME
=
"$(TARGET_NAME)"
;
SWIFT_VERSION
=
5.0
;
TARGETED_DEVICE_FAMILY
=
1
;
TARGETED_DEVICE_FAMILY
=
"1,2"
;
};
name
=
Release
;
};
...
...
App16/Views/Form/Single/SingleFormViewController.swift
View file @
507e4386
...
...
@@ -11,24 +11,19 @@ import UIKit
class
SingleFormViewController
:
UIViewController
{
// MARK: - IBOutlets
@IBOutlet
weak
var
fistNameTextLabel
:
UILabel
!
@IBOutlet
weak
var
lastNameTextLabel
:
UILabel
!
@IBOutlet
weak
var
meddleNameTextLabel
:
UILabel
!
@IBOutlet
weak
var
outDateTimeTextLabel
:
UILabel
!
@IBOutlet
weak
var
outAddressTextLabel
:
UILabel
!
@IBOutlet
weak
var
destinationAddressTextLabel
:
UILabel
!
@IBOutlet
weak
var
planneDateTimeTextLabel
:
UILabel
!
@IBOutlet
weak
var
destinationTypeTextLabel
:
UILabel
!
@IBOutlet
weak
var
fistNameLabel
:
UILabel
!
@IBOutlet
weak
var
lastNameLabel
:
UILabel
!
@IBOutlet
weak
var
meddleNameLabel
:
UILabel
!
@IBOutlet
weak
var
outDateTimeLabel
:
UILabel
!
@IBOutlet
weak
var
outAddressLabel
:
UILabel
!
@IBOutlet
weak
var
destinationAddressLabel
:
UILabel
!
@IBOutlet
weak
var
planneDateTimeLabel
:
UILabel
!
@IBOutlet
weak
var
destinationTypeLabel
:
UILabel
!
@IBOutlet
weak
var
nameLabel
:
UILabel
!
@IBOutlet
weak
var
curentDateLabel
:
UILabel
!
@IBOutlet
weak
var
activityIndicator
:
UIActivityIndicatorView
!
...
...
@@ -50,9 +45,6 @@ class SingleFormViewController: UIViewController {
private
func
setUI
()
{
self
.
title
=
"FORM"
.
localized
()
fistNameLabel
.
text
=
"FIRST_NAME"
.
localized
()
lastNameLabel
.
text
=
"LAST_NAME"
.
localized
()
meddleNameLabel
.
text
=
"MEDDLE_NAME"
.
localized
()
outDateTimeTextLabel
.
text
=
"OUT_ADDRESS"
.
localized
()
outAddressTextLabel
.
text
=
"OUT_DATETIME"
.
localized
()
...
...
@@ -63,9 +55,13 @@ class SingleFormViewController: UIViewController {
private
func
setData
(
response
:
FormResponse
?)
{
fistNameLabel
.
text
=
response
?
.
firstName
lastNameLabel
.
text
=
response
?
.
lastName
meddleNameLabel
.
text
=
response
?
.
middleName
if
let
firstName
=
response
?
.
firstName
,
let
lastName
=
response
?
.
lastName
,
let
middleName
=
response
?
.
middleName
{
nameLabel
.
text
=
"
\(
firstName
)
\(
lastName
)
\(
middleName
)
"
}
else
{
nameLabel
.
text
=
nil
}
outDateTimeLabel
.
text
=
response
?
.
outDatetime
outAddressLabel
.
text
=
response
?
.
outAddress
...
...
App16/Views/Form/Single/SingleFormViewController.xib
View file @
507e4386
This diff is collapsed.
Click to expand it.
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