Correct some formatting.

This commit is contained in:
Gregory John Casamento 2020-07-05 23:06:53 -04:00
parent ca72a59467
commit 1ed5ff16e4
3 changed files with 20 additions and 20 deletions

View file

@ -49,18 +49,18 @@ DEFINE_BLOCK_TYPE_NO_ARGS(GSStoryboardSeguePerformHandler, void);
- (id) sourceController;
- (id) destinationController;
- (NSStoryboardSegueIdentifier)identifier;
- (NSStoryboardSegueIdentifier) identifier;
+ (instancetype)segueWithIdentifier: (NSStoryboardSegueIdentifier)identifier
+ (instancetype) segueWithIdentifier: (NSStoryboardSegueIdentifier)identifier
source: (id)sourceController
destination: (id)destinationController
performHandler: (GSStoryboardSeguePerformHandler)performHandler;
- (instancetype) initWithIdentifier: (NSStoryboardSegueIdentifier)identifier
source: (id)sourceController
destination: (id)destinationController
performHandler: (GSStoryboardSeguePerformHandler)performHandler;
destination: (id)destinationController;
- (instancetype)initWithIdentifier: (NSStoryboardSegueIdentifier)identifier
source: (id)sourceController
destination: (id)destinationController;
- (void)perform;
- (void) perform;
@end

View file

@ -795,7 +795,7 @@ static NSStoryboard *__mainStoryboard = nil;
}
}
+ (NSStoryboard *) mainStoryboard // 10.13
+ (NSStoryboard *) mainStoryboard
{
return __mainStoryboard;
}
@ -842,7 +842,7 @@ static NSStoryboard *__mainStoryboard = nil;
return [self instantiateControllerWithIdentifier: _initialViewControllerId];
}
- (id) instantiateInitialControllerWithCreator: (NSStoryboardControllerCreator)block // 10.15
- (id) instantiateInitialControllerWithCreator: (NSStoryboardControllerCreator)block
{
id controller = [self instantiateInitialController];
CALL_BLOCK(block, self);
@ -954,7 +954,7 @@ static NSStoryboard *__mainStoryboard = nil;
}
- (id) instantiateControllerWithIdentifier: (NSStoryboardSceneIdentifier)identifier
creator: (NSStoryboardControllerCreator)block // 10.15
creator: (NSStoryboardControllerCreator)block
{
id controller = [self instantiateControllerWithIdentifier: identifier];
CALL_BLOCK(block, self);

View file

@ -62,10 +62,10 @@
_sourceController = controller;
}
+ (instancetype)segueWithIdentifier: (NSStoryboardSegueIdentifier)identifier
source: (id)sourceController
destination: (id)destinationController
performHandler: (GSStoryboardSeguePerformHandler)performHandler
+ (instancetype) segueWithIdentifier: (NSStoryboardSegueIdentifier)identifier
source: (id)sourceController
destination: (id)destinationController
performHandler: (GSStoryboardSeguePerformHandler)performHandler
{
NSStoryboardSegue *segue = [[NSStoryboardSegue alloc] initWithIdentifier: identifier
source: sourceController
@ -76,9 +76,9 @@
return segue;
}
- (instancetype)initWithIdentifier: (NSStoryboardSegueIdentifier)identifier
source: (id)sourceController
destination: (id)destinationController
- (instancetype) initWithIdentifier: (NSStoryboardSegueIdentifier)identifier
source: (id)sourceController
destination: (id)destinationController
{
self = [super init];
if (self != nil)
@ -101,7 +101,7 @@
[super dealloc];
}
- (void)perform
- (void) perform
{
// Perform segue based on it's kind...
if ([_kind isEqualToString: @"relationship"])