SASAdViewContainerCell

Objective-C

@interface SASAdViewContainerCell : UITableViewCell

Swift

class SASAdViewContainerCell : UITableViewCell

A SASAdViewContainerCell is a dedicated UITableViewCell which facilitates the integration of a SASBannerView inside a table view.

  • Returns an initialized SASAdViewContainerCell instance.

    Declaration

    Objective-C

    + (nonnull SASAdViewContainerCell *)cellForAdView:(nonnull SASAdView *)adView
                                          inTableView:
                                              (nonnull UITableView *)tableView;

    Swift

    /*not inherited*/ init(for adView: SASAdView, in tableView: UITableView)

    Parameters

    adView

    The ad view that will be displayed in the cell.

    tableView

    The UITableView instance which contains the cell.

    Return Value

    An initialized instance of SASAdViewContainerCell with proper reuseIdentifier, layout and autosizing.