PageScroll


super: UIPageViewController on iOS

A page scroll view controller lets the user navigate between pages of content, where each page is managed by its own Window object. Navigation can be controlled programmatically by your app or directly by the user using gestures. When navigating from page to page, it displays a page-scrolling animation.

PageScroll

Events

  • Load() This event is called when the object becames available in the current runtime system.

  • WillShow() Use this event to be notified when navigation is about to be added to a view hierarchy.

  • DidShow() Use this event to be notified when navigation was added to a view hierarchy.

  • WillHide() Use this event to be notified when navigation is about to be removed from a view hierarchy.

  • DidHide() Use this event to be notified when navigation was removed from a view hierarchy.

  • Unload() This event is called when the object has been removed from the current runtime system (but not yet deallocated).

Properties

  • var bounds: Rect The bounds rectangle, which describes the view’s location and size in its own coordinate system.

  • var frame: Rect The frame rectangle, which describes the view’s location and size in its superview’s coordinate system.

  • var statusBarVisibility: StatusBarVisibility A value indicating whether the status bar should be visible.

  • var statusBarStyle: StatusBarStyle The style of the status bar.

  • var windows: List Array of windows currently managed by the PageScroll.

  • var selectedWindow: Window or Navigation Represents the current Window in the PageScroll.

  • var selectedIndex: Int Represents the current window index inside the PageScroll.

  • var pageControlBackgroundColor: Color Description not yet ready.

  • var pageControlOnColor: Color Description not yet ready.

  • var pageControlOffColor: Color Description not yet ready.

  • var pageControlIndicatorDiameter: Float Description not yet ready.

  • var pageControlIndicatorSpace: Float Description not yet ready.

Methods

  • func open() Open window in currently displayed window or navigation using the destination object default behaviour .

  • func openIn(window: Window or Navigation)

    TargetWindow.openIn(ContainerWindow);
    Open callee object (TargetWindow) inside parameter object (ContainerWindow) using its default behaviour. Note that TargetWindow and/or ContainerWindow can be a Window or a Navigation.

  • func openWindow(window: Window or Navigation) Add the Window to the PageScroll and set it as the selected Window.

  • func selectWindow(window: Window or Navigation, animated: Bool = true) Set the Window as the new selected Window, optionally animating the scroll motion.

  • func selectIndex(index: Int, animated: Bool = true) Set the Window at the specified index as the new selected Window, optionally animating the scroll motion.

  • func openModal(TransitionStyle: TransitionStyle) Open window modally usign the specified transition style.

  • func close() Close window if modally opened.

    Enumeration

      StatusBarVisibility

      • .Default
      • .Hidden
      • .Visible


      StatusBarStyle

      • .DarkContent
      • .Default
      • .LightContent


      TransitionStyle

      • .Cards
      • .CoverVertical
      • .CrossDissolve
      • .Crossfade
      • .Cube
      • .Default
      • .Explode
      • .Flip
      • .FlipHorizontal
      • .Fold
      • .NatGeo
      • .NotAnimated
      • .PartialCurl
      • .Portal
      • .Turn