Skip to content
GitLab
Explore
Sign in
Primary navigation
Search or go to…
Project
E
enzevalos_iphone
Manage
Activity
Members
Labels
Plan
Issues
Issue boards
Milestones
Iterations
Wiki
Requirements
Code
Merge requests
Repository
Branches
Commits
Tags
Repository graph
Compare revisions
Locked files
Deploy
Releases
Model registry
Monitor
Incidents
Analyze
Value stream analytics
Contributor analytics
Repository analytics
Code review analytics
Issue analytics
Insights
Model experiments
Help
Help
Support
GitLab documentation
Compare GitLab plans
Community forum
Contribute to GitLab
Provide feedback
Keyboard shortcuts
?
Snippets
Groups
Projects
Show more breadcrumbs
enzevalos
enzevalos_iphone
Commits
90ddd166
Commit
90ddd166
authored
8 years ago
by
jakobsbode
Browse files
Options
Downloads
Patches
Plain Diff
added read segue
parent
9e43ece8
No related branches found
No related tags found
No related merge requests found
Changes
2
Hide whitespace changes
Inline
Side-by-side
Showing
2 changed files
enzevalos_iphone/Base.lproj/Main.storyboard
+11
-10
11 additions, 10 deletions
enzevalos_iphone/Base.lproj/Main.storyboard
enzevalos_iphone/FolderViewController.swift
+11
-0
11 additions, 0 deletions
enzevalos_iphone/FolderViewController.swift
with
22 additions
and
10 deletions
enzevalos_iphone/Base.lproj/Main.storyboard
+
11
−
10
View file @
90ddd166
...
...
@@ -617,11 +617,12 @@
<connections>
<segue
destination=
"X5Y-Rf-Qzd"
kind=
"show"
identifier=
"showInboxSegue"
id=
"Qjs-MH-bHU"
/>
<segue
destination=
"ybw-P8-hJp"
kind=
"show"
identifier=
"showFolderListSegue"
id=
"ShI-ar-nOg"
/>
<segue
destination=
"Ouw-WD-EV6"
kind=
"show"
identifier=
"readFolderMailSegue"
id=
"6Ug-AV-lba"
/>
</connections>
</tableViewController>
<placeholder
placeholderIdentifier=
"IBFirstResponder"
id=
"cjd-cY-a5S"
userLabel=
"First Responder"
sceneMemberID=
"firstResponder"
/>
</objects>
<point
key=
"canvasLocation"
x=
"6
45.60000000000002"
y=
"-949.47526236881572
"
/>
<point
key=
"canvasLocation"
x=
"6
55"
y=
"-949
"
/>
</scene>
<!--Folder List View Controller-->
<scene
sceneID=
"ZuS-nF-avs"
>
...
...
@@ -990,11 +991,11 @@
<rect
key=
"frame"
x=
"0.0"
y=
"252"
width=
"375"
height=
"44"
/>
<autoresizingMask
key=
"autoresizingMask"
/>
<tableViewCellContentView
key=
"contentView"
opaque=
"NO"
clipsSubviews=
"YES"
multipleTouchEnabled=
"YES"
contentMode=
"center"
tableViewCell=
"dM9-jb-EcN"
id=
"tvN-re-z1Z"
>
<rect
key=
"frame"
x=
"0.0"
y=
"0.0"
width=
"34
2
"
height=
"43.5"
/>
<rect
key=
"frame"
x=
"0.0"
y=
"0.0"
width=
"34
1
"
height=
"43.5"
/>
<autoresizingMask
key=
"autoresizingMask"
/>
<subviews>
<label
opaque=
"NO"
multipleTouchEnabled=
"YES"
contentMode=
"left"
text=
"Title"
textAlignment=
"natural"
lineBreakMode=
"tailTruncation"
baselineAdjustment=
"alignBaselines"
adjustsFontSizeToFit=
"NO"
id=
"VTZ-4w-fot"
>
<rect
key=
"frame"
x=
"1
5
"
y=
"0.0"
width=
"32
5
"
height=
"43.5"
/>
<rect
key=
"frame"
x=
"1
6
"
y=
"0.0"
width=
"32
4
"
height=
"43.5"
/>
<autoresizingMask
key=
"autoresizingMask"
/>
<fontDescription
key=
"fontDescription"
type=
"system"
pointSize=
"17"
/>
<nil
key=
"textColor"
/>
...
...
@@ -1101,7 +1102,7 @@
<autoresizingMask
key=
"autoresizingMask"
/>
<subviews>
<label
opaque=
"NO"
multipleTouchEnabled=
"YES"
contentMode=
"left"
text=
"Title"
textAlignment=
"natural"
lineBreakMode=
"tailTruncation"
baselineAdjustment=
"alignBaselines"
adjustsFontSizeToFit=
"NO"
id=
"Z5E-3a-5Ef"
>
<rect
key=
"frame"
x=
"1
5
"
y=
"12"
width=
"33.5"
height=
"20.5"
/>
<rect
key=
"frame"
x=
"1
6
"
y=
"12"
width=
"33.5"
height=
"20.5"
/>
<autoresizingMask
key=
"autoresizingMask"
/>
<fontDescription
key=
"fontDescription"
type=
"system"
pointSize=
"17"
/>
<nil
key=
"textColor"
/>
...
...
@@ -1125,7 +1126,7 @@
<autoresizingMask
key=
"autoresizingMask"
/>
<subviews>
<label
opaque=
"NO"
multipleTouchEnabled=
"YES"
contentMode=
"left"
text=
"Title"
textAlignment=
"natural"
lineBreakMode=
"tailTruncation"
baselineAdjustment=
"alignBaselines"
adjustsFontSizeToFit=
"NO"
id=
"xLe-fn-BGo"
>
<rect
key=
"frame"
x=
"1
5
"
y=
"12"
width=
"33.5"
height=
"20.5"
/>
<rect
key=
"frame"
x=
"1
6
"
y=
"12"
width=
"33.5"
height=
"20.5"
/>
<autoresizingMask
key=
"autoresizingMask"
/>
<fontDescription
key=
"fontDescription"
type=
"system"
pointSize=
"17"
/>
<nil
key=
"textColor"
/>
...
...
@@ -1149,7 +1150,7 @@
<autoresizingMask
key=
"autoresizingMask"
/>
<subviews>
<label
opaque=
"NO"
multipleTouchEnabled=
"YES"
contentMode=
"left"
text=
"Title"
textAlignment=
"natural"
lineBreakMode=
"tailTruncation"
baselineAdjustment=
"alignBaselines"
adjustsFontSizeToFit=
"NO"
id=
"SsF-tc-fh9"
>
<rect
key=
"frame"
x=
"1
5
"
y=
"12"
width=
"33.5"
height=
"20.5"
/>
<rect
key=
"frame"
x=
"1
6
"
y=
"12"
width=
"33.5"
height=
"20.5"
/>
<autoresizingMask
key=
"autoresizingMask"
/>
<fontDescription
key=
"fontDescription"
type=
"system"
pointSize=
"17"
/>
<nil
key=
"textColor"
/>
...
...
@@ -1173,7 +1174,7 @@
<autoresizingMask
key=
"autoresizingMask"
/>
<subviews>
<label
opaque=
"NO"
multipleTouchEnabled=
"YES"
contentMode=
"left"
text=
"Title"
textAlignment=
"natural"
lineBreakMode=
"tailTruncation"
baselineAdjustment=
"alignBaselines"
adjustsFontSizeToFit=
"NO"
id=
"xHD-7H-RVy"
>
<rect
key=
"frame"
x=
"1
5
"
y=
"12"
width=
"33.5"
height=
"20.5"
/>
<rect
key=
"frame"
x=
"1
6
"
y=
"12"
width=
"33.5"
height=
"20.5"
/>
<autoresizingMask
key=
"autoresizingMask"
/>
<fontDescription
key=
"fontDescription"
type=
"system"
pointSize=
"17"
/>
<nil
key=
"textColor"
/>
...
...
@@ -1577,10 +1578,10 @@
</scene>
</scenes>
<inferredMetricsTieBreakers>
<segue
reference=
"6Ug-AV-lba"
/>
<segue
reference=
"TgN-rB-esa"
/>
<segue
reference=
"kND-73-kqr"
/>
<segue
reference=
"bUY-Me-dje"
/>
<segue
reference=
"j4Q-k1-ud3"
/>
<segue
reference=
"1Uz-Iv-Fbe"
/>
<segue
reference=
"bUY-Me-dje"
/>
<segue
reference=
"kND-73-kqr"
/>
</inferredMetricsTieBreakers>
</document>
This diff is collapsed.
Click to expand it.
enzevalos_iphone/FolderViewController.swift
+
11
−
0
View file @
90ddd166
...
...
@@ -106,6 +106,9 @@ class FolderViewController: UITableViewController {
if
indexPath
.
section
==
0
{
performSegue
(
withIdentifier
:
"showInboxSegue"
,
sender
:
nil
)
}
else
if
indexPath
.
section
==
2
{
performSegue
(
withIdentifier
:
"readFolderMailSegue"
,
sender
:
DataHandler
.
handler
.
contacts
[
0
]
.
records
[
0
]
.
mails
[
0
])
}
else
{
if
indexPath
.
row
==
0
{
let
vc
=
storyboard
?
.
instantiateViewController
(
withIdentifier
:
"folderViewController"
)
as!
FolderViewController
...
...
@@ -117,6 +120,14 @@ class FolderViewController: UITableViewController {
}
}
}
override
func
prepare
(
for
segue
:
UIStoryboardSegue
,
sender
:
Any
?)
{
if
segue
.
identifier
==
"readFolderMailSegue"
{
let
destinationVC
=
segue
.
destination
as!
ReadViewController
if
let
mail
=
sender
as?
PersistentMail
{
destinationVC
.
mail
=
mail
}
}
}
func
refresh
()
{
self
.
refreshControl
?
.
endRefreshing
()
...
...
This diff is collapsed.
Click to expand it.
Preview
0%
Loading
Try again
or
attach a new file
.
Cancel
You are about to add
0
people
to the discussion. Proceed with caution.
Finish editing this message first!
Save comment
Cancel
Please
register
or
sign in
to comment