Logo

0x5a.live

for different kinds of informations and explorations.

GitHub - fulldecent/FDTextFieldTableViewCell: A UITableViewCell with an editable text field

A UITableViewCell with an editable text field. Contribute to fulldecent/FDTextFieldTableViewCell development by creating an account on GitHub.

Visit SiteGitHub - fulldecent/FDTextFieldTableViewCell: A UITableViewCell with an editable text field

GitHub - fulldecent/FDTextFieldTableViewCell: A UITableViewCell with an editable text field

A UITableViewCell with an editable text field. Contribute to fulldecent/FDTextFieldTableViewCell development by creating an account on GitHub.

Powered by 0x5a.live 💗

FDTextFieldTableViewCell

CI Status Version License Platform Carthage compatible

Features

  • Fully featured like the Right Detail style
  • Adds a UITextField to the cell and places it correctly

Usage

Select a cell in your storyboard and use the inspector to change the Custom Class to FDTextFieldTableViewCell.

Switch to the attributes inspector and set the style to Right Detail.

In your UITableViewController subclass, do something like:

override func tableView(tableView: UITableView, cellForRowAtIndexPath indexPath: NSIndexPath) -> UITableViewCell {
    let cell = self.tableView.dequeueReusableCellWithIdentifier("textField") as! FDTextFieldTableViewCell
    cell.textLabel!.text = "hi"
    cell.textField.text = "editMe"
    return cell
}

Installation

Installation

Add this to your project using Swift Package Manager. In Xcode that is simply: File > Swift Packages > Add Package Dependency... and you're done. Alternative installations options are shown below for legacy projects.

CocoaPods

If you are already using CocoaPods, just add 'FDTextFieldTableViewCell' to your Podfile then run pod install.

Carthage

If you are already using Carthage, just add to your Cartfile:

github "fulldecent/FDTextFieldTableViewCell"

Then run carthage update to build the framework and drag the built FDTextFieldTableViewCell.framework into your Xcode project.

Swift Resources

are all listed below.

Resources

listed to get explored on!!

Made with ❤️

to provide different kinds of informations and resources.