text: //
  //  SDViewDesiredHeight.h
  //  SDLayoutView
  //
  //  Created by Tyrone Trevorrow on 9/03/12.
  //  Copyright (c) 2012 Sudeium. All rights reserved.
  //
  
  #import <Foundation/Foundation.h>
  
  // Declares a view which can be asked for its optimal height.
  // Similar in concept to UIKit's built in "sizeToFit", except
  // it doesn't actually do the resizing, just returns how large
  // it would like to be.  i.e It doesn't suck.
  @protocol SDViewDesiredHeight <NSObject>
  @required
  - (NSNumber*) desiredHeight;
  @property (nonatomic, copy) IBInspectable NSNumber* maximumHeight;
  @property (nonatomic, copy) IBInspectable NSNumber* minimumHeight;
  @end
  