Skip to content

a loadingView system I created for iOS apps from iOS 6 onwards.

Notifications You must be signed in to change notification settings

DanClarke-io/loadingView

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

3 Commits
 
 
 
 
 
 

Repository files navigation

loadingView

You can customise the text, and update it as your download updates (or as you finish a segment of your function).

The basic functions are:

+(void)OBTshowLoading:(UIView *)view withText:(NSString *)text;
+(void)OBTshowLoading:(UIView *)view;
+(void)OBThideLoading:(UIView *)view;
+(void)OBTupdatetext:(NSString *)text forView:(UIView *)view;
+(void)OBTupdatetext:(NSString *)text andWidth:(CGFloat)width andLines:(int)lines forView:(UIView *)view;

The UIView you supply would be your controlling view, such as self.view or self.navigationcontroller.view.

As you can see, you would call this by typing:

[loadingView OBTshowLoading:self.view];

Optionally, you could specify the text (as default, it says "loading...") like so:

[loadingView OBTshowLoading:self.view withText:@"My Text"];

Once you have finished whatever you were loading, you can then close the view, by typing:

[loadingView OBThideLoading:self.view];

I am constantly updating (I don't use this function as much as I used to, so the updating hasn't happened recently...) this library to finetune how it works, and tinker with existing settings, I will attempt to update this page as I update it.

This markdown document was created using Mou

About

a loadingView system I created for iOS apps from iOS 6 onwards.

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published