Skip to content

Commit

Permalink
Added uncrustify
Browse files Browse the repository at this point in the history
  • Loading branch information
tomidelucca committed Apr 8, 2018
1 parent 8d4c52e commit 1f4d5ea
Show file tree
Hide file tree
Showing 29 changed files with 2,181 additions and 676 deletions.
9 changes: 4 additions & 5 deletions Stickers/AppDelegate.h
Original file line number Diff line number Diff line change
@@ -1,14 +1,13 @@
//
// AppDelegate.h
// Stickers
// AppDelegate.h
// Stickers
//
// Created by Tomi De Lucca on 3/24/18.
// Copyright © 2018 Tomi De Lucca. All rights reserved.
// Created by Tomi De Lucca on 3/24/18.
// Copyright © 2018 Tomi De Lucca. All rights reserved.
//

#import <UIKit/UIKit.h>

@interface AppDelegate : UIResponder <UIApplicationDelegate>
@property (strong, nonatomic) UIWindow *window;
@end

35 changes: 18 additions & 17 deletions Stickers/AppDelegate.m
Original file line number Diff line number Diff line change
@@ -1,9 +1,9 @@
//
// AppDelegate.m
// Stickers
// AppDelegate.m
// Stickers
//
// Created by Tomi De Lucca on 3/24/18.
// Copyright © 2018 Tomi De Lucca. All rights reserved.
// Created by Tomi De Lucca on 3/24/18.
// Copyright © 2018 Tomi De Lucca. All rights reserved.
//

#import "AppDelegate.h"
Expand All @@ -12,26 +12,27 @@

#import <DKNightVersion/DKNightVersion.h>

static NSString * const kThemeFile = @"Themes.txt";
static NSString *const kThemeFile = @"Themes.txt";

@implementation AppDelegate

- (BOOL)application:(UIApplication *)application didFinishLaunchingWithOptions:(NSDictionary *)launchOptions {
[self setupTheme];

UIViewController *root = [MainStickersCollectionViewController new];
UINavigationController *nav = [[UINavigationController alloc] initWithRootViewController:root];
self.window = [[UIWindow alloc] initWithFrame:[UIScreen mainScreen].bounds];
[self.window setRootViewController:nav];
[self.window makeKeyAndVisible];

return YES;
- (BOOL)application:(UIApplication *)application didFinishLaunchingWithOptions:(NSDictionary *)launchOptions
{
[self setupTheme];

UIViewController *root = [MainStickersCollectionViewController new];
UINavigationController *nav = [[UINavigationController alloc] initWithRootViewController:root];
self.window = [[UIWindow alloc] initWithFrame:[UIScreen mainScreen].bounds];
[self.window setRootViewController:nav];
[self.window makeKeyAndVisible];

return YES;
}

- (void)setupTheme
{
[[DKNightVersionManager sharedManager] setThemeVersion:DKThemeVersionNormal];
[[DKColorTable sharedColorTable] setFile:kThemeFile];
[[DKNightVersionManager sharedManager] setThemeVersion:DKThemeVersionNormal];
[[DKColorTable sharedColorTable] setFile:kThemeFile];
}

@end
8 changes: 4 additions & 4 deletions Stickers/Controllers/MainStickersCollectionViewController.h
Original file line number Diff line number Diff line change
@@ -1,9 +1,9 @@
//
// MainStickersCollectionViewController.h
// Stickers
// MainStickersCollectionViewController.h
// Stickers
//
// Created by Tomi De Lucca on 3/24/18.
// Copyright © 2018 Tomi De Lucca. All rights reserved.
// Created by Tomi De Lucca on 3/24/18.
// Copyright © 2018 Tomi De Lucca. All rights reserved.
//

#import <UIKit/UIKit.h>
Expand Down
Loading

0 comments on commit 1f4d5ea

Please sign in to comment.