Skip to content

Instantly share code, notes, and snippets.

@brian-armstrong
Created August 14, 2018 07:42
Show Gist options
  • Star 0 You must be signed in to star a gist
  • Fork 0 You must be signed in to fork a gist
  • Save brian-armstrong/39deba2bdfaa812f975b31527a6de5dc to your computer and use it in GitHub Desktop.
Save brian-armstrong/39deba2bdfaa812f975b31527a6de5dc to your computer and use it in GitHub Desktop.
Foo.h
#import <Foundation/Foundation.h>
NS_ASSUME_NONNULL_BEGIN
/**
* Foo configuration
*
* These options configure a Foo instance
*
*/
@interface Foo : NSObject
/**
* Initialize with provided profile object and key
* @param profile string containing one or more Quiet profile objects serialized in JSON form
* @param key string containing the name of the profile to use from the profile parameter
*/
- (instancetype _Nullable)initWithProfile:(NSString *)profile forKey:(NSString *)key;
/**
* Initialize with default profile object and key
* @param key string containing the name of the profile to use from the default profiles
*/
- (instancetype _Nullable)initWithKey:(NSString *)key;
@property NSUInteger numBars;
@property NSUInteger barLength;
@end
NS_ASSUME_NONNULL_END
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment