add comments
This commit is contained in:
parent
9d1e9d554b
commit
cc2783d3be
@ -10,14 +10,16 @@
|
||||
|
||||
@interface MVMCoreViewControllerProgrammaticMappingObject : NSObject <MVMCoreViewControllerMappingProtocol>
|
||||
|
||||
// View Controller Class, for loading by class.
|
||||
/// View Controller Class, for loading by class.
|
||||
@property (nonnull, strong, nonatomic) Class viewControllerClass;
|
||||
|
||||
/// Configuration block executed on creation of the controller before loading.
|
||||
@property (nullable, copy, nonatomic) void (^configureHandler)(UIViewController * _Nonnull);
|
||||
|
||||
// Initializes with the given class.
|
||||
/// Initializes with the given class.
|
||||
- (nullable id)initWithClass:(nonnull Class)viewControllerClass;
|
||||
|
||||
/// Initializes with the given class. Assigns a configuration block triggered on intiailization which allows additional configuraiton of the view controller before its loaded, i.e. injecting top level dependencies.
|
||||
- (nullable id)initWithClass:(nonnull Class)viewControllerClass configureHandler:(void(^_Nonnull)(UIViewController * _Nonnull))configureBlock;
|
||||
|
||||
@end
|
||||
|
||||
Loading…
Reference in New Issue
Block a user