xcode uitableviewcell options don't include identifier - ios

I am trying to change the identifier of my uitableviewcell in storyboards. The problem is that options pain doesn't have the option available anymore. See the image below:
As you can see the options are limited. How can I see the full range of options?

When I hover over the Table View Cell menu bar, there is an option to 'Show' which then allows me to set the identifier.

You minimized the area that allows you to edit the identifier and style etc. You need to click on the header called "Table View Cell", and it will expand the options for you. That's happened to me plenty of times. Hope that helps.

Related

How to make a menu (multiple button?) iOs

I am new in the development of iOS with swift, for the moment everything goes well but there is one thing that I blocked.
How this kind of menu?
How do you call this ? Because I do not even know what to look for because I do not know his name: /
Sorry for my bad english and thank you for your help :)
This can be made by using click on button open a view or open a tableview inside the table view put the label on each row and after that use didselectrowatindexpath method of tableview for click on each row open the new page or viewcontroller.
You can use table view to show dropdown menu. Show tableview on click and hide when select row. this is the basic concept. and if you not want to code your self then there many third party libraries available on github like DropDownMenu or dropdownment etc.
Note : standard way in ios for this kind of stuff(drop down or selection from multiple option) is UIPickerview, so you can use this also it very easy. so if not required to use hardcoded dropdown then pickerview is best option.
hope this will help :)

How to Use Custom UIButton in UITableViewCell?

I am trying to figure out the best way to apply UIButtons in tableViewCell, I've used tag method. like cell.customButton.tag = indexPath.row, then giving it a target.
But it din't work fine for me if the tableViewCell has may things to show with the same button in all the cells.
There are two options to show the title of the button , just like if we follow a user and unfollow, so after deleting or clicking on any button , it changes the title of some other button also , So, tag method isn't a good option I guess.. Any help would be appreciated.. Thanks!
Using a protocol in a custom table view cell class is what i would suggest:
check out this gitHub commit or download zip for the full project
Adding a Subclass and protocol to a UITableViewCell
I shall have this in the form of an answer later. let me know if you have any questions about the project

change order of list in tableview by clicking on whole cell

I currently have a 'tableview' with a list of items and I have enabled an 'edit' button to go into edit mode which shows the 'reordering controls' on the right side of the screen. I have also enabled 'canMoveRowAtIndexPath' and 'moveRowAtIndexPath:toIndexPath' to allow for the user to hold and drag the reorder control on the right side to reorder the list and have the data model update.
Is there a way to enable this but allow the user to click and drag the whole cell and not only the 'reorder controller'? Essentially I want to enlarge the area of the reorder controller's function to the whole cell when tableview is in editing mode.
for anyone else who is interested, I used this guide to get it working: b2cloud
the starting code template does not work as optimally since it has nib files and I'm using Xcode5 but it still works. The important code is all in the actualy tutorial as he lists how to set the reorder control to the size of the size via inserting it as a subview.
There is a way to enable this that allow the user to click and drag the whole cell and not only the 'reorder controller'!
Please check it out: https://github.com/FlorianMielke/FMMoveTableView
This might be helpful to you, Sir :)

How to customize multiselect edit mode for uitableview

Is it possible to customize the multiselect edit mode? So instead of the default selection icon (the circle with the checkmark), I need to show a custom one, with selected and unselected states.
I also need to indent the cell more to the right.
Obviously I would like to use as much as possible of the system provided animations.
HEre's a screenshot of the sample editing mode of uitableview. (My cell is much more complicated :)
Thanks,
Jason
You can customise the cell.. create a UITableViewCell with a UIButton and set the custom images you want for the selected and default states and load this custom cell in cellForRowAtIndexPath:

Right Detail Style in UITableView Controller not working

I'm reading this book that teaches non-programers how to create iOS App. It's a step by step book.
To create the App, we use Xcode. And on one of the steps, on the storyboard, we have to add a cell in the table view controller and use "Right Detail" Style. And here where my problem is.
When I select the Right Detail Style, nothing happens. I cannot add any data in the cell or type anything. The content of the table is static (not sure if that's relevant).
However, when I run the simulator, the cell would show the default text of the cell, which are Title and Detail.
I don't have this problem with the others styles (the Basic, Left Detail and Subtitle).
Here is a screenshot that might help explaining it more:
Bear in mind I know nothing about programming.
This is my first programming attempt. So please be gentle :D. Thanks!
First of all you need to learn how to code..
Double click on the title and detail labels in your cell, you will be allowed to edit them
OR
got to the document outline and select them from there to edit them

Resources