Git Product home page Git Product logo

aceexpandabletextcell's Introduction

ACEExpandableTextCell Build Status CocoaPods Compatible Platform

ACEExpandableTextCell Is the simplest way to insert a UITextView inside an expandable UITableViewCell. It also supports a placeholder text

CocoaPods

  1. Add pod 'ACEExpandableTextCell' to your Podfile.
  2. Run pod install

License

ACEExpandableTextCell is available under the MIT license. See the LICENSE file for more info.

aceexpandabletextcell's People

Contributors

acerbetti avatar hichamoaj avatar readmecritic avatar

Stargazers

 avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar

Watchers

 avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar

aceexpandabletextcell's Issues

Storyboard support?

Hi, im trying to use the controller with storyboards, but doesnt work, i set the custom class to the cell, and set delegate protocol but nothing happens, i debug a little but the expandabletableview property on the cell is always nil.. Any suggestion?

Issue with Height with a large text.

Hi sorry again but i have a doubt with some issue i have with the library, when i run the example and put a large "existing text" the table view doesn't set properly the height of the cell. Its possible to call a method of somethings for update the height before the cell display??? any suggestions?

Orientation Support

When the interface orientation changes, the height should be automatically adjusted. How do you propose this should be fixed/implemented?

No License Provied

I would greatly appreciate if you could provide a license file, so I can use your code. The Cocoapods spec says you published under MIT License, but unfortunately the corresponding license file is not included.

CollectionView support?

I'd like to be able to use this in a collectionview; do you know of any issues preventing this?

Optional methods not being called

All the methods in the @optional tag are not being called:

- (void)tableView:(UITableView *)tableView updatedHeight:(CGFloat)height atIndexPath:(NSIndexPath *)indexPath;
- (BOOL)tableView:(UITableView *)tableView textView:(UITextView*)textView shouldChangeTextInRange:(NSRange)range replacementText:(NSString *)text;
- (void)tableView:(UITableView *)tableView textViewDidChangeSelection:(UITextView*)textView;
- (void)tableView:(UITableView *)tableView textViewDidEndEditing:(UITextView*)textView;

My interface looks like this:

#import "ACEExpandableTextCell.h"

@interface PaymentDetail : UITableViewController<ACEExpandableTableViewDelegate>

The code that isn't called looks like:

- (void)tableView:(UITableView *)tableView textViewDidEndEditing:(UITextView*)textView{
    NSLog(@"tag=%ld",(long)textView.tag);
}

- (BOOL)tableView:(UITableView *)tableView textView:(UITextView*)textView shouldChangeTextInRange:(NSRange)range replacementText:(NSString *)text{

    NSLog(@"%@",text);
    return YES;
}

The method that is marked as required works great

- (void)tableView:(UITableView *)tableView updatedText:(NSString *)text atIndexPath:(NSIndexPath *)indexPath
{
    stop.copayPaymentType = text;
}

Am I missing something?

dataArray EXC_BAD_ACCESS (code=EXC_i386_GPFLT)

First of all Thanks a lot for an awesome life saver pack. Have inserted a couple more empty objects in the self.cellData array. I get EXC_BAD_ACCESS (code=EXC_i386_GPFLT) when ever I tried to access/read the array. Think it's because of accessing the self.cellData array many times. Need help. Looking forward to fixing my issue..! I am using an UITextView.

can't resign

[textView resignFirstResponder];
the keyboard can't down

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    ๐Ÿ–– Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. ๐Ÿ“Š๐Ÿ“ˆ๐ŸŽ‰

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google โค๏ธ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.