Latest 0.1.31
Homepage https://github.com/ivsall2012/AHFloatingTextView
License MIT
Platforms ios 8.0
Authors

the Example Project in this repository

AHFloatingTextView

Real world example(it’s from AHFMBottomPlayer)

AHFloatingTextView

Real world example(it’s from AHFMAudioPlayerVC)

AHFloatingTextView

Usage

programatically

let floatingView = AHFloatingTextView()
floatingView.frame = CGRect(x: 50, y: 20.0, width: 300, height: 50)
floatingView.text = "There's place in your heart and I know it is love!"
floatingView.backgroundColor = UIColor.black
floatingView.color = UIColor.white
floatingView.pausingInterval = 1.0
self.view.addSubview(floatingView)

Using Storyboard or a xib

You use it like any other UIView.
Just to make sure you specify the view’s subclass:
AHFloatingTextView

Example

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

Requirements

Installation

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

pod "AHFloatingTextView"

Author

Andy Tong, [email protected]

License

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

Latest podspec

{
    "name": "AHFloatingTextView",
    "version": "0.1.31",
    "summary": "A short description of AHFloatingTextView.",
    "description": "TODO: Add long description of the pod here.",
    "homepage": "https://github.com/ivsall2012/AHFloatingTextView",
    "license": {
        "type": "MIT",
        "file": "LICENSE"
    },
    "authors": {
        "ivsall2012": "[email protected]"
    },
    "source": {
        "git": "https://github.com/ivsall2012/AHFloatingTextView.git",
        "tag": "0.1.31"
    },
    "platforms": {
        "ios": "8.0"
    },
    "source_files": "AHFloatingTextView/Classes/**/*",
    "pushed_with_swift_version": "3.0"
}

Pin It on Pinterest

Share This