Skip to content

A special field like mobike input bike number field.仿摩拜单车手动输入单车编号控件.

License

Notifications You must be signed in to change notification settings

Jvaeyhcd/HcdSpecialField

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

18 Commits
 
 
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

HcdSpecialField

Version Platform License Tag Author

HcdSpecialField is a special field, it can be used in 3 different scene.

Example

You can use it when you want to input a redeem code to exchange a coupon in your App.

Redeem Code

Also it can be used in your App when you want to design a input passcode viewController like iPhone passcode's viewController.

Passcode

Finally i used it in my App to input a bike number like Mobike's App.

Mobike

Requirements

  • Swift3 or higher
  • Xcode 8 or higher
  • iOS 8.0 or higher

Demo

Build and run the Example/HcdSpecialField.xcworkspace project in Xcode to see HcdSpecialField in action.

Installation

Manual Install

All you need to do is drop HcdSpecialField files into your project.

CocoaPods

The recommended approach for installating HcdSpecialField is via the CocoaPods package manager, as it provides flexible dependency management and dead simple installation. For best results, it is recommended that you install via CocoaPods >= 0.28.0 using Git >= 1.8.0 installed via Homebrew.

Install CocoaPods if not already available:

$ [sudo] gem install cocoapods
$ pod setup

Change to the directory of your Xcode project:

$ cd /path/to/MyProject
$ touch Podfile
$ edit Podfile

Edit your Podfile and add HcdSpecialField:

platform :ios, '8.0'
source 'https://github.com/CocoaPods/Specs.git'

use_frameworks!
target 'MyProject' do
  pod 'HcdSpecialField'

end

Install into your Xcode project:

$ pod install

Open your project in Xcode from the .xcworkspace file (not the usual project file)

$ open MyProject.xcworkspace

Contact

If you have some suggest please post me an issue.

Author

LICENSE

MIT License.

About

A special field like mobike input bike number field.仿摩拜单车手动输入单车编号控件.

Topics

Resources

License

Stars

Watchers

Forks

Packages

No packages published