Giter VIP home page Giter VIP logo

mscmoreoptiontableviewcell's People

Contributors

futuretap avatar garyjohnson avatar lmjabreu avatar philippec avatar psobot avatar rhgills avatar scheinem avatar schneiderandre avatar xhacker 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  avatar  avatar  avatar  avatar

mscmoreoptiontableviewcell's Issues

iOS7 and allowsMultipleSelectionDuringEditing

Haven't had much time to see what's actually happening here, but when I set tableView.allowsMultipleSelectionDuringEditing = YES; in iOS7, MSCMoreOptionTableViewCell no longer allows 'swiping'. Continues to work just fine in iOS8 and seemingly iOS9.

Private API

You're using private API here (UITableViewCellDeleteConfirmationView, UITableViewCellScrollView) ... nothing against that if you make it robust and prepare for iOS8 where this might break, but you should obfuscate those strings, else you might get rejected.

Animation Broken When Deleting Last Object

I'm currently using NSFetchedResultsController as my table view data source and whenever I delete the last row in the table the cell deletes itself and the more and delete buttons are still present and then fade out looking really odd.

photo

More button difference in height!

Hi There,
Just a quick heads up, the more button is taller than the delete button. A fix would be pretty good! Thanks once again!

Add cocoapods spec

Great project, but it will be greater if we can use it with cocoapods ;)

Custom Table View Cells + Storyboard = Broken.

This doesn't work when using a custom table view cell.
I've added all the files properly (header search path etc).
The custom tableviewcell inherits from MSCMoreOptionTableViewCell.
The delegate is set properly on the cellForRowAtIndexPatha and the TVC inherits the delegate for MCMoreOptionTableViewCell
Here's the code:

  • (UITableViewCell *)tableView:(UITableView *)tableView cellForRowAtIndexPath:(NSIndexPath *)indexPath
    {
    static NSString *CellIdentifier = @"Cell";
    TaskCell *cell = [tableView dequeueReusableCellWithIdentifier:CellIdentifier forIndexPath:indexPath];

    // Configure the cell...
    [self configureCell:cell forRowAtIndexPath:indexPath];

    cell.delegate = self;

    return cell;
    }

  • (void)configureCell:(TaskCell *)cell forRowAtIndexPath:(NSIndexPath *)indexPath {
    Task *task = [self.fetchedResultsController objectAtIndexPath:indexPath];
    cell.titleLabel.text = task.taskname;

    cell.dayLabel.text = [self.dateFormatter stringFromDate:task.duedate];
    cell.dayHeaderLabel.text = [self.dateFormatter2 stringFromDate:task.duedate];

    cell.separatorInset = UIEdgeInsetsMake(0, 0, 0, 0);

    cell.detailsLabel.text = [NSString stringWithFormat:@"%@", task.inSubject.name];
    cell.headerImage.image = [self applyColor:[self colorForStringColor:task.inSubject.color] toImage:[UIImage imageNamed:@"header.png"]];
    cell.dayLabel.textColor = [self colorForStringColor:task.inSubject.color];

}


import "MSCMoreOptionTableViewCell.h"

@interface TaskCell : MSCMoreOptionTableViewCell

Any clues?

DEMO?

A demo would be nice!

Selection not working like Mail app

In the demo you have turned off selection completely. Turning it on seems to work, but not like in the Mail app.

In Mail if you reveal the buttons on a selected cell and then hide the buttons the selection remains. In your demo the selection is lost.

More button doesn't appear on iOS8

Only the delete button appears on iOS8. I haven't investigated the issue but I'm just noting it here so hopefully we can get an update.

Implementation example

Hello, I am new to developing for ios and am struggling to integrate its solution with my project. I wonder if there is any example implementation you know. Thank you

iOS 6 ?

Any chance to get it working with iOS 6 ?
Tnx
Roberto

After deleting a row, the next row has a slightly offset scroll

Hi, I'm having an issue where after I slide a row then hit delete, I remove the record from datasource and call reloadData on the tableview. The row disappears however in the row that was below it the moreOption scroll view has scrolled left by a couple of pixels. This means another row cannot be scrolled left until I scroll the tableView up or down slightly and the cell's offset is reset.

Has anyone else had this issue?

How to hide the confirmation view?

Hi, I want to add an edit button to the confirmation view, after clicking the edit button, I want the confirmation view to hide (revert to the original cell state). Is that possible?

Thank you.

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.