Skip to content

HTTPS clone URL

Subversion checkout URL

You can clone with HTTPS or Subversion.

Download ZIP

Comparing changes

Choose two branches to see what's changed or to start a new pull request. If you need to, you can also compare across forks.

Open a pull request

Create a new pull request by comparing changes across two branches. If you need to, you can also compare across forks.
base fork: pk/pktoolbox
base: a1cc386873
...
head fork: pk/pktoolbox
compare: bed3fd6363
Checking mergeability… Don't worry, you can still create the pull request.
  • 2 commits
  • 2 files changed
  • 0 commit comments
  • 1 contributor
View
1  PKToolbox/Sources/Foundation/NSFileManager+PKCopyDirectory.m
@@ -37,7 +37,6 @@ - (BOOL)pk_copyDirectoryAtPath:(NSString *)srcDirectoryPath
NSDictionary *dstFileAtributes = [fm attributesOfItemAtPath:dstFilePath
error:outError];
BOOL srcFileIsDirectory = ([srcFileAtributes fileType] == NSFileTypeDirectory);
- BOOL dstFileIsDirectory = ([dstFileAtributes fileType] == NSFileTypeDirectory);
BOOL dstFileExists = (dstFileAtributes != nil);
////////////////////////
View
17 PKToolbox/Sources/UIKit/PKWebBrowserController.m
@@ -53,7 +53,10 @@ - (void)dealloc {
[loadingTitle_ release];
[navigationBar_ release];
[toolBar_ release];
+
+ self.webView.delegate = nil;
[webView_ release];
+
[super dealloc];
}
@@ -86,16 +89,6 @@ - (void)loadView {
self.webView.delegate = self;
self.webView.autoresizingMask = (UIViewAutoresizingFlexibleWidth | UIViewAutoresizingFlexibleHeight);
- /*
- frame = CGRectMake(0,
- self.navigationBar.frame.size.height + self.webView.frame.size.height,
- self.view.frame.size.width,
- PKWebBrowserBarHeight);
- self.toolBar = [[UIToolbar alloc] initWithFrame:frame];
- self.toolBar.autoresizingMask = (UIViewAutoresizingFlexibleWidth | UIViewAutoresizingFlexibleTopMargin);
- [self.view addSubview:self.toolBar];
- */
-
[self.view addSubview:self.navigationBar];
[self.view addSubview:self.webView];
}
@@ -168,9 +161,11 @@ - (void)viewDidUnload {
[super viewDidUnload];
self.navigationBar = nil;
self.toolBar = nil;
- self.webView = nil;
self.backBarButton = nil;
self.forwardBarButton = nil;
+
+ self.webView.delegate = nil;
+ self.webView = nil;
}
- (BOOL)shouldAutorotateToInterfaceOrientation:(UIInterfaceOrientation)interfaceOrientation {

No commit comments for this range

Something went wrong with that request. Please try again.