diff --git a/src/MessagesVC.mm b/src/MessagesVC.mm index 754c94de468980f98e002aebec9873e78ed1a526..4c67b894b0f633f8a864d4772ad15d25f73c05ba 100644 --- a/src/MessagesVC.mm +++ b/src/MessagesVC.mm @@ -65,6 +65,7 @@ QMetaObject::Connection filterChangedSignal_; QMetaObject::Connection interactionStatusUpdatedSignal_; QMetaObject::Connection peerComposingMsgSignal_; + QMetaObject::Connection lastDisplayedChanged_; NSString* previewImage; NSMutableDictionary *pendingMessagesToSend; RecordFileVC * recordingController; @@ -82,7 +83,8 @@ CGFloat const TIME_BOX_HEIGHT = 34; CGFloat const MESSAGE_TEXT_PADDING = 10; CGFloat const MAX_TRANSFERED_IMAGE_SIZE = 250; CGFloat const BUBBLE_HEIGHT_FOR_TRANSFERED_FILE = 87; -CGFloat const HEIGHT_FOR_COMPOSING_INDICATOR = 37; +CGFloat const DEFAULT_ROW_HEIGHT = 10; +CGFloat const HEIGHT_FOR_COMPOSING_INDICATOR = 46; CGFloat const HEIGHT_DEFAULT = 34; NSInteger const MEESAGE_MARGIN = 21; NSInteger const SEND_PANEL_DEFAULT_HEIGHT = 60; @@ -152,6 +154,7 @@ typedef NS_ENUM(NSInteger, MessageSequencing) { QObject::disconnect(interactionStatusUpdatedSignal_); QObject::disconnect(newInteractionSignal_); QObject::disconnect(peerComposingMsgSignal_); + QObject::disconnect(lastDisplayedChanged_); [self closeRecordingView]; } @@ -160,9 +163,10 @@ typedef NS_ENUM(NSInteger, MessageSequencing) { NSRange range = [conversationView rowsInRect:visibleRect]; NSIndexSet* visibleIndexes = [NSIndexSet indexSetWithIndexesInRange:range]; NSUInteger lastvisibleRow = [visibleIndexes lastIndex]; - if (([conversationView numberOfRows] > 0) && - lastvisibleRow > ([conversationView numberOfRows] - 3)) { - [conversationView scrollToEndOfDocument:nil]; + NSInteger numberOfRows = [conversationView numberOfRows]; + if ((numberOfRows > 0) && + lastvisibleRow > (numberOfRows - 5)) { + [conversationView scrollRowToVisible:numberOfRows - 1]; } } @@ -181,9 +185,8 @@ typedef NS_ENUM(NSInteger, MessageSequencing) { return cachedConv_; } --(void) reloadConversationForMessage:(uint64_t) uid shouldUpdateHeight:(bool)update { +-(void) reloadConversationForMessage:(uint64_t) uid updateSize:(BOOL) update { auto* conv = [self getCurrentConversation]; - if (conv == nil) return; auto it = conv->interactions.find(uid); @@ -191,7 +194,7 @@ typedef NS_ENUM(NSInteger, MessageSequencing) { return; } auto itIndex = distance(conv->interactions.begin(),it); - if (itIndex >= ([conversationView numberOfRows] - 1)) { + if (itIndex >= ([conversationView numberOfRows] - 1) || itIndex >= conv->interactions.size()) { return; } NSRange rangeToUpdate = NSMakeRange(itIndex, 2); @@ -207,40 +210,14 @@ typedef NS_ENUM(NSInteger, MessageSequencing) { } } if (update) { - [conversationView noteHeightOfRowsWithIndexesChanged:indexSet]; + NSRange insertRange = NSMakeRange(itIndex, 1); + NSIndexSet* insertRangeSet = [NSIndexSet indexSetWithIndexesInRange:insertRange]; + [conversationView removeRowsAtIndexes:insertRangeSet withAnimation:(NSTableViewAnimationEffectNone)]; + [conversationView insertRowsAtIndexes:insertRangeSet withAnimation:(NSTableViewAnimationEffectNone)]; } [conversationView reloadDataForRowIndexes: indexSet columnIndexes:[NSIndexSet indexSetWithIndex:0]]; - CGRect visibleRect = [conversationView enclosingScrollView].contentView.visibleRect; - NSRange range = [conversationView rowsInRect:visibleRect]; - NSIndexSet* visibleIndexes = [NSIndexSet indexSetWithIndexesInRange:range]; - NSUInteger lastvisibleRow = [visibleIndexes lastIndex]; - if (([conversationView numberOfRows] > 0) && - lastvisibleRow > ([conversationView numberOfRows] - 3)) { - [conversationView scrollToEndOfDocument:nil]; - } -} - --(void) reloadConversationForMessage:(uint64_t) uid shouldUpdateHeight:(bool)update updateConversation:(bool) updateConversation { - auto* conv = [self getCurrentConversation]; - - if (conv == nil) - return; - auto it = distance(conv->interactions.begin(),conv->interactions.find(uid)); - NSIndexSet* indexSet = [NSIndexSet indexSetWithIndex:it]; - //reload previous message to update bubbleview - if (it > 0) { - NSRange range = NSMakeRange(it - 1, it); - indexSet = [NSIndexSet indexSetWithIndexesInRange:range]; - } - if (update) { - [conversationView noteHeightOfRowsWithIndexesChanged:indexSet]; - } - [conversationView reloadDataForRowIndexes: indexSet - columnIndexes:[NSIndexSet indexSetWithIndex:0]]; - if (update) { - [conversationView scrollToEndOfDocument:nil]; - } + [self scrollToBottom]; } -(void)setConversationUid:(const QString&)convUid model:(lrc::api::ConversationModel *)model @@ -258,6 +235,19 @@ typedef NS_ENUM(NSInteger, MessageSequencing) { QObject::disconnect(newInteractionSignal_); QObject::disconnect(interactionStatusUpdatedSignal_); QObject::disconnect(peerComposingMsgSignal_); + QObject::disconnect(lastDisplayedChanged_); + lastDisplayedChanged_ = + QObject::connect(convModel_, + &lrc::api::ConversationModel::displayedInteractionChanged, + [self](const QString &uid, + const QString &participantURI, + const uint64_t &previousUid, + const uint64_t &newdUid) { + if (uid != convUid_) + return; + [self reloadConversationForMessage:newdUid updateSize: NO]; + [self reloadConversationForMessage:previousUid updateSize: NO]; + }); peerComposingMsgSignal_ = QObject::connect(convModel_, &lrc::api::ConversationModel::composingStatusChanged, @@ -279,48 +269,46 @@ typedef NS_ENUM(NSInteger, MessageSequencing) { if (row < 0) { return; } - NSIndexSet* indexSet = [NSIndexSet indexSetWithIndex:row]; if(peerComposingMessage) { + NSIndexSet* indexSet = [NSIndexSet indexSetWithIndex:row]; + [conversationView reloadDataForRowIndexes: indexSet + columnIndexes:[NSIndexSet indexSetWithIndex:0]]; [conversationView noteHeightOfRowsWithIndexesChanged:indexSet]; + [self scrollToBottom]; } else { //whait for possible incoming message to avoid view jumping dispatch_after(dispatch_time(DISPATCH_TIME_NOW, 0.2 * NSEC_PER_SEC), dispatch_get_main_queue(), ^{ - if (!peerComposingMessage) { - [conversationView noteHeightOfRowsWithIndexesChanged:indexSet]; - } + auto row = [conversationView numberOfRows] - 1; + NSIndexSet* indexSet = [NSIndexSet indexSetWithIndex:row]; + [conversationView noteHeightOfRowsWithIndexesChanged:indexSet]; + [conversationView reloadDataForRowIndexes: indexSet + columnIndexes:[NSIndexSet indexSetWithIndex:0]]; + [self scrollToBottom]; }); } - [conversationView reloadDataForRowIndexes: indexSet - columnIndexes:[NSIndexSet indexSetWithIndex:0]]; - CGRect visibleRect = [conversationView enclosingScrollView].contentView.visibleRect; - NSRange range = [conversationView rowsInRect:visibleRect]; - NSIndexSet* visibleIndexes = [NSIndexSet indexSetWithIndexesInRange:range]; - NSUInteger lastvisibleRow = [visibleIndexes lastIndex]; - if (([conversationView numberOfRows] > 0) && - lastvisibleRow > ([conversationView numberOfRows] - 3)) { - [conversationView scrollToEndOfDocument:nil]; - } }); newInteractionSignal_ = QObject::connect(convModel_, &lrc::api::ConversationModel::newInteraction, [self](const QString& uid, uint64_t interactionId, const lrc::api::interaction::Info& interaction){ - if (uid != convUid_) - return; - cachedConv_ = nil; - peerComposingMessage = false; - [conversationView noteNumberOfRowsChanged]; - [self reloadConversationForMessage:interactionId shouldUpdateHeight:YES]; - }); + if (uid != convUid_) + return; + cachedConv_ = nil; + peerComposingMessage = false; + [conversationView noteNumberOfRowsChanged]; + [self reloadConversationForMessage:interactionId updateSize: YES]; + [self scrollToBottom]; + }); interactionStatusUpdatedSignal_ = QObject::connect(convModel_, &lrc::api::ConversationModel::interactionStatusUpdated, [self](const QString& uid, uint64_t interactionId, const lrc::api::interaction::Info& interaction){ - if (uid != convUid_) - return; - cachedConv_ = nil; - bool isOutgoing = lrc::api::interaction::isOutgoing(interaction); - if (interaction.type == lrc::api::interaction::Type::TEXT && isOutgoing) { - convModel_->refreshFilter(); - } - [self reloadConversationForMessage:interactionId shouldUpdateHeight:YES]; - }); + if (uid != convUid_) + return; + cachedConv_ = nil; + bool isOutgoing = lrc::api::interaction::isOutgoing(interaction); + if (interaction.type == lrc::api::interaction::Type::TEXT && isOutgoing) { + convModel_->refreshFilter(); + } + [self reloadConversationForMessage:interactionId updateSize: interaction.type == lrc::api::interaction::Type::DATA_TRANSFER]; + [self scrollToBottom]; + }); // Signals tracking changes in conversation list, we need them as cached conversation can be invalid // after a reordering. @@ -468,7 +456,6 @@ typedef NS_ENUM(NSInteger, MessageSequencing) { result.transferedImage.image = nil; [result.openImagebutton setHidden:YES]; [result.msgBackground setHidden:NO]; - [result invalidateImageConstraints]; NSString* name = interaction.body.toNSString(); if (name.length > 0) { fileName = [name lastPathComponent]; @@ -535,32 +522,22 @@ typedef NS_ENUM(NSInteger, MessageSequencing) { IMTableCellView* result; auto it = conv->interactions.begin(); auto size = [conversationView numberOfRows] - 1; - if (row > size) { + + if (row > size || row > conv->interactions.size()) { return [[NSView alloc] init]; } if (row == size) { if (size < 1) { - return [[NSView alloc] init]; + return nil; } //last row peer composing view result = [tableView makeViewWithIdentifier:@"PeerComposingMsgView" owner:conversationView]; - std::advance(it, row-1); - if (it != conv->interactions.end()) { - //if previous message not from peer display avatar - auto interaction = it->second; - bool isOutgoing = lrc::api::interaction::isOutgoing(interaction); - [result.photoView setHidden: YES]; - if(isOutgoing) { - auto& imageManip = reinterpret_cast<Interfaces::ImageManipulationDelegate&>(GlobalInstances::pixmapManipulator()); - auto* conv = [self getCurrentConversation]; - [result.photoView setImage:QtMac::toNSImage(qvariant_cast<QPixmap>(imageManip.conversationPhoto(*conv, convModel_->owner)))]; - [result.photoView setHidden: NO]; - } - } - CGFloat alpha = peerComposingMessage ? 1 : 0; result.alphaValue = 0; [result animateCompozingIndicator: NO]; + CGFloat alpha = peerComposingMessage ? 1 : 0; + CGFloat height = peerComposingMessage ? HEIGHT_FOR_COMPOSING_INDICATOR : DEFAULT_ROW_HEIGHT; + [result updateHeightConstraints: height]; if (alpha == 1) { dispatch_after(dispatch_time(DISPATCH_TIME_NOW, 0.2 * NSEC_PER_SEC), dispatch_get_main_queue(), ^{ if (peerComposingMessage) { @@ -671,9 +648,13 @@ typedef NS_ENUM(NSInteger, MessageSequencing) { bool shouldDisplayAvatar = (sequence != MIDDLE_IN_SEQUENCE && sequence != FIRST_WITHOUT_TIME && sequence != FIRST_WITH_TIME) ? YES : NO; [result.photoView setHidden:!shouldDisplayAvatar]; + auto& imageManip = reinterpret_cast<Interfaces::ImageManipulationDelegate&>(GlobalInstances::pixmapManipulator()); + auto image = QtMac::toNSImage(qvariant_cast<QPixmap>(imageManip.conversationPhoto(*conv, convModel_->owner))); + BOOL showIndicator = convModel_->isLastDisplayed(convUid_, it->first, conv->participants.front()); + [result.readIndicator setHidden: !showIndicator]; + [result.readIndicator setImage:image]; if (!isOutgoing && shouldDisplayAvatar) { - auto& imageManip = reinterpret_cast<Interfaces::ImageManipulationDelegate&>(GlobalInstances::pixmapManipulator()); - [result.photoView setImage:QtMac::toNSImage(qvariant_cast<QPixmap>(imageManip.conversationPhoto(*conv, convModel_->owner)))]; + [result.photoView setImage:image]; } return result; } @@ -689,12 +670,12 @@ typedef NS_ENUM(NSInteger, MessageSequencing) { return HEIGHT_DEFAULT; auto size = [conversationView numberOfRows] - 1; - if (row >= size) { - //last item peer composing view - if (peerComposingMessage) { - return HEIGHT_FOR_COMPOSING_INDICATOR; - } - return 1; + + if (row > size || row > conv->interactions.size()) { + return HEIGHT_DEFAULT; + } + if (row == size) { + return peerComposingMessage ? HEIGHT_FOR_COMPOSING_INDICATOR : DEFAULT_ROW_HEIGHT; } auto it = conv->interactions.begin(); @@ -756,7 +737,7 @@ typedef NS_ENUM(NSInteger, MessageSequencing) { return MAX(messageSize.height + MESSAGE_TEXT_PADDING * 2, singleLignMessageHeight + MESSAGE_TEXT_PADDING * 2); } catch (std::out_of_range& e) { - return 1; + return DEFAULT_ROW_HEIGHT; } } @@ -792,10 +773,10 @@ typedef NS_ENUM(NSInteger, MessageSequencing) { -(MessageSequencing) computeSequencingFor:(NSInteger) row { try { - if (row >= conversationView.numberOfRows - 1) { + auto* conv = [self getCurrentConversation]; + if (row >= conversationView.numberOfRows - 1 || row >= conv->interactions.size()) { return SINGLE_WITHOUT_TIME; } - auto* conv = [self getCurrentConversation]; if (conv == nil) return SINGLE_WITHOUT_TIME; auto it = conv->interactions.begin(); @@ -809,7 +790,7 @@ typedef NS_ENUM(NSInteger, MessageSequencing) { } // first message in comversation if (row == 0) { - if (it == conv->interactions.end()) { + if (it == conv->interactions.end() || conv->interactions.size() < 2) { return SINGLE_WITH_TIME; } auto nextIt = it; @@ -824,7 +805,7 @@ typedef NS_ENUM(NSInteger, MessageSequencing) { return FIRST_WITH_TIME; } // last message in comversation - if (row == conversationView.numberOfRows - 2) { + if (row == conv->interactions.size() - 1) { if(it == conv->interactions.begin()) { return SINGLE_WITH_TIME; } @@ -993,7 +974,7 @@ typedef NS_ENUM(NSInteger, MessageSequencing) { #pragma mark - Actions - (void)acceptIncomingFile:(id)sender { - auto interId = [(IMTableCellView*)[[sender superview] superview] interaction]; + auto interId = [(IMTableCellView*)[[[[[[sender superview] superview] superview] superview] superview] superview] interaction]; auto& inter = [self getCurrentConversation]->interactions.find(interId)->second; if (convModel_ && !convUid_.isEmpty()) { convModel_->acceptTransfer(convUid_, interId); @@ -1001,7 +982,7 @@ typedef NS_ENUM(NSInteger, MessageSequencing) { } - (void)declineIncomingFile:(id)sender { - auto inter = [(IMTableCellView*)[[sender superview] superview] interaction]; + auto inter = [(IMTableCellView*)[[[[[[sender superview] superview] superview] superview] superview] superview] interaction]; if (convModel_ && !convUid_.isEmpty()) { convModel_->cancelTransfer(convUid_, inter); } @@ -1009,10 +990,10 @@ typedef NS_ENUM(NSInteger, MessageSequencing) { - (void)imagePreview:(id)sender { uint64_t interId; - if ([[sender superview] isKindOfClass:[IMTableCellView class]]) { - interId = [(IMTableCellView*)[sender superview] interaction]; - } else if ([[[sender superview] superview] isKindOfClass:[IMTableCellView class]]) { - interId = [(IMTableCellView*)[[sender superview] superview] interaction]; + if ([[[[[[sender superview] superview] superview] superview] superview] isKindOfClass:[IMTableCellView class]]) { + interId = [(IMTableCellView*)[[[[[sender superview] superview] superview] superview] superview] interaction]; + } else if ([[[[[sender superview] superview] superview] superview] isKindOfClass:[IMTableCellView class]]) { + interId = [(IMTableCellView*)[[[[sender superview] superview] superview] superview] interaction]; } else { return; } diff --git a/src/views/IMTableCellView.h b/src/views/IMTableCellView.h index be708877d7eac2912637b2b22ea80abfcebf92a8..7d3ee5aecee924d9f4da218f4f7089cbf8b39a4e 100644 --- a/src/views/IMTableCellView.h +++ b/src/views/IMTableCellView.h @@ -41,15 +41,17 @@ @property (nonatomic, strong) IBOutlet NSView* compozingIndicator1; @property (nonatomic, strong) IBOutlet NSView* compozingIndicator2; @property (nonatomic, strong) IBOutlet NSView* compozingIndicator3; - +@property (assign) IBOutlet NSLayoutConstraint* messageWidthConstraint; +@property (assign) IBOutlet NSLayoutConstraint* messageHeightConstraint; +@property (nonatomic, strong) IBOutlet NSImageView* readIndicator; - (uint64_t) interaction; - (void) setupForInteraction:(uint64_t)inter isFailed:(bool) failed; - (void) setupForInteraction:(uint64_t)inter; - (void) updateMessageConstraint:(CGFloat) width andHeight: (CGFloat) height timeIsVisible: (bool) visible isTopPadding: (bool) padding; -- (void) updateImageConstraint: (CGFloat) width andHeight: (CGFloat) height; +- (void)updateWidthConstraints:(CGFloat)width; +- (void)updateHeightConstraints:(CGFloat)height; - (void) updateImageConstraintWithMax: (CGFloat) maxDimension; -- (void) invalidateImageConstraints; - (void) animateCompozingIndicator:(BOOL) animate; - (void) startBlinkAnimation:(NSView*) view withDelay:(CGFloat) delay; - (void) blinkAnimation: (NSView*) view; diff --git a/src/views/IMTableCellView.mm b/src/views/IMTableCellView.mm index 373f52ebaefc683a1420ca91c976225764d038dc..ce56e69f7d1e212c2ea93a947a5ecbc929b89a72 100644 --- a/src/views/IMTableCellView.mm +++ b/src/views/IMTableCellView.mm @@ -68,71 +68,22 @@ NSString* const TIME_BOX_HEIGHT = @"34"; - (void) setupForInteraction:(uint64_t)inter isFailed:(bool) failed { [self setupForInteraction:inter]; - if (failed) { - self.msgBackground.bgColor = [[NSColor errorColor] lightenColorByValue:0.2]; - } } - - (void) updateMessageConstraint:(CGFloat) width andHeight: (CGFloat) height timeIsVisible: (bool) visible isTopPadding: (bool) padding { - [NSLayoutConstraint deactivateConstraints:[self.msgView constraints]]; - [NSLayoutConstraint deactivateConstraints:[self.timeBox constraints]]; - NSString* formatWidth = [NSString stringWithFormat:@"H:|-%@-[msgView(==%@)]-%@-|", - MESSAGE_MARGIN,[NSString stringWithFormat:@"%f", width], - MESSAGE_MARGIN]; - NSString* formatHeight = [NSString stringWithFormat:@"V:[msgView(==%@)]", - [NSString stringWithFormat:@"%f", height]]; - - NSArray* constraintsMessageHorizontal = [NSLayoutConstraint - constraintsWithVisualFormat:formatWidth - options:NSLayoutFormatAlignAllCenterY - metrics:nil views:NSDictionaryOfVariableBindings(msgView)]; - NSArray* constraintsMessageVertical = [NSLayoutConstraint - constraintsWithVisualFormat:formatHeight - options:0 - metrics:nil views:NSDictionaryOfVariableBindings(msgView)]; - - NSLayoutConstraint* centerMessageConstraint =[NSLayoutConstraint constraintWithItem:msgView - attribute:NSLayoutAttributeCenterY - relatedBy:NSLayoutRelationEqual - toItem:msgView.superview - attribute:NSLayoutAttributeCenterY - multiplier:1.f constant:0.f]; - - NSString* formatTime = [NSString stringWithFormat:@"V:[timeBox(%@)]", TIME_BOX_HEIGHT]; - [self.timeBox setHidden:NO]; - if (!visible) { - formatTime = padding ? [NSString stringWithFormat:@"V:[timeBox(15)]"] : [NSString stringWithFormat:@"V:[timeBox(1)]"]; - [self.timeBox setHidden:YES]; - } - NSArray* constraintsVerticalTimeBox = [NSLayoutConstraint - constraintsWithVisualFormat:formatTime - options:0 - metrics:nil views:NSDictionaryOfVariableBindings(timeBox)]; - NSArray* constraints = [[[constraintsMessageHorizontal arrayByAddingObjectsFromArray:constraintsMessageVertical] - arrayByAddingObject:centerMessageConstraint] arrayByAddingObjectsFromArray:constraintsVerticalTimeBox]; - [NSLayoutConstraint activateConstraints:constraints]; + self.messageWidthConstraint.constant = width; + self.messageHeightConstraint.constant = height; + [self.timeBox setHidden:!visible]; //update message frame immediatly [self.msgView setNeedsDisplay:YES]; } -- (void) updateImageConstraint: (CGFloat) width andHeight: (CGFloat) height { - [NSLayoutConstraint deactivateConstraints:[self.transferedImage constraints]]; - [self.msgBackground setHidden:YES]; - NSString* formatHeight = [NSString stringWithFormat:@"V:[transferedImage(==%@)]",[NSString stringWithFormat:@"%f", height]]; - NSString* formatWidth = [NSString stringWithFormat: - @"H:[transferedImage(==%@)]",[NSString stringWithFormat:@"%f", width]]; - NSArray* constraintsHorizontal = [NSLayoutConstraint - constraintsWithVisualFormat:formatWidth - options:0 - metrics:nil views:NSDictionaryOfVariableBindings(transferedImage)]; - NSArray* constraintsVertical = [NSLayoutConstraint - constraintsWithVisualFormat:formatHeight - options:0 - metrics:nil views:NSDictionaryOfVariableBindings(transferedImage)]; - NSArray* constraints =[constraintsHorizontal arrayByAddingObjectsFromArray:constraintsVertical] ; - [NSLayoutConstraint activateConstraints:constraintsHorizontal]; +- (void)updateHeightConstraints:(CGFloat)height { + self.messageHeightConstraint.constant = height; +} +- (void)updateWidthConstraints:(CGFloat)width { + self.messageWidthConstraint.constant = width; } - (void) updateImageConstraintWithMax: (CGFloat) maxDimension { @@ -148,11 +99,9 @@ NSString* const TIME_BOX_HEIGHT = @"34"; size.width = transferedImage.image.size.width * scale; size.height = transferedImage.image.size.height * scale; } - [self updateImageConstraint:size.width andHeight: size.height]; -} - -- (void) invalidateImageConstraints { - [NSLayoutConstraint deactivateConstraints:[self.transferedImage constraints]]; + [self.msgBackground setHidden:YES]; + [self updateHeightConstraints: size.height]; + [self updateWidthConstraints: size.width]; } - (uint64_t)interaction @@ -207,12 +156,10 @@ NSString* const TIME_BOX_HEIGHT = @"34"; return NO; } -- (void)setFrameSize:(NSSize)newSize -{ - if (newSize.height == 1) { - return; - } - [super setFrameSize: newSize]; +- (void)prepareForReuse { + [super prepareForReuse]; + self.messageWidthConstraint.constant = 1; + self.messageHeightConstraint.constant = 1; } @end diff --git a/ui/Base.lproj/Conversation.xib b/ui/Base.lproj/Conversation.xib index 08696e5eab56011b339533c69bfae31b504b1370..3add79217415872b38a57b10433cb48e149c375f 100644 --- a/ui/Base.lproj/Conversation.xib +++ b/ui/Base.lproj/Conversation.xib @@ -1,7 +1,7 @@ <?xml version="1.0" encoding="UTF-8"?> -<document type="com.apple.InterfaceBuilder3.Cocoa.XIB" version="3.0" toolsVersion="14490.70" targetRuntime="MacOSX.Cocoa" propertyAccessControl="none" useAutolayout="YES"> +<document type="com.apple.InterfaceBuilder3.Cocoa.XIB" version="3.0" toolsVersion="16096" targetRuntime="MacOSX.Cocoa" propertyAccessControl="none" useAutolayout="YES"> <dependencies> - <plugIn identifier="com.apple.InterfaceBuilder.CocoaPlugin" version="14490.70"/> + <plugIn identifier="com.apple.InterfaceBuilder.CocoaPlugin" version="16096"/> <capability name="documents saved in the Xcode 8 format" minToolsVersion="8.0"/> </dependencies> <objects> @@ -19,36 +19,35 @@ <customObject id="-1" userLabel="First Responder" customClass="FirstResponder"/> <customObject id="-3" userLabel="Application" customClass="NSObject"/> <customView wantsLayer="YES" id="Hz6-mo-xeY"> - <rect key="frame" x="0.0" y="0.0" width="798" height="828"/> + <rect key="frame" x="0.0" y="0.0" width="798" height="581"/> <autoresizingMask key="autoresizingMask" flexibleMaxX="YES" flexibleMinY="YES"/> <subviews> <box boxType="custom" borderType="none" cornerRadius="4" title="Box" titlePosition="noTitle" translatesAutoresizingMaskIntoConstraints="NO" id="fh9-Uo-8R1"> - <rect key="frame" x="0.0" y="0.0" width="798" height="828"/> + <rect key="frame" x="0.0" y="0.0" width="798" height="581"/> <view key="contentView" id="RYA-gI-rn1"> - <rect key="frame" x="0.0" y="0.0" width="798" height="828"/> + <rect key="frame" x="0.0" y="0.0" width="798" height="581"/> <autoresizingMask key="autoresizingMask" widthSizable="YES" heightSizable="YES"/> </view> <color key="fillColor" name="windowBackgroundColor" catalog="System" colorSpace="catalog"/> </box> <customView verticalCompressionResistancePriority="250" translatesAutoresizingMaskIntoConstraints="NO" id="EJD-f8-Xqd"> - <rect key="frame" x="0.0" y="60" width="798" height="713"/> + <rect key="frame" x="0.0" y="60" width="798" height="466"/> <subviews> - <scrollView verticalCompressionResistancePriority="250" borderType="none" autohidesScrollers="YES" horizontalLineScroll="62" horizontalPageScroll="10" verticalLineScroll="62" verticalPageScroll="10" hasHorizontalScroller="NO" hasVerticalScroller="NO" usesPredominantAxisScrolling="NO" scrollerKnobStyle="dark" translatesAutoresizingMaskIntoConstraints="NO" id="Ez2-Rf-DZN"> - <rect key="frame" x="49" y="0.0" width="700" height="713"/> - <clipView key="contentView" drawsBackground="NO" copiesOnScroll="NO" id="ofC-Bs-tHR"> - <rect key="frame" x="0.0" y="0.0" width="700" height="713"/> + <scrollView verticalCompressionResistancePriority="250" borderType="none" autohidesScrollers="YES" horizontalLineScroll="90" horizontalPageScroll="10" verticalLineScroll="90" verticalPageScroll="10" hasHorizontalScroller="NO" hasVerticalScroller="NO" usesPredominantAxisScrolling="NO" scrollerKnobStyle="dark" translatesAutoresizingMaskIntoConstraints="NO" id="Ez2-Rf-DZN"> + <rect key="frame" x="49" y="0.0" width="700" height="466"/> + <clipView key="contentView" ambiguous="YES" drawsBackground="NO" copiesOnScroll="NO" id="ofC-Bs-tHR"> + <rect key="frame" x="0.0" y="0.0" width="700" height="466"/> <autoresizingMask key="autoresizingMask" widthSizable="YES" heightSizable="YES"/> <subviews> - <tableView verticalHuggingPriority="750" allowsExpansionToolTips="YES" columnAutoresizingStyle="lastColumnOnly" selectionHighlightStyle="none" autosaveColumns="NO" rowHeight="60" rowSizeStyle="automatic" viewBased="YES" id="bOO-CW-S21"> - <rect key="frame" x="0.0" y="0.0" width="700" height="698"/> - <autoresizingMask key="autoresizingMask"/> + <tableView verticalHuggingPriority="750" ambiguous="YES" allowsExpansionToolTips="YES" columnAutoresizingStyle="lastColumnOnly" selectionHighlightStyle="none" autosaveColumns="NO" rowHeight="88" rowSizeStyle="automatic" usesAutomaticRowHeights="YES" viewBased="YES" id="bOO-CW-S21"> + <rect key="frame" x="0.0" y="0.0" width="700" height="466"/> + <autoresizingMask key="autoresizingMask" widthSizable="YES" heightSizable="YES"/> <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="697" minWidth="40" maxWidth="1000" id="hwp-Th-i2d"> <tableHeaderCell key="headerCell" lineBreakMode="truncatingTail" borderStyle="border"> - <font key="font" metaFont="smallSystem"/> <color key="textColor" name="headerTextColor" catalog="System" colorSpace="catalog"/> <color key="backgroundColor" name="headerColor" catalog="System" colorSpace="catalog"/> </tableHeaderCell> @@ -60,65 +59,114 @@ <tableColumnResizingMask key="resizingMask" resizeWithTable="YES"/> <prototypeCellViews> <tableCellView identifier="LeftMessageView" id="tMT-xX-A4E" userLabel="IMTableCellView" customClass="IMTableCellView"> - <rect key="frame" x="1" y="1" width="697" height="60"/> + <rect key="frame" x="1" y="1" width="697" height="88"/> <autoresizingMask key="autoresizingMask" widthSizable="YES" heightSizable="YES"/> <subviews> - <box boxType="custom" borderType="none" cornerRadius="4" title="Box" translatesAutoresizingMaskIntoConstraints="NO" id="hrX-ac-Quk"> - <rect key="frame" x="0.0" y="26" width="697" height="34"/> - <view key="contentView" id="TZF-1w-4mh"> - <rect key="frame" x="0.0" y="0.0" width="697" height="34"/> - <autoresizingMask key="autoresizingMask" widthSizable="YES" heightSizable="YES"/> - <subviews> - <textField horizontalHuggingPriority="251" verticalHuggingPriority="750" translatesAutoresizingMaskIntoConstraints="NO" id="B6E-x2-crl"> - <rect key="frame" x="345" y="9" width="8" height="17"/> + <stackView distribution="fill" orientation="vertical" alignment="centerX" spacing="0.0" horizontalStackHuggingPriority="249.99998474121094" verticalStackHuggingPriority="249.99998474121094" detachesHiddenViews="YES" translatesAutoresizingMaskIntoConstraints="NO" id="MJb-Bw-bKU"> + <rect key="frame" x="0.0" y="0.0" width="838" height="88"/> + <subviews> + <box boxType="custom" borderType="none" cornerRadius="4" title="Box" translatesAutoresizingMaskIntoConstraints="NO" id="hrX-ac-Quk"> + <rect key="frame" x="71" y="54" width="697" height="34"/> + <view key="contentView" id="TZF-1w-4mh"> + <rect key="frame" x="0.0" y="0.0" width="697" height="34"/> + <autoresizingMask key="autoresizingMask" widthSizable="YES" heightSizable="YES"/> + <subviews> + <textField horizontalHuggingPriority="251" verticalHuggingPriority="750" translatesAutoresizingMaskIntoConstraints="NO" id="B6E-x2-crl"> + <rect key="frame" x="344" y="9" width="8" height="16"/> + <constraints> + <constraint firstAttribute="width" priority="250" constant="20" id="w4C-8s-jzb"/> + </constraints> + <textFieldCell key="cell" scrollable="YES" lineBreakMode="clipping" sendsActionOnEndEditing="YES" alignment="center" id="fO7-y7-Iz9"> + <font key="font" metaFont="system"/> + <color key="textColor" name="secondaryLabelColor" catalog="System" colorSpace="catalog"/> + <color key="backgroundColor" name="controlColor" catalog="System" colorSpace="catalog"/> + </textFieldCell> + </textField> + </subviews> <constraints> - <constraint firstAttribute="width" priority="250" constant="20" id="w4C-8s-jzb"/> + <constraint firstItem="B6E-x2-crl" firstAttribute="centerY" secondItem="TZF-1w-4mh" secondAttribute="centerY" id="LLm-mr-Onl"/> + <constraint firstItem="B6E-x2-crl" firstAttribute="centerX" secondItem="TZF-1w-4mh" secondAttribute="centerX" id="qDo-vn-b6Z"/> </constraints> - <textFieldCell key="cell" scrollable="YES" lineBreakMode="clipping" sendsActionOnEndEditing="YES" alignment="center" id="fO7-y7-Iz9"> - <font key="font" metaFont="system"/> - <color key="textColor" name="secondaryLabelColor" catalog="System" colorSpace="catalog"/> - <color key="backgroundColor" name="controlColor" catalog="System" colorSpace="catalog"/> - </textFieldCell> - </textField> - </subviews> - <constraints> - <constraint firstItem="B6E-x2-crl" firstAttribute="centerY" secondItem="TZF-1w-4mh" secondAttribute="centerY" id="LLm-mr-Onl"/> - <constraint firstItem="B6E-x2-crl" firstAttribute="centerX" secondItem="TZF-1w-4mh" secondAttribute="centerX" id="qDo-vn-b6Z"/> - </constraints> - </view> - <constraints> - <constraint firstAttribute="height" constant="34" id="kH8-Ax-GP0"/> - </constraints> - </box> - <imageView horizontalHuggingPriority="251" verticalHuggingPriority="251" tag="100" translatesAutoresizingMaskIntoConstraints="NO" id="Uy5-qA-IO7"> - <rect key="frame" x="0.0" y="0.0" width="30" height="30"/> - <constraints> - <constraint firstAttribute="height" constant="30" id="Fyz-zn-84R"/> - <constraint firstAttribute="width" constant="30" id="Ybg-RM-bK9"/> - </constraints> - <imageCell key="cell" refusesFirstResponder="YES" alignment="left" imageScaling="proportionallyDown" id="ro7-HT-yYC"/> - </imageView> - <customView ambiguous="YES" translatesAutoresizingMaskIntoConstraints="NO" id="VYf-4a-zyd" customClass="MessageBubbleView"> - <rect key="frame" x="42" y="0.0" width="605" height="26"/> - <subviews> - <customView fixedFrame="YES" translatesAutoresizingMaskIntoConstraints="NO" id="70Z-up-big" customClass="NSTextView"> - <rect key="frame" x="0.0" y="-14" width="605" height="40"/> - <autoresizingMask key="autoresizingMask" flexibleMaxX="YES" flexibleMinY="YES"/> - </customView> + </view> + <constraints> + <constraint firstAttribute="height" constant="34" id="kH8-Ax-GP0"/> + </constraints> + </box> + <stackView distribution="fill" orientation="horizontal" alignment="bottom" spacing="10" horizontalStackHuggingPriority="249.99998474121094" verticalStackHuggingPriority="249.99998474121094" detachesHiddenViews="YES" translatesAutoresizingMaskIntoConstraints="NO" id="UCL-aP-Bmx"> + <rect key="frame" x="0.0" y="0.0" width="838" height="54"/> + <subviews> + <customView translatesAutoresizingMaskIntoConstraints="NO" id="xMq-lF-o2e"> + <rect key="frame" x="0.0" y="0.0" width="30" height="30"/> + <subviews> + <imageView horizontalHuggingPriority="251" verticalHuggingPriority="251" tag="100" translatesAutoresizingMaskIntoConstraints="NO" id="Uy5-qA-IO7"> + <rect key="frame" x="0.0" y="0.0" width="30" height="30"/> + <constraints> + <constraint firstAttribute="height" constant="30" id="Fyz-zn-84R"/> + <constraint firstAttribute="width" constant="30" id="Ybg-RM-bK9"/> + </constraints> + <imageCell key="cell" refusesFirstResponder="YES" alignment="left" imageScaling="proportionallyDown" id="ro7-HT-yYC"/> + </imageView> + </subviews> + <constraints> + <constraint firstItem="Uy5-qA-IO7" firstAttribute="centerY" secondItem="xMq-lF-o2e" secondAttribute="centerY" id="3o8-az-WJl"/> + <constraint firstItem="Uy5-qA-IO7" firstAttribute="centerX" secondItem="xMq-lF-o2e" secondAttribute="centerX" id="MdG-M1-JKz"/> + <constraint firstAttribute="width" constant="30" id="WbD-1S-7Ws"/> + <constraint firstAttribute="height" constant="30" id="mXG-fg-Qod"/> + </constraints> + </customView> + <customView translatesAutoresizingMaskIntoConstraints="NO" id="VYf-4a-zyd" customClass="MessageBubbleView"> + <rect key="frame" x="40" y="0.0" width="625" height="54"/> + <subviews> + <customView translatesAutoresizingMaskIntoConstraints="NO" id="70Z-up-big" customClass="NSTextView"> + <rect key="frame" x="10" y="10" width="605" height="34"/> + <constraints> + <constraint firstAttribute="width" constant="605" id="9wH-02-CiJ"/> + <constraint firstAttribute="height" constant="34" id="efF-nS-JGz"/> + </constraints> + </customView> + </subviews> + <constraints> + <constraint firstAttribute="bottom" secondItem="70Z-up-big" secondAttribute="bottom" constant="10" id="5Al-QW-ryG"/> + <constraint firstItem="70Z-up-big" firstAttribute="top" secondItem="VYf-4a-zyd" secondAttribute="top" constant="10" id="6Mw-aX-R8c"/> + <constraint firstItem="70Z-up-big" firstAttribute="leading" secondItem="VYf-4a-zyd" secondAttribute="leading" constant="10" id="V9K-kc-Opj"/> + <constraint firstAttribute="trailing" secondItem="70Z-up-big" secondAttribute="trailing" constant="10" id="wBY-el-Mxl"/> + </constraints> + </customView> + <customView translatesAutoresizingMaskIntoConstraints="NO" id="7fW-6Z-D7B"> + <rect key="frame" x="675" y="0.0" width="163" height="50"/> + </customView> + </subviews> + <visibilityPriorities> + <integer value="1000"/> + <integer value="1000"/> + <integer value="1000"/> + </visibilityPriorities> + <customSpacing> + <real value="3.4028234663852886e+38"/> + <real value="3.4028234663852886e+38"/> + <real value="3.4028234663852886e+38"/> + </customSpacing> + </stackView> </subviews> - </customView> + <visibilityPriorities> + <integer value="1000"/> + <integer value="1000"/> + </visibilityPriorities> + <customSpacing> + <real value="3.4028234663852886e+38"/> + <real value="3.4028234663852886e+38"/> + </customSpacing> + </stackView> </subviews> <constraints> - <constraint firstItem="Uy5-qA-IO7" firstAttribute="leading" secondItem="tMT-xX-A4E" secondAttribute="leading" id="45F-kb-ZCT"/> - <constraint firstItem="hrX-ac-Quk" firstAttribute="top" secondItem="tMT-xX-A4E" secondAttribute="top" id="5Ta-2M-FOm"/> - <constraint firstAttribute="trailing" secondItem="hrX-ac-Quk" secondAttribute="trailing" id="5t9-Xm-A6A"/> - <constraint firstItem="VYf-4a-zyd" firstAttribute="bottom" secondItem="Uy5-qA-IO7" secondAttribute="bottom" id="GlU-Au-yMF"/> - <constraint firstItem="VYf-4a-zyd" firstAttribute="leading" secondItem="Uy5-qA-IO7" secondAttribute="trailing" constant="12" id="PlF-GX-T6E"/> - <constraint firstItem="hrX-ac-Quk" firstAttribute="leading" secondItem="tMT-xX-A4E" secondAttribute="leading" id="Tem-Eb-rIN"/> - <constraint firstItem="VYf-4a-zyd" firstAttribute="top" secondItem="hrX-ac-Quk" secondAttribute="bottom" id="aQw-dj-DFI"/> - <constraint firstAttribute="bottom" secondItem="VYf-4a-zyd" secondAttribute="bottom" id="jPc-Jw-acQ"/> + <constraint firstItem="MJb-Bw-bKU" firstAttribute="top" secondItem="tMT-xX-A4E" secondAttribute="top" id="5HL-6G-d4I"/> + <constraint firstAttribute="trailing" secondItem="MJb-Bw-bKU" secondAttribute="trailing" id="SX8-bO-iFM"/> + <constraint firstAttribute="bottom" secondItem="MJb-Bw-bKU" secondAttribute="bottom" id="ZKz-jt-avh"/> + <constraint firstItem="MJb-Bw-bKU" firstAttribute="leading" secondItem="tMT-xX-A4E" secondAttribute="leading" id="ZOq-TQ-9Ac"/> </constraints> <connections> + <outlet property="messageHeightConstraint" destination="efF-nS-JGz" id="GcS-sL-BnR"/> + <outlet property="messageWidthConstraint" destination="9wH-02-CiJ" id="mYY-qX-leo"/> <outlet property="msgBackground" destination="VYf-4a-zyd" id="ocX-FS-gSN"/> <outlet property="msgView" destination="70Z-up-big" id="4DD-c6-QQX"/> <outlet property="photoView" destination="Uy5-qA-IO7" id="jaJ-4h-2Qs"/> @@ -126,144 +174,210 @@ <outlet property="timeLabel" destination="B6E-x2-crl" id="gUo-fj-mp5"/> </connections> </tableCellView> - <tableCellView identifier="RightMessageView" id="Kuf-56-7Og" userLabel="IMTableCellView" customClass="IMTableCellView"> - <rect key="frame" x="1" y="63" width="697" height="60"/> + <tableCellView identifier="RightMessageView" misplaced="YES" id="Kuf-56-7Og" userLabel="IMTableCellView" customClass="IMTableCellView"> + <rect key="frame" x="1" y="91" width="697" height="88"/> <autoresizingMask key="autoresizingMask" widthSizable="YES" heightSizable="YES"/> <subviews> - <box boxType="custom" borderType="none" cornerRadius="4" title="Box" translatesAutoresizingMaskIntoConstraints="NO" id="ciI-CA-tly"> - <rect key="frame" x="0.0" y="26" width="697" height="34"/> - <view key="contentView" id="kLf-dt-4qD"> - <rect key="frame" x="0.0" y="0.0" width="697" height="34"/> - <autoresizingMask key="autoresizingMask" widthSizable="YES" heightSizable="YES"/> - <subviews> - <textField horizontalHuggingPriority="251" verticalHuggingPriority="750" translatesAutoresizingMaskIntoConstraints="NO" id="FC0-ft-pR6"> - <rect key="frame" x="345" y="9" width="8" height="17"/> + <stackView distribution="fill" orientation="vertical" alignment="centerX" spacing="0.0" horizontalStackHuggingPriority="249.99998474121094" verticalStackHuggingPriority="249.99998474121094" detachesHiddenViews="YES" translatesAutoresizingMaskIntoConstraints="NO" id="0hV-26-r5V"> + <rect key="frame" x="0.0" y="0.0" width="905" height="88"/> + <subviews> + <box boxType="custom" borderType="none" cornerRadius="4" title="Box" translatesAutoresizingMaskIntoConstraints="NO" id="ciI-CA-tly"> + <rect key="frame" x="104" y="54" width="697" height="34"/> + <view key="contentView" id="kLf-dt-4qD"> + <rect key="frame" x="0.0" y="0.0" width="697" height="34"/> + <autoresizingMask key="autoresizingMask" widthSizable="YES" heightSizable="YES"/> + <subviews> + <textField horizontalHuggingPriority="251" verticalHuggingPriority="750" translatesAutoresizingMaskIntoConstraints="NO" id="FC0-ft-pR6"> + <rect key="frame" x="345" y="9" width="8" height="16"/> + <constraints> + <constraint firstAttribute="width" priority="250" constant="20" id="zFg-aY-OWW"/> + </constraints> + <textFieldCell key="cell" scrollable="YES" lineBreakMode="clipping" sendsActionOnEndEditing="YES" alignment="center" id="E8q-bO-Ify"> + <font key="font" metaFont="system"/> + <color key="textColor" name="secondaryLabelColor" catalog="System" colorSpace="catalog"/> + <color key="backgroundColor" name="controlColor" catalog="System" colorSpace="catalog"/> + </textFieldCell> + </textField> + </subviews> <constraints> - <constraint firstAttribute="width" priority="250" constant="20" id="zFg-aY-OWW"/> + <constraint firstItem="FC0-ft-pR6" firstAttribute="centerX" secondItem="kLf-dt-4qD" secondAttribute="centerX" id="207-Qu-Eez"/> + <constraint firstItem="FC0-ft-pR6" firstAttribute="centerY" secondItem="kLf-dt-4qD" secondAttribute="centerY" id="6Yw-nO-Shc"/> </constraints> - <textFieldCell key="cell" scrollable="YES" lineBreakMode="clipping" sendsActionOnEndEditing="YES" alignment="center" id="E8q-bO-Ify"> - <font key="font" metaFont="system"/> - <color key="textColor" name="secondaryLabelColor" catalog="System" colorSpace="catalog"/> - <color key="backgroundColor" name="controlColor" catalog="System" colorSpace="catalog"/> - </textFieldCell> - </textField> - </subviews> - <constraints> - <constraint firstItem="FC0-ft-pR6" firstAttribute="centerX" secondItem="kLf-dt-4qD" secondAttribute="centerX" id="207-Qu-Eez"/> - <constraint firstItem="FC0-ft-pR6" firstAttribute="centerY" secondItem="kLf-dt-4qD" secondAttribute="centerY" id="6Yw-nO-Shc"/> - </constraints> - </view> - <constraints> - <constraint firstAttribute="height" constant="34" id="qNQ-nX-BRr"/> - </constraints> - </box> - <customView ambiguous="YES" translatesAutoresizingMaskIntoConstraints="NO" id="Sfu-lT-vTc" customClass="MessageBubbleView"> - <rect key="frame" x="5" y="0.0" width="692" height="26"/> - <subviews> - <customView fixedFrame="YES" translatesAutoresizingMaskIntoConstraints="NO" id="gob-L5-RgR" customClass="NSTextView"> - <rect key="frame" x="0.0" y="-14" width="692" height="40"/> - <autoresizingMask key="autoresizingMask" flexibleMaxX="YES" flexibleMinY="YES"/> - </customView> - </subviews> - </customView> - <customView ambiguous="YES" translatesAutoresizingMaskIntoConstraints="NO" id="R85-0p-W1u"> - <rect key="frame" x="323" y="0.0" width="30" height="30"/> - <subviews> - <progressIndicator wantsLayer="YES" horizontalHuggingPriority="750" verticalHuggingPriority="750" maxValue="100" bezeled="NO" indeterminate="YES" controlSize="small" style="spinning" translatesAutoresizingMaskIntoConstraints="NO" id="0wQ-xJ-dyK"> - <rect key="frame" x="7" y="7" width="16" height="16"/> - <constraints> - <constraint firstAttribute="height" constant="16" id="1bf-RT-KMB"/> - <constraint firstAttribute="width" constant="16" id="gx0-ZN-nlt"/> - </constraints> - </progressIndicator> - <imageView horizontalHuggingPriority="251" verticalHuggingPriority="251" translatesAutoresizingMaskIntoConstraints="NO" id="za2-Ke-9nQ"> - <rect key="frame" x="9" y="5" width="16" height="16"/> + </view> <constraints> - <constraint firstAttribute="width" constant="16" id="BKb-Uw-NSP"/> - <constraint firstAttribute="height" constant="16" id="IoY-PR-zGC"/> + <constraint firstAttribute="height" constant="34" id="qNQ-nX-BRr"/> </constraints> - <imageCell key="cell" refusesFirstResponder="YES" alignment="left" imageScaling="proportionallyDown" image="ic_action_cancel" id="O50-s7-kS5"/> - </imageView> + </box> + <stackView distribution="fill" orientation="horizontal" alignment="bottom" spacing="0.0" horizontalStackHuggingPriority="249.99998474121094" verticalStackHuggingPriority="249.99998474121094" detachesHiddenViews="YES" translatesAutoresizingMaskIntoConstraints="NO" id="EDw-RD-HSl"> + <rect key="frame" x="0.0" y="0.0" width="905" height="54"/> + <subviews> + <customView translatesAutoresizingMaskIntoConstraints="NO" id="AXr-n8-eGu"> + <rect key="frame" x="0.0" y="0.0" width="163" height="50"/> + </customView> + <customView translatesAutoresizingMaskIntoConstraints="NO" id="R85-0p-W1u"> + <rect key="frame" x="163" y="0.0" width="30" height="30"/> + <subviews> + <progressIndicator wantsLayer="YES" horizontalHuggingPriority="750" verticalHuggingPriority="750" maxValue="100" bezeled="NO" indeterminate="YES" controlSize="small" style="spinning" translatesAutoresizingMaskIntoConstraints="NO" id="0wQ-xJ-dyK"> + <rect key="frame" x="7" y="7" width="16" height="16"/> + <constraints> + <constraint firstAttribute="height" constant="16" id="1bf-RT-KMB"/> + <constraint firstAttribute="width" constant="16" id="gx0-ZN-nlt"/> + </constraints> + </progressIndicator> + <imageView horizontalHuggingPriority="251" verticalHuggingPriority="251" translatesAutoresizingMaskIntoConstraints="NO" id="za2-Ke-9nQ"> + <rect key="frame" x="7" y="7" width="16" height="16"/> + <constraints> + <constraint firstAttribute="width" constant="16" id="BKb-Uw-NSP"/> + <constraint firstAttribute="height" constant="16" id="IoY-PR-zGC"/> + </constraints> + <imageCell key="cell" refusesFirstResponder="YES" alignment="left" imageScaling="proportionallyDown" image="ic_action_cancel" id="O50-s7-kS5"/> + </imageView> + </subviews> + <constraints> + <constraint firstItem="0wQ-xJ-dyK" firstAttribute="centerY" secondItem="R85-0p-W1u" secondAttribute="centerY" id="4Q5-BA-55W"/> + <constraint firstItem="za2-Ke-9nQ" firstAttribute="centerY" secondItem="R85-0p-W1u" secondAttribute="centerY" id="JfZ-Oy-vDY"/> + <constraint firstItem="za2-Ke-9nQ" firstAttribute="centerX" secondItem="R85-0p-W1u" secondAttribute="centerX" id="PND-18-dtW"/> + <constraint firstAttribute="width" constant="30" id="jtG-UX-K2l"/> + <constraint firstItem="0wQ-xJ-dyK" firstAttribute="centerX" secondItem="R85-0p-W1u" secondAttribute="centerX" id="s9z-1g-wng"/> + <constraint firstAttribute="height" constant="30" id="yN5-VE-3mY"/> + </constraints> + </customView> + <customView translatesAutoresizingMaskIntoConstraints="NO" id="Sfu-lT-vTc" customClass="MessageBubbleView"> + <rect key="frame" x="193" y="0.0" width="696" height="54"/> + <subviews> + <customView translatesAutoresizingMaskIntoConstraints="NO" id="gob-L5-RgR" customClass="NSTextView"> + <rect key="frame" x="10" y="10" width="676" height="34"/> + <constraints> + <constraint firstAttribute="height" constant="34" id="5Ns-eX-r5R"/> + <constraint firstAttribute="width" constant="676" id="wWx-dA-Pgs"/> + </constraints> + </customView> + </subviews> + <constraints> + <constraint firstAttribute="trailing" secondItem="gob-L5-RgR" secondAttribute="trailing" constant="10" id="B8c-xz-OWp"/> + <constraint firstItem="gob-L5-RgR" firstAttribute="leading" secondItem="Sfu-lT-vTc" secondAttribute="leading" constant="10" id="L7D-U8-NPf"/> + <constraint firstItem="gob-L5-RgR" firstAttribute="top" secondItem="Sfu-lT-vTc" secondAttribute="top" constant="10" id="RYa-h1-Y5t"/> + <constraint firstAttribute="bottom" secondItem="gob-L5-RgR" secondAttribute="bottom" constant="10" id="Vcl-My-fmL"/> + </constraints> + </customView> + <customView translatesAutoresizingMaskIntoConstraints="NO" id="Yfn-dQ-3Ey"> + <rect key="frame" x="889" y="0.0" width="16" height="12"/> + <subviews> + <imageView horizontalHuggingPriority="251" verticalHuggingPriority="251" translatesAutoresizingMaskIntoConstraints="NO" id="9J6-IK-l3e"> + <rect key="frame" x="2" y="0.0" width="12" height="12"/> + <constraints> + <constraint firstAttribute="height" constant="12" id="8x6-WH-L5h"/> + <constraint firstAttribute="width" constant="12" id="VP9-md-blP"/> + </constraints> + <imageCell key="cell" refusesFirstResponder="YES" alignment="left" imageScaling="proportionallyUpOrDown" id="q3y-rE-cux"/> + </imageView> + </subviews> + <constraints> + <constraint firstAttribute="height" constant="12" id="4hE-MT-mNv"/> + <constraint firstItem="9J6-IK-l3e" firstAttribute="centerY" secondItem="Yfn-dQ-3Ey" secondAttribute="centerY" id="ICE-QN-0qE"/> + <constraint firstItem="9J6-IK-l3e" firstAttribute="centerX" secondItem="Yfn-dQ-3Ey" secondAttribute="centerX" id="QFl-uy-jII"/> + <constraint firstAttribute="width" constant="16" id="wea-cF-RyG"/> + </constraints> + </customView> + </subviews> + <visibilityPriorities> + <integer value="1000"/> + <integer value="1000"/> + <integer value="1000"/> + <integer value="1000"/> + </visibilityPriorities> + <customSpacing> + <real value="3.4028234663852886e+38"/> + <real value="3.4028234663852886e+38"/> + <real value="3.4028234663852886e+38"/> + <real value="3.4028234663852886e+38"/> + </customSpacing> + </stackView> </subviews> - <constraints> - <constraint firstItem="0wQ-xJ-dyK" firstAttribute="centerX" secondItem="R85-0p-W1u" secondAttribute="centerX" id="KLO-Vq-RJs"/> - <constraint firstAttribute="trailing" secondItem="za2-Ke-9nQ" secondAttribute="trailing" constant="5" id="QhI-3G-EAl"/> - <constraint firstAttribute="bottom" secondItem="za2-Ke-9nQ" secondAttribute="bottom" constant="5" id="RWd-cl-5nZ"/> - <constraint firstItem="0wQ-xJ-dyK" firstAttribute="centerY" secondItem="R85-0p-W1u" secondAttribute="centerY" id="cey-zL-zGt"/> - <constraint firstAttribute="width" constant="30" id="jtG-UX-K2l"/> - <constraint firstAttribute="height" constant="30" id="yN5-VE-3mY"/> - </constraints> - </customView> + <visibilityPriorities> + <integer value="1000"/> + <integer value="1000"/> + </visibilityPriorities> + <customSpacing> + <real value="3.4028234663852886e+38"/> + <real value="3.4028234663852886e+38"/> + </customSpacing> + </stackView> </subviews> <constraints> - <constraint firstAttribute="bottom" secondItem="Sfu-lT-vTc" secondAttribute="bottom" id="0kN-n6-dbi"/> - <constraint firstAttribute="trailing" secondItem="ciI-CA-tly" secondAttribute="trailing" id="2UR-qR-jbN"/> - <constraint firstItem="R85-0p-W1u" firstAttribute="bottom" secondItem="Sfu-lT-vTc" secondAttribute="bottom" id="D27-qd-IeC"/> - <constraint firstAttribute="trailing" secondItem="Sfu-lT-vTc" secondAttribute="trailing" id="Dud-fA-h31"/> - <constraint firstItem="Sfu-lT-vTc" firstAttribute="leading" secondItem="R85-0p-W1u" secondAttribute="trailing" id="Mwz-p4-40h"/> - <constraint firstItem="Sfu-lT-vTc" firstAttribute="top" secondItem="ciI-CA-tly" secondAttribute="bottom" id="djM-3i-lA2"/> - <constraint firstItem="ciI-CA-tly" firstAttribute="leading" secondItem="Kuf-56-7Og" secondAttribute="leading" id="fUJ-Nz-gfY"/> - <constraint firstItem="ciI-CA-tly" firstAttribute="top" secondItem="Kuf-56-7Og" secondAttribute="top" id="kle-LJ-tbx"/> + <constraint firstItem="0hV-26-r5V" firstAttribute="leading" secondItem="Kuf-56-7Og" secondAttribute="leading" id="ArR-M5-AZo"/> + <constraint firstAttribute="trailing" secondItem="0hV-26-r5V" secondAttribute="trailing" id="gUd-qT-tIc"/> + <constraint firstAttribute="bottom" secondItem="0hV-26-r5V" secondAttribute="bottom" id="mCN-G1-oMB"/> + <constraint firstItem="0hV-26-r5V" firstAttribute="top" secondItem="Kuf-56-7Og" secondAttribute="top" id="pF5-ia-5sX"/> </constraints> <connections> <outlet property="messageFailed" destination="za2-Ke-9nQ" id="xJl-IG-hnJ"/> + <outlet property="messageHeightConstraint" destination="5Ns-eX-r5R" id="KWV-VY-NtQ"/> <outlet property="messageStatus" destination="R85-0p-W1u" id="m2j-ho-aqf"/> + <outlet property="messageWidthConstraint" destination="wWx-dA-Pgs" id="Fws-Nl-Taf"/> <outlet property="msgBackground" destination="Sfu-lT-vTc" id="7bK-eM-vle"/> <outlet property="msgView" destination="gob-L5-RgR" id="jaX-qj-YQA"/> + <outlet property="readIndicator" destination="9J6-IK-l3e" id="3Ht-zy-W9V"/> <outlet property="sendingMessageIndicator" destination="0wQ-xJ-dyK" id="L3B-H1-yTq"/> <outlet property="timeBox" destination="ciI-CA-tly" id="xLR-6A-bON"/> <outlet property="timeLabel" destination="FC0-ft-pR6" id="KpW-ed-esW"/> </connections> </tableCellView> <tableCellView identifier="GenericInteractionView" id="pNa-Do-cpO" userLabel="GenericInteractionView"> - <rect key="frame" x="1" y="125" width="697" height="60"/> + <rect key="frame" x="1" y="181" width="697" height="57"/> <autoresizingMask key="autoresizingMask" widthSizable="YES" heightSizable="YES"/> <subviews> - <box boxType="custom" borderType="none" cornerRadius="4" title="Box" translatesAutoresizingMaskIntoConstraints="NO" id="pRL-vb-me9"> - <rect key="frame" x="0.0" y="33" width="697" height="20"/> - <view key="contentView" id="iVA-Tj-VbA"> - <rect key="frame" x="0.0" y="0.0" width="697" height="20"/> - <autoresizingMask key="autoresizingMask" widthSizable="YES" heightSizable="YES"/> - <subviews> - <textField horizontalHuggingPriority="251" verticalHuggingPriority="750" tag="200" translatesAutoresizingMaskIntoConstraints="NO" id="WSh-d6-EpR"> - <rect key="frame" x="345" y="2" width="8" height="17"/> - <constraints> - <constraint firstAttribute="width" priority="250" constant="20" id="8Nd-Xa-aax"/> - </constraints> - <textFieldCell key="cell" scrollable="YES" lineBreakMode="clipping" sendsActionOnEndEditing="YES" alignment="center" id="t8v-wm-DsX"> - <font key="font" metaFont="system"/> - <color key="textColor" name="secondaryLabelColor" catalog="System" colorSpace="catalog"/> - <color key="backgroundColor" name="controlColor" catalog="System" colorSpace="catalog"/> - </textFieldCell> - </textField> - </subviews> - <constraints> - <constraint firstItem="WSh-d6-EpR" firstAttribute="centerY" secondItem="iVA-Tj-VbA" secondAttribute="centerY" id="GAR-rf-ja9"/> - <constraint firstItem="WSh-d6-EpR" firstAttribute="centerX" secondItem="iVA-Tj-VbA" secondAttribute="centerX" id="NVw-O3-WRG"/> - </constraints> - </view> - <constraints> - <constraint firstAttribute="height" constant="20" id="sNr-mm-ozG"/> - </constraints> - </box> - <textField horizontalHuggingPriority="251" verticalHuggingPriority="750" tag="100" translatesAutoresizingMaskIntoConstraints="NO" id="35p-WS-DUv" userLabel="ContactInteractionLabel"> - <rect key="frame" x="347" y="11" width="4" height="17"/> - <constraints> - <constraint firstAttribute="height" constant="17" id="azh-RJ-oYw"/> - </constraints> - <textFieldCell key="cell" scrollable="YES" lineBreakMode="clipping" sendsActionOnEndEditing="YES" id="jRF-Jm-tK5"> - <font key="font" metaFont="systemLight" size="13"/> - <color key="textColor" name="secondaryLabelColor" catalog="System" colorSpace="catalog"/> - <color key="backgroundColor" name="controlColor" catalog="System" colorSpace="catalog"/> - </textFieldCell> - </textField> + <stackView distribution="fill" orientation="vertical" alignment="centerX" spacing="5" horizontalStackHuggingPriority="249.99998474121094" verticalStackHuggingPriority="249.99998474121094" detachesHiddenViews="YES" translatesAutoresizingMaskIntoConstraints="NO" id="cNK-fF-Lpr"> + <rect key="frame" x="0.0" y="0.0" width="697" height="57"/> + <subviews> + <customView translatesAutoresizingMaskIntoConstraints="NO" id="vU3-4K-kQn"> + <rect key="frame" x="267" y="52" width="163" height="5"/> + <constraints> + <constraint firstAttribute="height" constant="5" id="Epp-SP-a0x"/> + </constraints> + </customView> + <textField horizontalHuggingPriority="251" verticalHuggingPriority="750" tag="200" translatesAutoresizingMaskIntoConstraints="NO" id="WSh-d6-EpR"> + <rect key="frame" x="345" y="31" width="8" height="16"/> + <textFieldCell key="cell" scrollable="YES" lineBreakMode="clipping" sendsActionOnEndEditing="YES" alignment="center" id="t8v-wm-DsX"> + <font key="font" metaFont="system"/> + <color key="textColor" name="secondaryLabelColor" catalog="System" colorSpace="catalog"/> + <color key="backgroundColor" name="controlColor" catalog="System" colorSpace="catalog"/> + </textFieldCell> + </textField> + <textField horizontalHuggingPriority="251" verticalHuggingPriority="750" tag="100" translatesAutoresizingMaskIntoConstraints="NO" id="35p-WS-DUv" userLabel="ContactInteractionLabel"> + <rect key="frame" x="322" y="10" width="54" height="16"/> + <textFieldCell key="cell" scrollable="YES" lineBreakMode="clipping" sendsActionOnEndEditing="YES" id="jRF-Jm-tK5"> + <font key="font" metaFont="systemLight" size="13"/> + <color key="textColor" name="secondaryLabelColor" catalog="System" colorSpace="catalog"/> + <color key="backgroundColor" name="controlColor" catalog="System" colorSpace="catalog"/> + </textFieldCell> + </textField> + <customView translatesAutoresizingMaskIntoConstraints="NO" id="oPA-sy-apu"> + <rect key="frame" x="267" y="0.0" width="163" height="5"/> + <constraints> + <constraint firstAttribute="height" constant="5" id="7eo-h4-yxe"/> + </constraints> + </customView> + </subviews> + <visibilityPriorities> + <integer value="1000"/> + <integer value="1000"/> + <integer value="1000"/> + <integer value="1000"/> + </visibilityPriorities> + <customSpacing> + <real value="3.4028234663852886e+38"/> + <real value="3.4028234663852886e+38"/> + <real value="3.4028234663852886e+38"/> + <real value="3.4028234663852886e+38"/> + </customSpacing> + </stackView> </subviews> <constraints> - <constraint firstItem="pRL-vb-me9" firstAttribute="top" secondItem="pNa-Do-cpO" secondAttribute="top" constant="7" id="Va0-uf-PZg"/> - <constraint firstItem="35p-WS-DUv" firstAttribute="top" secondItem="pRL-vb-me9" secondAttribute="bottom" constant="5" id="f03-hS-3Vo"/> - <constraint firstAttribute="trailing" secondItem="pRL-vb-me9" secondAttribute="trailing" id="hjz-dn-8tG"/> - <constraint firstItem="35p-WS-DUv" firstAttribute="centerX" secondItem="pNa-Do-cpO" secondAttribute="centerX" id="im5-bF-xb1"/> - <constraint firstItem="pRL-vb-me9" firstAttribute="leading" secondItem="pNa-Do-cpO" secondAttribute="leading" id="kEo-JG-JUz"/> + <constraint firstItem="cNK-fF-Lpr" firstAttribute="leading" secondItem="pNa-Do-cpO" secondAttribute="leading" id="9IF-fT-c9l"/> + <constraint firstAttribute="bottom" secondItem="cNK-fF-Lpr" secondAttribute="bottom" id="GmM-hJ-54c"/> + <constraint firstAttribute="trailing" secondItem="cNK-fF-Lpr" secondAttribute="trailing" id="Ipe-9G-TTv"/> + <constraint firstItem="cNK-fF-Lpr" firstAttribute="top" secondItem="pNa-Do-cpO" secondAttribute="top" id="SHe-ji-vpp"/> </constraints> </tableCellView> </prototypeCellViews> @@ -279,7 +393,7 @@ <constraints> <constraint firstAttribute="width" constant="700" id="hVv-sa-XIA"/> </constraints> - <edgeInsets key="contentInsets" left="0.0" right="0.0" top="0.0" bottom="15"/> + <edgeInsets key="contentInsets" left="0.0" right="0.0" top="0.0" bottom="0.0"/> <scroller key="horizontalScroller" hidden="YES" wantsLayer="YES" verticalHuggingPriority="750" horizontal="YES" id="6oQ-AB-A54"> <rect key="frame" x="-100" y="-100" width="739" height="15"/> <autoresizingMask key="autoresizingMask"/> @@ -297,15 +411,15 @@ </constraints> </customView> <box verticalHuggingPriority="750" boxType="separator" translatesAutoresizingMaskIntoConstraints="NO" id="Sn1-dJ-QCw"> - <rect key="frame" x="0.0" y="770" width="798" height="5"/> + <rect key="frame" x="0.0" y="523" width="798" height="5"/> </box> <button toolTip="Back" horizontalHuggingPriority="750" verticalHuggingPriority="750" translatesAutoresizingMaskIntoConstraints="NO" id="ooq-vs-Xt1" customClass="HoverButton"> - <rect key="frame" x="10" y="783" width="35" height="35"/> + <rect key="frame" x="10" y="536" width="35" height="35"/> <constraints> <constraint firstAttribute="height" constant="35" id="69o-49-0QB"/> <constraint firstAttribute="width" constant="35" id="ImE-zq-KIj"/> </constraints> - <buttonCell key="cell" type="square" bezelStyle="shadowlessSquare" image="ic_arrow_back" imagePosition="overlaps" alignment="center" transparent="YES" imageScaling="proportionallyDown" id="DP0-lw-oRl"> + <buttonCell key="cell" type="square" bezelStyle="shadowlessSquare" image="ic_arrow_back" imagePosition="only" alignment="center" transparent="YES" imageScaling="proportionallyDown" id="DP0-lw-oRl"> <behavior key="behavior" pushIn="YES" lightByBackground="YES" lightByGray="YES"/> <font key="font" metaFont="system"/> </buttonCell> @@ -345,7 +459,7 @@ <constraint firstAttribute="height" constant="32" id="2As-E1-3wN"/> <constraint firstAttribute="width" constant="32" id="ThY-e2-Xwc"/> </constraints> - <buttonCell key="cell" type="square" bezelStyle="shadowlessSquare" image="ic_audio_msg" imagePosition="overlaps" alignment="center" transparent="YES" imageScaling="proportionallyUpOrDown" inset="2" id="1zm-4M-OeR"> + <buttonCell key="cell" type="square" bezelStyle="shadowlessSquare" image="ic_audio_msg" imagePosition="only" alignment="center" transparent="YES" imageScaling="proportionallyUpOrDown" inset="2" id="1zm-4M-OeR"> <behavior key="behavior" pushIn="YES" lightByBackground="YES" lightByGray="YES"/> <font key="font" metaFont="system"/> </buttonCell> @@ -383,7 +497,7 @@ <constraint firstAttribute="height" constant="32" id="GRp-fA-Pkp"/> <constraint firstAttribute="width" constant="32" id="f5f-YQ-2i3"/> </constraints> - <buttonCell key="cell" type="square" bezelStyle="shadowlessSquare" image="ic_camera" imagePosition="overlaps" alignment="center" transparent="YES" imageScaling="proportionallyUpOrDown" inset="2" id="sjp-jf-vw1"> + <buttonCell key="cell" type="square" bezelStyle="shadowlessSquare" image="ic_camera" imagePosition="only" alignment="center" transparent="YES" imageScaling="proportionallyUpOrDown" inset="2" id="sjp-jf-vw1"> <behavior key="behavior" pushIn="YES" lightByBackground="YES" lightByGray="YES"/> <font key="font" metaFont="system"/> </buttonCell> @@ -414,7 +528,7 @@ <constraint firstAttribute="height" constant="32" id="C2W-wV-YvF"/> <constraint firstAttribute="width" constant="32" id="zZF-4P-pW9"/> </constraints> - <buttonCell key="cell" type="square" bezelStyle="shadowlessSquare" image="ic_file_upload" imagePosition="overlaps" alignment="center" enabled="NO" transparent="YES" imageScaling="proportionallyDown" inset="2" id="gfQ-c5-YPu"> + <buttonCell key="cell" type="square" bezelStyle="shadowlessSquare" image="ic_file_upload" imagePosition="only" alignment="center" enabled="NO" transparent="YES" imageScaling="proportionallyDown" inset="2" id="gfQ-c5-YPu"> <behavior key="behavior" pushIn="YES" lightByBackground="YES" lightByGray="YES"/> <font key="font" metaFont="system"/> </buttonCell> @@ -440,7 +554,7 @@ </connections> </button> <textField verticalCompressionResistancePriority="1000" allowsCharacterPickerTouchBarItem="YES" translatesAutoresizingMaskIntoConstraints="NO" id="bsk-Gj-qQ2"> - <rect key="frame" x="106" y="22" width="520" height="17"/> + <rect key="frame" x="106" y="22" width="520" height="16"/> <textFieldCell key="cell" lineBreakMode="charWrapping" selectable="YES" editable="YES" sendsActionOnEndEditing="YES" state="on" placeholderString="Send a message" id="Ilz-7v-2fr"> <font key="font" metaFont="system"/> <color key="textColor" name="controlTextColor" catalog="System" colorSpace="catalog"/> @@ -503,7 +617,7 @@ <constraint firstAttribute="width" constant="32" id="TmF-ip-m4C"/> <constraint firstAttribute="height" constant="32" id="rbQ-lE-sAq"/> </constraints> - <buttonCell key="cell" type="square" bezelStyle="shadowlessSquare" image="ic_action_send" imagePosition="overlaps" alignment="center" enabled="NO" transparent="YES" imageScaling="proportionallyDown" inset="2" id="s6a-eK-t3T"> + <buttonCell key="cell" type="square" bezelStyle="shadowlessSquare" image="ic_action_send" imagePosition="only" alignment="center" enabled="NO" transparent="YES" imageScaling="proportionallyDown" inset="2" id="s6a-eK-t3T"> <behavior key="behavior" pushIn="YES" lightByBackground="YES" lightByGray="YES"/> <font key="font" metaFont="system"/> </buttonCell> @@ -566,7 +680,7 @@ </constraints> </customView> <textField horizontalHuggingPriority="251" verticalHuggingPriority="750" allowsCharacterPickerTouchBarItem="YES" translatesAutoresizingMaskIntoConstraints="NO" id="ucx-6g-eJw"> - <rect key="frame" x="53" y="778" width="4" height="45"/> + <rect key="frame" x="53" y="531" width="4" height="45"/> <textFieldCell key="cell" lineBreakMode="truncatingTail" selectable="YES" sendsActionOnEndEditing="YES" alignment="left" id="HnC-1N-RmR"> <font key="font" metaFont="system" size="18"/> <color key="textColor" name="labelColor" catalog="System" colorSpace="catalog"/> @@ -574,7 +688,7 @@ </textFieldCell> </textField> <stackView distribution="fill" orientation="horizontal" alignment="centerY" spacing="6" horizontalStackHuggingPriority="249.99998474121094" verticalStackHuggingPriority="249.99998474121094" detachesHiddenViews="YES" translatesAutoresizingMaskIntoConstraints="NO" id="s8t-r2-zdA"> - <rect key="frame" x="675" y="773" width="108" height="55"/> + <rect key="frame" x="675" y="526" width="108" height="55"/> <subviews> <button toolTip="Add contact" verticalHuggingPriority="750" tag="400" translatesAutoresizingMaskIntoConstraints="NO" id="pGK-hO-X1Y" userLabel="Add Contact Button" customClass="HoverButton"> <rect key="frame" x="0.0" y="12" width="32" height="32"/> @@ -582,7 +696,7 @@ <constraint firstAttribute="width" constant="32" id="Cxh-SD-Ozq"/> <constraint firstAttribute="height" constant="32" id="UUq-am-hL7"/> </constraints> - <buttonCell key="cell" type="square" bezelStyle="shadowlessSquare" image="ic_person_add" imagePosition="overlaps" alignment="center" allowsMixedState="YES" transparent="YES" imageScaling="proportionallyDown" inset="2" id="1oc-i4-1bh"> + <buttonCell key="cell" type="square" bezelStyle="shadowlessSquare" image="ic_person_add" imagePosition="only" alignment="center" allowsMixedState="YES" transparent="YES" imageScaling="proportionallyDown" inset="2" id="1oc-i4-1bh"> <behavior key="behavior" pushIn="YES" lightByBackground="YES" lightByGray="YES"/> <font key="font" metaFont="system"/> </buttonCell> @@ -613,7 +727,7 @@ <constraint firstAttribute="width" constant="32" id="HyC-Bf-F7P"/> <constraint firstAttribute="height" constant="32" id="opT-rp-VwQ"/> </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="f0E-8f-ly5"> + <buttonCell key="cell" type="square" bezelStyle="shadowlessSquare" image="ic_action_call" imagePosition="only" alignment="center" allowsMixedState="YES" transparent="YES" imageScaling="proportionallyDown" inset="2" id="f0E-8f-ly5"> <behavior key="behavior" pushIn="YES" lightByBackground="YES" lightByGray="YES"/> <font key="font" metaFont="system"/> </buttonCell> @@ -644,7 +758,7 @@ <constraint firstAttribute="width" constant="32" id="4jd-jn-RY1"/> <constraint firstAttribute="height" constant="32" id="DMa-Lq-2Tk"/> </constraints> - <buttonCell key="cell" type="square" bezelStyle="shadowlessSquare" image="ic_action_video" imagePosition="overlaps" alignment="center" allowsMixedState="YES" transparent="YES" imageScaling="proportionallyDown" inset="2" id="XOS-rh-WfH"> + <buttonCell key="cell" type="square" bezelStyle="shadowlessSquare" image="ic_action_video" imagePosition="only" alignment="center" allowsMixedState="YES" transparent="YES" imageScaling="proportionallyDown" inset="2" id="XOS-rh-WfH"> <behavior key="behavior" pushIn="YES" lightByBackground="YES" lightByGray="YES"/> <font key="font" metaFont="system"/> </buttonCell> @@ -685,7 +799,7 @@ </customSpacing> </stackView> <textField horizontalHuggingPriority="251" verticalHuggingPriority="750" translatesAutoresizingMaskIntoConstraints="NO" id="SQT-Vf-Lhr" userLabel="IdLabel"> - <rect key="frame" x="53" y="783" width="4" height="16"/> + <rect key="frame" x="53" y="536" width="4" height="15"/> <textFieldCell key="cell" scrollable="YES" lineBreakMode="clipping" sendsActionOnEndEditing="YES" id="rW7-RD-TBM"> <font key="font" metaFont="systemLight" size="12"/> <color key="textColor" name="labelColor" catalog="System" colorSpace="catalog"/> @@ -741,8 +855,8 @@ <image name="ic_action_send" width="72" height="72"/> <image name="ic_action_video" width="72" height="72"/> <image name="ic_arrow_back" width="72" height="72"/> - <image name="ic_audio_msg" width="18" height="18"/> - <image name="ic_camera" width="18" height="18"/> + <image name="ic_audio_msg" width="72" height="72"/> + <image name="ic_camera" width="72" height="72"/> <image name="ic_file_upload" width="72" height="72"/> <image name="ic_person_add" width="48" height="48"/> </resources> diff --git a/ui/Base.lproj/CurrentCall.xib b/ui/Base.lproj/CurrentCall.xib index df09647e1175cbf0bb7626074d7d800663d4e550..2612fe8d31b379fa6b24372d3fd49cce74f35548 100644 --- a/ui/Base.lproj/CurrentCall.xib +++ b/ui/Base.lproj/CurrentCall.xib @@ -1,7 +1,7 @@ <?xml version="1.0" encoding="UTF-8"?> -<document type="com.apple.InterfaceBuilder3.Cocoa.XIB" version="3.0" toolsVersion="15705" targetRuntime="MacOSX.Cocoa" propertyAccessControl="none" useAutolayout="YES"> +<document type="com.apple.InterfaceBuilder3.Cocoa.XIB" version="3.0" toolsVersion="16096" targetRuntime="MacOSX.Cocoa" propertyAccessControl="none" useAutolayout="YES"> <dependencies> - <plugIn identifier="com.apple.InterfaceBuilder.CocoaPlugin" version="15705"/> + <plugIn identifier="com.apple.InterfaceBuilder.CocoaPlugin" version="16096"/> <capability name="documents saved in the Xcode 8 format" minToolsVersion="8.0"/> </dependencies> <objects> @@ -42,30 +42,30 @@ </customObject> <customObject id="-1" userLabel="First Responder" customClass="FirstResponder"/> <customObject id="-3" userLabel="Application" customClass="NSObject"/> - <customView wantsLayer="YES" id="Hz6-mo-xeY"> - <rect key="frame" x="0.0" y="0.0" width="1118" height="805"/> + <customView wantsLayer="YES" misplaced="YES" id="Hz6-mo-xeY"> + <rect key="frame" x="0.0" y="0.0" width="1118" height="788"/> <autoresizingMask key="autoresizingMask" flexibleMaxX="YES" flexibleMinY="YES"/> <subviews> - <splitView wantsLayer="YES" dividerStyle="thin" vertical="YES" translatesAutoresizingMaskIntoConstraints="NO" id="GIJ-gB-FZo"> - <rect key="frame" x="0.0" y="0.0" width="1118" height="805"/> + <splitView wantsLayer="YES" misplaced="YES" dividerStyle="thin" vertical="YES" translatesAutoresizingMaskIntoConstraints="NO" id="GIJ-gB-FZo"> + <rect key="frame" x="0.0" y="0.0" width="1118" height="788"/> <subviews> - <customView id="2wf-Py-l6B" customClass="CallView"> - <rect key="frame" x="0.0" y="0.0" width="746" height="805"/> - <autoresizingMask key="autoresizingMask" flexibleMaxX="YES" flexibleMinY="YES"/> + <customView misplaced="YES" id="2wf-Py-l6B" customClass="CallView"> + <rect key="frame" x="0.0" y="0.0" width="746" height="788"/> + <autoresizingMask key="autoresizingMask" flexibleMaxX="YES" flexibleMaxY="YES"/> <subviews> - <customView translatesAutoresizingMaskIntoConstraints="NO" id="Usy-W5-TGp"> - <rect key="frame" x="0.0" y="0.0" width="746" height="805"/> + <customView misplaced="YES" translatesAutoresizingMaskIntoConstraints="NO" id="Usy-W5-TGp"> + <rect key="frame" x="0.0" y="0.0" width="746" height="788"/> </customView> - <box boxType="custom" borderType="none" titlePosition="noTitle" translatesAutoresizingMaskIntoConstraints="NO" id="CDQ-nt-oe4"> - <rect key="frame" x="0.0" y="0.0" width="746" height="805"/> + <box misplaced="YES" boxType="custom" borderType="none" titlePosition="noTitle" translatesAutoresizingMaskIntoConstraints="NO" id="CDQ-nt-oe4"> + <rect key="frame" x="0.0" y="0.0" width="746" height="788"/> <view key="contentView" id="DWB-Kg-ugE"> - <rect key="frame" x="0.0" y="0.0" width="746" height="805"/> + <rect key="frame" x="0.0" y="0.0" width="746" height="788"/> <autoresizingMask key="autoresizingMask" widthSizable="YES" heightSizable="YES"/> </view> <color key="fillColor" red="0.120510533452034" green="0.12050692737102509" blue="0.12050899863243103" alpha="1" colorSpace="calibratedRGB"/> </box> <stackView distribution="fill" orientation="vertical" alignment="centerX" spacing="10" horizontalStackHuggingPriority="249.99998474121094" verticalStackHuggingPriority="249.99998474121094" translatesAutoresizingMaskIntoConstraints="NO" id="aLB-LA-yn0"> - <rect key="frame" x="302" y="250" width="142" height="305"/> + <rect key="frame" x="302" y="532" width="142" height="305"/> <subviews> <customView translatesAutoresizingMaskIntoConstraints="NO" id="s4L-Ke-9Jm"> <rect key="frame" x="7" y="177" width="128" height="128"/> @@ -107,7 +107,7 @@ </textFieldCell> </textField> <textField verticalHuggingPriority="750" allowsCharacterPickerTouchBarItem="YES" translatesAutoresizingMaskIntoConstraints="NO" id="Qq2-Et-gep" userLabel="contactID"> - <rect key="frame" x="39" y="120" width="65" height="16"/> + <rect key="frame" x="39" y="120" width="64" height="16"/> <textFieldCell key="cell" scrollable="YES" lineBreakMode="clipping" sendsActionOnEndEditing="YES" state="on" alignment="center" title="person Id" id="hKi-Ay-ex5"> <font key="font" metaFont="systemLight" size="13"/> <color key="textColor" name="selectedMenuItemTextColor" catalog="System" colorSpace="catalog"/> @@ -148,7 +148,7 @@ <constraint firstAttribute="height" constant="56" id="IFG-ni-9mc"/> <constraint firstAttribute="width" constant="56" id="uoL-Wy-Ek2"/> </constraints> - <buttonCell key="cell" type="square" bezelStyle="shadowlessSquare" image="ic_action_accept" imagePosition="overlaps" alignment="left" transparent="YES" imageScaling="proportionallyDown" id="CoO-HS-nEB"> + <buttonCell key="cell" type="square" bezelStyle="shadowlessSquare" image="ic_action_accept" imagePosition="only" alignment="left" transparent="YES" imageScaling="proportionallyDown" id="CoO-HS-nEB"> <behavior key="behavior" pushIn="YES" lightByBackground="YES" lightByGray="YES"/> <font key="font" metaFont="system"/> </buttonCell> @@ -173,7 +173,7 @@ <constraint firstAttribute="width" constant="56" id="Avo-rM-awf"/> <constraint firstAttribute="height" constant="56" id="z5h-9v-SNU"/> </constraints> - <buttonCell key="cell" type="square" bezelStyle="shadowlessSquare" image="ic_action_cancel" imagePosition="overlaps" alignment="center" transparent="YES" imageScaling="proportionallyDown" id="sxM-Qb-qWD"> + <buttonCell key="cell" type="square" bezelStyle="shadowlessSquare" image="ic_action_cancel" imagePosition="only" alignment="center" transparent="YES" imageScaling="proportionallyDown" id="sxM-Qb-qWD"> <behavior key="behavior" pushIn="YES" lightByBackground="YES" lightByGray="YES"/> <font key="font" metaFont="system"/> </buttonCell> @@ -222,11 +222,11 @@ <real value="3.4028234663852886e+38"/> </customSpacing> </stackView> - <customView translatesAutoresizingMaskIntoConstraints="NO" id="gQE-fN-JhY" customClass="RenderingView"> - <rect key="frame" x="0.0" y="0.0" width="746" height="805"/> + <customView misplaced="YES" translatesAutoresizingMaskIntoConstraints="NO" id="gQE-fN-JhY" customClass="RenderingView"> + <rect key="frame" x="0.0" y="0.0" width="746" height="788"/> </customView> - <customView translatesAutoresizingMaskIntoConstraints="NO" id="d0X-cW-Xgz" customClass="GradientView"> - <rect key="frame" x="0.0" y="734" width="746" height="71"/> + <customView misplaced="YES" translatesAutoresizingMaskIntoConstraints="NO" id="d0X-cW-Xgz" customClass="GradientView"> + <rect key="frame" x="0.0" y="24" width="746" height="764"/> <subviews> <textField horizontalHuggingPriority="251" verticalHuggingPriority="750" allowsCharacterPickerTouchBarItem="YES" translatesAutoresizingMaskIntoConstraints="NO" id="cIU-M7-xpN"> <rect key="frame" x="624" y="24" width="104" height="23"/> @@ -320,8 +320,8 @@ </customView> </subviews> </customView> - <customView translatesAutoresizingMaskIntoConstraints="NO" id="DfH-di-xs7" customClass="GradientView"> - <rect key="frame" x="0.0" y="734" width="746" height="71"/> + <customView misplaced="YES" translatesAutoresizingMaskIntoConstraints="NO" id="DfH-di-xs7" customClass="GradientView"> + <rect key="frame" x="0.0" y="716" width="746" height="71"/> <subviews> <textField horizontalHuggingPriority="251" verticalHuggingPriority="750" allowsCharacterPickerTouchBarItem="YES" translatesAutoresizingMaskIntoConstraints="NO" id="dl1-Gt-oz5"> <rect key="frame" x="624" y="24" width="104" height="23"/> @@ -365,7 +365,7 @@ <constraint firstAttribute="width" constant="44" id="MYx-uE-Bej"/> <constraint firstAttribute="height" constant="44" id="dmD-ga-Kwv"/> </constraints> - <buttonCell key="cell" type="square" bezelStyle="shadowlessSquare" image="ic_action_cancel" imagePosition="overlaps" alignment="center" transparent="YES" imageScaling="proportionallyDown" id="kR5-bV-2KY"> + <buttonCell key="cell" type="square" bezelStyle="shadowlessSquare" image="ic_action_cancel" imagePosition="only" alignment="center" transparent="YES" imageScaling="proportionallyDown" id="kR5-bV-2KY"> <behavior key="behavior" pushIn="YES" lightByBackground="YES" lightByGray="YES"/> <font key="font" metaFont="system"/> </buttonCell> @@ -396,7 +396,7 @@ <constraint firstAttribute="width" constant="44" id="QlH-xq-7uO"/> <constraint firstAttribute="height" constant="44" id="Xzt-L0-evm"/> </constraints> - <buttonCell key="cell" type="square" bezelStyle="shadowlessSquare" image="ic_action_hold" imagePosition="overlaps" alignment="center" transparent="YES" imageScaling="proportionallyDown" id="7w5-d1-mNe"> + <buttonCell key="cell" type="square" bezelStyle="shadowlessSquare" image="ic_action_hold" imagePosition="only" alignment="center" transparent="YES" imageScaling="proportionallyDown" id="7w5-d1-mNe"> <behavior key="behavior" pushIn="YES" lightByBackground="YES" lightByGray="YES"/> <font key="font" metaFont="system"/> </buttonCell> @@ -427,7 +427,7 @@ <constraint firstAttribute="width" constant="44" id="VhT-NE-Ler"/> <constraint firstAttribute="height" constant="44" id="WFp-nl-egQ"/> </constraints> - <buttonCell key="cell" type="square" bezelStyle="shadowlessSquare" image="ic_action_audio" imagePosition="overlaps" alignment="center" transparent="YES" imageScaling="proportionallyDown" id="7wg-Q4-mbD"> + <buttonCell key="cell" type="square" bezelStyle="shadowlessSquare" image="ic_action_audio" imagePosition="only" alignment="center" transparent="YES" imageScaling="proportionallyDown" id="7wg-Q4-mbD"> <behavior key="behavior" pushIn="YES" lightByBackground="YES" lightByGray="YES"/> <font key="font" metaFont="system"/> </buttonCell> @@ -458,7 +458,7 @@ <constraint firstAttribute="height" constant="44" id="Qiq-Nb-gHN"/> <constraint firstAttribute="width" constant="44" id="k3u-dD-eLF"/> </constraints> - <buttonCell key="cell" type="square" bezelStyle="shadowlessSquare" image="ic_action_video" imagePosition="overlaps" alignment="center" transparent="YES" imageScaling="proportionallyDown" id="sSe-V6-C7i"> + <buttonCell key="cell" type="square" bezelStyle="shadowlessSquare" image="ic_action_video" imagePosition="only" alignment="center" transparent="YES" imageScaling="proportionallyDown" id="sSe-V6-C7i"> <behavior key="behavior" pushIn="YES" lightByBackground="YES" lightByGray="YES"/> <font key="font" metaFont="system"/> </buttonCell> @@ -489,9 +489,9 @@ <constraint firstAttribute="height" constant="44" id="I7O-NK-0Cq"/> <constraint firstAttribute="width" constant="44" id="Jgi-MM-qiZ"/> </constraints> - <buttonCell key="cell" type="square" bezelStyle="shadowlessSquare" image="ic_action_record" imagePosition="overlaps" alignment="center" transparent="YES" imageScaling="proportionallyDown" id="LWc-BQ-h4g"> + <buttonCell key="cell" type="square" bezelStyle="shadowlessSquare" image="ic_action_record" imagePosition="only" alignment="center" transparent="YES" imageScaling="proportionallyDown" id="LWc-BQ-h4g"> <behavior key="behavior" pushIn="YES" lightByBackground="YES" lightByGray="YES"/> - <font key="font" size="10" name=".HelveticaNeueDeskInterface-Regular"/> + <font key="font" metaFont="system" size="10"/> </buttonCell> <userDefinedRuntimeAttributes> <userDefinedRuntimeAttribute type="number" keyPath="imageInsets"> @@ -523,7 +523,7 @@ <constraint firstAttribute="width" constant="44" id="AvV-bR-uo5"/> <constraint firstAttribute="height" constant="44" id="qRG-Re-3cS"/> </constraints> - <buttonCell key="cell" type="square" bezelStyle="shadowlessSquare" image="ic_action_add_participant" imagePosition="overlaps" alignment="center" transparent="YES" imageScaling="proportionallyDown" id="4wz-Ht-Lzp"> + <buttonCell key="cell" type="square" bezelStyle="shadowlessSquare" image="ic_action_add_participant" imagePosition="only" alignment="center" transparent="YES" imageScaling="proportionallyDown" id="4wz-Ht-Lzp"> <behavior key="behavior" pushIn="YES" lightByBackground="YES" lightByGray="YES"/> <font key="font" metaFont="system"/> </buttonCell> @@ -561,7 +561,7 @@ <constraint firstAttribute="width" constant="44" id="48U-1h-yAx"/> <constraint firstAttribute="height" constant="44" id="EDO-9c-ndD"/> </constraints> - <buttonCell key="cell" type="square" bezelStyle="shadowlessSquare" image="ic_action_chat" imagePosition="overlaps" alignment="center" transparent="YES" imageScaling="proportionallyDown" id="1fJ-X6-Rza"> + <buttonCell key="cell" type="square" bezelStyle="shadowlessSquare" image="ic_action_chat" imagePosition="only" alignment="center" transparent="YES" imageScaling="proportionallyDown" id="1fJ-X6-Rza"> <behavior key="behavior" pushIn="YES" lightByBackground="YES" lightByGray="YES"/> <font key="font" metaFont="system"/> </buttonCell> @@ -642,26 +642,25 @@ <constraint firstItem="wDi-X6-dgL" firstAttribute="leading" secondItem="2wf-Py-l6B" secondAttribute="leading" id="yRe-td-LPS"/> </constraints> </customView> - <customView wantsLayer="YES" id="TdD-3L-553"> - <rect key="frame" x="747" y="0.0" width="371" height="805"/> - <autoresizingMask key="autoresizingMask"/> + <customView wantsLayer="YES" misplaced="YES" id="TdD-3L-553"> + <rect key="frame" x="747" y="0.0" width="371" height="788"/> + <autoresizingMask key="autoresizingMask" flexibleMaxX="YES" flexibleMaxY="YES"/> <subviews> <scrollView borderType="none" autohidesScrollers="YES" horizontalLineScroll="62" horizontalPageScroll="10" verticalLineScroll="62" verticalPageScroll="10" hasHorizontalScroller="NO" hasVerticalScroller="NO" usesPredominantAxisScrolling="NO" scrollerKnobStyle="dark" translatesAutoresizingMaskIntoConstraints="NO" id="o0i-7W-5fA"> - <rect key="frame" x="20" y="60" width="331" height="743"/> + <rect key="frame" x="20" y="60" width="331" height="1306"/> <clipView key="contentView" drawsBackground="NO" copiesOnScroll="NO" id="H2i-4W-Gvt"> - <rect key="frame" x="0.0" y="0.0" width="331" height="743"/> + <rect key="frame" x="0.0" y="0.0" width="331" height="1306"/> <autoresizingMask key="autoresizingMask" widthSizable="YES" heightSizable="YES"/> <subviews> - <tableView verticalHuggingPriority="750" allowsExpansionToolTips="YES" columnAutoresizingStyle="lastColumnOnly" selectionHighlightStyle="none" autosaveColumns="NO" rowHeight="60" rowSizeStyle="automatic" viewBased="YES" id="ZOj-5b-rnp"> - <rect key="frame" x="0.0" y="0.0" width="331" height="726"/> - <autoresizingMask key="autoresizingMask"/> + <tableView verticalHuggingPriority="750" allowsExpansionToolTips="YES" columnAutoresizingStyle="lastColumnOnly" selectionHighlightStyle="none" autosaveColumns="NO" rowHeight="60" rowSizeStyle="automatic" usesAutomaticRowHeights="YES" viewBased="YES" id="ZOj-5b-rnp"> + <rect key="frame" x="0.0" y="0.0" width="331" height="1306"/> + <autoresizingMask key="autoresizingMask" widthSizable="YES" heightSizable="YES"/> <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="328" minWidth="40" maxWidth="1000" id="nFu-qN-GHK"> <tableHeaderCell key="headerCell" lineBreakMode="truncatingTail" borderStyle="border"> - <font key="font" metaFont="smallSystem"/> <color key="textColor" name="headerTextColor" catalog="System" colorSpace="catalog"/> <color key="backgroundColor" name="headerColor" catalog="System" colorSpace="catalog"/> </tableHeaderCell> @@ -672,66 +671,115 @@ </textFieldCell> <tableColumnResizingMask key="resizingMask" resizeWithTable="YES"/> <prototypeCellViews> - <tableCellView identifier="LeftMessageView" id="ISP-Ld-mHk" userLabel="IMTableCellView" customClass="IMTableCellView"> + <tableCellView identifier="LeftMessageView" misplaced="YES" id="ISP-Ld-mHk" userLabel="IMTableCellView" customClass="IMTableCellView"> <rect key="frame" x="1" y="1" width="328" height="60"/> <autoresizingMask key="autoresizingMask" widthSizable="YES" heightSizable="YES"/> <subviews> - <box boxType="custom" borderType="none" cornerRadius="4" title="Box" translatesAutoresizingMaskIntoConstraints="NO" id="KCp-bZ-69S"> - <rect key="frame" x="0.0" y="26" width="328" height="34"/> - <view key="contentView" id="zOQ-1z-mQG"> - <rect key="frame" x="0.0" y="0.0" width="328" height="34"/> - <autoresizingMask key="autoresizingMask" widthSizable="YES" heightSizable="YES"/> - <subviews> - <textField horizontalHuggingPriority="251" verticalHuggingPriority="750" translatesAutoresizingMaskIntoConstraints="NO" id="IJm-DU-cs6"> - <rect key="frame" x="160" y="9" width="8" height="16"/> + <stackView distribution="fill" orientation="vertical" alignment="centerX" spacing="0.0" horizontalStackHuggingPriority="249.99998474121094" verticalStackHuggingPriority="249.99998474121094" detachesHiddenViews="YES" translatesAutoresizingMaskIntoConstraints="NO" id="Sbh-YZ-BmP"> + <rect key="frame" x="0.0" y="0.0" width="328" height="84"/> + <subviews> + <box boxType="custom" borderType="none" cornerRadius="4" title="Box" translatesAutoresizingMaskIntoConstraints="NO" id="KCp-bZ-69S"> + <rect key="frame" x="0.0" y="50" width="328" height="34"/> + <view key="contentView" id="zOQ-1z-mQG"> + <rect key="frame" x="0.0" y="0.0" width="328" height="34"/> + <autoresizingMask key="autoresizingMask" widthSizable="YES" heightSizable="YES"/> + <subviews> + <textField horizontalHuggingPriority="251" verticalHuggingPriority="750" translatesAutoresizingMaskIntoConstraints="NO" id="IJm-DU-cs6"> + <rect key="frame" x="160" y="9" width="8" height="16"/> + <constraints> + <constraint firstAttribute="width" priority="250" constant="20" id="HNl-gc-YBr"/> + </constraints> + <textFieldCell key="cell" scrollable="YES" lineBreakMode="clipping" sendsActionOnEndEditing="YES" alignment="center" id="UrO-87-XKZ"> + <font key="font" metaFont="system"/> + <color key="textColor" name="secondaryLabelColor" catalog="System" colorSpace="catalog"/> + <color key="backgroundColor" name="controlColor" catalog="System" colorSpace="catalog"/> + </textFieldCell> + </textField> + </subviews> <constraints> - <constraint firstAttribute="width" priority="250" constant="20" id="HNl-gc-YBr"/> + <constraint firstItem="IJm-DU-cs6" firstAttribute="centerY" secondItem="zOQ-1z-mQG" secondAttribute="centerY" id="im1-8w-nQm"/> + <constraint firstItem="IJm-DU-cs6" firstAttribute="centerX" secondItem="zOQ-1z-mQG" secondAttribute="centerX" id="pYe-Le-3Gc"/> </constraints> - <textFieldCell key="cell" scrollable="YES" lineBreakMode="clipping" sendsActionOnEndEditing="YES" alignment="center" id="UrO-87-XKZ"> - <font key="font" metaFont="system"/> - <color key="textColor" name="secondaryLabelColor" catalog="System" colorSpace="catalog"/> - <color key="backgroundColor" name="controlColor" catalog="System" colorSpace="catalog"/> - </textFieldCell> - </textField> - </subviews> - <constraints> - <constraint firstItem="IJm-DU-cs6" firstAttribute="centerY" secondItem="zOQ-1z-mQG" secondAttribute="centerY" id="im1-8w-nQm"/> - <constraint firstItem="IJm-DU-cs6" firstAttribute="centerX" secondItem="zOQ-1z-mQG" secondAttribute="centerX" id="pYe-Le-3Gc"/> - </constraints> - </view> - <constraints> - <constraint firstAttribute="height" constant="34" id="PmQ-jg-thf"/> - </constraints> - </box> - <imageView horizontalHuggingPriority="251" verticalHuggingPriority="251" tag="100" translatesAutoresizingMaskIntoConstraints="NO" id="siU-cO-eGp"> - <rect key="frame" x="0.0" y="0.0" width="30" height="30"/> - <constraints> - <constraint firstAttribute="height" constant="30" id="U8O-T7-wN4"/> - <constraint firstAttribute="width" constant="30" id="dx4-KH-ynY"/> - </constraints> - <imageCell key="cell" refusesFirstResponder="YES" alignment="left" imageScaling="proportionallyDown" id="AmG-9L-7JZ"/> - </imageView> - <customView ambiguous="YES" translatesAutoresizingMaskIntoConstraints="NO" id="wfP-VD-ALD" customClass="MessageBubbleView"> - <rect key="frame" x="50" y="0.0" width="287" height="26"/> - <subviews> - <customView fixedFrame="YES" translatesAutoresizingMaskIntoConstraints="NO" id="PUG-NN-vrV" customClass="NSTextView"> - <rect key="frame" x="0.0" y="-25" width="287" height="48"/> - <autoresizingMask key="autoresizingMask" flexibleMaxX="YES" flexibleMinY="YES"/> - </customView> + </view> + <constraints> + <constraint firstAttribute="height" constant="34" id="PmQ-jg-thf"/> + </constraints> + </box> + <stackView distribution="fill" orientation="horizontal" alignment="bottom" spacing="15" horizontalStackHuggingPriority="249.99998474121094" verticalStackHuggingPriority="249.99998474121094" detachesHiddenViews="YES" translatesAutoresizingMaskIntoConstraints="NO" id="c5y-kq-Zre"> + <rect key="frame" x="40" y="0.0" width="248" height="50"/> + <subviews> + <customView translatesAutoresizingMaskIntoConstraints="NO" id="fSU-as-0ee"> + <rect key="frame" x="0.0" y="0.0" width="30" height="30"/> + <subviews> + <imageView horizontalHuggingPriority="251" verticalHuggingPriority="251" tag="100" translatesAutoresizingMaskIntoConstraints="NO" id="siU-cO-eGp"> + <rect key="frame" x="0.0" y="0.0" width="30" height="30"/> + <constraints> + <constraint firstAttribute="height" constant="30" id="U8O-T7-wN4"/> + <constraint firstAttribute="width" constant="30" id="dx4-KH-ynY"/> + </constraints> + <imageCell key="cell" refusesFirstResponder="YES" alignment="left" imageScaling="proportionallyDown" id="AmG-9L-7JZ"/> + </imageView> + </subviews> + <constraints> + <constraint firstItem="siU-cO-eGp" firstAttribute="centerY" secondItem="fSU-as-0ee" secondAttribute="centerY" id="7Ye-H9-nrF"/> + <constraint firstAttribute="width" constant="30" id="Yel-Jm-flm"/> + <constraint firstAttribute="height" constant="30" id="d9w-fa-0s2"/> + <constraint firstItem="siU-cO-eGp" firstAttribute="centerX" secondItem="fSU-as-0ee" secondAttribute="centerX" id="vY6-WF-YVJ"/> + </constraints> + </customView> + <customView translatesAutoresizingMaskIntoConstraints="NO" id="wfP-VD-ALD" customClass="MessageBubbleView"> + <rect key="frame" x="45" y="0.0" width="25" height="25"/> + <subviews> + <customView translatesAutoresizingMaskIntoConstraints="NO" id="PUG-NN-vrV" customClass="NSTextView"> + <rect key="frame" x="10" y="10" width="5" height="5"/> + <constraints> + <constraint firstAttribute="height" constant="5" id="gH7-il-eu0"/> + <constraint firstAttribute="width" constant="5" id="nDA-W1-1W2"/> + </constraints> + </customView> + </subviews> + <constraints> + <constraint firstAttribute="trailing" secondItem="PUG-NN-vrV" secondAttribute="trailing" constant="10" id="4ED-p1-DMB"/> + <constraint firstItem="PUG-NN-vrV" firstAttribute="top" secondItem="wfP-VD-ALD" secondAttribute="top" constant="10" id="S4T-lU-vVF"/> + <constraint firstAttribute="bottom" secondItem="PUG-NN-vrV" secondAttribute="bottom" constant="10" id="d1V-M6-wQw"/> + <constraint firstItem="PUG-NN-vrV" firstAttribute="leading" secondItem="wfP-VD-ALD" secondAttribute="leading" constant="10" id="z3z-xt-npo"/> + </constraints> + </customView> + <customView translatesAutoresizingMaskIntoConstraints="NO" id="GCO-d1-sr8"> + <rect key="frame" x="85" y="0.0" width="163" height="50"/> + </customView> + </subviews> + <visibilityPriorities> + <integer value="1000"/> + <integer value="1000"/> + <integer value="1000"/> + </visibilityPriorities> + <customSpacing> + <real value="3.4028234663852886e+38"/> + <real value="3.4028234663852886e+38"/> + <real value="3.4028234663852886e+38"/> + </customSpacing> + </stackView> </subviews> - </customView> + <visibilityPriorities> + <integer value="1000"/> + <integer value="1000"/> + </visibilityPriorities> + <customSpacing> + <real value="3.4028234663852886e+38"/> + <real value="3.4028234663852886e+38"/> + </customSpacing> + </stackView> </subviews> <constraints> - <constraint firstItem="KCp-bZ-69S" firstAttribute="top" secondItem="ISP-Ld-mHk" secondAttribute="top" id="1cV-Tm-aax"/> - <constraint firstItem="wfP-VD-ALD" firstAttribute="top" secondItem="KCp-bZ-69S" secondAttribute="bottom" id="5bJ-5n-Lxr"/> - <constraint firstAttribute="trailing" secondItem="KCp-bZ-69S" secondAttribute="trailing" id="Kuc-Lp-cxE"/> - <constraint firstItem="wfP-VD-ALD" firstAttribute="leading" secondItem="siU-cO-eGp" secondAttribute="trailing" constant="20" id="QN7-Em-AFu"/> - <constraint firstItem="wfP-VD-ALD" firstAttribute="bottom" secondItem="siU-cO-eGp" secondAttribute="bottom" id="a6Y-Ho-AVA"/> - <constraint firstItem="siU-cO-eGp" firstAttribute="leading" secondItem="ISP-Ld-mHk" secondAttribute="leading" id="adZ-9b-R8G"/> - <constraint firstItem="KCp-bZ-69S" firstAttribute="leading" secondItem="ISP-Ld-mHk" secondAttribute="leading" id="wUx-5B-FOC"/> - <constraint firstAttribute="bottom" secondItem="wfP-VD-ALD" secondAttribute="bottom" id="wxQ-eM-vOR"/> + <constraint firstAttribute="bottom" secondItem="Sbh-YZ-BmP" secondAttribute="bottom" id="Pam-Td-Eu2"/> + <constraint firstItem="Sbh-YZ-BmP" firstAttribute="leading" secondItem="ISP-Ld-mHk" secondAttribute="leading" id="TaU-CV-LLh"/> + <constraint firstAttribute="trailing" secondItem="Sbh-YZ-BmP" secondAttribute="trailing" id="VvA-Fi-axg"/> + <constraint firstItem="Sbh-YZ-BmP" firstAttribute="top" secondItem="ISP-Ld-mHk" secondAttribute="top" id="gPP-b3-Qht"/> </constraints> <connections> + <outlet property="messageHeightConstraint" destination="gH7-il-eu0" id="j6T-kx-Wg7"/> + <outlet property="messageWidthConstraint" destination="nDA-W1-1W2" id="xgr-ll-ZEB"/> <outlet property="msgBackground" destination="wfP-VD-ALD" id="fbB-OB-zyZ"/> <outlet property="msgView" destination="PUG-NN-vrV" id="BH6-vT-Y7i"/> <outlet property="photoView" destination="siU-cO-eGp" id="dVV-s6-I4b"/> @@ -743,107 +791,157 @@ <rect key="frame" x="1" y="63" width="328" height="60"/> <autoresizingMask key="autoresizingMask" widthSizable="YES" heightSizable="YES"/> <subviews> - <box boxType="custom" borderType="none" cornerRadius="4" title="Box" translatesAutoresizingMaskIntoConstraints="NO" id="hfc-s5-yWK"> - <rect key="frame" x="0.0" y="26" width="328" height="34"/> - <view key="contentView" id="Ae5-hd-Kkm"> - <rect key="frame" x="0.0" y="0.0" width="328" height="34"/> - <autoresizingMask key="autoresizingMask" widthSizable="YES" heightSizable="YES"/> - <subviews> - <textField horizontalHuggingPriority="251" verticalHuggingPriority="750" translatesAutoresizingMaskIntoConstraints="NO" id="xkH-rw-k6w"> - <rect key="frame" x="160" y="9" width="8" height="16"/> + <stackView distribution="fill" orientation="vertical" alignment="centerX" spacing="0.0" horizontalStackHuggingPriority="249.99998474121094" verticalStackHuggingPriority="249.99998474121094" detachesHiddenViews="YES" translatesAutoresizingMaskIntoConstraints="NO" id="jq8-Ey-ik3"> + <rect key="frame" x="0.0" y="0.0" width="328" height="84"/> + <subviews> + <box boxType="custom" borderType="none" cornerRadius="4" title="Box" translatesAutoresizingMaskIntoConstraints="NO" id="hfc-s5-yWK"> + <rect key="frame" x="0.0" y="50" width="328" height="34"/> + <view key="contentView" id="Ae5-hd-Kkm"> + <rect key="frame" x="0.0" y="0.0" width="328" height="34"/> + <autoresizingMask key="autoresizingMask" widthSizable="YES" heightSizable="YES"/> + <subviews> + <textField horizontalHuggingPriority="251" verticalHuggingPriority="750" translatesAutoresizingMaskIntoConstraints="NO" id="xkH-rw-k6w"> + <rect key="frame" x="160" y="9" width="8" height="16"/> + <constraints> + <constraint firstAttribute="width" priority="250" constant="20" id="IIf-Z3-Q3T"/> + </constraints> + <textFieldCell key="cell" scrollable="YES" lineBreakMode="clipping" sendsActionOnEndEditing="YES" alignment="center" id="f76-cI-oqW"> + <font key="font" metaFont="system"/> + <color key="textColor" name="secondaryLabelColor" catalog="System" colorSpace="catalog"/> + <color key="backgroundColor" name="controlColor" catalog="System" colorSpace="catalog"/> + </textFieldCell> + </textField> + </subviews> <constraints> - <constraint firstAttribute="width" priority="250" constant="20" id="IIf-Z3-Q3T"/> + <constraint firstItem="xkH-rw-k6w" firstAttribute="centerY" secondItem="Ae5-hd-Kkm" secondAttribute="centerY" id="RJe-dB-bmp"/> + <constraint firstItem="xkH-rw-k6w" firstAttribute="centerX" secondItem="Ae5-hd-Kkm" secondAttribute="centerX" id="XLg-lD-XzA"/> </constraints> - <textFieldCell key="cell" scrollable="YES" lineBreakMode="clipping" sendsActionOnEndEditing="YES" alignment="center" id="f76-cI-oqW"> - <font key="font" metaFont="system"/> - <color key="textColor" name="secondaryLabelColor" catalog="System" colorSpace="catalog"/> - <color key="backgroundColor" name="controlColor" catalog="System" colorSpace="catalog"/> - </textFieldCell> - </textField> - </subviews> - <constraints> - <constraint firstItem="xkH-rw-k6w" firstAttribute="centerY" secondItem="Ae5-hd-Kkm" secondAttribute="centerY" id="RJe-dB-bmp"/> - <constraint firstItem="xkH-rw-k6w" firstAttribute="centerX" secondItem="Ae5-hd-Kkm" secondAttribute="centerX" id="XLg-lD-XzA"/> - </constraints> - </view> - <constraints> - <constraint firstAttribute="height" constant="34" id="p3P-Wg-s0n"/> - </constraints> - </box> - <customView ambiguous="YES" translatesAutoresizingMaskIntoConstraints="NO" id="0o9-as-0kP" customClass="MessageBubbleView"> - <rect key="frame" x="58" y="0.0" width="271" height="26"/> - <subviews> - <customView fixedFrame="YES" translatesAutoresizingMaskIntoConstraints="NO" id="3id-hP-gmA" customClass="NSTextView"> - <rect key="frame" x="0.0" y="-14" width="58" height="0.0"/> - <autoresizingMask key="autoresizingMask" flexibleMaxX="YES" flexibleMinY="YES"/> - </customView> + </view> + <constraints> + <constraint firstAttribute="height" constant="34" id="p3P-Wg-s0n"/> + </constraints> + </box> + <stackView distribution="fill" orientation="horizontal" alignment="top" spacing="0.0" horizontalStackHuggingPriority="249.99998474121094" verticalStackHuggingPriority="249.99998474121094" detachesHiddenViews="YES" translatesAutoresizingMaskIntoConstraints="NO" id="yar-Hd-jHX"> + <rect key="frame" x="70" y="0.0" width="188" height="50"/> + <subviews> + <customView translatesAutoresizingMaskIntoConstraints="NO" id="vK7-ns-vlJ"> + <rect key="frame" x="0.0" y="0.0" width="163" height="50"/> + </customView> + <customView translatesAutoresizingMaskIntoConstraints="NO" id="0o9-as-0kP" customClass="MessageBubbleView"> + <rect key="frame" x="163" y="25" width="25" height="25"/> + <subviews> + <customView translatesAutoresizingMaskIntoConstraints="NO" id="3id-hP-gmA" customClass="NSTextView"> + <rect key="frame" x="10" y="10" width="5" height="5"/> + <constraints> + <constraint firstAttribute="height" constant="5" id="KRg-tt-1du"/> + <constraint firstAttribute="width" constant="5" id="RHw-0G-F0w"/> + </constraints> + </customView> + </subviews> + <constraints> + <constraint firstItem="3id-hP-gmA" firstAttribute="leading" secondItem="0o9-as-0kP" secondAttribute="leading" constant="10" id="0D4-W9-zDo"/> + <constraint firstAttribute="trailing" secondItem="3id-hP-gmA" secondAttribute="trailing" constant="10" id="A6b-Zz-710"/> + <constraint firstAttribute="bottom" secondItem="3id-hP-gmA" secondAttribute="bottom" constant="10" id="cdy-O7-8R2"/> + <constraint firstItem="3id-hP-gmA" firstAttribute="top" secondItem="0o9-as-0kP" secondAttribute="top" constant="10" id="wug-kO-mMM"/> + </constraints> + </customView> + </subviews> + <visibilityPriorities> + <integer value="1000"/> + <integer value="1000"/> + </visibilityPriorities> + <customSpacing> + <real value="3.4028234663852886e+38"/> + <real value="3.4028234663852886e+38"/> + </customSpacing> + </stackView> </subviews> - </customView> + <visibilityPriorities> + <integer value="1000"/> + <integer value="1000"/> + </visibilityPriorities> + <customSpacing> + <real value="3.4028234663852886e+38"/> + <real value="3.4028234663852886e+38"/> + </customSpacing> + </stackView> </subviews> <constraints> - <constraint firstItem="hfc-s5-yWK" firstAttribute="top" secondItem="rMU-hx-cKa" secondAttribute="top" id="G37-AS-eTc"/> - <constraint firstAttribute="trailing" secondItem="0o9-as-0kP" secondAttribute="trailing" id="Qjo-Xd-8ci"/> - <constraint firstAttribute="bottom" secondItem="0o9-as-0kP" secondAttribute="bottom" id="XTL-j6-WbQ"/> - <constraint firstItem="hfc-s5-yWK" firstAttribute="leading" secondItem="rMU-hx-cKa" secondAttribute="leading" id="bCg-zp-hsW"/> - <constraint firstItem="0o9-as-0kP" firstAttribute="top" secondItem="hfc-s5-yWK" secondAttribute="bottom" id="pli-nb-uUj"/> - <constraint firstAttribute="trailing" secondItem="hfc-s5-yWK" secondAttribute="trailing" id="t8O-y0-AVg"/> + <constraint firstItem="jq8-Ey-ik3" firstAttribute="top" secondItem="rMU-hx-cKa" secondAttribute="top" id="BZb-Io-8Ge"/> + <constraint firstAttribute="bottom" secondItem="jq8-Ey-ik3" secondAttribute="bottom" id="Q8S-9x-4hW"/> + <constraint firstAttribute="trailing" secondItem="jq8-Ey-ik3" secondAttribute="trailing" id="eUc-Ni-Iue"/> + <constraint firstItem="jq8-Ey-ik3" firstAttribute="leading" secondItem="rMU-hx-cKa" secondAttribute="leading" id="kd4-jZ-7Z9"/> </constraints> <connections> + <outlet property="messageHeightConstraint" destination="KRg-tt-1du" id="vDD-mt-fIh"/> + <outlet property="messageWidthConstraint" destination="RHw-0G-F0w" id="gFV-DO-sSp"/> <outlet property="msgBackground" destination="0o9-as-0kP" id="E13-QI-aKa"/> <outlet property="msgView" destination="3id-hP-gmA" id="QP2-nb-drh"/> <outlet property="timeBox" destination="hfc-s5-yWK" id="asT-uh-kmF"/> <outlet property="timeLabel" destination="xkH-rw-k6w" id="WQc-BF-dSZ"/> </connections> </tableCellView> - <tableCellView identifier="GenericInteractionView" id="0tt-a5-Dex" userLabel="GenericInteractionView"> - <rect key="frame" x="1" y="125" width="328" height="60"/> + <tableCellView identifier="GenericInteractionView" misplaced="YES" id="0tt-a5-Dex" userLabel="GenericInteractionView"> + <rect key="frame" x="1" y="125" width="328" height="57"/> <autoresizingMask key="autoresizingMask" widthSizable="YES" heightSizable="YES"/> <subviews> - <box boxType="custom" borderType="none" cornerRadius="4" title="Box" translatesAutoresizingMaskIntoConstraints="NO" id="DSf-SJ-l6k"> - <rect key="frame" x="0.0" y="23" width="328" height="30"/> - <view key="contentView" id="sEZ-LN-VHO"> - <rect key="frame" x="0.0" y="0.0" width="328" height="30"/> - <autoresizingMask key="autoresizingMask" widthSizable="YES" heightSizable="YES"/> - <subviews> - <textField horizontalHuggingPriority="251" verticalHuggingPriority="750" tag="200" translatesAutoresizingMaskIntoConstraints="NO" id="SMB-Vk-E06"> - <rect key="frame" x="160" y="7" width="8" height="16"/> - <constraints> - <constraint firstAttribute="width" priority="250" constant="20" id="Wod-ib-NVj"/> - </constraints> - <textFieldCell key="cell" scrollable="YES" lineBreakMode="clipping" sendsActionOnEndEditing="YES" alignment="center" id="ahn-Mr-638"> - <font key="font" metaFont="system"/> - <color key="textColor" name="secondaryLabelColor" catalog="System" colorSpace="catalog"/> - <color key="backgroundColor" name="controlColor" catalog="System" colorSpace="catalog"/> - </textFieldCell> - </textField> - </subviews> - <constraints> - <constraint firstItem="SMB-Vk-E06" firstAttribute="centerY" secondItem="sEZ-LN-VHO" secondAttribute="centerY" id="4hU-BS-mJi"/> - <constraint firstItem="SMB-Vk-E06" firstAttribute="centerX" secondItem="sEZ-LN-VHO" secondAttribute="centerX" id="LMS-0P-rxh"/> - </constraints> - </view> - <constraints> - <constraint firstAttribute="height" constant="30" id="VFG-7p-7Hg"/> - </constraints> - </box> - <textField horizontalHuggingPriority="251" verticalHuggingPriority="750" tag="100" translatesAutoresizingMaskIntoConstraints="NO" id="Wyd-h8-NpR" userLabel="ContactInteractionLabel"> - <rect key="frame" x="146" y="11" width="37" height="17"/> - <constraints> - <constraint firstAttribute="height" constant="17" id="blq-Kh-Y2Y"/> - </constraints> - <textFieldCell key="cell" scrollable="YES" lineBreakMode="clipping" sendsActionOnEndEditing="YES" title="Label" id="GBy-HF-JeP"> - <font key="font" metaFont="systemLight" size="13"/> - <color key="textColor" name="secondaryLabelColor" catalog="System" colorSpace="catalog"/> - <color key="backgroundColor" name="controlColor" catalog="System" colorSpace="catalog"/> - </textFieldCell> - </textField> + <stackView distribution="fill" orientation="vertical" alignment="centerX" spacing="5" horizontalStackHuggingPriority="249.99998474121094" verticalStackHuggingPriority="249.99998474121094" detachesHiddenViews="YES" translatesAutoresizingMaskIntoConstraints="NO" id="lxe-bb-x9e"> + <rect key="frame" x="0.0" y="0.0" width="328" height="58"/> + <subviews> + <customView translatesAutoresizingMaskIntoConstraints="NO" id="fnF-0c-eAI"> + <rect key="frame" x="83" y="53" width="163" height="5"/> + <constraints> + <constraint firstAttribute="height" constant="5" id="uDr-ZO-2so"/> + </constraints> + </customView> + <textField horizontalHuggingPriority="251" verticalHuggingPriority="750" tag="200" translatesAutoresizingMaskIntoConstraints="NO" id="SMB-Vk-E06"> + <rect key="frame" x="160" y="32" width="8" height="16"/> + <constraints> + <constraint firstAttribute="width" priority="250" constant="20" id="Wod-ib-NVj"/> + </constraints> + <textFieldCell key="cell" scrollable="YES" lineBreakMode="clipping" sendsActionOnEndEditing="YES" alignment="center" id="ahn-Mr-638"> + <font key="font" metaFont="system"/> + <color key="textColor" name="secondaryLabelColor" catalog="System" colorSpace="catalog"/> + <color key="backgroundColor" name="controlColor" catalog="System" colorSpace="catalog"/> + </textFieldCell> + </textField> + <textField horizontalHuggingPriority="251" verticalHuggingPriority="750" tag="100" translatesAutoresizingMaskIntoConstraints="NO" id="Wyd-h8-NpR" userLabel="ContactInteractionLabel"> + <rect key="frame" x="146" y="10" width="37" height="17"/> + <constraints> + <constraint firstAttribute="height" constant="17" id="blq-Kh-Y2Y"/> + </constraints> + <textFieldCell key="cell" scrollable="YES" lineBreakMode="clipping" sendsActionOnEndEditing="YES" title="Label" id="GBy-HF-JeP"> + <font key="font" metaFont="systemLight" size="13"/> + <color key="textColor" name="secondaryLabelColor" catalog="System" colorSpace="catalog"/> + <color key="backgroundColor" name="controlColor" catalog="System" colorSpace="catalog"/> + </textFieldCell> + </textField> + <customView translatesAutoresizingMaskIntoConstraints="NO" id="bOO-0I-fGl"> + <rect key="frame" x="83" y="0.0" width="163" height="5"/> + <constraints> + <constraint firstAttribute="height" constant="5" id="xN9-f5-g81"/> + </constraints> + </customView> + </subviews> + <visibilityPriorities> + <integer value="1000"/> + <integer value="1000"/> + <integer value="1000"/> + <integer value="1000"/> + </visibilityPriorities> + <customSpacing> + <real value="3.4028234663852886e+38"/> + <real value="3.4028234663852886e+38"/> + <real value="3.4028234663852886e+38"/> + <real value="3.4028234663852886e+38"/> + </customSpacing> + </stackView> </subviews> <constraints> - <constraint firstItem="DSf-SJ-l6k" firstAttribute="leading" secondItem="0tt-a5-Dex" secondAttribute="leading" id="7ds-Qq-U8q"/> - <constraint firstItem="DSf-SJ-l6k" firstAttribute="top" secondItem="0tt-a5-Dex" secondAttribute="top" constant="7" id="9zu-Oh-w26"/> - <constraint firstItem="DSf-SJ-l6k" firstAttribute="bottom" secondItem="Wyd-h8-NpR" secondAttribute="top" constant="5" id="RB3-cN-Bso"/> - <constraint firstItem="Wyd-h8-NpR" firstAttribute="centerX" secondItem="0tt-a5-Dex" secondAttribute="centerX" id="X7O-3d-Apd"/> - <constraint firstAttribute="trailing" secondItem="DSf-SJ-l6k" secondAttribute="trailing" id="iXU-70-hKW"/> + <constraint firstItem="lxe-bb-x9e" firstAttribute="leading" secondItem="0tt-a5-Dex" secondAttribute="leading" id="MLZ-f4-KtD"/> + <constraint firstAttribute="trailing" secondItem="lxe-bb-x9e" secondAttribute="trailing" id="ehz-TJ-DoX"/> + <constraint firstAttribute="bottom" secondItem="lxe-bb-x9e" secondAttribute="bottom" id="uGj-py-vgi"/> + <constraint firstItem="lxe-bb-x9e" firstAttribute="top" secondItem="0tt-a5-Dex" secondAttribute="top" id="uhn-tm-MEo"/> </constraints> </tableCellView> </prototypeCellViews> @@ -856,7 +954,7 @@ </tableView> </subviews> </clipView> - <edgeInsets key="contentInsets" left="0.0" right="0.0" top="0.0" bottom="17"/> + <edgeInsets key="contentInsets" left="0.0" right="0.0" top="0.0" bottom="0.0"/> <scroller key="horizontalScroller" hidden="YES" wantsLayer="YES" verticalHuggingPriority="750" horizontal="YES" id="zPy-Iz-oF9"> <rect key="frame" x="-100" y="-100" width="739" height="15"/> <autoresizingMask key="autoresizingMask"/> @@ -894,7 +992,7 @@ <constraint firstAttribute="height" constant="32" id="dSX-e7-1Vh"/> <constraint firstAttribute="width" constant="32" id="kGU-D9-INQ"/> </constraints> - <buttonCell key="cell" type="square" bezelStyle="shadowlessSquare" image="ic_action_send" imagePosition="overlaps" alignment="center" enabled="NO" transparent="YES" imageScaling="proportionallyDown" inset="2" id="doF-7O-ikF"> + <buttonCell key="cell" type="square" bezelStyle="shadowlessSquare" image="ic_action_send" imagePosition="only" alignment="center" enabled="NO" transparent="YES" imageScaling="proportionallyDown" inset="2" id="doF-7O-ikF"> <behavior key="behavior" pushIn="YES" lightByBackground="YES" lightByGray="YES"/> <font key="font" metaFont="system"/> </buttonCell> @@ -929,7 +1027,7 @@ <constraint firstAttribute="width" constant="32" id="jcX-bd-eeT"/> <constraint firstAttribute="height" constant="32" id="ypC-5c-Ved"/> </constraints> - <buttonCell key="cell" type="square" bezelStyle="shadowlessSquare" image="ic_file_upload" imagePosition="overlaps" alignment="center" enabled="NO" transparent="YES" imageScaling="proportionallyDown" inset="2" id="Lhu-KV-kCT"> + <buttonCell key="cell" type="square" bezelStyle="shadowlessSquare" image="ic_file_upload" imagePosition="only" alignment="center" enabled="NO" transparent="YES" imageScaling="proportionallyDown" inset="2" id="Lhu-KV-kCT"> <behavior key="behavior" pushIn="YES" lightByBackground="YES" lightByGray="YES"/> <font key="font" metaFont="system"/> </buttonCell> diff --git a/ui/Base.lproj/MessageCells.xib b/ui/Base.lproj/MessageCells.xib index 56a1afd139339658c767fd1bbb2fbc7c7d2d0e25..4565fc558a8b1ae546d88999665c5bde6287d8b5 100644 --- a/ui/Base.lproj/MessageCells.xib +++ b/ui/Base.lproj/MessageCells.xib @@ -1,7 +1,7 @@ <?xml version="1.0" encoding="UTF-8"?> -<document type="com.apple.InterfaceBuilder3.Cocoa.XIB" version="3.0" toolsVersion="15505" targetRuntime="MacOSX.Cocoa" propertyAccessControl="none" useAutolayout="YES" customObjectInstantitationMethod="direct"> +<document type="com.apple.InterfaceBuilder3.Cocoa.XIB" version="3.0" toolsVersion="16096" targetRuntime="MacOSX.Cocoa" propertyAccessControl="none" useAutolayout="YES" customObjectInstantitationMethod="direct"> <dependencies> - <plugIn identifier="com.apple.InterfaceBuilder.CocoaPlugin" version="15505"/> + <plugIn identifier="com.apple.InterfaceBuilder.CocoaPlugin" version="16096"/> <capability name="documents saved in the Xcode 8 format" minToolsVersion="8.0"/> </dependencies> <objects> @@ -9,112 +9,194 @@ <customObject id="-1" userLabel="First Responder" customClass="FirstResponder"/> <customObject id="-3" userLabel="Application" customClass="NSObject"/> <tableCellView identifier="LeftIncomingFileView" id="5Cf-is-eX6" userLabel="IMTableCellView" customClass="IMTableCellView"> - <rect key="frame" x="0.0" y="0.0" width="400" height="114"/> + <rect key="frame" x="0.0" y="0.0" width="400" height="124"/> <autoresizingMask key="autoresizingMask" widthSizable="YES" heightSizable="YES"/> <subviews> - <box boxType="custom" borderType="none" cornerRadius="4" title="Box" translatesAutoresizingMaskIntoConstraints="NO" id="Ko5-2g-foK"> - <rect key="frame" x="0.0" y="80" width="400" height="34"/> - <view key="contentView" id="A5o-ge-tn7"> - <rect key="frame" x="0.0" y="0.0" width="400" height="34"/> - <autoresizingMask key="autoresizingMask" widthSizable="YES" heightSizable="YES"/> - <subviews> - <textField horizontalHuggingPriority="251" verticalHuggingPriority="750" translatesAutoresizingMaskIntoConstraints="NO" id="EyK-S9-kZz"> - <rect key="frame" x="196" y="9" width="8" height="16"/> + <stackView distribution="fill" orientation="vertical" alignment="leading" spacing="0.0" horizontalStackHuggingPriority="249.99998474121094" verticalStackHuggingPriority="249.99998474121094" detachesHiddenViews="YES" translatesAutoresizingMaskIntoConstraints="NO" id="KUR-9N-Tcj"> + <rect key="frame" x="0.0" y="0.0" width="400" height="124"/> + <subviews> + <box boxType="custom" borderType="none" cornerRadius="4" title="Box" translatesAutoresizingMaskIntoConstraints="NO" id="Ko5-2g-foK"> + <rect key="frame" x="0.0" y="90" width="400" height="34"/> + <view key="contentView" id="A5o-ge-tn7"> + <rect key="frame" x="0.0" y="0.0" width="400" height="34"/> + <autoresizingMask key="autoresizingMask" widthSizable="YES" heightSizable="YES"/> + <subviews> + <textField horizontalHuggingPriority="251" verticalHuggingPriority="750" translatesAutoresizingMaskIntoConstraints="NO" id="EyK-S9-kZz"> + <rect key="frame" x="196" y="9" width="8" height="16"/> + <constraints> + <constraint firstAttribute="width" priority="250" constant="20" id="h3Y-F2-Nvs"/> + </constraints> + <textFieldCell key="cell" scrollable="YES" lineBreakMode="clipping" sendsActionOnEndEditing="YES" alignment="center" id="vn0-ue-s4d"> + <font key="font" metaFont="system"/> + <color key="textColor" name="secondaryLabelColor" catalog="System" colorSpace="catalog"/> + <color key="backgroundColor" name="controlColor" catalog="System" colorSpace="catalog"/> + </textFieldCell> + </textField> + </subviews> <constraints> - <constraint firstAttribute="width" priority="250" constant="20" id="h3Y-F2-Nvs"/> + <constraint firstItem="EyK-S9-kZz" firstAttribute="centerY" secondItem="A5o-ge-tn7" secondAttribute="centerY" id="Xhn-0Q-8PC"/> + <constraint firstItem="EyK-S9-kZz" firstAttribute="centerX" secondItem="A5o-ge-tn7" secondAttribute="centerX" id="YY7-Iv-pYJ"/> </constraints> - <textFieldCell key="cell" scrollable="YES" lineBreakMode="clipping" sendsActionOnEndEditing="YES" alignment="center" id="vn0-ue-s4d"> - <font key="font" metaFont="system"/> - <color key="textColor" name="secondaryLabelColor" catalog="System" colorSpace="catalog"/> - <color key="backgroundColor" name="controlColor" catalog="System" colorSpace="catalog"/> - </textFieldCell> - </textField> - </subviews> - <constraints> - <constraint firstItem="EyK-S9-kZz" firstAttribute="centerY" secondItem="A5o-ge-tn7" secondAttribute="centerY" id="Xhn-0Q-8PC"/> - <constraint firstItem="EyK-S9-kZz" firstAttribute="centerX" secondItem="A5o-ge-tn7" secondAttribute="centerX" id="YY7-Iv-pYJ"/> - </constraints> - </view> - <constraints> - <constraint firstAttribute="height" constant="34" id="bZw-wN-WPu"/> - </constraints> - </box> - <imageView horizontalHuggingPriority="251" verticalHuggingPriority="251" translatesAutoresizingMaskIntoConstraints="NO" id="bbY-3f-2Wi"> - <rect key="frame" x="0.0" y="0.0" width="30" height="30"/> - <constraints> - <constraint firstAttribute="height" constant="30" id="N8L-xN-Aqb"/> - <constraint firstAttribute="width" constant="30" id="is6-bX-cMa"/> - </constraints> - <imageCell key="cell" refusesFirstResponder="YES" alignment="left" imageScaling="proportionallyDown" id="l50-cR-bp3"/> - </imageView> - <view translatesAutoresizingMaskIntoConstraints="NO" id="9bA-XZ-y8X" customClass="MessageBubbleView"> - <rect key="frame" x="40" y="0.0" width="250" height="80"/> - <subviews> - <imageView horizontalHuggingPriority="251" verticalHuggingPriority="251" translatesAutoresizingMaskIntoConstraints="NO" id="KEd-qS-Nsi"> - <rect key="frame" x="15" y="45" width="30" height="20"/> - <constraints> - <constraint firstAttribute="height" constant="20" id="PXU-Zw-hZr"/> - <constraint firstAttribute="width" constant="30" id="wtc-7f-D4u"/> - </constraints> - <imageCell key="cell" refusesFirstResponder="YES" alignment="left" imageAlignment="left" imageScaling="proportionallyDown" image="ic_attachment" id="Jpz-4x-jYM"/> - </imageView> - <button verticalHuggingPriority="750" translatesAutoresizingMaskIntoConstraints="NO" id="ZA5-7h-yNn"> - <rect key="frame" x="55" y="48" width="180" height="17"/> - <buttonCell key="cell" type="roundRect" title="Round Rect" bezelStyle="roundedRect" alignment="center" imageScaling="proportionallyDown" inset="2" id="DmW-13-1QZ"> - <behavior key="behavior" pushIn="YES" lightByBackground="YES" lightByGray="YES"/> - <font key="font" metaFont="menu" size="14"/> - </buttonCell> - </button> - <button verticalHuggingPriority="750" translatesAutoresizingMaskIntoConstraints="NO" id="829-to-lM4"> - <rect key="frame" x="15" y="9" width="100" height="19"/> + </view> <constraints> - <constraint firstAttribute="width" constant="100" id="kjH-tU-1tP"/> + <constraint firstAttribute="height" constant="34" id="bZw-wN-WPu"/> </constraints> - <buttonCell key="cell" type="roundRect" title="Accept" bezelStyle="roundedRect" image="ic_file_upload" imagePosition="left" alignment="center" borderStyle="border" imageScaling="proportionallyUpOrDown" inset="2" id="tBq-Qe-bEm"> - <behavior key="behavior" pushIn="YES" lightByBackground="YES" lightByGray="YES"/> - <font key="font" metaFont="label" size="12"/> - </buttonCell> - </button> - <button verticalHuggingPriority="750" translatesAutoresizingMaskIntoConstraints="NO" id="rGw-yF-hxm"> - <rect key="frame" x="125" y="9" width="100" height="19"/> - <constraints> - <constraint firstAttribute="width" constant="100" id="Iuc-mg-eSf"/> - </constraints> - <buttonCell key="cell" type="roundRect" title="Refuse" bezelStyle="roundedRect" image="ic_action_cancel" imagePosition="left" alignment="center" borderStyle="border" imageScaling="proportionallyUpOrDown" inset="2" id="QGs-MO-mVi"> - <behavior key="behavior" pushIn="YES" lightByBackground="YES" lightByGray="YES"/> - <font key="font" metaFont="label" size="12"/> - </buttonCell> - </button> - <box verticalHuggingPriority="750" boxType="separator" translatesAutoresizingMaskIntoConstraints="NO" id="yhT-5T-phc"> - <rect key="frame" x="15" y="30" width="220" height="5"/> </box> + <stackView distribution="fill" orientation="horizontal" alignment="bottom" spacing="10" horizontalStackHuggingPriority="249.99998474121094" verticalStackHuggingPriority="249.99998474121094" detachesHiddenViews="YES" translatesAutoresizingMaskIntoConstraints="NO" id="CbG-nx-J5j"> + <rect key="frame" x="0.0" y="0.0" width="290" height="90"/> + <subviews> + <imageView horizontalHuggingPriority="251" verticalHuggingPriority="251" translatesAutoresizingMaskIntoConstraints="NO" id="bbY-3f-2Wi"> + <rect key="frame" x="0.0" y="0.0" width="30" height="30"/> + <constraints> + <constraint firstAttribute="height" constant="30" id="N8L-xN-Aqb"/> + <constraint firstAttribute="width" constant="30" id="is6-bX-cMa"/> + </constraints> + <imageCell key="cell" refusesFirstResponder="YES" alignment="left" imageScaling="proportionallyDown" id="l50-cR-bp3"/> + </imageView> + <view translatesAutoresizingMaskIntoConstraints="NO" id="9bA-XZ-y8X" customClass="MessageBubbleView"> + <rect key="frame" x="40" y="0.0" width="250" height="90"/> + <subviews> + <stackView distribution="fill" orientation="vertical" alignment="leading" spacing="0.0" horizontalStackHuggingPriority="249.99998474121094" verticalStackHuggingPriority="249.99998474121094" detachesHiddenViews="YES" translatesAutoresizingMaskIntoConstraints="NO" id="9Zc-V3-Usp"> + <rect key="frame" x="20" y="0.0" width="210" height="90"/> + <subviews> + <stackView distribution="fill" orientation="horizontal" alignment="centerY" spacing="5" horizontalStackHuggingPriority="249.99998474121094" verticalStackHuggingPriority="249.99998474121094" detachesHiddenViews="YES" translatesAutoresizingMaskIntoConstraints="NO" id="Fco-P1-jYX"> + <rect key="frame" x="0.0" y="40" width="114" height="50"/> + <subviews> + <imageView horizontalHuggingPriority="251" verticalHuggingPriority="251" translatesAutoresizingMaskIntoConstraints="NO" id="KEd-qS-Nsi"> + <rect key="frame" x="0.0" y="15" width="30" height="20"/> + <constraints> + <constraint firstAttribute="height" constant="20" id="PXU-Zw-hZr"/> + <constraint firstAttribute="width" constant="30" id="wtc-7f-D4u"/> + </constraints> + <imageCell key="cell" refusesFirstResponder="YES" alignment="left" imageAlignment="left" imageScaling="proportionallyDown" image="ic_attachment" id="Jpz-4x-jYM"/> + </imageView> + <button verticalHuggingPriority="750" translatesAutoresizingMaskIntoConstraints="NO" id="ZA5-7h-yNn"> + <rect key="frame" x="35" y="17" width="79" height="17"/> + <buttonCell key="cell" type="roundRect" title="Round Rect" bezelStyle="roundedRect" alignment="center" imageScaling="proportionallyDown" inset="2" id="DmW-13-1QZ"> + <behavior key="behavior" pushIn="YES" lightByBackground="YES" lightByGray="YES"/> + <font key="font" metaFont="menu" size="14"/> + </buttonCell> + </button> + </subviews> + <constraints> + <constraint firstItem="KEd-qS-Nsi" firstAttribute="centerY" secondItem="ZA5-7h-yNn" secondAttribute="centerY" id="Kfv-Cx-KAc"/> + <constraint firstAttribute="height" constant="50" id="Phe-wI-nry"/> + </constraints> + <visibilityPriorities> + <integer value="1000"/> + <integer value="1000"/> + </visibilityPriorities> + <customSpacing> + <real value="3.4028234663852886e+38"/> + <real value="3.4028234663852886e+38"/> + </customSpacing> + </stackView> + <box verticalHuggingPriority="750" boxType="separator" translatesAutoresizingMaskIntoConstraints="NO" id="yhT-5T-phc"> + <rect key="frame" x="0.0" y="37" width="210" height="5"/> + <constraints> + <constraint firstAttribute="height" constant="1" id="Bva-Sp-mhN"/> + </constraints> + </box> + <customView translatesAutoresizingMaskIntoConstraints="NO" id="IvD-FN-J8h"> + <rect key="frame" x="0.0" y="29" width="163" height="10"/> + <constraints> + <constraint firstAttribute="height" constant="10" id="uuG-Kh-OwW"/> + </constraints> + </customView> + <stackView distribution="fill" orientation="horizontal" alignment="centerY" spacing="10" horizontalStackHuggingPriority="249.99998474121094" verticalStackHuggingPriority="249.99998474121094" detachesHiddenViews="YES" translatesAutoresizingMaskIntoConstraints="NO" id="YFu-h1-igh"> + <rect key="frame" x="0.0" y="10" width="210" height="19"/> + <subviews> + <button verticalHuggingPriority="750" translatesAutoresizingMaskIntoConstraints="NO" id="829-to-lM4"> + <rect key="frame" x="0.0" y="0.0" width="100" height="19"/> + <constraints> + <constraint firstAttribute="width" relation="greaterThanOrEqual" constant="100" id="kjH-tU-1tP"/> + </constraints> + <buttonCell key="cell" type="roundRect" title="Accept" bezelStyle="roundedRect" image="ic_file_upload" imagePosition="left" alignment="center" borderStyle="border" imageScaling="proportionallyUpOrDown" inset="2" id="tBq-Qe-bEm"> + <behavior key="behavior" pushIn="YES" lightByBackground="YES" lightByGray="YES"/> + <font key="font" metaFont="label" size="12"/> + </buttonCell> + </button> + <button verticalHuggingPriority="750" translatesAutoresizingMaskIntoConstraints="NO" id="rGw-yF-hxm"> + <rect key="frame" x="110" y="0.0" width="100" height="19"/> + <constraints> + <constraint firstAttribute="width" relation="greaterThanOrEqual" constant="100" id="Iuc-mg-eSf"/> + </constraints> + <buttonCell key="cell" type="roundRect" title="Refuse" bezelStyle="roundedRect" image="ic_action_cancel" imagePosition="left" alignment="center" borderStyle="border" imageScaling="proportionallyUpOrDown" inset="2" id="QGs-MO-mVi"> + <behavior key="behavior" pushIn="YES" lightByBackground="YES" lightByGray="YES"/> + <font key="font" metaFont="label" size="12"/> + </buttonCell> + </button> + </subviews> + <visibilityPriorities> + <integer value="1000"/> + <integer value="1000"/> + </visibilityPriorities> + <customSpacing> + <real value="3.4028234663852886e+38"/> + <real value="3.4028234663852886e+38"/> + </customSpacing> + </stackView> + <customView translatesAutoresizingMaskIntoConstraints="NO" id="fRK-BN-e33"> + <rect key="frame" x="0.0" y="0.0" width="163" height="10"/> + <constraints> + <constraint firstAttribute="height" constant="10" id="mUM-8t-aH4"/> + </constraints> + </customView> + </subviews> + <constraints> + <constraint firstItem="IvD-FN-J8h" firstAttribute="trailing" secondItem="fRK-BN-e33" secondAttribute="trailing" id="z8H-We-RVP"/> + </constraints> + <visibilityPriorities> + <integer value="1000"/> + <integer value="1000"/> + <integer value="1000"/> + <integer value="1000"/> + <integer value="1000"/> + </visibilityPriorities> + <customSpacing> + <real value="3.4028234663852886e+38"/> + <real value="3.4028234663852886e+38"/> + <real value="3.4028234663852886e+38"/> + <real value="3.4028234663852886e+38"/> + <real value="3.4028234663852886e+38"/> + </customSpacing> + </stackView> + </subviews> + <constraints> + <constraint firstAttribute="trailing" secondItem="9Zc-V3-Usp" secondAttribute="trailing" constant="20" id="6WM-FZ-YcT"/> + <constraint firstItem="9Zc-V3-Usp" firstAttribute="leading" secondItem="9bA-XZ-y8X" secondAttribute="leading" constant="20" id="JXV-A7-gBj"/> + <constraint firstAttribute="bottom" secondItem="9Zc-V3-Usp" secondAttribute="bottom" id="ZHp-5i-b57"/> + <constraint firstAttribute="width" constant="250" id="hA5-MX-rda"/> + <constraint firstItem="9Zc-V3-Usp" firstAttribute="top" secondItem="9bA-XZ-y8X" secondAttribute="top" id="hIh-Bw-ZxF"/> + <constraint firstAttribute="height" constant="90" id="phB-aO-1v9"/> + </constraints> + </view> + </subviews> + <visibilityPriorities> + <integer value="1000"/> + <integer value="1000"/> + </visibilityPriorities> + <customSpacing> + <real value="3.4028234663852886e+38"/> + <real value="3.4028234663852886e+38"/> + </customSpacing> + </stackView> </subviews> - <constraints> - <constraint firstItem="829-to-lM4" firstAttribute="leading" secondItem="9bA-XZ-y8X" secondAttribute="leading" constant="15" id="8aS-EQ-vLE"/> - <constraint firstAttribute="bottom" secondItem="829-to-lM4" secondAttribute="bottom" constant="10" id="CGV-3x-v5N"/> - <constraint firstItem="yhT-5T-phc" firstAttribute="top" secondItem="ZA5-7h-yNn" secondAttribute="bottom" constant="15" id="RwV-CO-2lf"/> - <constraint firstItem="KEd-qS-Nsi" firstAttribute="top" secondItem="9bA-XZ-y8X" secondAttribute="top" constant="15" id="Sy3-bH-Tuj"/> - <constraint firstItem="rGw-yF-hxm" firstAttribute="leading" secondItem="829-to-lM4" secondAttribute="trailing" constant="10" id="czr-6I-3vm"/> - <constraint firstAttribute="bottom" secondItem="rGw-yF-hxm" secondAttribute="bottom" constant="10" id="dAg-f3-qTv"/> - <constraint firstAttribute="trailing" secondItem="ZA5-7h-yNn" secondAttribute="trailing" constant="15" id="eRL-Jf-cow"/> - <constraint firstItem="KEd-qS-Nsi" firstAttribute="leading" secondItem="9bA-XZ-y8X" secondAttribute="leading" constant="15" id="ehc-5r-buf"/> - <constraint firstAttribute="width" constant="250" id="hA5-MX-rda"/> - <constraint firstItem="yhT-5T-phc" firstAttribute="leading" secondItem="9bA-XZ-y8X" secondAttribute="leading" constant="15" id="hc2-SM-sFd"/> - <constraint firstItem="ZA5-7h-yNn" firstAttribute="leading" secondItem="KEd-qS-Nsi" secondAttribute="trailing" constant="10" id="xKX-Xb-H7h"/> - <constraint firstItem="ZA5-7h-yNn" firstAttribute="top" secondItem="9bA-XZ-y8X" secondAttribute="top" constant="15" id="ySy-MF-bHf"/> - <constraint firstAttribute="trailing" secondItem="yhT-5T-phc" secondAttribute="trailing" constant="15" id="zWA-zN-oog"/> - </constraints> - </view> + <visibilityPriorities> + <integer value="1000"/> + <integer value="1000"/> + </visibilityPriorities> + <customSpacing> + <real value="3.4028234663852886e+38"/> + <real value="3.4028234663852886e+38"/> + </customSpacing> + </stackView> </subviews> <constraints> - <constraint firstItem="Ko5-2g-foK" firstAttribute="leading" secondItem="5Cf-is-eX6" secondAttribute="leading" id="GwI-fo-Kve"/> - <constraint firstItem="9bA-XZ-y8X" firstAttribute="leading" secondItem="bbY-3f-2Wi" secondAttribute="trailing" constant="10" id="Tcf-yA-Lfr"/> - <constraint firstAttribute="bottom" secondItem="9bA-XZ-y8X" secondAttribute="bottom" id="bBT-hT-3RW"/> - <constraint firstItem="9bA-XZ-y8X" firstAttribute="top" secondItem="Ko5-2g-foK" secondAttribute="bottom" id="cTn-Kq-Jrp"/> - <constraint firstItem="bbY-3f-2Wi" firstAttribute="leading" secondItem="5Cf-is-eX6" secondAttribute="leading" id="ocm-97-AJA"/> - <constraint firstItem="Ko5-2g-foK" firstAttribute="top" secondItem="5Cf-is-eX6" secondAttribute="top" id="s1G-pc-aRg"/> - <constraint firstAttribute="trailing" secondItem="Ko5-2g-foK" secondAttribute="trailing" id="sSD-in-KTu"/> - <constraint firstItem="bbY-3f-2Wi" firstAttribute="bottom" secondItem="9bA-XZ-y8X" secondAttribute="bottom" id="yK5-TI-qJr"/> + <constraint firstItem="KUR-9N-Tcj" firstAttribute="top" secondItem="5Cf-is-eX6" secondAttribute="top" priority="750" id="fnL-Ct-GyA"/> + <constraint firstAttribute="trailing" secondItem="KUR-9N-Tcj" secondAttribute="trailing" id="wGB-RG-hcL"/> + <constraint firstAttribute="bottom" secondItem="KUR-9N-Tcj" secondAttribute="bottom" priority="750" id="y4g-Cx-tcn"/> + <constraint firstItem="KUR-9N-Tcj" firstAttribute="leading" secondItem="5Cf-is-eX6" secondAttribute="leading" id="yUG-Jo-59u"/> </constraints> <connections> <outlet property="acceptButton" destination="829-to-lM4" id="rZu-K5-leg"/> @@ -128,135 +210,229 @@ <point key="canvasLocation" x="139" y="167"/> </tableCellView> <tableCellView identifier="LeftFinishedFileView" id="eW8-NR-350" userLabel="IMTableCellView" customClass="IMTableCellView"> - <rect key="frame" x="0.0" y="0.0" width="264" height="56"/> + <rect key="frame" x="0.0" y="0.0" width="290" height="186"/> <autoresizingMask key="autoresizingMask" widthSizable="YES" heightSizable="YES"/> <subviews> - <box boxType="custom" borderType="none" cornerRadius="4" title="Box" translatesAutoresizingMaskIntoConstraints="NO" id="EAm-7Z-ubs"> - <rect key="frame" x="0.0" y="22" width="264" height="34"/> - <view key="contentView" id="vWe-2x-kXT"> - <rect key="frame" x="0.0" y="0.0" width="264" height="34"/> - <autoresizingMask key="autoresizingMask" widthSizable="YES" heightSizable="YES"/> - <subviews> - <textField horizontalHuggingPriority="251" verticalHuggingPriority="750" translatesAutoresizingMaskIntoConstraints="NO" id="JUf-er-n2R"> - <rect key="frame" x="128" y="9" width="8" height="16"/> + <stackView distribution="fill" orientation="vertical" alignment="leading" spacing="0.0" horizontalStackHuggingPriority="249.99998474121094" verticalStackHuggingPriority="249.99998474121094" detachesHiddenViews="YES" translatesAutoresizingMaskIntoConstraints="NO" id="KIH-j8-8ra"> + <rect key="frame" x="0.0" y="0.0" width="290" height="186"/> + <subviews> + <box boxType="custom" borderType="none" cornerRadius="4" title="Box" translatesAutoresizingMaskIntoConstraints="NO" id="EAm-7Z-ubs"> + <rect key="frame" x="0.0" y="152" width="264" height="34"/> + <view key="contentView" id="vWe-2x-kXT"> + <rect key="frame" x="0.0" y="0.0" width="264" height="34"/> + <autoresizingMask key="autoresizingMask" widthSizable="YES" heightSizable="YES"/> + <subviews> + <textField horizontalHuggingPriority="251" verticalHuggingPriority="750" translatesAutoresizingMaskIntoConstraints="NO" id="JUf-er-n2R"> + <rect key="frame" x="128" y="9" width="8" height="16"/> + <constraints> + <constraint firstAttribute="width" priority="250" constant="20" id="c90-0g-OVN"/> + </constraints> + <textFieldCell key="cell" scrollable="YES" lineBreakMode="clipping" sendsActionOnEndEditing="YES" alignment="center" id="xYI-Og-qqV"> + <font key="font" metaFont="system"/> + <color key="textColor" name="secondaryLabelColor" catalog="System" colorSpace="catalog"/> + <color key="backgroundColor" name="controlColor" catalog="System" colorSpace="catalog"/> + </textFieldCell> + </textField> + </subviews> <constraints> - <constraint firstAttribute="width" priority="250" constant="20" id="c90-0g-OVN"/> + <constraint firstItem="JUf-er-n2R" firstAttribute="centerY" secondItem="vWe-2x-kXT" secondAttribute="centerY" id="YR9-c8-hTx"/> + <constraint firstItem="JUf-er-n2R" firstAttribute="centerX" secondItem="vWe-2x-kXT" secondAttribute="centerX" id="fwY-z1-u4c"/> </constraints> - <textFieldCell key="cell" scrollable="YES" lineBreakMode="clipping" sendsActionOnEndEditing="YES" alignment="center" id="xYI-Og-qqV"> - <font key="font" metaFont="system"/> - <color key="textColor" name="secondaryLabelColor" catalog="System" colorSpace="catalog"/> - <color key="backgroundColor" name="controlColor" catalog="System" colorSpace="catalog"/> - </textFieldCell> - </textField> - </subviews> - <constraints> - <constraint firstItem="JUf-er-n2R" firstAttribute="centerY" secondItem="vWe-2x-kXT" secondAttribute="centerY" id="YR9-c8-hTx"/> - <constraint firstItem="JUf-er-n2R" firstAttribute="centerX" secondItem="vWe-2x-kXT" secondAttribute="centerX" id="fwY-z1-u4c"/> - </constraints> - </view> - <constraints> - <constraint firstAttribute="height" constant="34" id="BjR-11-ho1"/> - </constraints> - </box> - <imageView horizontalHuggingPriority="251" verticalHuggingPriority="251" translatesAutoresizingMaskIntoConstraints="NO" id="BPl-0q-GSo"> - <rect key="frame" x="0.0" y="0.0" width="30" height="30"/> - <constraints> - <constraint firstAttribute="height" constant="30" id="Mn7-6M-17m"/> - <constraint firstAttribute="width" constant="30" id="k7Q-di-xiC"/> - </constraints> - <imageCell key="cell" refusesFirstResponder="YES" alignment="left" imageScaling="proportionallyDown" id="CbP-fL-hnq"/> - </imageView> - <view translatesAutoresizingMaskIntoConstraints="NO" id="rfH-MI-dNw" customClass="MessageBubbleView"> - <rect key="frame" x="40" y="0.0" width="250" height="22"/> - <subviews> - <imageView horizontalHuggingPriority="251" verticalHuggingPriority="251" translatesAutoresizingMaskIntoConstraints="NO" id="gXD-VF-3Sl"> - <rect key="frame" x="15" y="-13" width="30" height="20"/> + </view> <constraints> - <constraint firstAttribute="width" constant="30" id="6H8-jT-mn3"/> - <constraint firstAttribute="height" constant="20" id="R4X-bF-Ge1"/> + <constraint firstAttribute="height" constant="34" id="BjR-11-ho1"/> </constraints> - <imageCell key="cell" refusesFirstResponder="YES" alignment="left" imageAlignment="left" imageScaling="proportionallyDown" image="ic_attachment" id="yjj-R0-GLl"/> - </imageView> - <button verticalHuggingPriority="750" translatesAutoresizingMaskIntoConstraints="NO" id="NbG-jg-Rsk"> - <rect key="frame" x="55" y="-10" width="180" height="17"/> - <buttonCell key="cell" type="square" title="Round Rect" bezelStyle="shadowlessSquare" alignment="center" imageScaling="proportionallyDown" inset="2" id="8CE-a4-Ayu"> - <behavior key="behavior" lightByBackground="YES" lightByGray="YES"/> - <font key="font" metaFont="menu" size="14"/> - </buttonCell> - </button> - <textField horizontalHuggingPriority="251" verticalHuggingPriority="750" translatesAutoresizingMaskIntoConstraints="NO" id="ldC-Xq-oV5"> - <rect key="frame" x="18" y="10" width="4" height="16"/> - <textFieldCell key="cell" scrollable="YES" lineBreakMode="clipping" sendsActionOnEndEditing="YES" alignment="left" id="Mey-Zj-Gqc"> - <font key="font" metaFont="system"/> - <color key="textColor" name="labelColor" catalog="System" colorSpace="catalog"/> - <color key="backgroundColor" name="controlColor" catalog="System" colorSpace="catalog"/> - </textFieldCell> - </textField> - <box verticalHuggingPriority="750" boxType="separator" translatesAutoresizingMaskIntoConstraints="NO" id="ypT-pD-ceZ"> - <rect key="frame" x="15" y="-31" width="220" height="5"/> </box> + <stackView distribution="fill" orientation="horizontal" alignment="bottom" spacing="10" horizontalStackHuggingPriority="249.99998474121094" verticalStackHuggingPriority="249.99998474121094" detachesHiddenViews="YES" translatesAutoresizingMaskIntoConstraints="NO" id="yRz-XH-ndf"> + <rect key="frame" x="0.0" y="0.0" width="290" height="152"/> + <subviews> + <imageView horizontalHuggingPriority="251" verticalHuggingPriority="251" translatesAutoresizingMaskIntoConstraints="NO" id="BPl-0q-GSo"> + <rect key="frame" x="0.0" y="0.0" width="30" height="30"/> + <constraints> + <constraint firstAttribute="height" constant="30" id="Mn7-6M-17m"/> + <constraint firstAttribute="width" constant="30" id="k7Q-di-xiC"/> + </constraints> + <imageCell key="cell" refusesFirstResponder="YES" alignment="left" imageScaling="proportionallyDown" id="CbP-fL-hnq"/> + </imageView> + <stackView distribution="fill" orientation="vertical" alignment="leading" spacing="0.0" horizontalStackHuggingPriority="249.99998474121094" verticalStackHuggingPriority="249.99998474121094" detachesHiddenViews="YES" translatesAutoresizingMaskIntoConstraints="NO" id="JF6-i2-1vG"> + <rect key="frame" x="40" y="0.0" width="250" height="91"/> + <subviews> + <view translatesAutoresizingMaskIntoConstraints="NO" id="rfH-MI-dNw" customClass="MessageBubbleView"> + <rect key="frame" x="0.0" y="1" width="250" height="90"/> + <subviews> + <stackView distribution="fill" orientation="vertical" alignment="leading" spacing="0.0" horizontalStackHuggingPriority="249.99998474121094" verticalStackHuggingPriority="249.99998474121094" detachesHiddenViews="YES" translatesAutoresizingMaskIntoConstraints="NO" id="d6w-Hc-mr1"> + <rect key="frame" x="20" y="0.0" width="210" height="90"/> + <subviews> + <stackView distribution="fill" orientation="horizontal" alignment="centerY" spacing="5" horizontalStackHuggingPriority="249.99998474121094" verticalStackHuggingPriority="249.99998474121094" detachesHiddenViews="YES" translatesAutoresizingMaskIntoConstraints="NO" id="eWr-rt-cAZ"> + <rect key="frame" x="0.0" y="40" width="114" height="50"/> + <subviews> + <imageView horizontalHuggingPriority="251" verticalHuggingPriority="251" translatesAutoresizingMaskIntoConstraints="NO" id="gXD-VF-3Sl"> + <rect key="frame" x="0.0" y="15" width="30" height="20"/> + <constraints> + <constraint firstAttribute="width" constant="30" id="6H8-jT-mn3"/> + <constraint firstAttribute="height" constant="20" id="R4X-bF-Ge1"/> + </constraints> + <imageCell key="cell" refusesFirstResponder="YES" alignment="left" imageAlignment="left" imageScaling="proportionallyDown" image="ic_attachment" id="yjj-R0-GLl"/> + </imageView> + <button verticalHuggingPriority="750" translatesAutoresizingMaskIntoConstraints="NO" id="NbG-jg-Rsk"> + <rect key="frame" x="35" y="17" width="79" height="17"/> + <buttonCell key="cell" type="square" title="Round Rect" bezelStyle="shadowlessSquare" alignment="center" imageScaling="proportionallyDown" inset="2" id="8CE-a4-Ayu"> + <behavior key="behavior" lightByBackground="YES" lightByGray="YES"/> + <font key="font" metaFont="menu" size="14"/> + </buttonCell> + </button> + </subviews> + <constraints> + <constraint firstAttribute="height" constant="50" id="jww-Rj-L05"/> + </constraints> + <visibilityPriorities> + <integer value="1000"/> + <integer value="1000"/> + </visibilityPriorities> + <customSpacing> + <real value="3.4028234663852886e+38"/> + <real value="3.4028234663852886e+38"/> + </customSpacing> + </stackView> + <box verticalHuggingPriority="750" boxType="separator" translatesAutoresizingMaskIntoConstraints="NO" id="ypT-pD-ceZ"> + <rect key="frame" x="0.0" y="37" width="210" height="5"/> + <constraints> + <constraint firstAttribute="height" constant="1" id="xIE-93-d2m"/> + </constraints> + </box> + <customView translatesAutoresizingMaskIntoConstraints="NO" id="F7V-QR-qhh"> + <rect key="frame" x="0.0" y="29" width="163" height="10"/> + <constraints> + <constraint firstAttribute="height" constant="10" id="uhI-CN-JvT"/> + </constraints> + </customView> + <textField horizontalHuggingPriority="251" verticalHuggingPriority="750" translatesAutoresizingMaskIntoConstraints="NO" id="ldC-Xq-oV5"> + <rect key="frame" x="-2" y="10" width="54" height="19"/> + <textFieldCell key="cell" scrollable="YES" lineBreakMode="clipping" sendsActionOnEndEditing="YES" alignment="left" id="Mey-Zj-Gqc"> + <font key="font" metaFont="system"/> + <color key="textColor" name="labelColor" catalog="System" colorSpace="catalog"/> + <color key="backgroundColor" name="controlColor" catalog="System" colorSpace="catalog"/> + </textFieldCell> + </textField> + <customView translatesAutoresizingMaskIntoConstraints="NO" id="F9m-K9-3ca"> + <rect key="frame" x="0.0" y="0.0" width="163" height="10"/> + <constraints> + <constraint firstAttribute="height" constant="10" id="cDM-I3-zGT"/> + </constraints> + </customView> + </subviews> + <visibilityPriorities> + <integer value="1000"/> + <integer value="1000"/> + <integer value="1000"/> + <integer value="1000"/> + <integer value="1000"/> + </visibilityPriorities> + <customSpacing> + <real value="3.4028234663852886e+38"/> + <real value="3.4028234663852886e+38"/> + <real value="3.4028234663852886e+38"/> + <real value="3.4028234663852886e+38"/> + <real value="3.4028234663852886e+38"/> + </customSpacing> + </stackView> + </subviews> + <constraints> + <constraint firstAttribute="height" constant="90" id="HRW-qi-DP5"/> + <constraint firstAttribute="bottom" secondItem="d6w-Hc-mr1" secondAttribute="bottom" id="JSa-SG-5gz"/> + <constraint firstAttribute="width" constant="250" id="e3b-nY-oeV"/> + <constraint firstAttribute="trailing" secondItem="d6w-Hc-mr1" secondAttribute="trailing" constant="20" id="gJ6-dn-WP1"/> + <constraint firstItem="d6w-Hc-mr1" firstAttribute="leading" secondItem="rfH-MI-dNw" secondAttribute="leading" constant="20" id="iyv-tW-3bI"/> + <constraint firstItem="d6w-Hc-mr1" firstAttribute="top" secondItem="rfH-MI-dNw" secondAttribute="top" id="nbb-02-Zs9"/> + </constraints> + </view> + <customView translatesAutoresizingMaskIntoConstraints="NO" id="a0d-YX-Ohv"> + <rect key="frame" x="0.0" y="0.0" width="1" height="1"/> + <subviews> + <imageView horizontalHuggingPriority="251" verticalHuggingPriority="251" translatesAutoresizingMaskIntoConstraints="NO" id="wGS-P4-qNL"> + <rect key="frame" x="0.0" y="0.0" width="1" height="1"/> + <constraints> + <constraint firstAttribute="width" constant="1" id="MT9-ny-Mrs"/> + <constraint firstAttribute="height" constant="1" id="T9c-E0-C70"/> + </constraints> + <imageCell key="cell" refusesFirstResponder="YES" alignment="left" animates="YES" imageScaling="proportionallyUpOrDown" id="Sav-r4-aC6"/> + </imageView> + <button verticalHuggingPriority="750" translatesAutoresizingMaskIntoConstraints="NO" id="7XH-9N-c5g" customClass="HoverButton"> + <rect key="frame" x="0.0" y="0.0" width="1" height="1"/> + <buttonCell key="cell" type="square" bezelStyle="shadowlessSquare" alignment="center" borderStyle="border" transparent="YES" imageScaling="proportionallyDown" inset="2" id="25g-in-yWt"> + <behavior key="behavior" pushIn="YES" lightByBackground="YES" lightByGray="YES"/> + <font key="font" metaFont="system"/> + </buttonCell> + <userDefinedRuntimeAttributes> + <userDefinedRuntimeAttribute type="color" keyPath="cornerColor"> + <color key="value" name="windowBackgroundColor" catalog="System" colorSpace="catalog"/> + </userDefinedRuntimeAttribute> + <userDefinedRuntimeAttribute type="color" keyPath="hoverColor"> + <color key="value" red="0.0" green="0.0" blue="0.0" alpha="0.20000000000000001" colorSpace="calibratedRGB"/> + </userDefinedRuntimeAttribute> + <userDefinedRuntimeAttribute type="color" keyPath="highlightColor"> + <color key="value" white="0.0" alpha="0.29999999999999999" colorSpace="custom" customColorSpace="genericGamma22GrayColorSpace"/> + </userDefinedRuntimeAttribute> + <userDefinedRuntimeAttribute type="color" keyPath="hoverDarkColor"> + <color key="value" red="0.0" green="0.0" blue="0.0" alpha="0.20000000000000001" colorSpace="custom" customColorSpace="sRGB"/> + </userDefinedRuntimeAttribute> + <userDefinedRuntimeAttribute type="color" keyPath="highlightDarkColor"> + <color key="value" red="0.0" green="0.0" blue="0.0" alpha="0.34999999999999998" colorSpace="custom" customColorSpace="sRGB"/> + </userDefinedRuntimeAttribute> + </userDefinedRuntimeAttributes> + </button> + </subviews> + <constraints> + <constraint firstItem="7XH-9N-c5g" firstAttribute="leading" secondItem="wGS-P4-qNL" secondAttribute="leading" id="290-UN-1H4"/> + <constraint firstItem="7XH-9N-c5g" firstAttribute="trailing" secondItem="wGS-P4-qNL" secondAttribute="trailing" id="AT5-Ou-nAg"/> + <constraint firstItem="7XH-9N-c5g" firstAttribute="bottom" secondItem="wGS-P4-qNL" secondAttribute="bottom" id="LgG-Ub-mGF"/> + <constraint firstAttribute="trailing" secondItem="wGS-P4-qNL" secondAttribute="trailing" id="Zdu-N8-mpv"/> + <constraint firstItem="wGS-P4-qNL" firstAttribute="top" secondItem="a0d-YX-Ohv" secondAttribute="top" id="aJl-q4-364"/> + <constraint firstItem="7XH-9N-c5g" firstAttribute="top" secondItem="wGS-P4-qNL" secondAttribute="top" id="dWU-yy-ICA"/> + <constraint firstAttribute="bottom" secondItem="wGS-P4-qNL" secondAttribute="bottom" id="exw-17-Ffe"/> + <constraint firstItem="wGS-P4-qNL" firstAttribute="leading" secondItem="a0d-YX-Ohv" secondAttribute="leading" id="mEv-NS-5rL"/> + </constraints> + </customView> + </subviews> + <visibilityPriorities> + <integer value="1000"/> + <integer value="1000"/> + </visibilityPriorities> + <customSpacing> + <real value="3.4028234663852886e+38"/> + <real value="3.4028234663852886e+38"/> + </customSpacing> + </stackView> + </subviews> + <visibilityPriorities> + <integer value="1000"/> + <integer value="1000"/> + </visibilityPriorities> + <customSpacing> + <real value="3.4028234663852886e+38"/> + <real value="3.4028234663852886e+38"/> + </customSpacing> + </stackView> </subviews> - <constraints> - <constraint firstItem="gXD-VF-3Sl" firstAttribute="leading" secondItem="rfH-MI-dNw" secondAttribute="leading" constant="15" id="Qzf-1C-Nkx"/> - <constraint firstItem="gXD-VF-3Sl" firstAttribute="top" secondItem="rfH-MI-dNw" secondAttribute="top" constant="15" id="RGa-mT-1Zc"/> - <constraint firstAttribute="trailing" secondItem="NbG-jg-Rsk" secondAttribute="trailing" constant="15" id="Ssb-4T-N8v"/> - <constraint firstItem="ldC-Xq-oV5" firstAttribute="leading" secondItem="rfH-MI-dNw" secondAttribute="leading" constant="20" id="cJD-KH-VU4"/> - <constraint firstAttribute="width" constant="250" id="e3b-nY-oeV"/> - <constraint firstAttribute="trailing" secondItem="ypT-pD-ceZ" secondAttribute="trailing" constant="15" id="hhF-wq-lKL"/> - <constraint firstItem="ypT-pD-ceZ" firstAttribute="top" secondItem="gXD-VF-3Sl" secondAttribute="bottom" constant="15" id="p33-XJ-GjX"/> - <constraint firstItem="ypT-pD-ceZ" firstAttribute="leading" secondItem="rfH-MI-dNw" secondAttribute="leading" constant="15" id="qdS-RJ-JAB"/> - <constraint firstAttribute="bottom" secondItem="ldC-Xq-oV5" secondAttribute="bottom" constant="10" id="tmi-TO-YiG"/> - <constraint firstItem="NbG-jg-Rsk" firstAttribute="leading" secondItem="gXD-VF-3Sl" secondAttribute="trailing" constant="10" id="vE5-zD-ZHb"/> - <constraint firstItem="NbG-jg-Rsk" firstAttribute="top" secondItem="rfH-MI-dNw" secondAttribute="top" constant="15" id="wGz-05-VEt"/> - </constraints> - </view> - <imageView horizontalHuggingPriority="251" verticalHuggingPriority="251" translatesAutoresizingMaskIntoConstraints="NO" id="wGS-P4-qNL"> - <rect key="frame" x="40" y="0.0" width="10" height="22"/> - <imageCell key="cell" refusesFirstResponder="YES" alignment="left" animates="YES" imageScaling="proportionallyUpOrDown" id="Sav-r4-aC6"/> - </imageView> - <button verticalHuggingPriority="750" translatesAutoresizingMaskIntoConstraints="NO" id="7XH-9N-c5g" customClass="HoverButton"> - <rect key="frame" x="40" y="0.0" width="10" height="22"/> - <buttonCell key="cell" type="square" bezelStyle="shadowlessSquare" alignment="center" borderStyle="border" transparent="YES" imageScaling="proportionallyDown" inset="2" id="25g-in-yWt"> - <behavior key="behavior" pushIn="YES" lightByBackground="YES" lightByGray="YES"/> - <font key="font" metaFont="system"/> - </buttonCell> - <userDefinedRuntimeAttributes> - <userDefinedRuntimeAttribute type="color" keyPath="cornerColor"> - <color key="value" name="windowBackgroundColor" catalog="System" colorSpace="catalog"/> - </userDefinedRuntimeAttribute> - <userDefinedRuntimeAttribute type="color" keyPath="hoverColor"> - <color key="value" red="0.0" green="0.0" blue="0.0" alpha="0.20000000000000001" colorSpace="calibratedRGB"/> - </userDefinedRuntimeAttribute> - <userDefinedRuntimeAttribute type="color" keyPath="highlightColor"> - <color key="value" white="0.0" alpha="0.29999999999999999" colorSpace="custom" customColorSpace="genericGamma22GrayColorSpace"/> - </userDefinedRuntimeAttribute> - <userDefinedRuntimeAttribute type="color" keyPath="hoverDarkColor"> - <color key="value" red="0.0" green="0.0" blue="0.0" alpha="0.20000000000000001" colorSpace="custom" customColorSpace="sRGB"/> - </userDefinedRuntimeAttribute> - <userDefinedRuntimeAttribute type="color" keyPath="highlightDarkColor"> - <color key="value" red="0.0" green="0.0" blue="0.0" alpha="0.34999999999999998" colorSpace="custom" customColorSpace="sRGB"/> - </userDefinedRuntimeAttribute> - </userDefinedRuntimeAttributes> - </button> + <visibilityPriorities> + <integer value="1000"/> + <integer value="1000"/> + </visibilityPriorities> + <customSpacing> + <real value="3.4028234663852886e+38"/> + <real value="3.4028234663852886e+38"/> + </customSpacing> + </stackView> </subviews> <constraints> - <constraint firstItem="rfH-MI-dNw" firstAttribute="leading" secondItem="BPl-0q-GSo" secondAttribute="trailing" constant="10" id="611-lJ-BBQ"/> - <constraint firstItem="7XH-9N-c5g" firstAttribute="bottom" secondItem="wGS-P4-qNL" secondAttribute="bottom" id="7xg-xB-k0N"/> - <constraint firstItem="rfH-MI-dNw" firstAttribute="top" secondItem="EAm-7Z-ubs" secondAttribute="bottom" id="HIj-cX-wOT"/> - <constraint firstItem="EAm-7Z-ubs" firstAttribute="leading" secondItem="eW8-NR-350" secondAttribute="leading" id="JhW-lj-cC3"/> - <constraint firstAttribute="bottom" secondItem="wGS-P4-qNL" secondAttribute="bottom" id="NGw-Kb-y44"/> - <constraint firstItem="7XH-9N-c5g" firstAttribute="trailing" secondItem="wGS-P4-qNL" secondAttribute="trailing" id="OEw-jb-FKE"/> - <constraint firstAttribute="trailing" secondItem="EAm-7Z-ubs" secondAttribute="trailing" id="Q5D-pe-Xft"/> - <constraint firstItem="EAm-7Z-ubs" firstAttribute="top" secondItem="eW8-NR-350" secondAttribute="top" id="W4u-5d-H5k"/> - <constraint firstItem="BPl-0q-GSo" firstAttribute="leading" secondItem="eW8-NR-350" secondAttribute="leading" id="Y7M-PN-14V"/> - <constraint firstItem="7XH-9N-c5g" firstAttribute="leading" secondItem="wGS-P4-qNL" secondAttribute="leading" id="mLF-3I-e1L"/> - <constraint firstItem="wGS-P4-qNL" firstAttribute="top" secondItem="EAm-7Z-ubs" secondAttribute="bottom" id="q6v-Q9-mg2"/> - <constraint firstItem="rfH-MI-dNw" firstAttribute="bottom" secondItem="BPl-0q-GSo" secondAttribute="bottom" id="s5i-QD-LqE"/> - <constraint firstAttribute="bottom" secondItem="rfH-MI-dNw" secondAttribute="bottom" id="vyt-jC-mVO"/> - <constraint firstItem="7XH-9N-c5g" firstAttribute="top" secondItem="wGS-P4-qNL" secondAttribute="top" id="z8d-A5-a2s"/> - <constraint firstItem="wGS-P4-qNL" firstAttribute="leading" secondItem="BPl-0q-GSo" secondAttribute="trailing" constant="10" id="zlY-t4-J7v"/> + <constraint firstItem="KIH-j8-8ra" firstAttribute="leading" secondItem="eW8-NR-350" secondAttribute="leading" id="DcZ-0n-YEv"/> + <constraint firstAttribute="trailing" secondItem="KIH-j8-8ra" secondAttribute="trailing" id="Hna-YF-I2d"/> + <constraint firstItem="KIH-j8-8ra" firstAttribute="top" secondItem="eW8-NR-350" secondAttribute="top" id="YIr-GX-DFU"/> + <constraint firstAttribute="bottom" secondItem="KIH-j8-8ra" secondAttribute="bottom" id="cna-k7-8k9"/> </constraints> <connections> + <outlet property="messageHeightConstraint" destination="T9c-E0-C70" id="WCn-Tk-40j"/> + <outlet property="messageWidthConstraint" destination="MT9-ny-Mrs" id="0T4-rQ-JVu"/> <outlet property="msgBackground" destination="rfH-MI-dNw" id="AJp-Zq-XG8"/> <outlet property="openImagebutton" destination="7XH-9N-c5g" id="6re-SE-3gr"/> <outlet property="photoView" destination="BPl-0q-GSo" id="6XR-pb-GjY"/> @@ -269,108 +445,193 @@ <point key="canvasLocation" x="132" y="-22"/> </tableCellView> <tableCellView identifier="LeftOngoingFileView" id="AlH-xb-GaC" userLabel="IMTableCellView" customClass="IMTableCellView"> - <rect key="frame" x="0.0" y="0.0" width="400" height="114"/> + <rect key="frame" x="0.0" y="0.0" width="400" height="124"/> <autoresizingMask key="autoresizingMask" widthSizable="YES" heightSizable="YES"/> <subviews> - <box boxType="custom" borderType="none" cornerRadius="4" title="Box" translatesAutoresizingMaskIntoConstraints="NO" id="dDX-sZ-ylI"> - <rect key="frame" x="0.0" y="80" width="400" height="34"/> - <view key="contentView" id="G6u-o0-5uR"> - <rect key="frame" x="0.0" y="0.0" width="400" height="34"/> - <autoresizingMask key="autoresizingMask" widthSizable="YES" heightSizable="YES"/> - <subviews> - <textField horizontalHuggingPriority="251" verticalHuggingPriority="750" translatesAutoresizingMaskIntoConstraints="NO" id="sRg-94-yH1"> - <rect key="frame" x="196" y="9" width="8" height="16"/> + <stackView distribution="fill" orientation="vertical" alignment="leading" spacing="0.0" horizontalStackHuggingPriority="249.99998474121094" verticalStackHuggingPriority="249.99998474121094" detachesHiddenViews="YES" translatesAutoresizingMaskIntoConstraints="NO" id="Uoz-sf-jDG"> + <rect key="frame" x="0.0" y="0.0" width="400" height="124"/> + <subviews> + <box boxType="custom" borderType="none" cornerRadius="4" title="Box" translatesAutoresizingMaskIntoConstraints="NO" id="dDX-sZ-ylI"> + <rect key="frame" x="0.0" y="90" width="400" height="34"/> + <view key="contentView" id="G6u-o0-5uR"> + <rect key="frame" x="0.0" y="0.0" width="400" height="34"/> + <autoresizingMask key="autoresizingMask" widthSizable="YES" heightSizable="YES"/> + <subviews> + <textField horizontalHuggingPriority="251" verticalHuggingPriority="750" translatesAutoresizingMaskIntoConstraints="NO" id="sRg-94-yH1"> + <rect key="frame" x="196" y="9" width="8" height="16"/> + <constraints> + <constraint firstAttribute="width" priority="250" constant="20" id="mLV-uI-q6J"/> + </constraints> + <textFieldCell key="cell" scrollable="YES" lineBreakMode="clipping" sendsActionOnEndEditing="YES" alignment="center" id="pfw-fC-4Xm"> + <font key="font" metaFont="system"/> + <color key="textColor" name="secondaryLabelColor" catalog="System" colorSpace="catalog"/> + <color key="backgroundColor" name="controlColor" catalog="System" colorSpace="catalog"/> + </textFieldCell> + </textField> + </subviews> <constraints> - <constraint firstAttribute="width" priority="250" constant="20" id="mLV-uI-q6J"/> + <constraint firstItem="sRg-94-yH1" firstAttribute="centerX" secondItem="G6u-o0-5uR" secondAttribute="centerX" id="8c1-Tj-0GO"/> + <constraint firstItem="sRg-94-yH1" firstAttribute="centerY" secondItem="G6u-o0-5uR" secondAttribute="centerY" id="p0Z-I5-USk"/> </constraints> - <textFieldCell key="cell" scrollable="YES" lineBreakMode="clipping" sendsActionOnEndEditing="YES" alignment="center" id="pfw-fC-4Xm"> - <font key="font" metaFont="system"/> - <color key="textColor" name="secondaryLabelColor" catalog="System" colorSpace="catalog"/> - <color key="backgroundColor" name="controlColor" catalog="System" colorSpace="catalog"/> - </textFieldCell> - </textField> - </subviews> - <constraints> - <constraint firstItem="sRg-94-yH1" firstAttribute="centerX" secondItem="G6u-o0-5uR" secondAttribute="centerX" id="8c1-Tj-0GO"/> - <constraint firstItem="sRg-94-yH1" firstAttribute="centerY" secondItem="G6u-o0-5uR" secondAttribute="centerY" id="p0Z-I5-USk"/> - </constraints> - </view> - <constraints> - <constraint firstAttribute="height" constant="34" id="yXW-Pu-K5m"/> - </constraints> - </box> - <imageView horizontalHuggingPriority="251" verticalHuggingPriority="251" translatesAutoresizingMaskIntoConstraints="NO" id="ocf-Pp-J4F"> - <rect key="frame" x="0.0" y="0.0" width="30" height="30"/> - <constraints> - <constraint firstAttribute="width" constant="30" id="3w6-xX-tEe"/> - <constraint firstAttribute="height" constant="30" id="C6C-V8-W2b"/> - </constraints> - <imageCell key="cell" refusesFirstResponder="YES" alignment="left" imageScaling="proportionallyDown" id="fhy-Vs-ZoW"/> - </imageView> - <view translatesAutoresizingMaskIntoConstraints="NO" id="YEa-1b-wNo" customClass="MessageBubbleView"> - <rect key="frame" x="40" y="0.0" width="250" height="80"/> - <subviews> - <imageView horizontalHuggingPriority="251" verticalHuggingPriority="251" translatesAutoresizingMaskIntoConstraints="NO" id="Wu8-Ho-MOI"> - <rect key="frame" x="15" y="45" width="30" height="20"/> - <constraints> - <constraint firstAttribute="height" constant="20" id="1dL-ZM-MQf"/> - <constraint firstAttribute="width" constant="30" id="oVv-hj-4mx"/> - </constraints> - <imageCell key="cell" refusesFirstResponder="YES" alignment="left" imageAlignment="left" imageScaling="proportionallyDown" image="ic_attachment" id="q2e-Jw-ifg"/> - </imageView> - <button verticalHuggingPriority="750" translatesAutoresizingMaskIntoConstraints="NO" id="tUr-hG-Ef4"> - <rect key="frame" x="55" y="48" width="180" height="17"/> - <buttonCell key="cell" type="roundRect" title="Round Rect" bezelStyle="roundedRect" alignment="center" imageScaling="proportionallyDown" inset="2" id="Oo1-gq-aPY"> - <behavior key="behavior" pushIn="YES" lightByBackground="YES" lightByGray="YES"/> - <font key="font" metaFont="menu" size="14"/> - </buttonCell> - </button> - <button verticalHuggingPriority="750" translatesAutoresizingMaskIntoConstraints="NO" id="3gN-Us-HWE"> - <rect key="frame" x="130" y="9" width="100" height="19"/> + </view> <constraints> - <constraint firstAttribute="width" constant="100" id="8tO-4c-fca"/> + <constraint firstAttribute="height" constant="34" id="yXW-Pu-K5m"/> </constraints> - <buttonCell key="cell" type="roundRect" title="Cancel" bezelStyle="roundedRect" image="ic_action_cancel" imagePosition="left" alignment="center" borderStyle="border" imageScaling="proportionallyUpOrDown" inset="2" id="1c6-BK-hfV"> - <behavior key="behavior" pushIn="YES" lightByBackground="YES" lightByGray="YES"/> - <font key="font" metaFont="label" size="12"/> - </buttonCell> - </button> - <progressIndicator wantsLayer="YES" maxValue="100" indeterminate="YES" style="bar" translatesAutoresizingMaskIntoConstraints="NO" id="7hN-OZ-vA4"> - <rect key="frame" x="20" y="9" width="100" height="20"/> - <constraints> - <constraint firstAttribute="width" constant="100" id="bWZ-M1-Nuh"/> - </constraints> - </progressIndicator> - <box verticalHuggingPriority="750" boxType="separator" translatesAutoresizingMaskIntoConstraints="NO" id="9ze-gS-MRW"> - <rect key="frame" x="15" y="30" width="220" height="5"/> </box> + <stackView distribution="fill" orientation="horizontal" alignment="bottom" spacing="10" horizontalStackHuggingPriority="249.99998474121094" verticalStackHuggingPriority="249.99998474121094" detachesHiddenViews="YES" translatesAutoresizingMaskIntoConstraints="NO" id="1AP-bM-7AK"> + <rect key="frame" x="0.0" y="0.0" width="290" height="90"/> + <subviews> + <imageView horizontalHuggingPriority="251" verticalHuggingPriority="251" translatesAutoresizingMaskIntoConstraints="NO" id="ocf-Pp-J4F"> + <rect key="frame" x="0.0" y="0.0" width="30" height="30"/> + <constraints> + <constraint firstAttribute="width" constant="30" id="3w6-xX-tEe"/> + <constraint firstAttribute="height" constant="30" id="C6C-V8-W2b"/> + </constraints> + <imageCell key="cell" refusesFirstResponder="YES" alignment="left" imageScaling="proportionallyDown" id="fhy-Vs-ZoW"/> + </imageView> + <view translatesAutoresizingMaskIntoConstraints="NO" id="YEa-1b-wNo" customClass="MessageBubbleView"> + <rect key="frame" x="40" y="0.0" width="250" height="90"/> + <subviews> + <stackView distribution="fill" orientation="vertical" alignment="leading" spacing="0.0" horizontalStackHuggingPriority="249.99998474121094" verticalStackHuggingPriority="249.99998474121094" detachesHiddenViews="YES" translatesAutoresizingMaskIntoConstraints="NO" id="JXX-Px-OMY"> + <rect key="frame" x="20" y="0.0" width="210" height="90"/> + <subviews> + <stackView distribution="fill" orientation="horizontal" alignment="centerY" spacing="5" horizontalStackHuggingPriority="249.99998474121094" verticalStackHuggingPriority="249.99998474121094" detachesHiddenViews="YES" translatesAutoresizingMaskIntoConstraints="NO" id="fBX-Ap-tom"> + <rect key="frame" x="0.0" y="40" width="114" height="50"/> + <subviews> + <imageView horizontalHuggingPriority="251" verticalHuggingPriority="251" translatesAutoresizingMaskIntoConstraints="NO" id="Wu8-Ho-MOI"> + <rect key="frame" x="0.0" y="15" width="30" height="20"/> + <constraints> + <constraint firstAttribute="height" constant="20" id="1dL-ZM-MQf"/> + <constraint firstAttribute="width" constant="30" id="oVv-hj-4mx"/> + </constraints> + <imageCell key="cell" refusesFirstResponder="YES" alignment="left" imageAlignment="left" imageScaling="proportionallyDown" image="ic_attachment" id="q2e-Jw-ifg"/> + </imageView> + <button verticalHuggingPriority="750" translatesAutoresizingMaskIntoConstraints="NO" id="tUr-hG-Ef4"> + <rect key="frame" x="35" y="17" width="79" height="17"/> + <buttonCell key="cell" type="roundRect" title="Round Rect" bezelStyle="roundedRect" alignment="center" imageScaling="proportionallyDown" inset="2" id="Oo1-gq-aPY"> + <behavior key="behavior" pushIn="YES" lightByBackground="YES" lightByGray="YES"/> + <font key="font" metaFont="menu" size="14"/> + </buttonCell> + </button> + </subviews> + <constraints> + <constraint firstItem="Wu8-Ho-MOI" firstAttribute="centerY" secondItem="tUr-hG-Ef4" secondAttribute="centerY" id="8x1-28-6Qk"/> + <constraint firstAttribute="height" constant="50" id="b4L-1Q-yje"/> + </constraints> + <visibilityPriorities> + <integer value="1000"/> + <integer value="1000"/> + </visibilityPriorities> + <customSpacing> + <real value="3.4028234663852886e+38"/> + <real value="3.4028234663852886e+38"/> + </customSpacing> + </stackView> + <box verticalHuggingPriority="750" boxType="separator" translatesAutoresizingMaskIntoConstraints="NO" id="9ze-gS-MRW"> + <rect key="frame" x="0.0" y="37" width="210" height="5"/> + <constraints> + <constraint firstAttribute="height" constant="1" id="YWX-TH-gTh"/> + </constraints> + </box> + <customView translatesAutoresizingMaskIntoConstraints="NO" id="NFM-hJ-sKO"> + <rect key="frame" x="0.0" y="34" width="10" height="5"/> + <constraints> + <constraint firstAttribute="width" constant="10" id="KdR-ro-dKm"/> + <constraint firstAttribute="height" constant="5" id="Nge-5y-4ZJ"/> + </constraints> + </customView> + <stackView distribution="fill" orientation="horizontal" alignment="centerY" spacing="10" horizontalStackHuggingPriority="249.99998474121094" verticalStackHuggingPriority="249.99998474121094" detachesHiddenViews="YES" translatesAutoresizingMaskIntoConstraints="NO" id="6CG-t2-r5G"> + <rect key="frame" x="0.0" y="5" width="210" height="29"/> + <subviews> + <progressIndicator wantsLayer="YES" maxValue="100" indeterminate="YES" style="bar" translatesAutoresizingMaskIntoConstraints="NO" id="7hN-OZ-vA4"> + <rect key="frame" x="0.0" y="5" width="100" height="20"/> + <constraints> + <constraint firstAttribute="width" relation="greaterThanOrEqual" constant="100" id="bWZ-M1-Nuh"/> + </constraints> + </progressIndicator> + <button verticalHuggingPriority="750" translatesAutoresizingMaskIntoConstraints="NO" id="3gN-Us-HWE"> + <rect key="frame" x="110" y="5" width="100" height="19"/> + <constraints> + <constraint firstAttribute="width" relation="greaterThanOrEqual" constant="100" id="8tO-4c-fca"/> + </constraints> + <buttonCell key="cell" type="roundRect" title="Cancel" bezelStyle="roundedRect" image="ic_action_cancel" imagePosition="left" alignment="center" borderStyle="border" imageScaling="proportionallyUpOrDown" inset="2" id="1c6-BK-hfV"> + <behavior key="behavior" pushIn="YES" lightByBackground="YES" lightByGray="YES"/> + <font key="font" metaFont="label" size="12"/> + </buttonCell> + </button> + </subviews> + <constraints> + <constraint firstItem="7hN-OZ-vA4" firstAttribute="bottom" secondItem="3gN-Us-HWE" secondAttribute="bottom" id="FDq-D0-hZi"/> + <constraint firstItem="7hN-OZ-vA4" firstAttribute="top" secondItem="3gN-Us-HWE" secondAttribute="top" id="W2y-5s-Ahc"/> + </constraints> + <visibilityPriorities> + <integer value="1000"/> + <integer value="1000"/> + </visibilityPriorities> + <customSpacing> + <real value="3.4028234663852886e+38"/> + <real value="3.4028234663852886e+38"/> + </customSpacing> + </stackView> + <customView translatesAutoresizingMaskIntoConstraints="NO" id="Tz3-AB-Kea"> + <rect key="frame" x="0.0" y="0.0" width="10" height="5"/> + <constraints> + <constraint firstAttribute="width" constant="10" id="PIM-q2-VVS"/> + <constraint firstAttribute="height" constant="5" id="jaq-MZ-hGX"/> + </constraints> + </customView> + </subviews> + <visibilityPriorities> + <integer value="1000"/> + <integer value="1000"/> + <integer value="1000"/> + <integer value="1000"/> + <integer value="1000"/> + </visibilityPriorities> + <customSpacing> + <real value="3.4028234663852886e+38"/> + <real value="3.4028234663852886e+38"/> + <real value="3.4028234663852886e+38"/> + <real value="3.4028234663852886e+38"/> + <real value="3.4028234663852886e+38"/> + </customSpacing> + </stackView> + </subviews> + <constraints> + <constraint firstAttribute="trailing" secondItem="JXX-Px-OMY" secondAttribute="trailing" constant="20" id="2nU-VQ-H0k"/> + <constraint firstAttribute="height" constant="90" id="FIi-6F-Qne"/> + <constraint firstItem="JXX-Px-OMY" firstAttribute="top" secondItem="YEa-1b-wNo" secondAttribute="top" id="OgM-cS-jCE"/> + <constraint firstAttribute="width" constant="250" id="hoZ-xi-2uY"/> + <constraint firstItem="JXX-Px-OMY" firstAttribute="leading" secondItem="YEa-1b-wNo" secondAttribute="leading" constant="20" id="wGE-tR-j7b"/> + <constraint firstAttribute="bottom" secondItem="JXX-Px-OMY" secondAttribute="bottom" id="wQl-j9-laS"/> + </constraints> + </view> + </subviews> + <visibilityPriorities> + <integer value="1000"/> + <integer value="1000"/> + </visibilityPriorities> + <customSpacing> + <real value="3.4028234663852886e+38"/> + <real value="3.4028234663852886e+38"/> + </customSpacing> + </stackView> </subviews> - <constraints> - <constraint firstItem="Wu8-Ho-MOI" firstAttribute="leading" secondItem="YEa-1b-wNo" secondAttribute="leading" constant="15" id="0ke-HM-RMP"/> - <constraint firstAttribute="bottom" secondItem="3gN-Us-HWE" secondAttribute="bottom" constant="10" id="1ZJ-CT-6vY"/> - <constraint firstItem="9ze-gS-MRW" firstAttribute="top" secondItem="tUr-hG-Ef4" secondAttribute="bottom" constant="15" id="Hyb-Sx-ALq"/> - <constraint firstItem="9ze-gS-MRW" firstAttribute="leading" secondItem="YEa-1b-wNo" secondAttribute="leading" constant="15" id="Ky3-fl-MGA"/> - <constraint firstItem="7hN-OZ-vA4" firstAttribute="leading" secondItem="YEa-1b-wNo" secondAttribute="leading" constant="20" id="OUQ-7f-O5z"/> - <constraint firstItem="tUr-hG-Ef4" firstAttribute="top" secondItem="YEa-1b-wNo" secondAttribute="top" constant="15" id="P23-dz-Fp3"/> - <constraint firstAttribute="trailing" secondItem="9ze-gS-MRW" secondAttribute="trailing" constant="15" id="PCf-CL-3BS"/> - <constraint firstItem="Wu8-Ho-MOI" firstAttribute="top" secondItem="YEa-1b-wNo" secondAttribute="top" constant="15" id="ZIH-ff-uTu"/> - <constraint firstAttribute="trailing" secondItem="tUr-hG-Ef4" secondAttribute="trailing" constant="15" id="aRm-1J-8A0"/> - <constraint firstItem="tUr-hG-Ef4" firstAttribute="leading" secondItem="Wu8-Ho-MOI" secondAttribute="trailing" constant="10" id="dRB-Jg-YZK"/> - <constraint firstAttribute="width" constant="250" id="hoZ-xi-2uY"/> - <constraint firstAttribute="bottom" secondItem="7hN-OZ-vA4" secondAttribute="bottom" constant="10" id="llc-Cu-4aR"/> - <constraint firstItem="3gN-Us-HWE" firstAttribute="leading" secondItem="7hN-OZ-vA4" secondAttribute="trailing" constant="10" id="oBj-F2-ETd"/> - </constraints> - </view> + <visibilityPriorities> + <integer value="1000"/> + <integer value="1000"/> + </visibilityPriorities> + <customSpacing> + <real value="3.4028234663852886e+38"/> + <real value="3.4028234663852886e+38"/> + </customSpacing> + </stackView> </subviews> <constraints> - <constraint firstAttribute="bottom" secondItem="YEa-1b-wNo" secondAttribute="bottom" id="8YU-Mx-it1"/> - <constraint firstItem="YEa-1b-wNo" firstAttribute="leading" secondItem="ocf-Pp-J4F" secondAttribute="trailing" constant="10" id="Axo-wx-fOW"/> - <constraint firstItem="dDX-sZ-ylI" firstAttribute="leading" secondItem="AlH-xb-GaC" secondAttribute="leading" id="DsO-Oi-zzq"/> - <constraint firstAttribute="trailing" secondItem="dDX-sZ-ylI" secondAttribute="trailing" id="LR4-cr-pjq"/> - <constraint firstItem="ocf-Pp-J4F" firstAttribute="leading" secondItem="AlH-xb-GaC" secondAttribute="leading" id="NEW-8b-g1U"/> - <constraint firstItem="dDX-sZ-ylI" firstAttribute="top" secondItem="AlH-xb-GaC" secondAttribute="top" id="lau-iO-cB4"/> - <constraint firstItem="YEa-1b-wNo" firstAttribute="top" secondItem="dDX-sZ-ylI" secondAttribute="bottom" id="nnO-75-3KJ"/> - <constraint firstItem="ocf-Pp-J4F" firstAttribute="bottom" secondItem="YEa-1b-wNo" secondAttribute="bottom" id="xTt-0W-itN"/> + <constraint firstItem="Uoz-sf-jDG" firstAttribute="leading" secondItem="AlH-xb-GaC" secondAttribute="leading" id="72v-dA-cLo"/> + <constraint firstAttribute="trailing" secondItem="Uoz-sf-jDG" secondAttribute="trailing" id="GDI-gx-SaL"/> + <constraint firstItem="Uoz-sf-jDG" firstAttribute="top" secondItem="AlH-xb-GaC" secondAttribute="top" id="H2p-VL-dJb"/> + <constraint firstAttribute="bottom" secondItem="Uoz-sf-jDG" secondAttribute="bottom" id="dSR-U9-Gyf"/> </constraints> <connections> <outlet property="declineButton" destination="3gN-Us-HWE" id="WYo-gh-5fw"/> @@ -384,103 +645,186 @@ <point key="canvasLocation" x="139" y="490"/> </tableCellView> <tableCellView identifier="RightOngoingFileView" id="HAZ-Y8-9zY" userLabel="IMTableCellView" customClass="IMTableCellView"> - <rect key="frame" x="0.0" y="0.0" width="400" height="172"/> + <rect key="frame" x="0.0" y="0.0" width="400" height="124"/> <autoresizingMask key="autoresizingMask" widthSizable="YES" heightSizable="YES"/> <subviews> - <box boxType="custom" borderType="none" cornerRadius="4" title="Box" translatesAutoresizingMaskIntoConstraints="NO" id="x2B-gu-YBe"> - <rect key="frame" x="0.0" y="138" width="400" height="34"/> - <view key="contentView" id="zwm-oF-RvK"> - <rect key="frame" x="0.0" y="0.0" width="400" height="34"/> - <autoresizingMask key="autoresizingMask" widthSizable="YES" heightSizable="YES"/> - <subviews> - <textField horizontalHuggingPriority="251" verticalHuggingPriority="750" translatesAutoresizingMaskIntoConstraints="NO" id="2IY-Tt-uAF"> - <rect key="frame" x="196" y="9" width="8" height="16"/> + <stackView distribution="fill" orientation="vertical" alignment="trailing" spacing="0.0" horizontalStackHuggingPriority="249.99998474121094" verticalStackHuggingPriority="249.99998474121094" detachesHiddenViews="YES" translatesAutoresizingMaskIntoConstraints="NO" id="dvT-Pd-p3g"> + <rect key="frame" x="0.0" y="0.0" width="400" height="124"/> + <subviews> + <box boxType="custom" borderType="none" cornerRadius="4" title="Box" translatesAutoresizingMaskIntoConstraints="NO" id="x2B-gu-YBe"> + <rect key="frame" x="0.0" y="90" width="400" height="34"/> + <view key="contentView" id="zwm-oF-RvK"> + <rect key="frame" x="0.0" y="0.0" width="400" height="34"/> + <autoresizingMask key="autoresizingMask" widthSizable="YES" heightSizable="YES"/> + <subviews> + <textField horizontalHuggingPriority="251" verticalHuggingPriority="750" translatesAutoresizingMaskIntoConstraints="NO" id="2IY-Tt-uAF"> + <rect key="frame" x="196" y="9" width="8" height="16"/> + <constraints> + <constraint firstAttribute="width" priority="250" constant="20" id="nTF-Xv-8ok"/> + </constraints> + <textFieldCell key="cell" scrollable="YES" lineBreakMode="clipping" sendsActionOnEndEditing="YES" alignment="center" id="fU3-Ej-fOu"> + <font key="font" metaFont="system"/> + <color key="textColor" name="secondaryLabelColor" catalog="System" colorSpace="catalog"/> + <color key="backgroundColor" name="controlColor" catalog="System" colorSpace="catalog"/> + </textFieldCell> + </textField> + </subviews> <constraints> - <constraint firstAttribute="width" priority="250" constant="20" id="nTF-Xv-8ok"/> + <constraint firstItem="2IY-Tt-uAF" firstAttribute="centerX" secondItem="zwm-oF-RvK" secondAttribute="centerX" id="Tt5-98-7WH"/> + <constraint firstItem="2IY-Tt-uAF" firstAttribute="centerY" secondItem="zwm-oF-RvK" secondAttribute="centerY" id="tNc-uW-aBn"/> </constraints> - <textFieldCell key="cell" scrollable="YES" lineBreakMode="clipping" sendsActionOnEndEditing="YES" alignment="center" id="fU3-Ej-fOu"> - <font key="font" metaFont="system"/> - <color key="textColor" name="secondaryLabelColor" catalog="System" colorSpace="catalog"/> - <color key="backgroundColor" name="controlColor" catalog="System" colorSpace="catalog"/> - </textFieldCell> - </textField> - </subviews> - <constraints> - <constraint firstItem="2IY-Tt-uAF" firstAttribute="centerX" secondItem="zwm-oF-RvK" secondAttribute="centerX" id="Tt5-98-7WH"/> - <constraint firstItem="2IY-Tt-uAF" firstAttribute="centerY" secondItem="zwm-oF-RvK" secondAttribute="centerY" id="tNc-uW-aBn"/> - </constraints> - </view> - <constraints> - <constraint firstAttribute="height" constant="34" id="hvM-hF-reZ"/> - </constraints> - </box> - <view translatesAutoresizingMaskIntoConstraints="NO" id="UY2-T5-a0P" customClass="MessageBubbleView"> - <rect key="frame" x="150" y="0.0" width="250" height="138"/> - <subviews> - <imageView horizontalHuggingPriority="251" verticalHuggingPriority="251" translatesAutoresizingMaskIntoConstraints="NO" id="sUr-U8-vgf"> - <rect key="frame" x="15" y="103" width="30" height="20"/> + </view> <constraints> - <constraint firstAttribute="width" constant="30" id="1q5-4s-iFz"/> - <constraint firstAttribute="height" constant="20" id="ekF-eV-r0g"/> + <constraint firstAttribute="height" constant="34" id="hvM-hF-reZ"/> </constraints> - <imageCell key="cell" refusesFirstResponder="YES" alignment="left" imageScaling="proportionallyDown" image="ic_attachment" id="1qg-9v-1DA"/> - </imageView> - <button verticalHuggingPriority="750" translatesAutoresizingMaskIntoConstraints="NO" id="WnO-2x-32a"> - <rect key="frame" x="55" y="106" width="180" height="17"/> - <buttonCell key="cell" type="roundRect" title="Round Rect" bezelStyle="roundedRect" alignment="center" imageScaling="proportionallyDown" inset="2" id="fu2-X7-GW8"> - <behavior key="behavior" pushIn="YES" lightByBackground="YES" lightByGray="YES"/> - <font key="font" metaFont="menu" size="14"/> - </buttonCell> - </button> - <button verticalHuggingPriority="750" translatesAutoresizingMaskIntoConstraints="NO" id="2cr-cl-DfB"> - <rect key="frame" x="135" y="9" width="100" height="19"/> - <constraints> - <constraint firstAttribute="width" constant="100" id="xXu-dH-JTk"/> - </constraints> - <buttonCell key="cell" type="roundRect" title="Cancel" bezelStyle="roundedRect" image="ic_action_cancel" imagePosition="left" alignment="center" borderStyle="border" imageScaling="proportionallyUpOrDown" inset="2" id="9Oq-TB-quZ"> - <behavior key="behavior" pushIn="YES" lightByBackground="YES" lightByGray="YES"/> - <font key="font" metaFont="label" size="12"/> - </buttonCell> - </button> - <progressIndicator wantsLayer="YES" maxValue="100" indeterminate="YES" style="bar" translatesAutoresizingMaskIntoConstraints="NO" id="Sv9-jf-3cY"> - <rect key="frame" x="25" y="9" width="100" height="20"/> + </box> + <view translatesAutoresizingMaskIntoConstraints="NO" id="UY2-T5-a0P" customClass="MessageBubbleView"> + <rect key="frame" x="134" y="0.0" width="250" height="90"/> + <subviews> + <stackView distribution="fill" orientation="vertical" alignment="leading" spacing="0.0" horizontalStackHuggingPriority="249.99998474121094" verticalStackHuggingPriority="249.99998474121094" detachesHiddenViews="YES" translatesAutoresizingMaskIntoConstraints="NO" id="7XB-Ln-kcr"> + <rect key="frame" x="20" y="0.0" width="210" height="90"/> + <subviews> + <stackView distribution="fill" orientation="horizontal" alignment="centerY" spacing="10" horizontalStackHuggingPriority="249.99998474121094" verticalStackHuggingPriority="249.99998474121094" detachesHiddenViews="YES" translatesAutoresizingMaskIntoConstraints="NO" id="Gfs-3T-2Z5"> + <rect key="frame" x="0.0" y="40" width="119" height="50"/> + <subviews> + <imageView horizontalHuggingPriority="251" verticalHuggingPriority="251" translatesAutoresizingMaskIntoConstraints="NO" id="sUr-U8-vgf"> + <rect key="frame" x="0.0" y="15" width="30" height="20"/> + <constraints> + <constraint firstAttribute="width" constant="30" id="1q5-4s-iFz"/> + <constraint firstAttribute="height" constant="20" id="ekF-eV-r0g"/> + </constraints> + <imageCell key="cell" refusesFirstResponder="YES" alignment="left" imageScaling="proportionallyDown" image="ic_attachment" id="1qg-9v-1DA"/> + </imageView> + <button verticalHuggingPriority="750" translatesAutoresizingMaskIntoConstraints="NO" id="WnO-2x-32a"> + <rect key="frame" x="40" y="17" width="79" height="17"/> + <buttonCell key="cell" type="roundRect" title="Round Rect" bezelStyle="roundedRect" alignment="center" imageScaling="proportionallyDown" inset="2" id="fu2-X7-GW8"> + <behavior key="behavior" pushIn="YES" lightByBackground="YES" lightByGray="YES"/> + <font key="font" metaFont="menu" size="14"/> + </buttonCell> + </button> + </subviews> + <constraints> + <constraint firstAttribute="height" constant="50" id="j6g-Lf-i4J"/> + </constraints> + <visibilityPriorities> + <integer value="1000"/> + <integer value="1000"/> + </visibilityPriorities> + <customSpacing> + <real value="3.4028234663852886e+38"/> + <real value="3.4028234663852886e+38"/> + </customSpacing> + </stackView> + <box verticalHuggingPriority="750" boxType="separator" translatesAutoresizingMaskIntoConstraints="NO" id="Bdf-V5-WwA"> + <rect key="frame" x="0.0" y="37" width="210" height="5"/> + <constraints> + <constraint firstAttribute="height" constant="1" id="Wsx-87-kIk"/> + </constraints> + </box> + <customView translatesAutoresizingMaskIntoConstraints="NO" id="zIY-uh-4xD"> + <rect key="frame" x="0.0" y="29" width="10" height="10"/> + <constraints> + <constraint firstAttribute="width" constant="10" id="SkD-0R-L1q"/> + <constraint firstAttribute="height" constant="10" id="arb-Co-NT8"/> + </constraints> + </customView> + <stackView distribution="fill" orientation="vertical" alignment="leading" spacing="0.0" horizontalStackHuggingPriority="249.99998474121094" verticalStackHuggingPriority="249.99998474121094" detachesHiddenViews="YES" translatesAutoresizingMaskIntoConstraints="NO" id="NeW-wa-Nr0"> + <rect key="frame" x="0.0" y="10" width="210" height="19"/> + <subviews> + <stackView distribution="fill" orientation="horizontal" alignment="top" spacing="10" horizontalStackHuggingPriority="249.99998474121094" verticalStackHuggingPriority="249.99998474121094" detachesHiddenViews="YES" translatesAutoresizingMaskIntoConstraints="NO" id="o5f-x7-XOq"> + <rect key="frame" x="0.0" y="0.0" width="210" height="19"/> + <subviews> + <progressIndicator wantsLayer="YES" maxValue="100" indeterminate="YES" style="bar" translatesAutoresizingMaskIntoConstraints="NO" id="Sv9-jf-3cY"> + <rect key="frame" x="0.0" y="0.0" width="100" height="20"/> + <constraints> + <constraint firstAttribute="width" constant="100" id="btI-wg-j3H"/> + </constraints> + </progressIndicator> + <button verticalHuggingPriority="750" translatesAutoresizingMaskIntoConstraints="NO" id="2cr-cl-DfB"> + <rect key="frame" x="110" y="0.0" width="100" height="19"/> + <constraints> + <constraint firstAttribute="width" relation="greaterThanOrEqual" constant="100" id="xXu-dH-JTk"/> + </constraints> + <buttonCell key="cell" type="roundRect" title="Cancel" bezelStyle="roundedRect" image="ic_action_cancel" imagePosition="left" alignment="center" borderStyle="border" imageScaling="proportionallyUpOrDown" inset="2" id="9Oq-TB-quZ"> + <behavior key="behavior" pushIn="YES" lightByBackground="YES" lightByGray="YES"/> + <font key="font" metaFont="label" size="12"/> + </buttonCell> + </button> + </subviews> + <visibilityPriorities> + <integer value="1000"/> + <integer value="1000"/> + </visibilityPriorities> + <customSpacing> + <real value="3.4028234663852886e+38"/> + <real value="3.4028234663852886e+38"/> + </customSpacing> + </stackView> + </subviews> + <visibilityPriorities> + <integer value="1000"/> + </visibilityPriorities> + <customSpacing> + <real value="3.4028234663852886e+38"/> + </customSpacing> + </stackView> + <customView translatesAutoresizingMaskIntoConstraints="NO" id="Qgo-tL-vj8"> + <rect key="frame" x="0.0" y="0.0" width="10" height="10"/> + <constraints> + <constraint firstAttribute="width" constant="10" id="ftC-bO-9E7"/> + <constraint firstAttribute="height" constant="10" id="qCj-LB-xRv"/> + </constraints> + </customView> + </subviews> + <visibilityPriorities> + <integer value="1000"/> + <integer value="1000"/> + <integer value="1000"/> + <integer value="1000"/> + <integer value="1000"/> + </visibilityPriorities> + <customSpacing> + <real value="3.4028234663852886e+38"/> + <real value="3.4028234663852886e+38"/> + <real value="3.4028234663852886e+38"/> + <real value="3.4028234663852886e+38"/> + <real value="3.4028234663852886e+38"/> + </customSpacing> + </stackView> + </subviews> <constraints> - <constraint firstAttribute="width" constant="100" id="btI-wg-j3H"/> + <constraint firstAttribute="height" constant="90" id="2eN-hb-Kgz"/> + <constraint firstAttribute="trailing" secondItem="7XB-Ln-kcr" secondAttribute="trailing" constant="20" id="dJC-N9-X9G"/> + <constraint firstItem="7XB-Ln-kcr" firstAttribute="top" secondItem="UY2-T5-a0P" secondAttribute="top" id="ihV-g4-DdU"/> + <constraint firstAttribute="bottom" secondItem="7XB-Ln-kcr" secondAttribute="bottom" id="lRS-g1-7aE"/> + <constraint firstItem="7XB-Ln-kcr" firstAttribute="leading" secondItem="UY2-T5-a0P" secondAttribute="leading" constant="20" id="pYu-0y-lPO"/> + <constraint firstAttribute="width" constant="250" id="pfZ-1w-Zad"/> </constraints> - </progressIndicator> - <box verticalHuggingPriority="750" boxType="separator" translatesAutoresizingMaskIntoConstraints="NO" id="Bdf-V5-WwA"> - <rect key="frame" x="15" y="85" width="220" height="5"/> - </box> + <userDefinedRuntimeAttributes> + <userDefinedRuntimeAttribute type="color" keyPath="bgColor"> + <color key="value" red="0.23137254901960785" green="0.75686274509803919" blue="0.82745098039215681" alpha="0.29999999999999999" colorSpace="calibratedRGB"/> + </userDefinedRuntimeAttribute> + </userDefinedRuntimeAttributes> + </view> </subviews> <constraints> - <constraint firstAttribute="bottom" secondItem="2cr-cl-DfB" secondAttribute="bottom" constant="10" id="Bju-pD-Tkn"/> - <constraint firstAttribute="trailing" secondItem="2cr-cl-DfB" secondAttribute="trailing" constant="15" id="DEz-fI-qdO"/> - <constraint firstAttribute="trailing" secondItem="WnO-2x-32a" secondAttribute="trailing" constant="15" id="Lyb-Pv-KGu"/> - <constraint firstItem="2cr-cl-DfB" firstAttribute="leading" secondItem="Sv9-jf-3cY" secondAttribute="trailing" constant="10" id="MvI-nv-3Jm"/> - <constraint firstItem="sUr-U8-vgf" firstAttribute="top" secondItem="UY2-T5-a0P" secondAttribute="top" constant="15" id="O3v-7H-dYx"/> - <constraint firstItem="Bdf-V5-WwA" firstAttribute="top" secondItem="sUr-U8-vgf" secondAttribute="bottom" constant="15" id="U3B-ds-ZWG"/> - <constraint firstItem="Bdf-V5-WwA" firstAttribute="leading" secondItem="UY2-T5-a0P" secondAttribute="leading" constant="15" id="XEZ-G2-QEr"/> - <constraint firstItem="WnO-2x-32a" firstAttribute="top" secondItem="UY2-T5-a0P" secondAttribute="top" constant="15" id="Y8f-dC-FUc"/> - <constraint firstItem="sUr-U8-vgf" firstAttribute="leading" secondItem="UY2-T5-a0P" secondAttribute="leading" constant="15" id="aSn-hE-GLz"/> - <constraint firstItem="WnO-2x-32a" firstAttribute="leading" secondItem="sUr-U8-vgf" secondAttribute="trailing" constant="10" id="ahF-gp-5sX"/> - <constraint firstAttribute="trailing" secondItem="Bdf-V5-WwA" secondAttribute="trailing" constant="15" id="eBA-nw-2aS"/> - <constraint firstAttribute="bottom" secondItem="Sv9-jf-3cY" secondAttribute="bottom" constant="10" id="lc7-4X-2Mb"/> - <constraint firstAttribute="width" constant="250" id="pfZ-1w-Zad"/> + <constraint firstAttribute="trailing" secondItem="UY2-T5-a0P" secondAttribute="trailing" constant="16" id="95Y-cZ-3ja"/> </constraints> - <userDefinedRuntimeAttributes> - <userDefinedRuntimeAttribute type="color" keyPath="bgColor"> - <color key="value" red="0.23137254901960785" green="0.75686274509803919" blue="0.82745098039215681" alpha="0.29999999999999999" colorSpace="calibratedRGB"/> - </userDefinedRuntimeAttribute> - </userDefinedRuntimeAttributes> - </view> + <visibilityPriorities> + <integer value="1000"/> + <integer value="1000"/> + </visibilityPriorities> + <customSpacing> + <real value="3.4028234663852886e+38"/> + <real value="3.4028234663852886e+38"/> + </customSpacing> + </stackView> </subviews> <constraints> - <constraint firstItem="UY2-T5-a0P" firstAttribute="top" secondItem="x2B-gu-YBe" secondAttribute="bottom" id="GBH-MV-asW"/> - <constraint firstAttribute="trailing" secondItem="x2B-gu-YBe" secondAttribute="trailing" id="W6V-xm-R8a"/> - <constraint firstItem="x2B-gu-YBe" firstAttribute="leading" secondItem="HAZ-Y8-9zY" secondAttribute="leading" id="eCy-fP-yIT"/> - <constraint firstAttribute="trailing" secondItem="UY2-T5-a0P" secondAttribute="trailing" id="jAS-n6-OCB"/> - <constraint firstItem="x2B-gu-YBe" firstAttribute="top" secondItem="HAZ-Y8-9zY" secondAttribute="top" id="kZi-NL-X0r"/> - <constraint firstAttribute="bottom" secondItem="UY2-T5-a0P" secondAttribute="bottom" id="wRV-dW-dkZ"/> + <constraint firstItem="dvT-Pd-p3g" firstAttribute="top" secondItem="HAZ-Y8-9zY" secondAttribute="top" id="4iA-CH-uLt"/> + <constraint firstAttribute="trailing" secondItem="dvT-Pd-p3g" secondAttribute="trailing" id="Tze-Nt-QRN"/> + <constraint firstItem="dvT-Pd-p3g" firstAttribute="leading" secondItem="HAZ-Y8-9zY" secondAttribute="leading" id="lli-U6-V4S"/> + <constraint firstAttribute="bottom" secondItem="dvT-Pd-p3g" secondAttribute="bottom" id="qsC-Fe-zYB"/> </constraints> <connections> <outlet property="declineButton" destination="2cr-cl-DfB" id="0Rk-eA-Fyg"/> @@ -493,125 +837,217 @@ <point key="canvasLocation" x="139" y="750"/> </tableCellView> <tableCellView identifier="RightFinishedFileView" id="rmZ-yh-rX1" userLabel="IMTableCellView" customClass="IMTableCellView"> - <rect key="frame" x="0.0" y="0.0" width="400" height="40"/> + <rect key="frame" x="0.0" y="0.0" width="700" height="129"/> <autoresizingMask key="autoresizingMask" widthSizable="YES" heightSizable="YES"/> <subviews> - <box boxType="custom" borderType="none" cornerRadius="4" title="Box" translatesAutoresizingMaskIntoConstraints="NO" id="e0e-TK-qch"> - <rect key="frame" x="0.0" y="6" width="400" height="34"/> - <view key="contentView" id="Jbl-ZD-fCi"> - <rect key="frame" x="0.0" y="0.0" width="400" height="34"/> - <autoresizingMask key="autoresizingMask" widthSizable="YES" heightSizable="YES"/> - <subviews> - <textField horizontalHuggingPriority="251" verticalHuggingPriority="750" translatesAutoresizingMaskIntoConstraints="NO" id="Od3-Cq-LmR"> - <rect key="frame" x="196" y="9" width="8" height="16"/> + <stackView distribution="fill" orientation="vertical" alignment="leading" spacing="0.0" horizontalStackHuggingPriority="249.99998474121094" verticalStackHuggingPriority="249.99998474121094" detachesHiddenViews="YES" translatesAutoresizingMaskIntoConstraints="NO" id="HCV-dK-X40"> + <rect key="frame" x="0.0" y="0.0" width="700" height="129"/> + <subviews> + <box boxType="custom" borderType="none" cornerRadius="4" title="Box" translatesAutoresizingMaskIntoConstraints="NO" id="e0e-TK-qch"> + <rect key="frame" x="0.0" y="95" width="400" height="34"/> + <view key="contentView" id="Jbl-ZD-fCi"> + <rect key="frame" x="0.0" y="0.0" width="400" height="34"/> + <autoresizingMask key="autoresizingMask" widthSizable="YES" heightSizable="YES"/> + <subviews> + <textField horizontalHuggingPriority="251" verticalHuggingPriority="750" translatesAutoresizingMaskIntoConstraints="NO" id="Od3-Cq-LmR"> + <rect key="frame" x="196" y="9" width="8" height="16"/> + <constraints> + <constraint firstAttribute="width" priority="250" constant="20" id="RoH-7v-RcD"/> + </constraints> + <textFieldCell key="cell" scrollable="YES" lineBreakMode="clipping" sendsActionOnEndEditing="YES" alignment="center" id="gyp-Xg-CZc"> + <font key="font" metaFont="system"/> + <color key="textColor" name="secondaryLabelColor" catalog="System" colorSpace="catalog"/> + <color key="backgroundColor" name="controlColor" catalog="System" colorSpace="catalog"/> + </textFieldCell> + </textField> + </subviews> <constraints> - <constraint firstAttribute="width" priority="250" constant="20" id="RoH-7v-RcD"/> + <constraint firstItem="Od3-Cq-LmR" firstAttribute="centerX" secondItem="Jbl-ZD-fCi" secondAttribute="centerX" id="YbB-7M-3ST"/> + <constraint firstItem="Od3-Cq-LmR" firstAttribute="centerY" secondItem="Jbl-ZD-fCi" secondAttribute="centerY" id="kla-ao-cdw"/> </constraints> - <textFieldCell key="cell" scrollable="YES" lineBreakMode="clipping" sendsActionOnEndEditing="YES" alignment="center" id="gyp-Xg-CZc"> - <font key="font" metaFont="system"/> - <color key="textColor" name="secondaryLabelColor" catalog="System" colorSpace="catalog"/> - <color key="backgroundColor" name="controlColor" catalog="System" colorSpace="catalog"/> - </textFieldCell> - </textField> - </subviews> - <constraints> - <constraint firstItem="Od3-Cq-LmR" firstAttribute="centerX" secondItem="Jbl-ZD-fCi" secondAttribute="centerX" id="YbB-7M-3ST"/> - <constraint firstItem="Od3-Cq-LmR" firstAttribute="centerY" secondItem="Jbl-ZD-fCi" secondAttribute="centerY" id="kla-ao-cdw"/> - </constraints> - </view> - <constraints> - <constraint firstAttribute="height" constant="34" id="bsP-7k-E34"/> - </constraints> - </box> - <view translatesAutoresizingMaskIntoConstraints="NO" id="uQv-aG-QZp" customClass="MessageBubbleView"> - <rect key="frame" x="150" y="0.0" width="250" height="6"/> - <subviews> - <imageView horizontalHuggingPriority="251" verticalHuggingPriority="251" translatesAutoresizingMaskIntoConstraints="NO" id="gyB-QF-uEW"> - <rect key="frame" x="15" y="-29" width="30" height="20"/> + </view> <constraints> - <constraint firstAttribute="width" constant="30" id="20F-SE-qna"/> - <constraint firstAttribute="height" constant="20" id="4aT-Xp-Gdi"/> + <constraint firstAttribute="height" constant="34" id="bsP-7k-E34"/> </constraints> - <imageCell key="cell" refusesFirstResponder="YES" alignment="left" imageScaling="proportionallyDown" image="ic_attachment" id="yAd-of-sXU"/> - </imageView> - <button verticalHuggingPriority="750" translatesAutoresizingMaskIntoConstraints="NO" id="jRP-c4-heJ"> - <rect key="frame" x="55" y="-26" width="180" height="17"/> - <buttonCell key="cell" type="roundRect" title="Round Rect" bezelStyle="roundedRect" alignment="center" imageScaling="proportionallyDown" inset="2" id="3i8-bi-EQN"> - <behavior key="behavior" lightByContents="YES"/> - <font key="font" metaFont="menu" size="14"/> - </buttonCell> - </button> - <textField horizontalHuggingPriority="251" verticalHuggingPriority="750" translatesAutoresizingMaskIntoConstraints="NO" id="eHR-Hi-Zl2"> - <rect key="frame" x="18" y="10" width="4" height="16"/> - <textFieldCell key="cell" scrollable="YES" lineBreakMode="clipping" sendsActionOnEndEditing="YES" alignment="left" id="vDa-rM-ULY"> - <font key="font" metaFont="system"/> - <color key="textColor" name="labelColor" catalog="System" colorSpace="catalog"/> - <color key="backgroundColor" name="controlColor" catalog="System" colorSpace="catalog"/> - </textFieldCell> - </textField> - <box verticalHuggingPriority="750" boxType="separator" translatesAutoresizingMaskIntoConstraints="NO" id="gLx-wW-frG"> - <rect key="frame" x="15" y="-47" width="220" height="5"/> </box> + <stackView distribution="fill" orientation="vertical" alignment="leading" spacing="0.0" horizontalStackHuggingPriority="249.99998474121094" verticalStackHuggingPriority="249.99998474121094" detachesHiddenViews="YES" translatesAutoresizingMaskIntoConstraints="NO" id="k7Z-Cm-Pek"> + <rect key="frame" x="434" y="0.0" width="266" height="95"/> + <subviews> + <view translatesAutoresizingMaskIntoConstraints="NO" id="uQv-aG-QZp" customClass="MessageBubbleView"> + <rect key="frame" x="0.0" y="5" width="250" height="90"/> + <subviews> + <stackView distribution="fill" orientation="vertical" alignment="leading" spacing="0.0" horizontalStackHuggingPriority="249.99998474121094" verticalStackHuggingPriority="249.99998474121094" detachesHiddenViews="YES" translatesAutoresizingMaskIntoConstraints="NO" id="dAn-tC-XGy"> + <rect key="frame" x="20" y="0.0" width="210" height="90"/> + <subviews> + <stackView distribution="fill" orientation="horizontal" alignment="centerY" spacing="10" horizontalStackHuggingPriority="249.99998474121094" verticalStackHuggingPriority="249.99998474121094" detachesHiddenViews="YES" translatesAutoresizingMaskIntoConstraints="NO" id="Bc0-ZM-Z54"> + <rect key="frame" x="0.0" y="40" width="119" height="50"/> + <subviews> + <imageView horizontalHuggingPriority="251" verticalHuggingPriority="251" translatesAutoresizingMaskIntoConstraints="NO" id="gyB-QF-uEW"> + <rect key="frame" x="0.0" y="15" width="30" height="20"/> + <constraints> + <constraint firstAttribute="width" constant="30" id="20F-SE-qna"/> + <constraint firstAttribute="height" constant="20" id="4aT-Xp-Gdi"/> + </constraints> + <imageCell key="cell" refusesFirstResponder="YES" alignment="left" imageScaling="proportionallyDown" image="ic_attachment" id="yAd-of-sXU"/> + </imageView> + <button verticalHuggingPriority="750" translatesAutoresizingMaskIntoConstraints="NO" id="jRP-c4-heJ"> + <rect key="frame" x="40" y="17" width="79" height="17"/> + <buttonCell key="cell" type="roundRect" title="Round Rect" bezelStyle="roundedRect" alignment="center" imageScaling="proportionallyDown" inset="2" id="3i8-bi-EQN"> + <behavior key="behavior" lightByContents="YES"/> + <font key="font" metaFont="menu" size="14"/> + </buttonCell> + </button> + </subviews> + <constraints> + <constraint firstAttribute="height" constant="50" id="c72-co-rY9"/> + </constraints> + <visibilityPriorities> + <integer value="1000"/> + <integer value="1000"/> + </visibilityPriorities> + <customSpacing> + <real value="3.4028234663852886e+38"/> + <real value="3.4028234663852886e+38"/> + </customSpacing> + </stackView> + <box verticalHuggingPriority="750" boxType="separator" translatesAutoresizingMaskIntoConstraints="NO" id="gLx-wW-frG"> + <rect key="frame" x="0.0" y="37" width="210" height="5"/> + <constraints> + <constraint firstAttribute="height" constant="1" id="W5u-cf-IfE"/> + </constraints> + </box> + <customView translatesAutoresizingMaskIntoConstraints="NO" id="3Ff-6i-HBR"> + <rect key="frame" x="0.0" y="29" width="10" height="10"/> + <constraints> + <constraint firstAttribute="height" constant="10" id="H1H-a2-pEn"/> + <constraint firstAttribute="width" constant="10" id="kYd-sD-mD4"/> + </constraints> + </customView> + <textField horizontalHuggingPriority="251" verticalHuggingPriority="750" translatesAutoresizingMaskIntoConstraints="NO" id="eHR-Hi-Zl2"> + <rect key="frame" x="-2" y="10" width="54" height="19"/> + <textFieldCell key="cell" scrollable="YES" lineBreakMode="clipping" sendsActionOnEndEditing="YES" alignment="left" id="vDa-rM-ULY"> + <font key="font" metaFont="system"/> + <color key="textColor" name="labelColor" catalog="System" colorSpace="catalog"/> + <color key="backgroundColor" name="controlColor" catalog="System" colorSpace="catalog"/> + </textFieldCell> + </textField> + <customView translatesAutoresizingMaskIntoConstraints="NO" id="O26-AF-jBR"> + <rect key="frame" x="0.0" y="0.0" width="10" height="10"/> + <constraints> + <constraint firstAttribute="height" constant="10" id="8nC-1A-3e3"/> + <constraint firstAttribute="width" constant="10" id="oF1-z9-41v"/> + </constraints> + </customView> + </subviews> + <visibilityPriorities> + <integer value="1000"/> + <integer value="1000"/> + <integer value="1000"/> + <integer value="1000"/> + <integer value="1000"/> + </visibilityPriorities> + <customSpacing> + <real value="3.4028234663852886e+38"/> + <real value="3.4028234663852886e+38"/> + <real value="3.4028234663852886e+38"/> + <real value="3.4028234663852886e+38"/> + <real value="3.4028234663852886e+38"/> + </customSpacing> + </stackView> + </subviews> + <constraints> + <constraint firstAttribute="height" constant="90" id="77H-cp-4YI"/> + <constraint firstAttribute="trailing" secondItem="dAn-tC-XGy" secondAttribute="trailing" constant="20" id="7QJ-NV-woV"/> + <constraint firstItem="dAn-tC-XGy" firstAttribute="leading" secondItem="uQv-aG-QZp" secondAttribute="leading" constant="20" id="9KK-Iv-eG4"/> + <constraint firstAttribute="width" constant="250" id="QxX-Qe-0b8"/> + <constraint firstItem="dAn-tC-XGy" firstAttribute="top" secondItem="uQv-aG-QZp" secondAttribute="top" id="cZ7-Gf-6eH"/> + <constraint firstAttribute="bottom" secondItem="dAn-tC-XGy" secondAttribute="bottom" id="gkI-eZ-mXd"/> + </constraints> + </view> + <customView translatesAutoresizingMaskIntoConstraints="NO" id="vkn-Od-tv5"> + <rect key="frame" x="245" y="0.0" width="5" height="5"/> + <subviews> + <imageView horizontalHuggingPriority="251" verticalHuggingPriority="251" translatesAutoresizingMaskIntoConstraints="NO" id="KzR-Xo-Vlj"> + <rect key="frame" x="0.0" y="0.0" width="5" height="5"/> + <constraints> + <constraint firstAttribute="height" constant="5" id="biI-gF-8pI"/> + <constraint firstAttribute="width" constant="5" id="tpn-a5-Bfr"/> + </constraints> + <imageCell key="cell" refusesFirstResponder="YES" alignment="left" animates="YES" imageScaling="proportionallyUpOrDown" id="Ea2-xs-9NC"/> + </imageView> + <button verticalHuggingPriority="750" translatesAutoresizingMaskIntoConstraints="NO" id="ld8-l1-IEa" customClass="HoverButton"> + <rect key="frame" x="0.0" y="0.0" width="5" height="5"/> + <buttonCell key="cell" type="square" bezelStyle="shadowlessSquare" imagePosition="only" alignment="center" borderStyle="border" transparent="YES" imageScaling="proportionallyDown" inset="2" id="PfG-Ue-7zC"> + <behavior key="behavior" pushIn="YES" lightByBackground="YES" lightByGray="YES"/> + <font key="font" metaFont="system"/> + </buttonCell> + <userDefinedRuntimeAttributes> + <userDefinedRuntimeAttribute type="color" keyPath="cornerColor"> + <color key="value" name="windowBackgroundColor" catalog="System" colorSpace="catalog"/> + </userDefinedRuntimeAttribute> + <userDefinedRuntimeAttribute type="color" keyPath="hoverColor"> + <color key="value" red="0.0" green="0.0" blue="0.0" alpha="0.20000000000000001" colorSpace="calibratedRGB"/> + </userDefinedRuntimeAttribute> + <userDefinedRuntimeAttribute type="color" keyPath="highlightColor"> + <color key="value" red="0.0" green="0.0" blue="0.0" alpha="0.40000000000000002" colorSpace="calibratedRGB"/> + </userDefinedRuntimeAttribute> + <userDefinedRuntimeAttribute type="color" keyPath="hoverDarkColor"> + <color key="value" red="0.0" green="0.0" blue="0.0" alpha="0.20000000000000001" colorSpace="custom" customColorSpace="sRGB"/> + </userDefinedRuntimeAttribute> + <userDefinedRuntimeAttribute type="color" keyPath="highlightDarkColor"> + <color key="value" red="0.0" green="0.0" blue="0.0" alpha="0.34999999999999998" colorSpace="custom" customColorSpace="sRGB"/> + </userDefinedRuntimeAttribute> + </userDefinedRuntimeAttributes> + </button> + </subviews> + <constraints> + <constraint firstItem="KzR-Xo-Vlj" firstAttribute="leading" secondItem="ld8-l1-IEa" secondAttribute="leading" id="AaR-6p-XDf"/> + <constraint firstItem="KzR-Xo-Vlj" firstAttribute="top" secondItem="vkn-Od-tv5" secondAttribute="top" id="BRn-t2-wVx"/> + <constraint firstItem="KzR-Xo-Vlj" firstAttribute="trailing" secondItem="ld8-l1-IEa" secondAttribute="trailing" id="BTX-Xe-1ui"/> + <constraint firstAttribute="bottom" secondItem="KzR-Xo-Vlj" secondAttribute="bottom" id="FZn-Z1-w6C"/> + <constraint firstItem="KzR-Xo-Vlj" firstAttribute="bottom" secondItem="ld8-l1-IEa" secondAttribute="bottom" id="GwU-aj-Lon"/> + <constraint firstItem="KzR-Xo-Vlj" firstAttribute="top" secondItem="ld8-l1-IEa" secondAttribute="top" id="O0j-3t-bVk"/> + <constraint firstItem="KzR-Xo-Vlj" firstAttribute="leading" secondItem="vkn-Od-tv5" secondAttribute="leading" id="b8I-sf-Et3"/> + <constraint firstAttribute="trailing" secondItem="KzR-Xo-Vlj" secondAttribute="trailing" id="d2S-fV-d54"/> + </constraints> + </customView> + </subviews> + <constraints> + <constraint firstAttribute="trailing" secondItem="uQv-aG-QZp" secondAttribute="trailing" constant="16" id="JLu-QE-8T2"/> + <constraint firstAttribute="trailing" secondItem="vkn-Od-tv5" secondAttribute="trailing" constant="16" id="iq0-pg-WP0"/> + </constraints> + <visibilityPriorities> + <integer value="1000"/> + <integer value="1000"/> + </visibilityPriorities> + <customSpacing> + <real value="3.4028234663852886e+38"/> + <real value="3.4028234663852886e+38"/> + </customSpacing> + </stackView> </subviews> <constraints> - <constraint firstItem="gLx-wW-frG" firstAttribute="top" secondItem="gyB-QF-uEW" secondAttribute="bottom" constant="15" id="28J-lE-pdd"/> - <constraint firstAttribute="bottom" secondItem="eHR-Hi-Zl2" secondAttribute="bottom" constant="10" id="5ZN-OL-0ZV"/> - <constraint firstAttribute="trailing" secondItem="gLx-wW-frG" secondAttribute="trailing" constant="15" id="67z-cD-VBa"/> - <constraint firstItem="eHR-Hi-Zl2" firstAttribute="leading" secondItem="uQv-aG-QZp" secondAttribute="leading" constant="20" id="BvU-qk-8Ef"/> - <constraint firstItem="gyB-QF-uEW" firstAttribute="leading" secondItem="uQv-aG-QZp" secondAttribute="leading" constant="15" id="GS5-Nk-tfb"/> - <constraint firstItem="gyB-QF-uEW" firstAttribute="top" secondItem="uQv-aG-QZp" secondAttribute="top" constant="15" id="KbZ-GL-nmh"/> - <constraint firstItem="jRP-c4-heJ" firstAttribute="top" secondItem="uQv-aG-QZp" secondAttribute="top" constant="15" id="MQD-XI-xrW"/> - <constraint firstAttribute="width" constant="250" id="QxX-Qe-0b8"/> - <constraint firstItem="gLx-wW-frG" firstAttribute="leading" secondItem="uQv-aG-QZp" secondAttribute="leading" constant="15" id="h1s-DP-439"/> - <constraint firstAttribute="trailing" secondItem="jRP-c4-heJ" secondAttribute="trailing" constant="15" id="hIp-b5-Wpf"/> - <constraint firstItem="jRP-c4-heJ" firstAttribute="leading" secondItem="gyB-QF-uEW" secondAttribute="trailing" constant="10" id="wI3-Hn-sFr"/> + <constraint firstAttribute="trailing" secondItem="k7Z-Cm-Pek" secondAttribute="trailing" id="ydq-95-1Ao"/> </constraints> - </view> - <imageView horizontalHuggingPriority="251" verticalHuggingPriority="251" translatesAutoresizingMaskIntoConstraints="NO" id="KzR-Xo-Vlj"> - <rect key="frame" x="394" y="0.0" width="6" height="6"/> - <imageCell key="cell" refusesFirstResponder="YES" alignment="left" animates="YES" imageScaling="proportionallyUpOrDown" id="Ea2-xs-9NC"/> - </imageView> - <button verticalHuggingPriority="750" translatesAutoresizingMaskIntoConstraints="NO" id="ld8-l1-IEa" customClass="HoverButton"> - <rect key="frame" x="394" y="0.0" width="6" height="6"/> - <buttonCell key="cell" type="square" bezelStyle="shadowlessSquare" imagePosition="only" alignment="center" borderStyle="border" transparent="YES" imageScaling="proportionallyDown" inset="2" id="PfG-Ue-7zC"> - <behavior key="behavior" pushIn="YES" lightByBackground="YES" lightByGray="YES"/> - <font key="font" metaFont="system"/> - </buttonCell> - <userDefinedRuntimeAttributes> - <userDefinedRuntimeAttribute type="color" keyPath="cornerColor"> - <color key="value" name="windowBackgroundColor" catalog="System" colorSpace="catalog"/> - </userDefinedRuntimeAttribute> - <userDefinedRuntimeAttribute type="color" keyPath="hoverColor"> - <color key="value" red="0.0" green="0.0" blue="0.0" alpha="0.20000000000000001" colorSpace="calibratedRGB"/> - </userDefinedRuntimeAttribute> - <userDefinedRuntimeAttribute type="color" keyPath="highlightColor"> - <color key="value" red="0.0" green="0.0" blue="0.0" alpha="0.40000000000000002" colorSpace="calibratedRGB"/> - </userDefinedRuntimeAttribute> - <userDefinedRuntimeAttribute type="color" keyPath="hoverDarkColor"> - <color key="value" red="0.0" green="0.0" blue="0.0" alpha="0.20000000000000001" colorSpace="custom" customColorSpace="sRGB"/> - </userDefinedRuntimeAttribute> - <userDefinedRuntimeAttribute type="color" keyPath="highlightDarkColor"> - <color key="value" red="0.0" green="0.0" blue="0.0" alpha="0.34999999999999998" colorSpace="custom" customColorSpace="sRGB"/> - </userDefinedRuntimeAttribute> - </userDefinedRuntimeAttributes> - </button> + <visibilityPriorities> + <integer value="1000"/> + <integer value="1000"/> + </visibilityPriorities> + <customSpacing> + <real value="3.4028234663852886e+38"/> + <real value="3.4028234663852886e+38"/> + </customSpacing> + </stackView> </subviews> <constraints> - <constraint firstItem="KzR-Xo-Vlj" firstAttribute="trailing" secondItem="ld8-l1-IEa" secondAttribute="trailing" id="2yE-GJ-IQU"/> - <constraint firstItem="e0e-TK-qch" firstAttribute="top" secondItem="rmZ-yh-rX1" secondAttribute="top" id="8NZ-EV-k0V"/> - <constraint firstItem="KzR-Xo-Vlj" firstAttribute="top" secondItem="ld8-l1-IEa" secondAttribute="top" id="ExB-dn-NAm"/> - <constraint firstAttribute="bottom" secondItem="KzR-Xo-Vlj" secondAttribute="bottom" id="FG9-hP-jwr"/> - <constraint firstAttribute="trailing" secondItem="KzR-Xo-Vlj" secondAttribute="trailing" id="G62-7V-dcz"/> - <constraint firstItem="e0e-TK-qch" firstAttribute="leading" secondItem="rmZ-yh-rX1" secondAttribute="leading" id="JHH-tM-TTv"/> - <constraint firstItem="KzR-Xo-Vlj" firstAttribute="top" secondItem="e0e-TK-qch" secondAttribute="bottom" id="QFA-JJ-eQE"/> - <constraint firstItem="KzR-Xo-Vlj" firstAttribute="leading" secondItem="ld8-l1-IEa" secondAttribute="leading" id="aWC-JV-Yfg"/> - <constraint firstAttribute="bottom" secondItem="uQv-aG-QZp" secondAttribute="bottom" id="iyK-vD-6gs"/> - <constraint firstAttribute="trailing" secondItem="uQv-aG-QZp" secondAttribute="trailing" id="nBz-tG-1V1"/> - <constraint firstItem="uQv-aG-QZp" firstAttribute="top" secondItem="e0e-TK-qch" secondAttribute="bottom" id="rvb-My-XBo"/> - <constraint firstAttribute="trailing" secondItem="e0e-TK-qch" secondAttribute="trailing" id="w3i-dk-KKy"/> - <constraint firstItem="KzR-Xo-Vlj" firstAttribute="bottom" secondItem="ld8-l1-IEa" secondAttribute="bottom" id="wIL-PM-J2D"/> + <constraint firstItem="HCV-dK-X40" firstAttribute="top" secondItem="rmZ-yh-rX1" secondAttribute="top" id="0Gu-Vq-phg"/> + <constraint firstAttribute="trailing" secondItem="HCV-dK-X40" secondAttribute="trailing" id="UYr-QL-5TQ"/> + <constraint firstItem="HCV-dK-X40" firstAttribute="leading" secondItem="rmZ-yh-rX1" secondAttribute="leading" id="kJf-TB-aSg"/> + <constraint firstAttribute="bottom" secondItem="HCV-dK-X40" secondAttribute="bottom" id="t1n-ok-D3d"/> </constraints> <connections> + <outlet property="messageHeightConstraint" destination="biI-gF-8pI" id="GNV-BP-VDc"/> + <outlet property="messageWidthConstraint" destination="tpn-a5-Bfr" id="IIx-fR-Kmz"/> <outlet property="msgBackground" destination="uQv-aG-QZp" id="poE-7z-JEI"/> <outlet property="openImagebutton" destination="ld8-l1-IEa" id="lGl-pq-r5p"/> <outlet property="statusLabel" destination="eHR-Hi-Zl2" id="TvR-nl-6eO"/> @@ -623,56 +1059,71 @@ <point key="canvasLocation" x="147" y="1290"/> </tableCellView> <tableCellView identifier="PeerComposingMsgView" id="xfZ-8z-fHg" userLabel="IMTableCellView" customClass="IMTableCellView"> - <rect key="frame" x="0.0" y="0.0" width="400" height="114"/> + <rect key="frame" x="0.0" y="0.0" width="83" height="46"/> <autoresizingMask key="autoresizingMask" widthSizable="YES" heightSizable="YES"/> <subviews> - <imageView horizontalHuggingPriority="251" verticalHuggingPriority="251" translatesAutoresizingMaskIntoConstraints="NO" id="Gzs-ws-esK"> - <rect key="frame" x="0.0" y="0.0" width="30" height="30"/> - <constraints> - <constraint firstAttribute="width" constant="30" id="G1j-FU-9tK"/> - <constraint firstAttribute="height" constant="30" id="Py6-Wa-nzX"/> - </constraints> - <imageCell key="cell" refusesFirstResponder="YES" alignment="left" imageScaling="proportionallyUpOrDown" id="ezi-Y2-YuQ"/> - </imageView> - <customView translatesAutoresizingMaskIntoConstraints="NO" id="SX4-RF-nyw"> - <rect key="frame" x="48" y="10" width="10" height="10"/> - <constraints> - <constraint firstAttribute="width" constant="10" id="0Ij-Sj-NIS"/> - <constraint firstAttribute="height" constant="10" id="f2B-AW-NQX"/> - </constraints> - </customView> - <customView translatesAutoresizingMaskIntoConstraints="NO" id="EJu-iB-Xd2"> - <rect key="frame" x="63" y="10" width="10" height="10"/> - <constraints> - <constraint firstAttribute="width" constant="10" id="2au-bV-fd4"/> - <constraint firstAttribute="height" constant="10" id="Ujk-pf-8tM"/> - </constraints> - </customView> - <customView translatesAutoresizingMaskIntoConstraints="NO" id="e47-4z-WVj"> - <rect key="frame" x="78" y="10" width="10" height="10"/> + <stackView distribution="fill" orientation="horizontal" alignment="centerY" spacing="5" horizontalStackHuggingPriority="249.99998474121094" verticalStackHuggingPriority="249.99998474121094" detachesHiddenViews="YES" translatesAutoresizingMaskIntoConstraints="NO" id="NIO-Zk-P8O"> + <rect key="frame" x="0.0" y="0.0" width="83" height="46"/> + <subviews> + <customView translatesAutoresizingMaskIntoConstraints="NO" id="zB8-Aj-Ugp"> + <rect key="frame" x="0.0" y="18" width="38" height="10"/> + <constraints> + <constraint firstAttribute="width" constant="38" id="6Kr-Ye-egV"/> + <constraint firstAttribute="height" constant="10" id="jIc-k5-Yqt"/> + </constraints> + </customView> + <customView translatesAutoresizingMaskIntoConstraints="NO" id="SX4-RF-nyw"> + <rect key="frame" x="43" y="18" width="10" height="10"/> + <constraints> + <constraint firstAttribute="width" constant="10" id="0Ij-Sj-NIS"/> + <constraint firstAttribute="height" constant="10" id="f2B-AW-NQX"/> + </constraints> + </customView> + <customView translatesAutoresizingMaskIntoConstraints="NO" id="EJu-iB-Xd2"> + <rect key="frame" x="58" y="18" width="10" height="10"/> + <constraints> + <constraint firstAttribute="width" constant="10" id="2au-bV-fd4"/> + <constraint firstAttribute="height" constant="10" id="Ujk-pf-8tM"/> + </constraints> + </customView> + <customView translatesAutoresizingMaskIntoConstraints="NO" id="e47-4z-WVj"> + <rect key="frame" x="73" y="18" width="10" height="10"/> + <constraints> + <constraint firstAttribute="height" constant="10" id="0UE-ha-4u1"/> + <constraint firstAttribute="width" constant="10" id="9Ua-lZ-ulE"/> + </constraints> + </customView> + </subviews> <constraints> - <constraint firstAttribute="height" constant="10" id="0UE-ha-4u1"/> - <constraint firstAttribute="width" constant="10" id="9Ua-lZ-ulE"/> + <constraint firstAttribute="height" constant="46" id="k1X-jv-1Jh"/> </constraints> - </customView> + <visibilityPriorities> + <integer value="1000"/> + <integer value="1000"/> + <integer value="1000"/> + <integer value="1000"/> + </visibilityPriorities> + <customSpacing> + <real value="3.4028234663852886e+38"/> + <real value="3.4028234663852886e+38"/> + <real value="3.4028234663852886e+38"/> + <real value="3.4028234663852886e+38"/> + </customSpacing> + </stackView> </subviews> <constraints> - <constraint firstAttribute="bottom" secondItem="Gzs-ws-esK" secondAttribute="bottom" id="3QH-uq-F9M"/> - <constraint firstItem="Gzs-ws-esK" firstAttribute="leading" secondItem="xfZ-8z-fHg" secondAttribute="leading" id="JD6-vs-hfD"/> - <constraint firstItem="SX4-RF-nyw" firstAttribute="leading" secondItem="Gzs-ws-esK" secondAttribute="trailing" constant="18" id="ODB-P4-48M"/> - <constraint firstItem="e47-4z-WVj" firstAttribute="centerY" secondItem="SX4-RF-nyw" secondAttribute="centerY" id="Vyi-RK-rnu"/> - <constraint firstItem="EJu-iB-Xd2" firstAttribute="centerY" secondItem="SX4-RF-nyw" secondAttribute="centerY" id="WZK-n7-byc"/> - <constraint firstItem="EJu-iB-Xd2" firstAttribute="leading" secondItem="SX4-RF-nyw" secondAttribute="trailing" constant="5" id="eDT-Fv-fjC"/> - <constraint firstItem="SX4-RF-nyw" firstAttribute="centerY" secondItem="Gzs-ws-esK" secondAttribute="centerY" id="p4O-DJ-zg9"/> - <constraint firstItem="e47-4z-WVj" firstAttribute="leading" secondItem="EJu-iB-Xd2" secondAttribute="trailing" constant="5" id="vO4-hF-6LC"/> + <constraint firstItem="NIO-Zk-P8O" firstAttribute="leading" secondItem="xfZ-8z-fHg" secondAttribute="leading" id="M4P-Tv-dMj"/> + <constraint firstAttribute="bottom" secondItem="NIO-Zk-P8O" secondAttribute="bottom" id="Meg-qe-zQ9"/> + <constraint firstAttribute="trailing" secondItem="NIO-Zk-P8O" secondAttribute="trailing" id="aqB-tT-Ii6"/> + <constraint firstItem="NIO-Zk-P8O" firstAttribute="top" secondItem="xfZ-8z-fHg" secondAttribute="top" id="orb-0x-vsK"/> </constraints> <connections> <outlet property="compozingIndicator1" destination="SX4-RF-nyw" id="Zbm-Os-EvF"/> <outlet property="compozingIndicator2" destination="EJu-iB-Xd2" id="TPP-CQ-rWA"/> <outlet property="compozingIndicator3" destination="e47-4z-WVj" id="65H-Qg-5ld"/> - <outlet property="photoView" destination="Gzs-ws-esK" id="NHF-Mg-OOw"/> + <outlet property="messageHeightConstraint" destination="k1X-jv-1Jh" id="rQ8-lc-5tp"/> </connections> - <point key="canvasLocation" x="139" y="167"/> + <point key="canvasLocation" x="4" y="334"/> </tableCellView> </objects> <resources>