MMMAutoLayoutIsolator

Objective-C

@interface MMMAutoLayoutIsolator : UIView

Swift

class MMMAutoLayoutIsolator : UIView

Wraps a view that uses Auto Layout into a manual layout view providing sizeThatFits: for the outside world. Can be handy with old APIs that do not fully support Auto Layout.

  • The view being wrapped.

    Declaration

    Objective-C

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

    Swift

    var view: UIView { get }
  • Undocumented

    Declaration

    Objective-C

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

    Swift

    init(view: UIView)
  • 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;