Skip to content

Commit

Permalink
Fix image paste, update copywrite years, version bumo
Browse files Browse the repository at this point in the history
  • Loading branch information
nathantannar4 committed Mar 26, 2019
1 parent 01f04fc commit 8be063b
Show file tree
Hide file tree
Showing 46 changed files with 63 additions and 50 deletions.
5 changes: 5 additions & 0 deletions CHANGELOG.md
Original file line number Diff line number Diff line change
@@ -1,5 +1,10 @@
# Changelog

- 4.2.2
- Fix image paste orientation in `InputTextView`
- 4.2.1
- Fix crash when pasting multiple images
- Removed `AutocompleteManager.isCaseSensitive: Bool` in favor of a `filterBlock`
- 4.2.0
- Added new API for overriding the main middle view, normally the `InputTextView` so it can be replaced with views such as a "Join" button", `setMiddleContentView(_ view: UIView?, animated: Bool)`
- 4.1.2
Expand Down
2 changes: 1 addition & 1 deletion Example/Example/AppDelegate.swift
Original file line number Diff line number Diff line change
Expand Up @@ -3,7 +3,7 @@
// Example
//
// Created by Nathan Tannar on 8/18/17.
// Copyright © 2017-2018 Nathan Tannar. All rights reserved.
// Copyright © 2017-2019 Nathan Tannar. All rights reserved.
//

import UIKit
Expand Down
7 changes: 3 additions & 4 deletions Example/Example/Base.lproj/LaunchScreen.storyboard
Original file line number Diff line number Diff line change
@@ -1,12 +1,11 @@
<?xml version="1.0" encoding="UTF-8"?>
<document type="com.apple.InterfaceBuilder3.CocoaTouch.Storyboard.XIB" version="3.0" toolsVersion="14113" targetRuntime="iOS.CocoaTouch" propertyAccessControl="none" useAutolayout="YES" launchScreen="YES" useTraitCollections="YES" colorMatched="YES" initialViewController="01J-lp-oVM">
<document type="com.apple.InterfaceBuilder3.CocoaTouch.Storyboard.XIB" version="3.0" toolsVersion="14460.31" targetRuntime="iOS.CocoaTouch" propertyAccessControl="none" useAutolayout="YES" launchScreen="YES" useTraitCollections="YES" colorMatched="YES" initialViewController="01J-lp-oVM">
<device id="retina4_7" orientation="portrait">
<adaptation id="fullscreen"/>
</device>
<dependencies>
<deployment identifier="iOS"/>
<plugIn identifier="com.apple.InterfaceBuilder.IBCocoaTouchPlugin" version="14088"/>
<capability name="Constraints to layout margins" minToolsVersion="6.0"/>
<plugIn identifier="com.apple.InterfaceBuilder.IBCocoaTouchPlugin" version="14460.20"/>
<capability name="documents saved in the Xcode 8 format" minToolsVersion="8.0"/>
</dependencies>
<scenes>
Expand All @@ -22,7 +21,7 @@
<rect key="frame" x="0.0" y="0.0" width="375" height="603"/>
<autoresizingMask key="autoresizingMask" widthSizable="YES" heightSizable="YES"/>
<subviews>
<label opaque="NO" userInteractionEnabled="NO" contentMode="left" horizontalHuggingPriority="251" verticalHuggingPriority="251" text="Copyright © 2017-2018 Nathan Tannar. All rights reserved." textAlignment="center" lineBreakMode="tailTruncation" numberOfLines="2" baselineAdjustment="alignBaselines" adjustsFontSizeToFit="NO" translatesAutoresizingMaskIntoConstraints="NO" id="eDX-Rw-wBK">
<label opaque="NO" userInteractionEnabled="NO" contentMode="left" horizontalHuggingPriority="251" verticalHuggingPriority="251" text="Copyright © 2017-2019 Nathan Tannar. All rights reserved." textAlignment="center" lineBreakMode="tailTruncation" numberOfLines="2" baselineAdjustment="alignBaselines" adjustsFontSizeToFit="NO" translatesAutoresizingMaskIntoConstraints="NO" id="eDX-Rw-wBK">
<rect key="frame" x="16" y="477" width="343" height="84"/>
<constraints>
<constraint firstAttribute="height" constant="84" id="GKO-VD-5bB"/>
Expand Down
2 changes: 1 addition & 1 deletion Example/Example/Cells/ImageCell.swift
Original file line number Diff line number Diff line change
Expand Up @@ -2,7 +2,7 @@
// ImageCell.swift
// Example
//
// Copyright © 2017-2018 Nathan Tannar.
// Copyright © 2017-2019 Nathan Tannar.
//
// Permission is hereby granted, free of charge, to any person obtaining a copy
// of this software and associated documentation files (the "Software"), to deal
Expand Down
2 changes: 1 addition & 1 deletion Example/Example/InputAccessoryExampleViewController.swift
Original file line number Diff line number Diff line change
Expand Up @@ -3,7 +3,7 @@
// Example
//
// Created by Nathan Tannar on 8/18/17.
// Copyright © 2017-2018 Nathan Tannar. All rights reserved.
// Copyright © 2017-2019 Nathan Tannar. All rights reserved.
//

import UIKit
Expand Down
2 changes: 1 addition & 1 deletion Example/Example/InputBarExamples/InputBarStyle.swift
Original file line number Diff line number Diff line change
Expand Up @@ -3,7 +3,7 @@
// Example
//
// Created by Nathan Tannar on 8/18/17.
// Copyright © 2017-2018 Nathan Tannar. All rights reserved.
// Copyright © 2017-2019 Nathan Tannar. All rights reserved.
//

import Foundation
Expand Down
2 changes: 1 addition & 1 deletion Example/Example/InputBarStyleSelectionController.swift
Original file line number Diff line number Diff line change
Expand Up @@ -3,7 +3,7 @@
// Example
//
// Created by Nathan Tannar on 8/18/17.
// Copyright © 2017-2018 Nathan Tannar. All rights reserved.
// Copyright © 2017-2019 Nathan Tannar. All rights reserved.
//

import UIKit
Expand Down
2 changes: 1 addition & 1 deletion Example/Example/SubviewExampleViewController.swift
Original file line number Diff line number Diff line change
Expand Up @@ -3,7 +3,7 @@
// Example
//
// Created by Nathan Tannar on 8/18/17.
// Copyright © 2017-2018 Nathan Tannar. All rights reserved.
// Copyright © 2017-2019 Nathan Tannar. All rights reserved.
//

import UIKit
Expand Down
2 changes: 1 addition & 1 deletion Example/Example/Supporting Files/Lorem.swift
Original file line number Diff line number Diff line change
Expand Up @@ -2,7 +2,7 @@
// Lorem.swift
// InputBarAccessoryView Example
//
// Copyright © 2017-2018 Nathan Tannar.
// Copyright © 2017-2019 Nathan Tannar.
//
// Permission is hereby granted, free of charge, to any person obtaining a copy
// of this software and associated documentation files (the "Software"), to deal
Expand Down
2 changes: 1 addition & 1 deletion Example/Example/Supporting Files/Random.swift
Original file line number Diff line number Diff line change
Expand Up @@ -2,7 +2,7 @@
// Random.swift
// InputBarAccessoryView Example
//
// Copyright © 2017-2018 Nathan Tannar.
// Copyright © 2017-2019 Nathan Tannar.
//
// Permission is hereby granted, free of charge, to any person obtaining a copy
// of this software and associated documentation files (the "Software"), to deal
Expand Down
3 changes: 2 additions & 1 deletion InputBarAccessoryView.podspec
Original file line number Diff line number Diff line change
Expand Up @@ -9,9 +9,10 @@ Pod::Spec.new do |s|
s.description = "Featuring reactive changes, autocomplete, image paste support and so much more."
s.requires_arc = true
s.pod_target_xcconfig = { 'SWIFT_VERSION' => '4.2' }
s.swift_version = '4.2'

# 2 - Version
s.version = "4.2.1"
s.version = "4.2.2"

# 3 - License
s.license = { :type => "MIT", :file => "LICENSE" }
Expand Down
Original file line number Diff line number Diff line change
@@ -0,0 +1,8 @@
<?xml version="1.0" encoding="UTF-8"?>
<!DOCTYPE plist PUBLIC "-//Apple//DTD PLIST 1.0//EN" "http://www.apple.com/DTDs/PropertyList-1.0.dtd">
<plist version="1.0">
<dict>
<key>IDEDidComputeMac32BitWarning</key>
<true/>
</dict>
</plist>
2 changes: 1 addition & 1 deletion InputBarAccessoryView/Controls/InputBarButtonItem.swift
Original file line number Diff line number Diff line change
Expand Up @@ -2,7 +2,7 @@
// InputBarButtonItem.swift
// InputBarAccessoryView
//
// Copyright © 2017-2018 Nathan Tannar.
// Copyright © 2017-2019 Nathan Tannar.
//
// Permission is hereby granted, free of charge, to any person obtaining a copy
// of this software and associated documentation files (the "Software"), to deal
Expand Down
2 changes: 1 addition & 1 deletion InputBarAccessoryView/Controls/InputBarSendButton.swift
Original file line number Diff line number Diff line change
Expand Up @@ -2,7 +2,7 @@
// InputBarSendButton.swift
// InputBarAccessoryView
//
// Copyright © 2017-2018 Nathan Tannar.
// Copyright © 2017-2019 Nathan Tannar.
//
// Permission is hereby granted, free of charge, to any person obtaining a copy
// of this software and associated documentation files (the "Software"), to deal
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -2,7 +2,7 @@
// NSMutableAttributedString+Extensions.swift
// InputBarAccessoryView
//
// Copyright © 2017-2018 Nathan Tannar.
// Copyright © 2017-2019 Nathan Tannar.
//
// Permission is hereby granted, free of charge, to any person obtaining a copy
// of this software and associated documentation files (the "Software"), to deal
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -2,7 +2,7 @@
// NSNotification+Extensions.swift
// InputBarAccessoryView
//
// Copyright © 2017-2018 Nathan Tannar.
// Copyright © 2017-2019 Nathan Tannar.
//
// Permission is hereby granted, free of charge, to any person obtaining a copy
// of this software and associated documentation files (the "Software"), to deal
Expand Down
2 changes: 1 addition & 1 deletion InputBarAccessoryView/Extensions/UIView+AutoLayout.swift
Original file line number Diff line number Diff line change
Expand Up @@ -2,7 +2,7 @@
// UIView+Autolayout.swift
// InputBarAccessoryView
//
// Copyright © 2017-2018 Nathan Tannar.
// Copyright © 2017-2019 Nathan Tannar.
//
// Permission is hereby granted, free of charge, to any person obtaining a copy
// of this software and associated documentation files (the "Software"), to deal
Expand Down
2 changes: 1 addition & 1 deletion InputBarAccessoryView/InputBarAccessoryView.swift
Original file line number Diff line number Diff line change
Expand Up @@ -2,7 +2,7 @@
// InputBarAccessoryView.swift
// InputBarAccessoryView
//
// Copyright © 2017-2018 Nathan Tannar.
// Copyright © 2017-2019 Nathan Tannar.
//
// Permission is hereby granted, free of charge, to any person obtaining a copy
// of this software and associated documentation files (the "Software"), to deal
Expand Down
2 changes: 1 addition & 1 deletion InputBarAccessoryView/KeyboardManager/KeyboardEvent.swift
Original file line number Diff line number Diff line change
Expand Up @@ -2,7 +2,7 @@
// KeyboardEvent.swift
// InputBarAccessoryView
//
// Copyright © 2017-2018 Nathan Tannar.
// Copyright © 2017-2019 Nathan Tannar.
//
// Permission is hereby granted, free of charge, to any person obtaining a copy
// of this software and associated documentation files (the "Software"), to deal
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -2,7 +2,7 @@
// KeyboardManager.swift
// InputBarAccessoryView
//
// Copyright © 2017-2018 Nathan Tannar.
// Copyright © 2017-2019 Nathan Tannar.
//
// Permission is hereby granted, free of charge, to any person obtaining a copy
// of this software and associated documentation files (the "Software"), to deal
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -2,7 +2,7 @@
// KeyboardNotification.swift
// InputBarAccessoryView
//
// Copyright © 2017-2018 Nathan Tannar.
// Copyright © 2017-2019 Nathan Tannar.
//
// Permission is hereby granted, free of charge, to any person obtaining a copy
// of this software and associated documentation files (the "Software"), to deal
Expand Down
2 changes: 1 addition & 1 deletion InputBarAccessoryView/Models/NSConstraintLayoutSet.swift
Original file line number Diff line number Diff line change
Expand Up @@ -2,7 +2,7 @@
// NSConstraintLayoutSet.swift
// InputBarAccessoryView
//
// Copyright © 2017-2018 Nathan Tannar.
// Copyright © 2017-2019 Nathan Tannar.
//
// Permission is hereby granted, free of charge, to any person obtaining a copy
// of this software and associated documentation files (the "Software"), to deal
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -2,7 +2,7 @@
// AttachmentManager.swift
// InputBarAccessoryView
//
// Copyright © 2017-2018 Nathan Tannar.
// Copyright © 2017-2019 Nathan Tannar.
//
// Permission is hereby granted, free of charge, to any person obtaining a copy
// of this software and associated documentation files (the "Software"), to deal
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -2,7 +2,7 @@
// AttachmentManagerDataSource.swift
// InputBarAccessoryView
//
// Copyright © 2017-2018 Nathan Tannar.
// Copyright © 2017-2019 Nathan Tannar.
//
// Permission is hereby granted, free of charge, to any person obtaining a copy
// of this software and associated documentation files (the "Software"), to deal
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -2,7 +2,7 @@
// AttachmentManagerDelegate.swift
// InputBarAccessoryView
//
// Copyright © 2017-2018 Nathan Tannar.
// Copyright © 2017-2019 Nathan Tannar.
//
// Permission is hereby granted, free of charge, to any person obtaining a copy
// of this software and associated documentation files (the "Software"), to deal
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -2,7 +2,7 @@
// AttachmentCell.swift
// InputBarAccessoryView
//
// Copyright © 2017-2018 Nathan Tannar.
// Copyright © 2017-2019 Nathan Tannar.
//
// Permission is hereby granted, free of charge, to any person obtaining a copy
// of this software and associated documentation files (the "Software"), to deal
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -2,7 +2,7 @@
// AttachmentCollectionView.swift
// InputBarAccessoryView
//
// Copyright © 2017-2018 Nathan Tannar.
// Copyright © 2017-2019 Nathan Tannar.
//
// Permission is hereby granted, free of charge, to any person obtaining a copy
// of this software and associated documentation files (the "Software"), to deal
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -2,7 +2,7 @@
// ImageAttachmentCell.swift
// InputBarAccessoryView
//
// Copyright © 2017-2018 Nathan Tannar.
// Copyright © 2017-2019 Nathan Tannar.
//
// Permission is hereby granted, free of charge, to any person obtaining a copy
// of this software and associated documentation files (the "Software"), to deal
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -2,7 +2,7 @@
// AttachmentManager.swift
// InputBarAccessoryView
//
// Copyright © 2017-2018 Nathan Tannar.
// Copyright © 2017-2019 Nathan Tannar.
//
// Permission is hereby granted, free of charge, to any person obtaining a copy
// of this software and associated documentation files (the "Software"), to deal
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -2,7 +2,7 @@
// AutocompleteCompletion.swift
// InputBarAccessoryView
//
// Copyright © 2017-2018 Nathan Tannar.
// Copyright © 2017-2019 Nathan Tannar.
//
// Permission is hereby granted, free of charge, to any person obtaining a copy
// of this software and associated documentation files (the "Software"), to deal
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -2,7 +2,7 @@
// AutocompleteSession.swift
// InputBarAccessoryView
//
// Copyright © 2017-2018 Nathan Tannar.
// Copyright © 2017-2019 Nathan Tannar.
//
// Permission is hereby granted, free of charge, to any person obtaining a copy
// of this software and associated documentation files (the "Software"), to deal
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -2,7 +2,7 @@
// AutocompleteManagerDataSource.swift
// InputBarAccessoryView
//
// Copyright © 2017-2018 Nathan Tannar.
// Copyright © 2017-2019 Nathan Tannar.
//
// Permission is hereby granted, free of charge, to any person obtaining a copy
// of this software and associated documentation files (the "Software"), to deal
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -2,7 +2,7 @@
// AutocompleteManagerDelegate.swift
// InputBarAccessoryView
//
// Copyright © 2017-2018 Nathan Tannar.
// Copyright © 2017-2019 Nathan Tannar.
//
// Permission is hereby granted, free of charge, to any person obtaining a copy
// of this software and associated documentation files (the "Software"), to deal
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -2,7 +2,7 @@
// AutocompleteCell.swift
// InputBarAccessoryView
//
// Copyright © 2017-2018 Nathan Tannar.
// Copyright © 2017-2019 Nathan Tannar.
//
// Permission is hereby granted, free of charge, to any person obtaining a copy
// of this software and associated documentation files (the "Software"), to deal
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -2,7 +2,7 @@
// AutocompleteTableView.swift
// InputBarAccessoryView
//
// Copyright © 2017-2018 Nathan Tannar.
// Copyright © 2017-2019 Nathan Tannar.
//
// Permission is hereby granted, free of charge, to any person obtaining a copy
// of this software and associated documentation files (the "Software"), to deal
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -2,7 +2,7 @@
// InputBarAccessoryViewDelegate.swift
// InputBarAccessoryView
//
// Copyright © 2017-2018 Nathan Tannar.
// Copyright © 2017-2019 Nathan Tannar.
//
// Permission is hereby granted, free of charge, to any person obtaining a copy
// of this software and associated documentation files (the "Software"), to deal
Expand Down
4 changes: 2 additions & 2 deletions InputBarAccessoryView/Protocols/InputItem.swift
Original file line number Diff line number Diff line change
Expand Up @@ -2,7 +2,7 @@
// InputItem.swift
// InputBarAccessoryView
//
// Copyright © 2017-2018 Nathan Tannar.
// Copyright © 2017-2019 Nathan Tannar.
//
// Permission is hereby granted, free of charge, to any person obtaining a copy
// of this software and associated documentation files (the "Software"), to deal
Expand All @@ -22,7 +22,7 @@
// OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN THE
// SOFTWARE.
//
// Copyright © 2017-2018 Nathan Tannar. All rights reserved.
// Copyright © 2017-2019 Nathan Tannar. All rights reserved.
//

import UIKit
Expand Down
4 changes: 2 additions & 2 deletions InputBarAccessoryView/Protocols/InputPlugin.swift
Original file line number Diff line number Diff line change
Expand Up @@ -2,7 +2,7 @@
// InputPlugin.swift
// InputBarAccessoryView
//
// Copyright © 2017-2018 Nathan Tannar.
// Copyright © 2017-2019 Nathan Tannar.
//
// Permission is hereby granted, free of charge, to any person obtaining a copy
// of this software and associated documentation files (the "Software"), to deal
Expand All @@ -22,7 +22,7 @@
// OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN THE
// SOFTWARE.
//
// Copyright © 2017-2018 Nathan Tannar. All rights reserved.
// Copyright © 2017-2019 Nathan Tannar. All rights reserved.
//

import UIKit
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -2,7 +2,7 @@
// RxInputBarAccessoryView.swift
// InputBarAccessoryView
//
// Copyright © 2017-2018 Nathan Tannar.
// Copyright © 2017-2019 Nathan Tannar.
//
// Permission is hereby granted, free of charge, to any person obtaining a copy
// of this software and associated documentation files (the "Software"), to deal
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -2,7 +2,7 @@
// InputBarAccessoryView+Availability.swift
// InputBarAccessoryView
//
// Copyright © 2017-2018 Nathan Tannar.
// Copyright © 2017-2019 Nathan Tannar.
//
// Permission is hereby granted, free of charge, to any person obtaining a copy
// of this software and associated documentation files (the "Software"), to deal
Expand Down
Loading

0 comments on commit 8be063b

Please sign in to comment.