mirror of
https://github.com/gnustep/libs-gui.git
synced 2025-04-23 07:00:46 +00:00
Correct some formatting.
This commit is contained in:
parent
ca72a59467
commit
1ed5ff16e4
3 changed files with 20 additions and 20 deletions
|
@ -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
|
||||
|
||||
|
|
|
@ -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);
|
||||
|
|
|
@ -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"])
|
||||
|
|
Loading…
Reference in a new issue