CopyableCell: A UITableViewCell Subclass for Making Cells Copyable
UITableView is one of the most frequently used views of Cocoa Touch framework. We almost always use it whenever we need to display a collection of data items. There are lots of ways to customize the appearance and functionality of a UITableView to make it meet the application’s needs. Sometimes we might want to enable users to copy UITableViewCells’ content.
CopyableCell class makes it easy to use a UITableViewCell with copy functionality. It’s a subclass of UITableViewCell class. Application code can interact with CopyableCell instances through the CopyableCellDelegate:
Following code snippet shows how to create CopyableCell instances:
To download the complete source code of the demo app on github as an Xcode project:
Git read-only url:
A screenshot from the demo app: