Latest 1.0.1
Homepage https://github.com/cacmartinez/CCMBorderView
License APACHE 2.0
Platforms ios 7.0, requires ARC
Authors

License APACHE
Release

CCMBorderView is a simple to use view that uses the new IBDesignable and IBInspectable features of Xcode 6 to easily configure a view to have a top border, left border, right border, bottom border, or a combination of those. You can pick the width and color of the border, and you can also give it a corner radius to make rounded corners.

ViewWithBorder

Issues with this version:

  • Picking specific corners to apply a radius is not yet supported.
  • If you have a radius bigger than 0 it will omit the borders you pick and will apply an even border to all of the view

=============

Usage

In the storyboard draw a view to your controller and assign it the CCMBorderView class, then customize it as you want in the Attributes inspector.

ViewWithBorderUsage

Requirements

Xcode version 6.0 or later.

Installation

Download or clone the repository, and copy the CCMBorderView.swift or the CCMBorderView.h and CCMBorderView.m files in case your are using objective-c, to your project.

Author

Carlos Compean, [email protected]

License

CCMBorderView is available under the Apache License, Version 2.0. See the LICENSE file for more info.

Latest podspec

{
    "name": "CCMBorderView",
    "version": "1.0.1",
    "summary": "CCMBorderView let you easily create views with customizable borders.",
    "description": "CCMBorderView is a simple to use view that uses the new IBDesignable and IBInspectable features of Xcode 6 to easily configure a view to have a top border, left border, right border, bottom border, or a combination of those. You can pick the width and color of the border, and you can also give it a corner radius to make rounded corners",
    "homepage": "https://github.com/cacmartinez/CCMBorderView",
    "screenshots": "https://raw.githubusercontent.com/cacmartinez/CCMBorderView/master/Screenshots/screenshot.png",
    "license": "APACHE 2.0",
    "authors": {
        "Carlos Compean": "[email protected]"
    },
    "platforms": {
        "ios": "7.0"
    },
    "source": {
        "git": "https://github.com/cacmartinez/CCMBorderView.git",
        "tag": "1.0.1"
    },
    "source_files": "CCMBorderView/Objective-C/*.{h,m}",
    "requires_arc": true
}

Pin It on Pinterest

Share This