Skip to content

Commit

Permalink
Fixed a TyphoonConfig bug (Issue #28)
Browse files Browse the repository at this point in the history
  • Loading branch information
Egor Tolstoy committed Jan 23, 2016
1 parent e9ac32c commit 67e7452
Show file tree
Hide file tree
Showing 2 changed files with 5 additions and 6 deletions.
6 changes: 0 additions & 6 deletions PocketForecast/Assembly/PFApplicationAssembly.m
Original file line number Diff line number Diff line change
Expand Up @@ -17,7 +17,6 @@
#import "PFThemeAssembly.h"
#import "PFWeatherReportViewController.h"
#import "PFAppDelegate.h"
#import "TyphoonDefinition+Infrastructure.h"


@implementation PFApplicationAssembly
Expand Down Expand Up @@ -51,11 +50,6 @@ - (UIWindow *)mainWindow
}];
}

- (id)config
{
return [TyphoonDefinition configDefinitionWithName:@"Configuration.plist"];
}

//-------------------------------------------------------------------------------------------

- (PFRootViewController *)rootViewController
Expand Down
5 changes: 5 additions & 0 deletions PocketForecast/Assembly/PFCoreComponents.m
Original file line number Diff line number Diff line change
Expand Up @@ -15,6 +15,7 @@
#import "PFWeatherReportDaoFileSystemImpl.h"
#import "PFCityDaoUserDefaultsImpl.h"
#import "TyphoonConfigPostProcessor.h"
#import "TyphoonDefinition+Infrastructure.h"

@implementation PFCoreComponents

Expand Down Expand Up @@ -46,5 +47,9 @@ @implementation PFCoreComponents
}];
}

- (id)config
{
return [TyphoonDefinition withConfigName:@"Configuration.plist"];
}

@end

0 comments on commit 67e7452

Please sign in to comment.