#Change Log All notable changes to this project will be documented in this file.
2.0.2 (19/06/2024)
Released on Thursday, May 17, 2024
- Added MAC Catalyst support
- Menu on the right side of the layout 'VTLayoutStyleRight' changed to
VTLayoutStyleLast
againstSafeAreaBottom
Deletes theagainstStatusBar
function- Add menu customization or use the third party method
setNavigationView
to change tosetMenuView
- Menu customization or compatible optimization using third party and built-in layout
2.0.1 (17/05/2024)
Released on Thursday, May 17, 2024
- Added navigation portrait mode of left and right layout
VTPositionStyleLeft
,VTPositionStyleRight
- Add menu customization or use third party
setNavigationView
- Added
navigationWidth
to navigation in portrait mode - Added
bubbleSize
to set absolute bubble size. Adapted to navigation portrait mode - Added
separatorWidth
separatorWidth setting. Adapted to navigation portrait mode - Increases
itemHeight
menu height. Adapted to navigation portrait mode
2.0.0 (01/06/2023)
Released on Thursday, June 1st, 2023
- VTMagicBox is a fork of VTMagic
- Added menu in the right hand layout
VTLayoutStyleRight
- Add the navigation bottom layout enumeration
VTPositionStyle
, withVTPositionStyleDefault
as the default andVTPositionStyleBottom
as the bottom - Adding
footerView
uses the same method as addingheaderView
- Navigation Adds
navigationSubview
at the bottom of the menu for adding background images, etc - Increase the offset of the
contentViewOffset
content container relative to the bottom of the navigation for designers - Add normalFont and selectedFont, the menu uses the default font and itemScale invalidates if the font is selected
- Increase
contentHorizontalAlignment
adjust the menu button aligned to deal with the designer's test
1.2.4 (08/10/2016)
Released on Wednesday, August 10, 2016.
- Optimize appearance callbacks, fix unbalance error when call
reloadData
、reloadDataToPage:
andswitchToPage:animated:
inviewWillAppear:
method; - Delete
VTLayoutStyleCustom
, you can set the width ofmenuItem
byitemWidth
directly, it does not work when the value oflayoutStyle
isVTLayoutStyleDivide
; - Add
magicView:itemWidthAtIndex:
andmagicView:sliderWidthAtIndex:
delegate methods, you can custom the width ofmenuItem
orsliderView
atitemIndex
; - Deprecate property
needExtendBottom
, if you want realize translucent effect, you should set valueUIRectEdgeAll
toedgesForExtendedLayout
; - 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.
- Add preloading switch, you can control preloading logic by modifying property
needPreloading
. - You can custom
sliderView
andseparatorView
if you need. - You can clear memory cache by method
clearMemoryCache
. - Add new method
pageIndexForViewController:
, you can get thepageIndex
of any page controller by this method, and also you can get thepageIndex
of current page controller by category methodvtm_pageIndex
conveniently. - Method
updateMenuTitles
was renamedreloadMenuTitles
, and propertyneedExtendedBottom
was renamedneedExtendBottom
. - 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.
- 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
, methodviewDidAppeare:
was renamedviewDidAppear:
, and methodviewDidDisappeare:
was renamedviewDidDisappear:
.
1.2.1 (06/19/2016)
Released on Sunday, June 19, 2016.
- 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.
- Add property
sliderExtension
. - Optimize layout.
1.1.0 (06/04/2016)
Released on Sunday, June 4, 2016.
- Add property
sliderStyle
,you can show a bubble in menu bar by settingsliderStyle
toVTSliderStyleBubble
. - Add Center in demo project.
1.0.2 (06/02/2016)
Released on Thursday, June 2, 2016.
- Add new layout style
VTLayoutStyleCenter
. - Improved the demo project, add modules Center、Divide and Data.
1.0.1 (06/01/2016)
Released on Wednesday, June 1, 2016.
- Adjust the file directory.
1.0.0 (05/31/2016)
The initial version is released on Tuesday, May 31, 2016.
- 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 fileVTMagic.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
.