[go: up one dir, main page]

Skip to content

eric-shim/KGStatusBar

 
 

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

17 Commits
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

KGStatusBar

A minimal status bar for iOS. Similair to the status bar seen in the MailBox app. It covers the top status bar and appears like the message is embedded within.

KGStatusBar

Installation

  • Drag the KGStatusBar/KGStatusBar folder into your project.
  • Add #include "KGStatusBar.h" to your .pch file

Usage

KGStatusBar is a singleton. Make sure your view displays the default status bar for this to be effective. I defaulted the colors to match default. Change if needed.

Showing the Status Bar

  • [KGStatusBar showWithStatus:@"Loading"];
  • [KGStatusBar showErrorWithStatus:@"Error Synching Files."];
  • [KGStatusBar showSuccessWithStatus:@"Successfully synced"];

Dismissing Status Bar

  • [KGStatusBar dismiss];

Enjoy :)

Brought to you you by Kevin Gibbon. Currently raising hell at Attachments.me

About

A minimal status bar for iOS.

Resources

License

Stars

Watchers

Forks

Packages

No packages published