Skip to content

Commit 7e9f111

Browse files
committed
Call layoutSubviews with changing minHeight and maxHeight. KennethTsang#14
1 parent 1dd5659 commit 7e9f111

File tree

5 files changed

+223
-56
lines changed

5 files changed

+223
-56
lines changed

Example/GrowingTextView.xcodeproj/project.pbxproj

Lines changed: 7 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -14,6 +14,7 @@
1414
607FACDD1AFB9204008FA782 /* Images.xcassets in Resources */ = {isa = PBXBuildFile; fileRef = 607FACDC1AFB9204008FA782 /* Images.xcassets */; };
1515
607FACE01AFB9204008FA782 /* LaunchScreen.xib in Resources */ = {isa = PBXBuildFile; fileRef = 607FACDE1AFB9204008FA782 /* LaunchScreen.xib */; };
1616
607FACEC1AFB9204008FA782 /* Tests.swift in Sources */ = {isa = PBXBuildFile; fileRef = 607FACEB1AFB9204008FA782 /* Tests.swift */; };
17+
9F77765A1F2CD24600D984BD /* Example3.swift in Sources */ = {isa = PBXBuildFile; fileRef = 9F7776591F2CD24600D984BD /* Example3.swift */; };
1718
A2C291FF1CD5335036A7799C /* Pods_GrowingTextView_Example.framework in Frameworks */ = {isa = PBXBuildFile; fileRef = 6901721E071F59387C8307F5 /* Pods_GrowingTextView_Example.framework */; };
1819
E8F6685B1E7A2374008DC918 /* Example2.swift in Sources */ = {isa = PBXBuildFile; fileRef = E8F6685A1E7A2374008DC918 /* Example2.swift */; };
1920
/* End PBXBuildFile section */
@@ -46,6 +47,7 @@
4647
7C5459332587240C90FE8165 /* Pods-GrowingTextView_Example.debug.xcconfig */ = {isa = PBXFileReference; includeInIndex = 1; lastKnownFileType = text.xcconfig; name = "Pods-GrowingTextView_Example.debug.xcconfig"; path = "Pods/Target Support Files/Pods-GrowingTextView_Example/Pods-GrowingTextView_Example.debug.xcconfig"; sourceTree = "<group>"; };
4748
82A00AE736E8DB33E4C51BCF /* LICENSE */ = {isa = PBXFileReference; includeInIndex = 1; lastKnownFileType = text; name = LICENSE; path = ../LICENSE; sourceTree = "<group>"; };
4849
99E7D461BB194BB44BEA6391 /* Pods-GrowingTextView_Tests.debug.xcconfig */ = {isa = PBXFileReference; includeInIndex = 1; lastKnownFileType = text.xcconfig; name = "Pods-GrowingTextView_Tests.debug.xcconfig"; path = "Pods/Target Support Files/Pods-GrowingTextView_Tests/Pods-GrowingTextView_Tests.debug.xcconfig"; sourceTree = "<group>"; };
50+
9F7776591F2CD24600D984BD /* Example3.swift */ = {isa = PBXFileReference; fileEncoding = 4; lastKnownFileType = sourcecode.swift; path = Example3.swift; sourceTree = "<group>"; };
4951
B0107F8A265D1912F5F00A58 /* README.md */ = {isa = PBXFileReference; includeInIndex = 1; lastKnownFileType = net.daringfireball.markdown; name = README.md; path = ../README.md; sourceTree = "<group>"; };
5052
E1CD2345DF65C90D2105BD90 /* GrowingTextView.podspec */ = {isa = PBXFileReference; includeInIndex = 1; lastKnownFileType = text; name = GrowingTextView.podspec; path = ../GrowingTextView.podspec; sourceTree = "<group>"; };
5153
E8F6685A1E7A2374008DC918 /* Example2.swift */ = {isa = PBXFileReference; fileEncoding = 4; lastKnownFileType = sourcecode.swift; path = Example2.swift; sourceTree = "<group>"; };
@@ -98,6 +100,7 @@
98100
607FACD51AFB9204008FA782 /* AppDelegate.swift */,
99101
607FACD71AFB9204008FA782 /* Example1.swift */,
100102
E8F6685A1E7A2374008DC918 /* Example2.swift */,
103+
9F7776591F2CD24600D984BD /* Example3.swift */,
101104
607FACD91AFB9204008FA782 /* Main.storyboard */,
102105
607FACDE1AFB9204008FA782 /* LaunchScreen.xib */,
103106
607FACDC1AFB9204008FA782 /* Images.xcassets */,
@@ -218,6 +221,7 @@
218221
TargetAttributes = {
219222
607FACCF1AFB9204008FA782 = {
220223
CreatedOnToolsVersion = 6.3.1;
224+
DevelopmentTeam = Q2JY75TQ6R;
221225
LastSwiftMigration = 0800;
222226
};
223227
607FACE41AFB9204008FA782 = {
@@ -364,6 +368,7 @@
364368
isa = PBXSourcesBuildPhase;
365369
buildActionMask = 2147483647;
366370
files = (
371+
9F77765A1F2CD24600D984BD /* Example3.swift in Sources */,
367372
607FACD81AFB9204008FA782 /* Example1.swift in Sources */,
368373
E8F6685B1E7A2374008DC918 /* Example2.swift in Sources */,
369374
607FACD61AFB9204008FA782 /* AppDelegate.swift in Sources */,
@@ -501,6 +506,7 @@
501506
buildSettings = {
502507
ALWAYS_EMBED_SWIFT_STANDARD_LIBRARIES = YES;
503508
ASSETCATALOG_COMPILER_APPICON_NAME = AppIcon;
509+
DEVELOPMENT_TEAM = Q2JY75TQ6R;
504510
FRAMEWORK_SEARCH_PATHS = "$(inherited)";
505511
INFOPLIST_FILE = GrowingTextView/Info.plist;
506512
LD_RUNPATH_SEARCH_PATHS = "$(inherited) @executable_path/Frameworks";
@@ -517,6 +523,7 @@
517523
buildSettings = {
518524
ALWAYS_EMBED_SWIFT_STANDARD_LIBRARIES = YES;
519525
ASSETCATALOG_COMPILER_APPICON_NAME = AppIcon;
526+
DEVELOPMENT_TEAM = Q2JY75TQ6R;
520527
FRAMEWORK_SEARCH_PATHS = "$(inherited)";
521528
INFOPLIST_FILE = GrowingTextView/Info.plist;
522529
LD_RUNPATH_SEARCH_PATHS = "$(inherited) @executable_path/Frameworks";

0 commit comments

Comments
 (0)