From 975c5f364648559e6803865bb873c1800113bc72 Mon Sep 17 00:00:00 2001 From: Satish <35003745+Satish24sp@users.noreply.github.com> Date: Wed, 13 Sep 2023 20:24:27 +0530 Subject: [PATCH] Added support for multiple lines title text Added support for multiple lines title text with swipe menu segment style so that we can overcome the issue of text truncation. Support has been added in the below classes: 1. SwipeMenuView.swift at L38 to L41, and 2. TabView.swift at L218 to L224. Regards. --- .../contents.xcworkspacedata | 7 ++ Example/Base.lproj/Main.storyboard | 74 +++++++++++-------- Example/PopupViewController.swift | 40 ++++++++++ Example/ViewController.swift | 2 +- Sources/Classes/SwipeMenuView.swift | 4 + Sources/Classes/TabView.swift | 9 ++- 6 files changed, 103 insertions(+), 33 deletions(-) create mode 100644 .swiftpm/xcode/package.xcworkspace/contents.xcworkspacedata diff --git a/.swiftpm/xcode/package.xcworkspace/contents.xcworkspacedata b/.swiftpm/xcode/package.xcworkspace/contents.xcworkspacedata new file mode 100644 index 0000000..919434a --- /dev/null +++ b/.swiftpm/xcode/package.xcworkspace/contents.xcworkspacedata @@ -0,0 +1,7 @@ + + + + + diff --git a/Example/Base.lproj/Main.storyboard b/Example/Base.lproj/Main.storyboard index 3c3b591..39962e8 100644 --- a/Example/Base.lproj/Main.storyboard +++ b/Example/Base.lproj/Main.storyboard @@ -1,11 +1,9 @@ - - - - + + - + @@ -43,12 +41,12 @@ + - @@ -67,19 +65,19 @@ - + - + - + - + - + - + @@ -114,7 +112,7 @@ - + @@ -137,7 +135,7 @@ - + @@ -161,7 +159,7 @@ - + @@ -184,7 +182,7 @@ - + @@ -203,7 +201,7 @@ - + @@ -225,6 +223,22 @@ + + + + + + + + @@ -236,8 +250,8 @@ - -