Latest 0.1.0
Homepage https://github.com/zzdjk6/ZZXibView
License MIT
Platforms ios 7.0, requires ARC
Authors

[![CI Status](http://img.shields.io/travis/Shenghan Chen/ZZXibView.svg?style=flat)](https://travis-ci.org/Shenghan Chen/ZZXibView)
Version
License
Platform

Usage

ZZXibView is a small lib to let you load custom xib eaiser with storyboard.
Inspired by "http://supereasyapps.com/blog/2014/12/15/create-an-ibdesignable-uiview-subclass-with-code-from-an-xib-file-in-xcode-6".

Usage:

  1. Write your custom class extends from ZZXibView
  2. Create xib file with the same name of your custom class
  3. Set File’s Owner of xib to your custom class
  4. Design & connect IBOutlets/IBActions as you wish, you can even IB_Designable your custom class as well.
  5. When using in another xib or storyboard, just place a UIView and flag it as your custom class.
  6. That’s all.

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

Requirements

Installation

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

pod "ZZXibView"

Author

Shenghan Chen, [email protected]

License

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

Latest podspec

{
    "name": "ZZXibView",
    "version": "0.1.0",
    "summary": "ZZXibView is a small lib to let you load custom xib eaiser with storyboard.",
    "description": "ZZXibView is a small lib to let you load custom xib eaiser with storyboard.nInspired by "http://supereasyapps.com/blog/2014/12/15/create-an-ibdesignable-uiview-subclass-with-code-from-an-xib-file-in-xcode-6".nnUsage:nn1. Write your custom class extends from ZZXibViewn2. Create xib file with the same name of your custom classn3. Set File's Owner of xib to your custom classn4. Design & connect IBOutlets/IBActions as you wish, you can even IB_Designable your custom class as well.n5. When using in another xib or storyboard, just place a UIView and flag it as your custom class.n6. That's all.",
    "homepage": "https://github.com/zzdjk6/ZZXibView",
    "license": "MIT",
    "authors": {
        "Shenghan Chen": "[email protected]"
    },
    "source": {
        "git": "https://github.com/zzdjk6/ZZXibView.git",
        "tag": "0.1.0"
    },
    "platforms": {
        "ios": "7.0"
    },
    "requires_arc": true,
    "source_files": "Pod/Classes/**/*",
    "resource_bundles": {
        "ZZXibView": [
            "Pod/Assets/*.png"
        ]
    }
}

Pin It on Pinterest

Share This