Right to Left form with XLForm in iOS - ios

I have two questions:
How can I create a Right to Left form in XLForm (Right label and
Left TextField or other widgets) I tried to get the label or text
field frame but that wasn't helpful.
How can I create a multi valued table with reorder and delete
actions that last button perform a segue and then the result creates
a new row. Assume I want to add multiple pictures and the last row
of table is "Add New" button. but my problem is a delete sign will
appear at the left of that row too. On the other hand I don't want
to add a row like a text filed but I want to set a segue result as
new row.

Related

How to repeat text fields when I hit the submit button in swift 3

I am making a fitness app using swift 3.
What I am trying to do is to have a text field where the user enters the exercise then under that another three text fields (one for the sets, reps, and weight). When the user clicks the "Add exercise button" underneath it repeats these text fields so the user can fill in the next exercise and so on.
How do I get the four text fields to pop up again after the user presses the "Add exercise button?
Thanks
Make Simple TableList. when hit Submit button just increase Field List Count . TableList has only cell in start .
func addNewField(){
FieldListCount = FieldListCount + 1
tableView.reloadData
}
You can do that with UICollectionView and add footer to collectionView. For example:
Create a collectionView, each cell in collectionView has some textFields. And footer of this collectionView has a button "Add new exercise".
When button is tapped, add new cell to collectionView.
Preferred Solution :
User Custom Text Field view and on the press of submit button, after that add that TextField View into UIScrollView with increment in Y position. If use tableList some textField will not be created(not in memory) until the user will scroll the table list.

Toggle Custom UITableViewCell Radio Button

I have a custom cell where it displays a table like structure with multiple columns.
Each row has a column that is a button that will perform different tasks.
My issue is trying to get the middle column to communicate its state with the other rows.
Initially everything will be grey (not selected) but, when I tap the middle column button, the state will be green. When I select a different row that button will turn green and the previous row would be grey.
Again, each column in the row is a button that does something different (i.e. the right button loads up a modal view). I have tried to use
didSelectRowAtIndexPath but, with the overlapping custom views it does not seem to read the selection.
Any help would be appreciated

Conditionally formatting multiple rows with the same conditions

I am looking to format 500+ rows of data and essentially, G5-K5 (in every row) needs to be highlighted a light color (any color) if J5 equals "Regular".
This same condition will exist in every row, so it should be simple - but I am not an excel master by any means. I just don't think it's necessary to create 500+ conditions for each row!
That is actually pretty simple.
You right click one of the cells to do the formatting(one with
regular for example) and select Conditional Formatting on the menu.
Then you make sure the Range is the cell you right clicked, select
"The text is exactly" in the list and type "Regular in the field
under it.
Select the color under that field and press the blue button.
After that you just need to press the paint format tool(the paint
roll) and drag all the cells you want to have the same
behaviour(probably the entire column of the right clicked cell).

how to edit text in uitableview cells by toggling section visibility

I have a uitableview with multiple sections. I want to let user edit all rows of one section. The text is originally displayed with UILabels in section (Say section B). Is it possible to do something like this?
Add an extra section (Say section C) with UITextView, and the same content as section B, But keep it hidden.
Add an edit button somewhere so when user hits it, Section B hides, Section C shows up with two option buttons (Update, Cancel).
Depending on what they choose, perform the action (say submit to server if Update is clicked, or Cancel and move to step 4 if cancel button is pressed)
Hide the editable section C, Show section B (with new content if edited).
OR is there a better way to do this?

Different column's behavior in Infragistics.UltraGrid

I have an Infragistics.UltraGrid and I want to add a right-click event on it. I have 6 columns in grid and when I click on last four columns of six I call context menu, but when I right click on first and second column nothing is happen.
By the way if I right click on first or second column and then right-click on other columns, my context menu disappear.
So can you please answer me what's wrong with first two columns?

Resources