add contacts table view in xib

This commit is contained in:
Gautier Pelloux-Prayer 2015-07-23 15:34:02 +02:00
parent 5be47874d5
commit a06c78e8f5
8 changed files with 128 additions and 144 deletions

View file

@ -7,8 +7,6 @@
<objects>
<placeholder placeholderIdentifier="IBFilesOwner" id="-1" userLabel="File's Owner" customClass="ChatViewController">
<connections>
<outlet property="addressField" destination="25" id="27"/>
<outlet property="editButton" destination="9" id="22"/>
<outlet property="tableController" destination="4" id="18"/>
<outlet property="view" destination="5" id="14"/>
</connections>
@ -19,55 +17,73 @@
<autoresizingMask key="autoresizingMask" flexibleMaxX="YES" flexibleMaxY="YES"/>
<subviews>
<view contentMode="scaleToFill" id="7" userLabel="toolsBar">
<rect key="frame" x="0.0" y="0.0" width="360" height="44"/>
<rect key="frame" x="0.0" y="0.0" width="360" height="40"/>
<autoresizingMask key="autoresizingMask" widthSizable="YES" flexibleMaxY="YES"/>
<subviews>
<imageView userInteractionEnabled="NO" contentMode="scaleToFill" image="toolsbar_background.png" id="23" userLabel="background">
<rect key="frame" x="0.0" y="0.0" width="360" height="44"/>
<autoresizingMask key="autoresizingMask" widthSizable="YES" flexibleMaxY="YES"/>
</imageView>
<button opaque="NO" contentMode="scaleToFill" contentHorizontalAlignment="center" contentVerticalAlignment="center" adjustsImageWhenHighlighted="NO" lineBreakMode="middleTruncation" id="10" userLabel="addButton">
<rect key="frame" x="0.0" y="0.0" width="160" height="44"/>
<autoresizingMask key="autoresizingMask" flexibleMaxX="YES" flexibleMaxY="YES"/>
<button hidden="YES" opaque="NO" contentMode="scaleToFill" contentHorizontalAlignment="center" contentVerticalAlignment="center" adjustsImageWhenHighlighted="NO" lineBreakMode="middleTruncation" id="10" userLabel="backButton">
<rect key="frame" x="0.0" y="0.0" width="72" height="40"/>
<autoresizingMask key="autoresizingMask" widthSizable="YES" flexibleMaxX="YES" flexibleMinY="YES" heightSizable="YES" flexibleMaxY="YES"/>
<accessibility key="accessibilityConfiguration" label="New Discussion"/>
<fontDescription key="fontDescription" type="system" pointSize="14"/>
<inset key="titleEdgeInsets" minX="0.0" minY="18" maxX="0.0" maxY="0.0"/>
<state key="normal" title="New discussion" backgroundImage="chat_add_default.png">
<color key="titleColor" red="0.35686274509999999" green="0.39607843139999999" blue="0.43529411759999997" alpha="1" colorSpace="deviceRGB"/>
<state key="normal" image="back.png" backgroundImage="color_F.png">
<color key="titleShadowColor" white="0.5" alpha="1" colorSpace="calibratedWhite"/>
</state>
<state key="highlighted" backgroundImage="chat_add_over.png">
<color key="titleColor" red="0.0" green="0.0" blue="0.0" alpha="1" colorSpace="deviceRGB"/>
</state>
<connections>
<action selector="onAddClick:" destination="-1" eventType="touchUpInside" id="20"/>
</connections>
</button>
<button opaque="NO" contentMode="scaleToFill" contentHorizontalAlignment="center" contentVerticalAlignment="center" adjustsImageWhenHighlighted="NO" lineBreakMode="middleTruncation" id="9" userLabel="editButton" customClass="UIToggleButton">
<rect key="frame" x="200" y="0.0" width="160" height="44"/>
<autoresizingMask key="autoresizingMask" flexibleMinX="YES" flexibleMaxY="YES"/>
<button opaque="NO" contentMode="scaleToFill" contentHorizontalAlignment="center" contentVerticalAlignment="center" adjustsImageWhenHighlighted="NO" lineBreakMode="middleTruncation" id="Z5G-IF-PBY" userLabel="addButton">
<rect key="frame" x="0.0" y="0.0" width="72" height="40"/>
<autoresizingMask key="autoresizingMask" widthSizable="YES" flexibleMaxX="YES" flexibleMinY="YES" heightSizable="YES" flexibleMaxY="YES"/>
<accessibility key="accessibilityConfiguration" label="New Discussion"/>
<fontDescription key="fontDescription" type="system" pointSize="14"/>
<inset key="titleEdgeInsets" minX="0.0" minY="18" maxX="0.0" maxY="0.0"/>
<state key="normal" image="add_chat.png" backgroundImage="color_F.png">
<color key="titleShadowColor" white="0.5" alpha="1" colorSpace="calibratedWhite"/>
</state>
<connections>
<action selector="onAddClick:" destination="-1" eventType="touchUpInside" id="g4q-By-6nW"/>
</connections>
</button>
<button opaque="NO" contentMode="scaleToFill" contentHorizontalAlignment="center" contentVerticalAlignment="center" adjustsImageWhenHighlighted="NO" lineBreakMode="middleTruncation" id="9" userLabel="selectAllButton" customClass="UIToggleButton">
<rect key="frame" x="200.00000466240755" y="0.0" width="72" height="40"/>
<autoresizingMask key="autoresizingMask" flexibleMinX="YES" widthSizable="YES" flexibleMinY="YES" heightSizable="YES" flexibleMaxY="YES"/>
<accessibility key="accessibilityConfiguration" label="Edit"/>
<fontDescription key="fontDescription" type="system" pointSize="14"/>
<inset key="titleEdgeInsets" minX="0.0" minY="18" maxX="0.0" maxY="0.0"/>
<state key="normal" title="Edit" backgroundImage="chat_edit_default.png">
<color key="titleColor" red="0.35686274509999999" green="0.39607843139999999" blue="0.43529411759999997" alpha="1" colorSpace="deviceRGB"/>
<state key="normal" image="select_all.png" backgroundImage="color_F.png">
<color key="titleShadowColor" white="0.5" alpha="1" colorSpace="calibratedWhite"/>
</state>
<state key="selected" title="Ok" backgroundImage="chat_ok_default.png">
<color key="titleColor" red="0.35686274509999999" green="0.39607843139999999" blue="0.43529411759999997" alpha="1" colorSpace="deviceRGB"/>
</state>
<state key="highlighted" backgroundImage="chat_edit_over.png">
<color key="titleColor" red="0.0" green="0.0" blue="0.0" alpha="1" colorSpace="deviceRGB"/>
</button>
<button opaque="NO" contentMode="scaleToFill" contentHorizontalAlignment="center" contentVerticalAlignment="center" adjustsImageWhenHighlighted="NO" lineBreakMode="middleTruncation" id="UxT-TB-Ri4" userLabel="editButton" customClass="UIToggleButton">
<rect key="frame" x="288" y="0.0" width="72" height="40"/>
<autoresizingMask key="autoresizingMask" flexibleMinX="YES" widthSizable="YES" flexibleMinY="YES" heightSizable="YES" flexibleMaxY="YES"/>
<accessibility key="accessibilityConfiguration" label="Edit"/>
<fontDescription key="fontDescription" type="system" pointSize="14"/>
<inset key="titleEdgeInsets" minX="0.0" minY="18" maxX="0.0" maxY="0.0"/>
<state key="normal" image="edit_list.png" backgroundImage="color_F.png">
<color key="titleShadowColor" white="0.5" alpha="1" colorSpace="calibratedWhite"/>
</state>
<connections>
<action selector="onEditClick:" destination="-1" eventType="touchUpInside" id="21"/>
<action selector="onEditClick:" destination="-1" eventType="touchUpInside" id="Paf-as-rSa"/>
</connections>
</button>
<button hidden="YES" opaque="NO" contentMode="scaleToFill" contentHorizontalAlignment="center" contentVerticalAlignment="center" adjustsImageWhenHighlighted="NO" lineBreakMode="middleTruncation" id="e4g-nB-qYa" userLabel="deleteButton" customClass="UIToggleButton">
<rect key="frame" x="288" y="0.0" width="72" height="40"/>
<autoresizingMask key="autoresizingMask" flexibleMinX="YES" widthSizable="YES" flexibleMinY="YES" heightSizable="YES" flexibleMaxY="YES"/>
<accessibility key="accessibilityConfiguration" label="Edit"/>
<fontDescription key="fontDescription" type="system" pointSize="14"/>
<inset key="titleEdgeInsets" minX="0.0" minY="18" maxX="0.0" maxY="0.0"/>
<state key="normal" image="delete.png" backgroundImage="color_F.png">
<color key="titleShadowColor" white="0.5" alpha="1" colorSpace="calibratedWhite"/>
</state>
</button>
</subviews>
<color key="backgroundColor" white="1" alpha="1" colorSpace="custom" customColorSpace="calibratedWhite"/>
<color key="backgroundColor" red="0.90588235294117647" green="0.90588235294117647" blue="0.90588235294117647" alpha="1" colorSpace="custom" customColorSpace="sRGB"/>
</view>
<tableView clipsSubviews="YES" contentMode="scaleToFill" alwaysBounceVertical="YES" style="plain" separatorStyle="default" rowHeight="60" sectionHeaderHeight="22" sectionFooterHeight="22" id="6" userLabel="tableView">
<rect key="frame" x="0.0" y="79" width="360" height="458"/>
<rect key="frame" x="0.0" y="40" width="360" height="458"/>
<autoresizingMask key="autoresizingMask" widthSizable="YES" heightSizable="YES"/>
<color key="backgroundColor" white="1" alpha="1" colorSpace="calibratedWhite"/>
<inset key="contentInset" minX="0.0" minY="0.0" maxX="0.0" maxY="10"/>
@ -78,17 +94,6 @@
<outlet property="delegate" destination="4" id="12"/>
</connections>
</tableView>
<textField opaque="NO" clipsSubviews="YES" contentMode="scaleToFill" contentHorizontalAlignment="left" contentVerticalAlignment="center" placeholder="To:" minimumFontSize="17" background="field_background.png" clearButtonMode="whileEditing" id="25" userLabel="addressField" customClass="UILinphoneTextField">
<rect key="frame" x="2" y="44" width="356" height="35"/>
<autoresizingMask key="autoresizingMask" widthSizable="YES" flexibleMaxY="YES"/>
<color key="backgroundColor" white="0.0" alpha="0.0" colorSpace="calibratedWhite"/>
<accessibility key="accessibilityConfiguration" label="Enter a address"/>
<fontDescription key="fontDescription" type="system" pointSize="17"/>
<textInputTraits key="textInputTraits" autocorrectionType="no" keyboardType="URL"/>
<connections>
<outlet property="delegate" destination="-1" id="28"/>
</connections>
</textField>
</subviews>
<color key="backgroundColor" white="0.0" alpha="0.0" colorSpace="calibratedWhite"/>
<nil key="simulatedStatusBarMetrics"/>
@ -102,13 +107,12 @@
</tableViewController>
</objects>
<resources>
<image name="chat_add_default.png" width="320" height="88"/>
<image name="chat_add_over.png" width="320" height="88"/>
<image name="chat_edit_default.png" width="320" height="88"/>
<image name="chat_edit_over.png" width="320" height="88"/>
<image name="chat_ok_default.png" width="320" height="88"/>
<image name="field_background.png" width="542" height="88"/>
<image name="toolsbar_background.png" width="5" height="88"/>
<image name="add_chat.png" width="95" height="86"/>
<image name="back.png" width="71" height="64"/>
<image name="color_F.png" width="1" height="1"/>
<image name="delete.png" width="64" height="82"/>
<image name="edit_list.png" width="88" height="85"/>
<image name="select_all.png" width="79" height="79"/>
</resources>
<simulatedMetricsContainer key="defaultSimulatedMetrics">
<simulatedStatusBarMetrics key="statusBar"/>

View file

@ -12,6 +12,8 @@
<outlet property="backButton" destination="87" id="90"/>
<outlet property="linphoneButton" destination="5" id="31"/>
<outlet property="searchBar" destination="5jE-oF-d45" id="xfS-xo-2Bm"/>
<outlet property="tableController" destination="TJG-JZ-YRR" id="0lt-gC-EOm"/>
<outlet property="tableView" destination="zOo-FS-W6l" id="T4d-56-Bgi"/>
<outlet property="toolBar" destination="3" id="n95-dF-EoN"/>
<outlet property="view" destination="2" id="16"/>
</connections>
@ -114,11 +116,30 @@
<outlet property="delegate" destination="-1" id="4jL-Rv-dW7"/>
</connections>
</searchBar>
<tableView clipsSubviews="YES" contentMode="scaleToFill" alwaysBounceVertical="YES" style="plain" separatorStyle="default" rowHeight="44" sectionHeaderHeight="22" sectionFooterHeight="22" id="zOo-FS-W6l" userLabel="tableView">
<rect key="frame" x="0.0" y="84" width="360" height="453"/>
<autoresizingMask key="autoresizingMask" widthSizable="YES" heightSizable="YES"/>
<color key="backgroundColor" white="1" alpha="1" colorSpace="calibratedWhite"/>
<inset key="contentInset" minX="0.0" minY="0.0" maxX="0.0" maxY="10"/>
<inset key="scrollIndicatorInsets" minX="0.0" minY="0.0" maxX="0.0" maxY="10"/>
<color key="separatorColor" red="0.7254902124" green="0.76862746479999999" blue="0.79607844350000001" alpha="1" colorSpace="deviceRGB"/>
<connections>
<outlet property="dataSource" destination="TJG-JZ-YRR" id="334-RR-jEi"/>
<outlet property="delegate" destination="TJG-JZ-YRR" id="X6c-qc-fGw"/>
</connections>
</tableView>
</subviews>
<color key="backgroundColor" white="0.0" alpha="0.0" colorSpace="calibratedWhite"/>
<nil key="simulatedStatusBarMetrics"/>
<freeformSimulatedSizeMetrics key="simulatedDestinationMetrics"/>
<point key="canvasLocation" x="132" y="190.5"/>
</view>
<tableViewController id="TJG-JZ-YRR" userLabel="tableController" customClass="ContactsTableViewController">
<connections>
<outlet property="view" destination="zOo-FS-W6l" id="cM7-Da-i7e"/>
</connections>
<point key="canvasLocation" x="510" y="206"/>
</tableViewController>
</objects>
<resources>
<image name="add_contact.png" width="101" height="86"/>

View file

@ -110,6 +110,7 @@
<connections>
<outlet property="view" destination="17" id="25"/>
</connections>
<point key="canvasLocation" x="596" y="305"/>
</tableViewController>
</objects>
<resources>

View file

@ -79,8 +79,7 @@ typedef enum _ContactSelectionMode {
BOOL use_systemView;
}
@property (nonatomic, strong) IBOutlet ContactsTableViewController* tableController;
@property (nonatomic, strong) IBOutlet UITableView *tableView;
@property(strong, nonatomic) IBOutlet ContactsTableViewController *tableController;
@property (nonatomic, strong) IBOutlet UINavigationController* sysViewController;
@property (strong, nonatomic) IBOutlet UIView *toolBar;
@property (nonatomic, strong) IBOutlet UIButton* allButton;
@ -88,6 +87,7 @@ typedef enum _ContactSelectionMode {
@property (nonatomic, strong) IBOutlet UIButton *backButton;
@property (nonatomic, strong) IBOutlet UIButton *addButton;
@property (strong, nonatomic) IBOutlet UISearchBar *searchBar;
@property(weak, nonatomic) IBOutlet UITableView *tableView;
- (IBAction)onAllClick:(id)event;
- (IBAction)onLinphoneClick:(id)event;

View file

@ -148,29 +148,10 @@ static UICompositeViewDescription *compositeDescription = nil;
ABPeoplePickerNavigationController *picker = [[ABPeoplePickerNavigationController alloc] init];
picker.peoplePickerDelegate = self;
picker.view.frame = self.view.frame;
[self.view addSubview:picker.view];
self.sysViewController = picker;
self.searchBar.hidden = TRUE;
} else if (!use_system && !self.tableController) {
self.tableController = [[ContactsTableViewController alloc] init];
self.tableView = [[UITableView alloc] init];
self.tableController.view = self.tableView;
[self relayoutTableView];
self.tableView.dataSource = self.tableController;
self.tableView.delegate = self.tableController;
self.tableView.autoresizingMask = UIViewAutoresizingFlexibleHeight | UIViewAutoresizingFlexibleWidth |
UIViewAutoresizingFlexibleTopMargin | UIViewAutoresizingFlexibleBottomMargin |
UIViewAutoresizingFlexibleLeftMargin | UIViewAutoresizingFlexibleRightMargin;
[self.view addSubview:tableView];
} else if (!use_system) {
[self update];
} else {
// if table is already created, simply refresh buttons (selection mode changed, etc.)
@ -220,8 +201,8 @@ static UICompositeViewDescription *compositeDescription = nil;
[LinphoneUtils buttonFixStates:allButton];
[tableController.tableView setBackgroundColor:[UIColor clearColor]]; // Can't do it in Xib: issue with ios4
[tableController.tableView setBackgroundView:nil]; // Can't do it in Xib: issue with ios4
// [tableController.tableView setBackgroundColor:[UIColor clearColor]]; // Can't do it in Xib: issue with ios4
// [tableController.tableView setBackgroundView:nil]; // Can't do it in Xib: issue with ios4
}
#pragma mark -

View file

@ -10,80 +10,57 @@
<outlet property="addressLabel" destination="20" id="38"/>
<outlet property="avatarImage" destination="19" id="30"/>
<outlet property="chatContentLabel" destination="21" id="24"/>
<outlet property="deleteButton" destination="32" id="34"/>
<outlet property="unreadMessageLabel" destination="41" id="42"/>
<outlet property="unreadMessageView" destination="39" id="43"/>
</connections>
</placeholder>
<placeholder placeholderIdentifier="IBFirstResponder" id="-2" customClass="UIResponder"/>
<view contentMode="scaleToFill" id="17">
<rect key="frame" x="0.0" y="0.0" width="360" height="60"/>
<autoresizingMask key="autoresizingMask" widthSizable="YES" flexibleMaxY="YES"/>
<rect key="frame" x="0.0" y="0.0" width="360" height="44"/>
<autoresizingMask key="autoresizingMask" widthSizable="YES" heightSizable="YES"/>
<subviews>
<imageView userInteractionEnabled="NO" contentMode="scaleToFill" image="avatar_unknown_small.png" id="19" userLabel="avatarImage">
<rect key="frame" x="10" y="8" width="44" height="44"/>
<autoresizingMask key="autoresizingMask" flexibleMaxX="YES" flexibleMaxY="YES"/>
</imageView>
<label opaque="NO" clipsSubviews="YES" userInteractionEnabled="NO" tag="2" contentMode="left" text="11:15" lineBreakMode="tailTruncation" minimumFontSize="1" id="r7A-Mk-LQX" userLabel="chatLatestTimeLabel">
<rect key="frame" x="10" y="32" width="44" height="12"/>
<autoresizingMask key="autoresizingMask" flexibleMinX="YES" widthSizable="YES" flexibleMaxX="YES" flexibleMinY="YES" heightSizable="YES" flexibleMaxY="YES"/>
<accessibility key="accessibilityConfiguration" label="Contact name"/>
<fontDescription key="fontDescription" type="system" pointSize="25"/>
<color key="textColor" red="0.0" green="0.0" blue="0.0" alpha="1" colorSpace="calibratedRGB"/>
<nil key="highlightedColor"/>
</label>
<label opaque="NO" clipsSubviews="YES" userInteractionEnabled="NO" tag="2" contentMode="left" text="John" lineBreakMode="tailTruncation" minimumFontSize="10" adjustsFontSizeToFit="NO" id="20" userLabel="addressLabel">
<rect key="frame" x="62" y="2" width="258" height="38"/>
<autoresizingMask key="autoresizingMask" widthSizable="YES" heightSizable="YES"/>
<rect key="frame" x="62" y="0.0" width="258" height="22"/>
<autoresizingMask key="autoresizingMask" flexibleMinX="YES" widthSizable="YES" flexibleMaxX="YES" flexibleMinY="YES" heightSizable="YES" flexibleMaxY="YES"/>
<accessibility key="accessibilityConfiguration" label="Contact name"/>
<fontDescription key="fontDescription" type="system" pointSize="25"/>
<color key="textColor" red="0.0" green="0.0" blue="0.0" alpha="1" colorSpace="calibratedRGB"/>
<nil key="highlightedColor"/>
</label>
<label opaque="NO" clipsSubviews="YES" userInteractionEnabled="NO" tag="2" contentMode="left" text="This is a message" lineBreakMode="tailTruncation" numberOfLines="2" minimumFontSize="10" adjustsFontSizeToFit="NO" id="21" userLabel="chatContentLabel">
<rect key="frame" x="62" y="39" width="258" height="21"/>
<autoresizingMask key="autoresizingMask" widthSizable="YES" heightSizable="YES"/>
<rect key="frame" x="62" y="22" width="298" height="22"/>
<autoresizingMask key="autoresizingMask" flexibleMinX="YES" widthSizable="YES" flexibleMaxX="YES" flexibleMinY="YES" heightSizable="YES" flexibleMaxY="YES"/>
<accessibility key="accessibilityConfiguration" label="Message"/>
<fontDescription key="fontDescription" type="system" pointSize="12"/>
<color key="textColor" red="0.0" green="0.0" blue="0.0" alpha="1" colorSpace="calibratedRGB"/>
<nil key="highlightedColor"/>
</label>
<view contentMode="scaleToFill" id="39" userLabel="unreadMessageView">
<rect key="frame" x="316" y="8" width="44" height="44"/>
<autoresizingMask key="autoresizingMask" flexibleMinX="YES"/>
<subviews>
<imageView userInteractionEnabled="NO" contentMode="scaleToFill" image="bubble.png" id="40" userLabel="unreadMessageImage">
<rect key="frame" x="10" y="12" width="24" height="20"/>
<autoresizingMask key="autoresizingMask" widthSizable="YES" heightSizable="YES"/>
</imageView>
<label opaque="NO" clipsSubviews="YES" userInteractionEnabled="NO" contentMode="left" text="0" textAlignment="center" lineBreakMode="tailTruncation" baselineAdjustment="alignBaselines" minimumFontSize="9" id="41" userLabel="unreadMessageLabel">
<rect key="frame" x="12" y="10" width="20" height="20"/>
<autoresizingMask key="autoresizingMask" flexibleMaxX="YES" flexibleMaxY="YES"/>
<accessibility key="accessibilityConfiguration" label="Unread message number"/>
<fontDescription key="fontDescription" type="system" pointSize="14"/>
<color key="textColor" red="1" green="1" blue="1" alpha="1" colorSpace="custom" customColorSpace="calibratedRGB"/>
<nil key="highlightedColor"/>
</label>
</subviews>
<color key="backgroundColor" white="0.0" alpha="0.0" colorSpace="calibratedWhite"/>
</view>
<button opaque="NO" contentMode="scaleToFill" contentHorizontalAlignment="center" contentVerticalAlignment="center" adjustsImageWhenHighlighted="NO" lineBreakMode="middleTruncation" id="32" userLabel="deleteButton">
<rect key="frame" x="316" y="8" width="44" height="44"/>
<autoresizingMask key="autoresizingMask" flexibleMinX="YES"/>
<accessibility key="accessibilityConfiguration" label="Delete"/>
<fontDescription key="fontDescription" type="boldSystem" pointSize="15"/>
<inset key="imageEdgeInsets" minX="11" minY="11" maxX="11" maxY="11"/>
<state key="normal" image="list_delete_default.png">
<button opaque="NO" contentMode="scaleAspectFit" contentHorizontalAlignment="center" contentVerticalAlignment="center" lineBreakMode="middleTruncation" id="VDt-hI-meD" userLabel="unreadCount" customClass="UIButtonShrinkable">
<rect key="frame" x="332" y="3" width="20" height="20"/>
<autoresizingMask key="autoresizingMask" flexibleMinX="YES" widthSizable="YES" flexibleMaxX="YES" flexibleMinY="YES" heightSizable="YES" flexibleMaxY="YES"/>
<state key="normal" title="0" backgroundImage="chat_list_indicator.png">
<color key="titleShadowColor" white="0.5" alpha="1" colorSpace="calibratedWhite"/>
</state>
<state key="highlighted" image="list_delete_over.png"/>
<connections>
<action selector="onDeleteClick:" destination="-1" eventType="touchUpInside" id="37"/>
</connections>
</button>
<imageView userInteractionEnabled="NO" contentMode="scaleAspectFit" image="avatar.png" id="19" userLabel="avatarImage" customClass="UIRoundedImageView">
<rect key="frame" x="16" y="0.0" width="32" height="32"/>
<autoresizingMask key="autoresizingMask" flexibleMinX="YES" widthSizable="YES" flexibleMaxX="YES" flexibleMinY="YES" heightSizable="YES" flexibleMaxY="YES"/>
</imageView>
</subviews>
<color key="backgroundColor" white="0.0" alpha="0.0" colorSpace="calibratedWhite"/>
<nil key="simulatedStatusBarMetrics"/>
<freeformSimulatedSizeMetrics key="simulatedDestinationMetrics"/>
<point key="canvasLocation" x="157" y="240"/>
</view>
</objects>
<resources>
<image name="avatar_unknown_small.png" width="131" height="131"/>
<image name="bubble.png" width="47" height="40"/>
<image name="list_delete_default.png" width="45" height="45"/>
<image name="list_delete_over.png" width="45" height="45"/>
<image name="avatar.png" width="751" height="751"/>
<image name="chat_list_indicator.png" width="61" height="61"/>
</resources>
<simulatedMetricsContainer key="defaultSimulatedMetrics">
<simulatedStatusBarMetrics key="statusBar"/>

View file

Before

Width:  |  Height:  |  Size: 3.3 KiB

After

Width:  |  Height:  |  Size: 3.3 KiB

View file

@ -152,7 +152,6 @@
63C21F451B60F9870030B86B /* chat_message_delivered.png in Resources */ = {isa = PBXBuildFile; fileRef = 63C21EB11B60F9870030B86B /* chat_message_delivered.png */; };
63C21F461B60F9870030B86B /* chat_message_inprogress.png in Resources */ = {isa = PBXBuildFile; fileRef = 63C21EB21B60F9870030B86B /* chat_message_inprogress.png */; };
63C21F471B60F9870030B86B /* chat_message_not_delivered.png in Resources */ = {isa = PBXBuildFile; fileRef = 63C21EB31B60F9870030B86B /* chat_message_not_delivered.png */; };
63C21F481B60F9870030B86B /* chat_new.png in Resources */ = {isa = PBXBuildFile; fileRef = 63C21EB41B60F9870030B86B /* chat_new.png */; };
63C21F491B60F9870030B86B /* chat_photo.png in Resources */ = {isa = PBXBuildFile; fileRef = 63C21EB51B60F9870030B86B /* chat_photo.png */; };
63C21F4A1B60F9870030B86B /* chat_photo_over.png in Resources */ = {isa = PBXBuildFile; fileRef = 63C21EB61B60F9870030B86B /* chat_photo_over.png */; };
63C21F4B1B60F9870030B86B /* chat_send.png in Resources */ = {isa = PBXBuildFile; fileRef = 63C21EB71B60F9870030B86B /* chat_send.png */; };
@ -275,6 +274,7 @@
63C21FC01B60F9870030B86B /* transfer_call.png in Resources */ = {isa = PBXBuildFile; fileRef = 63C21F2C1B60F9870030B86B /* transfer_call.png */; };
63C21FC11B60F9870030B86B /* valid.png in Resources */ = {isa = PBXBuildFile; fileRef = 63C21F2D1B60F9870030B86B /* valid.png */; };
63C21FC21B60F9870030B86B /* voicemail.png in Resources */ = {isa = PBXBuildFile; fileRef = 63C21F2E1B60F9870030B86B /* voicemail.png */; };
63C21FC41B6118690030B86B /* add_chat.png in Resources */ = {isa = PBXBuildFile; fileRef = 63C21FC31B6118690030B86B /* add_chat.png */; };
63CD4B4F1A5AAC8C00B84282 /* DTAlertView.m in Sources */ = {isa = PBXBuildFile; fileRef = 63CD4B4E1A5AAC8C00B84282 /* DTAlertView.m */; };
63E59A3F1ADE70D900646FB3 /* InAppProductsManager.m in Sources */ = {isa = PBXBuildFile; fileRef = 63E59A3E1ADE70D900646FB3 /* InAppProductsManager.m */; };
63EA4C951B50189D00922857 /* libmswebrtc.a in Frameworks */ = {isa = PBXBuildFile; fileRef = 63EA4C941B50189D00922857 /* libmswebrtc.a */; };
@ -735,7 +735,6 @@
63C21EB11B60F9870030B86B /* chat_message_delivered.png */ = {isa = PBXFileReference; lastKnownFileType = image.png; path = chat_message_delivered.png; sourceTree = "<group>"; };
63C21EB21B60F9870030B86B /* chat_message_inprogress.png */ = {isa = PBXFileReference; lastKnownFileType = image.png; path = chat_message_inprogress.png; sourceTree = "<group>"; };
63C21EB31B60F9870030B86B /* chat_message_not_delivered.png */ = {isa = PBXFileReference; lastKnownFileType = image.png; path = chat_message_not_delivered.png; sourceTree = "<group>"; };
63C21EB41B60F9870030B86B /* chat_new.png */ = {isa = PBXFileReference; lastKnownFileType = image.png; path = chat_new.png; sourceTree = "<group>"; };
63C21EB51B60F9870030B86B /* chat_photo.png */ = {isa = PBXFileReference; lastKnownFileType = image.png; path = chat_photo.png; sourceTree = "<group>"; };
63C21EB61B60F9870030B86B /* chat_photo_over.png */ = {isa = PBXFileReference; lastKnownFileType = image.png; path = chat_photo_over.png; sourceTree = "<group>"; };
63C21EB71B60F9870030B86B /* chat_send.png */ = {isa = PBXFileReference; lastKnownFileType = image.png; path = chat_send.png; sourceTree = "<group>"; };
@ -858,6 +857,7 @@
63C21F2C1B60F9870030B86B /* transfer_call.png */ = {isa = PBXFileReference; lastKnownFileType = image.png; path = transfer_call.png; sourceTree = "<group>"; };
63C21F2D1B60F9870030B86B /* valid.png */ = {isa = PBXFileReference; lastKnownFileType = image.png; path = valid.png; sourceTree = "<group>"; };
63C21F2E1B60F9870030B86B /* voicemail.png */ = {isa = PBXFileReference; lastKnownFileType = image.png; path = voicemail.png; sourceTree = "<group>"; };
63C21FC31B6118690030B86B /* add_chat.png */ = {isa = PBXFileReference; lastKnownFileType = image.png; path = add_chat.png; sourceTree = "<group>"; };
63CD4B4D1A5AAC8C00B84282 /* DTAlertView.h */ = {isa = PBXFileReference; fileEncoding = 4; lastKnownFileType = sourcecode.c.h; path = DTAlertView.h; sourceTree = "<group>"; };
63CD4B4E1A5AAC8C00B84282 /* DTAlertView.m */ = {isa = PBXFileReference; fileEncoding = 4; lastKnownFileType = sourcecode.c.objc; path = DTAlertView.m; sourceTree = "<group>"; };
63E59A3D1ADE6ECB00646FB3 /* InAppProductsManager.h */ = {isa = PBXFileReference; fileEncoding = 4; lastKnownFileType = sourcecode.c.h; path = InAppProductsManager.h; sourceTree = "<group>"; };
@ -1697,16 +1697,17 @@
isa = PBXGroup;
children = (
63C21E9B1B60F9870030B86B /* add_call.png */,
63C21FC31B6118690030B86B /* add_chat.png */,
63C21E9C1B60F9870030B86B /* add_contact.png */,
63C21E9D1B60F9870030B86B /* add_field_default.png */,
63C21E9E1B60F9870030B86B /* add_field_over.png */,
63C21E9F1B60F9870030B86B /* avatar.png */,
63C21EA01B60F9870030B86B /* back.png */,
63C21EA11B60F9870030B86B /* back_call_footer.png */,
63C21EA21B60F9870030B86B /* back_call_top.png */,
63C21EA31B60F9870030B86B /* back_dialer_top.png */,
63C21EA41B60F9870030B86B /* backspace.png */,
63C21EA01B60F9870030B86B /* back.png */,
63C21EA51B60F9870030B86B /* backspace_over.png */,
63C21EA41B60F9870030B86B /* backspace.png */,
63C21EA61B60F9870030B86B /* call_quality_indicator_0.png */,
63C21EA71B60F9870030B86B /* call_quality_indicator_1.png */,
63C21EA81B60F9870030B86B /* call_quality_indicator_2.png */,
@ -1715,17 +1716,16 @@
63C21EAB1B60F9870030B86B /* call_statuts_incoming.png */,
63C21EAC1B60F9870030B86B /* call_statuts_missed.png */,
63C21EAD1B60F9870030B86B /* call_statuts_outgoing.png */,
63C21EAE1B60F9870030B86B /* camera_on.png */,
63C21EAF1B60F9870030B86B /* camera_on_all_selected.png */,
63C21EAE1B60F9870030B86B /* camera_on.png */,
63C21EB01B60F9870030B86B /* chat_list_indicator.png */,
63C21EB11B60F9870030B86B /* chat_message_delivered.png */,
63C21EB21B60F9870030B86B /* chat_message_inprogress.png */,
63C21EB31B60F9870030B86B /* chat_message_not_delivered.png */,
63C21EB41B60F9870030B86B /* chat_new.png */,
63C21EB51B60F9870030B86B /* chat_photo.png */,
63C21EB61B60F9870030B86B /* chat_photo_over.png */,
63C21EB71B60F9870030B86B /* chat_send.png */,
63C21EB51B60F9870030B86B /* chat_photo.png */,
63C21EB81B60F9870030B86B /* chat_send_over.png */,
63C21EB71B60F9870030B86B /* chat_send.png */,
63C21EB91B60F9870030B86B /* clean_field_default.png */,
63C21EBA1B60F9870030B86B /* clean_field_over.png */,
63C21EBB1B60F9870030B86B /* color_A.png */,
@ -1740,33 +1740,33 @@
63C21EC41B60F9870030B86B /* color_J.png */,
63C21EC51B60F9870030B86B /* color_K.png */,
63C21EC61B60F9870030B86B /* color_L.png */,
63C21EC71B60F9870030B86B /* contacts_all.png */,
63C21EC81B60F9870030B86B /* contacts_all_selected.png */,
63C21EC91B60F9870030B86B /* contacts_linphone.png */,
63C21EC71B60F9870030B86B /* contacts_all.png */,
63C21ECA1B60F9870030B86B /* contacts_linphone_selected.png */,
63C21ECB1B60F9870030B86B /* delete.png */,
63C21EC91B60F9870030B86B /* contacts_linphone.png */,
63C21ECC1B60F9870030B86B /* delete_field_default.png */,
63C21ECD1B60F9870030B86B /* delete_field_over.png */,
63C21ECB1B60F9870030B86B /* delete.png */,
63C21ECE1B60F9870030B86B /* deselect_all.png */,
63C21ECF1B60F9870030B86B /* dialer_alt_back.png */,
63C21ED01B60F9870030B86B /* edit_detail.png */,
63C21ED11B60F9870030B86B /* edit_list.png */,
63C21ED21B60F9870030B86B /* exit_conference_default.png */,
63C21ED31B60F9870030B86B /* exit_conference_over.png */,
63C21ED41B60F9870030B86B /* footer_chat.png */,
63C21ED51B60F9870030B86B /* footer_chat_default.png */,
63C21ED61B60F9870030B86B /* footer_contacts.png */,
63C21ED41B60F9870030B86B /* footer_chat.png */,
63C21ED71B60F9870030B86B /* footer_contacts_default.png */,
63C21ED81B60F9870030B86B /* footer_dialer.png */,
63C21ED61B60F9870030B86B /* footer_contacts.png */,
63C21ED91B60F9870030B86B /* footer_dialer_default.png */,
63C21EDA1B60F9870030B86B /* footer_history.png */,
63C21ED81B60F9870030B86B /* footer_dialer.png */,
63C21EDB1B60F9870030B86B /* footer_history_default.png */,
63C21EDA1B60F9870030B86B /* footer_history.png */,
63C21EDC1B60F9870030B86B /* hangup_decline.png */,
63C21EDD1B60F9870030B86B /* history_all.png */,
63C21EDE1B60F9870030B86B /* history_all_selected.png */,
63C21EDD1B60F9870030B86B /* history_all.png */,
63C21EDF1B60F9870030B86B /* history_chat_indicator.png */,
63C21EE01B60F9870030B86B /* history_missed.png */,
63C21EE11B60F9870030B86B /* history_missed_selected.png */,
63C21EE01B60F9870030B86B /* history_missed.png */,
63C21EE21B60F9870030B86B /* incoming_call_icon.png */,
63C21EE31B60F9870030B86B /* led_connected.png */,
63C21EE41B60F9870030B86B /* led_disconnected.png */,
@ -1776,8 +1776,8 @@
63C21EE81B60F9870030B86B /* list_detail_default.png */,
63C21EE91B60F9870030B86B /* list_detail_over.png */,
63C21EEA1B60F9870030B86B /* menu.png */,
63C21EEB1B60F9870030B86B /* micro_off.png */,
63C21EEC1B60F9870030B86B /* micro_off_missed_selected.png */,
63C21EEB1B60F9870030B86B /* micro_off.png */,
63C21EED1B60F9870030B86B /* numpad_0.png */,
63C21EEE1B60F9870030B86B /* numpad_1.png */,
63C21EEF1B60F9870030B86B /* numpad_2.png */,
@ -1790,11 +1790,11 @@
63C21EF61B60F9870030B86B /* numpad_9.png */,
63C21EF71B60F9870030B86B /* numpad_sharp.png */,
63C21EF81B60F9870030B86B /* numpad_star.png */,
63C21EF91B60F9870030B86B /* options.png */,
63C21EFA1B60F9870030B86B /* options_add_call.png */,
63C21EFB1B60F9870030B86B /* options_selected.png */,
63C21EFC1B60F9870030B86B /* options_start_conference.png */,
63C21EFD1B60F9870030B86B /* options_transfer_call.png */,
63C21EF91B60F9870030B86B /* options.png */,
63C21EFE1B60F9870030B86B /* padlock_incoming_call.png */,
63C21EFF1B60F9870030B86B /* pause_big_default.png */,
63C21F001B60F9870030B86B /* pause_big_disabled.png */,
@ -1811,8 +1811,8 @@
63C21F0B1B60F9870030B86B /* security_ok.png */,
63C21F0C1B60F9870030B86B /* security_pending.png */,
63C21F0D1B60F9870030B86B /* select_all.png */,
63C21F0E1B60F9870030B86B /* speaker_on.png */,
63C21F0F1B60F9870030B86B /* speaker_on_selected.png */,
63C21F0E1B60F9870030B86B /* speaker_on.png */,
63C21F101B60F9870030B86B /* splashscreen_logo.png */,
63C21F111B60F9870030B86B /* start_accept_audio_call.png */,
63C21F121B60F9870030B86B /* start_accept_video_call.png */,
@ -1824,23 +1824,23 @@
63C21F181B60F9870030B86B /* start_chat_body_disabled.png */,
63C21F191B60F9870030B86B /* start_chat_body_over.png */,
63C21F1A1B60F9870030B86B /* start_conference_top.png */,
63C21F1B1B60F9870030B86B /* status_available.png */,
63C21F1C1B60F9870030B86B /* status_available_desktop.png */,
63C21F1D1B60F9870030B86B /* status_available_phone.png */,
63C21F1E1B60F9870030B86B /* status_away.png */,
63C21F1B1B60F9870030B86B /* status_available.png */,
63C21F1F1B60F9870030B86B /* status_away_desktop.png */,
63C21F201B60F9870030B86B /* status_away_phone.png */,
63C21F211B60F9870030B86B /* status_busy.png */,
63C21F1E1B60F9870030B86B /* status_away.png */,
63C21F221B60F9870030B86B /* status_busy_desktop.png */,
63C21F231B60F9870030B86B /* status_busy_phone.png */,
63C21F241B60F9870030B86B /* status_disconnected.png */,
63C21F211B60F9870030B86B /* status_busy.png */,
63C21F251B60F9870030B86B /* status_disconnected_desktop.png */,
63C21F261B60F9870030B86B /* status_disconnected_phone.png */,
63C21F241B60F9870030B86B /* status_disconnected.png */,
63C21F271B60F9870030B86B /* switch_camera_default.png */,
63C21F281B60F9870030B86B /* switch_camera_disabled.png */,
63C21F291B60F9870030B86B /* switch_camera_over.png */,
63C21F2A1B60F9870030B86B /* switch_off.png */,
63C21F2B1B60F9870030B86B /* switch_off_over.png */,
63C21F2A1B60F9870030B86B /* switch_off.png */,
63C21F2C1B60F9870030B86B /* transfer_call.png */,
63C21F2D1B60F9870030B86B /* valid.png */,
63C21F2E1B60F9870030B86B /* voicemail.png */,
@ -2302,7 +2302,6 @@
63C21F5D1B60F9870030B86B /* contacts_linphone.png in Resources */,
63C21FA01B60F9870030B86B /* security_pending.png in Resources */,
63C21FC01B60F9870030B86B /* transfer_call.png in Resources */,
63C21F481B60F9870030B86B /* chat_new.png in Resources */,
63C21F6F1B60F9870030B86B /* footer_history_default.png in Resources */,
63C21FB41B60F9870030B86B /* status_away_phone.png in Resources */,
63C21FA81B60F9870030B86B /* start_call_body_disabled.png in Resources */,
@ -2313,6 +2312,7 @@
63C21F471B60F9870030B86B /* chat_message_not_delivered.png in Resources */,
63C21F9D1B60F9870030B86B /* resizable_textfield.png in Resources */,
63C21F791B60F9870030B86B /* led_error.png in Resources */,
63C21FC41B6118690030B86B /* add_chat.png in Resources */,
D38187AD15FE340100C3EDCA /* ChatRoomViewController.xib in Resources */,
63C21FA31B60F9870030B86B /* speaker_on_selected.png in Resources */,
63C21F851B60F9870030B86B /* numpad_4.png in Resources */,