Permalink
Browse files

clear code

  • Loading branch information...
1 parent 6b7496f commit 0068c9e7fa47b26e42d269344f0bda82a0d54712 @scutdavy committed Sep 2, 2013
Showing with 2 additions and 19 deletions.
  1. +1 −6 objc/Nu.h
  2. +1 −13 objc/Nu.m
View
@@ -147,12 +147,7 @@
Comments can then be parsed with Nu code, typically to produce documentation.
*/
@interface NuCellWithComments : NuCell
-
-/*! Get a string containing the comments that preceded a list element. */
-- (id) comments;
-/*! Set the comments string for a list element. */
-- (void) setComments:(id) comments;
-
+@property (nonatomic, copy) id comments;
@end
#pragma mark -
View
@@ -3269,26 +3269,14 @@ - (void) setFile:(int) f line:(int) l{
@end
-@interface NuCellWithComments (){
- id _comments;
-}
+@interface NuCellWithComments ()
@end
@implementation NuCellWithComments
-
- (void) dealloc{
[_comments release];
[super dealloc];
}
-
-- (id) comments {return _comments;}
-
-- (void) setComments:(id) c{
- [c retain];
- [_comments release];
- _comments = c;
-}
-
@end
#pragma mark - NuClass.m

0 comments on commit 0068c9e

Please sign in to comment.