iOS Slide menu with dynamic user image - ios

I want to make a slide menu in iOS like this type (Facebook / Pinterst or Gmail app) . I need the user information in Slide menu. I saw a couple of examples,but I can't find any one with user info image. Please give me any suggestion (I have tried it with AMSlideMenu).

I personally use and recommend PKRevealController.
This is easy and simple to use.
For image in your slide menu, you have to use UITableView and UITableViewCell with image, by default none of slide menu will provide you this feature.
Do the following:
Step 1: Setup PKRevealController to your project
Step 2: Make UITableView as your LeftViewController
Step 3: Set Image to your UITableView's cell.
Download Sample Project

We use https://github.com/John-Lluch/SWRevealViewController. We use a custom UITableView for this, so you can put any image you like on top of the UITableView or use a header...

This is a very easy to integrate and smooth slide menu
BMSlideMenu

Related

Multiple Photos in slideshow type display within viewController?

I am new to Xcode (started a few days ago).
I'm trying to find a way to get a few photos or videos in a display where the user can scroll or tap through as they desire. There will be multiple viewControllers each with a different set of photos.
Is there any existing UI type data types I can just drag and drop to make this work? Or is this out of range of the capabilities for someone not using code specifically.
I know Java, C, C++, MATLAB, etc. but never have toyed with Objective-C until now. Point being, I should be able to follow any logic you can throw at me, but I'm unfamiliar with the GUI and layout of Xcode as a whole.
This is what I currently have.
This is what I want. Perhaps with functionality to tap to full screen the image or swipe to go to another image. (This image was made with photosop. I don't actually have the picture file in Xcode because I don't know how)
SOLVED: Placed desired images in "Supporting files" content folder inside Xcode. This allowed me to select which photo I want displayed in which ImageView. To fix the proportionality issue where photos in Simulator are far too large, I simply added height and width constraints along with some other centering aspects and got the desired result.
Add UICollectionView in your view and set flow of collection view is horizontal make cell size that you want to keep.
Take a look at UICollectionViewController where you can display multiple cells with embedded views for your images, and consider segueing between them via a UINavigationController.
Edit: Now that you've added screenshots, I'd recommend using a UICollectionView embedded on your subclass of a UIViewController instead of a UICollectionViewController. This should give you more flexibility.

how do I set image and text both in top tabbed bar?

I want a functionality similar to this image:
Top segment like tab bar is scrolling and it contains icons and title which are dynamic and upon selection, sub categories are also dynamic added in collection view from web-service. I have manages all things except icons before title in upper tab swipe.
Used this library to achieve all : CarbonKit
Anyone here know how do i add that icons with title text or any other third party controller I can use? Please suggest
i think it is custom segment controller . You can use this framework
https://github.com/HeshamMegid/HMSegmentedControl
for making custom segment like this .
Well i had created a control for requirement similar to yours,
It is built using UICollectionView(for header) and UIPageViewController. I had created a basic cell for this and right now it is not customisable. Code is available on Github, you can give provision to use custom cell in that.

iOS UI - App Store Explore section Transition

I was wondering if this nice master-detail transition where you click on the tableView cell and it expand to disclose the detail , with the cell's label being the navigation bar title is an interface which is part of the SDK object library or it is a customised one?
This is a custom transition between ViewControllers.
There's a nice example of a few transitions (including this one) in this library.
Of course you'll need to add the tableview etc' but this is a great place to start.
I've tried few things but so far this is the best option I could think of.
Animating the frames of all the visible cells and making use of childViewController is how I achieved it.
Animation test project
https://github.com/armaluca/iOS-App-Store-Explore-Section-Animation
Would be nice to know any other possible solution and ultimately to know how Apple did it!
It is custom implementation.There is no API in UIKit/UITableView which implements this behaviour. Only animation to present a cell is there(which I think is used here).
This behaviour can be implemented like-
Add sections(News, Productivity, etc) in table with zero cells(numberOfRowsInSection: = 0 for all sections). Then on tapping any section just reload that section(reloadSections:withRowAnimation:) by adding a cell to it(numberOfRowsInSection: = 1) and animation(maybe UITableViewRowAnimationMiddle). Scroll that section/row to top in same animation loop(UI update cycle).

Two functionality for left slide ios

I am building an iphone application which is a aster details app. By default, the left slide for the table cell gives the delete option. But i want to add one more option to that (Edit). Just like the latest whatsapp does. Can anyone give pointers how to proceed with this and oblige.
You can use this library to setup a custom swipe with custom buttons:
Custom Table cell view

How to make a login screen like Facebook app?

How can I make a login screen like the Facebook app with "Email" and "Password" textfields?
Facebook Login
I'm really new to iOS programming, sorry if this is an easy question.
First of all you have to understand UIViews and UIViewControllers creation and management.
Then, you could ask your self if you want to create the interface through xib files or programatically. The first way is quite simple. By means of drag and drop operations you could create a user interface in a short time. The second, instead, is more complex for a newbie but I think it could be a valid solution to understand stuffs.
Note that each operation that you do in xib files can be done programatically.
Now, I'll try to explain what elements you need to create that interface.
To create the interface like the following you could create a xib view interface. The view for this interface is the container for your elements. To the container view you could add a UITableView with a grouped style. This UITableView has 2 rows and each row allows to enter text by means of UITextField. To do this, you have to create it programatically. No chance to do it with xib.
Login and signup can be created with two UIButtons. To those buttons you need to attach some actions.
Finally the background image could be set programatically as a background image for your container.
This is a simple description on how to create such an interface. Before starting, I suggest you to read some tutorial on how to:
Use UIView and UIViewController
Create interface trough xib
Interact with interface xib through outlet and actions
Use UITableView and understand its management
Customize or editing UItableViewCell
Use UIImageView and/or UIImage
A good starting point for iOS application development could be www.raywenderlich.com/tutorials.
Hope it helps.
1)In your Xib file..add an image view..set it to the image you want..that will be background like in the Facebook pic.(blue) and that image should include middle (email and password background) part as well.
2) Drag and drop UITextField on it. Make the background custom.
Since you are new..I will point out the details..and then you search on them that way you will understand better :
Search on each of these things on google..cant give info for each.
1)In your Xib file..add an image view..set it to the image you want..that will be background like in the Facebook pic.(blue)
2)The middle part is a UITableViewCell with one section and 2 rows..search on it..
3) And the Log in and sign up are UIButtons..add them in xib and make them IBOutlets..again search on it

Resources