From 73f513074a39f9d76b9e936877b499318a7ff836 Mon Sep 17 00:00:00 2001 From: Alexis Aubry Date: Thu, 5 Oct 2017 13:55:52 +0200 Subject: [PATCH] Infer generic type of container views --- Example/Sources/PetSelectorBulletinPage.swift | 2 +- Sources/BulletinInterfaceFactory.swift | 2 +- 2 files changed, 2 insertions(+), 2 deletions(-) diff --git a/Example/Sources/PetSelectorBulletinPage.swift b/Example/Sources/PetSelectorBulletinPage.swift index a1ccbbe..0d47aac 100644 --- a/Example/Sources/PetSelectorBulletinPage.swift +++ b/Example/Sources/PetSelectorBulletinPage.swift @@ -153,7 +153,7 @@ class PetSelectorBulletinPage: BulletinItem { button.accessibilityTraits &= ~UIAccessibilityTraitSelected } - let buttonContainer = ContainerView(button) + let buttonContainer = ContainerView(button) buttonContainer.layer.cornerRadius = 12 buttonContainer.layer.borderWidth = 2 diff --git a/Sources/BulletinInterfaceFactory.swift b/Sources/BulletinInterfaceFactory.swift index 91b543a..fc73746 100644 --- a/Sources/BulletinInterfaceFactory.swift +++ b/Sources/BulletinInterfaceFactory.swift @@ -117,7 +117,7 @@ public class BulletinInterfaceFactory { actionButton.layer.cornerRadius = 12 actionButton.clipsToBounds = true - let actionContainer = ContainerView(actionButton) + let actionContainer = ContainerView(actionButton) actionContainer.heightAnchor.constraint(equalToConstant: 55).isActive = true return actionContainer