Skip to content

Commit 662da71

Browse files
committed
Add proper tab bar icons, add 1x/2x launch screen pngs
1 parent ae9bea3 commit 662da71

File tree

26 files changed

+199
-36
lines changed

26 files changed

+199
-36
lines changed

assets/tab bar icons/apple.svg

Lines changed: 14 additions & 0 deletions
Loading

assets/tab bar icons/google.svg

Lines changed: 20 additions & 0 deletions
Loading

assets/tab bar icons/mapbox.svg

Lines changed: 81 additions & 0 deletions
Loading

treble/Base.lproj/LaunchScreen.xib

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -1,5 +1,5 @@
11
<?xml version="1.0" encoding="UTF-8" standalone="no"?>
2-
<document type="com.apple.InterfaceBuilder3.CocoaTouch.XIB" version="3.0" toolsVersion="7702" systemVersion="14E11f" targetRuntime="iOS.CocoaTouch" propertyAccessControl="none" useAutolayout="YES" launchScreen="YES" useTraitCollections="YES">
2+
<document type="com.apple.InterfaceBuilder3.CocoaTouch.XIB" version="3.0" toolsVersion="7702" systemVersion="14E17e" targetRuntime="iOS.CocoaTouch" propertyAccessControl="none" useAutolayout="YES" launchScreen="YES" useTraitCollections="YES">
33
<dependencies>
44
<deployment identifier="iOS"/>
55
<plugIn identifier="com.apple.InterfaceBuilder.IBCocoaTouchPlugin" version="7701"/>
@@ -11,7 +11,7 @@
1111
<rect key="frame" x="0.0" y="0.0" width="480" height="480"/>
1212
<autoresizingMask key="autoresizingMask" widthSizable="YES" heightSizable="YES"/>
1313
<subviews>
14-
<imageView userInteractionEnabled="NO" contentMode="scaleAspectFit" horizontalHuggingPriority="251" verticalHuggingPriority="251" image="Mapbox-Graphic" translatesAutoresizingMaskIntoConstraints="NO" id="DM9-nt-D5T">
14+
<imageView userInteractionEnabled="NO" contentMode="scaleAspectFit" horizontalHuggingPriority="251" verticalHuggingPriority="251" image="Mapbox (Launch Screen)" translatesAutoresizingMaskIntoConstraints="NO" id="DM9-nt-D5T">
1515
<rect key="frame" x="120" y="64" width="240" height="351"/>
1616
<constraints>
1717
<constraint firstAttribute="width" constant="240" id="YvS-Ve-gtf"/>
@@ -30,6 +30,6 @@
3030
</view>
3131
</objects>
3232
<resources>
33-
<image name="Mapbox-Graphic" width="400" height="418"/>
33+
<image name="Mapbox (Launch Screen)" width="400" height="418"/>
3434
</resources>
3535
</document>

treble/Base.lproj/Main.storyboard

Lines changed: 7 additions & 6 deletions
Original file line numberDiff line numberDiff line change
@@ -1,5 +1,5 @@
11
<?xml version="1.0" encoding="UTF-8" standalone="no"?>
2-
<document type="com.apple.InterfaceBuilder3.CocoaTouch.Storyboard.XIB" version="3.0" toolsVersion="7702" systemVersion="14D131" targetRuntime="iOS.CocoaTouch" propertyAccessControl="none" useAutolayout="YES" useTraitCollections="YES" initialViewController="49e-Tb-3d3">
2+
<document type="com.apple.InterfaceBuilder3.CocoaTouch.Storyboard.XIB" version="3.0" toolsVersion="7702" systemVersion="14E17e" targetRuntime="iOS.CocoaTouch" propertyAccessControl="none" useAutolayout="YES" useTraitCollections="YES" initialViewController="49e-Tb-3d3">
33
<dependencies>
44
<deployment identifier="iOS"/>
55
<plugIn identifier="com.apple.InterfaceBuilder.IBCocoaTouchPlugin" version="7701"/>
@@ -24,7 +24,7 @@
2424
<outlet property="delegate" destination="9pv-A4-QxB" id="Q4C-Aw-zH8"/>
2525
</connections>
2626
</view>
27-
<tabBarItem key="tabBarItem" title="Mapbox" image="second" id="acW-dT-cKf"/>
27+
<tabBarItem key="tabBarItem" title="Mapbox" image="Mapbox (Tab Bar)" id="acW-dT-cKf"/>
2828
<connections>
2929
<outlet property="mapView" destination="tsR-hK-woN" id="dea-9n-OXY"/>
3030
</connections>
@@ -41,7 +41,7 @@
4141
<rect key="frame" x="0.0" y="0.0" width="600" height="600"/>
4242
<autoresizingMask key="autoresizingMask" flexibleMaxX="YES" flexibleMaxY="YES"/>
4343
</mapView>
44-
<tabBarItem key="tabBarItem" title="Apple" image="first" id="cPa-gy-q4n"/>
44+
<tabBarItem key="tabBarItem" title="Apple" image="Apple (Tab Bar)" id="cPa-gy-q4n"/>
4545
<connections>
4646
<outlet property="mapView" destination="v5Q-Wq-PNq" id="ru0-p3-NlB"/>
4747
</connections>
@@ -63,7 +63,7 @@
6363
<autoresizingMask key="autoresizingMask" widthSizable="YES" heightSizable="YES"/>
6464
<color key="backgroundColor" white="1" alpha="1" colorSpace="calibratedWhite"/>
6565
</view>
66-
<tabBarItem key="tabBarItem" title="Google" id="qZn-5x-Fe9"/>
66+
<tabBarItem key="tabBarItem" title="Google" image="Google (Tab Bar)" id="qZn-5x-Fe9"/>
6767
<connections>
6868
<outlet property="mapView" destination="3aw-50-mJA" id="xh4-WV-4UK"/>
6969
</connections>
@@ -94,7 +94,8 @@
9494
</scene>
9595
</scenes>
9696
<resources>
97-
<image name="first" width="30" height="30"/>
98-
<image name="second" width="30" height="30"/>
97+
<image name="Apple (Tab Bar)" width="25" height="25"/>
98+
<image name="Google (Tab Bar)" width="25" height="25"/>
99+
<image name="Mapbox (Tab Bar)" width="25" height="25"/>
99100
</resources>
100101
</document>

treble/Images.xcassets/Mapbox-Graphic.imageset/Contents.json renamed to treble/Images.xcassets/Mapbox (Launch Screen).imageset/Contents.json

Lines changed: 5 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -2,16 +2,18 @@
22
"images" : [
33
{
44
"idiom" : "universal",
5-
"scale" : "1x"
5+
"scale" : "1x",
6+
"filename" : "Mapbox-Graphic.png"
67
},
78
{
89
"idiom" : "universal",
9-
"scale" : "2x"
10+
"scale" : "2x",
11+
"filename" : "[email protected]"
1012
},
1113
{
1214
"idiom" : "universal",
1315
"scale" : "3x",
14-
"filename" : "Mapbox-Graphic.png"
16+
"filename" : "Mapbox-Graphic@3x.png"
1517
}
1618
],
1719
"info" : {
49.9 KB
Loading
136 KB
Loading
222 KB
Loading
Binary file not shown.

0 commit comments

Comments
 (0)