yalantis / guillotinemenu Goto Github PK
View Code? Open in Web Editor NEWOur Guillotine Menu Transitioning Animation implemented in Swift reminds a bit of a notorious killing machine.
Home Page: https://yalantis.com/
License: MIT License
Our Guillotine Menu Transitioning Animation implemented in Swift reminds a bit of a notorious killing machine.
Home Page: https://yalantis.com/
License: MIT License
When I close the menu ViewController, my main view is disable.
Can you help me?
Can you provide a code snippet for opening a new view controller on menu item click?
Hi,
I know it's "coming soon", but do you think to release a pod soon? It will be great to have one.
After that animation is finished in the two modes : Presentation & Dismissal , the UI doesn't respond :
Pleas help to use your lib in iPad !
When i press the bar button to open the menu view, the same button when pressed is very small. I just can't make the tab button bar button bigger.
Recently, I updated swift3 and Xcode 8.
well, I'm not yet understanding whole error code, but some error appears on framework source code related to animation.
when i set animationDuration lower than 0.15, dismiss animation will never stop. How could I make animation faster and without dismiss bug?
thank you.
Opened Preview
link in README and saw: Cannot proxy the given URL
when menu button is pushed and menu drops it took 1-2 sec to being activated and everything moves down about 20-30 pixels after that
Have you plan to code an Objective-C version of this great control?
Thanks,
Matteo
Good Day,
I ported my code to XCode 6.3 and got the following error, at runtime:
Could not find a segue class named 'GuillotineMenuSegue'
i use guillotineMenu in my application, it's work fine before ios 9, but when i try my application on ios 10,my menu item goes down. This problem comes when only i aaply constrain on my menu items. If i remove all constrain it works fine. my menu looks like below image url-
https://mail.google.com/mail/?ui=2&ik=b52cec5c23&view=fimg&th=15779dcf62a6d650&attid=0.1.3&disp=emb&attbid=ANGjdJ9ikGsbkM_xZhUJbIj61Ev2392UL5SyHA7xeI9oC7UlsMKAL6damrcsVs_j7U5ZzeG4JyaVmLt_V6DEJaTeU5ChW3fzlEluLq-UoGeW36Yn1vXDv4KqzivAzyw&sz=s0-l75-ft&ats=1475487755862&rm=15779dcf62a6d650&zw&atsh=1
It's working with animation like example for me, I think segue didn't given properly in my project.
how to give showmen segue to menu view controller?
I tried to add the GuillotineMenu to my app but i saw the menu button inside the menu view never appears because it returns an UIButton in the dismissButton variable and the button in the navigation bar is an UIBarButtonItem. I don't know if it's something i have to change or is something from a newer version of Xcode because i couldn't have access to the button within the uibarbuttonitem in the storyboard. I even had to change the code in the viewcontroller when i want to present the menu (presentationAnimator.presentButton = sender.customView as? UIButton) because the sender is an UIBarButtonItem.
Please let me know about this issue. If i must change something on my side or it's something different.
Thanks!
I was wondering is there a way you can get the navigation controller to show again when segueing normally to another viewController because when I do so the navigation controller disappears.
I copied the code from the example project and it won't run. The example project will run though. So Basically it is saying that there is errors of "use of unresolved identifier presentationAnimator and cellHeight.
As I said, the example project runs but not the copied code. I have included it in pod file and installed it and imported it.
What can I do to resolve this?
pod env | pbcopy
and no resultcarthage version | pbcopy
and carthage not installedChanging the duration does not change the animation speed whatsoever, just wondering what should be done to change the animation speed.
Dear Yalantis
Thanks for your excellent control.
I have integrated it into my Swift Project. However the compiler complained that GuillotineMenuViewController is undeclared.
To be able to compile successfully, I had to change the access in GuillotineMenuViewController.swift to public, e.g.
public class GuillotineMenuViewController: UIViewController {
instead of
class GuillotineMenuViewController: UIViewController {
In addition some of the routines and properties should also be public.
Kind Regards
Graham
The more information you provide, the faster we can help you.
Please describe what you want to add to the component.
Please add images.
Please replace this with what you did.
Please replace this with what you expected to happen.
Please replace this with what happened instead.
pod env | pbcopy
and insert herecarthage version | pbcopy
and insert herePlease add a link to a project we can download that reproduces the bug.
When menu is opened, images in the menu controller gets shrinked for almost 2 seconds
Hi there,
I love your menu! I am trying to use it in my IPAD only app. The animation is very slow in this case. I have tried setting :
private let duration = 0.6
Had no impact. Please give me an indication how to speed up the animation?
Can you help me out for converting swift to objective c? I'm new to objective c and swift.
so, what should I change time to 0.1 how can I do?
I feel the effect of spring effect so much..
The more information you provide, the faster we can help you.
Please describe what you want to add to the component.
Please add images.
Please replace this with what you did.
Please replace this with what you expected to happen.
When i click in FEED button, it is return to Activity UI, ??????????
pod env | pbcopy
and insert herecarthage version | pbcopy
and insert herePlease add a link to a project we can download that reproduces the bug.
Hi !
I have exactly the same problem than this : #17
But I use Xcode 8 and an iPhone 6S with iOS 10.1.1. The Example project works but I don't know why in my project it does not works.
It stops after willStartPresentation
.
Thank you for your help !
I'm not sure the general pattern for selecting different items in navigation and may need some guides for that. I'm really excited with this framework.
By the way, how to change default background color for GuillotineMenuViewController?
Hi :),
Thank you for your menu, it's so cool ^^.
But I don't understand something, how do you do to change view from the menu (from profile button by example) ?
May be i'm too tired lol but i tried all, and nothing works ...
Can you help me ?
Thank you.
The screen orientation is set to Portrait and Upside Down.
After the release of swift 2.2 a minor bug has been monitored.
If i open the app holding the device as "portrait" it works as expected.
If i open the app holding the device as "landscape" the menu behaves like pendulum.
I've tested it also in your example, by changing only the screen orientation of your example "GuillotineMenuExample"
Thanks in advance for help I probably missed something simple
I am a beging iOS Student I am having trouble manually installing
I get use of undeclared type "guillotineMenuViewController
I searched stack overflow for answers and went over project several times
Using Xcode 6.3 & iOS8.3
My project https://github.com/Ongomobile/GMenu
Just wanted to see if I could get the menu to work first
This is what I did
added Guillotine Menu file and assets from example, copied to project target selected and put under my file with project name
Created ViewController in interface builder and set class to GuillotineMeneViewController, it was in dropdown
In ViewController that comes with single view application I created bar button item and button in interface builder, connected button outlet to code
Controll dragged to GuillotineMenuViewController set segue to Custom and class GuillotineMenu it was in dropdown
In my ViewController I copied nav bar code from example to viewDidLoad, and copied prepare for segue after that
Tried to run and keep getting the error use of undeclared type "guillotineMenuViewController
here is my code from my view controller
import UIKit
class ViewController: UIViewController {
@IBOutlet var barButton: UIButton!
override func viewDidLoad() {
super.viewDidLoad()
let navBar = self.navigationController!.navigationBar
navBar.barTintColor = UIColor(red: 65.0 / 255.0, green: 62.0 / 255.0, blue: 79.0 / 255.0, alpha: 1)
navBar.titleTextAttributes = [NSForegroundColorAttributeName: UIColor.whiteColor()]
}
override func prepareForSegue(segue: UIStoryboardSegue, sender: AnyObject?) {
// Your Menu View Controller vew must know the following data for the proper animatio
let destinationVC = segue.destinationViewController as! GuillotineMenuViewController
destinationVC.hostNavigationBarHeight = self.navigationController!.navigationBar.frame.size.height
destinationVC.hostTitleText = self.navigationItem.title
destinationVC.view.backgroundColor = self.navigationController!.navigationBar.barTintColor
destinationVC.setMenuButtonWithImage(barButton.imageView!.image!)
}
}
I have added the menu through this code. in the menu view, I have one button to navigate to a second view controller. when I dismiss the second view controller menu dismiss icon is not visible in the menu view controller. Kindly help with this.
I don't have an iOS 7 device or simulator but my app must support iOS 7 min.
What part of code base stops it from being compatible with iOS 7. I don't seem to see anything that is iOS 8+
Can you guys tell me how to speed up the animation and how to make the screen take up only half of the screen when the animation is performed.
Hello there,
Just to let you know, i have experiencing an issue with the button on the top left corner.
When the first VC appears, the button has a good position, but as soon as i push on it to get the second VC, the button move on the maximum top and left corner...
When i push again to get back on the first VC, the button gets back its correct position...
I ve compared between my version and the example... but i don't find anything...
A declarative, efficient, and flexible JavaScript library for building user interfaces.
🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.
TypeScript is a superset of JavaScript that compiles to clean JavaScript output.
An Open Source Machine Learning Framework for Everyone
The Web framework for perfectionists with deadlines.
A PHP framework for web artisans
Bring data to life with SVG, Canvas and HTML. 📊📈🎉
JavaScript (JS) is a lightweight interpreted programming language with first-class functions.
Some thing interesting about web. New door for the world.
A server is a program made to process requests and deliver data to clients.
Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.
Some thing interesting about visualization, use data art
Some thing interesting about game, make everyone happy.
We are working to build community through open source technology. NB: members must have two-factor auth.
Open source projects and samples from Microsoft.
Google ❤️ Open Source for everyone.
Alibaba Open Source for everyone
Data-Driven Documents codes.
China tencent open source team.