Currently I have a UITableView that uses UITableViewCell that displays images from arse.com. I was wondering if I could add another UITableView inside the UITableViewCell to display an comments.
Short answer: Yes
Long(er) answer: HELL NO!
You are just opening an entire can of worms... What problem do you hope to solve by this, that is not solvable by using UITableViewCell subclass?
Related
I want to learn and implement the most suitable/simple solution to display dynamic data (JSON) in three lines and an active (clickable) download icon. Screenshot is attached
I would be glad to get your ideas and advice!
Thanks
UITableView is the way to go, as you can reuse a custom cell you define. And to add to that, UITableView's cells are loaded lazily and are reused. You can use a UIScrollView but if you have a lot of rows it can horde your memory real fast. In your case, a UIScrollView can be used as well, but if you plan on expanding, UITableViews would be the choice. All in all, go with a UITableView + a custom UITableViewCell
If you have array of data like this, the best way is using UITableView class. With UITableview, you can custom your UITableViewCell on the fly
I want to use more then one custom cells for my cell application.
Can anyone suggest me the approach do it.
TIA
I am trying to create a similar collection view as ![this][1]
[1]: https://i.stack.imgur.com/Wwqas.png image in tableview but i have no clue how to do it. My data is coming from server using web service.
How to achieve this ?
This is seems like UICollectionView inside UITableViewCell for independent scrolling
Please go through below link for more detail...
Click here
You will have to use UICollectionView inside your custom UITableViewCell.
The flow should be like this:
UITableViewCell --> UICollectionView --> UICollectionViewCell
I was wondering to implement UICollectionView within my UITableViewCell, so just want to know Is that possible. Any link that would guide me, would be much better. Thanks in advance.
Yes You can, place collection view inside UITableViewCell as like normal objects. and configure collection with help of tag or index path
I'm creating an app that will get data from an RSS feed and I want to know how I recreate something similar to the Facebook app 'containers'
An example of what I mean is below.
How would I go about recreating the boxes where the statuses are held?
To achieve your desire result you have to create custom table view cell using UITableViewCell and arrange views as per your need by creating subclass of UITableViewCell
Just create a UITableView with different prototype cells and then deque the appropriate cell identifier in cellForRowAtIndexPath.
You probably have to subclass UITableView for achieving the desired effects such as indentation etc.
After that you have to make custom view for each cell and return them from the method cellForRowAtIndexPath