Skip to content
This repository was archived by the owner on Jan 19, 2018. It is now read-only.
Open
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
2 changes: 1 addition & 1 deletion myLauncher/Classes/AppDelegate.m
Original file line number Diff line number Diff line change
Expand Up @@ -37,7 +37,7 @@ - (void)applicationDidFinishLaunching:(UIApplication*)application
[[RootViewController alloc] init]];
navigationController.navigationBar.tintColor = COLOR(2, 100, 162);

[window addSubview:navigationController.view];
[window setRootViewController:navigationController];
[window makeKeyAndVisible];
[window layoutSubviews];
}
Expand Down
2 changes: 1 addition & 1 deletion myLauncher/Classes/MyLauncher/MyLauncherView.h
Original file line number Diff line number Diff line change
Expand Up @@ -49,7 +49,7 @@

@property (nonatomic) BOOL editingAllowed;
@property (nonatomic) NSInteger numberOfImmovableItems;
@property (nonatomic, strong) id <MyLauncherViewDelegate> delegate;
@property (nonatomic, unsafe_unretained) id <MyLauncherViewDelegate> delegate;
@property (nonatomic, strong) MyLauncherScrollView *pagesScrollView;
@property (nonatomic, strong) MyLauncherPageControl *pageControl;
@property (nonatomic, strong) NSMutableArray *pages;
Expand Down
4 changes: 4 additions & 0 deletions myLauncher/Classes/MyLauncher/MyLauncherViewController.m
Original file line number Diff line number Diff line change
Expand Up @@ -113,6 +113,10 @@ - (void)viewDidUnload {
[super viewDidUnload];
}

- (void)dealloc {
_launcherView.delegate = nil;
}

#pragma mark - MyLauncherItem management

-(BOOL)hasSavedLauncherItems {
Expand Down