I want to implement a sidebar menu like Spotify:
I think it's pretty difficult.
Important features:
when the sidebar appears, the main view should transit to the left
sidebar should fill the full screen, not only a part of the screen
=> This solution does not cover the the full screen
menu should be available from every screen except login screen
close the sidebar by swiping the main screen to the right
=> Same functionality like the spotify app
Could you help me finding the right path to the solution?
Which controllers do I have to take?
How should I combine them?
Do you know well written tutorials?
Update
Solution Nr. 1
=> Try to implement it at the moment!
Followup Questions
I don't need the RightMenuView Controller and some other features.
Does it make sense to rewrite the code in Swift?
There are many tutorials on the net... For example:
http://code4app.net/category/menu
http://www.raywenderlich.com/78568/create-slide-out-navigation-panel-swift
Related
While many UI-elements are easy to create in SwiftUI, thereĀ“s one I'm struggling with. I don't know what it's called, but I'm talking about the bottom-search bar which turns into a full-blown sheet akin to the one shown when calling .sheet(isPresented:) when dragged up.
Here's a visual:
Screencap of the mentioned UI-element in the Shortcuts app
I realize there's a good chance this isn't possible yet, but I thought asking was worth the shot :)
I am very new in iOS development and wanna make design similar to my Android app.
below is the Image of Android App that I wanna replicate in iOS.
any help, source or reference would be appreciated.
Description:
Screen 1 : Screen one is main page with filter list on top (blue patch)
Screen 2 : By tapping change filter whole screen slides down and behind screen get visible (which holds filter)
Screen 3 : Highlighted part changes with other page on basis of menu selection.
sorry for bad English, but i hope you guys understand.
Thank you in advance
You can have two view controller screen(One Main Screen and another for Filter). There is no concept of fragments. What I prefer I used to have xib for reusable view and storyboard for creating activity like your Android. Code for the same will be done in ViewController.
Using the air bnb app, if you click on the far right icon on the tab menu, it opens a user menu which slides in from the right over the top but only takes up half of the screen. The rest of the screen below is dimmed.
How can this be implemented? Does it require a custom segue or view controller container?
I have seen a similar feature to what your describing done before using a modal segue that instantiates a new view with a partially transparent background. You have given a vague question so I can't really provide a specific answer. Comment if you need more info.
Here is the app I saw it in, from a tutorial.
I'm starting a new iOS project in Swift, and my experience programming native iOS applications is minimal, so please bear with me if I use some whacky terminology or overlook some simple solutions.
I'm looking to replicate a pattern in the Instagram application, as seen here:
Selected Tab
Swiping Transition
For those who don't use Instagram, what's essentially going on here is something like a UIPageViewController (with swiping functionality), but with the tabs on top indicating the selected page.
Like in Instagram, I'm planning to have this functionality within a child UIViewController of a UITabBarController (you can see the "main" tabs on the bottom).
What I started out doing was creating static tabs and adding left and right gesture recognizers to the child UIViewController, which would change the page and update the indicator of the selected page on the tabs.
This works but I'm not really loving the way it looks, nor the way it's written. I don't like the idea of needing 2 instances of the tabs, and that certainly doesn't seem to be the way Instagram is doing it, because as shown in the second image, the indicator slides between the tabs.
I've searched a fair bit, but all references to replicating Instagram patterns seem to be outdated and don't address this specific element. Like I said, though, I haven't been programming native iOS for very long (I'm an Android developer and have used Xamarin for iOS), so it's possible I'm just not using the right keywords.
I'd appreciate any help y'all can offer!
Thanks
I have a scroll view, and few buttons/images there. on clicking I would like such animation :
(image opens like )book cover opens, and related view controller opens with ease in animation and gets full screen.
Any thoughts ?
Something similar happening in cook app
Link of cook app : https://itunes.apple.com/us/app/cook/id687560846?mt=8
Edit : I have added animation, gif will run uninterrupted once completely loaded.
Might I suggest iBooksOpen, a library that provides a book opening animation. It's pretty lightweight and should meet your needs.
(Only drawback: it opens a single page to the whole screen, but you could adapt the geometry if you wanted a page-folding-open effect.)