MMMShadowView

Objective-C

@interface MMMShadowView : UIView

Swift

class MMMShadowView : UIView

Helper view for adding custom layer shadows, while taking the the shadow sizes in conserderation for its final frame.

  • View that can accepts and lay out subviews.

    Declaration

    Objective-C

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

    Swift

    var contentView: UIView { get }
  • Undocumented

    Declaration

    Objective-C

    @property (nonatomic, nullable) NSArray<MMMShadowViewSetting *> *settings

    Swift

    var settings: [MMMShadowViewSetting]? { get set }
  • Undocumented

    Declaration

    Objective-C

    - (id)init;

    Swift

    init()
  • Undocumented

    Declaration

    Objective-C

    - (id)initWithSettings:(nullable NSArray<MMMShadowViewSetting *> *)settings;

    Swift

    init(settings: [MMMShadowViewSetting]?)
  • Unavailable

    Undocumented

    Declaration

    Objective-C

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

    Undocumented

    Declaration

    Objective-C

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