Sha256: 87235461fc86fec69d6a7054554ed6f4264e546883d5326a4ba526808f4556bf
Contents?: true
Size: 664 Bytes
Versions: 8
Compression:
Stored size: 664 Bytes
Contents
#import "NavbarSingleton.h" extern void create_navbar(NSDictionary *p); extern void remove_navbar(); extern BOOL navbar_started(); @implementation NavbarSingleton -(void) create:(NSDictionary*)navBarProperties methodResult:(id<IMethodResult>)methodResult{ if (![navBarProperties isKindOfClass:[NSDictionary class]]) { NSLog(@"Navbar.create ERROR - parameter should be HASH !"); return; } create_navbar(navBarProperties); } -(void) remove:(id<IMethodResult>)methodResult{ remove_navbar(); } -(void) started:(id<IMethodResult>)methodResult { [methodResult setResult:[NSNumber numberWithBool:navbar_started()]]; } @end
Version data entries
8 entries across 8 versions & 2 rubygems