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
@MainActor 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 -
A container that can loosen selected edges of its
customViewfrom its layout margins.When both edges of an axis are flexible,
See morecustomViewmust provide its own size on that axis through intrinsic content size or constraints.Declaration
Swift
@MainActor public final class EdgeAligningView<CustomView> : UIView where CustomView : UIView -
A container that arranges two views along a horizontal or vertical axis.
Hiding either view makes the other fill the arrangement axis.
See moreDeclaration
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 : Sendable -
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