Page

struct Page

Page Model for PageController

  • Page title

    Declaration

    Swift

    var title: String?
  • Page description

    Declaration

    Swift

    var description: String?
  • Page image

    Declaration

    Swift

    var image: UIImage?
  • Empty init

    Declaration

    Swift

    init()
  • Initialize a page

    Declaration

    Swift

    init(title: String, description: String, image: UIImage)

    Parameters

    title

    page title

    description

    page description

    image

    page image

  • Get predefined pages

    Declaration

    Swift

    func getPages() -> [Page]

    Return Value

    an array of Page