Two tier expand and collapse in ios [closed] - ios

Closed. This question needs to be more focused. It is not currently accepting answers.
Want to improve this question? Update the question so it focuses on one problem only by editing this post.
Closed 8 years ago.
Improve this question
I have a task in which I need to implement two tier or two level expand-collapse functionality. For example if I clicking on a cell say C1, one more cell will be displayed say C2 and again if I click on C2, one more cell say C3 will be visible. Here clicking again on these cell will hide them respectively. I searched on google for this but didn't get anything so if you guys have any solution for this please help me.
Thanks in advance.

Have a look at this github repository. I've used it in the past, and it has the potential to do exactly what you seem to want to achieve.

Related

how can I make a view like this [closed]

Closed. This question needs to be more focused. It is not currently accepting answers.
Want to improve this question? Update the question so it focuses on one problem only by editing this post.
Closed 5 years ago.
Improve this question
This is a check-in view, when people clicked the check-in button and according to their check-in date, the progress on this line will proceed.
Can you guys give me some suggestions, I'm so confused by how to start layout.Using UIBezierpath or other cases of solutions.
And how to solve the massive UILabel like +5,Day1 to layout and make constrains.PS: I use Masonry to make constraints, but It's really massive.
You can do with UISlider, below are some examples
G8SliderStep
GCXSteppedSlider
StepSlider

How to make periodic table in objective-c? [closed]

Closed. This question needs to be more focused. It is not currently accepting answers.
Want to improve this question? Update the question so it focuses on one problem only by editing this post.
Closed 5 years ago.
Improve this question
I want to create an app that show periodic table but I don't know how to do that simply. one way i thought was UICollectionView but it is not good way. I want to know what can I search and look for.
Thank You !
I take it you're talking about the periodic table of elements?
A UICollectionView is indeed a good way. You should watch the keynote of the 2017 WWDC. They demonstrate that very thing using new features of UICollectionView added in iOS 11, but you could do it without those new features as well.

Controls in iOS for quiz app with differing number of answers to questions [closed]

Closed. This question needs details or clarity. It is not currently accepting answers.
Want to improve this question? Add details and clarify the problem by editing this post.
Closed 6 years ago.
Improve this question
I'm working on a quiz app.
The thing I've noticed is that my questions may not always have a fixed number of answers. Instead of say, 4 possible answers and 1 correct answer, I could have 6 possible answers with 2 correct answers.
Is there a way to deal with this?
What I don't want to do is have buttons not in use.
At the moment I'm wondering if there is a way of having multiple view controllers depending on how many possible answers there are, or to have the buttons become inactive if there is no answer to be selected?
It is fully possible. You should use a TableView / CollectionView to achieve that.
You will be able to change the number of items, according to your answers count, and allow user to select from 0 to N answers.
Moreover, it it is reusable components, so you will have to design your UI for 1 question, and all the following will reuse the same layout

What is that? Cell or Table? [closed]

Closed. This question needs details or clarity. It is not currently accepting answers.
Want to improve this question? Add details and clarify the problem by editing this post.
Closed 7 years ago.
Improve this question
I am finishing my first app adding an About Us section. I want to create something like this there:
I want to insert the FAQ and website link but what is that? Is a custom cell? a Table?
Now I am using a simple button but I think that the option in the picture is more.
It's probably something very simple, please help.
That is a simple grouped section in UITableView, though cell is more likely to be custom one.

Trying to find the name of this "slidable UIView"? [closed]

Closed. This question needs to be more focused. It is not currently accepting answers.
Want to improve this question? Update the question so it focuses on one problem only by editing this post.
Closed 8 years ago.
Improve this question
Anyone know what the control is called to achieve the functionality shown here in the iOS Stocks app?
I've been searching Google for things like 'Slidable UIView' but can't find anything!
If you mean the graph, there's no native component for that, but you can use an external library, for example CorePlot:
https://code.google.com/p/core-plot/
If you mean the scroll view with pages, it's just a UIScrollView with a content size of several pages and a UIPageController attached.
Sliding View -> Have a look at this:https://github.com/dickverbunt/DVSlideViewController.
Besides that you need to have pageControl:https://www.cocoacontrols.com/controls/smpagecontrol
This is how the dots appear in the image.
Plotting Graph -> Have a look at this: https://code.google.com/p/core-plot/
Tutorial for PageControl with ScrollView: http://iosmadesimple.blogspot.sg/2013/01/page-control-for-switching-between-views.html

Resources