Add some accessibility labels in the xibs.

This commit is contained in:
Damiano Galassi committed 2016-10-20 15:59:31 +02:00
1 parent 1ac3e109a6
commit 53be0cec62
16 files changed
+106 -45

No files matched your search

@@ -1,8 +1,9 @@
<?xml version="1.0" encoding="UTF-8"?>
<document type="com.apple.InterfaceBuilder3.Cocoa.XIB" version="3.0" toolsVersion="10117" systemVersion="16A238m" targetRuntime="MacOSX.Cocoa" propertyAccessControl="none">
<document type="com.apple.InterfaceBuilder3.Cocoa.XIB" version="3.0" toolsVersion="11535.1" systemVersion="16B2553a" targetRuntime="MacOSX.Cocoa" propertyAccessControl="none">
<dependencies>
<deployment identifier="macosx"/>
<plugIn identifier="com.apple.InterfaceBuilder.CocoaPlugin" version="10117"/>
<plugIn identifier="com.apple.InterfaceBuilder.CocoaPlugin" version="11535.1"/>
<capability name="documents saved in the Xcode 8 format" minToolsVersion="8.0"/>
</dependencies>
<objects>
<customObject id="-2" userLabel="File's Owner" customClass="SBChapterViewController">
@@ -35,7 +36,7 @@
<autoresizingMask key="autoresizingMask" widthSizable="YES" heightSizable="YES"/>
<subviews>
<tableView verticalHuggingPriority="750" allowsExpansionToolTips="YES" columnAutoresizingStyle="lastColumnOnly" alternatingRowBackgroundColors="YES" columnSelection="YES" multipleSelection="NO" autosaveColumns="NO" rowHeight="14" headerView="23" id="22" customClass="SBTableView">
<rect key="frame" x="0.0" y="0.0" width="446" height="16"/>
<rect key="frame" x="0.0" y="0.0" width="446" height="177"/>
<autoresizingMask key="autoresizingMask"/>
<size key="intercellSpacing" width="3" height="2"/>
<color key="backgroundColor" name="controlBackgroundColor" catalog="System" colorSpace="catalog"/>
@@ -316,6 +317,7 @@
<tableColumnResizingMask key="resizingMask" resizeWithTable="YES" userResizable="YES"/>
</tableColumn>
</tableColumns>
<accessibility description="Chapters"/>
<connections>
<outlet property="dataSource" destination="-2" id="28"/>
<outlet property="delegate" destination="-2" id="29"/>
@@ -336,7 +338,7 @@
<autoresizingMask key="autoresizingMask"/>
</tableHeaderView>
</scrollView>
<button verticalHuggingPriority="750" id="31">
<button toolTip="Delete selected chapter" verticalHuggingPriority="750" id="31">
<rect key="frame" x="42" y="7" width="26" height="22"/>
<autoresizingMask key="autoresizingMask" flexibleMaxX="YES" flexibleMaxY="YES"/>
<buttonCell key="cell" type="smallSquare" bezelStyle="smallSquare" image="NSRemoveTemplate" imagePosition="overlaps" alignment="center" enabled="NO" borderStyle="border" imageScaling="proportionallyDown" inset="2" id="32">
@@ -347,7 +349,7 @@
<action selector="removeChapter:" target="-2" id="48"/>
</connections>
</button>
<button verticalHuggingPriority="750" id="42">
<button toolTip="Add chapter" verticalHuggingPriority="750" id="42">
<rect key="frame" x="17" y="7" width="26" height="22"/>
<autoresizingMask key="autoresizingMask" flexibleMaxX="YES" flexibleMaxY="YES"/>
<buttonCell key="cell" type="smallSquare" bezelStyle="smallSquare" image="NSAddTemplate" imagePosition="overlaps" alignment="center" borderStyle="border" imageScaling="proportionallyDown" inset="2" id="43">
@@ -1,5 +1,5 @@
<?xml version="1.0" encoding="UTF-8"?>
<document type="com.apple.InterfaceBuilder3.Cocoa.XIB" version="3.0" toolsVersion="11535.1" systemVersion="16B2548a" targetRuntime="MacOSX.Cocoa" propertyAccessControl="none" useAutolayout="YES">
<document type="com.apple.InterfaceBuilder3.Cocoa.XIB" version="3.0" toolsVersion="11535.1" systemVersion="16B2553a" targetRuntime="MacOSX.Cocoa" propertyAccessControl="none" useAutolayout="YES">
<dependencies>
<deployment identifier="macosx"/>
<plugIn identifier="com.apple.InterfaceBuilder.CocoaPlugin" version="11535.1"/>
@@ -268,6 +268,7 @@
</prototypeCellViews>
</tableColumn>
</tableColumns>
<accessibility description="Metadata"/>
<connections>
<outlet property="dataSource" destination="-2" id="bX0-dK-1vT"/>
<outlet property="delegate" destination="-2" id="haa-fZ-mJc"/>
@@ -315,7 +316,7 @@
<rect key="frame" x="17" y="36" width="448" height="199"/>
<clipView key="contentView" copiesOnScroll="NO" id="7IP-Gn-Bxd">
<rect key="frame" x="1" y="1" width="446" height="197"/>
<autoresizingMask key="autoresizingMask" widthSizable="YES" heightSizable="YES"/>
<autoresizingMask key="autoresizingMask"/>
<subviews>
<ikImageBrowserView autoresizesSubviews="NO" zoomValue="1" allowsReordering="YES" animates="YES" translatesAutoresizingMaskIntoConstraints="NO" id="217" customClass="SBImageBrowserView">
<rect key="frame" x="0.0" y="0.0" width="446" height="197"/>
+10 -2
View File
@@ -1,8 +1,9 @@
<?xml version="1.0" encoding="UTF-8"?>
<document type="com.apple.InterfaceBuilder3.Cocoa.XIB" version="3.0" toolsVersion="10117" systemVersion="16A270f" targetRuntime="MacOSX.Cocoa" propertyAccessControl="none" useAutolayout="YES">
<document type="com.apple.InterfaceBuilder3.Cocoa.XIB" version="3.0" toolsVersion="11535.1" systemVersion="16B2553a" targetRuntime="MacOSX.Cocoa" propertyAccessControl="none" useAutolayout="YES">
<dependencies>
<deployment identifier="macosx"/>
<plugIn identifier="com.apple.InterfaceBuilder.CocoaPlugin" version="10117"/>
<plugIn identifier="com.apple.InterfaceBuilder.CocoaPlugin" version="11535.1"/>
<capability name="documents saved in the Xcode 8 format" minToolsVersion="8.0"/>
</dependencies>
<objects>
<customObject id="-2" userLabel="File's Owner" customClass="SBSoundViewController">
@@ -46,6 +47,7 @@
<font key="font" metaFont="smallSystem"/>
</sliderCell>
<connections>
<accessibilityConnection property="title" destination="AN1-Gb-9rU" id="f6H-6D-w1r"/>
<action selector="setTrackVolume:" target="-2" id="0Ho-Rr-WEf"/>
</connections>
</slider>
@@ -56,6 +58,9 @@
<color key="textColor" name="controlTextColor" catalog="System" colorSpace="catalog"/>
<color key="backgroundColor" name="controlColor" catalog="System" colorSpace="catalog"/>
</textFieldCell>
<connections>
<accessibilityConnection property="title" destination="jSp-EO-3Gh" id="S3r-r1-JRJ"/>
</connections>
</textField>
<textField verticalHuggingPriority="750" preferredMaxLayoutWidth="200" translatesAutoresizingMaskIntoConstraints="NO" id="AHt-fF-cmH">
<rect key="frame" x="48" y="78" width="91" height="14"/>
@@ -86,6 +91,7 @@
</menu>
</popUpButtonCell>
<connections>
<accessibilityConnection property="title" destination="oJQ-vl-QbS" id="Cbl-Aq-ObF"/>
<action selector="setAltenateGroup:" target="-2" id="8eX-zt-IUC"/>
</connections>
</popUpButton>
@@ -104,6 +110,7 @@
</menu>
</popUpButtonCell>
<connections>
<accessibilityConnection property="title" destination="AHt-fF-cmH" id="xln-Xh-ghS"/>
<action selector="setFallbackTrack:" target="-2" id="Q66-7F-b86"/>
</connections>
</popUpButton>
@@ -130,6 +137,7 @@
</menu>
</popUpButtonCell>
<connections>
<accessibilityConnection property="title" destination="Wwd-LM-Zu2" id="c2I-EU-yGn"/>
<action selector="setFollowsTrack:" target="-2" id="I5X-MY-2Fu"/>
</connections>
</popUpButton>
+13 -2
View File
@@ -1,8 +1,9 @@
<?xml version="1.0" encoding="UTF-8"?>
<document type="com.apple.InterfaceBuilder3.Cocoa.XIB" version="3.0" toolsVersion="11198.2" systemVersion="16A294a" targetRuntime="MacOSX.Cocoa" propertyAccessControl="none" useAutolayout="YES">
<document type="com.apple.InterfaceBuilder3.Cocoa.XIB" version="3.0" toolsVersion="11535.1" systemVersion="16B2553a" targetRuntime="MacOSX.Cocoa" propertyAccessControl="none" useAutolayout="YES">
<dependencies>
<deployment identifier="macosx"/>
<plugIn identifier="com.apple.InterfaceBuilder.CocoaPlugin" version="11198.2"/>
<plugIn identifier="com.apple.InterfaceBuilder.CocoaPlugin" version="11535.1"/>
<capability name="documents saved in the Xcode 8 format" minToolsVersion="8.0"/>
</dependencies>
<objects>
<customObject id="-2" userLabel="File's Owner" customClass="SBVideoViewController">
@@ -60,6 +61,7 @@
<color key="textColor" name="textColor" catalog="System" colorSpace="catalog"/>
<color key="backgroundColor" name="textBackgroundColor" catalog="System" colorSpace="catalog"/>
</textFieldCell>
<accessibility description="Aspect Ratio Denominator"/>
<connections>
<action selector="setPixelAspect:" target="-2" id="zHv-hb-Eln"/>
</connections>
@@ -94,6 +96,7 @@
<color key="textColor" name="textColor" catalog="System" colorSpace="catalog"/>
<color key="backgroundColor" name="textBackgroundColor" catalog="System" colorSpace="catalog"/>
</textFieldCell>
<accessibility description="Offset Y"/>
<connections>
<action selector="setSize:" target="-2" id="iAh-zt-i9D"/>
</connections>
@@ -127,6 +130,7 @@
<color key="textColor" name="textColor" catalog="System" colorSpace="catalog"/>
<color key="backgroundColor" name="textBackgroundColor" catalog="System" colorSpace="catalog"/>
</textFieldCell>
<accessibility description="Scaled Size Height"/>
<connections>
<action selector="setSize:" target="-2" id="7p2-ss-WWu"/>
</connections>
@@ -191,6 +195,7 @@
<color key="textColor" name="textColor" catalog="System" colorSpace="catalog"/>
<color key="backgroundColor" name="textBackgroundColor" catalog="System" colorSpace="catalog"/>
</textFieldCell>
<accessibility description="Offset X"/>
<connections>
<action selector="setSize:" target="-2" id="wz0-CC-lEV"/>
</connections>
@@ -225,6 +230,7 @@
<color key="textColor" name="textColor" catalog="System" colorSpace="catalog"/>
<color key="backgroundColor" name="textBackgroundColor" catalog="System" colorSpace="catalog"/>
</textFieldCell>
<accessibility description="Aspect Ratio Numerator"/>
<connections>
<action selector="setPixelAspect:" target="-2" id="aTM-Xt-B1U"/>
</connections>
@@ -243,6 +249,7 @@
<color key="textColor" name="textColor" catalog="System" colorSpace="catalog"/>
<color key="backgroundColor" name="textBackgroundColor" catalog="System" colorSpace="catalog"/>
</textFieldCell>
<accessibility description="Scaled Size Width"/>
<connections>
<action selector="setSize:" target="-2" id="O4u-E2-FlA"/>
</connections>
@@ -265,6 +272,7 @@
</menu>
</popUpButtonCell>
<connections>
<accessibilityConnection property="title" destination="HtH-F7-8Bv" id="0DU-hM-PDS"/>
<action selector="setAltenateGroup:" target="-2" id="ig3-Ec-Cz0"/>
</connections>
</popUpButton>
@@ -328,6 +336,7 @@
</menu>
</popUpButtonCell>
<connections>
<accessibilityConnection property="title" destination="cbR-yR-H9l" id="GZC-Cu-awU"/>
<action selector="setForcedSubtitles:" target="-2" id="n1Z-pH-esH"/>
</connections>
</popUpButton>
@@ -343,6 +352,7 @@
</menu>
</popUpButtonCell>
<connections>
<accessibilityConnection property="title" destination="fwe-5g-QAo" id="iiM-Xt-mRA"/>
<action selector="setForcedTrack:" target="-2" id="kGE-XO-FuP"/>
</connections>
</popUpButton>
@@ -408,6 +418,7 @@
</menu>
</popUpButtonCell>
<connections>
<accessibilityConnection property="title" destination="jin-Xn-WJl" id="xvo-aC-czO"/>
<action selector="setProfileLevel:" target="-2" id="fhj-D3-61K"/>
</connections>
</popUpButton>