Skip to content
This repository

HTTPS clone URL

Subversion checkout URL

You can clone with HTTPS or Subversion.

Download ZIP
  • 2 commits
  • 2 files changed
  • 0 comments
  • 1 contributor
1  PKToolbox/Sources/Foundation/NSFileManager+PKCopyDirectory.m
@@ -37,7 +37,6 @@ - (BOOL)pk_copyDirectoryAtPath:(NSString *)srcDirectoryPath
37 37 NSDictionary *dstFileAtributes = [fm attributesOfItemAtPath:dstFilePath
38 38 error:outError];
39 39 BOOL srcFileIsDirectory = ([srcFileAtributes fileType] == NSFileTypeDirectory);
40   - BOOL dstFileIsDirectory = ([dstFileAtributes fileType] == NSFileTypeDirectory);
41 40 BOOL dstFileExists = (dstFileAtributes != nil);
42 41
43 42 ////////////////////////
17 PKToolbox/Sources/UIKit/PKWebBrowserController.m
@@ -53,7 +53,10 @@ - (void)dealloc {
53 53 [loadingTitle_ release];
54 54 [navigationBar_ release];
55 55 [toolBar_ release];
  56 +
  57 + self.webView.delegate = nil;
56 58 [webView_ release];
  59 +
57 60 [super dealloc];
58 61 }
59 62
@@ -86,16 +89,6 @@ - (void)loadView {
86 89 self.webView.delegate = self;
87 90 self.webView.autoresizingMask = (UIViewAutoresizingFlexibleWidth | UIViewAutoresizingFlexibleHeight);
88 91
89   - /*
90   - frame = CGRectMake(0,
91   - self.navigationBar.frame.size.height + self.webView.frame.size.height,
92   - self.view.frame.size.width,
93   - PKWebBrowserBarHeight);
94   - self.toolBar = [[UIToolbar alloc] initWithFrame:frame];
95   - self.toolBar.autoresizingMask = (UIViewAutoresizingFlexibleWidth | UIViewAutoresizingFlexibleTopMargin);
96   - [self.view addSubview:self.toolBar];
97   - */
98   -
99 92 [self.view addSubview:self.navigationBar];
100 93 [self.view addSubview:self.webView];
101 94 }
@@ -168,9 +161,11 @@ - (void)viewDidUnload {
168 161 [super viewDidUnload];
169 162 self.navigationBar = nil;
170 163 self.toolBar = nil;
171   - self.webView = nil;
172 164 self.backBarButton = nil;
173 165 self.forwardBarButton = nil;
  166 +
  167 + self.webView.delegate = nil;
  168 + self.webView = nil;
174 169 }
175 170
176 171 - (BOOL)shouldAutorotateToInterfaceOrientation:(UIInterfaceOrientation)interfaceOrientation {

No commit comments for this range

Something went wrong with that request. Please try again.