3 Star 0 Fork 0

Gitee 极速下载 / MHTextField

加入 Gitee
与超过 1200万 开发者一起发现、参与优秀开源项目,私有仓库也完全免费 :)
免费加入
此仓库是为了提升国内下载速度的镜像仓库,每日同步一次。 原始仓库: https://github.com/mehfuzh/MHTextField
克隆/下载
MHTextField.podspec 2.38 KB
一键复制 编辑 原始数据 按行查看 历史
Mehfuz Hossain 提交于 2016-04-07 09:40 . fixes
Pod::Spec.new do |s|
s.name = "MHTextField"
s.version = "0.6"
s.summary = "MHTextField is an iOS drop-in class that extends UITextField with built-In toolbar, validation and scrolling support"
s.description = <<-DESC
#MHTextField [![Build Status](https://travis-ci.org/mehfuzh/MHTextField.png?branch=master)](https://travis-ci.org/mehfuzh/MHTextField)
MHTextField is an iOS drop-in class that extends UITextField with built-in toolbar, validation and scrolling support.
[![](https://raw.github.com/mehfuzh/MHTextField/gh-pages/demo.gif)](https://raw.github.com/mehfuzh/MHTextField/gh-pages/demo.gif)
##Requirements
MHTextField works on iOS 5 and above and is compatible with ARC projects. It depends on the following Apple frameworks:
* Foundation.framework
* UIKit.framework
##Including MHTextField to your project
### Source files
You can directly add the `MHTextField.h` and `MHTextField.m` source files to your project.
1. Download the latest zip from github or clone the source in your desired directory.
2. Open your project in Xcode, then drag and drop `MHTextField.h` and `MHTextField.m` onto your project (use the "Product Navigator view"). Make sure to select Copy items when asked if you extracted the code archive outside of your project.
3. Include MHTextField with `#import "MHTextField.h"`.
### Cocoapods
[CocoaPods](http://cocoapods.org) is the recommended way to add MHTextField to your project.
1. Add a pod entry for MHTextField to your Podfile `pod 'MHTextField', '~> 0.5'`
2. Install the pod(s) by running `pod install`.
3. Include MHTextField with `#import "MHTextField.h"`.
## License
This code is distributed under the terms and conditions of the [MIT license](LICENSE).
DESC
s.homepage = "https://github.com/mehfuzh/MHTextField"
s.screenshots = "http://mehfuzh.github.io/MHTextField/shot2.png", "http://mehfuzh.github.io/MHTextField/shot3.png", "http://mehfuzh.github.io/MHTextField/shot3.png", "http://mehfuzh.github.io/MHTextField/shot4.png"
s.license = 'MIT'
s.author = { "Mehfuz Hossain" => "mehfuz@gmail.com" }
s.platform = :ios, '5.0'
s.ios.deployment_target = '5.0'
s.source = { :git => "https://github.com/mehfuzh/MHTextField.git", :tag => '0.6'}
s.source_files = 'MHTextField.{h,m}'
s.requires_arc = true
end
Objective-C
1
https://gitee.com/mirrors/MHTextField.git
git@gitee.com:mirrors/MHTextField.git
mirrors
MHTextField
MHTextField
master

搜索帮助