Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

- Haptic Feedback added #34

Merged
merged 11 commits into from
Oct 20, 2018
Merged

- Haptic Feedback added #34

merged 11 commits into from
Oct 20, 2018

Conversation

kamrankhan07
Copy link
Contributor

  • Some code refactoring
  • Menu Button rotate image is added
  • Default values are changed

kamrankhan-chilindo and others added 8 commits October 8, 2018 16:14
- Some code refactoring
- Menu Button rotate image is added
- Default values are changed
Highlighted image made optional
Explode animation made optional
Reverted animation back
@monoqlo
Copy link
Owner

monoqlo commented Oct 10, 2018

@kamrankhan-chilindo

Thanks for your pull request!
I'll check it soon. Please wait a few days.

I don't have enough time to develop this library, so I'm so grateful for your help.

Copy link
Owner

@monoqlo monoqlo left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

@kamrankhan07 @kamrankhan-chilindo I appreciated your changes😂

But I found a few points to be discussed.
Please change it or describe your purpose.

@objc open var expandingDirection: ExpandingDirection = .top
@objc open var menuTitleDirection: MenuTitleDirection = .left
open var expandingAnimations: CustomAnimationOptions = [.move, .menuButtonRotate]
open var foldingAnimations: CustomAnimationOptions = [.move, .menuButtonRotate]
Copy link
Owner

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Please use [.default] or please describe the reason why this value should be [.move, .menuButtonRotate].

Copy link
Contributor Author

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

I will add default, I changed it because 'default' was using all animations and it was not desirable for me.


@objc open var allowSounds: Bool = true {
@objc open var playSound: Bool = false {
Copy link
Owner

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Please use true or please describe the reason why this value should be false.

Example/ExpandingMenu/ViewController.swift Outdated Show resolved Hide resolved
Copy link
Contributor Author

@kamrankhan07 kamrankhan07 left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

I have made all the changes, please check again.

@monoqlo
Copy link
Owner

monoqlo commented Oct 20, 2018

Thanks for your changes! I'll merge it.

@monoqlo monoqlo merged commit db60aef into monoqlo:master Oct 20, 2018
@kamrankhan07
Copy link
Contributor Author

Thanks

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

3 participants