Classes

The following classes are available globally.

  • Range slider track layer. Responsible for drawing the horizontal track

    See more

    Declaration

    Swift

    open class RangeSliderTrackLayer: CALayer
  • the thumb for upper , lower bounds

    See more

    Declaration

    Swift

    open class RangeSliderThumbLayer: CALayer
  • Range slider view with upper, lower bounds

    See more

    Declaration

    Swift

    open class ViRangeSlider: UIControl
  • image view with a custom action button at the top right corner Note: the action button is currently not in used. It has been moved to the corner of the product card instead

    See more

    Declaration

    Swift

    open class ViImageView: UIView
  • fetch single image from photo library for cropping

    See more

    Declaration

    Swift

    public class SingleImageFetcher
  • Theme for ViSenze widgets quick and easy way to configure various UI settings such as font/color in all the widgets

    See more

    Declaration

    Swift

    public class ViTheme: NSObject
  • listen for events when user click on volume buttons used for taking photos with volume buttons

    Declaration

    Swift

    public class VolumeControl
  • present search results in either horizontal scrollview or vertical grid The layout is vertical and as follow: headerView - collectionView - footerView headerView generally contains the widget title such as You May Also Like footerView generally contains the Power by Visenze image

    See more

    Declaration

    Swift

    open class ViSearchResultsView: UIView
  • For user to confirm whether to keep image after taking photo from camera, select image from photo library optional to crop photo here

    See more

    Declaration

    Swift

    public class ConfirmViewController: UIViewController, UIScrollViewDelegate
  • Layout for a single product card The layout is dynamic depending on various configurations e.g. label/action button can be optional

    See more

    Declaration

    Swift

    open class ViProductCardLayout: StackLayout<UIView>
  • simplify construction of product card layout with builder pattern Not in used currently

    See more

    Declaration

    Swift

    open class ViProductCardLayoutBuilder: NSObject
  • Base/abstract class for a filter item that will appear in the filter bar This is not meant to be used directly. Should only instantiate the sub classes

    See more

    Declaration

    Swift

    open class ViFilterItem: NSObject
  • Filter category option similar to