Skip to content

Latest commit

 

History

History
93 lines (66 loc) · 4.49 KB

CHANGELOG_EN.md

File metadata and controls

93 lines (66 loc) · 4.49 KB

#Change Log All notable changes to this project will be documented in this file.


1.2.4 (08/10/2016)

Released on Wednesday, August 10, 2016.

changed

  • Optimize appearance callbacks, fix unbalance error when call reloadDatareloadDataToPage:and switchToPage:animated: in viewWillAppear: method;
  • Delete VTLayoutStyleCustom, you can set the width of menuItem by itemWidth directly, it does not work when the value of layoutStyle is VTLayoutStyleDivide;
  • Add magicView:itemWidthAtIndex: and magicView:sliderWidthAtIndex: delegate methods, you can custom the width of menuItem or sliderView at itemIndex;
  • Deprecate property needExtendBottom, if you want realize translucent effect, you should set value UIRectEdgeAll to edgesForExtendedLayout;
  • Update the frame of page view before appearance callbacks be called;
  • Fix menu bar cannot auto scroll in some special conditions;
  • Improved the demo project, to show how to cache and read the page data;
  • Auto hide sliderView when menu titles are empty;
  • Rename internal files;
  • Other optimization;

1.2.3 (07/06/2016)

Released on Wednesday, July 6, 2016.

changed

  • Add preloading switch, you can control preloading logic by modifying property needPreloading.
  • You can custom sliderView and separatorView if you need.
  • You can clear memory cache by method clearMemoryCache.
  • Add new method pageIndexForViewController:, you can get the pageIndex of any page controller by this method, and also you can get the pageIndex of current page controller by category method vtm_pageIndex conveniently.
  • Method updateMenuTitles was renamed reloadMenuTitles, and property needExtendedBottom was renamed needExtendBottom.
  • Fix bug: unable to accurately focus on menu item when switch by handlePanGesture:.

1.2.2 (06/29/2016)

Released on Wednesday, June 29, 2016.

changed

  • Add new method reloadDataToPage:, support reload data and switch to specified page at the same time.
  • Optimize appearance logic, fix bug that multiple calls appearance methods(viewWillAppear:,etc), optimize multiple nesting.
  • Modify protocol VTMagicViewDelegate, method viewDidAppeare: was renamed viewDidAppear:, and method viewDidDisappeare: was renamed viewDidDisappear:.

1.2.1 (06/19/2016)

Released on Sunday, June 19, 2016.

changed

  • Add property itemScale, if you change it, menuItem will have zoom effect when switching.
  • Optimize menu bar.

1.2.0 (06/13/2016)

Released on Monday, June 13, 2016.

changed

  • Add property sliderExtension.
  • Optimize layout.

1.1.0 (06/04/2016)

Released on Sunday, June 4, 2016.

changed

  • Add property sliderStyle,you can show a bubble in menu bar by setting sliderStyle to VTSliderStyleBubble.
  • Add Center in demo project.

1.0.2 (06/02/2016)

Released on Thursday, June 2, 2016.

changed

  • Add new layout style VTLayoutStyleCenter.
  • Improved the demo project, add modules CenterDivide and Data.

1.0.1 (06/01/2016)

Released on Wednesday, June 1, 2016.

changed

  • Adjust the file directory.

1.0.0 (05/31/2016)

The initial version is released on Tuesday, May 31, 2016.

Features

  • You can custom every page controller by different identifier if you need, each one is independent.
  • VTMagic will automatically calls the appearance methods when user switches the page, it is convenient for you to manage the data, or do some other things.
  • Menu bar supports multiple layout style, you can change it by layoutStyle.
  • You can also custom menuItem if you need, it can display text and image.
  • You can get the nearest magicController in any child view controller which is conforms to <VTMagicProtocol>, after you import file VTMagic.h.
  • You can embed webview in any page, if the page can't scroll, you should call method handlePanGesture: to fix it(please refer to Data module).
  • The page is reusable and support auto rotate.
  • For more information please read file VTMagicView.h.