I'd really like to program an interface similar to the shortcuts gallery as shown below:
(source: i.ibb.co)
So I'm thinking this would be a table view with custom cells and then some kind of paging view or collection view? Am I along the right lines?
Cheers for any help!
If you're looking to achieve this UI you'd need to implement a UITableVIew with nested UICollectionViews.
Another approach would be to use a UIStackView with UICollectionViews.
Related
like this~
GIF:
[enter link description here][2]
https://github.com/noties/Scrollable/blob/master/art/scrollable_colorful.gif
I amm sorry I didn't say clear. I also need to implement the vertical scroll .See GIF~
The best approach is to use a collection view and set its movement as horizontal, then you can create a custom collection view cell, insert an UIButton inside it and delegate to your view to populate it with the options you want.
You can refer to this tutorial to help you:
https://www.raywenderlich.com/136159/uicollectionview-tutorial-getting-started
There are lots of stack-overflow thread and community articles but i just want to know which one is better to show data like App store App(Vertical scrolling of apps and sometimes horizontal scrolling inside vertical scrolling). So far i understand below might be possible solution.
Solution 1:
Collection View inside tableView. So that products can be scrolled horizontally inside tableView cell.
Solution 2:
Number of collection View inside a scrollView stacked one after another if categories are specific.
Is there any better solution to make such type of scenario?. Your opinions will be highly appreciated. Thanks
A general suggestion based on my usage, create a tableview and inside it's tableviewcell create a collectionview. You may use staggered layout for a better user interface. That is what I have been doing, you will build it much easier.
Rest depends on your usage and requirement.
I have design the UI for the below screen as I am little bit confuse that what should have to use for the below screen. As you seen the on the screen below things:
1.Scrolling part of Images swap.
2.Again another Scrolling images Swap.
So here for the scrolling Images what should I use its Collection View for both or Pagecontrol for one and Collection view for other. Please suggest me.
Thanks and Appreciate for the help...
Use UITableView and in its cell use UICollectionCell so that you can scroll horizontally and vertically.
see Back image, this is how you can implemented output looked like.
As Tinu Dahiya pointed it correctly, You should use tableView and custom tableViewCells to achieve your UI design. This approach will also make your coding easy to handle dynamic contents which you might be fetching from server. For your reference you can directly use this control from cocoa controls. This control is ready made dish for you, you just have to implement your logic to achieve your functionality.
I have a page which I have to create in iOS. Below I have uploaded the screen shots of one page. How can I create this page. please suggest to some links or some ideas to create this interface.
This tutorial is what helped me. It's quite a lot to type out in an answer here. The big trick is adding a content view inside the scroll view and adding all your content to that content view
http://spin.atomicobject.com/2014/03/05/uiscrollview-autolayout-ios/
I am not vary experienced with using the UIScrollView but I think this is how you do it:
Search for the scroll view the Object Library and place it on you storyboard, then re-size it to your needs. (I am assuming you are using interface builder)
I am probably missing something here though.
If you already have a view that you would like to embed in a UIScrollView, go to "Editor" and select "Embed in scroll view":
I would use a UITableView here. UITableView is a subclass of UIScrollView. You can use the UITableViewCell's to break up the different components in your view.
I would like to recreate the interface below that allows the user to select a number by tapping a cell. What do you think is the simplest way to implement this? A UITableViewCell that has subviews added? A UIWebView containing an HTML table? Custom UIButtons?
Thank you!
//Scott
(source: spkant at home.comcast.net)
You can always use AQGridView or ATArrayView for creating those types of grid elements.
EDIT: As of iOS6, you should look into UICollectionView as it comes with the framework and it has more features.
Subclass UIView, draw and do the touch detection yourself.