Skip to content

corerd/CRDTextView

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

7 Commits
 
 
 
 
 
 
 
 
 
 

Repository files navigation

CRDTextView for iOS

The CRDTextView class inherits from UILabel and is a drop in replacement for UITextField when a read-only text view is required.

main

Extra features

  • placeholder and secureText text attributes;
  • ability to copy the text property value to the pasteboard.

Usage

To use it, add the files in the Classes folder to your project.

In the Wiki Home page it is dealt how to add a CRDScrollSwitch object using Interface Builder.

The CRDTextView class is deployed together a demo iPhone app to show various use case scenarios. It has been developed as an Xcode 4.6.2 project targeting iOS 6.1.

Some screenshots of the demo app can be found [here] ( https://github.com/corerd/CRDTextView/wiki/Screenshots ).

CREDITS

CRDTextView improves the CopyableLabel subclass by mrueg at [Stack Overflow] ( http://stackoverflow.com/a/2168169 ).

The MIT License

Copyright (c) 2013 Corrado Ubezio

Permission is hereby granted, free of charge, to any person obtaining a copy of this software and associated documentation files (the "Software"), to deal in the Software without restriction, including without limitation the rights to use, copy, modify, merge, publish, distribute, sublicense, and/or sell copies of the Software, and to permit persons to whom the Software is furnished to do so, subject to the following conditions:

The above copyright notice and this permission notice shall be included in all copies or substantial portions of the Software.

THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND, EXPRESS OR IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF MERCHANTABILITY, FITNESS FOR A PARTICULAR PURPOSE AND NON-INFRINGEMENT. IN NO EVENT SHALL THE AUTHORS OR COPYRIGHT HOLDERS BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER LIABILITY, WHETHER IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING FROM, OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN THE SOFTWARE.

About

iOS Cocoa Touch custom control

Resources

License

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published