PrettyKit icon indicating copy to clipboard operation
PrettyKit copied to clipboard

Contribution required usage changes

Open feyyy opened this issue 12 years ago • 3 comments

Hi vicpenap, I actually planned to send you a private message but I did not find any way to do this so Im writing this post.

I am starting a new iOS application and I think PrettyKit is what i need for my application. My application requires animated insertion and deletion operations but PrettyKit is not support those operation as I see. I would love to make required enchantment on PrettyKit but my enchantments are changing usage of the PrettyKit a little bit.

Usage Changes; 1- User of this library will not need to call "prepareForTableView: indexPath:" method of PrettyTableViewCell under "tableView:cellForRowAtIndexPath:" method of UITableViewDelegate. 2- User needs to use a class named PrettyTableView instead UITableView

Enchantments; 1- PrettyKit will support adding and deleting cells with animation. (Corners of cells will animate like native UITableViewCell class). 2- PrettyCells can be designed in interfaceBuilder. (Their appearance will not be able to edited in interfaceBuilder but their content will be).

If you are okay with these changes I will upload my changes with their documentation soon.

feyyy avatar Mar 29 '13 12:03 feyyy

Support for animation is a much needed update. The usage changes seems fine I think. If everything works as intended this could be a start for a 2.0 branch.

Amnell avatar Mar 30 '13 07:03 Amnell

Is there any way you can share the files with me and can you add a textfield to the cell i have been trying to add a textfield to the pretty kit cell and for some reason i haven't been successful.

TheAppleWizz avatar Apr 01 '13 18:04 TheAppleWizz

Using a custom UITableView class forces us to change UITableViewController's tableView property, and I don't know how safe it is when creating the view controller programmatically.

vicpenap avatar Apr 01 '13 19:04 vicpenap