Skip to content

HTTPS clone URL

Subversion checkout URL

You can clone with
or
.
Download ZIP
Browse files

Merge pull request #109 from jwilling/master

Transition TUIAccessibilityElement to ARC
  • Loading branch information...
commit 7bd0ff99d7668c51f86e96c358d1dc821a4caf7e 2 parents cabfe19 + 688c4aa
@joshaber joshaber authored
View
4 lib/UIKit/TUIAccessibilityElement.h
@@ -11,11 +11,11 @@
// implements the TUIAccessibility informal protocol
@interface TUIAccessibilityElement : NSObject {
- id accessibilityContainer;
+ __unsafe_unretained id accessibilityContainer;
NSString *accessibilityLabel;
}
-@property (nonatomic, assign) id accessibilityContainer;
+@property (nonatomic, __unsafe_unretained) id accessibilityContainer;
@property (nonatomic, copy) NSString *accessibilityLabel;
@end
View
8 lib/UIKit/TUIAccessibilityElement.m
@@ -14,18 +14,10 @@ @implementation TUIAccessibilityElement
@synthesize accessibilityContainer;
@synthesize accessibilityLabel;
-- (void)dealloc
-{
- [accessibilityLabel release];
-
- [super dealloc];
-}
-
- (id)initWithAccessibilityContainer:(id)container
{
self = [super init];
if(self == nil) {
- [self release];
return nil;
}
Please sign in to comment.
Something went wrong with that request. Please try again.