Ecosyste.ms: Awesome
An open API service indexing awesome lists of open source software.
https://github.com/zzdjk6/zzxibview
ZZXibView is a small lib to let you load custom xib eaiser with storyboard.
https://github.com/zzdjk6/zzxibview
Last synced: 8 days ago
JSON representation
ZZXibView is a small lib to let you load custom xib eaiser with storyboard.
- Host: GitHub
- URL: https://github.com/zzdjk6/zzxibview
- Owner: zzdjk6
- License: mit
- Created: 2016-02-12T12:20:10.000Z (almost 9 years ago)
- Default Branch: master
- Last Pushed: 2016-02-12T12:30:07.000Z (almost 9 years ago)
- Last Synced: 2024-12-12T00:49:12.135Z (about 1 month ago)
- Language: Shell
- Size: 31.3 KB
- Stars: 1
- Watchers: 2
- Forks: 0
- Open Issues: 0
-
Metadata Files:
- Readme: README.md
- License: LICENSE
Awesome Lists containing this project
README
# ZZXibView
[![CI Status](http://img.shields.io/travis/Shenghan Chen/ZZXibView.svg?style=flat)](https://travis-ci.org/Shenghan Chen/ZZXibView)
[![Version](https://img.shields.io/cocoapods/v/ZZXibView.svg?style=flat)](http://cocoapods.org/pods/ZZXibView)
[![License](https://img.shields.io/cocoapods/l/ZZXibView.svg?style=flat)](http://cocoapods.org/pods/ZZXibView)
[![Platform](https://img.shields.io/cocoapods/p/ZZXibView.svg?style=flat)](http://cocoapods.org/pods/ZZXibView)## 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](http://cocoapods.org). To install
it, simply add the following line to your Podfile:```ruby
pod "ZZXibView"
```## Author
Shenghan Chen, [email protected]
## License
ZZXibView is available under the MIT license. See the LICENSE file for more info.