From 4ad6b8ac56fabcd898c10ff578abd28dcc67af1e Mon Sep 17 00:00:00 2001 From: Sho Ikeda Date: Wed, 5 Sep 2018 11:43:05 +0900 Subject: [PATCH] [Example] Update PostCell to use contentView We need to place subviews onto UITableViewCell's contentView (to use `UITableViewCell.insetsContentViewsToSafeArea`). --- .../Example/Base.lproj/Storyboard.storyboard | 10 +- Example/Example/Helpers/PostCell.xib | 99 ++++++++++--------- 2 files changed, 59 insertions(+), 50 deletions(-) diff --git a/Example/Example/Base.lproj/Storyboard.storyboard b/Example/Example/Base.lproj/Storyboard.storyboard index 605b37b..94e103b 100644 --- a/Example/Example/Base.lproj/Storyboard.storyboard +++ b/Example/Example/Base.lproj/Storyboard.storyboard @@ -1,11 +1,11 @@ - + - + @@ -40,7 +40,7 @@ - + @@ -460,6 +460,7 @@ + @@ -481,6 +482,7 @@ + @@ -600,6 +602,7 @@ + @@ -621,6 +624,7 @@ + diff --git a/Example/Example/Helpers/PostCell.xib b/Example/Example/Helpers/PostCell.xib index 1c00f9d..5234c22 100644 --- a/Example/Example/Helpers/PostCell.xib +++ b/Example/Example/Helpers/PostCell.xib @@ -1,57 +1,62 @@ - - + + + + + - + + - - - - - - - - - - - - - - - - - - - - - - - - - - - - - + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + - - - + + + - - + +