From 66a8ca36e42295cc8538092ffe4a191434d4e91c Mon Sep 17 00:00:00 2001 From: Shin Yamamoto Date: Sat, 24 Nov 2018 14:44:48 +0900 Subject: [PATCH] Fix FloatingPanelIntrinsicLayout - `.full` position's height must be the intrinsic height. - Work it for a safe area bottom anchor - Remove FloatingPanelIntrinsicLayout.contentViewController because it isn't actually needed --- .../Sources/Base.lproj/Main.storyboard | 43 ++++----- Examples/Samples/Sources/ViewController.swift | 79 ++++------------ Framework/Sources/FloatingPanel.swift | 26 +++++ Framework/Sources/FloatingPanelLayout.swift | 94 +++++++++++++++---- Framework/Sources/UIExtensions.swift | 11 +++ 5 files changed, 151 insertions(+), 102 deletions(-) diff --git a/Examples/Samples/Sources/Base.lproj/Main.storyboard b/Examples/Samples/Sources/Base.lproj/Main.storyboard index 903d620..aab8863 100644 --- a/Examples/Samples/Sources/Base.lproj/Main.storyboard +++ b/Examples/Samples/Sources/Base.lproj/Main.storyboard @@ -1,6 +1,6 @@ - + @@ -15,7 +15,7 @@ - + @@ -31,22 +31,22 @@ - + - + - +