Latest 1.0.1
Homepage https://github.com/yotrolz/YCShadowView
License MIT
Platforms ios 8.0, requires ARC
Authors

![](https://github.com/YotrolZ/YCShadowView/blob/master/Example/YCShadowView/example%402x.png )

Example

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

How to use YCShadowView

  • Installation with CocoaPods:
    • pod 'YCShadowView'
    • #import <YCShadowView/YCShadowView.h>
  • Manual import:

    • Drag the YCShadowView folder to project
    • #import "YCShadowView.h"
  • Use
    YCShadowView *view = [[YCShadowView alloc] initWithFrame:CGRectMake(200, 250, 100, 100)];
    view.backgroundColor = [UIColor whiteColor];
    [view yc_shaodwRadius:10 shadowColor:[UIColor colorWithWhite:0 alpha:0.5] shadowOffset:CGSizeMake(0, 0) byShadowSide:(YCShadowSideRight)];
    [view yc_cornerRadius:10 byRoundingCorners:(UIRectCornerBottomLeft)];

Author

YotrolZ, [email protected]

License

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

Latest podspec

{
    "name": "YCShadowView",
    "version": "1.0.1",
    "summary": "An easy way to use shadow / cornerRadius",
    "homepage": "https://github.com/yotrolz/YCShadowView",
    "license": {
        "type": "MIT",
        "file": "LICENSE"
    },
    "authors": {
        "yotrolz": "[email protected]"
    },
    "source": {
        "git": "https://github.com/yotrolz/YCShadowView.git",
        "tag": "1.0.1"
    },
    "source_files": "YCShadowView/Classes/**/*",
    "platforms": {
        "ios": "8.0"
    },
    "requires_arc": true
}

Pin It on Pinterest

Share This