TCTitleLoading导航标题下的loading视图

开源了自己写的一个在导航栏标题下方的Loading,可自定义颜色及设置哪些页面不需要Loading。代码请见TCTitleLoading

TCTitleLoading

This is a loading in the bottom of navigation bar title area.
This project is inspired by XHLoadingNavigationItemTitleView

##How To Get Started

  1. In your Appdelegate.m, import TCTitleLoadingManager and set custom color, you can skip this step if you want to use the default black color:

`

  • (BOOL)application:(UIApplication )application didFinishLaunchingWithOptions:(NSDictionary)launchOptions {
    // Override point for customization after application launch.

    //Set custom color for dots
    [TCTitleLoadingManager setDotColor:[UIColor orangeColor]];
    return YES;
    }
    `

2.Start the loading by calling method startAnimationTitle in your view controller:

[self startAnimationTitle];

3.Start the loading by calling method startAnimationTitle in your view controller:

[self stopAnimationTitle];
4.If you want to skip the title loading for some pages, just tell the manager:

[TCTitleLoadingManager SkipTitleLoadingForClass:[self class]];

Thanks

This project is inspired by XHLoadingNavigationItemTitleView.
The dot loading view is TYDotIndicatorView

LICENSE

Distributed under the MIT License.

Author

If you wish to contact me, email at: chuchuanming@gmail.com

Blog

http://travelchu.com

热评文章