Latest 1.0.0
Homepage https://github.com/yinheng122/YHLoadingAnimation
License MIT
Platforms ios 8.0, requires ARC
Frameworks CoreText, UIKit
Authors

使用方便简单,一行代码嵌入加载动画

// 旋转加载动画
ReplicatorHudView *hudView = [[ReplicatorHudView alloc] initWithCGRect:CGRectMake(200, 200, 50, 50) color:[UIColor          colorWithRed:255/256.f green:57/256.f blue:55/256.f alpha:1]];

(ReplicatorHudAnimation)

// 音乐播放中动画
ReplicatorMusicAnimationView *musicAnimationView = [[ReplicatorMusicAnimationView alloc] initWithCGRect:CGRectMake(100, 100, 30, 40) color:[UIColor redColor]];

(musicLoadingAnimation)

// 文字显示加载动画 (两种类型:闪光类型和重绘字类型。默认为闪光类型)
WordLoadingView *wordLoadingView = [[WordLoadingView alloc] initWithFrame:CGRectMake(10, 300, 350, 50)];
// 打开注释为重绘字类型
// wordLoadingShineView.type = RewriteWordType;

(wordLoadingAnimation)

// 渐变色旋转加载动画
LoadingView *loadingView = [[LoadingView alloc] initWithFrame:CGRectMake(10, 150, 45, 45)];

(LoadingAnimation)

安装方式

使用cocoapods

pod 'YHLoadingAnimation'

手动安装

拖动YHLoadingAnimation文件到工程中

Latest podspec

{
    "name": "YHLoadingAnimation",
    "version": "1.0.0",
    "summary": "u52a0u8f7du52a8u753bu89c6u56fe",
    "description": "u7b80u5355u96c6u6210u52a0u8f7du52a8u753bu89c6u56fe",
    "homepage": "https://github.com/yinheng122/YHLoadingAnimation",
    "license": "MIT",
    "authors": {
        "yinheng": "[email protected]"
    },
    "platforms": {
        "ios": "8.0"
    },
    "source": {
        "git": "https://github.com/yinheng122/YHLoadingAnimation.git",
        "tag": "1.0.0"
    },
    "source_files": "YHLoadingAnimation",
    "frameworks": [
        "CoreText",
        "UIKit"
    ],
    "requires_arc": true
}

Pin It on Pinterest

Share This