- May 27, 2025
- Mins Read
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
}
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.
If you are already using CocoaPods, just add ‘FDTextFieldTableViewCell’ to your Podfile
then run pod install
.
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.
Light and scrollable view controller for tvOS to present blocks of text Description TvOSTextViewer is a view controller to present ...
TvOSSlider is an implementation of UISlider for tvOS. Description and usage TvOSSlider palliates missing an implementation of UISlider for tvOS as part ...
TvOSScribble, based on CoreML, mitigates the lack of a physical numpad area in Siri Remote implementing a handwriting gesture recognizer. ...
PIN keyboard for tvOS Description TvOSPinKeyboard is a view controller that allows easily asking for PIN codes in tvOs Requirements ...
📺 A tvOS button which truncates long text with '... More'. The TvOSMoreButton is a simple view which aims to ...