Permalink
Browse files

cleanup

  • Loading branch information...
1 parent 5ac853a commit 1af66444f991e4af8bca955e3f12f92b3b6b409a @coneybeare coneybeare committed Jul 8, 2012
Deleted file not rendered
Deleted file not rendered
Deleted file not rendered
Deleted file not rendered
Deleted file not rendered
@@ -399,6 +399,7 @@
"DEBUG=1",
"$(inherited)",
);
+ GCC_VERSION = "";
INFOPLIST_FILE = "UAModalPanel/Example Project/UAModalPanel-Info.plist";
IPHONEOS_DEPLOYMENT_TARGET = 5.0;
PRODUCT_NAME = "$(TARGET_NAME)";
@@ -412,6 +413,7 @@
buildSettings = {
GCC_PRECOMPILE_PREFIX_HEADER = YES;
GCC_PREFIX_HEADER = "UAModalPanel/Example Project/UAModalPanel-Prefix.pch";
+ GCC_VERSION = "";
INFOPLIST_FILE = "UAModalPanel/Example Project/UAModalPanel-Info.plist";
IPHONEOS_DEPLOYMENT_TARGET = 5.0;
PRODUCT_NAME = "$(TARGET_NAME)";
@@ -44,7 +44,9 @@
launchStyle = "0"
useCustomWorkingDirectory = "NO"
buildConfiguration = "Debug"
+ ignoresPersistentStateOnLaunch = "NO"
debugDocumentVersioning = "YES"
+ enableOpenGLFrameCaptureMode = "0"
allowLocationSimulation = "YES">
<BuildableProductRunnable>
<BuildableReference
@@ -72,7 +72,7 @@ - (void)dealloc {
self.contentColor = nil;
self.onActionPressed = nil;
self.onClosePressed = nil;
- delegate = nil;
+ self.delegate = nil;
[super dealloc];
}
@@ -110,13 +110,13 @@ - (void)setContentColor:(UIColor *)newColor {
- (UIView *)roundedRect {
if (!roundedRect) {
self.roundedRect = [[[UIView alloc] initWithFrame:CGRectZero] autorelease];
- roundedRect.layer.masksToBounds = YES;
- roundedRect.backgroundColor = self.contentColor;
- roundedRect.layer.borderColor = [self.borderColor CGColor];
- roundedRect.layer.borderWidth = self.borderWidth;
- roundedRect.layer.cornerRadius = self.cornerRadius;
+ self.roundedRect.layer.masksToBounds = YES;
+ self.roundedRect.backgroundColor = self.contentColor;
+ self.roundedRect.layer.borderColor = [self.borderColor CGColor];
+ self.roundedRect.layer.borderWidth = self.borderWidth;
+ self.roundedRect.layer.cornerRadius = self.cornerRadius;
- [self.contentContainer insertSubview:roundedRect atIndex:0];
+ [self.contentContainer insertSubview:self.roundedRect atIndex:0];
}
return roundedRect;
}

0 comments on commit 1af6644

Please sign in to comment.