├── .travis.yml ├── ACEExpandableTextCell.podspec ├── ACEExpandableTextCell ├── ACEExpandableTextCell.h └── ACEExpandableTextCell.m ├── ACEExpandableTextCellDemo.xcodeproj ├── project.pbxproj └── xcshareddata │ └── xcschemes │ └── ACEExpandableTextCellDemo.xcscheme ├── ACEExpandableTextCellDemo.xcworkspace └── contents.xcworkspacedata ├── ACEExpandableTextCellDemo ├── ACEAppDelegate.h ├── ACEAppDelegate.m ├── ACEExpandableTextCellDemo-Info.plist ├── ACEExpandableTextCellDemo-Prefix.pch ├── ACEViewController.h ├── ACEViewController.m ├── Default-568h@2x.png ├── Default.png ├── Default@2x.png ├── en.lproj │ └── InfoPlist.strings └── main.m ├── LICENSE ├── Podfile ├── Podfile.lock ├── Pods ├── Headers │ ├── Private │ │ ├── ACEExpandableTextCell │ │ │ └── ACEExpandableTextCell.h │ │ └── SZTextView │ │ │ └── SZTextView.h │ └── Public │ │ ├── ACEExpandableTextCell │ │ └── ACEExpandableTextCell.h │ │ └── SZTextView │ │ └── SZTextView.h ├── Local Podspecs │ └── ACEExpandableTextCell.podspec.json ├── Manifest.lock ├── Pods.xcodeproj │ └── project.pbxproj ├── SZTextView │ ├── Classes │ │ ├── SZTextView.h │ │ └── SZTextView.m │ ├── LICENSE │ └── README.md └── Target Support Files │ ├── ACEExpandableTextCell │ ├── ACEExpandableTextCell-dummy.m │ ├── ACEExpandableTextCell-prefix.pch │ └── ACEExpandableTextCell.xcconfig │ ├── Pods-ACEExpandableTextCellDemo │ ├── Pods-ACEExpandableTextCellDemo-acknowledgements.markdown │ ├── Pods-ACEExpandableTextCellDemo-acknowledgements.plist │ ├── Pods-ACEExpandableTextCellDemo-dummy.m │ ├── Pods-ACEExpandableTextCellDemo-frameworks.sh │ ├── Pods-ACEExpandableTextCellDemo-resources.sh │ ├── Pods-ACEExpandableTextCellDemo.debug.xcconfig │ └── Pods-ACEExpandableTextCellDemo.release.xcconfig │ └── SZTextView │ ├── SZTextView-dummy.m │ ├── SZTextView-prefix.pch │ └── SZTextView.xcconfig ├── README.md └── demo.gif /.travis.yml: -------------------------------------------------------------------------------- 1 | language: objective-c 2 | osx_image: xcode7.2 3 | xcode_workspace: ACEExpandableTextCellDemo.xcworkspace 4 | xcode_scheme: ACEExpandableTextCellDemo 5 | xcode_sdk: iphonesimulator9.2 6 | -------------------------------------------------------------------------------- /ACEExpandableTextCell.podspec: -------------------------------------------------------------------------------- 1 | Pod::Spec.new do |s| 2 | s.name = 'ACEExpandableTextCell' 3 | s.version = '1.0.4' 4 | s.homepage = 'https://github.com/acerbetti/ACEExpandableTextCell' 5 | s.author = { 'Stefano Acerbetti' => 'acerbetti@gmail.com' } 6 | s.license = { :type => 'MIT', :file => 'LICENSE' } 7 | s.summary = 'Is the simplest way to insert a UITextView inside an expandable UITableViewCell.' 8 | s.source = { :git => 'https://github.com/acerbetti/ACEExpandableTextCell.git', :tag => 'v1.0.4' } 9 | s.source_files = 'ACEExpandableTextCell/*.{h,m}' 10 | s.dependency 'SZTextView' 11 | s.requires_arc = true 12 | s.ios.deployment_target = '5.0' 13 | end 14 | -------------------------------------------------------------------------------- /ACEExpandableTextCell/ACEExpandableTextCell.h: -------------------------------------------------------------------------------- 1 | // ACEExpandableTextCell.h 2 | // 3 | // Copyright (c) 2014 Stefano Acerbetti 4 | // 5 | // Permission is hereby granted, free of charge, to any person obtaining a copy 6 | // of this software and associated documentation files (the "Software"), to deal 7 | // in the Software without restriction, including without limitation the rights 8 | // to use, copy, modify, merge, publish, distribute, sublicense, and/or sell 9 | // copies of the Software, and to permit persons to whom the Software is 10 | // furnished to do so, subject to the following conditions: 11 | // 12 | // The above copyright notice and this permission notice shall be included in 13 | // all copies or substantial portions of the Software. 14 | // 15 | // THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND, EXPRESS OR 16 | // IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF MERCHANTABILITY, 17 | // FITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT. IN NO EVENT SHALL THE 18 | // AUTHORS OR COPYRIGHT HOLDERS BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER 19 | // LIABILITY, WHETHER IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING FROM, 20 | // OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN 21 | // THE SOFTWARE. 22 | 23 | 24 | #import "SZTextView.h" 25 | 26 | @protocol ACEExpandableTableViewDelegate 27 | 28 | @required 29 | - (void)tableView:(UITableView *)tableView updatedText:(NSString *)text atIndexPath:(NSIndexPath *)indexPath; 30 | 31 | @optional 32 | - (void)tableView:(UITableView *)tableView updatedHeight:(CGFloat)height atIndexPath:(NSIndexPath *)indexPath; 33 | - (BOOL)tableView:(UITableView *)tableView textView:(UITextView*)textView shouldChangeTextInRange:(NSRange)range replacementText:(NSString *)text; 34 | - (void)tableView:(UITableView *)tableView textViewDidChangeSelection:(UITextView*)textView; 35 | - (void)tableView:(UITableView *)tableView textViewDidEndEditing:(UITextView*)textView; 36 | @end 37 | 38 | #pragma mark - 39 | 40 | @interface ACEExpandableTextCell : UITableViewCell 41 | 42 | @property (nonatomic, weak) UITableView *expandableTableView; 43 | @property (nonatomic, strong, readonly) SZTextView *textView; 44 | 45 | @property (nonatomic, readonly) CGFloat cellHeight; 46 | @property (nonatomic, strong) NSString *text; 47 | 48 | -(void)updateTextViewHeight; // Call to update the textView height (useful for viewdidload) 49 | 50 | @end 51 | 52 | #pragma mark - 53 | 54 | @interface UITableView (ACEExpandableTextCell) 55 | 56 | // return the cell with the specified ID. It takes care of the dequeue if necessary 57 | - (ACEExpandableTextCell *)expandableTextCellWithId:(NSString *)cellId; 58 | 59 | @end 60 | -------------------------------------------------------------------------------- /ACEExpandableTextCell/ACEExpandableTextCell.m: -------------------------------------------------------------------------------- 1 | // ACEExpandableTextCell.m 2 | // 3 | // Copyright (c) 2014 Stefano Acerbetti 4 | // 5 | // Permission is hereby granted, free of charge, to any person obtaining a copy 6 | // of this software and associated documentation files (the "Software"), to deal 7 | // in the Software without restriction, including without limitation the rights 8 | // to use, copy, modify, merge, publish, distribute, sublicense, and/or sell 9 | // copies of the Software, and to permit persons to whom the Software is 10 | // furnished to do so, subject to the following conditions: 11 | // 12 | // The above copyright notice and this permission notice shall be included in 13 | // all copies or substantial portions of the Software. 14 | // 15 | // THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND, EXPRESS OR 16 | // IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF MERCHANTABILITY, 17 | // FITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT. IN NO EVENT SHALL THE 18 | // AUTHORS OR COPYRIGHT HOLDERS BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER 19 | // LIABILITY, WHETHER IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING FROM, 20 | // OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN 21 | // THE SOFTWARE. 22 | 23 | 24 | #import "ACEExpandableTextCell.h" 25 | 26 | #define kPadding 5 27 | 28 | @interface ACEExpandableTextCell () 29 | @property (nonatomic, strong) SZTextView *textView; 30 | @end 31 | 32 | #pragma mark - 33 | 34 | @implementation ACEExpandableTextCell 35 | 36 | - (id)initWithStyle:(UITableViewCellStyle)style reuseIdentifier:(NSString *)reuseIdentifier 37 | { 38 | self = [super initWithStyle:style reuseIdentifier:reuseIdentifier]; 39 | if (self) { 40 | [self.contentView addSubview:self.textView]; 41 | } 42 | return self; 43 | } 44 | 45 | - (SZTextView *)textView 46 | { 47 | if (_textView == nil) { 48 | CGRect cellFrame = self.contentView.bounds; 49 | cellFrame.origin.y += kPadding; 50 | cellFrame.size.height -= kPadding; 51 | 52 | _textView = [[SZTextView alloc] initWithFrame:cellFrame]; 53 | _textView.delegate = self; 54 | 55 | _textView.autoresizingMask = UIViewAutoresizingFlexibleWidth|UIViewAutoresizingFlexibleHeight; 56 | _textView.backgroundColor = [UIColor clearColor]; 57 | _textView.font = [UIFont systemFontOfSize:18.0f]; 58 | 59 | _textView.scrollEnabled = NO; 60 | _textView.showsVerticalScrollIndicator = NO; 61 | _textView.showsHorizontalScrollIndicator = NO; 62 | // textView.contentInset = UIEdgeInsetsZero; 63 | } 64 | return _textView; 65 | } 66 | 67 | - (void)setText:(NSString *)text 68 | { 69 | _text = text; 70 | 71 | // update the UI and the cell size with a delay to allow the cell to load 72 | self.textView.text = text; 73 | [self performSelector:@selector(textViewDidChange:) 74 | withObject:self.textView 75 | afterDelay:0.1]; 76 | } 77 | 78 | - (CGFloat)cellHeight 79 | { 80 | return [self.textView sizeThatFits:CGSizeMake(self.textView.frame.size.width, FLT_MAX)].height + kPadding * 2; 81 | } 82 | 83 | - (void)updateTextViewHeight { 84 | [self textViewDidChange:self.textView]; 85 | } 86 | 87 | #pragma mark - Text View Delegate 88 | 89 | -(void)textViewDidEndEditing:(UITextView *)textView{ 90 | if ([self.expandableTableView.delegate respondsToSelector:@selector(tableView:textViewDidEndEditing:)]) { 91 | [(id)self.expandableTableView.delegate tableView:self.expandableTableView textViewDidEndEditing:self.textView]; 92 | } 93 | } 94 | 95 | - (void)textViewDidChangeSelection:(UITextView *)textView { 96 | if ([self.expandableTableView.delegate respondsToSelector:@selector(tableView:textViewDidChangeSelection:)]) { 97 | [(id)self.expandableTableView.delegate tableView:self.expandableTableView textViewDidChangeSelection:self.textView]; 98 | } 99 | } 100 | 101 | - (BOOL)textView:(UITextView *)textView shouldChangeTextInRange:(NSRange)range replacementText:(NSString *)text { 102 | if ([self.expandableTableView.delegate respondsToSelector:@selector(tableView:textView:shouldChangeTextInRange:replacementText:)]) { 103 | id delegate = (id)self.expandableTableView.delegate; 104 | return [delegate tableView:self.expandableTableView 105 | textView:textView 106 | shouldChangeTextInRange:range 107 | replacementText:text]; 108 | } 109 | return YES; 110 | } 111 | 112 | - (BOOL)textViewShouldBeginEditing:(UITextView *)textView 113 | { 114 | // make sure the cell is at the top 115 | [self.expandableTableView scrollToRowAtIndexPath:[self.expandableTableView indexPathForCell:self] 116 | atScrollPosition:UITableViewScrollPositionTop 117 | animated:YES]; 118 | 119 | return YES; 120 | } 121 | 122 | - (void)textViewDidBeginEditing:(UITextView *)textView 123 | { 124 | if ([self.expandableTableView.delegate respondsToSelector:@selector(textViewDidBeginEditing:)]) { 125 | [(id)self.expandableTableView.delegate textViewDidBeginEditing:textView]; 126 | } 127 | } 128 | 129 | - (void)textViewDidChange:(UITextView *)theTextView 130 | { 131 | if ([self.expandableTableView.delegate conformsToProtocol:@protocol(ACEExpandableTableViewDelegate)]) { 132 | 133 | id delegate = (id)self.expandableTableView.delegate; 134 | NSIndexPath *indexPath = [self.expandableTableView indexPathForCell:self]; 135 | 136 | // update the text 137 | _text = self.textView.text; 138 | 139 | [delegate tableView:self.expandableTableView 140 | updatedText:_text 141 | atIndexPath:indexPath]; 142 | 143 | CGFloat newHeight = [self cellHeight]; 144 | CGFloat oldHeight = [delegate tableView:self.expandableTableView heightForRowAtIndexPath:indexPath]; 145 | if (fabs(newHeight - oldHeight) > 0.01) { 146 | 147 | // update the height 148 | if ([delegate respondsToSelector:@selector(tableView:updatedHeight:atIndexPath:)]) { 149 | [delegate tableView:self.expandableTableView 150 | updatedHeight:newHeight 151 | atIndexPath:indexPath]; 152 | } 153 | 154 | // refresh the table without closing the keyboard 155 | [self.expandableTableView beginUpdates]; 156 | [self.expandableTableView endUpdates]; 157 | } 158 | } 159 | } 160 | 161 | @end 162 | 163 | #pragma mark - 164 | 165 | @implementation UITableView (ACEExpandableTextCell) 166 | 167 | - (ACEExpandableTextCell *)expandableTextCellWithId:(NSString *)cellId 168 | { 169 | ACEExpandableTextCell *cell = [self dequeueReusableCellWithIdentifier:cellId]; 170 | if (cell == nil) { 171 | cell = [[ACEExpandableTextCell alloc] initWithStyle:UITableViewCellStyleDefault reuseIdentifier:cellId]; 172 | cell.selectionStyle = UITableViewCellSelectionStyleNone; 173 | cell.expandableTableView = self; 174 | } 175 | return cell; 176 | } 177 | 178 | @end 179 | 180 | -------------------------------------------------------------------------------- /ACEExpandableTextCellDemo.xcodeproj/project.pbxproj: -------------------------------------------------------------------------------- 1 | // !$*UTF8*$! 2 | { 3 | archiveVersion = 1; 4 | classes = { 5 | }; 6 | objectVersion = 46; 7 | objects = { 8 | 9 | /* Begin PBXBuildFile section */ 10 | 7BE3999A175FBA43004921A1 /* UIKit.framework in Frameworks */ = {isa = PBXBuildFile; fileRef = 7BE39999175FBA43004921A1 /* UIKit.framework */; }; 11 | 7BE3999C175FBA43004921A1 /* Foundation.framework in Frameworks */ = {isa = PBXBuildFile; fileRef = 7BE3999B175FBA43004921A1 /* Foundation.framework */; }; 12 | 7BE3999E175FBA43004921A1 /* CoreGraphics.framework in Frameworks */ = {isa = PBXBuildFile; fileRef = 7BE3999D175FBA43004921A1 /* CoreGraphics.framework */; }; 13 | 7BE399A4175FBA43004921A1 /* InfoPlist.strings in Resources */ = {isa = PBXBuildFile; fileRef = 7BE399A2175FBA43004921A1 /* InfoPlist.strings */; }; 14 | 7BE399A6175FBA43004921A1 /* main.m in Sources */ = {isa = PBXBuildFile; fileRef = 7BE399A5175FBA43004921A1 /* main.m */; }; 15 | 7BE399AA175FBA43004921A1 /* ACEAppDelegate.m in Sources */ = {isa = PBXBuildFile; fileRef = 7BE399A9175FBA43004921A1 /* ACEAppDelegate.m */; }; 16 | 7BE399AC175FBA43004921A1 /* Default.png in Resources */ = {isa = PBXBuildFile; fileRef = 7BE399AB175FBA43004921A1 /* Default.png */; }; 17 | 7BE399AE175FBA43004921A1 /* Default@2x.png in Resources */ = {isa = PBXBuildFile; fileRef = 7BE399AD175FBA43004921A1 /* Default@2x.png */; }; 18 | 7BE399B0175FBA43004921A1 /* Default-568h@2x.png in Resources */ = {isa = PBXBuildFile; fileRef = 7BE399AF175FBA43004921A1 /* Default-568h@2x.png */; }; 19 | 7BE399B3175FBA43004921A1 /* ACEViewController.m in Sources */ = {isa = PBXBuildFile; fileRef = 7BE399B2175FBA43004921A1 /* ACEViewController.m */; }; 20 | 7BEAF0EF2362E989B3CE43F3 /* libPods-ACEExpandableTextCellDemo.a in Frameworks */ = {isa = PBXBuildFile; fileRef = 4A61EF9A6B9E58B5A1275504 /* libPods-ACEExpandableTextCellDemo.a */; }; 21 | /* End PBXBuildFile section */ 22 | 23 | /* Begin PBXFileReference section */ 24 | 13BBBC5417DCB99A11623497 /* Pods-ACEExpandableTextCellDemo.release.xcconfig */ = {isa = PBXFileReference; includeInIndex = 1; lastKnownFileType = text.xcconfig; name = "Pods-ACEExpandableTextCellDemo.release.xcconfig"; path = "Pods/Target Support Files/Pods-ACEExpandableTextCellDemo/Pods-ACEExpandableTextCellDemo.release.xcconfig"; sourceTree = ""; }; 25 | 4A61EF9A6B9E58B5A1275504 /* libPods-ACEExpandableTextCellDemo.a */ = {isa = PBXFileReference; explicitFileType = archive.ar; includeInIndex = 0; path = "libPods-ACEExpandableTextCellDemo.a"; sourceTree = BUILT_PRODUCTS_DIR; }; 26 | 7BE39996175FBA43004921A1 /* ACEExpandableTextCellDemo.app */ = {isa = PBXFileReference; explicitFileType = wrapper.application; includeInIndex = 0; path = ACEExpandableTextCellDemo.app; sourceTree = BUILT_PRODUCTS_DIR; }; 27 | 7BE39999175FBA43004921A1 /* UIKit.framework */ = {isa = PBXFileReference; lastKnownFileType = wrapper.framework; name = UIKit.framework; path = System/Library/Frameworks/UIKit.framework; sourceTree = SDKROOT; }; 28 | 7BE3999B175FBA43004921A1 /* Foundation.framework */ = {isa = PBXFileReference; lastKnownFileType = wrapper.framework; name = Foundation.framework; path = System/Library/Frameworks/Foundation.framework; sourceTree = SDKROOT; }; 29 | 7BE3999D175FBA43004921A1 /* CoreGraphics.framework */ = {isa = PBXFileReference; lastKnownFileType = wrapper.framework; name = CoreGraphics.framework; path = System/Library/Frameworks/CoreGraphics.framework; sourceTree = SDKROOT; }; 30 | 7BE399A1175FBA43004921A1 /* ACEExpandableTextCellDemo-Info.plist */ = {isa = PBXFileReference; lastKnownFileType = text.plist.xml; path = "ACEExpandableTextCellDemo-Info.plist"; sourceTree = ""; }; 31 | 7BE399A3175FBA43004921A1 /* en */ = {isa = PBXFileReference; lastKnownFileType = text.plist.strings; name = en; path = en.lproj/InfoPlist.strings; sourceTree = ""; }; 32 | 7BE399A5175FBA43004921A1 /* main.m */ = {isa = PBXFileReference; lastKnownFileType = sourcecode.c.objc; path = main.m; sourceTree = ""; }; 33 | 7BE399A7175FBA43004921A1 /* ACEExpandableTextCellDemo-Prefix.pch */ = {isa = PBXFileReference; lastKnownFileType = sourcecode.c.h; path = "ACEExpandableTextCellDemo-Prefix.pch"; sourceTree = ""; }; 34 | 7BE399A8175FBA43004921A1 /* ACEAppDelegate.h */ = {isa = PBXFileReference; lastKnownFileType = sourcecode.c.h; path = ACEAppDelegate.h; sourceTree = ""; }; 35 | 7BE399A9175FBA43004921A1 /* ACEAppDelegate.m */ = {isa = PBXFileReference; lastKnownFileType = sourcecode.c.objc; path = ACEAppDelegate.m; sourceTree = ""; }; 36 | 7BE399AB175FBA43004921A1 /* Default.png */ = {isa = PBXFileReference; lastKnownFileType = image.png; path = Default.png; sourceTree = ""; }; 37 | 7BE399AD175FBA43004921A1 /* Default@2x.png */ = {isa = PBXFileReference; lastKnownFileType = image.png; path = "Default@2x.png"; sourceTree = ""; }; 38 | 7BE399AF175FBA43004921A1 /* Default-568h@2x.png */ = {isa = PBXFileReference; lastKnownFileType = image.png; path = "Default-568h@2x.png"; sourceTree = ""; }; 39 | 7BE399B1175FBA43004921A1 /* ACEViewController.h */ = {isa = PBXFileReference; lastKnownFileType = sourcecode.c.h; path = ACEViewController.h; sourceTree = ""; }; 40 | 7BE399B2175FBA43004921A1 /* ACEViewController.m */ = {isa = PBXFileReference; lastKnownFileType = sourcecode.c.objc; path = ACEViewController.m; sourceTree = ""; }; 41 | A5ED18188B814FA8B6278517 /* Pods-ACEExpandableTextCellDemo.debug.xcconfig */ = {isa = PBXFileReference; includeInIndex = 1; lastKnownFileType = text.xcconfig; name = "Pods-ACEExpandableTextCellDemo.debug.xcconfig"; path = "Pods/Target Support Files/Pods-ACEExpandableTextCellDemo/Pods-ACEExpandableTextCellDemo.debug.xcconfig"; sourceTree = ""; }; 42 | /* End PBXFileReference section */ 43 | 44 | /* Begin PBXFrameworksBuildPhase section */ 45 | 7BE39993175FBA43004921A1 /* Frameworks */ = { 46 | isa = PBXFrameworksBuildPhase; 47 | buildActionMask = 2147483647; 48 | files = ( 49 | 7BE3999A175FBA43004921A1 /* UIKit.framework in Frameworks */, 50 | 7BE3999C175FBA43004921A1 /* Foundation.framework in Frameworks */, 51 | 7BE3999E175FBA43004921A1 /* CoreGraphics.framework in Frameworks */, 52 | 7BEAF0EF2362E989B3CE43F3 /* libPods-ACEExpandableTextCellDemo.a in Frameworks */, 53 | ); 54 | runOnlyForDeploymentPostprocessing = 0; 55 | }; 56 | /* End PBXFrameworksBuildPhase section */ 57 | 58 | /* Begin PBXGroup section */ 59 | 7BE3998D175FBA43004921A1 = { 60 | isa = PBXGroup; 61 | children = ( 62 | 7BE3999F175FBA43004921A1 /* ACEExpandableTextCellDemo */, 63 | 7BE39998175FBA43004921A1 /* Frameworks */, 64 | 7BE39997175FBA43004921A1 /* Products */, 65 | C717DEB1F881FE96B2A03236 /* Pods */, 66 | ); 67 | sourceTree = ""; 68 | }; 69 | 7BE39997175FBA43004921A1 /* Products */ = { 70 | isa = PBXGroup; 71 | children = ( 72 | 7BE39996175FBA43004921A1 /* ACEExpandableTextCellDemo.app */, 73 | ); 74 | name = Products; 75 | sourceTree = ""; 76 | }; 77 | 7BE39998175FBA43004921A1 /* Frameworks */ = { 78 | isa = PBXGroup; 79 | children = ( 80 | 7BE39999175FBA43004921A1 /* UIKit.framework */, 81 | 7BE3999B175FBA43004921A1 /* Foundation.framework */, 82 | 7BE3999D175FBA43004921A1 /* CoreGraphics.framework */, 83 | 4A61EF9A6B9E58B5A1275504 /* libPods-ACEExpandableTextCellDemo.a */, 84 | ); 85 | name = Frameworks; 86 | sourceTree = ""; 87 | }; 88 | 7BE3999F175FBA43004921A1 /* ACEExpandableTextCellDemo */ = { 89 | isa = PBXGroup; 90 | children = ( 91 | 7BE399A8175FBA43004921A1 /* ACEAppDelegate.h */, 92 | 7BE399A9175FBA43004921A1 /* ACEAppDelegate.m */, 93 | 7BE399B1175FBA43004921A1 /* ACEViewController.h */, 94 | 7BE399B2175FBA43004921A1 /* ACEViewController.m */, 95 | 7BE399A0175FBA43004921A1 /* Supporting Files */, 96 | ); 97 | path = ACEExpandableTextCellDemo; 98 | sourceTree = ""; 99 | }; 100 | 7BE399A0175FBA43004921A1 /* Supporting Files */ = { 101 | isa = PBXGroup; 102 | children = ( 103 | 7BE399A1175FBA43004921A1 /* ACEExpandableTextCellDemo-Info.plist */, 104 | 7BE399A2175FBA43004921A1 /* InfoPlist.strings */, 105 | 7BE399A5175FBA43004921A1 /* main.m */, 106 | 7BE399A7175FBA43004921A1 /* ACEExpandableTextCellDemo-Prefix.pch */, 107 | 7BE399AB175FBA43004921A1 /* Default.png */, 108 | 7BE399AD175FBA43004921A1 /* Default@2x.png */, 109 | 7BE399AF175FBA43004921A1 /* Default-568h@2x.png */, 110 | ); 111 | name = "Supporting Files"; 112 | sourceTree = ""; 113 | }; 114 | C717DEB1F881FE96B2A03236 /* Pods */ = { 115 | isa = PBXGroup; 116 | children = ( 117 | A5ED18188B814FA8B6278517 /* Pods-ACEExpandableTextCellDemo.debug.xcconfig */, 118 | 13BBBC5417DCB99A11623497 /* Pods-ACEExpandableTextCellDemo.release.xcconfig */, 119 | ); 120 | name = Pods; 121 | sourceTree = ""; 122 | }; 123 | /* End PBXGroup section */ 124 | 125 | /* Begin PBXNativeTarget section */ 126 | 7BE39995175FBA43004921A1 /* ACEExpandableTextCellDemo */ = { 127 | isa = PBXNativeTarget; 128 | buildConfigurationList = 7BE399B9175FBA43004921A1 /* Build configuration list for PBXNativeTarget "ACEExpandableTextCellDemo" */; 129 | buildPhases = ( 130 | EC1ECD5953C9C42B2C47AE61 /* [CP] Check Pods Manifest.lock */, 131 | 7BE39992175FBA43004921A1 /* Sources */, 132 | 7BE39993175FBA43004921A1 /* Frameworks */, 133 | 7BE39994175FBA43004921A1 /* Resources */, 134 | A09EF7E8348D39C8153137E9 /* [CP] Embed Pods Frameworks */, 135 | BB0B8D130E8B9209B8776D65 /* [CP] Copy Pods Resources */, 136 | ); 137 | buildRules = ( 138 | ); 139 | dependencies = ( 140 | ); 141 | name = ACEExpandableTextCellDemo; 142 | productName = ACEExpandableTextCellDemo; 143 | productReference = 7BE39996175FBA43004921A1 /* ACEExpandableTextCellDemo.app */; 144 | productType = "com.apple.product-type.application"; 145 | }; 146 | /* End PBXNativeTarget section */ 147 | 148 | /* Begin PBXProject section */ 149 | 7BE3998E175FBA43004921A1 /* Project object */ = { 150 | isa = PBXProject; 151 | attributes = { 152 | CLASSPREFIX = ACE; 153 | LastUpgradeCheck = 0800; 154 | ORGANIZATIONNAME = "Stefano Acerbetti"; 155 | }; 156 | buildConfigurationList = 7BE39991175FBA43004921A1 /* Build configuration list for PBXProject "ACEExpandableTextCellDemo" */; 157 | compatibilityVersion = "Xcode 3.2"; 158 | developmentRegion = English; 159 | hasScannedForEncodings = 0; 160 | knownRegions = ( 161 | en, 162 | ); 163 | mainGroup = 7BE3998D175FBA43004921A1; 164 | productRefGroup = 7BE39997175FBA43004921A1 /* Products */; 165 | projectDirPath = ""; 166 | projectRoot = ""; 167 | targets = ( 168 | 7BE39995175FBA43004921A1 /* ACEExpandableTextCellDemo */, 169 | ); 170 | }; 171 | /* End PBXProject section */ 172 | 173 | /* Begin PBXResourcesBuildPhase section */ 174 | 7BE39994175FBA43004921A1 /* Resources */ = { 175 | isa = PBXResourcesBuildPhase; 176 | buildActionMask = 2147483647; 177 | files = ( 178 | 7BE399A4175FBA43004921A1 /* InfoPlist.strings in Resources */, 179 | 7BE399AC175FBA43004921A1 /* Default.png in Resources */, 180 | 7BE399AE175FBA43004921A1 /* Default@2x.png in Resources */, 181 | 7BE399B0175FBA43004921A1 /* Default-568h@2x.png in Resources */, 182 | ); 183 | runOnlyForDeploymentPostprocessing = 0; 184 | }; 185 | /* End PBXResourcesBuildPhase section */ 186 | 187 | /* Begin PBXShellScriptBuildPhase section */ 188 | A09EF7E8348D39C8153137E9 /* [CP] Embed Pods Frameworks */ = { 189 | isa = PBXShellScriptBuildPhase; 190 | buildActionMask = 2147483647; 191 | files = ( 192 | ); 193 | inputPaths = ( 194 | ); 195 | name = "[CP] Embed Pods Frameworks"; 196 | outputPaths = ( 197 | ); 198 | runOnlyForDeploymentPostprocessing = 0; 199 | shellPath = /bin/sh; 200 | shellScript = "\"${SRCROOT}/Pods/Target Support Files/Pods-ACEExpandableTextCellDemo/Pods-ACEExpandableTextCellDemo-frameworks.sh\"\n"; 201 | showEnvVarsInLog = 0; 202 | }; 203 | BB0B8D130E8B9209B8776D65 /* [CP] Copy Pods Resources */ = { 204 | isa = PBXShellScriptBuildPhase; 205 | buildActionMask = 2147483647; 206 | files = ( 207 | ); 208 | inputPaths = ( 209 | ); 210 | name = "[CP] Copy Pods Resources"; 211 | outputPaths = ( 212 | ); 213 | runOnlyForDeploymentPostprocessing = 0; 214 | shellPath = /bin/sh; 215 | shellScript = "\"${SRCROOT}/Pods/Target Support Files/Pods-ACEExpandableTextCellDemo/Pods-ACEExpandableTextCellDemo-resources.sh\"\n"; 216 | showEnvVarsInLog = 0; 217 | }; 218 | EC1ECD5953C9C42B2C47AE61 /* [CP] Check Pods Manifest.lock */ = { 219 | isa = PBXShellScriptBuildPhase; 220 | buildActionMask = 2147483647; 221 | files = ( 222 | ); 223 | inputPaths = ( 224 | ); 225 | name = "[CP] Check Pods Manifest.lock"; 226 | outputPaths = ( 227 | ); 228 | runOnlyForDeploymentPostprocessing = 0; 229 | shellPath = /bin/sh; 230 | shellScript = "diff \"${PODS_ROOT}/../Podfile.lock\" \"${PODS_ROOT}/Manifest.lock\" > /dev/null\nif [ $? != 0 ] ; then\n # print error to STDERR\n echo \"error: The sandbox is not in sync with the Podfile.lock. Run 'pod install' or update your CocoaPods installation.\" >&2\n exit 1\nfi\n"; 231 | showEnvVarsInLog = 0; 232 | }; 233 | /* End PBXShellScriptBuildPhase section */ 234 | 235 | /* Begin PBXSourcesBuildPhase section */ 236 | 7BE39992175FBA43004921A1 /* Sources */ = { 237 | isa = PBXSourcesBuildPhase; 238 | buildActionMask = 2147483647; 239 | files = ( 240 | 7BE399A6175FBA43004921A1 /* main.m in Sources */, 241 | 7BE399AA175FBA43004921A1 /* ACEAppDelegate.m in Sources */, 242 | 7BE399B3175FBA43004921A1 /* ACEViewController.m in Sources */, 243 | ); 244 | runOnlyForDeploymentPostprocessing = 0; 245 | }; 246 | /* End PBXSourcesBuildPhase section */ 247 | 248 | /* Begin PBXVariantGroup section */ 249 | 7BE399A2175FBA43004921A1 /* InfoPlist.strings */ = { 250 | isa = PBXVariantGroup; 251 | children = ( 252 | 7BE399A3175FBA43004921A1 /* en */, 253 | ); 254 | name = InfoPlist.strings; 255 | sourceTree = ""; 256 | }; 257 | /* End PBXVariantGroup section */ 258 | 259 | /* Begin XCBuildConfiguration section */ 260 | 7BE399B7175FBA43004921A1 /* Debug */ = { 261 | isa = XCBuildConfiguration; 262 | buildSettings = { 263 | ALWAYS_SEARCH_USER_PATHS = NO; 264 | CLANG_CXX_LANGUAGE_STANDARD = "gnu++0x"; 265 | CLANG_CXX_LIBRARY = "libc++"; 266 | CLANG_ENABLE_OBJC_ARC = YES; 267 | CLANG_WARN_BOOL_CONVERSION = YES; 268 | CLANG_WARN_CONSTANT_CONVERSION = YES; 269 | CLANG_WARN_EMPTY_BODY = YES; 270 | CLANG_WARN_ENUM_CONVERSION = YES; 271 | CLANG_WARN_INFINITE_RECURSION = YES; 272 | CLANG_WARN_INT_CONVERSION = YES; 273 | CLANG_WARN_SUSPICIOUS_MOVE = YES; 274 | CLANG_WARN_UNREACHABLE_CODE = YES; 275 | CLANG_WARN__DUPLICATE_METHOD_MATCH = YES; 276 | "CODE_SIGN_IDENTITY[sdk=iphoneos*]" = "iPhone Developer"; 277 | COPY_PHASE_STRIP = NO; 278 | ENABLE_STRICT_OBJC_MSGSEND = YES; 279 | ENABLE_TESTABILITY = YES; 280 | GCC_C_LANGUAGE_STANDARD = gnu99; 281 | GCC_DYNAMIC_NO_PIC = NO; 282 | GCC_NO_COMMON_BLOCKS = YES; 283 | GCC_OPTIMIZATION_LEVEL = 0; 284 | GCC_PREPROCESSOR_DEFINITIONS = ( 285 | "DEBUG=1", 286 | "$(inherited)", 287 | ); 288 | GCC_SYMBOLS_PRIVATE_EXTERN = NO; 289 | GCC_WARN_64_TO_32_BIT_CONVERSION = YES; 290 | GCC_WARN_ABOUT_RETURN_TYPE = YES; 291 | GCC_WARN_UNDECLARED_SELECTOR = YES; 292 | GCC_WARN_UNINITIALIZED_AUTOS = YES; 293 | GCC_WARN_UNUSED_FUNCTION = YES; 294 | GCC_WARN_UNUSED_VARIABLE = YES; 295 | IPHONEOS_DEPLOYMENT_TARGET = 8.0; 296 | ONLY_ACTIVE_ARCH = YES; 297 | SDKROOT = iphoneos; 298 | }; 299 | name = Debug; 300 | }; 301 | 7BE399B8175FBA43004921A1 /* Release */ = { 302 | isa = XCBuildConfiguration; 303 | buildSettings = { 304 | ALWAYS_SEARCH_USER_PATHS = NO; 305 | CLANG_CXX_LANGUAGE_STANDARD = "gnu++0x"; 306 | CLANG_CXX_LIBRARY = "libc++"; 307 | CLANG_ENABLE_OBJC_ARC = YES; 308 | CLANG_WARN_BOOL_CONVERSION = YES; 309 | CLANG_WARN_CONSTANT_CONVERSION = YES; 310 | CLANG_WARN_EMPTY_BODY = YES; 311 | CLANG_WARN_ENUM_CONVERSION = YES; 312 | CLANG_WARN_INFINITE_RECURSION = YES; 313 | CLANG_WARN_INT_CONVERSION = YES; 314 | CLANG_WARN_SUSPICIOUS_MOVE = YES; 315 | CLANG_WARN_UNREACHABLE_CODE = YES; 316 | CLANG_WARN__DUPLICATE_METHOD_MATCH = YES; 317 | "CODE_SIGN_IDENTITY[sdk=iphoneos*]" = "iPhone Developer"; 318 | COPY_PHASE_STRIP = YES; 319 | ENABLE_STRICT_OBJC_MSGSEND = YES; 320 | GCC_C_LANGUAGE_STANDARD = gnu99; 321 | GCC_NO_COMMON_BLOCKS = YES; 322 | GCC_WARN_64_TO_32_BIT_CONVERSION = YES; 323 | GCC_WARN_ABOUT_RETURN_TYPE = YES; 324 | GCC_WARN_UNDECLARED_SELECTOR = YES; 325 | GCC_WARN_UNINITIALIZED_AUTOS = YES; 326 | GCC_WARN_UNUSED_FUNCTION = YES; 327 | GCC_WARN_UNUSED_VARIABLE = YES; 328 | IPHONEOS_DEPLOYMENT_TARGET = 8.0; 329 | OTHER_CFLAGS = "-DNS_BLOCK_ASSERTIONS=1"; 330 | SDKROOT = iphoneos; 331 | VALIDATE_PRODUCT = YES; 332 | }; 333 | name = Release; 334 | }; 335 | 7BE399BA175FBA43004921A1 /* Debug */ = { 336 | isa = XCBuildConfiguration; 337 | baseConfigurationReference = A5ED18188B814FA8B6278517 /* Pods-ACEExpandableTextCellDemo.debug.xcconfig */; 338 | buildSettings = { 339 | GCC_PRECOMPILE_PREFIX_HEADER = YES; 340 | GCC_PREFIX_HEADER = "ACEExpandableTextCellDemo/ACEExpandableTextCellDemo-Prefix.pch"; 341 | INFOPLIST_FILE = "ACEExpandableTextCellDemo/ACEExpandableTextCellDemo-Info.plist"; 342 | PRODUCT_BUNDLE_IDENTIFIER = "com.acedev.${PRODUCT_NAME:rfc1034identifier}"; 343 | PRODUCT_NAME = "$(TARGET_NAME)"; 344 | WRAPPER_EXTENSION = app; 345 | }; 346 | name = Debug; 347 | }; 348 | 7BE399BB175FBA43004921A1 /* Release */ = { 349 | isa = XCBuildConfiguration; 350 | baseConfigurationReference = 13BBBC5417DCB99A11623497 /* Pods-ACEExpandableTextCellDemo.release.xcconfig */; 351 | buildSettings = { 352 | GCC_PRECOMPILE_PREFIX_HEADER = YES; 353 | GCC_PREFIX_HEADER = "ACEExpandableTextCellDemo/ACEExpandableTextCellDemo-Prefix.pch"; 354 | INFOPLIST_FILE = "ACEExpandableTextCellDemo/ACEExpandableTextCellDemo-Info.plist"; 355 | PRODUCT_BUNDLE_IDENTIFIER = "com.acedev.${PRODUCT_NAME:rfc1034identifier}"; 356 | PRODUCT_NAME = "$(TARGET_NAME)"; 357 | WRAPPER_EXTENSION = app; 358 | }; 359 | name = Release; 360 | }; 361 | /* End XCBuildConfiguration section */ 362 | 363 | /* Begin XCConfigurationList section */ 364 | 7BE39991175FBA43004921A1 /* Build configuration list for PBXProject "ACEExpandableTextCellDemo" */ = { 365 | isa = XCConfigurationList; 366 | buildConfigurations = ( 367 | 7BE399B7175FBA43004921A1 /* Debug */, 368 | 7BE399B8175FBA43004921A1 /* Release */, 369 | ); 370 | defaultConfigurationIsVisible = 0; 371 | defaultConfigurationName = Release; 372 | }; 373 | 7BE399B9175FBA43004921A1 /* Build configuration list for PBXNativeTarget "ACEExpandableTextCellDemo" */ = { 374 | isa = XCConfigurationList; 375 | buildConfigurations = ( 376 | 7BE399BA175FBA43004921A1 /* Debug */, 377 | 7BE399BB175FBA43004921A1 /* Release */, 378 | ); 379 | defaultConfigurationIsVisible = 0; 380 | defaultConfigurationName = Release; 381 | }; 382 | /* End XCConfigurationList section */ 383 | }; 384 | rootObject = 7BE3998E175FBA43004921A1 /* Project object */; 385 | } 386 | -------------------------------------------------------------------------------- /ACEExpandableTextCellDemo.xcodeproj/xcshareddata/xcschemes/ACEExpandableTextCellDemo.xcscheme: -------------------------------------------------------------------------------- 1 | 2 | 5 | 8 | 9 | 15 | 21 | 22 | 23 | 24 | 25 | 30 | 31 | 32 | 33 | 39 | 40 | 41 | 42 | 43 | 44 | 54 | 56 | 62 | 63 | 64 | 65 | 66 | 67 | 73 | 75 | 81 | 82 | 83 | 84 | 86 | 87 | 90 | 91 | 92 | -------------------------------------------------------------------------------- /ACEExpandableTextCellDemo.xcworkspace/contents.xcworkspacedata: -------------------------------------------------------------------------------- 1 | 2 | 4 | 6 | 7 | 9 | 10 | 11 | -------------------------------------------------------------------------------- /ACEExpandableTextCellDemo/ACEAppDelegate.h: -------------------------------------------------------------------------------- 1 | // 2 | // ACEAppDelegate.h 3 | // ACEExpandableTextCellDemo 4 | // 5 | // Created by Stefano Acerbetti on 6/5/13. 6 | // Copyright (c) 2013 Stefano Acerbetti. All rights reserved. 7 | // 8 | 9 | #import 10 | 11 | @class ACEViewController; 12 | 13 | @interface ACEAppDelegate : UIResponder 14 | 15 | @property (strong, nonatomic) UIWindow *window; 16 | 17 | @property (strong, nonatomic) ACEViewController *viewController; 18 | 19 | @end 20 | -------------------------------------------------------------------------------- /ACEExpandableTextCellDemo/ACEAppDelegate.m: -------------------------------------------------------------------------------- 1 | // 2 | // ACEAppDelegate.m 3 | // ACEExpandableTextCellDemo 4 | // 5 | // Created by Stefano Acerbetti on 6/5/13. 6 | // Copyright (c) 2013 Stefano Acerbetti. All rights reserved. 7 | // 8 | 9 | #import "ACEAppDelegate.h" 10 | 11 | #import "ACEViewController.h" 12 | 13 | @implementation ACEAppDelegate 14 | 15 | - (BOOL)application:(UIApplication *)application didFinishLaunchingWithOptions:(NSDictionary *)launchOptions 16 | { 17 | self.window = [[UIWindow alloc] initWithFrame:[[UIScreen mainScreen] bounds]]; 18 | // Override point for customization after application launch. 19 | self.viewController = [[ACEViewController alloc] initWithStyle:UITableViewStyleGrouped]; 20 | self.window.rootViewController = self.viewController; 21 | [self.window makeKeyAndVisible]; 22 | return YES; 23 | } 24 | 25 | - (void)applicationWillResignActive:(UIApplication *)application 26 | { 27 | // Sent when the application is about to move from active to inactive state. This can occur for certain types of temporary interruptions (such as an incoming phone call or SMS message) or when the user quits the application and it begins the transition to the background state. 28 | // Use this method to pause ongoing tasks, disable timers, and throttle down OpenGL ES frame rates. Games should use this method to pause the game. 29 | } 30 | 31 | - (void)applicationDidEnterBackground:(UIApplication *)application 32 | { 33 | // Use this method to release shared resources, save user data, invalidate timers, and store enough application state information to restore your application to its current state in case it is terminated later. 34 | // If your application supports background execution, this method is called instead of applicationWillTerminate: when the user quits. 35 | } 36 | 37 | - (void)applicationWillEnterForeground:(UIApplication *)application 38 | { 39 | // Called as part of the transition from the background to the inactive state; here you can undo many of the changes made on entering the background. 40 | } 41 | 42 | - (void)applicationDidBecomeActive:(UIApplication *)application 43 | { 44 | // Restart any tasks that were paused (or not yet started) while the application was inactive. If the application was previously in the background, optionally refresh the user interface. 45 | } 46 | 47 | - (void)applicationWillTerminate:(UIApplication *)application 48 | { 49 | // Called when the application is about to terminate. Save data if appropriate. See also applicationDidEnterBackground:. 50 | } 51 | 52 | @end 53 | -------------------------------------------------------------------------------- /ACEExpandableTextCellDemo/ACEExpandableTextCellDemo-Info.plist: -------------------------------------------------------------------------------- 1 | 2 | 3 | 4 | 5 | CFBundleDevelopmentRegion 6 | en 7 | CFBundleDisplayName 8 | ${PRODUCT_NAME} 9 | CFBundleExecutable 10 | ${EXECUTABLE_NAME} 11 | CFBundleIdentifier 12 | $(PRODUCT_BUNDLE_IDENTIFIER) 13 | CFBundleInfoDictionaryVersion 14 | 6.0 15 | CFBundleName 16 | ${PRODUCT_NAME} 17 | CFBundlePackageType 18 | APPL 19 | CFBundleShortVersionString 20 | 1.0 21 | CFBundleSignature 22 | ???? 23 | CFBundleVersion 24 | 1.0 25 | LSRequiresIPhoneOS 26 | 27 | UIRequiredDeviceCapabilities 28 | 29 | armv7 30 | 31 | UISupportedInterfaceOrientations 32 | 33 | UIInterfaceOrientationPortrait 34 | UIInterfaceOrientationLandscapeLeft 35 | UIInterfaceOrientationLandscapeRight 36 | 37 | 38 | 39 | -------------------------------------------------------------------------------- /ACEExpandableTextCellDemo/ACEExpandableTextCellDemo-Prefix.pch: -------------------------------------------------------------------------------- 1 | // 2 | // Prefix header for all source files of the 'ACEExpandableTextCellDemo' target in the 'ACEExpandableTextCellDemo' project 3 | // 4 | 5 | #import 6 | 7 | #ifndef __IPHONE_4_0 8 | #warning "This project uses features only available in iOS SDK 4.0 and later." 9 | #endif 10 | 11 | #ifdef __OBJC__ 12 | #import 13 | #import 14 | #endif 15 | -------------------------------------------------------------------------------- /ACEExpandableTextCellDemo/ACEViewController.h: -------------------------------------------------------------------------------- 1 | // 2 | // ACEViewController.h 3 | // ACEExpandableTextCellDemo 4 | // 5 | // Created by Stefano Acerbetti on 6/5/13. 6 | // Copyright (c) 2013 Stefano Acerbetti. All rights reserved. 7 | // 8 | 9 | #import 10 | 11 | @interface ACEViewController : UITableViewController 12 | 13 | @end 14 | -------------------------------------------------------------------------------- /ACEExpandableTextCellDemo/ACEViewController.m: -------------------------------------------------------------------------------- 1 | // 2 | // ACEViewController.m 3 | // ACEExpandableTextCellDemo 4 | // 5 | // Created by Stefano Acerbetti on 6/5/13. 6 | // Copyright (c) 2013 Stefano Acerbetti. All rights reserved. 7 | // 8 | 9 | #import "ACEViewController.h" 10 | #import "ACEExpandableTextCell.h" 11 | 12 | @interface ACEViewController () { 13 | CGFloat _cellHeight[2]; 14 | } 15 | 16 | @property (nonatomic, strong) NSMutableArray *cellData; 17 | 18 | @end 19 | 20 | @implementation ACEViewController 21 | 22 | - (void)viewDidLoad 23 | { 24 | [super viewDidLoad]; 25 | self.cellData = [NSMutableArray arrayWithArray:@[ @"Existing text", @""]]; 26 | } 27 | 28 | #pragma mark - Table View Data Source 29 | 30 | - (NSInteger)numberOfSectionsInTableView:(UITableView *)tableView 31 | { 32 | return 2; 33 | } 34 | 35 | - (NSInteger)tableView:(UITableView *)tableView numberOfRowsInSection:(NSInteger)section 36 | { 37 | return 1; 38 | } 39 | 40 | - (UITableViewCell *)tableView:(UITableView *)tableView cellForRowAtIndexPath:(NSIndexPath *)indexPath 41 | { 42 | ACEExpandableTextCell *cell = [tableView expandableTextCellWithId:@"cellId"]; 43 | cell.text = [self.cellData objectAtIndex:indexPath.section]; 44 | cell.textView.placeholder = @"Placeholder"; 45 | return cell; 46 | } 47 | 48 | 49 | #pragma mark - Table View Delegate 50 | 51 | - (CGFloat)tableView:(UITableView *)tableView heightForRowAtIndexPath:(NSIndexPath *)indexPath 52 | { 53 | return MAX(50.0, _cellHeight[indexPath.section]); 54 | } 55 | 56 | - (void)tableView:(UITableView *)tableView updatedHeight:(CGFloat)height atIndexPath:(NSIndexPath *)indexPath 57 | { 58 | _cellHeight[indexPath.section] = height; 59 | } 60 | 61 | - (void)tableView:(UITableView *)tableView updatedText:(NSString *)text atIndexPath:(NSIndexPath *)indexPath 62 | { 63 | [_cellData replaceObjectAtIndex:indexPath.section withObject:text]; 64 | } 65 | 66 | @end 67 | -------------------------------------------------------------------------------- /ACEExpandableTextCellDemo/Default-568h@2x.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/acerbetti/ACEExpandableTextCell/9ec4762bc2e4e457b68980ec7f273c3fd36df6f8/ACEExpandableTextCellDemo/Default-568h@2x.png -------------------------------------------------------------------------------- /ACEExpandableTextCellDemo/Default.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/acerbetti/ACEExpandableTextCell/9ec4762bc2e4e457b68980ec7f273c3fd36df6f8/ACEExpandableTextCellDemo/Default.png -------------------------------------------------------------------------------- /ACEExpandableTextCellDemo/Default@2x.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/acerbetti/ACEExpandableTextCell/9ec4762bc2e4e457b68980ec7f273c3fd36df6f8/ACEExpandableTextCellDemo/Default@2x.png -------------------------------------------------------------------------------- /ACEExpandableTextCellDemo/en.lproj/InfoPlist.strings: -------------------------------------------------------------------------------- 1 | /* Localized versions of Info.plist keys */ 2 | 3 | -------------------------------------------------------------------------------- /ACEExpandableTextCellDemo/main.m: -------------------------------------------------------------------------------- 1 | // 2 | // main.m 3 | // ACEExpandableTextCellDemo 4 | // 5 | // Created by Stefano Acerbetti on 6/5/13. 6 | // Copyright (c) 2013 Stefano Acerbetti. All rights reserved. 7 | // 8 | 9 | #import 10 | 11 | #import "ACEAppDelegate.h" 12 | 13 | int main(int argc, char *argv[]) 14 | { 15 | @autoreleasepool { 16 | return UIApplicationMain(argc, argv, nil, NSStringFromClass([ACEAppDelegate class])); 17 | } 18 | } 19 | -------------------------------------------------------------------------------- /LICENSE: -------------------------------------------------------------------------------- 1 | The MIT License (MIT) 2 | 3 | Copyright (c) 2014 Stefano Acerbetti 4 | 5 | Permission is hereby granted, free of charge, to any person obtaining a copy 6 | of this software and associated documentation files (the "Software"), to deal 7 | in the Software without restriction, including without limitation the rights 8 | to use, copy, modify, merge, publish, distribute, sublicense, and/or sell 9 | copies of the Software, and to permit persons to whom the Software is 10 | furnished to do so, subject to the following conditions: 11 | 12 | The above copyright notice and this permission notice shall be included in all 13 | copies or substantial portions of the Software. 14 | 15 | THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND, EXPRESS OR 16 | IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF MERCHANTABILITY, 17 | FITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT. IN NO EVENT SHALL THE 18 | AUTHORS OR COPYRIGHT HOLDERS BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER 19 | LIABILITY, WHETHER IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING FROM, 20 | OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN THE 21 | SOFTWARE. -------------------------------------------------------------------------------- /Podfile: -------------------------------------------------------------------------------- 1 | # Uncomment the next line to define a global platform for your project 2 | platform :ios, '7.0' 3 | 4 | target 'ACEExpandableTextCellDemo' do 5 | pod 'ACEExpandableTextCell', :path => './' 6 | end 7 | -------------------------------------------------------------------------------- /Podfile.lock: -------------------------------------------------------------------------------- 1 | PODS: 2 | - ACEExpandableTextCell (1.0.4): 3 | - SZTextView 4 | - SZTextView (1.2.2) 5 | 6 | DEPENDENCIES: 7 | - ACEExpandableTextCell (from `./`) 8 | 9 | EXTERNAL SOURCES: 10 | ACEExpandableTextCell: 11 | :path: "./" 12 | 13 | SPEC CHECKSUMS: 14 | ACEExpandableTextCell: 02c1fdb5a57344f543c9536c8c985ffcca1ed8b2 15 | SZTextView: 3a81174dce0710a9ab069bc73a813e6df53b9c82 16 | 17 | PODFILE CHECKSUM: 6ec900444ca736f5daf558248aeb1c340ae7eaaa 18 | 19 | COCOAPODS: 1.1.0.rc.2 20 | -------------------------------------------------------------------------------- /Pods/Headers/Private/ACEExpandableTextCell/ACEExpandableTextCell.h: -------------------------------------------------------------------------------- 1 | ../../../../ACEExpandableTextCell/ACEExpandableTextCell.h -------------------------------------------------------------------------------- /Pods/Headers/Private/SZTextView/SZTextView.h: -------------------------------------------------------------------------------- 1 | ../../../SZTextView/Classes/SZTextView.h -------------------------------------------------------------------------------- /Pods/Headers/Public/ACEExpandableTextCell/ACEExpandableTextCell.h: -------------------------------------------------------------------------------- 1 | ../../../../ACEExpandableTextCell/ACEExpandableTextCell.h -------------------------------------------------------------------------------- /Pods/Headers/Public/SZTextView/SZTextView.h: -------------------------------------------------------------------------------- 1 | ../../../SZTextView/Classes/SZTextView.h -------------------------------------------------------------------------------- /Pods/Local Podspecs/ACEExpandableTextCell.podspec.json: -------------------------------------------------------------------------------- 1 | { 2 | "name": "ACEExpandableTextCell", 3 | "version": "1.0.4", 4 | "homepage": "https://github.com/acerbetti/ACEExpandableTextCell", 5 | "authors": { 6 | "Stefano Acerbetti": "acerbetti@gmail.com" 7 | }, 8 | "license": { 9 | "type": "MIT", 10 | "file": "LICENSE" 11 | }, 12 | "summary": "Is the simplest way to insert a UITextView inside an expandable UITableViewCell.", 13 | "source": { 14 | "git": "https://github.com/acerbetti/ACEExpandableTextCell.git", 15 | "tag": "v1.0.4" 16 | }, 17 | "source_files": "ACEExpandableTextCell/*.{h,m}", 18 | "dependencies": { 19 | "SZTextView": [ 20 | 21 | ] 22 | }, 23 | "requires_arc": true, 24 | "platforms": { 25 | "ios": "5.0" 26 | } 27 | } 28 | -------------------------------------------------------------------------------- /Pods/Manifest.lock: -------------------------------------------------------------------------------- 1 | PODS: 2 | - ACEExpandableTextCell (1.0.4): 3 | - SZTextView 4 | - SZTextView (1.2.2) 5 | 6 | DEPENDENCIES: 7 | - ACEExpandableTextCell (from `./`) 8 | 9 | EXTERNAL SOURCES: 10 | ACEExpandableTextCell: 11 | :path: "./" 12 | 13 | SPEC CHECKSUMS: 14 | ACEExpandableTextCell: 02c1fdb5a57344f543c9536c8c985ffcca1ed8b2 15 | SZTextView: 3a81174dce0710a9ab069bc73a813e6df53b9c82 16 | 17 | PODFILE CHECKSUM: 6ec900444ca736f5daf558248aeb1c340ae7eaaa 18 | 19 | COCOAPODS: 1.1.0.rc.2 20 | -------------------------------------------------------------------------------- /Pods/Pods.xcodeproj/project.pbxproj: -------------------------------------------------------------------------------- 1 | // !$*UTF8*$! 2 | { 3 | archiveVersion = 1; 4 | classes = { 5 | }; 6 | objectVersion = 46; 7 | objects = { 8 | 9 | /* Begin PBXBuildFile section */ 10 | 0E0A34CEF089C2FC29C8BD86192DAE73 /* ACEExpandableTextCell-dummy.m in Sources */ = {isa = PBXBuildFile; fileRef = 71D536EA1B3622DE7D9E0C7A1B9FEB2C /* ACEExpandableTextCell-dummy.m */; }; 11 | 302F7F908FBF3BDEC5471F5AB35104D7 /* SZTextView-dummy.m in Sources */ = {isa = PBXBuildFile; fileRef = 5673A484A4F1C0A8726F5F879F53D16F /* SZTextView-dummy.m */; }; 12 | 3C63C68E9C9C961BA3D4C73E150288D9 /* Foundation.framework in Frameworks */ = {isa = PBXBuildFile; fileRef = CEC22C73C1608DFA5D5D78BDCB218219 /* Foundation.framework */; }; 13 | 4F7869BA954F6E1D8E9342466E8D9A49 /* ACEExpandableTextCell.h in Headers */ = {isa = PBXBuildFile; fileRef = 49B17D98735705117EF68D4905EE81BB /* ACEExpandableTextCell.h */; settings = {ATTRIBUTES = (Public, ); }; }; 14 | 5F0195C8D86B2A3C5B0F24BE250E646B /* SZTextView.m in Sources */ = {isa = PBXBuildFile; fileRef = 6A64EE2E07CB249BD8F9995DDB2FC211 /* SZTextView.m */; settings = {COMPILER_FLAGS = "-DOS_OBJECT_USE_OBJC=0"; }; }; 15 | 70BD386688D3AFD3F0F315039FE3FE33 /* Foundation.framework in Frameworks */ = {isa = PBXBuildFile; fileRef = CEC22C73C1608DFA5D5D78BDCB218219 /* Foundation.framework */; }; 16 | 771A144919BBDEEC0A184A64AA145A9A /* Pods-ACEExpandableTextCellDemo-dummy.m in Sources */ = {isa = PBXBuildFile; fileRef = 1C1118D669B31A64296CC773F4E1EE78 /* Pods-ACEExpandableTextCellDemo-dummy.m */; }; 17 | 92F54974238963F6CC621E5F9066AF1E /* Foundation.framework in Frameworks */ = {isa = PBXBuildFile; fileRef = CEC22C73C1608DFA5D5D78BDCB218219 /* Foundation.framework */; }; 18 | A2FC575CC8C94B40323AA810012774A6 /* SZTextView.h in Headers */ = {isa = PBXBuildFile; fileRef = B71F0603FD82A9C332E94EBFD00C4755 /* SZTextView.h */; settings = {ATTRIBUTES = (Public, ); }; }; 19 | FFEC7B87D1C2BFF13CF91A7D064A79DB /* ACEExpandableTextCell.m in Sources */ = {isa = PBXBuildFile; fileRef = 040757257D5C6D25CF988BDB86F61D9E /* ACEExpandableTextCell.m */; settings = {COMPILER_FLAGS = "-DOS_OBJECT_USE_OBJC=0"; }; }; 20 | /* End PBXBuildFile section */ 21 | 22 | /* Begin PBXContainerItemProxy section */ 23 | 17489A7DCA7FC54223A9D68D34BB0142 /* PBXContainerItemProxy */ = { 24 | isa = PBXContainerItemProxy; 25 | containerPortal = D41D8CD98F00B204E9800998ECF8427E /* Project object */; 26 | proxyType = 1; 27 | remoteGlobalIDString = 8966C42FBDF19BF9A30293D6BD0E1739; 28 | remoteInfo = ACEExpandableTextCell; 29 | }; 30 | 4B77508089D3D4045F5C7EA01B142FDA /* PBXContainerItemProxy */ = { 31 | isa = PBXContainerItemProxy; 32 | containerPortal = D41D8CD98F00B204E9800998ECF8427E /* Project object */; 33 | proxyType = 1; 34 | remoteGlobalIDString = 4F15FBF7D83347A28690B72430BEB95B; 35 | remoteInfo = SZTextView; 36 | }; 37 | 668E68AC18D3C278E2BC0D89A1F0C4AB /* PBXContainerItemProxy */ = { 38 | isa = PBXContainerItemProxy; 39 | containerPortal = D41D8CD98F00B204E9800998ECF8427E /* Project object */; 40 | proxyType = 1; 41 | remoteGlobalIDString = 4F15FBF7D83347A28690B72430BEB95B; 42 | remoteInfo = SZTextView; 43 | }; 44 | /* End PBXContainerItemProxy section */ 45 | 46 | /* Begin PBXFileReference section */ 47 | 040757257D5C6D25CF988BDB86F61D9E /* ACEExpandableTextCell.m */ = {isa = PBXFileReference; includeInIndex = 1; lastKnownFileType = sourcecode.c.objc; path = ACEExpandableTextCell.m; sourceTree = ""; }; 48 | 07E52F4FA05DB239A30C1D6D43A1A95C /* SZTextView-prefix.pch */ = {isa = PBXFileReference; includeInIndex = 1; lastKnownFileType = sourcecode.c.h; path = "SZTextView-prefix.pch"; sourceTree = ""; }; 49 | 1C1118D669B31A64296CC773F4E1EE78 /* Pods-ACEExpandableTextCellDemo-dummy.m */ = {isa = PBXFileReference; includeInIndex = 1; lastKnownFileType = sourcecode.c.objc; path = "Pods-ACEExpandableTextCellDemo-dummy.m"; sourceTree = ""; }; 50 | 33716ABF73C870340347CCA844BD3091 /* ACEExpandableTextCell.xcconfig */ = {isa = PBXFileReference; includeInIndex = 1; lastKnownFileType = text.xcconfig; path = ACEExpandableTextCell.xcconfig; sourceTree = ""; }; 51 | 49B17D98735705117EF68D4905EE81BB /* ACEExpandableTextCell.h */ = {isa = PBXFileReference; includeInIndex = 1; lastKnownFileType = sourcecode.c.h; path = ACEExpandableTextCell.h; sourceTree = ""; }; 52 | 5245371B6433C480DA236A74ED99A4A6 /* Pods-ACEExpandableTextCellDemo-resources.sh */ = {isa = PBXFileReference; includeInIndex = 1; lastKnownFileType = text.script.sh; path = "Pods-ACEExpandableTextCellDemo-resources.sh"; sourceTree = ""; }; 53 | 5673A484A4F1C0A8726F5F879F53D16F /* SZTextView-dummy.m */ = {isa = PBXFileReference; includeInIndex = 1; lastKnownFileType = sourcecode.c.objc; path = "SZTextView-dummy.m"; sourceTree = ""; }; 54 | 6A64EE2E07CB249BD8F9995DDB2FC211 /* SZTextView.m */ = {isa = PBXFileReference; includeInIndex = 1; lastKnownFileType = sourcecode.c.objc; name = SZTextView.m; path = Classes/SZTextView.m; sourceTree = ""; }; 55 | 6B5489780A032D7B132D040CBC8E4DE7 /* libACEExpandableTextCell.a */ = {isa = PBXFileReference; explicitFileType = archive.ar; includeInIndex = 0; path = libACEExpandableTextCell.a; sourceTree = BUILT_PRODUCTS_DIR; }; 56 | 71D536EA1B3622DE7D9E0C7A1B9FEB2C /* ACEExpandableTextCell-dummy.m */ = {isa = PBXFileReference; includeInIndex = 1; lastKnownFileType = sourcecode.c.objc; path = "ACEExpandableTextCell-dummy.m"; sourceTree = ""; }; 57 | 7783E7C68950ABDD89554718F4E87D1A /* Pods-ACEExpandableTextCellDemo-acknowledgements.markdown */ = {isa = PBXFileReference; includeInIndex = 1; lastKnownFileType = text; path = "Pods-ACEExpandableTextCellDemo-acknowledgements.markdown"; sourceTree = ""; }; 58 | 8BF92C6366D659CFE38B1401C557F283 /* ACEExpandableTextCell-prefix.pch */ = {isa = PBXFileReference; includeInIndex = 1; lastKnownFileType = sourcecode.c.h; path = "ACEExpandableTextCell-prefix.pch"; sourceTree = ""; }; 59 | 8EFCC38B3A8C4179A57E111896FC5343 /* SZTextView.xcconfig */ = {isa = PBXFileReference; includeInIndex = 1; lastKnownFileType = text.xcconfig; path = SZTextView.xcconfig; sourceTree = ""; }; 60 | 93A4A3777CF96A4AAC1D13BA6DCCEA73 /* Podfile */ = {isa = PBXFileReference; explicitFileType = text.script.ruby; includeInIndex = 1; name = Podfile; path = ../Podfile; sourceTree = SOURCE_ROOT; xcLanguageSpecificationIdentifier = xcode.lang.ruby; }; 61 | ACF28DB2228BA42FC30E61296199D278 /* libPods-ACEExpandableTextCellDemo.a */ = {isa = PBXFileReference; explicitFileType = archive.ar; includeInIndex = 0; path = "libPods-ACEExpandableTextCellDemo.a"; sourceTree = BUILT_PRODUCTS_DIR; }; 62 | B71F0603FD82A9C332E94EBFD00C4755 /* SZTextView.h */ = {isa = PBXFileReference; includeInIndex = 1; lastKnownFileType = sourcecode.c.h; name = SZTextView.h; path = Classes/SZTextView.h; sourceTree = ""; }; 63 | B97520434DEA04BFBE668753BF6C7A1D /* Pods-ACEExpandableTextCellDemo.debug.xcconfig */ = {isa = PBXFileReference; includeInIndex = 1; lastKnownFileType = text.xcconfig; path = "Pods-ACEExpandableTextCellDemo.debug.xcconfig"; sourceTree = ""; }; 64 | C070CF394AA6B1514DD02C3C2F29B0CF /* Pods-ACEExpandableTextCellDemo.release.xcconfig */ = {isa = PBXFileReference; includeInIndex = 1; lastKnownFileType = text.xcconfig; path = "Pods-ACEExpandableTextCellDemo.release.xcconfig"; sourceTree = ""; }; 65 | C27398D396D06E5A50F4DCEE06D37113 /* Pods-ACEExpandableTextCellDemo-frameworks.sh */ = {isa = PBXFileReference; includeInIndex = 1; lastKnownFileType = text.script.sh; path = "Pods-ACEExpandableTextCellDemo-frameworks.sh"; sourceTree = ""; }; 66 | C5CD7121EE9F8EB8B927362583DB150B /* Pods-ACEExpandableTextCellDemo-acknowledgements.plist */ = {isa = PBXFileReference; includeInIndex = 1; lastKnownFileType = text.plist.xml; path = "Pods-ACEExpandableTextCellDemo-acknowledgements.plist"; sourceTree = ""; }; 67 | CEC22C73C1608DFA5D5D78BDCB218219 /* Foundation.framework */ = {isa = PBXFileReference; lastKnownFileType = wrapper.framework; name = Foundation.framework; path = Platforms/iPhoneOS.platform/Developer/SDKs/iPhoneOS9.3.sdk/System/Library/Frameworks/Foundation.framework; sourceTree = DEVELOPER_DIR; }; 68 | D2CC8FD924C05238A08EA98B7A94D903 /* libSZTextView.a */ = {isa = PBXFileReference; explicitFileType = archive.ar; includeInIndex = 0; path = libSZTextView.a; sourceTree = BUILT_PRODUCTS_DIR; }; 69 | /* End PBXFileReference section */ 70 | 71 | /* Begin PBXFrameworksBuildPhase section */ 72 | 5D2233320F84BB4CF15B278492B04BFB /* Frameworks */ = { 73 | isa = PBXFrameworksBuildPhase; 74 | buildActionMask = 2147483647; 75 | files = ( 76 | 70BD386688D3AFD3F0F315039FE3FE33 /* Foundation.framework in Frameworks */, 77 | ); 78 | runOnlyForDeploymentPostprocessing = 0; 79 | }; 80 | 662A1A3452D871FCD1FD5C3B3941F196 /* Frameworks */ = { 81 | isa = PBXFrameworksBuildPhase; 82 | buildActionMask = 2147483647; 83 | files = ( 84 | 3C63C68E9C9C961BA3D4C73E150288D9 /* Foundation.framework in Frameworks */, 85 | ); 86 | runOnlyForDeploymentPostprocessing = 0; 87 | }; 88 | 9B1F69F28E4A8A061215EB68F21C6573 /* Frameworks */ = { 89 | isa = PBXFrameworksBuildPhase; 90 | buildActionMask = 2147483647; 91 | files = ( 92 | 92F54974238963F6CC621E5F9066AF1E /* Foundation.framework in Frameworks */, 93 | ); 94 | runOnlyForDeploymentPostprocessing = 0; 95 | }; 96 | /* End PBXFrameworksBuildPhase section */ 97 | 98 | /* Begin PBXGroup section */ 99 | 09F031B5E25BC3972D5989E4DFA9EB1C /* Pods-ACEExpandableTextCellDemo */ = { 100 | isa = PBXGroup; 101 | children = ( 102 | 7783E7C68950ABDD89554718F4E87D1A /* Pods-ACEExpandableTextCellDemo-acknowledgements.markdown */, 103 | C5CD7121EE9F8EB8B927362583DB150B /* Pods-ACEExpandableTextCellDemo-acknowledgements.plist */, 104 | 1C1118D669B31A64296CC773F4E1EE78 /* Pods-ACEExpandableTextCellDemo-dummy.m */, 105 | C27398D396D06E5A50F4DCEE06D37113 /* Pods-ACEExpandableTextCellDemo-frameworks.sh */, 106 | 5245371B6433C480DA236A74ED99A4A6 /* Pods-ACEExpandableTextCellDemo-resources.sh */, 107 | B97520434DEA04BFBE668753BF6C7A1D /* Pods-ACEExpandableTextCellDemo.debug.xcconfig */, 108 | C070CF394AA6B1514DD02C3C2F29B0CF /* Pods-ACEExpandableTextCellDemo.release.xcconfig */, 109 | ); 110 | name = "Pods-ACEExpandableTextCellDemo"; 111 | path = "Target Support Files/Pods-ACEExpandableTextCellDemo"; 112 | sourceTree = ""; 113 | }; 114 | 105DA4C901725B6E610F5838CADA3835 /* Support Files */ = { 115 | isa = PBXGroup; 116 | children = ( 117 | 33716ABF73C870340347CCA844BD3091 /* ACEExpandableTextCell.xcconfig */, 118 | 71D536EA1B3622DE7D9E0C7A1B9FEB2C /* ACEExpandableTextCell-dummy.m */, 119 | 8BF92C6366D659CFE38B1401C557F283 /* ACEExpandableTextCell-prefix.pch */, 120 | ); 121 | name = "Support Files"; 122 | path = "Pods/Target Support Files/ACEExpandableTextCell"; 123 | sourceTree = ""; 124 | }; 125 | 10FA22CE66EA8E2398CC78A2D5801EA0 /* Targets Support Files */ = { 126 | isa = PBXGroup; 127 | children = ( 128 | 09F031B5E25BC3972D5989E4DFA9EB1C /* Pods-ACEExpandableTextCellDemo */, 129 | ); 130 | name = "Targets Support Files"; 131 | sourceTree = ""; 132 | }; 133 | 3CE104910BEDDA3FF0F74379C8796BA8 /* ACEExpandableTextCell */ = { 134 | isa = PBXGroup; 135 | children = ( 136 | 49BC5FA0D3E26F86B155AF7B76D2664A /* ACEExpandableTextCell */, 137 | 105DA4C901725B6E610F5838CADA3835 /* Support Files */, 138 | ); 139 | name = ACEExpandableTextCell; 140 | path = ..; 141 | sourceTree = ""; 142 | }; 143 | 3DCAB2B7CDE207B3958B6CB957FCC758 /* iOS */ = { 144 | isa = PBXGroup; 145 | children = ( 146 | CEC22C73C1608DFA5D5D78BDCB218219 /* Foundation.framework */, 147 | ); 148 | name = iOS; 149 | sourceTree = ""; 150 | }; 151 | 43FB0679B91971F566817D46F37BE0CB /* Support Files */ = { 152 | isa = PBXGroup; 153 | children = ( 154 | 8EFCC38B3A8C4179A57E111896FC5343 /* SZTextView.xcconfig */, 155 | 5673A484A4F1C0A8726F5F879F53D16F /* SZTextView-dummy.m */, 156 | 07E52F4FA05DB239A30C1D6D43A1A95C /* SZTextView-prefix.pch */, 157 | ); 158 | name = "Support Files"; 159 | path = "../Target Support Files/SZTextView"; 160 | sourceTree = ""; 161 | }; 162 | 49BC5FA0D3E26F86B155AF7B76D2664A /* ACEExpandableTextCell */ = { 163 | isa = PBXGroup; 164 | children = ( 165 | 49B17D98735705117EF68D4905EE81BB /* ACEExpandableTextCell.h */, 166 | 040757257D5C6D25CF988BDB86F61D9E /* ACEExpandableTextCell.m */, 167 | ); 168 | path = ACEExpandableTextCell; 169 | sourceTree = ""; 170 | }; 171 | 7D46C5FDA211A81E82EE63680C6E72E9 /* Pods */ = { 172 | isa = PBXGroup; 173 | children = ( 174 | 87C001284BE2318941465EBC230A5086 /* SZTextView */, 175 | ); 176 | name = Pods; 177 | sourceTree = ""; 178 | }; 179 | 7DB346D0F39D3F0E887471402A8071AB = { 180 | isa = PBXGroup; 181 | children = ( 182 | 93A4A3777CF96A4AAC1D13BA6DCCEA73 /* Podfile */, 183 | E757E00E0641C5C01A6EF8FCAE7FCA40 /* Development Pods */, 184 | BC3CA7F9E30CC8F7E2DD044DD34432FC /* Frameworks */, 185 | 7D46C5FDA211A81E82EE63680C6E72E9 /* Pods */, 186 | FEE7D97E382A64277029611E623F18CA /* Products */, 187 | 10FA22CE66EA8E2398CC78A2D5801EA0 /* Targets Support Files */, 188 | ); 189 | sourceTree = ""; 190 | }; 191 | 87C001284BE2318941465EBC230A5086 /* SZTextView */ = { 192 | isa = PBXGroup; 193 | children = ( 194 | B71F0603FD82A9C332E94EBFD00C4755 /* SZTextView.h */, 195 | 6A64EE2E07CB249BD8F9995DDB2FC211 /* SZTextView.m */, 196 | 43FB0679B91971F566817D46F37BE0CB /* Support Files */, 197 | ); 198 | path = SZTextView; 199 | sourceTree = ""; 200 | }; 201 | BC3CA7F9E30CC8F7E2DD044DD34432FC /* Frameworks */ = { 202 | isa = PBXGroup; 203 | children = ( 204 | 3DCAB2B7CDE207B3958B6CB957FCC758 /* iOS */, 205 | ); 206 | name = Frameworks; 207 | sourceTree = ""; 208 | }; 209 | E757E00E0641C5C01A6EF8FCAE7FCA40 /* Development Pods */ = { 210 | isa = PBXGroup; 211 | children = ( 212 | 3CE104910BEDDA3FF0F74379C8796BA8 /* ACEExpandableTextCell */, 213 | ); 214 | name = "Development Pods"; 215 | sourceTree = ""; 216 | }; 217 | FEE7D97E382A64277029611E623F18CA /* Products */ = { 218 | isa = PBXGroup; 219 | children = ( 220 | 6B5489780A032D7B132D040CBC8E4DE7 /* libACEExpandableTextCell.a */, 221 | ACF28DB2228BA42FC30E61296199D278 /* libPods-ACEExpandableTextCellDemo.a */, 222 | D2CC8FD924C05238A08EA98B7A94D903 /* libSZTextView.a */, 223 | ); 224 | name = Products; 225 | sourceTree = ""; 226 | }; 227 | /* End PBXGroup section */ 228 | 229 | /* Begin PBXHeadersBuildPhase section */ 230 | 0AC9BA0ACB311BAFFF8C491937AA7C4C /* Headers */ = { 231 | isa = PBXHeadersBuildPhase; 232 | buildActionMask = 2147483647; 233 | files = ( 234 | 4F7869BA954F6E1D8E9342466E8D9A49 /* ACEExpandableTextCell.h in Headers */, 235 | ); 236 | runOnlyForDeploymentPostprocessing = 0; 237 | }; 238 | 1F33086C9B0A142F0DDFE723876D2048 /* Headers */ = { 239 | isa = PBXHeadersBuildPhase; 240 | buildActionMask = 2147483647; 241 | files = ( 242 | A2FC575CC8C94B40323AA810012774A6 /* SZTextView.h in Headers */, 243 | ); 244 | runOnlyForDeploymentPostprocessing = 0; 245 | }; 246 | /* End PBXHeadersBuildPhase section */ 247 | 248 | /* Begin PBXNativeTarget section */ 249 | 39A757413E67F3A681AED4C4ADDF73F6 /* Pods-ACEExpandableTextCellDemo */ = { 250 | isa = PBXNativeTarget; 251 | buildConfigurationList = C9BA3B42B243C172471BDC9B6D0BE7FD /* Build configuration list for PBXNativeTarget "Pods-ACEExpandableTextCellDemo" */; 252 | buildPhases = ( 253 | 578980EA7E3E2DC64C5BCE163ECC1D76 /* Sources */, 254 | 9B1F69F28E4A8A061215EB68F21C6573 /* Frameworks */, 255 | ); 256 | buildRules = ( 257 | ); 258 | dependencies = ( 259 | 996C18F7DF346E738649391EB5D76FB3 /* PBXTargetDependency */, 260 | DD7BED0EE370E2220B8BD92F64A7E729 /* PBXTargetDependency */, 261 | ); 262 | name = "Pods-ACEExpandableTextCellDemo"; 263 | productName = "Pods-ACEExpandableTextCellDemo"; 264 | productReference = ACF28DB2228BA42FC30E61296199D278 /* libPods-ACEExpandableTextCellDemo.a */; 265 | productType = "com.apple.product-type.library.static"; 266 | }; 267 | 4F15FBF7D83347A28690B72430BEB95B /* SZTextView */ = { 268 | isa = PBXNativeTarget; 269 | buildConfigurationList = 0ECE719FA6F46A7095A747E7248837C3 /* Build configuration list for PBXNativeTarget "SZTextView" */; 270 | buildPhases = ( 271 | B6FB49C8ED59036A9BE52FA7873C4A32 /* Sources */, 272 | 5D2233320F84BB4CF15B278492B04BFB /* Frameworks */, 273 | 1F33086C9B0A142F0DDFE723876D2048 /* Headers */, 274 | ); 275 | buildRules = ( 276 | ); 277 | dependencies = ( 278 | ); 279 | name = SZTextView; 280 | productName = SZTextView; 281 | productReference = D2CC8FD924C05238A08EA98B7A94D903 /* libSZTextView.a */; 282 | productType = "com.apple.product-type.library.static"; 283 | }; 284 | 8966C42FBDF19BF9A30293D6BD0E1739 /* ACEExpandableTextCell */ = { 285 | isa = PBXNativeTarget; 286 | buildConfigurationList = E3B36117D721414B79A15F4E44D7C4EC /* Build configuration list for PBXNativeTarget "ACEExpandableTextCell" */; 287 | buildPhases = ( 288 | 922FF7ECE5F3228A3E317DE7947432B4 /* Sources */, 289 | 662A1A3452D871FCD1FD5C3B3941F196 /* Frameworks */, 290 | 0AC9BA0ACB311BAFFF8C491937AA7C4C /* Headers */, 291 | ); 292 | buildRules = ( 293 | ); 294 | dependencies = ( 295 | AB2657D76FEB8089378954E092C44CCD /* PBXTargetDependency */, 296 | ); 297 | name = ACEExpandableTextCell; 298 | productName = ACEExpandableTextCell; 299 | productReference = 6B5489780A032D7B132D040CBC8E4DE7 /* libACEExpandableTextCell.a */; 300 | productType = "com.apple.product-type.library.static"; 301 | }; 302 | /* End PBXNativeTarget section */ 303 | 304 | /* Begin PBXProject section */ 305 | D41D8CD98F00B204E9800998ECF8427E /* Project object */ = { 306 | isa = PBXProject; 307 | attributes = { 308 | LastSwiftUpdateCheck = 0730; 309 | LastUpgradeCheck = 0700; 310 | }; 311 | buildConfigurationList = 2D8E8EC45A3A1A1D94AE762CB5028504 /* Build configuration list for PBXProject "Pods" */; 312 | compatibilityVersion = "Xcode 3.2"; 313 | developmentRegion = English; 314 | hasScannedForEncodings = 0; 315 | knownRegions = ( 316 | en, 317 | ); 318 | mainGroup = 7DB346D0F39D3F0E887471402A8071AB; 319 | productRefGroup = FEE7D97E382A64277029611E623F18CA /* Products */; 320 | projectDirPath = ""; 321 | projectRoot = ""; 322 | targets = ( 323 | 8966C42FBDF19BF9A30293D6BD0E1739 /* ACEExpandableTextCell */, 324 | 39A757413E67F3A681AED4C4ADDF73F6 /* Pods-ACEExpandableTextCellDemo */, 325 | 4F15FBF7D83347A28690B72430BEB95B /* SZTextView */, 326 | ); 327 | }; 328 | /* End PBXProject section */ 329 | 330 | /* Begin PBXSourcesBuildPhase section */ 331 | 578980EA7E3E2DC64C5BCE163ECC1D76 /* Sources */ = { 332 | isa = PBXSourcesBuildPhase; 333 | buildActionMask = 2147483647; 334 | files = ( 335 | 771A144919BBDEEC0A184A64AA145A9A /* Pods-ACEExpandableTextCellDemo-dummy.m in Sources */, 336 | ); 337 | runOnlyForDeploymentPostprocessing = 0; 338 | }; 339 | 922FF7ECE5F3228A3E317DE7947432B4 /* Sources */ = { 340 | isa = PBXSourcesBuildPhase; 341 | buildActionMask = 2147483647; 342 | files = ( 343 | 0E0A34CEF089C2FC29C8BD86192DAE73 /* ACEExpandableTextCell-dummy.m in Sources */, 344 | FFEC7B87D1C2BFF13CF91A7D064A79DB /* ACEExpandableTextCell.m in Sources */, 345 | ); 346 | runOnlyForDeploymentPostprocessing = 0; 347 | }; 348 | B6FB49C8ED59036A9BE52FA7873C4A32 /* Sources */ = { 349 | isa = PBXSourcesBuildPhase; 350 | buildActionMask = 2147483647; 351 | files = ( 352 | 302F7F908FBF3BDEC5471F5AB35104D7 /* SZTextView-dummy.m in Sources */, 353 | 5F0195C8D86B2A3C5B0F24BE250E646B /* SZTextView.m in Sources */, 354 | ); 355 | runOnlyForDeploymentPostprocessing = 0; 356 | }; 357 | /* End PBXSourcesBuildPhase section */ 358 | 359 | /* Begin PBXTargetDependency section */ 360 | 996C18F7DF346E738649391EB5D76FB3 /* PBXTargetDependency */ = { 361 | isa = PBXTargetDependency; 362 | name = ACEExpandableTextCell; 363 | target = 8966C42FBDF19BF9A30293D6BD0E1739 /* ACEExpandableTextCell */; 364 | targetProxy = 17489A7DCA7FC54223A9D68D34BB0142 /* PBXContainerItemProxy */; 365 | }; 366 | AB2657D76FEB8089378954E092C44CCD /* PBXTargetDependency */ = { 367 | isa = PBXTargetDependency; 368 | name = SZTextView; 369 | target = 4F15FBF7D83347A28690B72430BEB95B /* SZTextView */; 370 | targetProxy = 668E68AC18D3C278E2BC0D89A1F0C4AB /* PBXContainerItemProxy */; 371 | }; 372 | DD7BED0EE370E2220B8BD92F64A7E729 /* PBXTargetDependency */ = { 373 | isa = PBXTargetDependency; 374 | name = SZTextView; 375 | target = 4F15FBF7D83347A28690B72430BEB95B /* SZTextView */; 376 | targetProxy = 4B77508089D3D4045F5C7EA01B142FDA /* PBXContainerItemProxy */; 377 | }; 378 | /* End PBXTargetDependency section */ 379 | 380 | /* Begin XCBuildConfiguration section */ 381 | 023AAFF22368CD169EA5B371B4BDAF99 /* Debug */ = { 382 | isa = XCBuildConfiguration; 383 | baseConfigurationReference = 33716ABF73C870340347CCA844BD3091 /* ACEExpandableTextCell.xcconfig */; 384 | buildSettings = { 385 | "CODE_SIGN_IDENTITY[sdk=appletvos*]" = ""; 386 | "CODE_SIGN_IDENTITY[sdk=iphoneos*]" = ""; 387 | "CODE_SIGN_IDENTITY[sdk=watchos*]" = ""; 388 | DEBUG_INFORMATION_FORMAT = dwarf; 389 | ENABLE_STRICT_OBJC_MSGSEND = YES; 390 | GCC_NO_COMMON_BLOCKS = YES; 391 | GCC_PREFIX_HEADER = "Target Support Files/ACEExpandableTextCell/ACEExpandableTextCell-prefix.pch"; 392 | IPHONEOS_DEPLOYMENT_TARGET = 5.0; 393 | MTL_ENABLE_DEBUG_INFO = YES; 394 | OTHER_LDFLAGS = ""; 395 | OTHER_LIBTOOLFLAGS = ""; 396 | PRIVATE_HEADERS_FOLDER_PATH = ""; 397 | PRODUCT_NAME = "$(TARGET_NAME)"; 398 | PUBLIC_HEADERS_FOLDER_PATH = ""; 399 | SDKROOT = iphoneos; 400 | SKIP_INSTALL = YES; 401 | }; 402 | name = Debug; 403 | }; 404 | 2DAB80932F91222CB271E5D744B4A36C /* Release */ = { 405 | isa = XCBuildConfiguration; 406 | baseConfigurationReference = 33716ABF73C870340347CCA844BD3091 /* ACEExpandableTextCell.xcconfig */; 407 | buildSettings = { 408 | "CODE_SIGN_IDENTITY[sdk=appletvos*]" = ""; 409 | "CODE_SIGN_IDENTITY[sdk=iphoneos*]" = ""; 410 | "CODE_SIGN_IDENTITY[sdk=watchos*]" = ""; 411 | DEBUG_INFORMATION_FORMAT = "dwarf-with-dsym"; 412 | ENABLE_STRICT_OBJC_MSGSEND = YES; 413 | GCC_NO_COMMON_BLOCKS = YES; 414 | GCC_PREFIX_HEADER = "Target Support Files/ACEExpandableTextCell/ACEExpandableTextCell-prefix.pch"; 415 | IPHONEOS_DEPLOYMENT_TARGET = 5.0; 416 | MTL_ENABLE_DEBUG_INFO = NO; 417 | OTHER_LDFLAGS = ""; 418 | OTHER_LIBTOOLFLAGS = ""; 419 | PRIVATE_HEADERS_FOLDER_PATH = ""; 420 | PRODUCT_NAME = "$(TARGET_NAME)"; 421 | PUBLIC_HEADERS_FOLDER_PATH = ""; 422 | SDKROOT = iphoneos; 423 | SKIP_INSTALL = YES; 424 | }; 425 | name = Release; 426 | }; 427 | 2ED52FBC3F12C8B6CB8978F17F023371 /* Release */ = { 428 | isa = XCBuildConfiguration; 429 | baseConfigurationReference = 8EFCC38B3A8C4179A57E111896FC5343 /* SZTextView.xcconfig */; 430 | buildSettings = { 431 | "CODE_SIGN_IDENTITY[sdk=appletvos*]" = ""; 432 | "CODE_SIGN_IDENTITY[sdk=iphoneos*]" = ""; 433 | "CODE_SIGN_IDENTITY[sdk=watchos*]" = ""; 434 | DEBUG_INFORMATION_FORMAT = "dwarf-with-dsym"; 435 | ENABLE_STRICT_OBJC_MSGSEND = YES; 436 | GCC_NO_COMMON_BLOCKS = YES; 437 | GCC_PREFIX_HEADER = "Target Support Files/SZTextView/SZTextView-prefix.pch"; 438 | IPHONEOS_DEPLOYMENT_TARGET = 5.0; 439 | MTL_ENABLE_DEBUG_INFO = NO; 440 | OTHER_LDFLAGS = ""; 441 | OTHER_LIBTOOLFLAGS = ""; 442 | PRIVATE_HEADERS_FOLDER_PATH = ""; 443 | PRODUCT_NAME = "$(TARGET_NAME)"; 444 | PUBLIC_HEADERS_FOLDER_PATH = ""; 445 | SDKROOT = iphoneos; 446 | SKIP_INSTALL = YES; 447 | }; 448 | name = Release; 449 | }; 450 | 79B0C2E66EFA9917ED6EDDB8FC6A7684 /* Release */ = { 451 | isa = XCBuildConfiguration; 452 | buildSettings = { 453 | ALWAYS_SEARCH_USER_PATHS = NO; 454 | CLANG_ANALYZER_NONNULL = YES; 455 | CLANG_CXX_LANGUAGE_STANDARD = "gnu++0x"; 456 | CLANG_CXX_LIBRARY = "libc++"; 457 | CLANG_ENABLE_MODULES = YES; 458 | CLANG_ENABLE_OBJC_ARC = YES; 459 | CLANG_WARN_BOOL_CONVERSION = YES; 460 | CLANG_WARN_CONSTANT_CONVERSION = YES; 461 | CLANG_WARN_DIRECT_OBJC_ISA_USAGE = YES; 462 | CLANG_WARN_EMPTY_BODY = YES; 463 | CLANG_WARN_ENUM_CONVERSION = YES; 464 | CLANG_WARN_INT_CONVERSION = YES; 465 | CLANG_WARN_OBJC_ROOT_CLASS = YES; 466 | CLANG_WARN_UNREACHABLE_CODE = YES; 467 | CLANG_WARN__DUPLICATE_METHOD_MATCH = YES; 468 | CODE_SIGNING_REQUIRED = NO; 469 | COPY_PHASE_STRIP = YES; 470 | ENABLE_NS_ASSERTIONS = NO; 471 | GCC_C_LANGUAGE_STANDARD = gnu99; 472 | GCC_PREPROCESSOR_DEFINITIONS = ( 473 | "POD_CONFIGURATION_RELEASE=1", 474 | "$(inherited)", 475 | ); 476 | GCC_WARN_64_TO_32_BIT_CONVERSION = YES; 477 | GCC_WARN_ABOUT_RETURN_TYPE = YES; 478 | GCC_WARN_UNDECLARED_SELECTOR = YES; 479 | GCC_WARN_UNINITIALIZED_AUTOS = YES; 480 | GCC_WARN_UNUSED_FUNCTION = YES; 481 | GCC_WARN_UNUSED_VARIABLE = YES; 482 | IPHONEOS_DEPLOYMENT_TARGET = 7.0; 483 | PROVISIONING_PROFILE_SPECIFIER = NO_SIGNING/; 484 | STRIP_INSTALLED_PRODUCT = NO; 485 | SYMROOT = "${SRCROOT}/../build"; 486 | VALIDATE_PRODUCT = YES; 487 | }; 488 | name = Release; 489 | }; 490 | C77E5C6D1A3502E799B0E8370D285CB8 /* Debug */ = { 491 | isa = XCBuildConfiguration; 492 | baseConfigurationReference = B97520434DEA04BFBE668753BF6C7A1D /* Pods-ACEExpandableTextCellDemo.debug.xcconfig */; 493 | buildSettings = { 494 | "CODE_SIGN_IDENTITY[sdk=appletvos*]" = ""; 495 | "CODE_SIGN_IDENTITY[sdk=iphoneos*]" = ""; 496 | "CODE_SIGN_IDENTITY[sdk=watchos*]" = ""; 497 | DEBUG_INFORMATION_FORMAT = dwarf; 498 | ENABLE_STRICT_OBJC_MSGSEND = YES; 499 | GCC_NO_COMMON_BLOCKS = YES; 500 | IPHONEOS_DEPLOYMENT_TARGET = 7.0; 501 | MACH_O_TYPE = staticlib; 502 | MTL_ENABLE_DEBUG_INFO = YES; 503 | OTHER_LDFLAGS = ""; 504 | OTHER_LIBTOOLFLAGS = ""; 505 | PODS_ROOT = "$(SRCROOT)"; 506 | PRODUCT_BUNDLE_IDENTIFIER = "org.cocoapods.${PRODUCT_NAME:rfc1034identifier}"; 507 | PRODUCT_NAME = "$(TARGET_NAME)"; 508 | SDKROOT = iphoneos; 509 | SKIP_INSTALL = YES; 510 | }; 511 | name = Debug; 512 | }; 513 | CF7953F66E785E8876EB4D370D777D50 /* Debug */ = { 514 | isa = XCBuildConfiguration; 515 | buildSettings = { 516 | ALWAYS_SEARCH_USER_PATHS = NO; 517 | CLANG_ANALYZER_NONNULL = YES; 518 | CLANG_CXX_LANGUAGE_STANDARD = "gnu++0x"; 519 | CLANG_CXX_LIBRARY = "libc++"; 520 | CLANG_ENABLE_MODULES = YES; 521 | CLANG_ENABLE_OBJC_ARC = YES; 522 | CLANG_WARN_BOOL_CONVERSION = YES; 523 | CLANG_WARN_CONSTANT_CONVERSION = YES; 524 | CLANG_WARN_DIRECT_OBJC_ISA_USAGE = YES; 525 | CLANG_WARN_EMPTY_BODY = YES; 526 | CLANG_WARN_ENUM_CONVERSION = YES; 527 | CLANG_WARN_INT_CONVERSION = YES; 528 | CLANG_WARN_OBJC_ROOT_CLASS = YES; 529 | CLANG_WARN_UNREACHABLE_CODE = YES; 530 | CLANG_WARN__DUPLICATE_METHOD_MATCH = YES; 531 | CODE_SIGNING_REQUIRED = NO; 532 | COPY_PHASE_STRIP = NO; 533 | ENABLE_TESTABILITY = YES; 534 | GCC_C_LANGUAGE_STANDARD = gnu99; 535 | GCC_DYNAMIC_NO_PIC = NO; 536 | GCC_OPTIMIZATION_LEVEL = 0; 537 | GCC_PREPROCESSOR_DEFINITIONS = ( 538 | "POD_CONFIGURATION_DEBUG=1", 539 | "DEBUG=1", 540 | "$(inherited)", 541 | ); 542 | GCC_SYMBOLS_PRIVATE_EXTERN = NO; 543 | GCC_WARN_64_TO_32_BIT_CONVERSION = YES; 544 | GCC_WARN_ABOUT_RETURN_TYPE = YES; 545 | GCC_WARN_UNDECLARED_SELECTOR = YES; 546 | GCC_WARN_UNINITIALIZED_AUTOS = YES; 547 | GCC_WARN_UNUSED_FUNCTION = YES; 548 | GCC_WARN_UNUSED_VARIABLE = YES; 549 | IPHONEOS_DEPLOYMENT_TARGET = 7.0; 550 | ONLY_ACTIVE_ARCH = YES; 551 | PROVISIONING_PROFILE_SPECIFIER = NO_SIGNING/; 552 | STRIP_INSTALLED_PRODUCT = NO; 553 | SYMROOT = "${SRCROOT}/../build"; 554 | }; 555 | name = Debug; 556 | }; 557 | E0DC7F65B87DF117DB12773CE51673C8 /* Debug */ = { 558 | isa = XCBuildConfiguration; 559 | baseConfigurationReference = 8EFCC38B3A8C4179A57E111896FC5343 /* SZTextView.xcconfig */; 560 | buildSettings = { 561 | "CODE_SIGN_IDENTITY[sdk=appletvos*]" = ""; 562 | "CODE_SIGN_IDENTITY[sdk=iphoneos*]" = ""; 563 | "CODE_SIGN_IDENTITY[sdk=watchos*]" = ""; 564 | DEBUG_INFORMATION_FORMAT = dwarf; 565 | ENABLE_STRICT_OBJC_MSGSEND = YES; 566 | GCC_NO_COMMON_BLOCKS = YES; 567 | GCC_PREFIX_HEADER = "Target Support Files/SZTextView/SZTextView-prefix.pch"; 568 | IPHONEOS_DEPLOYMENT_TARGET = 5.0; 569 | MTL_ENABLE_DEBUG_INFO = YES; 570 | OTHER_LDFLAGS = ""; 571 | OTHER_LIBTOOLFLAGS = ""; 572 | PRIVATE_HEADERS_FOLDER_PATH = ""; 573 | PRODUCT_NAME = "$(TARGET_NAME)"; 574 | PUBLIC_HEADERS_FOLDER_PATH = ""; 575 | SDKROOT = iphoneos; 576 | SKIP_INSTALL = YES; 577 | }; 578 | name = Debug; 579 | }; 580 | FCB0CAF9C52D8D833CC3C4FB8FBB02B5 /* Release */ = { 581 | isa = XCBuildConfiguration; 582 | baseConfigurationReference = C070CF394AA6B1514DD02C3C2F29B0CF /* Pods-ACEExpandableTextCellDemo.release.xcconfig */; 583 | buildSettings = { 584 | "CODE_SIGN_IDENTITY[sdk=appletvos*]" = ""; 585 | "CODE_SIGN_IDENTITY[sdk=iphoneos*]" = ""; 586 | "CODE_SIGN_IDENTITY[sdk=watchos*]" = ""; 587 | DEBUG_INFORMATION_FORMAT = "dwarf-with-dsym"; 588 | ENABLE_STRICT_OBJC_MSGSEND = YES; 589 | GCC_NO_COMMON_BLOCKS = YES; 590 | IPHONEOS_DEPLOYMENT_TARGET = 7.0; 591 | MACH_O_TYPE = staticlib; 592 | MTL_ENABLE_DEBUG_INFO = NO; 593 | OTHER_LDFLAGS = ""; 594 | OTHER_LIBTOOLFLAGS = ""; 595 | PODS_ROOT = "$(SRCROOT)"; 596 | PRODUCT_BUNDLE_IDENTIFIER = "org.cocoapods.${PRODUCT_NAME:rfc1034identifier}"; 597 | PRODUCT_NAME = "$(TARGET_NAME)"; 598 | SDKROOT = iphoneos; 599 | SKIP_INSTALL = YES; 600 | }; 601 | name = Release; 602 | }; 603 | /* End XCBuildConfiguration section */ 604 | 605 | /* Begin XCConfigurationList section */ 606 | 0ECE719FA6F46A7095A747E7248837C3 /* Build configuration list for PBXNativeTarget "SZTextView" */ = { 607 | isa = XCConfigurationList; 608 | buildConfigurations = ( 609 | E0DC7F65B87DF117DB12773CE51673C8 /* Debug */, 610 | 2ED52FBC3F12C8B6CB8978F17F023371 /* Release */, 611 | ); 612 | defaultConfigurationIsVisible = 0; 613 | defaultConfigurationName = Release; 614 | }; 615 | 2D8E8EC45A3A1A1D94AE762CB5028504 /* Build configuration list for PBXProject "Pods" */ = { 616 | isa = XCConfigurationList; 617 | buildConfigurations = ( 618 | CF7953F66E785E8876EB4D370D777D50 /* Debug */, 619 | 79B0C2E66EFA9917ED6EDDB8FC6A7684 /* Release */, 620 | ); 621 | defaultConfigurationIsVisible = 0; 622 | defaultConfigurationName = Release; 623 | }; 624 | C9BA3B42B243C172471BDC9B6D0BE7FD /* Build configuration list for PBXNativeTarget "Pods-ACEExpandableTextCellDemo" */ = { 625 | isa = XCConfigurationList; 626 | buildConfigurations = ( 627 | C77E5C6D1A3502E799B0E8370D285CB8 /* Debug */, 628 | FCB0CAF9C52D8D833CC3C4FB8FBB02B5 /* Release */, 629 | ); 630 | defaultConfigurationIsVisible = 0; 631 | defaultConfigurationName = Release; 632 | }; 633 | E3B36117D721414B79A15F4E44D7C4EC /* Build configuration list for PBXNativeTarget "ACEExpandableTextCell" */ = { 634 | isa = XCConfigurationList; 635 | buildConfigurations = ( 636 | 023AAFF22368CD169EA5B371B4BDAF99 /* Debug */, 637 | 2DAB80932F91222CB271E5D744B4A36C /* Release */, 638 | ); 639 | defaultConfigurationIsVisible = 0; 640 | defaultConfigurationName = Release; 641 | }; 642 | /* End XCConfigurationList section */ 643 | }; 644 | rootObject = D41D8CD98F00B204E9800998ECF8427E /* Project object */; 645 | } 646 | -------------------------------------------------------------------------------- /Pods/SZTextView/Classes/SZTextView.h: -------------------------------------------------------------------------------- 1 | // 2 | // SZTextView.h 3 | // SZTextView 4 | // 5 | // Created by glaszig on 14.03.13. 6 | // Copyright (c) 2013 glaszig. All rights reserved. 7 | // 8 | 9 | #import 10 | 11 | //! Project version number for SZTextView. 12 | FOUNDATION_EXPORT double SZTextViewVersionNumber; 13 | 14 | //! Project version string for SZTextView. 15 | FOUNDATION_EXPORT const unsigned char SZTextViewVersionString[]; 16 | 17 | 18 | IB_DESIGNABLE 19 | 20 | @interface SZTextView : UITextView 21 | 22 | @property (copy, nonatomic) IBInspectable NSString *placeholder; 23 | @property (nonatomic) IBInspectable double fadeTime; 24 | @property (copy, nonatomic) NSAttributedString *attributedPlaceholder; 25 | @property (retain, nonatomic) UIColor *placeholderTextColor UI_APPEARANCE_SELECTOR; 26 | 27 | @end 28 | -------------------------------------------------------------------------------- /Pods/SZTextView/Classes/SZTextView.m: -------------------------------------------------------------------------------- 1 | // 2 | // SZTextView.m 3 | // SZTextView 4 | // 5 | // Created by glaszig on 14.03.13. 6 | // Copyright (c) 2013 glaszig. All rights reserved. 7 | // 8 | 9 | #import "SZTextView.h" 10 | 11 | #define HAS_TEXT_CONTAINER [self respondsToSelector:@selector(textContainer)] 12 | #define HAS_TEXT_CONTAINER_INSETS(x) [(x) respondsToSelector:@selector(textContainerInset)] 13 | 14 | @interface SZTextView () 15 | @property (strong, nonatomic) UITextView *_placeholderTextView; 16 | @end 17 | 18 | static NSString * const kAttributedPlaceholderKey = @"attributedPlaceholder"; 19 | static NSString * const kPlaceholderKey = @"placeholder"; 20 | static NSString * const kFontKey = @"font"; 21 | static NSString * const kAttributedTextKey = @"attributedText"; 22 | static NSString * const kTextKey = @"text"; 23 | static NSString * const kExclusionPathsKey = @"exclusionPaths"; 24 | static NSString * const kLineFragmentPaddingKey = @"lineFragmentPadding"; 25 | static NSString * const kTextContainerInsetKey = @"textContainerInset"; 26 | static NSString * const kTextAlignmentKey = @"textAlignment"; 27 | 28 | @implementation SZTextView 29 | 30 | - (instancetype)initWithCoder:(NSCoder *)coder 31 | { 32 | self = [super initWithCoder:coder]; 33 | if (self) { 34 | [self preparePlaceholder]; 35 | } 36 | return self; 37 | } 38 | 39 | #if __IPHONE_OS_VERSION_MIN_REQUIRED >= 70000 40 | - (instancetype)initWithFrame:(CGRect)frame textContainer:(NSTextContainer *)textContainer 41 | { 42 | self = [super initWithFrame:frame textContainer:textContainer]; 43 | if (self) { 44 | [self preparePlaceholder]; 45 | } 46 | return self; 47 | } 48 | #else 49 | - (id)initWithFrame:(CGRect)frame 50 | { 51 | self = [super initWithFrame:frame]; 52 | if (self) { 53 | [self preparePlaceholder]; 54 | } 55 | return self; 56 | } 57 | #endif 58 | 59 | - (void)preparePlaceholder 60 | { 61 | NSAssert(!self._placeholderTextView, @"placeholder has been prepared already: %@", self._placeholderTextView); 62 | // the label which displays the placeholder 63 | // needs to inherit some properties from its parent text view 64 | 65 | // account for standard UITextViewPadding 66 | 67 | CGRect frame = self.bounds; 68 | self._placeholderTextView = [[UITextView alloc] initWithFrame:frame]; 69 | self._placeholderTextView.opaque = NO; 70 | self._placeholderTextView.backgroundColor = [UIColor clearColor]; 71 | self._placeholderTextView.textColor = [UIColor colorWithWhite:0.7f alpha:0.7f]; 72 | self._placeholderTextView.textAlignment = self.textAlignment; 73 | self._placeholderTextView.editable = NO; 74 | self._placeholderTextView.scrollEnabled = NO; 75 | self._placeholderTextView.userInteractionEnabled = NO; 76 | self._placeholderTextView.font = self.font; 77 | self._placeholderTextView.isAccessibilityElement = NO; 78 | self._placeholderTextView.contentOffset = self.contentOffset; 79 | self._placeholderTextView.contentInset = self.contentInset; 80 | 81 | if ([self._placeholderTextView respondsToSelector:@selector(setSelectable:)]) { 82 | self._placeholderTextView.selectable = NO; 83 | } 84 | 85 | if (HAS_TEXT_CONTAINER) { 86 | self._placeholderTextView.textContainer.exclusionPaths = self.textContainer.exclusionPaths; 87 | self._placeholderTextView.textContainer.lineFragmentPadding = self.textContainer.lineFragmentPadding; 88 | } 89 | 90 | if (HAS_TEXT_CONTAINER_INSETS(self)) { 91 | self._placeholderTextView.textContainerInset = self.textContainerInset; 92 | } 93 | 94 | if (_attributedPlaceholder) { 95 | self._placeholderTextView.attributedText = _attributedPlaceholder; 96 | } else if (_placeholder) { 97 | self._placeholderTextView.text = _placeholder; 98 | } 99 | 100 | [self setPlaceholderVisibleForText:self.text]; 101 | 102 | self.clipsToBounds = YES; 103 | 104 | // some observations 105 | NSNotificationCenter *defaultCenter = [NSNotificationCenter defaultCenter]; 106 | [defaultCenter addObserver:self selector:@selector(textDidChange:) 107 | name:UITextViewTextDidChangeNotification object:self]; 108 | 109 | [self addObserver:self forKeyPath:kAttributedPlaceholderKey 110 | options:NSKeyValueObservingOptionNew context:nil]; 111 | [self addObserver:self forKeyPath:kPlaceholderKey 112 | options:NSKeyValueObservingOptionNew context:nil]; 113 | [self addObserver:self forKeyPath:kFontKey 114 | options:NSKeyValueObservingOptionNew context:nil]; 115 | [self addObserver:self forKeyPath:kAttributedTextKey 116 | options:NSKeyValueObservingOptionNew context:nil]; 117 | [self addObserver:self forKeyPath:kTextKey 118 | options:NSKeyValueObservingOptionNew context:nil]; 119 | [self addObserver:self forKeyPath:kTextAlignmentKey 120 | options:NSKeyValueObservingOptionNew context:nil]; 121 | 122 | if (HAS_TEXT_CONTAINER) { 123 | [self.textContainer addObserver:self forKeyPath:kExclusionPathsKey 124 | options:NSKeyValueObservingOptionNew context:nil]; 125 | [self.textContainer addObserver:self forKeyPath:kLineFragmentPaddingKey 126 | options:NSKeyValueObservingOptionNew context:nil]; 127 | } 128 | 129 | if (HAS_TEXT_CONTAINER_INSETS(self)) { 130 | [self addObserver:self forKeyPath:kTextContainerInsetKey 131 | options:NSKeyValueObservingOptionNew context:nil]; 132 | } 133 | } 134 | 135 | - (void)setPlaceholder:(NSString *)placeholderText 136 | { 137 | _placeholder = [placeholderText copy]; 138 | _attributedPlaceholder = [[NSAttributedString alloc] initWithString:placeholderText]; 139 | 140 | [self resizePlaceholderFrame]; 141 | } 142 | 143 | - (void)setAttributedPlaceholder:(NSAttributedString *)attributedPlaceholderText 144 | { 145 | _placeholder = attributedPlaceholderText.string; 146 | _attributedPlaceholder = [attributedPlaceholderText copy]; 147 | 148 | [self resizePlaceholderFrame]; 149 | } 150 | 151 | - (void)layoutSubviews 152 | { 153 | [super layoutSubviews]; 154 | [self resizePlaceholderFrame]; 155 | } 156 | 157 | - (void)resizePlaceholderFrame 158 | { 159 | CGRect frame = self._placeholderTextView.frame; 160 | frame.size = self.bounds.size; 161 | self._placeholderTextView.frame = frame; 162 | } 163 | 164 | - (void)observeValueForKeyPath:(NSString *)keyPath ofObject:(id)object 165 | change:(NSDictionary *)change context:(void *)context 166 | { 167 | if ([keyPath isEqualToString:kAttributedPlaceholderKey]) { 168 | self._placeholderTextView.attributedText = [change valueForKey:NSKeyValueChangeNewKey]; 169 | } 170 | else if ([keyPath isEqualToString:kPlaceholderKey]) { 171 | self._placeholderTextView.text = [change valueForKey:NSKeyValueChangeNewKey]; 172 | } 173 | else if ([keyPath isEqualToString:kFontKey]) { 174 | self._placeholderTextView.font = [change valueForKey:NSKeyValueChangeNewKey]; 175 | } 176 | else if ([keyPath isEqualToString:kAttributedTextKey]) { 177 | NSAttributedString *newAttributedText = [change valueForKey:NSKeyValueChangeNewKey]; 178 | [self setPlaceholderVisibleForText:newAttributedText.string]; 179 | } 180 | else if ([keyPath isEqualToString:kTextKey]) { 181 | NSString *newText = [change valueForKey:NSKeyValueChangeNewKey]; 182 | [self setPlaceholderVisibleForText:newText]; 183 | } 184 | else if ([keyPath isEqualToString:kExclusionPathsKey]) { 185 | self._placeholderTextView.textContainer.exclusionPaths = [change objectForKey:NSKeyValueChangeNewKey]; 186 | [self resizePlaceholderFrame]; 187 | } 188 | else if ([keyPath isEqualToString:kLineFragmentPaddingKey]) { 189 | self._placeholderTextView.textContainer.lineFragmentPadding = [[change objectForKey:NSKeyValueChangeNewKey] floatValue]; 190 | [self resizePlaceholderFrame]; 191 | } 192 | else if ([keyPath isEqualToString:kTextContainerInsetKey]) { 193 | NSValue *value = [change objectForKey:NSKeyValueChangeNewKey]; 194 | self._placeholderTextView.textContainerInset = value.UIEdgeInsetsValue; 195 | } 196 | else if ([keyPath isEqualToString:kTextAlignmentKey]) { 197 | NSNumber *alignment = [change objectForKey:NSKeyValueChangeNewKey]; 198 | self._placeholderTextView.textAlignment = alignment.intValue; 199 | } 200 | else { 201 | [super observeValueForKeyPath:keyPath ofObject:object change:change context:context]; 202 | } 203 | } 204 | 205 | - (void)setPlaceholderTextColor:(UIColor *)placeholderTextColor 206 | { 207 | self._placeholderTextView.textColor = placeholderTextColor; 208 | } 209 | 210 | - (UIColor *)placeholderTextColor 211 | { 212 | return self._placeholderTextView.textColor; 213 | } 214 | 215 | - (void)textDidChange:(NSNotification *)aNotification 216 | { 217 | [self setPlaceholderVisibleForText:self.text]; 218 | } 219 | 220 | - (BOOL)becomeFirstResponder 221 | { 222 | [self setPlaceholderVisibleForText:self.text]; 223 | 224 | return [super becomeFirstResponder]; 225 | } 226 | 227 | - (void)setPlaceholderVisibleForText:(NSString *)text 228 | { 229 | if (text.length < 1) { 230 | if (self.fadeTime > 0.0) { 231 | if (![self._placeholderTextView isDescendantOfView:self]) { 232 | self._placeholderTextView.alpha = 0; 233 | [self addSubview:self._placeholderTextView]; 234 | [self sendSubviewToBack:self._placeholderTextView]; 235 | } 236 | [UIView animateWithDuration:_fadeTime animations:^{ 237 | self._placeholderTextView.alpha = 1; 238 | }]; 239 | } 240 | else { 241 | [self addSubview:self._placeholderTextView]; 242 | [self sendSubviewToBack:self._placeholderTextView]; 243 | self._placeholderTextView.alpha = 1; 244 | } 245 | } 246 | else { 247 | if (self.fadeTime > 0.0) { 248 | [UIView animateWithDuration:_fadeTime animations:^{ 249 | self._placeholderTextView.alpha = 0; 250 | }]; 251 | } 252 | else { 253 | [self._placeholderTextView removeFromSuperview]; 254 | } 255 | } 256 | } 257 | 258 | - (void)dealloc 259 | { 260 | [[NSNotificationCenter defaultCenter] removeObserver:self]; 261 | [self removeObserver:self forKeyPath:kAttributedPlaceholderKey]; 262 | [self removeObserver:self forKeyPath:kPlaceholderKey]; 263 | [self removeObserver:self forKeyPath:kFontKey]; 264 | [self removeObserver:self forKeyPath:kAttributedTextKey]; 265 | [self removeObserver:self forKeyPath:kTextKey]; 266 | [self removeObserver:self forKeyPath:kTextAlignmentKey]; 267 | 268 | if (HAS_TEXT_CONTAINER) { 269 | [self.textContainer removeObserver:self forKeyPath:kExclusionPathsKey]; 270 | [self.textContainer removeObserver:self forKeyPath:kLineFragmentPaddingKey]; 271 | } 272 | 273 | if (HAS_TEXT_CONTAINER_INSETS(self)) { 274 | [self removeObserver:self forKeyPath:kTextContainerInsetKey]; 275 | } 276 | } 277 | 278 | @end 279 | -------------------------------------------------------------------------------- /Pods/SZTextView/LICENSE: -------------------------------------------------------------------------------- 1 | Copyright (c) 2013 glaszig 2 | 3 | MIT License 4 | 5 | Permission is hereby granted, free of charge, to any person obtaining 6 | a copy of this software and associated documentation files (the 7 | "Software"), to deal in the Software without restriction, including 8 | without limitation the rights to use, copy, modify, merge, publish, 9 | distribute, sublicense, and/or sell copies of the Software, and to 10 | permit persons to whom the Software is furnished to do so, subject to 11 | the following conditions: 12 | 13 | The above copyright notice and this permission notice shall be 14 | included in all copies or substantial portions of the Software. 15 | 16 | THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND, 17 | EXPRESS OR IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF 18 | MERCHANTABILITY, FITNESS FOR A PARTICULAR PURPOSE AND 19 | NONINFRINGEMENT. IN NO EVENT SHALL THE AUTHORS OR COPYRIGHT HOLDERS BE 20 | LIABLE FOR ANY CLAIM, DAMAGES OR OTHER LIABILITY, WHETHER IN AN ACTION 21 | OF CONTRACT, TORT OR OTHERWISE, ARISING FROM, OUT OF OR IN CONNECTION 22 | WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN THE SOFTWARE. 23 | -------------------------------------------------------------------------------- /Pods/SZTextView/README.md: -------------------------------------------------------------------------------- 1 | # SZTextView 2 | 3 | [![Build Status](https://travis-ci.org/glaszig/SZTextView.svg?branch=master)](https://travis-ci.org/glaszig/SZTextView) 4 | [![Bitdeli Badge](https://d2weczhvl823v0.cloudfront.net/glaszig/sztextview/trend.png)](https://bitdeli.com/free "Bitdeli Badge") 5 | [![Carthage compatible](https://img.shields.io/badge/Carthage-compatible-4BC51D.svg?style=flat)](https://github.com/Carthage/Carthage) 6 | 7 | A drop-in UITextView replacement which gives you: a placeholder. 8 | Technically it differs from other solutions in that it tries to work like UITextField's private `_placeholderLabel` so you should not suffer ugly glitches like jumping text views or loads of custom drawing code. 9 | 10 | ## Requirements 11 | 12 | Your iOS project. (Tested on iOS versions 7.x, 8.0. Should also work on 5.x and 6.x) 13 | 14 | > **Note**: This is ARC-enabled code. You'll need Xcode 4.2 and OS X 10.6, at least. 15 | > **Note**: To run the tests you'll need Xcode 5 with XCTest. 16 | 17 | ## Installation 18 | 19 | Either clone this repo and add the project to your Xcode workspace, use [CocoaPods](http://cocoapods.org) or [Carthage](https://github.com/Carthage/Carthage). 20 | 21 | #### CocoaPods 22 | 23 | Add this to you Podfile: 24 | 25 | ```ruby 26 | pod 'SZTextView' 27 | ``` 28 | 29 | #### Carthage 30 | 31 | Add this line to your Cartfile: 32 | 33 | ``` 34 | github "glaszig/SZTextView" 35 | ``` 36 | 37 | ## Usage 38 | 39 | ```objc 40 | SZTextView *textView = [SZTextView new]; 41 | textView.placeholder = @"Enter lorem ipsum here"; 42 | textView.placeholderTextColor = [UIColor lightGrayColor]; 43 | textView.font = [UIFont fontWithName:@"HelveticaNeue-Light" size:18.0]; 44 | ``` 45 | 46 | Analogously you can use the `attributedPlaceholder` property to set a fancy `NSAttributedString` as the placeholder: 47 | 48 | ```objc 49 | NSMutableAttributedString *placeholder = [[NSMutableAttributedString alloc] initWithString:@"Enter lorem ipsum here"]; 50 | [placeholder addAttribute:NSForegroundColorAttributeName value:[UIColor redColor] range:NSMakeRange(0,2)]; 51 | [placeholder addAttribute:NSForegroundColorAttributeName value:[UIColor greenColor] range:NSMakeRange(2,4)]; 52 | [placeholder addAttribute:NSForegroundColorAttributeName value:[UIColor blueColor] range:NSMakeRange(6,4)]; 53 | 54 | textView.attributedPlaceholder = placeholder; 55 | ``` 56 | 57 | Both properties `placeholder` and `attributedPlaceholder` are made to stay in sync. 58 | If you set an `attributedPlaceholder` and afterwards set `placeholder` to something else, the set text gets copied to the `attributedPlaceholder` while trying to keep the original text attributes. 59 | Also, `placeholder` will be set to `attributedPlaceholder.string` when using the `attributedPlaceholder` setter. 60 | 61 | A simple demo and a few unit tests are included. 62 | 63 | ### Animation 64 | 65 | The placeholder is animatable. Just configure the `double` property `fadeTime` 66 | to the seconds you'd like the animation to take. 67 | 68 | ### User Defined Runtime Attributes 69 | 70 | If you prefer using Interface Builder to configure your UI, you can use UDRA's to set values for `placeholder` and `placeholderTextColor`. 71 | 72 | ## Contributing 73 | 74 | 1. Fork it 75 | 2. Create your feature branch (`git checkout -b my-new-feature`) 76 | 3. Commit your changes (`git commit -am 'Added some feature'`) 77 | 4. Push to the branch (`git push origin my-new-feature`) 78 | 5. Create new Pull Request 79 | 80 | # License 81 | 82 | Published under the [MIT license](http://opensource.org/licenses/MIT). 83 | 84 | **Note** 85 | 86 | I've developed this component for [Cocktailicious](http://www.cocktailiciousapp.com). You should check it out \*shamelessplug\*. 87 | Please let me now if and how you use this component. I'm curious. 88 | 89 | -------------------------------------------------------------------------------- /Pods/Target Support Files/ACEExpandableTextCell/ACEExpandableTextCell-dummy.m: -------------------------------------------------------------------------------- 1 | #import 2 | @interface PodsDummy_ACEExpandableTextCell : NSObject 3 | @end 4 | @implementation PodsDummy_ACEExpandableTextCell 5 | @end 6 | -------------------------------------------------------------------------------- /Pods/Target Support Files/ACEExpandableTextCell/ACEExpandableTextCell-prefix.pch: -------------------------------------------------------------------------------- 1 | #ifdef __OBJC__ 2 | #import 3 | #endif 4 | 5 | -------------------------------------------------------------------------------- /Pods/Target Support Files/ACEExpandableTextCell/ACEExpandableTextCell.xcconfig: -------------------------------------------------------------------------------- 1 | CONFIGURATION_BUILD_DIR = $PODS_CONFIGURATION_BUILD_DIR/ACEExpandableTextCell 2 | GCC_PREPROCESSOR_DEFINITIONS = $(inherited) COCOAPODS=1 3 | HEADER_SEARCH_PATHS = "${PODS_ROOT}/Headers/Private" "${PODS_ROOT}/Headers/Private/ACEExpandableTextCell" "${PODS_ROOT}/Headers/Public" "${PODS_ROOT}/Headers/Public/ACEExpandableTextCell" "${PODS_ROOT}/Headers/Public/SZTextView" 4 | LIBRARY_SEARCH_PATHS = $(inherited) "$PODS_CONFIGURATION_BUILD_DIR/SZTextView" 5 | PODS_BUILD_DIR = $BUILD_DIR 6 | PODS_CONFIGURATION_BUILD_DIR = $PODS_BUILD_DIR/$(CONFIGURATION)$(EFFECTIVE_PLATFORM_NAME) 7 | PODS_ROOT = ${SRCROOT} 8 | PRODUCT_BUNDLE_IDENTIFIER = org.cocoapods.${PRODUCT_NAME:rfc1034identifier} 9 | SKIP_INSTALL = YES 10 | -------------------------------------------------------------------------------- /Pods/Target Support Files/Pods-ACEExpandableTextCellDemo/Pods-ACEExpandableTextCellDemo-acknowledgements.markdown: -------------------------------------------------------------------------------- 1 | # Acknowledgements 2 | This application makes use of the following third party libraries: 3 | 4 | ## ACEExpandableTextCell 5 | 6 | The MIT License (MIT) 7 | 8 | Copyright (c) 2014 Stefano Acerbetti 9 | 10 | Permission is hereby granted, free of charge, to any person obtaining a copy 11 | of this software and associated documentation files (the "Software"), to deal 12 | in the Software without restriction, including without limitation the rights 13 | to use, copy, modify, merge, publish, distribute, sublicense, and/or sell 14 | copies of the Software, and to permit persons to whom the Software is 15 | furnished to do so, subject to the following conditions: 16 | 17 | The above copyright notice and this permission notice shall be included in all 18 | copies or substantial portions of the Software. 19 | 20 | THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND, EXPRESS OR 21 | IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF MERCHANTABILITY, 22 | FITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT. IN NO EVENT SHALL THE 23 | AUTHORS OR COPYRIGHT HOLDERS BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER 24 | LIABILITY, WHETHER IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING FROM, 25 | OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN THE 26 | SOFTWARE. 27 | 28 | ## SZTextView 29 | 30 | Copyright (c) 2013 glaszig 31 | 32 | MIT License 33 | 34 | Permission is hereby granted, free of charge, to any person obtaining 35 | a copy of this software and associated documentation files (the 36 | "Software"), to deal in the Software without restriction, including 37 | without limitation the rights to use, copy, modify, merge, publish, 38 | distribute, sublicense, and/or sell copies of the Software, and to 39 | permit persons to whom the Software is furnished to do so, subject to 40 | the following conditions: 41 | 42 | The above copyright notice and this permission notice shall be 43 | included in all copies or substantial portions of the Software. 44 | 45 | THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND, 46 | EXPRESS OR IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF 47 | MERCHANTABILITY, FITNESS FOR A PARTICULAR PURPOSE AND 48 | NONINFRINGEMENT. IN NO EVENT SHALL THE AUTHORS OR COPYRIGHT HOLDERS BE 49 | LIABLE FOR ANY CLAIM, DAMAGES OR OTHER LIABILITY, WHETHER IN AN ACTION 50 | OF CONTRACT, TORT OR OTHERWISE, ARISING FROM, OUT OF OR IN CONNECTION 51 | WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN THE SOFTWARE. 52 | 53 | Generated by CocoaPods - https://cocoapods.org 54 | -------------------------------------------------------------------------------- /Pods/Target Support Files/Pods-ACEExpandableTextCellDemo/Pods-ACEExpandableTextCellDemo-acknowledgements.plist: -------------------------------------------------------------------------------- 1 | 2 | 3 | 4 | 5 | PreferenceSpecifiers 6 | 7 | 8 | FooterText 9 | This application makes use of the following third party libraries: 10 | Title 11 | Acknowledgements 12 | Type 13 | PSGroupSpecifier 14 | 15 | 16 | FooterText 17 | The MIT License (MIT) 18 | 19 | Copyright (c) 2014 Stefano Acerbetti 20 | 21 | Permission is hereby granted, free of charge, to any person obtaining a copy 22 | of this software and associated documentation files (the "Software"), to deal 23 | in the Software without restriction, including without limitation the rights 24 | to use, copy, modify, merge, publish, distribute, sublicense, and/or sell 25 | copies of the Software, and to permit persons to whom the Software is 26 | furnished to do so, subject to the following conditions: 27 | 28 | The above copyright notice and this permission notice shall be included in all 29 | copies or substantial portions of the Software. 30 | 31 | THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND, EXPRESS OR 32 | IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF MERCHANTABILITY, 33 | FITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT. IN NO EVENT SHALL THE 34 | AUTHORS OR COPYRIGHT HOLDERS BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER 35 | LIABILITY, WHETHER IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING FROM, 36 | OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN THE 37 | SOFTWARE. 38 | License 39 | MIT 40 | Title 41 | ACEExpandableTextCell 42 | Type 43 | PSGroupSpecifier 44 | 45 | 46 | FooterText 47 | Copyright (c) 2013 glaszig <glaszig@gmail.com> 48 | 49 | MIT License 50 | 51 | Permission is hereby granted, free of charge, to any person obtaining 52 | a copy of this software and associated documentation files (the 53 | "Software"), to deal in the Software without restriction, including 54 | without limitation the rights to use, copy, modify, merge, publish, 55 | distribute, sublicense, and/or sell copies of the Software, and to 56 | permit persons to whom the Software is furnished to do so, subject to 57 | the following conditions: 58 | 59 | The above copyright notice and this permission notice shall be 60 | included in all copies or substantial portions of the Software. 61 | 62 | THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND, 63 | EXPRESS OR IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF 64 | MERCHANTABILITY, FITNESS FOR A PARTICULAR PURPOSE AND 65 | NONINFRINGEMENT. IN NO EVENT SHALL THE AUTHORS OR COPYRIGHT HOLDERS BE 66 | LIABLE FOR ANY CLAIM, DAMAGES OR OTHER LIABILITY, WHETHER IN AN ACTION 67 | OF CONTRACT, TORT OR OTHERWISE, ARISING FROM, OUT OF OR IN CONNECTION 68 | WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN THE SOFTWARE. 69 | 70 | License 71 | MIT 72 | Title 73 | SZTextView 74 | Type 75 | PSGroupSpecifier 76 | 77 | 78 | FooterText 79 | Generated by CocoaPods - https://cocoapods.org 80 | Title 81 | 82 | Type 83 | PSGroupSpecifier 84 | 85 | 86 | StringsTable 87 | Acknowledgements 88 | Title 89 | Acknowledgements 90 | 91 | 92 | -------------------------------------------------------------------------------- /Pods/Target Support Files/Pods-ACEExpandableTextCellDemo/Pods-ACEExpandableTextCellDemo-dummy.m: -------------------------------------------------------------------------------- 1 | #import 2 | @interface PodsDummy_Pods_ACEExpandableTextCellDemo : NSObject 3 | @end 4 | @implementation PodsDummy_Pods_ACEExpandableTextCellDemo 5 | @end 6 | -------------------------------------------------------------------------------- /Pods/Target Support Files/Pods-ACEExpandableTextCellDemo/Pods-ACEExpandableTextCellDemo-frameworks.sh: -------------------------------------------------------------------------------- 1 | #!/bin/sh 2 | set -e 3 | 4 | echo "mkdir -p ${CONFIGURATION_BUILD_DIR}/${FRAMEWORKS_FOLDER_PATH}" 5 | mkdir -p "${CONFIGURATION_BUILD_DIR}/${FRAMEWORKS_FOLDER_PATH}" 6 | 7 | SWIFT_STDLIB_PATH="${DT_TOOLCHAIN_DIR}/usr/lib/swift/${PLATFORM_NAME}" 8 | 9 | install_framework() 10 | { 11 | if [ -r "${BUILT_PRODUCTS_DIR}/$1" ]; then 12 | local source="${BUILT_PRODUCTS_DIR}/$1" 13 | elif [ -r "${BUILT_PRODUCTS_DIR}/$(basename "$1")" ]; then 14 | local source="${BUILT_PRODUCTS_DIR}/$(basename "$1")" 15 | elif [ -r "$1" ]; then 16 | local source="$1" 17 | fi 18 | 19 | local destination="${TARGET_BUILD_DIR}/${FRAMEWORKS_FOLDER_PATH}" 20 | 21 | if [ -L "${source}" ]; then 22 | echo "Symlinked..." 23 | source="$(readlink "${source}")" 24 | fi 25 | 26 | # use filter instead of exclude so missing patterns dont' throw errors 27 | echo "rsync -av --filter \"- CVS/\" --filter \"- .svn/\" --filter \"- .git/\" --filter \"- .hg/\" --filter \"- Headers\" --filter \"- PrivateHeaders\" --filter \"- Modules\" \"${source}\" \"${destination}\"" 28 | rsync -av --filter "- CVS/" --filter "- .svn/" --filter "- .git/" --filter "- .hg/" --filter "- Headers" --filter "- PrivateHeaders" --filter "- Modules" "${source}" "${destination}" 29 | 30 | local basename 31 | basename="$(basename -s .framework "$1")" 32 | binary="${destination}/${basename}.framework/${basename}" 33 | if ! [ -r "$binary" ]; then 34 | binary="${destination}/${basename}" 35 | fi 36 | 37 | # Strip invalid architectures so "fat" simulator / device frameworks work on device 38 | if [[ "$(file "$binary")" == *"dynamically linked shared library"* ]]; then 39 | strip_invalid_archs "$binary" 40 | fi 41 | 42 | # Resign the code if required by the build settings to avoid unstable apps 43 | code_sign_if_enabled "${destination}/$(basename "$1")" 44 | 45 | # Embed linked Swift runtime libraries. No longer necessary as of Xcode 7. 46 | if [ "${XCODE_VERSION_MAJOR}" -lt 7 ]; then 47 | local swift_runtime_libs 48 | swift_runtime_libs=$(xcrun otool -LX "$binary" | grep --color=never @rpath/libswift | sed -E s/@rpath\\/\(.+dylib\).*/\\1/g | uniq -u && exit ${PIPESTATUS[0]}) 49 | for lib in $swift_runtime_libs; do 50 | echo "rsync -auv \"${SWIFT_STDLIB_PATH}/${lib}\" \"${destination}\"" 51 | rsync -auv "${SWIFT_STDLIB_PATH}/${lib}" "${destination}" 52 | code_sign_if_enabled "${destination}/${lib}" 53 | done 54 | fi 55 | } 56 | 57 | # Signs a framework with the provided identity 58 | code_sign_if_enabled() { 59 | if [ -n "${EXPANDED_CODE_SIGN_IDENTITY}" -a "${CODE_SIGNING_REQUIRED}" != "NO" -a "${CODE_SIGNING_ALLOWED}" != "NO" ]; then 60 | # Use the current code_sign_identitiy 61 | echo "Code Signing $1 with Identity ${EXPANDED_CODE_SIGN_IDENTITY_NAME}" 62 | echo "/usr/bin/codesign --force --sign ${EXPANDED_CODE_SIGN_IDENTITY} ${OTHER_CODE_SIGN_FLAGS} --preserve-metadata=identifier,entitlements \"$1\"" 63 | /usr/bin/codesign --force --sign ${EXPANDED_CODE_SIGN_IDENTITY} ${OTHER_CODE_SIGN_FLAGS} --preserve-metadata=identifier,entitlements "$1" 64 | fi 65 | } 66 | 67 | # Strip invalid architectures 68 | strip_invalid_archs() { 69 | binary="$1" 70 | # Get architectures for current file 71 | archs="$(lipo -info "$binary" | rev | cut -d ':' -f1 | rev)" 72 | stripped="" 73 | for arch in $archs; do 74 | if ! [[ "${VALID_ARCHS}" == *"$arch"* ]]; then 75 | # Strip non-valid architectures in-place 76 | lipo -remove "$arch" -output "$binary" "$binary" || exit 1 77 | stripped="$stripped $arch" 78 | fi 79 | done 80 | if [[ "$stripped" ]]; then 81 | echo "Stripped $binary of architectures:$stripped" 82 | fi 83 | } 84 | 85 | -------------------------------------------------------------------------------- /Pods/Target Support Files/Pods-ACEExpandableTextCellDemo/Pods-ACEExpandableTextCellDemo-resources.sh: -------------------------------------------------------------------------------- 1 | #!/bin/sh 2 | set -e 3 | 4 | mkdir -p "${TARGET_BUILD_DIR}/${UNLOCALIZED_RESOURCES_FOLDER_PATH}" 5 | 6 | RESOURCES_TO_COPY=${PODS_ROOT}/resources-to-copy-${TARGETNAME}.txt 7 | > "$RESOURCES_TO_COPY" 8 | 9 | XCASSET_FILES=() 10 | 11 | case "${TARGETED_DEVICE_FAMILY}" in 12 | 1,2) 13 | TARGET_DEVICE_ARGS="--target-device ipad --target-device iphone" 14 | ;; 15 | 1) 16 | TARGET_DEVICE_ARGS="--target-device iphone" 17 | ;; 18 | 2) 19 | TARGET_DEVICE_ARGS="--target-device ipad" 20 | ;; 21 | *) 22 | TARGET_DEVICE_ARGS="--target-device mac" 23 | ;; 24 | esac 25 | 26 | realpath() { 27 | DIRECTORY="$(cd "${1%/*}" && pwd)" 28 | FILENAME="${1##*/}" 29 | echo "$DIRECTORY/$FILENAME" 30 | } 31 | 32 | install_resource() 33 | { 34 | if [[ "$1" = /* ]] ; then 35 | RESOURCE_PATH="$1" 36 | else 37 | RESOURCE_PATH="${PODS_ROOT}/$1" 38 | fi 39 | if [[ ! -e "$RESOURCE_PATH" ]] ; then 40 | cat << EOM 41 | error: Resource "$RESOURCE_PATH" not found. Run 'pod install' to update the copy resources script. 42 | EOM 43 | exit 1 44 | fi 45 | case $RESOURCE_PATH in 46 | *.storyboard) 47 | echo "ibtool --reference-external-strings-file --errors --warnings --notices --minimum-deployment-target ${!DEPLOYMENT_TARGET_SETTING_NAME} --output-format human-readable-text --compile ${TARGET_BUILD_DIR}/${UNLOCALIZED_RESOURCES_FOLDER_PATH}/`basename \"$RESOURCE_PATH\" .storyboard`.storyboardc $RESOURCE_PATH --sdk ${SDKROOT} ${TARGET_DEVICE_ARGS}" 48 | ibtool --reference-external-strings-file --errors --warnings --notices --minimum-deployment-target ${!DEPLOYMENT_TARGET_SETTING_NAME} --output-format human-readable-text --compile "${TARGET_BUILD_DIR}/${UNLOCALIZED_RESOURCES_FOLDER_PATH}/`basename \"$RESOURCE_PATH\" .storyboard`.storyboardc" "$RESOURCE_PATH" --sdk "${SDKROOT}" ${TARGET_DEVICE_ARGS} 49 | ;; 50 | *.xib) 51 | echo "ibtool --reference-external-strings-file --errors --warnings --notices --minimum-deployment-target ${!DEPLOYMENT_TARGET_SETTING_NAME} --output-format human-readable-text --compile ${TARGET_BUILD_DIR}/${UNLOCALIZED_RESOURCES_FOLDER_PATH}/`basename \"$RESOURCE_PATH\" .xib`.nib $RESOURCE_PATH --sdk ${SDKROOT} ${TARGET_DEVICE_ARGS}" 52 | ibtool --reference-external-strings-file --errors --warnings --notices --minimum-deployment-target ${!DEPLOYMENT_TARGET_SETTING_NAME} --output-format human-readable-text --compile "${TARGET_BUILD_DIR}/${UNLOCALIZED_RESOURCES_FOLDER_PATH}/`basename \"$RESOURCE_PATH\" .xib`.nib" "$RESOURCE_PATH" --sdk "${SDKROOT}" ${TARGET_DEVICE_ARGS} 53 | ;; 54 | *.framework) 55 | echo "mkdir -p ${TARGET_BUILD_DIR}/${FRAMEWORKS_FOLDER_PATH}" 56 | mkdir -p "${TARGET_BUILD_DIR}/${FRAMEWORKS_FOLDER_PATH}" 57 | echo "rsync -av $RESOURCE_PATH ${TARGET_BUILD_DIR}/${FRAMEWORKS_FOLDER_PATH}" 58 | rsync -av "$RESOURCE_PATH" "${TARGET_BUILD_DIR}/${FRAMEWORKS_FOLDER_PATH}" 59 | ;; 60 | *.xcdatamodel) 61 | echo "xcrun momc \"$RESOURCE_PATH\" \"${TARGET_BUILD_DIR}/${UNLOCALIZED_RESOURCES_FOLDER_PATH}/`basename "$RESOURCE_PATH"`.mom\"" 62 | xcrun momc "$RESOURCE_PATH" "${TARGET_BUILD_DIR}/${UNLOCALIZED_RESOURCES_FOLDER_PATH}/`basename "$RESOURCE_PATH" .xcdatamodel`.mom" 63 | ;; 64 | *.xcdatamodeld) 65 | echo "xcrun momc \"$RESOURCE_PATH\" \"${TARGET_BUILD_DIR}/${UNLOCALIZED_RESOURCES_FOLDER_PATH}/`basename "$RESOURCE_PATH" .xcdatamodeld`.momd\"" 66 | xcrun momc "$RESOURCE_PATH" "${TARGET_BUILD_DIR}/${UNLOCALIZED_RESOURCES_FOLDER_PATH}/`basename "$RESOURCE_PATH" .xcdatamodeld`.momd" 67 | ;; 68 | *.xcmappingmodel) 69 | echo "xcrun mapc \"$RESOURCE_PATH\" \"${TARGET_BUILD_DIR}/${UNLOCALIZED_RESOURCES_FOLDER_PATH}/`basename "$RESOURCE_PATH" .xcmappingmodel`.cdm\"" 70 | xcrun mapc "$RESOURCE_PATH" "${TARGET_BUILD_DIR}/${UNLOCALIZED_RESOURCES_FOLDER_PATH}/`basename "$RESOURCE_PATH" .xcmappingmodel`.cdm" 71 | ;; 72 | *.xcassets) 73 | ABSOLUTE_XCASSET_FILE=$(realpath "$RESOURCE_PATH") 74 | XCASSET_FILES+=("$ABSOLUTE_XCASSET_FILE") 75 | ;; 76 | *) 77 | echo "$RESOURCE_PATH" 78 | echo "$RESOURCE_PATH" >> "$RESOURCES_TO_COPY" 79 | ;; 80 | esac 81 | } 82 | 83 | mkdir -p "${TARGET_BUILD_DIR}/${UNLOCALIZED_RESOURCES_FOLDER_PATH}" 84 | rsync -avr --copy-links --no-relative --exclude '*/.svn/*' --files-from="$RESOURCES_TO_COPY" / "${TARGET_BUILD_DIR}/${UNLOCALIZED_RESOURCES_FOLDER_PATH}" 85 | if [[ "${ACTION}" == "install" ]] && [[ "${SKIP_INSTALL}" == "NO" ]]; then 86 | mkdir -p "${INSTALL_DIR}/${UNLOCALIZED_RESOURCES_FOLDER_PATH}" 87 | rsync -avr --copy-links --no-relative --exclude '*/.svn/*' --files-from="$RESOURCES_TO_COPY" / "${INSTALL_DIR}/${UNLOCALIZED_RESOURCES_FOLDER_PATH}" 88 | fi 89 | rm -f "$RESOURCES_TO_COPY" 90 | 91 | if [[ -n "${WRAPPER_EXTENSION}" ]] && [ "`xcrun --find actool`" ] && [ -n "$XCASSET_FILES" ] 92 | then 93 | # Find all other xcassets (this unfortunately includes those of path pods and other targets). 94 | OTHER_XCASSETS=$(find "$PWD" -iname "*.xcassets" -type d) 95 | while read line; do 96 | if [[ $line != "`realpath $PODS_ROOT`*" ]]; then 97 | XCASSET_FILES+=("$line") 98 | fi 99 | done <<<"$OTHER_XCASSETS" 100 | 101 | printf "%s\0" "${XCASSET_FILES[@]}" | xargs -0 xcrun actool --output-format human-readable-text --notices --warnings --platform "${PLATFORM_NAME}" --minimum-deployment-target "${!DEPLOYMENT_TARGET_SETTING_NAME}" ${TARGET_DEVICE_ARGS} --compress-pngs --compile "${BUILT_PRODUCTS_DIR}/${UNLOCALIZED_RESOURCES_FOLDER_PATH}" 102 | fi 103 | -------------------------------------------------------------------------------- /Pods/Target Support Files/Pods-ACEExpandableTextCellDemo/Pods-ACEExpandableTextCellDemo.debug.xcconfig: -------------------------------------------------------------------------------- 1 | ALWAYS_EMBED_SWIFT_STANDARD_LIBRARIES = NO 2 | GCC_PREPROCESSOR_DEFINITIONS = $(inherited) COCOAPODS=1 3 | HEADER_SEARCH_PATHS = $(inherited) "${PODS_ROOT}/Headers/Public" "${PODS_ROOT}/Headers/Public/ACEExpandableTextCell" "${PODS_ROOT}/Headers/Public/SZTextView" 4 | LIBRARY_SEARCH_PATHS = $(inherited) "$PODS_CONFIGURATION_BUILD_DIR/ACEExpandableTextCell" "$PODS_CONFIGURATION_BUILD_DIR/SZTextView" 5 | OTHER_CFLAGS = $(inherited) -isystem "${PODS_ROOT}/Headers/Public" -isystem "${PODS_ROOT}/Headers/Public/ACEExpandableTextCell" -isystem "${PODS_ROOT}/Headers/Public/SZTextView" 6 | OTHER_LDFLAGS = $(inherited) -ObjC -l"ACEExpandableTextCell" -l"SZTextView" 7 | PODS_BUILD_DIR = $BUILD_DIR 8 | PODS_CONFIGURATION_BUILD_DIR = $PODS_BUILD_DIR/$(CONFIGURATION)$(EFFECTIVE_PLATFORM_NAME) 9 | PODS_ROOT = ${SRCROOT}/Pods 10 | -------------------------------------------------------------------------------- /Pods/Target Support Files/Pods-ACEExpandableTextCellDemo/Pods-ACEExpandableTextCellDemo.release.xcconfig: -------------------------------------------------------------------------------- 1 | ALWAYS_EMBED_SWIFT_STANDARD_LIBRARIES = NO 2 | GCC_PREPROCESSOR_DEFINITIONS = $(inherited) COCOAPODS=1 3 | HEADER_SEARCH_PATHS = $(inherited) "${PODS_ROOT}/Headers/Public" "${PODS_ROOT}/Headers/Public/ACEExpandableTextCell" "${PODS_ROOT}/Headers/Public/SZTextView" 4 | LIBRARY_SEARCH_PATHS = $(inherited) "$PODS_CONFIGURATION_BUILD_DIR/ACEExpandableTextCell" "$PODS_CONFIGURATION_BUILD_DIR/SZTextView" 5 | OTHER_CFLAGS = $(inherited) -isystem "${PODS_ROOT}/Headers/Public" -isystem "${PODS_ROOT}/Headers/Public/ACEExpandableTextCell" -isystem "${PODS_ROOT}/Headers/Public/SZTextView" 6 | OTHER_LDFLAGS = $(inherited) -ObjC -l"ACEExpandableTextCell" -l"SZTextView" 7 | PODS_BUILD_DIR = $BUILD_DIR 8 | PODS_CONFIGURATION_BUILD_DIR = $PODS_BUILD_DIR/$(CONFIGURATION)$(EFFECTIVE_PLATFORM_NAME) 9 | PODS_ROOT = ${SRCROOT}/Pods 10 | -------------------------------------------------------------------------------- /Pods/Target Support Files/SZTextView/SZTextView-dummy.m: -------------------------------------------------------------------------------- 1 | #import 2 | @interface PodsDummy_SZTextView : NSObject 3 | @end 4 | @implementation PodsDummy_SZTextView 5 | @end 6 | -------------------------------------------------------------------------------- /Pods/Target Support Files/SZTextView/SZTextView-prefix.pch: -------------------------------------------------------------------------------- 1 | #ifdef __OBJC__ 2 | #import 3 | #endif 4 | 5 | -------------------------------------------------------------------------------- /Pods/Target Support Files/SZTextView/SZTextView.xcconfig: -------------------------------------------------------------------------------- 1 | CONFIGURATION_BUILD_DIR = $PODS_CONFIGURATION_BUILD_DIR/SZTextView 2 | GCC_PREPROCESSOR_DEFINITIONS = $(inherited) COCOAPODS=1 3 | HEADER_SEARCH_PATHS = "${PODS_ROOT}/Headers/Private" "${PODS_ROOT}/Headers/Private/SZTextView" "${PODS_ROOT}/Headers/Public" "${PODS_ROOT}/Headers/Public/ACEExpandableTextCell" "${PODS_ROOT}/Headers/Public/SZTextView" 4 | PODS_BUILD_DIR = $BUILD_DIR 5 | PODS_CONFIGURATION_BUILD_DIR = $PODS_BUILD_DIR/$(CONFIGURATION)$(EFFECTIVE_PLATFORM_NAME) 6 | PODS_ROOT = ${SRCROOT} 7 | PRODUCT_BUNDLE_IDENTIFIER = org.cocoapods.${PRODUCT_NAME:rfc1034identifier} 8 | SKIP_INSTALL = YES 9 | -------------------------------------------------------------------------------- /README.md: -------------------------------------------------------------------------------- 1 | ACEExpandableTextCell [![Build Status](https://travis-ci.org/acerbetti/ACEExpandableTextCell.svg?branch=master)](https://travis-ci.org/acerbetti/ACEExpandableTextCell) [![CocoaPods Compatible](https://img.shields.io/cocoapods/v/ACEExpandableTextCell.svg)](http://cocoadocs.org/docsets/ACEExpandableTextCell) [![Platform](https://img.shields.io/cocoapods/p/ACEExpandableTextCell.svg?style=flat)](http://cocoadocs.org/docsets/ACEExpandableTextCell) 2 | ===================== 3 | 4 | ![](https://github.com/acerbetti/ACEExpandableTextCell/blob/master/demo.gif?raw=true) 5 | 6 | `ACEExpandableTextCell` Is the simplest way to insert a `UITextView` inside an expandable `UITableViewCell`. 7 | It also supports a placeholder text 8 | 9 | ## CocoaPods 10 | 11 | 1. Add `pod 'ACEExpandableTextCell'` to your Podfile. 12 | 2. Run `pod install` 13 | 14 | ## License 15 | 16 | ACEExpandableTextCell is available under the MIT license. See the LICENSE file for more info. 17 | -------------------------------------------------------------------------------- /demo.gif: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/acerbetti/ACEExpandableTextCell/9ec4762bc2e4e457b68980ec7f273c3fd36df6f8/demo.gif --------------------------------------------------------------------------------