Closed. This question does not meet Stack Overflow guidelines. It is not currently accepting answers.
Questions asking us to recommend or find a tool, library or favorite off-site resource are off-topic for Stack Overflow as they tend to attract opinionated answers and spam. Instead, describe the problem and what has been done so far to solve it.
Closed 8 years ago.
Improve this question
first of all, sorry for the non-relevant title but I don't know how to exactly define it.
I would like to implement a tutorial like the one illustrated in the picture here below
how can I do that in iOS? Is there any framework, library, example or standard procedure to implement such tutorial? Or is it just a picture added on top of the main view?
Thanks!
Have a look at some of these controls. You should be able to get a good idea of how to approach this. Essentially, you are going to want to create a partially transparent Image and overlay that on the relevant view when you wish the tutorial to display. Create a tappable "hit zone" that covers the entire area of the image, so that a user can dismiss the overlay with a single tap.
Good Luck with your project!
Related
Closed. This question does not meet Stack Overflow guidelines. It is not currently accepting answers.
Questions asking us to recommend or find a tool, library or favorite off-site resource are off-topic for Stack Overflow as they tend to attract opinionated answers and spam. Instead, describe the problem and what has been done so far to solve it.
Closed 8 years ago.
Improve this question
I am trying to create a similar gallery interface including a checkbox which selects the corresponding image. I could create the gallery with UICollectionViewCell. Now wants to add the checkboxes for each image. Can anyone guide me how should i continue? I am planning to continue with a check box image , On touch event etc..Is there any built in controls or templates? Can anyone provide some useful links for me to continue.
Thanks in Advance.
First way
Just using an UIImageView and settings a state to the UICollectionViewCell. According to the status you have to change the UIImage inside the UIImageView.
SecondWay
Just using an UIButton with two UIImage: one for the normal state and one for the selected state. This probably aggravate the touch on the cell.
IMHO...
I suggest to use the first way. i.e when you select a photo you are in the editing mode: the touch select the photo and not show it in full screen mode. So, when you are in the editing modeyou can switch the behavior for the touch.
Closed. This question does not meet Stack Overflow guidelines. It is not currently accepting answers.
Questions asking us to recommend or find a tool, library or favorite off-site resource are off-topic for Stack Overflow as they tend to attract opinionated answers and spam. Instead, describe the problem and what has been done so far to solve it.
Closed 8 years ago.
Improve this question
I really like the way that there's a clean separation between hours and minutes.
Ideally on Cocoapods.
I actually want to use something similar for selecting weights and measures.
I don't think there is already a control on the web for that.
I searched on https://www.cocoacontrols.com/ which is a great reference for iOS & OSX custom controls made by users, and did not find anything like your pic.
But that would be really easy to do it yourself:
Use a first UICollectionView (with horizontal scrolling) to present cells displaying the hours ("20:00", "21:00", etc). You can use custom UICollectionViewCells to have a big label with the hours (for which you will provide an IBOutlet to change it for each cell) and a smaller label for the smaller ":00" part (without any outlet needed for this one)
Likewise, use a second UICollectionView for the minutes as well
Then you can build your time according to the selected cells in both collection views.
Or directly build an NSDate object using NSDateComponents to provide the hours and minutes components of your date separately, then building the date from the individual components.
Closed. This question does not meet Stack Overflow guidelines. It is not currently accepting answers.
Questions asking us to recommend or find a tool, library or favorite off-site resource are off-topic for Stack Overflow as they tend to attract opinionated answers and spam. Instead, describe the problem and what has been done so far to solve it.
Closed 9 years ago.
Improve this question
Some iOS apps come with a welcome screen that allows you to swipe through several pages and then lets you use the app. Usually they include a page control at the bottom to show progress of viewing the pages.
Is there a popular or standard library that is providing this functionality?
See also:
How to show a screen only on the first launch: Show screen on first launch only in iOS
Page view controller: https://developer.apple.com/library/ios/documentation/WindowsViews/Conceptual/ViewControllerCatalog/Chapters/PageViewControllers.html
I assume many of these are just custom made.
However check JazzHands by IFTTT, a library built for such screens with keyframe animations
JazzHands
Its quite simple,
Create a ViewController named WelcomeScreenViewController
Then setup UIPageControl and UIScrollView on the XIB, and load all the welcome images.
Handle UIScrollView delegate methods, and determine that you scrolled to the last page.
When you reach last page, hide the whole pagecontrol, and scrollview and show a Welcome Screen with Start option.
On touching start option, change the window.rootViewController to your actual Home screen. And too save in UserDefaults that you have shown the Welcome Screen.
Initially your window.rootViewController should be WelcomeScreen if you haven't shown it before.
The above should be the logic to implement what you are looking for.
Hope it helps.
Closed. This question does not meet Stack Overflow guidelines. It is not currently accepting answers.
Closed 8 years ago.
This question appears to be off-topic because it lacks sufficient information to diagnose the problem. Describe your problem in more detail or include a minimal example in the question itself.
Questions asking for code must demonstrate a minimal understanding of the problem being solved. Include attempted solutions, why they didn't work, and the expected results. See also: Stack Overflow question checklist
Improve this question
I would like to create something like the image below in my iOS app. What is the best way to approach this, note the rows and the columns can vary.
The easiest way I thought of was to insert html table into UIWebView, but not sure if there is a way to intercept radio button clicks like there is for a regular button by making it a "href link"
A little unrelated to what you have as the title of your question, but maybe look at using UISegmentedControl. It's the closest thing to radial buttons that exists in the Objective-C world.
If you went with a segmented control, you no longer need to worry about columns, intercepting touches, and a lot of the other problems you mention in your Question - it could all be done in a normal UITableView. You would have to create some custom UITableViewCell subclasses to get the segmented controls in, but there are a lot of good tutorials (YouTube, Apple Docs, SO) on how to set those up.
From iOS 6+ you could use the UICollectionView class to build up a grid. Managing the values in the data source (representing if a radio is checked or not) is something you'd have to implement yourself.
Closed. This question does not meet Stack Overflow guidelines. It is not currently accepting answers.
Questions asking us to recommend or find a tool, library or favorite off-site resource are off-topic for Stack Overflow as they tend to attract opinionated answers and spam. Instead, describe the problem and what has been done so far to solve it.
Closed 9 years ago.
Improve this question
can you please give me a direction how to achieve similar app picker like we can see on top of App Store (check out a screenshot)? I assume we are talking about collection view with one row and customized cell's size etc. but I couldn't find any sample/tutorial/external library.
Thanks!
Nick Lockwood's iCarousel is exactly what you are looking for.