Latest 0.1.2
Homepage https://github.com/Mars116/MLEstimatedViewHeight
License MIT
Platforms ios 8.0
Authors

CI Status
Version
License
Platform

Example

To run the example project, clone the repo, and run pod install from the Example directory first.

Requirements

This library requires iOS 8.0+

Installation

MLEstimatedViewHeight is available through CocoaPods. To install
it, simply add the following line to your Podfile:

pod 'MLEstimatedViewHeight'

#

演示
#

How To Use

#import <MLEstimatedViewHeight/UIView+MLHeight.h>

//Calculate view height immediately
1、self.testView.mlHeight;

//Complex view height calculation(Time-consuming operation)
2、[self.testView mlHeightBlock:^(float mlHeight) {

   }];

中文介绍

MLEstimatedViewHeight 是基于约束和scrollview来计算视图高度的工具。

如何使用

#import <MLEstimatedViewHeight/UIView+MLHeight.h>

//立即计算视图高度
1、self.testView.mlHeight;

//复杂视图高度计算(耗时操作)
2、[self.testView mlHeightBlock:^(float mlHeight) {

   }];

Author

Mars, [email protected]

License

MLEstimatedViewHeight is available under the MIT license. See the LICENSE file for more info.

Latest podspec

{
    "name": "MLEstimatedViewHeight",
    "version": "0.1.2",
    "summary": "A short description of MLEstimatedViewHeight.",
    "description": "TODO: Add long description of the pod here.",
    "homepage": "https://github.com/Mars116/MLEstimatedViewHeight",
    "license": {
        "type": "MIT",
        "file": "LICENSE"
    },
    "authors": {
        "Mars": "[email protected]"
    },
    "source": {
        "git": "https://github.com/Mars116/MLEstimatedViewHeight.git",
        "tag": "0.1.2"
    },
    "platforms": {
        "ios": "8.0"
    },
    "source_files": "MLEstimatedViewHeight/Classes/**/*"
}

Pin It on Pinterest

Share This