Skip to content

Latest commit

 

History

History
35 lines (26 loc) · 966 Bytes

README.markdown

File metadata and controls

35 lines (26 loc) · 966 Bytes

STOverlay

What's this?

STOverlay is a set of Cocoa classes for transparent overlay.

Usage

- (IBAction)beginOverlay:(id)sender {
    // self.overlay is an instance of STOverlayController
    [self.overlayController beginOverlayToView:self.targetView
                                     withLabel:@"Loading..."
                                        radius:10.0
                                        offset:20.0];
    // or
    [self.overlayController beginOverlayToView:self.targetView
                                     withLabel:@"Loading..."
                                          size:NSMakeSize(400.0, 200.0)
                                        offset:20.0];
}

- (IBAction)endOverlay:(id)sender {
    [self.overlayController endOverlay];
}

Screenshots

License

The BSD License