Skip to content

Commit ceac1e2

Browse files
author
Olga Konoreva
authored
Merge pull request #23
Update CHANGELOG.md
2 parents 0ec0cfa + aca7790 commit ceac1e2

File tree

1 file changed

+3
-1
lines changed

1 file changed

+3
-1
lines changed

CHANGELOG.md

Lines changed: 3 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -18,7 +18,7 @@ All notable changes of the library will be documented in this file.
1818

1919
**Migration notes**
2020

21-
- To mark UIViewController as item of SideMenu you should adopt `SideMenuItemContent` protocol instead of inheritance.
21+
- To mark UIViewController as item of SideMenu you should adopt `SideMenuItemContent` protocol instead of inheritance from `MenuItemContentViewController`.
2222
To show menu you should call `showSideMenu()` method from this protocol.
2323
```swift
2424
import InteractiveSideMenu
@@ -30,6 +30,8 @@ class KittyViewController: UIViewController, SideMenuItemContent {
3030
}
3131
}
3232
```
33+
Please, keep in mind, that now you are manipulating with `UIViewControllers` instead of `MenuItemContentViewControllers` in your `HostViewController` class.
34+
3335
- To customize animation you should now update ```transitionOptions``` property in ```MenuContainerViewColtroller``` class.
3436
```swift
3537
override func viewDidLoad() {

0 commit comments

Comments
 (0)