Extras
-
A container
See moreUICollectionViewCellthat constraints its contained view to its margins.Declaration
Swift
@MainActor public final class ContainerCollectionViewCell<CustomView> : UICollectionViewCell where CustomView : UIView -
A delegate of
See moreContainerCollectionViewCell/ContainerCollectionReusableViewshould implement this methods if it is required to participate in containers lifecycle.Declaration
Swift
public protocol ContainerCollectionViewCellDelegate : AnyObject -
A container
See moreUICollectionReusableViewthat constraints its contained view to its margins.Declaration
Swift
@MainActor public final class ContainerCollectionReusableView<CustomView> : UICollectionReusableView where CustomView : UIView -
A container view that helps to layout the message view and its accessory
See moreDeclaration
Swift
@MainActor public final class MessageContainerView<AccessoryViewFactory, MainView> : UIView where AccessoryViewFactory : StaticViewFactory, MainView : UIView -
See moreCellLayoutContainerViewis a container view that helps to arrange the views in a horizontal cell-alike layout with an optionalLeadingAccessoryfirst, aCustomViewnext and am optionalTrailingAccessorylast. UseVoidViewFactoryto specify thatLeadingAccessoryorTrailingAccessoryviews should not be allocated.Declaration
Swift
@MainActor public final class CellLayoutContainerView<LeadingAccessory, CustomView, TrailingAccessory> : UIView where LeadingAccessory : StaticViewFactory, CustomView : UIView, TrailingAccessory : StaticViewFactory -
Alignment for
See moreCellLayoutContainerViewthat corresponds toUIStackView.AlignmentDeclaration
Swift
public enum CellLayoutContainerViewAlignment -
Container view that allows its
See moreCustomViewto have lose connection to the margins of the container according to the settings provided inEdgeAligningView.flexibleEdgesDeclaration
Swift
@MainActor public final class EdgeAligningView<CustomView> : UIView where CustomView : UIView -
This container view is designed to hold two
See moreUIViewelements and arrange them in a horizontal or vertical axis. It also allows to easily change the order of the views if needed.Declaration
Swift
@MainActor public final class SwappingContainerView<CustomView, AccessoryView> : UIView where CustomView : UIView, AccessoryView : UIView -
A container view that masks its contained view with an image provided.
See moreDeclaration
Swift
@MainActor public final class ImageMaskedView<CustomView> : UIView where CustomView : UIView -
A transformation to apply to the
See moreImageMaskedView.maskingImageDeclaration
Swift
public enum ImageMaskedViewTransformation -
A container view that keeps its
See moreCustomViewmasked with the corner radius provided.Declaration
Swift
@MainActor public final class RoundedCornersContainerView<CustomView> : UIView where CustomView : UIView -
A factory that creates optional contained
See moreUIViews should conform to this protocol.Declaration
Swift
@MainActor public protocol StaticViewFactory -
Use this factory to specify that this view should not be build and should be equal to nil within the container.
See moreDeclaration
Swift
@MainActor public struct VoidViewFactory : StaticViewFactory
Extras Reference