MMMPaddedView

Objective-C

@interface MMMPaddedView : UIView

Swift

class MMMPaddedView : UIView

Wraps a view padding it from all the sides.

  • The view being wrapped.

    Declaration

    Objective-C

    @property (nonatomic, readonly) UIView *_Nonnull view;

    Swift

    var view: UIView { get }
  • Undocumented

    Declaration

    Objective-C

    @property (nonatomic, readonly) UIEdgeInsets insets

    Swift

    var insets: UIEdgeInsets { get }
  • Undocumented

    Declaration

    Objective-C

    - (id)initWithView:(UIView *)view insets:(UIEdgeInsets)insets NS_DESIGNATED_INITIALIZER;

    Swift

    init(view: UIView, insets: UIEdgeInsets)
  • Unavailable

    Undocumented

    Declaration

    Objective-C

    - (id)init NS_UNAVAILABLE;
  • Unavailable

    Undocumented

    Declaration

    Objective-C

    - (id)initWithFrame:(CGRect)frame NS_UNAVAILABLE;
  • Unavailable

    Undocumented

    Declaration

    Objective-C

    - (id)initWithCoder:(NSCoder *)coder NS_UNAVAILABLE;