AnimatedMaskLabel 1.0.1

AnimatedMaskLabel 1.0.1

Jogendra Singh 维护。



Animated Mask Label

Build Status Version License Platform Join the chat at https://gitter.im/AnimatedMaskLabel/Lobby

演示屏幕 屏幕截图

Demo/Example

用于演示

$ pod try AnimatedMaskLabel

要运行示例项目,首先克隆仓库,然后在 Example 目录中运行 pod install

$ cd Example
$ pod install

如果您还没有安装 CocoaPods,使用 [sudo] gem install cocoapods 来安装它。

$ open AnimatedMaskLabel.xcworkspace

要求

  • iOS 10.0 或更高版本
  • Swift 4+
  • Xcode 9+

安装

CocoaPods

AnimatedMaskLabel 可以通过 CocoaPods 获取。要安装它,只需将以下行添加到您的 Podfile 中

pod 'AnimatedMaskLabel'

Carthage

Carthage 是一个去中心化的依赖管理器,它会构建您的依赖并提供二进制框架。

您可以使用以下命令使用 Homebrew 安装 Carthage

$ brew update
$ brew install carthage

要使用 Carthage 在您的 Xcode 项目中集成 Alamofire,请在您的 Cartfile 中指定它

github "imjog/AnimatedMaskLabel"

运行 carthage update 以构建框架,并将构建的 AnimatedMaskLabel.framework 拖动到您的 Xcode 项目中。

手动安装

只需将 AnimatedMaskLabel.swift 文件拖动到您的项目中。

使用方法

步骤 1

设置您的视图类为 AnimatedMaskLabel -

步骤 2

您要动画化的文本

作者

 Jogendra Singh

许可证

AnimatedMaskLabel遵循MIT许可证。有关更多信息,请参阅许可证文件。