# HSYLoding **Repository Path**: seanhuang1661/HSYLoding ## Basic Information - **Project Name**: HSYLoding - **Description**: 自定义loading界面。 - **Primary Language**: Unknown - **License**: Not specified - **Default Branch**: master - **Homepage**: None - **GVP Project**: No ## Statistics - **Stars**: 1 - **Forks**: 0 - **Created**: 2015-12-04 - **Last Updated**: 2021-11-02 ## Categories & Tags **Categories**: Uncategorized **Tags**: None ## README #HSYLoading ![输入图片说明](http://git.oschina.net/uploads/images/2015/1205/105157_2e4b5db4_301790.gif "在这里输入图片标题") - 自带渐变遮罩。 - 可同时打开多个loading框。 - 自动根据父View调整大小。 - 使用方式 - 将HSYLoading拷贝并引入进工程; - #import "HSYLoadingManage.h" - 按照以下方式使用loading框: ``` //为一个Veiw打开loading框 //key为loading框的标记 [[HSYLoadingManage sharedInstance] showLoadingForParentView:self.view withKey:@"selfview"]; //关闭对应标记的loading框 [[HSYLoadingManage sharedInstance] hideLoadingWithKey:@"selfview"]; //为window打开loading框 [[HSYLoadingManage sharedInstance] showLoadingForWindow]; //为window关闭loading框 [[HSYLoadingManage sharedInstance] hideLoadingForWindow]; ```