Comments (1)
Hi @pprevalon:
What you have to do is to set the property of the cell "placeholder" to the value you want to appear in each cell.
So, for example, instead of the following line of code (taken from the example app SwiftFormsApplication):
row.configuration.cell.appearance = ["textField.placeholder" : "e.g. gethooksapp.com" as AnyObject, "textField.textAlignment" : NSTextAlignment.right.rawValue as AnyObject]
You would need to code the following:
row.configuration.cell.appearance = ["textField.textAlignment" : NSTextAlignment.right.rawValue as AnyObject]
row.configuration.cell.placeholder
= "e.g. gethooksapp.com"`
I will make a Pull Request now with the changes in the example app with this change ;)
I hope this helps !
Best regards,
RLRG
P.S.: I am new contributing to open-source projects so that I don't know how to close this issue, I suppose it is the admin of the repo the one responsible for doing it, isn't it?
from swiftforms.
Related Issues (20)
- Validation HOT 1
- How to set value to type label HOT 1
- Validation Not Working when Submit button is clicked
- [booleanSwitch] default value HOT 2
- new Xcode 9.2 warnings HOT 3
- Is the current HEAD releasable? HOT 1
- Error Argument labels '(rawValue:)' do not match any available overloads
- multilineText placeholder HOT 1
- Form validation
- How to open Camera or Gallery Alert
- Swift 4.2 Xcode 10 support HOT 1
- Reused Pickerview displaying the previous value
- Why your textfield cell can auto scroll keyboard topοΌ HOT 1
- 'automaticDimension' has been renamed to 'UITableViewAutomaticDimension' HOT 1
- swift 5 Xcode 10.2 support HOT 3
- Crash when setting font in cell appearance HOT 1
- Plans to upgrade time
- Picker format
- custom cell error
Recommend Projects
-
React
A declarative, efficient, and flexible JavaScript library for building user interfaces.
-
Vue.js
π Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.
-
Typescript
TypeScript is a superset of JavaScript that compiles to clean JavaScript output.
-
TensorFlow
An Open Source Machine Learning Framework for Everyone
-
Django
The Web framework for perfectionists with deadlines.
-
Laravel
A PHP framework for web artisans
-
D3
Bring data to life with SVG, Canvas and HTML. πππ
-
Recommend Topics
-
javascript
JavaScript (JS) is a lightweight interpreted programming language with first-class functions.
-
web
Some thing interesting about web. New door for the world.
-
server
A server is a program made to process requests and deliver data to clients.
-
Machine learning
Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.
-
Visualization
Some thing interesting about visualization, use data art
-
Game
Some thing interesting about game, make everyone happy.
Recommend Org
-
Facebook
We are working to build community through open source technology. NB: members must have two-factor auth.
-
Microsoft
Open source projects and samples from Microsoft.
-
Google
Google β€οΈ Open Source for everyone.
-
Alibaba
Alibaba Open Source for everyone
-
D3
Data-Driven Documents codes.
-
Tencent
China tencent open source team.
from swiftforms.