I want to implement a table which is similar to the tv guide that you see in Yahoo app on iPad. The user needs to be able to scroll horizontally, vertically and even diagonally. The cells have to be resized dynamically based on the content.
Is this possible using UITableView or AQGridView? Or is there any other other approach to implement this kind of an interface?
You can achieve such behavior using a rotated UITableView inside a UITableView
have a look at this tutorial:
http://www.raywenderlich.com/4723/how-to-make-an-interface-with-horizontal-tables-like-the-pulse-news-app-part-2
Related
i have question regarding one screen which i should implement in app, as iOS giving us various possibilities i don't know which one is the best practice for this current task.
Sections as visible on the screen should scroll and while we select one of them, should show unique data.
Scrolling Data Is Static.
My ideas:
1) Create multiple tableView's to support scrolling and get button actions.
2) Using the scrollView - programmatically add buttons on scrollview with multiple IBActions.
3) Modify UIPickerController to support such template.
As i mention there are lot of options and maybe i have missed more, but question is: In which way you would finish this tasks and how do you think is right way to handle such a design because on iPhone 5s we know that this UIView will be resized and will be smaller so UIView should be inserted in ScrollView itself.
My requirement is basically listing some details of an employee.
So, it is a list of 100s of employees.
The app is an iPad landscape application. The screen will look somewhat as follows.
I was thinking of a UITableView with a custom cell, that contain labels horizontally arranged on it as per my client's requirement.
But on considering the multitasking in iOS 9, I now face an issue in using this as I will not be able to maintain the same layout if the view reduce to 1/3rd or 1/2.
Now the best option I can think of is to use a UICollectionView with the labels shown as rows. That is something as follows:
I would like to get your suggestions on this and the best practises to be considered on designing a similar layout.
I'm working on a project where I need to use 3 storyboards, one for iPhone 5, the other for iPhone 6, and the last for iPhone 6+. I need to implement Swipeable UITableCells to show more options in this project.
I followed this tutorial: http://www.raywenderlich.com/62435/make-swipeable-table-view-cell-actions-without-going-nuts-scroll-views to semi-successfully get this done, but the problem is that this requires auto layout and manipulating constraints to make the table cells swipeable via a UIPanGestureRecognizer.
Is there any way to achieve the same user experience without using constraints? I'm kinda new to UIPanGestureRecognizer, so any advice on how to start on this would be wonderful, or if there are any tutorials out that that do the same things without using constraints.
UIPanGestureRecognizer is used to detect if user have clicked the screen.Check this link
You are using UITableView then you wont need UIPanGestureRecognizer . Try using
AutoLayout And become familyer with it .
Try to check following tutorial for tableview Create a Simple Table View App , Customize Table View Cells for UITableView , How To Handle Row Selection in UITableView
If you have got problem with auto-layout ask it I would try to help you out
I have a brief that requires a swiping panel view to display a staged fitness plan event - basically I need something that swipes uitableview sections horizontally similar to the way the suggested Apps panel works - i'd need to use custom cells - no idea if this is possible as I cant find any information anywhere to guide me - does anyone have any experience or can offer any advice!?
At the simplest level you can just stick a UIScrollView in the cell. If you need to put a lot of elements in there and performance is a concern you would use a UICollectionView with a layout like the built in UICollectionViewFlowLayout with horizontal scrolling. Then, each of those elements would just be a UICollectionViewCell.
I am working on an animation application. I would like to have an horizontal UITableView or horizontal UIScrollView that will show little images representing a drawing at page X.
Since that my animation app can easily have 200 drawings, this means that my UITableView or UIScrollView can contain 200 images.
Finally, I would like to implement UIAnimation, where the user will be able to reorder the images by drag and dropping. I would like to have something smooth...
I have 2 questions :
Which classes is the better for memory management? I think I understood UITableView automaticly unload cells that are off screen, not UIScrollView. Is that true?
Which one might be easier to implement, considering possible heavy load? (I found this for horizontal UITableView : EasyTableView
Thank you
You should look into tiling with UIScrollView. There have been some very good sessions talking about advanced use of UIScrollView at WWDC over the past three years, and the videos of those sessions are available if you're a registered developer. They'll show you how to use UIScrollView's tiling feature to load just the content that you need, much as UITableView loads only the content that it needs.
As far as I'm aware, UITableView doesn't work in a horizontal mode, so UIScrollView is currently your only choice if you're only considering classes in Cocoa Touch. I'm sure there are some third party options, but I don't know enough to recommend one.