Skip to content
Browse files

Merge branch 'master' into AppKitBridging

  • Loading branch information...
2 parents b327bae + 0a61d4b commit 6c107f330994ef21513c91ac0ff11652619ed92e @jspahrsummers jspahrsummers committed
Showing with 5 additions and 12 deletions.
  1. +3 −2 README.md
  2. +2 −2 lib/UIKit/TUIAccessibilityElement.h
  3. +0 −8 lib/UIKit/TUIAccessibilityElement.m
View
5 README.md
@@ -44,8 +44,9 @@ There are many places where TwUI could be improved:
# Documentation
You can generate documentation with [doxygen](http://www.doxygen.org). Install it, and then run:
-> cd docs
-> doxygen
+
+ cd docs
+ doxygen
Documentation is a work in progress, but the API will be familiar if you have used UIKit. (TODO: [appledoc](http://gentlebytes.com/appledoc/) looks very cool, moving to that might be nice).
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;
}

0 comments on commit 6c107f3

Please sign in to comment.
Something went wrong with that request. Please try again.