i am trying to design a table View just like collection View, for example their is two cell in a every row . . .Found similar solution on https://github.com/scasserly/GridTableView but i can not able to understand the solution and also it isn't working now . .
Related
I am working with custom xibs for tableview .My requirement is to use swipable cards . I followed this https://stackoverflow.com/a/35883176/5362916 and achieved some part but i want to show next cell after swiping 1st cell similar to feedly & inshorts app . I want to use tableview because there are two custom cells . Please help me to achieve this using tableview . Is it possible with tableview? otherwise any other .
I want to add a tabs pager view with 5 tabs and each tab contain uitableview as subview on uitableviewcell . The problem at the height of each uitableview , I should update the cell height every the user swipe or press on any tab and reload the tableview each time . Is it correct ? . Sometimes, the view is hanged . So Is there any solution for this problem .
Thank you,
Nada Gamal
Looks like the architecture of the app is a bit off. You sure should avoid such a deep nesting of tableViews within tableViews. There are multiple & excellent native UI alternatives like a StackViews or traditional UIScrollViews, Collection Views that you should consider utilizing.
Such a hierarchy of tableViews is definitely not recommended & you should evaluate alternate implementation strategies rather than waste valuable time debugging this.
I have just started learning IOS swift development and I am creating a UITableView and have a prototype cell . I have 2 labels City and State . As shown here
The fields obviously work correctly however what is happening is that the city and state labels are messing up and not appearing one after the other. Instead it shows one on top of the other like this
How can I make it so that one label is not on top of the other ? like Chicago,IL . I been looking at other postings here but they mainly deal with html and not IOS any help would be appreciated .
I want to make animations like the "trello" iOS app . In that app there are many uitableviews placed horizontally on a scrollview. Now user can long press any rows of the table and can drag it to another table. The user can also reorder rows in the selected table or in other tables as well .I have tried some solutions and logic that allow user to drag rows to another table but its not working properly . It is just in the starting stage so it have many bugs.
If you can provide me some samples that can help me to my goal or some ways which i should do to make this features than that would be much appreciated .
Thanks.
I have gone through many of sites. But I didn't get the way to achieve it .
As so far , I came to know that using UITableView we need to make custom cell with some stuff of code and lots of stuffs on some custom design like GridView etc
https://github.com/tanin47/UIGridView [Here it is ok to modify but I'm actually looking for within 1 class file].
.
Here is actually I need to look to do design as like below image .
Here, I have done so far by using THIS LINK. but it is not useful for me.
if anyone knows please share your thought , any help or suggestion should be appreciable.
You can create a your own Custom UITableViewCell and design it in such a way it contains multiple UIButtons arranged Horizontally and seperated by seperators image . Here each UIButton will be representing a seperate column and also different selector methods must be added as target for different buttons within the cell . The UIButtons that are vertically aligned in different rows must have the similar Selector. In order to differentiate between buttons you can set their tag as the indexPath.row for the respective row .
I hope this might solve your problem :)
If you are looking for a grid like view you could very well use a UICollectionView and do some tweaking with design.