storyboard bug fix

This commit is contained in:
Chris Li 2016-09-07 10:00:31 -04:00
parent b7f4c3e03d
commit c7f411ba36
4 changed files with 3 additions and 6 deletions

View File

@ -20,7 +20,6 @@ class CloudBooksController: UITableViewController, NSFetchedResultsControllerDel
required init?(coder aDecoder: NSCoder) {
super.init(coder: aDecoder)
title = ""
tabBarItem.title = LocalizedStrings.LibraryTabTitle.cloud
tabBarItem.image = UIImage(named: "Cloud")
tabBarItem.selectedImage = UIImage(named: "CloudFilled")

View File

@ -19,7 +19,6 @@ class DownloadTasksController: UIViewController, UITableViewDelegate, UITableVie
required init?(coder aDecoder: NSCoder) {
super.init(coder: aDecoder)
title = ""
tabBarItem.title = LocalizedStrings.LibraryTabTitle.download
tabBarItem.image = UIImage(named: "Download")
tabBarItem.selectedImage = UIImage(named: "DownloadFilled")

View File

@ -19,7 +19,6 @@ class LocalBooksController: UIViewController, UITableViewDelegate, UITableViewDa
required init?(coder aDecoder: NSCoder) {
super.init(coder: aDecoder)
title = "Local"
tabBarItem.title = LocalizedStrings.LibraryTabTitle.local
tabBarItem.image = UIImage(named: "Folder")
tabBarItem.selectedImage = UIImage(named: "FolderFilled")

View File

@ -1,5 +1,5 @@
<?xml version="1.0" encoding="UTF-8" standalone="no"?>
<document type="com.apple.InterfaceBuilder3.CocoaTouch.Storyboard.XIB" version="3.0" toolsVersion="11198.2" systemVersion="15G31" targetRuntime="iOS.CocoaTouch" propertyAccessControl="none" useAutolayout="YES" useTraitCollections="YES" colorMatched="YES" initialViewController="niz-KF-P8W">
<document type="com.apple.InterfaceBuilder3.CocoaTouch.Storyboard.XIB" version="3.0" toolsVersion="11198.2" systemVersion="15G1004" targetRuntime="iOS.CocoaTouch" propertyAccessControl="none" useAutolayout="YES" useTraitCollections="YES" colorMatched="YES" initialViewController="niz-KF-P8W">
<dependencies>
<plugIn identifier="com.apple.InterfaceBuilder.IBCocoaTouchPlugin" version="11161"/>
<capability name="Aspect ratio constraints" minToolsVersion="5.1"/>
@ -352,10 +352,10 @@
<color key="backgroundColor" white="1" alpha="1" colorSpace="calibratedWhite"/>
<prototypes>
<tableViewCell clipsSubviews="YES" contentMode="scaleToFill" selectionStyle="default" indentationWidth="10" reuseIdentifier="Cell" rowHeight="82" id="ekT-ed-PU9" customClass="DownloadBookCell" customModule="Kiwix" customModuleProvider="target">
<rect key="frame" x="0.0" y="92" width="375" height="82"/>
<rect key="frame" x="0.0" y="92" width="1000" height="82"/>
<autoresizingMask key="autoresizingMask"/>
<tableViewCellContentView key="contentView" opaque="NO" clipsSubviews="YES" multipleTouchEnabled="YES" contentMode="center" tableViewCell="ekT-ed-PU9" id="oM4-Hy-Mkf">
<frame key="frameInset" width="375" height="81.5"/>
<frame key="frameInset" width="1000" height="81.5"/>
<autoresizingMask key="autoresizingMask"/>
<subviews>
<label opaque="NO" userInteractionEnabled="NO" contentMode="left" horizontalHuggingPriority="251" verticalHuggingPriority="251" text="" lineBreakMode="tailTruncation" minimumFontSize="8" adjustsLetterSpacingToFitWidth="YES" translatesAutoresizingMaskIntoConstraints="NO" id="Hji-3G-yaJ">