Skip to content
GitLab
Menu
Projects
Groups
Snippets
Loading...
Help
Help
Support
Community forum
Keyboard shortcuts
?
Submit feedback
Contribute to GitLab
Sign in
Toggle navigation
Menu
Open sidebar
SRCT
whats-open-ios
Commits
ada59202
Commit
ada59202
authored
Feb 09, 2017
by
Zach Knox
Browse files
header image now exists
It just gets stretched out way way way too much
parent
5064996c
Changes
6
Hide whitespace changes
Inline
Side-by-side
WhatsOpen/WhatsOpen/Assets.xcassets/AppIcon.appiconset/Contents.json
View file @
ada59202
{
"images"
:
[
{
"idiom"
:
"iphone"
,
"size"
:
"20x20"
,
"scale"
:
"2x"
},
{
"idiom"
:
"iphone"
,
"size"
:
"20x20"
,
"scale"
:
"3x"
},
{
"idiom"
:
"iphone"
,
"size"
:
"29x29"
,
...
...
WhatsOpen/WhatsOpen/Assets.xcassets/Contents.json
0 → 100644
View file @
ada59202
{
"info"
:
{
"version"
:
1
,
"author"
:
"xcode"
}
}
\ No newline at end of file
WhatsOpen/WhatsOpen/Assets.xcassets/Navigation Bar TitleView.imageset/Contents.json
0 → 100644
View file @
ada59202
{
"images"
:
[
{
"idiom"
:
"universal"
,
"filename"
:
"WhatsOpenHeader.pdf"
}
],
"info"
:
{
"version"
:
1
,
"author"
:
"xcode"
}
}
\ No newline at end of file
WhatsOpen/WhatsOpen/Assets.xcassets/Navigation Bar TitleView.imageset/WhatsOpenHeader.pdf
0 → 100644
View file @
ada59202
File added
WhatsOpen/WhatsOpen/Base.lproj/Main.storyboard
View file @
ada59202
...
...
@@ -23,7 +23,7 @@
<rect
key=
"frame"
x=
"0.0"
y=
"28"
width=
"375"
height=
"89"
/>
<autoresizingMask
key=
"autoresizingMask"
/>
<tableViewCellContentView
key=
"contentView"
opaque=
"NO"
clipsSubviews=
"YES"
multipleTouchEnabled=
"YES"
contentMode=
"center"
tableViewCell=
"hUU-na-lag"
id=
"Ctl-yf-TXC"
>
<rect
key=
"frame"
x=
"0.0"
y=
"0.0"
width=
"375"
height=
"8
8.5
"
/>
<rect
key=
"frame"
x=
"0.0"
y=
"0.0"
width=
"375"
height=
"8
9
"
/>
<autoresizingMask
key=
"autoresizingMask"
/>
<subviews>
<label
opaque=
"NO"
userInteractionEnabled=
"NO"
contentMode=
"left"
horizontalHuggingPriority=
"251"
verticalHuggingPriority=
"251"
text=
"CLOSED"
textAlignment=
"center"
lineBreakMode=
"tailTruncation"
baselineAdjustment=
"alignBaselines"
adjustsFontSizeToFit=
"NO"
translatesAutoresizingMaskIntoConstraints=
"NO"
id=
"096-jU-K7m"
>
...
...
@@ -88,6 +88,9 @@
</barButtonItem>
</navigationItem>
<simulatedStatusBarMetrics
key=
"simulatedStatusBarMetrics"
statusBarStyle=
"lightContent"
/>
<connections>
<outlet
property=
"mainNavigationBar"
destination=
"DJn-4Y-j3Y"
id=
"oia-mn-bB0"
/>
</connections>
</tableViewController>
<placeholder
placeholderIdentifier=
"IBFirstResponder"
id=
"d2o-5D-WNk"
userLabel=
"First Responder"
sceneMemberID=
"firstResponder"
/>
</objects>
...
...
@@ -99,7 +102,7 @@
<navigationController
automaticallyAdjustsScrollViewInsets=
"NO"
id=
"DGD-49-9Ue"
sceneMemberID=
"viewController"
>
<toolbarItems/>
<simulatedStatusBarMetrics
key=
"simulatedStatusBarMetrics"
statusBarStyle=
"lightContent"
/>
<navigationBar
key=
"navigationBar"
contentMode=
"scaleToFill"
misplaced=
"YES"
barStyle=
"black"
id=
"ulx-sh-XJ1"
>
<navigationBar
key=
"navigationBar"
contentMode=
"scaleToFill"
barStyle=
"black"
id=
"ulx-sh-XJ1"
>
<rect
key=
"frame"
x=
"0.0"
y=
"0.0"
width=
"375"
height=
"44"
/>
<autoresizingMask
key=
"autoresizingMask"
/>
<color
key=
"barTintColor"
red=
"0.039215686274509803"
green=
"0.396078431372549"
blue=
"0.20784313725490194"
alpha=
"1"
colorSpace=
"calibratedRGB"
/>
...
...
WhatsOpen/WhatsOpen/MainTableViewController.swift
View file @
ada59202
...
...
@@ -12,6 +12,12 @@ class MainTableViewController: UITableViewController {
var
facilitiesArray
=
Array
<
Facility
>
()
@IBOutlet
var
mainNavigationBar
:
UINavigationItem
!
override
func
viewWillAppear
(
_
animated
:
Bool
)
{
mainNavigationBar
.
titleView
=
UIImageView
(
image
:
UIImage
(
named
:
"Navigation Bar TitleView"
))
}
override
func
viewDidLoad
()
{
super
.
viewDidLoad
()
...
...
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