call: add transfer ability
This commit adds attended/unattended transfer capability
It also improves call controls visibility
Tuleap: #56
Change-Id: I66c2bc22f015f12dc58cf98768b8b3c689e6fdcb
diff --git a/ui/Base.lproj/Broker.xib b/ui/Base.lproj/Broker.xib
new file mode 100644
index 0000000..7ec8a29
--- /dev/null
+++ b/ui/Base.lproj/Broker.xib
@@ -0,0 +1,134 @@
+<?xml version="1.0" encoding="UTF-8" standalone="no"?>
+<document type="com.apple.InterfaceBuilder3.Cocoa.XIB" version="3.0" toolsVersion="8191" systemVersion="14F27" targetRuntime="MacOSX.Cocoa" propertyAccessControl="none" useAutolayout="YES">
+ <dependencies>
+ <plugIn identifier="com.apple.InterfaceBuilder.CocoaPlugin" version="8191"/>
+ </dependencies>
+ <objects>
+ <customObject id="-2" userLabel="File's Owner" customClass="BrokerVC">
+ <connections>
+ <outlet property="smartView" destination="ged-Fo-NiW" id="zOq-oj-zdQ"/>
+ <outlet property="view" destination="Hz6-mo-xeY" id="GmP-OL-Nu1"/>
+ </connections>
+ </customObject>
+ <customObject id="-1" userLabel="First Responder" customClass="FirstResponder"/>
+ <customObject id="-3" userLabel="Application" customClass="NSObject"/>
+ <customView id="Hz6-mo-xeY">
+ <rect key="frame" x="0.0" y="0.0" width="290" height="438"/>
+ <autoresizingMask key="autoresizingMask" flexibleMaxX="YES" flexibleMinY="YES"/>
+ <subviews>
+ <searchField wantsLayer="YES" verticalHuggingPriority="750" fixedFrame="YES" translatesAutoresizingMaskIntoConstraints="NO" id="6Sk-jm-KTk">
+ <rect key="frame" x="20" y="396" width="250" height="22"/>
+ <searchFieldCell key="cell" scrollable="YES" lineBreakMode="clipping" selectable="YES" editable="YES" borderStyle="bezel" placeholderString="Search or enter number" usesSingleLineMode="YES" bezelStyle="round" id="5vh-ub-Dsq">
+ <font key="font" metaFont="system"/>
+ <color key="textColor" name="controlTextColor" catalog="System" colorSpace="catalog"/>
+ <color key="backgroundColor" white="1" alpha="0.0" colorSpace="deviceWhite"/>
+ </searchFieldCell>
+ <connections>
+ <outlet property="delegate" destination="-2" id="Bs5-0w-IAt"/>
+ </connections>
+ </searchField>
+ <scrollView fixedFrame="YES" borderType="none" autohidesScrollers="YES" horizontalLineScroll="62" horizontalPageScroll="10" verticalLineScroll="62" verticalPageScroll="10" usesPredominantAxisScrolling="NO" translatesAutoresizingMaskIntoConstraints="NO" id="A5E-AF-qKC">
+ <rect key="frame" x="20" y="20" width="250" height="368"/>
+ <clipView key="contentView" ambiguous="YES" drawsBackground="NO" copiesOnScroll="NO" id="0Vv-ik-q6g">
+ <rect key="frame" x="0.0" y="0.0" width="250" height="368"/>
+ <autoresizingMask key="autoresizingMask" widthSizable="YES" heightSizable="YES"/>
+ <subviews>
+ <outlineView verticalHuggingPriority="750" allowsExpansionToolTips="YES" columnAutoresizingStyle="lastColumnOnly" multipleSelection="NO" autosaveColumns="NO" rowHeight="60" rowSizeStyle="automatic" viewBased="YES" indentationPerLevel="16" outlineTableColumn="pqp-hy-d8y" id="ged-Fo-NiW">
+ <rect key="frame" x="0.0" y="0.0" width="250" height="368"/>
+ <autoresizingMask key="autoresizingMask"/>
+ <size key="intercellSpacing" width="3" height="2"/>
+ <color key="backgroundColor" white="1" alpha="0.0" colorSpace="deviceWhite"/>
+ <color key="gridColor" name="gridColor" catalog="System" colorSpace="catalog"/>
+ <tableColumns>
+ <tableColumn width="247" minWidth="40" maxWidth="1000" id="pqp-hy-d8y">
+ <tableHeaderCell key="headerCell" lineBreakMode="truncatingTail" borderStyle="border" alignment="left">
+ <font key="font" metaFont="smallSystem"/>
+ <color key="textColor" name="headerTextColor" catalog="System" colorSpace="catalog"/>
+ <color key="backgroundColor" name="headerColor" catalog="System" colorSpace="catalog"/>
+ </tableHeaderCell>
+ <textFieldCell key="dataCell" lineBreakMode="truncatingTail" selectable="YES" editable="YES" alignment="left" title="Text Cell" id="3lU-Go-v0h">
+ <font key="font" metaFont="system"/>
+ <color key="textColor" name="controlTextColor" catalog="System" colorSpace="catalog"/>
+ <color key="backgroundColor" name="controlBackgroundColor" catalog="System" colorSpace="catalog"/>
+ </textFieldCell>
+ <tableColumnResizingMask key="resizingMask" resizeWithTable="YES" userResizable="YES"/>
+ <prototypeCellViews>
+ <tableCellView identifier="MainCell" id="YLQ-KL-wQ3" userLabel="MainCell" customClass="ContextualTableCellView">
+ <rect key="frame" x="1" y="1" width="247" height="60"/>
+ <autoresizingMask key="autoresizingMask" widthSizable="YES" heightSizable="YES"/>
+ <subviews>
+ <textField verticalHuggingPriority="750" horizontalCompressionResistancePriority="250" fixedFrame="YES" tag="200" translatesAutoresizingMaskIntoConstraints="NO" id="bsM-kY-9k6">
+ <rect key="frame" x="57" y="31" width="189" height="23"/>
+ <textFieldCell key="cell" lineBreakMode="truncatingTail" sendsActionOnEndEditing="YES" title="Display Role" id="1Rl-Yq-z7r">
+ <font key="font" size="16" name="HelveticaNeue-Light"/>
+ <color key="textColor" name="headerTextColor" catalog="System" colorSpace="catalog"/>
+ <color key="backgroundColor" name="textBackgroundColor" catalog="System" colorSpace="catalog"/>
+ </textFieldCell>
+ </textField>
+ <imageView horizontalHuggingPriority="251" verticalHuggingPriority="251" fixedFrame="YES" tag="100" translatesAutoresizingMaskIntoConstraints="NO" id="RkA-HO-2Ad">
+ <rect key="frame" x="3" y="6" width="48" height="48"/>
+ <imageCell key="cell" refusesFirstResponder="YES" alignment="left" imageScaling="proportionallyDown" image="NSUser" id="mZk-we-i9v"/>
+ </imageView>
+ <textField horizontalHuggingPriority="251" verticalHuggingPriority="750" fixedFrame="YES" tag="300" translatesAutoresizingMaskIntoConstraints="NO" id="eaV-2E-ENh">
+ <rect key="frame" x="57" y="10" width="189" height="20"/>
+ <textFieldCell key="cell" scrollable="YES" lineBreakMode="clipping" sendsActionOnEndEditing="YES" title="details" id="sQW-4V-hwv">
+ <font key="font" size="13" name="HelveticaNeue-Light"/>
+ <color key="textColor" red="0.0" green="0.23137254901960785" blue="0.30588235294117649" alpha="1" colorSpace="calibratedRGB"/>
+ <color key="backgroundColor" name="textBackgroundColor" catalog="System" colorSpace="catalog"/>
+ </textFieldCell>
+ </textField>
+ <button hidden="YES" verticalHuggingPriority="750" misplaced="YES" tag="400" translatesAutoresizingMaskIntoConstraints="NO" id="neN-xV-wb5" userLabel="Call Button" customClass="IconButton">
+ <rect key="frame" x="288" y="18" width="25" height="25"/>
+ <constraints>
+ <constraint firstAttribute="width" constant="25" id="3a4-Cj-CU8"/>
+ <constraint firstAttribute="height" constant="25" id="8L3-91-Rn2"/>
+ </constraints>
+ <buttonCell key="cell" type="square" bezelStyle="shadowlessSquare" image="ic_action_call" imagePosition="overlaps" alignment="center" allowsMixedState="YES" transparent="YES" imageScaling="proportionallyDown" inset="2" id="c4F-rE-v5i">
+ <behavior key="behavior" pushIn="YES" lightByBackground="YES" lightByGray="YES"/>
+ <font key="font" metaFont="system"/>
+ </buttonCell>
+ <connections>
+ <action selector="callClickedAtRow:" target="-1" id="hyg-jg-asa"/>
+ </connections>
+ </button>
+ </subviews>
+ <constraints>
+ <constraint firstAttribute="trailing" secondItem="neN-xV-wb5" secondAttribute="trailing" constant="8" id="MvK-3g-Jh7"/>
+ <constraint firstItem="neN-xV-wb5" firstAttribute="centerY" secondItem="YLQ-KL-wQ3" secondAttribute="centerY" constant="-0.5" id="T4T-wG-JiS"/>
+ </constraints>
+ <connections>
+ <outlet property="textField" destination="bsM-kY-9k6" id="XaM-Ih-4di"/>
+ </connections>
+ </tableCellView>
+ <customView identifier="HoverRowView" id="gbf-Fl-RiK" customClass="HoverTableRowView">
+ <rect key="frame" x="1" y="63" width="247" height="55"/>
+ <autoresizingMask key="autoresizingMask" flexibleMaxX="YES" flexibleMinY="YES"/>
+ </customView>
+ </prototypeCellViews>
+ </tableColumn>
+ </tableColumns>
+ <connections>
+ <outlet property="delegate" destination="-2" id="aSl-td-KL2"/>
+ </connections>
+ </outlineView>
+ </subviews>
+ <color key="backgroundColor" white="1" alpha="0.0" colorSpace="deviceWhite"/>
+ </clipView>
+ <scroller key="horizontalScroller" hidden="YES" verticalHuggingPriority="750" horizontal="YES" id="Maf-69-awc">
+ <rect key="frame" x="0.0" y="-16" width="0.0" height="16"/>
+ <autoresizingMask key="autoresizingMask"/>
+ </scroller>
+ <scroller key="verticalScroller" hidden="YES" verticalHuggingPriority="750" horizontal="NO" id="fYr-Sf-2LL">
+ <rect key="frame" x="-16" y="0.0" width="16" height="0.0"/>
+ <autoresizingMask key="autoresizingMask"/>
+ </scroller>
+ </scrollView>
+ </subviews>
+ <point key="canvasLocation" x="248" y="367"/>
+ </customView>
+ </objects>
+ <resources>
+ <image name="NSUser" width="32" height="32"/>
+ <image name="ic_action_call" width="72" height="72"/>
+ </resources>
+</document>