Latest 1.0.6
Homepage https://github.com/TravelC/TCRoundedCorner
License MIT
Platforms ios 7.0, requires ARC
Dependencies AspectsV1.4.2
Frameworks Foundation, UIKit
Authors

This is a category of UIView which provided the ability of add specified corner(s) to a view with a optional border.

TCRoundedCorner

Change Log

1.0.1

  1. Fix wrong frame when set border in viewDidLoad.

Installation

Cocoapod Method:-

pod 'TCRoundedCorner', '~> 1.0.0'

Source Code Method:-

Add files in folder TCRoundedCorner to your project.

How To Get Started

1.Only round myView’s corners:

[self.myView roundedCorner:type radius:20.0];

2.Round corners and add a border together:

[self.myView roundedCorner:type radius:20.0 borderColor:borderColor borderWidth:5.0];

3.Add border only:

[self.myView addBorderWithColor:borderColor borderWidth:5.0];

4.Remove border:

[self removeBorder];

LICENSE

Distributed under the MIT License.

Author

If you wish to contact me, email at: [email protected]

Blog

http://travelchu.com

Latest podspec

{
    "name": "TCRoundedCorner",
    "version": "1.0.6",
    "summary": "This is a category of UIView which provided the ability of add specified corner(s) to a view with a optional border.",
    "description": "This is a category of UIView which provided the ability of add specified corner(s) to a view with a optional border. You can:n    1. Only round myView's corners.n        2. Round corners and add a border together.n            3. Add border only.n                4. Remove border.",
    "homepage": "https://github.com/TravelC/TCRoundedCorner",
    "screenshots": "https://github.com/TravelC/TCRoundedCorner/blob/master/demoOfTCRoundedCorner.gif",
    "license": "MIT",
    "authors": {
        "Travel.Chu": "[email protected]"
    },
    "social_media_url": "https://twitter.com/chuchuanming",
    "platforms": {
        "ios": "7.0"
    },
    "source": {
        "git": "https://github.com/TravelC/TCRoundedCorner.git",
        "tag": "1.0.6"
    },
    "source_files": "TCRoundedCornerExample/TCRoundedCorner/**/*.{h,m}",
    "public_header_files": "TCRoundedCornerExample/TCRoundedCorner/**/*.h",
    "frameworks": [
        "Foundation",
        "UIKit"
    ],
    "requires_arc": true,
    "dependencies": {
        "AspectsV1.4.2": [
            "~> 1.4.2"
        ]
    }
}

Pin It on Pinterest

Share This