Skip to content
Projects
Groups
Snippets
Help
This project
Loading...
Sign in / Register
Toggle navigation
K
kt-ios
Overview
Overview
Details
Activity
Cycle Analytics
Repository
Repository
Files
Commits
Branches
Tags
Contributors
Graph
Compare
Charts
Issues
0
Issues
0
List
Board
Labels
Milestones
Merge Requests
0
Merge Requests
0
CI / CD
CI / CD
Pipelines
Jobs
Schedules
Charts
Registry
Wiki
Wiki
Snippets
Snippets
Members
Members
Collapse sidebar
Close sidebar
Activity
Graph
Charts
Create a new issue
Jobs
Commits
Issue Boards
Open sidebar
Виктор
kt-ios
Commits
a85227d2
Commit
a85227d2
authored
Nov 17, 2017
by
Olzhas Aldabergenov
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
rate app cell added on homepage:
parent
1e8a7608
Expand all
Hide whitespace changes
Inline
Side-by-side
Showing
8 changed files
with
58 additions
and
2 deletions
+58
-2
project.pbxproj
kt.xcodeproj/project.pbxproj
+4
-0
UserInterfaceState.xcuserstate
...cuserdata/neox.xcuserdatad/UserInterfaceState.xcuserstate
+0
-0
Main.storyboard
kt/Resources/Base.lproj/Main.storyboard
+0
-0
Localization.strings
kt/Resources/en.lproj/Localization.strings
+4
-0
Localization.strings
kt/Resources/kk.lproj/Localization.strings
+4
-0
Localization.strings
kt/Resources/ru.lproj/Localization.strings
+4
-0
FeedViewController.swift
kt/ViewControllers/Cabinet/FeedViewController.swift
+7
-2
FeedFeedbackCell.swift
kt/Views/FeedFeedbackCell.swift
+35
-0
No files found.
kt.xcodeproj/project.pbxproj
View file @
a85227d2
...
...
@@ -88,6 +88,7 @@
3E2C3E8E1EFA482D00E553CD
/* GetCodeViewController.swift in Sources */
=
{
isa
=
PBXBuildFile
;
fileRef
=
3E2C3E8D1EFA482D00E553CD
/* GetCodeViewController.swift */
;
};
3E2C3E9B1EFCB17E00E553CD
/* Validator.swift in Sources */
=
{
isa
=
PBXBuildFile
;
fileRef
=
3E2C3E9A1EFCB17E00E553CD
/* Validator.swift */
;
};
3E2E1E821F84DB0100DC0FE5
/* LKSettingsViewController.swift in Sources */
=
{
isa
=
PBXBuildFile
;
fileRef
=
3E2E1E811F84DB0100DC0FE5
/* LKSettingsViewController.swift */
;
};
3E323D501FBEF916009C3DA8
/* FeedFeedbackCell.swift in Sources */
=
{
isa
=
PBXBuildFile
;
fileRef
=
3E323D4F1FBEF916009C3DA8
/* FeedFeedbackCell.swift */
;
};
3E5CC7A51FA83F7400B55DF0
/* BotManager.swift in Sources */
=
{
isa
=
PBXBuildFile
;
fileRef
=
3E5CC7A41FA83F7400B55DF0
/* BotManager.swift */
;
};
3E5CC7AE1FA84F9F00B55DF0
/* DateUtil.swift in Sources */
=
{
isa
=
PBXBuildFile
;
fileRef
=
3E5CC7AD1FA84F9F00B55DF0
/* DateUtil.swift */
;
};
3E6969B31FA2097200032D95
/* ServiceDetailsViewController.swift in Sources */
=
{
isa
=
PBXBuildFile
;
fileRef
=
3E6969B21FA2097200032D95
/* ServiceDetailsViewController.swift */
;
};
...
...
@@ -642,6 +643,7 @@
3E2C3E8D1EFA482D00E553CD
/* GetCodeViewController.swift */
=
{
isa
=
PBXFileReference
;
fileEncoding
=
4
;
lastKnownFileType
=
sourcecode.swift
;
path
=
GetCodeViewController.swift
;
sourceTree
=
"<group>"
;
};
3E2C3E9A1EFCB17E00E553CD
/* Validator.swift */
=
{
isa
=
PBXFileReference
;
fileEncoding
=
4
;
lastKnownFileType
=
sourcecode.swift
;
path
=
Validator.swift
;
sourceTree
=
"<group>"
;
};
3E2E1E811F84DB0100DC0FE5
/* LKSettingsViewController.swift */
=
{
isa
=
PBXFileReference
;
fileEncoding
=
4
;
lastKnownFileType
=
sourcecode.swift
;
path
=
LKSettingsViewController.swift
;
sourceTree
=
"<group>"
;
};
3E323D4F1FBEF916009C3DA8
/* FeedFeedbackCell.swift */
=
{
isa
=
PBXFileReference
;
fileEncoding
=
4
;
lastKnownFileType
=
sourcecode.swift
;
path
=
FeedFeedbackCell.swift
;
sourceTree
=
"<group>"
;
};
3E5CC7A41FA83F7400B55DF0
/* BotManager.swift */
=
{
isa
=
PBXFileReference
;
fileEncoding
=
4
;
lastKnownFileType
=
sourcecode.swift
;
path
=
BotManager.swift
;
sourceTree
=
"<group>"
;
};
3E5CC7AD1FA84F9F00B55DF0
/* DateUtil.swift */
=
{
isa
=
PBXFileReference
;
fileEncoding
=
4
;
lastKnownFileType
=
sourcecode.swift
;
path
=
DateUtil.swift
;
sourceTree
=
"<group>"
;
};
3E6969B21FA2097200032D95
/* ServiceDetailsViewController.swift */
=
{
isa
=
PBXFileReference
;
fileEncoding
=
4
;
lastKnownFileType
=
sourcecode.swift
;
path
=
ServiceDetailsViewController.swift
;
sourceTree
=
"<group>"
;
};
...
...
@@ -1348,6 +1350,7 @@
3E197E5A1F4413A7000BC88D
/* FeedPackagesCell.swift */
,
3E197E5C1F4413B9000BC88D
/* FeedBotCell.swift */
,
3E197E641F4563BB000BC88D
/* FeedCollectionViewCell.swift */
,
3E323D4F1FBEF916009C3DA8
/* FeedFeedbackCell.swift */
,
);
name
=
main
;
sourceTree
=
"<group>"
;
...
...
@@ -2803,6 +2806,7 @@
981DB0171DDE2527002E69C0
/* ClaimTableCell.swift in Sources */
,
98E3F8781CFA21B700112FB7
/* Response.swift in Sources */
,
983003211C63619A0076151B
/* UIView+CornerRadius.swift in Sources */
,
3E323D501FBEF916009C3DA8
/* FeedFeedbackCell.swift in Sources */
,
98A335651CFB228000F1A76C
/* OfferFormViewController.swift in Sources */
,
842978561E157D50002C5971
/* IDTVPlan.swift in Sources */
,
9855D1A71D10138800168EC3
/* UserManager.swift in Sources */
,
...
...
kt.xcworkspace/xcuserdata/neox.xcuserdatad/UserInterfaceState.xcuserstate
View file @
a85227d2
No preview for this file type
kt/Resources/Base.lproj/Main.storyboard
View file @
a85227d2
This diff is collapsed.
Click to expand it.
kt/Resources/en.lproj/Localization.strings
View file @
a85227d2
...
...
@@ -699,3 +699,7 @@
"service_vip_total_selected" = "Выбрано:";
"service_vip_total_text" = "К оплате ежемесячно";
"tenge" = "тенге";
"feed_rate_cell_title" = "Нам важно Ваше мнение";
"feed_rate_cell_description" = "5 звезд помогут улучшить нам приложение. Мы будем благодарны услышать Ваш отзыв!";
"feed_rate_cell_button" = "Оценить";
kt/Resources/kk.lproj/Localization.strings
View file @
a85227d2
...
...
@@ -698,3 +698,7 @@
"service_vip_total_selected" = "Выбрано:";
"service_vip_total_text" = "К оплате ежемесячно";
"tenge" = "тенге";
"feed_rate_cell_title" = "Нам важно Ваше мнение";
"feed_rate_cell_description" = "5 звезд помогут улучшить нам приложение. Мы будем благодарны услышать Ваш отзыв!";
"feed_rate_cell_button" = "Оценить";
kt/Resources/ru.lproj/Localization.strings
View file @
a85227d2
...
...
@@ -701,3 +701,7 @@
"service_vip_total_selected" = "Выбрано:";
"service_vip_total_text" = "К оплате ежемесячно";
"tenge" = "тенге";
"feed_rate_cell_title" = "Нам важно Ваше мнение";
"feed_rate_cell_description" = "5 звезд помогут улучшить нам приложение. Мы будем благодарны услышать Ваш отзыв!";
"feed_rate_cell_button" = "Оценить";
kt/ViewControllers/Cabinet/FeedViewController.swift
View file @
a85227d2
...
...
@@ -56,7 +56,7 @@ class FeedViewController: ViewControllerWithMenu {
}
func
tableView
(
tableView
:
UITableView
,
numberOfRowsInSection
section
:
Int
)
->
Int
{
return
3
return
4
}
func
tableView
(
tableView
:
UITableView
,
cellForRowAtIndexPath
indexPath
:
NSIndexPath
)
->
UITableViewCell
{
...
...
@@ -70,11 +70,16 @@ class FeedViewController: ViewControllerWithMenu {
cell
.
navController
=
self
.
navigationController
cell
.
selectionStyle
=
UITableViewCellSelectionStyle
.
None
return
cell
}
else
{
}
else
if
indexPath
.
row
==
2
{
let
cell
=
tableView
.
dequeueReusableCellWithIdentifier
(
"FeedBotCell"
,
forIndexPath
:
indexPath
)
as!
FeedBotCell
cell
.
navController
=
self
.
navigationController
cell
.
selectionStyle
=
UITableViewCellSelectionStyle
.
None
return
cell
}
else
{
let
cell
=
tableView
.
dequeueReusableCellWithIdentifier
(
"FeedFeedbackCell"
,
forIndexPath
:
indexPath
)
as!
FeedFeedbackCell
cell
.
navController
=
self
.
navigationController
cell
.
selectionStyle
=
UITableViewCellSelectionStyle
.
None
return
cell
}
}
...
...
kt/Views/FeedFeedbackCell.swift
0 → 100644
View file @
a85227d2
//
// FeedFeedbackCell.swift
// kt
//
// Created by neox on 17.11.17.
// Copyright © 2017 SimpleCode. All rights reserved.
//
import
Foundation
class
FeedFeedbackCell
:
UITableViewCell
{
var
navController
:
UINavigationController
?
@IBOutlet
weak
var
labelTitle
:
UILabel
!
@IBOutlet
weak
var
labelDescription
:
UILabel
!
@IBOutlet
weak
var
buttonRate
:
UIButtionRoundedMain
!
override
func
awakeFromNib
()
{
super
.
awakeFromNib
()
labelTitle
.
text
=
LS
(
"feed_rate_cell_title"
)
labelDescription
.
text
=
LS
(
"feed_rate_cell_description"
)
buttonRate
.
setTitle
(
LS
(
"feed_rate_cell_button"
),
forState
:
.
Normal
)
buttonRate
.
addTarget
(
self
,
action
:
#selector(
openLink(_:)
)
,
forControlEvents
:
.
TouchUpInside
)
}
func
openLink
(
sender
:
UIButton
)
{
UIApplication
.
sharedApplication
()
.
openURL
(
NSURL
(
string
:
"http://telecom.kz"
)
!
)
}
}
Write
Preview
Markdown
is supported
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