Latest 1.0.0
Homepage https://github.com/Acuta/ControlsKit
License MIT
Platforms ios 8.0
Authors ,

Version
Platform
Languages
Carthage compatible
License

Build Status
codecov

Example

To run the example project, clone the repo, open the workspace and run ControlsKitExample.

Requirements

iOS 8.0

Description

This is a list of components that have been developped over the course of multiple years, and have been used in a dozen of projects so far. They aim to either be a drop-in replacement for existing controls with more customizations, or provide additional features on top of existing controls.

NibView

Allows to use Interface Builder to create the layout of a view inside a xib file, which can be then be loaded like any views.

PageControl

A custom subclass of UIView which acts as a drop-in replacement for UIPageControl, but that allow for deep customizations.

PlaceholderTextView

A subclass of UITextView which provides a placeholder text.

Switch

A subclass of UISwitch allowing to add custom images and colors to the default iOS Switch.

Installation

Via CocoaPods

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

pod 'ControlsKit', '~> 1.0'

By default, the Swift version of the library is fetched. If you want to just use the Objective-C version, just add the following line instead in your Podfile:

pod 'ControlsKit/ObjC', '~> 1.0'

Likewise, you might not want to pull all controls at once if you’re just using one. So for example, if you wanted to just use the PlaceholderTextView in your project, just add the following:

pod 'ControlsKit/PlaceholderTextView/Swift', '~> 1.0'

(You can also replace Swift by ObjC should you want to use the Objective-C version)

Via Carthage

ControlsKit is also available through Carthage. To install it, simply add the following line to your Cartfile:

github "Acuta/ControlsKit" ~> 1.0

If you use Carthage to build your dependencies, just add ControlsKit.framework to the "Linked Frameworks and Libraries" section of your target, and make sure you’ve included them in your Carthage framework copying build phase.

Authors

License

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

Latest podspec

{
    "name": "ControlsKit",
    "version": "1.0.0",
    "summary": "A collection of battle-tested UI components.",
    "description": "This is a list of components that have been developped over the course of multiple years, and have been used in a dozen of projects so far. They aim to either be a drop-in replacement for existing controls with more customizations, or provide additional features on top of existing controls.",
    "homepage": "https://github.com/Acuta/ControlsKit",
    "license": {
        "type": "MIT",
        "file": "LICENSE"
    },
    "authors": {
        "stephanecopin": "[email protected]",
        "bastienFalcou": "[email protected]"
    },
    "source": {
        "git": "https://github.com/Acuta/ControlsKit.git",
        "tag": "1.0.0"
    },
    "platforms": {
        "ios": "8.0"
    },
    "exclude_files": "ControlsKit/ControlsKit.h",
    "default_subspecs": "Swift",
    "pushed_with_swift_version": "3.0",
    "subspecs": [
        {
            "name": "ObjC",
            "dependencies": {
                "ControlsKit/NibView/ObjC": [],
                "ControlsKit/PlaceholderTextView/ObjC": [],
                "ControlsKit/PageControl/ObjC": [],
                "ControlsKit/Switch/ObjC": []
            }
        },
        {
            "name": "Swift",
            "dependencies": {
                "ControlsKit/NibView/Swift": [],
                "ControlsKit/PlaceholderTextView/Swift": [],
                "ControlsKit/PageControl/Swift": [],
                "ControlsKit/Switch/Swift": []
            }
        },
        {
            "name": "NibView",
            "subspecs": [
                {
                    "name": "ObjC",
                    "source_files": "ControlsKit/CTKNibView.{h,m}"
                },
                {
                    "name": "Swift",
                    "dependencies": {
                        "ControlsKit/NibView/ObjC": []
                    },
                    "source_files": "ControlsKit/NibView.swift"
                }
            ]
        },
        {
            "name": "PlaceholderTextView",
            "subspecs": [
                {
                    "name": "ObjC",
                    "source_files": "ControlsKit/CTKPlaceholderTextView.{h,m}"
                },
                {
                    "name": "Swift",
                    "dependencies": {
                        "ControlsKit/PlaceholderTextView/ObjC": []
                    },
                    "source_files": "ControlsKit/PlaceholderTextView.swift"
                }
            ]
        },
        {
            "name": "PageControl",
            "subspecs": [
                {
                    "name": "ObjC",
                    "source_files": "ControlsKit/CTKPageControl.{h,m}"
                },
                {
                    "name": "Swift",
                    "dependencies": {
                        "ControlsKit/PageControl/ObjC": []
                    },
                    "source_files": "ControlsKit/PageControl.swift"
                }
            ]
        },
        {
            "name": "Switch",
            "subspecs": [
                {
                    "name": "ObjC",
                    "source_files": "ControlsKit/CTKSwitch.{h,m}"
                },
                {
                    "name": "Swift",
                    "dependencies": {
                        "ControlsKit/Switch/ObjC": []
                    },
                    "source_files": "ControlsKit/Switch.swift"
                }
            ]
        }
    ]
}

Pin It on Pinterest

Share This