Giter Club home page Giter Club logo

bgtableviewrowactionwithimage's People

Contributors

benguild avatar bestwnh avatar klauslanza avatar manishsan avatar tomaskraina 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

bgtableviewrowactionwithimage's Issues

How can I use this in Swift 2.0?

I'm trying to write this in Swift 2.0, I really appreciate if you can help me with this.

+ (instancetype)rowActionWithStyle:(UITableViewRowActionStyle)style title:(NSString *)title backgroundColor:(UIColor *)backgroundColor image:(UIImage *)image forCellHeight:(NSUInteger)cellHeight handler:(void (^)(UITableViewRowAction *, NSIndexPath *))handler;

Thank you in advance. :)

RowAction highlighted.

Thanks for this awesome library!

Is it possible to highlight the row action only when it's tapped?
More like highlight it at the state similar to .touchDownInside for an UIButton.

Swipe cells different width.

Cells with different labels length gets different width.
Should be possible to choose a width to keep it uniform.

As a solution for now: just pad the shortest label with right/left spaces to reach the longest one size :-)

same_size
differnet_size

How to use this library with row height = AutomaticDmension

Hey guys, I have a trouble. My tableview set rowheight = UITableviewAutomaticDimension, so I can not get row height value (height = -1).
Therefore, I can init a JATableViewRowAction with a true heigh.
Pls help me, what should I do???

Wrong width on ios11

Hello now the width is smaller than the button so the image and text cuts off

Third button does not show content

No matter what I'm trying, the only argument that gets used from the third button (blue in this example) is the background color. Neither the image nor the text gets displayed.

iOS 10.3.1, Xcode 8.3.3, BGTableViewRowActionWithImage 0.4.1.

screen shot 2017-09-04 at 12 59 32

Cannot get CGContext while initializing BGTableViewRowActionWithImage

Hello!

I'm trying to create an object of BGTableViewRowActionWithImage:

  • (NSArray *)tableView:(UITableView *)tableView editActionsForRowAtIndexPath:(NSIndexPath *)indexPath {

    BGTableViewRowActionWithImage *bgTableViewRowAction = [BGTableViewRowActionWithImage rowActionWithStyle:UITableViewRowActionStyleNormal title:@"On map" titleColor:[UIColor whiteColor] backgroundColor:[UIColor blueColor] image:[UIImage imageNamed:@"show_on_map"] forCellHeight:tableView.rowHeight handler:^(UITableViewRowAction *action, NSIndexPath *indexPath) {

    }];

return @[bgTableViewRowAction];
}

But system writes me an error in Console:
: CGContextSetFillColorWithColor: invalid context 0x0. If you want to see the backtrace, please set CG_CONTEXT_SHOW_BACKTRACE environmental variable.

How can I fix this problem?

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.