Possible to add a "sticky" header to a grouped table view? - objective-c

Is there a natural way to add a header for a grouped table view section that scrolls along with the user? The same as the way section headers can scroll in a normal table view?

You may want to take a look at this post: Cannot freeze the table header while scrolling the rows?
Personally, I think the best way to handle this would be to go with normal table view and customize the UITableViewCells and headers to be exactly what you want.

Related

Nice and easy way to move Table View Cells onto one single row under a section in a UITableViewController?

What would be the best way to make all the Table View Cells under a Table View section be on one row as if they were grid squares? I want to still use UITableView but just make the cells single square blocks that together fill up an entire row. (It would be similar to a Collection View except I want to use a UITableView to accomplish this).
Thanks in advance.
UITableView is single column and linear. You can't do what you're describing with it. That's the purpose of the UICollectionView; it's not limited in the format of the cells.

Creating a Table with Rows and Columns in iOS

I would like to create a table in iOS that have some rows and columns. We also have an option to add amounts to the table. A screenshot of the sample table is posted below:
The cells needs to be editable. Is there a way to implement this using the default UITableView in iOS. Or Is it a good to create it using buttons or textfields etc?
It would not be an easy solution but you can use a rotated (horizontal) UITableView inside each cell of a table view (vertical) just like the Pulse app. Using only labels makes it easy to manage but the "excel" look could be harder if you're planning handling events like selecting rows, sort...
Here's a two part tutorial on how to use horizontal tables (http://www.raywenderlich.com/) :
part 1 - part 2
In ios6 you can use a UICollectionView with a UICollectionViewFlowLayout to archive this. A UICollectionView works very similar to a UITableView, but gives you more control over how the cells should be displayed and aligned.
There is an open source solution on GitHub that supports iOS 4.3+ if you are still looking for options. I haven't actually used it, but it looks like works like UICollectionView.
PSTCollectionView
I created a table structure similar to this using tableview and scrollview .Think that could be helpful to you
You could get the sample project here
https://drive.google.com/folderview?id=0B-brvnZfBXwTU21VbmNNcnRSU2M&usp=sharing

How do I implement an iOS table view with letters on the side to navigate?

I want a table like the middle one in the image below:
I have a table ready with sections, and I want to achieve what this one in the middle has: small A-B letters where you could scroll and click for particular result.
How is that done? Do I need to select particular type of table or cell?
No, this is just a standard UITableView. You need to implement the sectionIndexTitlesForTableView callback in it's datasource.

Table view inside a table view

In my app i am having a table view in which i am having buttons in which images are shown .Now what i want is that when i click on any image(button).then another table view has to be shown inside the first table view.Then i need to click on the images present in the second table view .How can i achieve that .Is it possible to create a table view inside other table view or i is there any other solution like creating a view and then adding images inside it.Please help.Any help will be appreciated.
Thanks,
Christy
It's definitely possible, but Apple advises not putting a UITableView inside another UITableView (it makes touch tracking and behavior significantly more complex).
The best solution depends on your exact situation, but if the sub-view contains a lot of data, you can move it off into it's own modal view, or you can create a static or semi-static view that is embedded inside your UITableViewCell when that cell is selected.

how to make the table view to scroll till the last row in the table

I have some 10 rows in my table. I can able to scroll the table view, but the scroll is not fixed. when i leave the scroll the table is again hiding the last row. Can any one help me out in this issue.
Thanks in advance
You need to adjust the size of table view and also set the autosizing in inspector from IB.
It is hard to give an opinion without any code, but have you checked that your Table is not larger that the size of the view? Maybe the bottom of your Table is just displayed outside the window.
If not, you shall post the code of your controller methods to get some more accurate help.
Are you using interface builder or everything is defined in the code?