//
//  NSView+CDAutoLayout.h
//  CDKitt
//
//  Created by Aron Cedercrantz on 04-06-2013.
//  Copyright (c) 2013 Aron Cedercrantz. All rights reserved.
//

#import <Cocoa/Cocoa.h>

@interface NSView (CDAutoLayout)

/**
 * Add the given view to this view as a subview and autoresizes it to fill the
 * receiving view.
 */
- (void)cd_addFillingAutoresizedSubview:(NSView *)subview;


@end

//
//  NSView+CDAutoLayout.h
//  CDKitt
//
//  Created by Aron Cedercrantz on 04-06-2013.
//  Copyright (c) 2013 Aron Cedercrantz. All rights reserved.
//

#import <Cocoa/Cocoa.h>

@interface NSView (CDAutoLayout)

/**
 * Add the given view to this view as a subview and autoresizes it to fill the
 * receiving view.
 *
 * @param subview The view which should be added as a subview of the reciever.
 * May be `nil`.
 */
- (void)cd_addFillingAutoresizedSubview:(NSView *)subview;


@end

Improve NSView auto layout category documentation.
Improve NSView auto layout category documentation.

Signed-off-by: Aron Cedercrantz <ce30127eefa07a02d568832e3de6952fb491981c@cedercrantz.se>
