DetailCommerceViewController

class DetailCommerceViewController : UIViewController
extension DetailCommerceViewController: UITableViewDelegate, UITableViewDataSource
extension DetailCommerceViewController: MFMailComposeViewControllerDelegate, MFMessageComposeViewControllerDelegate

Undocumented

  • Undocumented

    Declaration

    Swift

    @IBOutlet
    weak var shareButton: LGButton!
  • Undocumented

    Declaration

    Swift

    var shrdString: [String]
  • Undocumented

    Declaration

    Swift

    var commerceObject: Commerce!
  • Undocumented

    Declaration

    Swift

    var commerceID: String!
  • Undocumented

    Declaration

    Swift

    var prefFiltreLocation: Bool!
  • Undocumented

    Declaration

    Swift

    var hasGrantedLocation: Bool!
  • Undocumented

    Declaration

    Swift

    var routeCommerceId: String!
  • Undocumented

    Declaration

    Swift

    let userDefaults: UserDefaults
  • Undocumented

    Declaration

    Swift

    let composeVC: MFMailComposeViewController
  • Undocumented

    Declaration

    Swift

    @IBOutlet
    weak var imageScroller: ImageScroller!
  • Undocumented

    Declaration

    Swift

    @IBOutlet
    weak var pageIndicatorLabel: UILabel!
  • Undocumented

    Declaration

    Swift

    @IBOutlet
    weak var mapButton: UIButton!
  • Undocumented

    Declaration

    Swift

    @IBOutlet
    weak var mailButton: UIButton!
  • Undocumented

    Declaration

    Swift

    @IBOutlet
    weak var callButton: UIButton!
  • Undocumented

    Declaration

    Swift

    @IBOutlet
    weak var websiteButton: UIButton!
  • Undocumented

    Declaration

    Swift

    @IBOutlet
    weak var headerContainer: UIView!
  • Undocumented

    Declaration

    Swift

    @IBOutlet
    weak var headerImage: UIImageView!
  • Undocumented

    Declaration

    Swift

    @IBOutlet
    weak var nomCommerceLabel: UILabel!
  • Undocumented

    Declaration

    Swift

    @IBOutlet
    weak var categorieLabel: UILabel!
  • Undocumented

    Declaration

    Swift

    @IBOutlet
    weak var headerPartagesLabel: UILabel!
  • Undocumented

    Declaration

    Swift

    @IBOutlet
    weak var headerDistanceLabel: UILabel!
  • Undocumented

    Declaration

    Swift

    @IBOutlet
    weak var distanceView: UIView!
  • Undocumented

    Declaration

    Swift

    @IBOutlet
    weak var tableView: UITableView!
  • Undocumented

    Declaration

    Swift

    var sampleImagesUrls: [String]
  • Undocumented

    Declaration

    Swift

    var promotionsH: CGFloat
  • Undocumented

    Declaration

    Swift

    var descriptionH: CGFloat
  • Undocumented

    Declaration

    Swift

    @objc
    func updateAllViews()
  • Undocumented

    Declaration

    Swift

    func updateCommerce()
  • Undocumented

    Declaration

    Swift

    func saveCommerceIdInUserDefaults()
  • Undocumented

    Declaration

    Swift

    func loadSliderFromFetchedPhotos()
  • Undocumented

    Declaration

    Swift

    func loadPhotosFromDB()
  • Undocumented

    Declaration

    Swift

    @objc
    func shareCommerce()
  • Undocumented

    Declaration

    Swift

    override func prepare(for segue: UIStoryboardSegue, sender: Any?)
  • Undocumented

    Declaration

    Swift

    var sections: Int { get }
  • Undocumented

    Declaration

    Swift

    var heightForHeaderAndFooter: CGFloat { get }
  • Undocumented

    Declaration

    Swift

    func tableView(_ tableView: UITableView, cellForRowAt indexPath: IndexPath) -> UITableViewCell
  • Undocumented

    Declaration

    Swift

    func tableView(_ tableView: UITableView, numberOfRowsInSection section: Int) -> Int
  • Undocumented

    Declaration

    Swift

    func tableView(_ tableView: UITableView, heightForRowAt indexPath: IndexPath) -> CGFloat
  • Undocumented

    Declaration

    Swift

    func numberOfSections(in tableView: UITableView) -> Int
  • Undocumented

    Declaration

    Swift

    func tableView(_ tableView: UITableView, heightForHeaderInSection section: Int) -> CGFloat
  • Undocumented

    Declaration

    Swift

    func tableView(_ tableView: UITableView, heightForFooterInSection section: Int) -> CGFloat

Lifecycle + init function

Action buttons

  • Undocumented

    Declaration

    Swift

    @IBAction
    func mapAction(_ sender: Any)
  • Undocumented

    Declaration

    Swift

    @IBAction
    func mailAction(_ sender: Any)
  • Undocumented

    Declaration

    Swift

    @IBAction
    func callAction(_ sender: Any)
  • Undocumented

    Declaration

    Swift

    @IBAction
    func webAction(_ sender: Any)
  • Undocumented

    Declaration

    Swift

    @IBAction
    func shareActionCell(_ sender: Any)

Mail & SMS functions