Skip to content
Open
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
4 changes: 4 additions & 0 deletions .gitignore
Original file line number Diff line number Diff line change
Expand Up @@ -35,3 +35,7 @@ Carthage/Build
# `pod install` in .travis.yml
#
# Pods/

# Swift Package Manager
.build/

Original file line number Diff line number Diff line change
Expand Up @@ -8,6 +8,7 @@

import UIKit

@objc(MSGTravIncomingBubble)
class MSGTravIncomingBubble: MSGTravOutgoingBubble {

override var gradientColors: [CGColor] {
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -9,6 +9,7 @@
import UIKit

/// A bubble for outgoing messages for use in the Travamigos style.
@objc(MSGTravOutgoingBubble)
class MSGTravOutgoingBubble: UITextView {

var gradientLayer = CAGradientLayer()
Expand Down
1 change: 1 addition & 0 deletions MessengerKit/Bubbles/iMessage/MSGTailIncomingBubble.swift
Original file line number Diff line number Diff line change
Expand Up @@ -8,6 +8,7 @@

import UIKit

@objc(MSGTailIncomingBubble)
public class MSGTailIncomingBubble: MSGTailOutgoingBubble {


Expand Down
1 change: 1 addition & 0 deletions MessengerKit/Bubbles/iMessage/MSGTailOutgoingBubble.swift
Original file line number Diff line number Diff line change
Expand Up @@ -9,6 +9,7 @@
import UIKit

/// A bubble for outgoing messages for use in the iMessage style.
@objc(MSGTailOutgoingBubble)
public class MSGTailOutgoingBubble: UITextView {

lazy var tailImage: UIImage = {
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -8,6 +8,7 @@

import UIKit

@objc(MSGEmojiCollectionViewCell)
class MSGEmojiCollectionViewCell: MSGMessageCell {

@IBOutlet weak var textLabel: UILabel!
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -12,7 +12,7 @@
<objects>
<placeholder placeholderIdentifier="IBFilesOwner" id="-1" userLabel="File's Owner"/>
<placeholder placeholderIdentifier="IBFirstResponder" id="-2" customClass="UIResponder"/>
<collectionViewCell opaque="NO" clipsSubviews="YES" multipleTouchEnabled="YES" contentMode="center" reuseIdentifier="incomingEmoji" id="iHK-tj-MIl" customClass="MSGEmojiCollectionViewCell" customModule="MessengerKit" customModuleProvider="target">
<collectionViewCell opaque="NO" clipsSubviews="YES" multipleTouchEnabled="YES" contentMode="center" reuseIdentifier="incomingEmoji" id="iHK-tj-MIl" customClass="MSGEmojiCollectionViewCell">
<rect key="frame" x="0.0" y="0.0" width="262" height="67"/>
<autoresizingMask key="autoresizingMask"/>
<view key="contentView" opaque="NO" clipsSubviews="YES" multipleTouchEnabled="YES" contentMode="center">
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -12,7 +12,7 @@
<objects>
<placeholder placeholderIdentifier="IBFilesOwner" id="-1" userLabel="File's Owner"/>
<placeholder placeholderIdentifier="IBFirstResponder" id="-2" customClass="UIResponder"/>
<collectionViewCell opaque="NO" clipsSubviews="YES" multipleTouchEnabled="YES" contentMode="center" reuseIdentifier="outgoingEmoji" id="gTV-IL-0wX" customClass="MSGEmojiCollectionViewCell" customModule="MessengerKit" customModuleProvider="target">
<collectionViewCell opaque="NO" clipsSubviews="YES" multipleTouchEnabled="YES" contentMode="center" reuseIdentifier="outgoingEmoji" id="gTV-IL-0wX" customClass="MSGEmojiCollectionViewCell">
<rect key="frame" x="0.0" y="0.0" width="262" height="67"/>
<autoresizingMask key="autoresizingMask"/>
<view key="contentView" opaque="NO" clipsSubviews="YES" multipleTouchEnabled="YES" contentMode="center">
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -8,6 +8,7 @@

import UIKit

@objc(MSGImageCollectionViewCell)
class MSGImageCollectionViewCell: MSGMessageCell {

@IBOutlet weak var imageView: UIImageView!
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -12,7 +12,7 @@
<objects>
<placeholder placeholderIdentifier="IBFilesOwner" id="-1" userLabel="File's Owner"/>
<placeholder placeholderIdentifier="IBFirstResponder" id="-2" customClass="UIResponder"/>
<collectionViewCell opaque="NO" clipsSubviews="YES" multipleTouchEnabled="YES" contentMode="center" reuseIdentifier="incomingImage" id="rWJ-Ue-VCr" customClass="MSGImageCollectionViewCell" customModule="MessengerKit" customModuleProvider="target">
<collectionViewCell opaque="NO" clipsSubviews="YES" multipleTouchEnabled="YES" contentMode="center" reuseIdentifier="incomingImage" id="rWJ-Ue-VCr" customClass="MSGImageCollectionViewCell">
<rect key="frame" x="0.0" y="0.0" width="269" height="176"/>
<autoresizingMask key="autoresizingMask"/>
<view key="contentView" opaque="NO" clipsSubviews="YES" multipleTouchEnabled="YES" contentMode="center">
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -12,7 +12,7 @@
<objects>
<placeholder placeholderIdentifier="IBFilesOwner" id="-1" userLabel="File's Owner"/>
<placeholder placeholderIdentifier="IBFirstResponder" id="-2" customClass="UIResponder"/>
<collectionViewCell opaque="NO" clipsSubviews="YES" multipleTouchEnabled="YES" contentMode="center" reuseIdentifier="outgoingImage" id="nw2-Kp-ZmF" customClass="MSGImageCollectionViewCell" customModule="MessengerKit" customModuleProvider="target">
<collectionViewCell opaque="NO" clipsSubviews="YES" multipleTouchEnabled="YES" contentMode="center" reuseIdentifier="outgoingImage" id="nw2-Kp-ZmF" customClass="MSGImageCollectionViewCell">
<rect key="frame" x="0.0" y="0.0" width="269" height="176"/>
<autoresizingMask key="autoresizingMask"/>
<view key="contentView" opaque="NO" clipsSubviews="YES" multipleTouchEnabled="YES" contentMode="center">
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -12,14 +12,14 @@
<objects>
<placeholder placeholderIdentifier="IBFilesOwner" id="-1" userLabel="File's Owner"/>
<placeholder placeholderIdentifier="IBFirstResponder" id="-2" customClass="UIResponder"/>
<collectionViewCell opaque="NO" clipsSubviews="YES" multipleTouchEnabled="YES" contentMode="center" reuseIdentifier="incomingText" id="tW5-Ws-Ark" customClass="MSGTravCollectionViewCell" customModule="MessengerKit" customModuleProvider="target">
<collectionViewCell opaque="NO" clipsSubviews="YES" multipleTouchEnabled="YES" contentMode="center" reuseIdentifier="incomingText" id="tW5-Ws-Ark" customClass="MSGTravCollectionViewCell">
<rect key="frame" x="0.0" y="0.0" width="413" height="87"/>
<autoresizingMask key="autoresizingMask"/>
<view key="contentView" opaque="NO" clipsSubviews="YES" multipleTouchEnabled="YES" contentMode="center">
<rect key="frame" x="0.0" y="0.0" width="413" height="87"/>
<autoresizingMask key="autoresizingMask" flexibleMaxX="YES" flexibleMaxY="YES"/>
<subviews>
<textView clipsSubviews="YES" multipleTouchEnabled="YES" contentMode="scaleToFill" scrollEnabled="NO" showsHorizontalScrollIndicator="NO" showsVerticalScrollIndicator="NO" textAlignment="natural" translatesAutoresizingMaskIntoConstraints="NO" id="Y3t-4j-CM1" customClass="MSGTravIncomingBubble" customModule="MessengerKit" customModuleProvider="target">
<textView clipsSubviews="YES" multipleTouchEnabled="YES" contentMode="scaleToFill" scrollEnabled="NO" showsHorizontalScrollIndicator="NO" showsVerticalScrollIndicator="NO" textAlignment="natural" translatesAutoresizingMaskIntoConstraints="NO" id="Y3t-4j-CM1" customClass="MSGTravIncomingBubble">
<rect key="frame" x="20" y="0.0" width="413" height="87"/>
<color key="backgroundColor" white="0.0" alpha="0.0" colorSpace="custom" customColorSpace="genericGamma22GrayColorSpace"/>
<constraints>
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -12,14 +12,14 @@
<objects>
<placeholder placeholderIdentifier="IBFilesOwner" id="-1" userLabel="File's Owner"/>
<placeholder placeholderIdentifier="IBFirstResponder" id="-2" customClass="UIResponder"/>
<collectionViewCell opaque="NO" clipsSubviews="YES" multipleTouchEnabled="YES" contentMode="center" reuseIdentifier="outgoingText" id="rMi-IG-xwc" customClass="MSGTravCollectionViewCell" customModule="MessengerKit" customModuleProvider="target">
<collectionViewCell opaque="NO" clipsSubviews="YES" multipleTouchEnabled="YES" contentMode="center" reuseIdentifier="outgoingText" id="rMi-IG-xwc" customClass="MSGTravCollectionViewCell">
<rect key="frame" x="0.0" y="0.0" width="413" height="87"/>
<autoresizingMask key="autoresizingMask"/>
<view key="contentView" opaque="NO" clipsSubviews="YES" multipleTouchEnabled="YES" contentMode="center">
<rect key="frame" x="0.0" y="0.0" width="413" height="87"/>
<autoresizingMask key="autoresizingMask" flexibleMaxX="YES" flexibleMaxY="YES"/>
<subviews>
<textView clipsSubviews="YES" multipleTouchEnabled="YES" contentMode="scaleToFill" scrollEnabled="NO" showsHorizontalScrollIndicator="NO" showsVerticalScrollIndicator="NO" textAlignment="natural" translatesAutoresizingMaskIntoConstraints="NO" id="iP3-kn-N1L" customClass="MSGTravOutgoingBubble" customModule="MessengerKit" customModuleProvider="target">
<textView clipsSubviews="YES" multipleTouchEnabled="YES" contentMode="scaleToFill" scrollEnabled="NO" showsHorizontalScrollIndicator="NO" showsVerticalScrollIndicator="NO" textAlignment="natural" translatesAutoresizingMaskIntoConstraints="NO" id="iP3-kn-N1L" customClass="MSGTravOutgoingBubble">
<rect key="frame" x="-20" y="0.0" width="413" height="87"/>
<color key="backgroundColor" white="0.0" alpha="0.0" colorSpace="custom" customColorSpace="genericGamma22GrayColorSpace"/>
<constraints>
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -8,6 +8,7 @@

import UIKit

@objc(MSGTravCollectionViewCell)
open class MSGTravCollectionViewCell: MSGMessageCell {

@IBOutlet weak var bubbleWidthConstraint: NSLayoutConstraint!
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -12,7 +12,7 @@
<objects>
<placeholder placeholderIdentifier="IBFilesOwner" id="-1" userLabel="File's Owner"/>
<placeholder placeholderIdentifier="IBFirstResponder" id="-2" customClass="UIResponder"/>
<collectionViewCell opaque="NO" clipsSubviews="YES" multipleTouchEnabled="YES" contentMode="center" reuseIdentifier="incomingText" id="8x7-fQ-N8C" customClass="MSGTailCollectionViewCell" customModule="MessengerKit" customModuleProvider="target">
<collectionViewCell opaque="NO" clipsSubviews="YES" multipleTouchEnabled="YES" contentMode="center" reuseIdentifier="incomingText" id="8x7-fQ-N8C" customClass="MSGTailCollectionViewCell">
<rect key="frame" x="0.0" y="0.0" width="254" height="50"/>
<autoresizingMask key="autoresizingMask"/>
<view key="contentView" opaque="NO" clipsSubviews="YES" multipleTouchEnabled="YES" contentMode="center">
Expand All @@ -22,7 +22,7 @@
<imageView hidden="YES" userInteractionEnabled="NO" contentMode="scaleToFill" horizontalHuggingPriority="251" verticalHuggingPriority="251" image="Incoming Tail Bubble" translatesAutoresizingMaskIntoConstraints="NO" id="X8a-x4-5LZ">
<rect key="frame" x="0.0" y="0.0" width="254" height="50"/>
</imageView>
<textView clipsSubviews="YES" multipleTouchEnabled="YES" contentMode="scaleToFill" textAlignment="natural" translatesAutoresizingMaskIntoConstraints="NO" id="Sfz-Zd-GRq" customClass="MSGTailIncomingBubble" customModule="MessengerKit" customModuleProvider="target">
<textView clipsSubviews="YES" multipleTouchEnabled="YES" contentMode="scaleToFill" textAlignment="natural" translatesAutoresizingMaskIntoConstraints="NO" id="Sfz-Zd-GRq" customClass="MSGTailIncomingBubble">
<rect key="frame" x="10" y="0.0" width="254" height="50"/>
<color key="backgroundColor" white="1" alpha="1" colorSpace="custom" customColorSpace="genericGamma22GrayColorSpace"/>
<constraints>
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -12,7 +12,7 @@
<objects>
<placeholder placeholderIdentifier="IBFilesOwner" id="-1" userLabel="File's Owner"/>
<placeholder placeholderIdentifier="IBFirstResponder" id="-2" customClass="UIResponder"/>
<collectionViewCell opaque="NO" clipsSubviews="YES" multipleTouchEnabled="YES" contentMode="center" reuseIdentifier="outgoingText" id="gTV-IL-0wX" customClass="MSGTailCollectionViewCell" customModule="MessengerKit" customModuleProvider="target">
<collectionViewCell opaque="NO" clipsSubviews="YES" multipleTouchEnabled="YES" contentMode="center" reuseIdentifier="outgoingText" id="gTV-IL-0wX" customClass="MSGTailCollectionViewCell">
<rect key="frame" x="0.0" y="0.0" width="254" height="50"/>
<autoresizingMask key="autoresizingMask"/>
<view key="contentView" opaque="NO" clipsSubviews="YES" multipleTouchEnabled="YES" contentMode="center">
Expand All @@ -22,7 +22,7 @@
<imageView hidden="YES" userInteractionEnabled="NO" contentMode="scaleToFill" horizontalHuggingPriority="251" verticalHuggingPriority="251" image="Incoming Tail Bubble" translatesAutoresizingMaskIntoConstraints="NO" id="xQK-C3-D0o">
<rect key="frame" x="0.0" y="0.0" width="254" height="50"/>
</imageView>
<textView clipsSubviews="YES" multipleTouchEnabled="YES" contentMode="scaleToFill" textAlignment="natural" translatesAutoresizingMaskIntoConstraints="NO" id="wnT-yo-zFk" customClass="MSGTailOutgoingBubble" customModule="MessengerKit" customModuleProvider="target">
<textView clipsSubviews="YES" multipleTouchEnabled="YES" contentMode="scaleToFill" textAlignment="natural" translatesAutoresizingMaskIntoConstraints="NO" id="wnT-yo-zFk" customClass="MSGTailOutgoingBubble">
<rect key="frame" x="-10" y="0.0" width="254" height="50"/>
<color key="backgroundColor" white="1" alpha="1" colorSpace="custom" customColorSpace="genericGamma22GrayColorSpace"/>
<constraints>
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -8,6 +8,7 @@

import UIKit

@objc(MSGTailCollectionViewCell)
open class MSGTailCollectionViewCell: MSGMessageCell {

@IBOutlet public weak var bubble: MSGTailOutgoingBubble!
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -8,6 +8,7 @@

import UIKit

@objc(MSGTravCollectionViewSectionFooter)
class MSGTravCollectionViewSectionFooter: MSGSectionReusableView {

@IBOutlet weak var avatarImageView: UIImageView!
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -8,6 +8,7 @@

import UIKit

@objc(MSGTravCollectionViewSectionHeader)
class MSGTravCollectionViewSectionHeader: MSGSectionReusableView {

@IBOutlet weak var label: UILabel!
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -12,7 +12,7 @@
<objects>
<placeholder placeholderIdentifier="IBFilesOwner" id="-1" userLabel="File's Owner"/>
<placeholder placeholderIdentifier="IBFirstResponder" id="-2" customClass="UIResponder"/>
<view contentMode="scaleToFill" id="aYn-FC-oRd" customClass="MSGTravCollectionViewSectionFooter" customModule="MessengerKit" customModuleProvider="target">
<view contentMode="scaleToFill" id="aYn-FC-oRd" customClass="MSGTravCollectionViewSectionFooter">
<rect key="frame" x="0.0" y="0.0" width="375" height="30"/>
<autoresizingMask key="autoresizingMask" widthSizable="YES" heightSizable="YES"/>
<subviews>
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -12,7 +12,7 @@
<objects>
<placeholder placeholderIdentifier="IBFilesOwner" id="-1" userLabel="File's Owner"/>
<placeholder placeholderIdentifier="IBFirstResponder" id="-2" customClass="UIResponder"/>
<view contentMode="scaleToFill" id="uhH-Sw-vSz" customClass="MSGTravCollectionViewSectionHeader" customModule="MessengerKit" customModuleProvider="target">
<view contentMode="scaleToFill" id="uhH-Sw-vSz" customClass="MSGTravCollectionViewSectionHeader">
<rect key="frame" x="0.0" y="0.0" width="375" height="30"/>
<autoresizingMask key="autoresizingMask" widthSizable="YES" heightSizable="YES"/>
<subviews>
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -12,7 +12,7 @@
<objects>
<placeholder placeholderIdentifier="IBFilesOwner" id="-1" userLabel="File's Owner"/>
<placeholder placeholderIdentifier="IBFirstResponder" id="-2" customClass="UIResponder"/>
<view contentMode="scaleToFill" id="hvT-uQ-kFp" customClass="MSGTravCollectionViewSectionFooter" customModule="MessengerKit" customModuleProvider="target">
<view contentMode="scaleToFill" id="hvT-uQ-kFp" customClass="MSGTravCollectionViewSectionFooter">
<rect key="frame" x="0.0" y="0.0" width="375" height="30"/>
<autoresizingMask key="autoresizingMask" widthSizable="YES" heightSizable="YES"/>
<subviews>
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -12,7 +12,7 @@
<objects>
<placeholder placeholderIdentifier="IBFilesOwner" id="-1" userLabel="File's Owner"/>
<placeholder placeholderIdentifier="IBFirstResponder" id="-2" customClass="UIResponder"/>
<view contentMode="scaleToFill" id="dXB-AG-cb4" customClass="MSGTravCollectionViewSectionHeader" customModule="MessengerKit" customModuleProvider="target">
<view contentMode="scaleToFill" id="dXB-AG-cb4" customClass="MSGTravCollectionViewSectionHeader">
<rect key="frame" x="0.0" y="0.0" width="375" height="30"/>
<autoresizingMask key="autoresizingMask" widthSizable="YES" heightSizable="YES"/>
<subviews>
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -8,6 +8,7 @@

import UIKit

@objc(MSGImessageFooterView)
class MSGImessageFooterView: MSGSectionReusableView {

@IBOutlet weak var label: UILabel!
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -8,6 +8,7 @@

import UIKit

@objc(MSGImessageHeaderView)
class MSGImessageHeaderView: MSGSectionReusableView {

@IBOutlet weak var label: UILabel!
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -12,7 +12,7 @@
<objects>
<placeholder placeholderIdentifier="IBFilesOwner" id="-1" userLabel="File's Owner"/>
<placeholder placeholderIdentifier="IBFirstResponder" id="-2" customClass="UIResponder"/>
<collectionReusableView opaque="NO" clipsSubviews="YES" multipleTouchEnabled="YES" contentMode="center" reuseIdentifier="incomingFooter" id="s0D-P6-Fmu" customClass="MSGImessageFooterView" customModule="MessengerKit" customModuleProvider="target">
<collectionReusableView opaque="NO" clipsSubviews="YES" multipleTouchEnabled="YES" contentMode="center" reuseIdentifier="incomingFooter" id="s0D-P6-Fmu" customClass="MSGImessageFooterView">
<rect key="frame" x="0.0" y="0.0" width="425" height="49"/>
<autoresizingMask key="autoresizingMask"/>
<subviews>
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -12,7 +12,7 @@
<objects>
<placeholder placeholderIdentifier="IBFilesOwner" id="-1" userLabel="File's Owner"/>
<placeholder placeholderIdentifier="IBFirstResponder" id="-2" customClass="UIResponder"/>
<collectionReusableView opaque="NO" clipsSubviews="YES" multipleTouchEnabled="YES" contentMode="center" reuseIdentifier="incomingHeader" id="tyy-rb-xZG" customClass="MSGImessageHeaderView" customModule="MessengerKit" customModuleProvider="target">
<collectionReusableView opaque="NO" clipsSubviews="YES" multipleTouchEnabled="YES" contentMode="center" reuseIdentifier="incomingHeader" id="tyy-rb-xZG" customClass="MSGImessageHeaderView">
<rect key="frame" x="0.0" y="0.0" width="425" height="49"/>
<autoresizingMask key="autoresizingMask"/>
<subviews>
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -12,7 +12,7 @@
<objects>
<placeholder placeholderIdentifier="IBFilesOwner" id="-1" userLabel="File's Owner"/>
<placeholder placeholderIdentifier="IBFirstResponder" id="-2" customClass="UIResponder"/>
<collectionReusableView opaque="NO" clipsSubviews="YES" multipleTouchEnabled="YES" contentMode="center" reuseIdentifier="outgoingFooter" id="BdN-kJ-dti" customClass="MSGImessageFooterView" customModule="MessengerKit" customModuleProvider="target">
<collectionReusableView opaque="NO" clipsSubviews="YES" multipleTouchEnabled="YES" contentMode="center" reuseIdentifier="outgoingFooter" id="BdN-kJ-dti" customClass="MSGImessageFooterView">
<rect key="frame" x="0.0" y="0.0" width="425" height="49"/>
<autoresizingMask key="autoresizingMask"/>
<subviews>
Expand Down
Loading