UI Controller like in Apple's Book Application? - ios

First of all I'm new to IOS Development!
I have a plan to build an app which should look similar to the Book app provided by Apple.
My question is, that what kind of UI Controller does that app use for displaying the books on a shelf?
Is that a custom one? Or just a couple of UIImageView's placed on a UIView?
Thanks in advance!

It is a custom view created by Apple but it wouldn't be too difficult to replicate with a background image and a UIScrollView where the books are placed based on calculation on spacing
Edit: Maybe using a Library such as AQGridView would help you with the spacing of the books on the Shelf

Related

How to add a contacts app like modal view (iOS)?

I'm looking for a tutorial (video or written) explaining how to create the iOS contacts app and especially the "add" modal view.
So far I made my way through to believe that the iOS contacts app would be made using static table view cells but I'm not sure if that's a) right and b) still state of the art as almost all Youtube tutorials regarding static table view cells are more than 2 or 3 years old. Is there anything I'm missing?
Disclaimer: I'm learning to code using Xcode and Swift for a few months now, having taken 3 online courses but all sample apps are rather basic apps without much design and functionality or not in that way that I'd need them for my app idea (add and edit via modal view). Please bear with me as I think as a newbie I just don't know the right search expression to find these on say Youtube.
Thanks alot!
Welcome to Stackoverflow.
So far I made my way through to believe that the iOS contacts app
would be made using static table view cells but I'm not sure if that's
a) right
Static tableView is literally for static data. I checked the add modal screen of iOS contacts app, and the data there are very dynamic. So you won't be able to use static tableView for that.
So proceed with the dynamic tableView. However it would definitely require quite a lot of work if you would jump into that quite advanced UX. Another approach for adding a data, in an easier way, is to push a new screen for adding new contact, and then pop it when done. If you really want the iOS contacts app's UX, you may search on tableView begin/end updates.
and b) still state of the art as almost all Youtube tutorials
regarding static table view cells are more than 2 or 3 years old. Is
there anything I'm missing?
Someitmes there's no problem with old tutorials. They can still help. But be aware of deprecated stuff they are trying to teach.
If you are new in swift and xcode, so i recommend to learn swift5 and SwiftUI.
we are using storyBoards but in SwiftUI every things had change.
It is new and it will grow so fast.
https://www.udemy.com/course/ios-13-app-development-bootcamp/
this is not about contact app, but you can use this toturial for your goal

how to create same design like swiggy app payments screen in swift 4?

I have already tried with UITableview expand collapse but does not got effect like Swiggy payments wallet design screen. We need to create same design wallet design like Swiggy food delivery app in objective-c.
It's very basic question to start with but I would suggest learn more about the UITableView using default and custom cell you can achieve the same layout. Please do home work before asking such a simple question. If you want to learn then read and code. If facing issue while implementing then do come here with question.
https://www.ralfebert.de/ios-examples/uikit/uitableviewcontroller/custom-cells/
Custom UITableViewCell from nib in Swift

Xamarin iOS project need suggestion

I am developing a survey app using Xamarin and Mvvmcross. Can some one help with suggesting a way to build a View to display questionnaire. These questionnaire will be supplying from my View Model as a List of question with Question Text, Answer options. Based on a flag I need to prompt the questionnaire with input type as drop down or Text boxes. Number of questions can be vary.
In Android I achieved it using MvxGridView and Layout templates. But not sure how to do it in iOS.
You could look up UITableView or UICollectionView and UITextFields and UIPickerView
Wellcome to Xamarin, about your question you can just take look the code I wrote for others, it's a tableview include custom cell to display images, you can just modify the MyTableCell.cs class to display anything you want.
Custom cell tableview(Xamarin.iOS)
If you still need some help, just leave it here, I will check latter.
Hope it can help you.

ScrollView with multiple Views iOS Autolayout

I am a newbie iOS developer currently working for a small company. I started developing iOS only some months ago and i only know how to work with Swift and AutoLayout. I have a little bit of a situation since my boss asked me to do a complicated scrollable view that contains other type of views within it.
I made a sketch using wireframe that is available here: https://wireframe.cc/MU0PC6, and i will also leave a print screen. So my question is: Is this achievable using AutoLayout and Swift? If it is can you please help me do it? If not, can you please point to a good tutorial that can help me do it using nibs?
Thank you, and sorry for my english and newbie skills.
Here is the screenshot
In order to create complex scrollable layouts with different elements and sections you should use a UICollectionView.
You can read into it here:
UICollectionView Tutorial
All the different parts of the layout would be individual UICollectionviewCells and you can control the size of them through UICollectionViewDelegateFlowLayout.
You can also build it using just UIScrollView and AutoLayout of course but the UICollectionView approach saves you a lot of headaches and when developing for iOS the UICollectionView is one of the most vital UI components anyway.

iOS 9 Swift 2: horizontally scrollable views? Facebook's "suggested friends/groups"

I am writing an iOS app in Swift 2 using Xcode 7.
I want to display a set of a user's trophies. For this, I am imagining a horizontally scrollable display as each trophy image is small, but users can have more trophies that fit across a screen.
You can see a Sketch example here: i.stack.imgur.com/VtpEc.png
I first thought that I could use a UIScrollableView, but I don't think this will work because user's are NOT supposed to be able to zoom into these trophies. BUT, if UIScrollView is the way to go, then how do I go about implementing it horizontally and without zoom? The most similar feature in an app that I have found is in Facebook's iOS app. Facebook uses these "horizontally scrollable views" for suggested friends/groups.
You can see what I am talking about in this screenshots: Facebook Horizontal Scroll
This feature also seems to be built in to Apple's iOS. When choosing which action to perform, users are presented with a "horizontally scrollable list" of apps to choose from.
See what I'm talking about here: built in iOS horizontal scroll
I would appreciate any help that anyone can offer! Thank you!
They're using a UICollectionView with an horizontal flow layout.
This more detailed answer might help you to figure out how to implement it: https://stackoverflow.com/a/19435898/5741377

Resources