Skip to content

Commit

Permalink
Call layoutSubviews with changing minHeight and maxHeight. #14
Browse files Browse the repository at this point in the history
  • Loading branch information
KennethTsang committed Jul 30, 2017
1 parent 1dd5659 commit 7e9f111
Show file tree
Hide file tree
Showing 5 changed files with 223 additions and 56 deletions.
7 changes: 7 additions & 0 deletions Example/GrowingTextView.xcodeproj/project.pbxproj
Original file line number Diff line number Diff line change
Expand Up @@ -14,6 +14,7 @@
607FACDD1AFB9204008FA782 /* Images.xcassets in Resources */ = {isa = PBXBuildFile; fileRef = 607FACDC1AFB9204008FA782 /* Images.xcassets */; };
607FACE01AFB9204008FA782 /* LaunchScreen.xib in Resources */ = {isa = PBXBuildFile; fileRef = 607FACDE1AFB9204008FA782 /* LaunchScreen.xib */; };
607FACEC1AFB9204008FA782 /* Tests.swift in Sources */ = {isa = PBXBuildFile; fileRef = 607FACEB1AFB9204008FA782 /* Tests.swift */; };
9F77765A1F2CD24600D984BD /* Example3.swift in Sources */ = {isa = PBXBuildFile; fileRef = 9F7776591F2CD24600D984BD /* Example3.swift */; };
A2C291FF1CD5335036A7799C /* Pods_GrowingTextView_Example.framework in Frameworks */ = {isa = PBXBuildFile; fileRef = 6901721E071F59387C8307F5 /* Pods_GrowingTextView_Example.framework */; };
E8F6685B1E7A2374008DC918 /* Example2.swift in Sources */ = {isa = PBXBuildFile; fileRef = E8F6685A1E7A2374008DC918 /* Example2.swift */; };
/* End PBXBuildFile section */
Expand Down Expand Up @@ -46,6 +47,7 @@
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>"; };
82A00AE736E8DB33E4C51BCF /* LICENSE */ = {isa = PBXFileReference; includeInIndex = 1; lastKnownFileType = text; name = LICENSE; path = ../LICENSE; sourceTree = "<group>"; };
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>"; };
9F7776591F2CD24600D984BD /* Example3.swift */ = {isa = PBXFileReference; fileEncoding = 4; lastKnownFileType = sourcecode.swift; path = Example3.swift; sourceTree = "<group>"; };
B0107F8A265D1912F5F00A58 /* README.md */ = {isa = PBXFileReference; includeInIndex = 1; lastKnownFileType = net.daringfireball.markdown; name = README.md; path = ../README.md; sourceTree = "<group>"; };
E1CD2345DF65C90D2105BD90 /* GrowingTextView.podspec */ = {isa = PBXFileReference; includeInIndex = 1; lastKnownFileType = text; name = GrowingTextView.podspec; path = ../GrowingTextView.podspec; sourceTree = "<group>"; };
E8F6685A1E7A2374008DC918 /* Example2.swift */ = {isa = PBXFileReference; fileEncoding = 4; lastKnownFileType = sourcecode.swift; path = Example2.swift; sourceTree = "<group>"; };
Expand Down Expand Up @@ -98,6 +100,7 @@
607FACD51AFB9204008FA782 /* AppDelegate.swift */,
607FACD71AFB9204008FA782 /* Example1.swift */,
E8F6685A1E7A2374008DC918 /* Example2.swift */,
9F7776591F2CD24600D984BD /* Example3.swift */,
607FACD91AFB9204008FA782 /* Main.storyboard */,
607FACDE1AFB9204008FA782 /* LaunchScreen.xib */,
607FACDC1AFB9204008FA782 /* Images.xcassets */,
Expand Down Expand Up @@ -218,6 +221,7 @@
TargetAttributes = {
607FACCF1AFB9204008FA782 = {
CreatedOnToolsVersion = 6.3.1;
DevelopmentTeam = Q2JY75TQ6R;
LastSwiftMigration = 0800;
};
607FACE41AFB9204008FA782 = {
Expand Down Expand Up @@ -364,6 +368,7 @@
isa = PBXSourcesBuildPhase;
buildActionMask = 2147483647;
files = (
9F77765A1F2CD24600D984BD /* Example3.swift in Sources */,
607FACD81AFB9204008FA782 /* Example1.swift in Sources */,
E8F6685B1E7A2374008DC918 /* Example2.swift in Sources */,
607FACD61AFB9204008FA782 /* AppDelegate.swift in Sources */,
Expand Down Expand Up @@ -501,6 +506,7 @@
buildSettings = {
ALWAYS_EMBED_SWIFT_STANDARD_LIBRARIES = YES;
ASSETCATALOG_COMPILER_APPICON_NAME = AppIcon;
DEVELOPMENT_TEAM = Q2JY75TQ6R;
FRAMEWORK_SEARCH_PATHS = "$(inherited)";
INFOPLIST_FILE = GrowingTextView/Info.plist;
LD_RUNPATH_SEARCH_PATHS = "$(inherited) @executable_path/Frameworks";
Expand All @@ -517,6 +523,7 @@
buildSettings = {
ALWAYS_EMBED_SWIFT_STANDARD_LIBRARIES = YES;
ASSETCATALOG_COMPILER_APPICON_NAME = AppIcon;
DEVELOPMENT_TEAM = Q2JY75TQ6R;
FRAMEWORK_SEARCH_PATHS = "$(inherited)";
INFOPLIST_FILE = GrowingTextView/Info.plist;
LD_RUNPATH_SEARCH_PATHS = "$(inherited) @executable_path/Frameworks";
Expand Down

0 comments on commit 7e9f111

Please sign in to comment.