Skip to content

Commit a5b8859

Browse files
committed
FIX: NSLayoutConstraint weak reference warning.
FIX: podspec issue #40
1 parent e43c010 commit a5b8859

File tree

7 files changed

+8
-7
lines changed

7 files changed

+8
-7
lines changed

Example/GrowingTextView.xcodeproj/project.pbxproj

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -219,7 +219,7 @@
219219
isa = PBXProject;
220220
attributes = {
221221
LastSwiftUpdateCheck = 0720;
222-
LastUpgradeCheck = 0930;
222+
LastUpgradeCheck = 1000;
223223
ORGANIZATIONNAME = CocoaPods;
224224
TargetAttributes = {
225225
607FACCF1AFB9204008FA782 = {

Example/GrowingTextView.xcodeproj/xcshareddata/xcschemes/GrowingTextView-Example.xcscheme

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,6 +1,6 @@
11
<?xml version="1.0" encoding="UTF-8"?>
22
<Scheme
3-
LastUpgradeVersion = "0930"
3+
LastUpgradeVersion = "1000"
44
version = "1.3">
55
<BuildAction
66
parallelizeBuildables = "YES"

Example/Pods/Pods.xcodeproj/project.pbxproj

Lines changed: 1 addition & 1 deletion
Some generated files are not rendered by default. Learn more about customizing how changed files appear on GitHub.

Example/Pods/Pods.xcodeproj/xcshareddata/xcschemes/GrowingTextView.xcscheme

Lines changed: 1 addition & 1 deletion
Some generated files are not rendered by default. Learn more about customizing how changed files appear on GitHub.

GrowingTextView.podspec

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -8,7 +8,7 @@
88

99
Pod::Spec.new do |s|
1010
s.name = "GrowingTextView"
11-
s.version = "0.6.0"
11+
s.version = "0.6.1"
1212
s.summary = "UITextView on Swift 3 and Swift 4. Support auto growing, placeholder and length limit."
1313

1414
# This description is used to generate tags and improve search results.

Pod/Classes/GrowingTextView.swift

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -18,7 +18,7 @@ open class GrowingTextView: UITextView {
1818
override open var text: String! {
1919
didSet { setNeedsDisplay() }
2020
}
21-
private weak var heightConstraint: NSLayoutConstraint?
21+
private var heightConstraint: NSLayoutConstraint?
2222

2323
// Maximum length of text. 0 means no limit.
2424
@IBInspectable open var maxLength: Int = 0

README.md

Lines changed: 2 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -5,6 +5,7 @@
55
[![Platform](https://img.shields.io/cocoapods/p/GrowingTextView.svg?style=flat)](http://cocoapods.org/pods/GrowingTextView)
66
[![Language](https://img.shields.io/badge/Swift-3.0-orange.svg?style=flat)](http://cocoapods.org/pods/GrowingTextView)
77
[![Language](https://img.shields.io/badge/Swift-4.0-orange.svg?style=flat)](http://cocoapods.org/pods/GrowingTextView)
8+
[![Language](https://img.shields.io/badge/Swift-4.2-orange.svg?style=flat)](http://cocoapods.org/pods/GrowingTextView)
89

910
<img src="DEMO.gif" border=1 style="border-color:#eeeeee">
1011

@@ -22,7 +23,7 @@ it, simply add the following line to your Podfile:
2223
Swift 4.2<br>
2324

2425
```ruby
25-
pod 'GrowingTextView', '~> 0.6'
26+
pod 'GrowingTextView', '0.6.1'
2627
```
2728

2829
Swift 4.1<br>

0 commit comments

Comments
 (0)