- August 1, 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.
A Figma component preview for your SwiftUI views. You can use Figma components instead of real views within your app ...
Motivation At WWDC 2019, Apple announced SwiftUI a new library for building UI in a simple and fast way. Xcode’s ...
Make use of SwiftUI previews for rapidly prototyping your UIViewControllers and UIViews! The SwiftUI preview canvas is tied to a specific version of ...
Requirements Dev environment: Xcode 13+, macOS 12+ iOS 13.0+, macOS 10.15+, Mac Catalyst 13.0+, tvOS 13.0+, watchOS 6.0+ Usage
Horizontal wheel picker for SwiftUI Requirements iOS 13.0+ Installation CocoaPods