mirror of
https://github.com/rive-app/rive-flutter.git
synced 2025-06-22 14:41:27 +08:00
Update ObjC formatting to look more similar to the C++
Also update the auto formatter to run on *.m and *.mm files, and effectively ban breaking on return types entirely, as I think this is ugly. Diffs= c7d125c7d Update ObjC formatting to look more similar to the C++
This commit is contained in:
@ -1 +1 @@
|
|||||||
a61f4c6b55916294a69226fbd8312b602ad37466
|
c7d125c7d4efe1233c16c2a95fb7b637b746b010
|
||||||
|
@ -3,11 +3,12 @@
|
|||||||
|
|
||||||
@implementation AppDelegate
|
@implementation AppDelegate
|
||||||
|
|
||||||
- (BOOL)application:(UIApplication *)application
|
- (BOOL)application:(UIApplication*)application
|
||||||
didFinishLaunchingWithOptions:(NSDictionary *)launchOptions {
|
didFinishLaunchingWithOptions:(NSDictionary*)launchOptions
|
||||||
[GeneratedPluginRegistrant registerWithRegistry:self];
|
{
|
||||||
// Override point for customization after application launch.
|
[GeneratedPluginRegistrant registerWithRegistry:self];
|
||||||
return [super application:application didFinishLaunchingWithOptions:launchOptions];
|
// Override point for customization after application launch.
|
||||||
|
return [super application:application didFinishLaunchingWithOptions:launchOptions];
|
||||||
}
|
}
|
||||||
|
|
||||||
@end
|
@end
|
||||||
|
@ -2,8 +2,10 @@
|
|||||||
#import <UIKit/UIKit.h>
|
#import <UIKit/UIKit.h>
|
||||||
#import "AppDelegate.h"
|
#import "AppDelegate.h"
|
||||||
|
|
||||||
int main(int argc, char* argv[]) {
|
int main(int argc, char* argv[])
|
||||||
@autoreleasepool {
|
{
|
||||||
return UIApplicationMain(argc, argv, nil, NSStringFromClass([AppDelegate class]));
|
@autoreleasepool
|
||||||
}
|
{
|
||||||
|
return UIApplicationMain(argc, argv, nil, NSStringFromClass([AppDelegate class]));
|
||||||
|
}
|
||||||
}
|
}
|
||||||
|
Reference in New Issue
Block a user