Constants

The following constants are available globally.

  • Category for components that have a header-like appearance, usually used for header components

    Declaration

    Objective-C

    static const HUBComponentCategory HUBComponentCategoryHeader = @"header"
  • Category for components that have a row-like appearance, with a full screen width and a compact height

    Declaration

    Objective-C

    static const HUBComponentCategory HUBComponentCategoryRow = @"row"
  • Category for components that have a card-like appearance, that are placable in a grid with compact width & height

    Declaration

    Objective-C

    static const HUBComponentCategory HUBComponentCategoryCard = @"card"
  • Category for components that have a carousel-like apperance, with a swipeable horizontal set of child components

    Declaration

    Objective-C

    static const HUBComponentCategory HUBComponentCategoryCarousel = @"carousel"
  • Category for components that have a banner-like appearance, imagery-heavy with a full screen width and compact height

    Declaration

    Objective-C

    static const HUBComponentCategory HUBComponentCategoryBanner = @"banner"
  • Default namespace assigned to all components when using the default component fallback handler

    This namespace will be used as a default when an application doesn’t supply its own HUBComponentFallbackHandler when setting up HUBManager.

    Declaration

    Objective-C

    static NSString *const HUBDefaultComponentNamespace = @"default"