From 2e948e2b8e78d61c0f3fec0c2623d32cd7e93b0a Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?=E2=80=9Cstanhu=E2=80=9D?= <3421902@qq.com> Date: Tue, 14 Apr 2020 14:58:24 +0800 Subject: [PATCH] fix the title --- Sources/GrandMenu.swift | 6 +++++- 1 file changed, 5 insertions(+), 1 deletion(-) diff --git a/Sources/GrandMenu.swift b/Sources/GrandMenu.swift index c9adfe3..961d984 100644 --- a/Sources/GrandMenu.swift +++ b/Sources/GrandMenu.swift @@ -9,7 +9,11 @@ import UIKit open class GrandMenu: UIView,GraneMenuItemDelegate { - open var arrItemsTitle:[String]? + open var arrItemsTitle:[String]?{ + didSet{ + setupItems() + } + } open var sliderBarLeftRightOffset = 15{ didSet{ setupItems()