LogoImageView

class LogoImageView
extension LogoImageView : CALayerDelegate, CVarArg, ContentView, CustomDebugStringConvertible, CustomStringConvertible, Equatable, Hashable, NSCoding, NSObjectProtocol, Sendable, StaticIdentifiable, UIAccessibilityContentSizeCategoryImageAdjusting, UIAccessibilityIdentification, UIActivityItemsConfigurationProviding, UIAppearance, UIAppearanceContainer, UICoordinateSpace, UIDynamicItem, UIFocusEnvironment, UIFocusItem, UIFocusItemContainer, UILargeContentViewerItem, UIPasteConfigurationSupporting, UIPopoverPresentationControllerSourceItem, UIResponderStandardEditActions, UITraitEnvironment, UIUserActivityRestoring

Undocumented

  • Storage for the constraints normally applied to the logo image view

    Declaration

    Swift

    var contentConstraints: ContentConstrainer
  • The mini logo image view gets generated at a size of 3 grid units or 24 points. Since the logo is placed slightly lower vertically than the profile image, we’ll report half its size for header height calculation when reportTrueSize is false (default)

    Declaration

    Swift

    func desiredHeight(forWidth availableWidth: CGFloat) -> CGFloat
  • Undocumented

    Declaration

    Swift

    required init?(coder: NSCoder)
  • Undocumented

    Declaration

    Swift

    override init(frame: CGRect)
  • Undocumented

    Declaration

    Swift

    override init(image: UIImage?)
  • Undocumented

    Declaration

    Swift

    override init(image: UIImage?, highlightedImage: UIImage?)
  • Simply a pass thru for the opposite of the isHidden flag.

    Declaration

    Swift

    var isVisible: Bool { get }
  • If set to true the logo’s .desiredHeight will report its real size, but by default this is set to false

    Declaration

    Swift

    var reportTrueSize: Bool