All Versions
6
Latest Version
2.3
Avg Release Cycle
79 days
Latest Release
1341 days ago

Changelog History

  • v2.3 Changes

    February 20, 2018

    ๐Ÿ”„ Changed

    • ๐Ÿ“‡ Renamed SideMenuItemShadow to SideMenuItemOptions to allow for additional visual properties to be changed. (Sorry for the volitility. The new name gives better flexibility going forward.)
    • ๐Ÿšš Moved the drop shadow customization for the opened menu item to a property on SideMenuItemOption called shadow. Use the Shadow struct now to assign your custom values.
    • MenuContainerViewController's shadowOptions property has been renamed to currentItemOptions
  • v2.2.1

    February 09, 2018
  • v2.2 Changes

    February 09, 2018

    โž• Added

    • Ability to globally change the drop shadow of the current content view while the menu is open (#61)
    • ๐Ÿ†• New sample project controller to tweak the transition settings
    • โšก๏ธ Status bar color can now be updated on a controller by controller basis

    ๐Ÿ”„ Changed

    • ๐Ÿ”„ Changed default contentScale value from 0.88 to 0.86 (#53, #66, #72)
    • โšก๏ธ Updated sample project to better reflect the README demo gif

    ๐Ÿ’ฅ Breaking

    • โฌ‡๏ธ Dropped support for iOS 8
  • v2.1 Changes

    October 22, 2017

    โž• Added

    • ๐Ÿ‘ Swift 4 support
    • โ™ป๏ธ Code refactoring
    • Check if menu is opened before a transition

    ๐Ÿ›  Fixed

    • ๐Ÿ’ป Small UI fix of Sample, associated with iOS 11
  • v2.0 Changes

    June 07, 2017

    โž• Added

    • ๐Ÿ‘ UITabBarController and UINavigationController menu items support
    • ๐Ÿ‘ Rotation support
    • ๐Ÿ“š Public methods documentation in code
    • ๐Ÿ”„ CHANGELOG file

    ๐Ÿ”„ Changed

    • ๐Ÿ“‡ Renamed showMenu()/hideMenu() methods to showSideMenu()/hideSideMenu()
    • Reworked [Sample](./Sample)

    ๐Ÿ›  Fixed

    • Customization of spring animation parameters: [Issue #17]
    • Displaying horizontal images in [Sample](./Sample)

    Migration notes

    • To mark UIViewController as item of SideMenu you should adopt SideMenuItemContent protocol instead of inheritance from MenuItemContentViewController. To show menu you should call showSideMenu() method from this protocol. ```swift import InteractiveSideMenu

    class KittyViewController: UIViewController, SideMenuItemContent {

    @IBAction func openMenu(_ sender: UIButton) {
        showSideMenu()
    }
    

    }

    Please, keep in mind, that now you are manipulating with `UIViewControllers` instead of `MenuItemContentViewControllers` in your `HostViewController` class.
    
    - โšก๏ธ  To customize animation you should now update ```transitionOptions``` property in ```MenuContainerViewColtroller``` class.
    ```swift
    override func viewDidLoad() {
        super.viewDidLoad()
        let screenSize: CGRect = UIScreen.main.bounds
        self.transitionOptions = TransitionOptions(duration: 0.4, visibleContentWidth: screenSize.width / 6)
        ...
    }
    
    • โšก๏ธ Now you have possibility to update customization settings using viewWillTransition(to:with:) mehod. swift override func viewWillTransition(to size: CGSize, with coordinator: UIViewControllerTransitionCoordinator) { super.viewWillTransition(to: size, with: coordinator) var options = TransitionOptions() options.duration = size.width < size.height ? 0.4 : 0.6 options.visibleContentWidth = size.width / 6 self.transitionOptions = options }
  • v1.0 Changes

    January 23, 2017

    โž• Added

    • Left SideMenu with possibility to customize menu animation and content
    • Sample demonstrating using SideMenu library
    • README file