public
Description: A YAML processor for use with Nu and Objective-C. Created by Patrick Thomson.
Homepage: http://programming.nu
Clone URL: git://github.com/timburks/nuyaml.git
Fixed a few small problems.

1. "f" is undefined, replaced with "nil".
2. autoreleasing is done automatically by Nu..
timburks (author)
Sat Dec 15 11:13:19 -0800 2007
commit  0bab433aebec03b9ea3418264bec1d87dbf99123
tree    1837f86f176ce8311134108922a90706d9138e9d
parent  6ee60041d893431e5fa3caf1e5bd76b8d7ad2518
...
15
16
17
18
 
19
20
21
 
22
23
24
...
46
47
48
49
50
51
 
 
 
 
52
53
...
15
16
17
 
18
19
20
 
21
22
23
24
...
46
47
48
 
 
 
49
50
51
52
53
54
0
@@ -15,10 +15,10 @@
0
               xmlArea
0
               yamlArea
0
               mainWindow)
0
-
0
+
0
      ;; Ensuring the application's main window is selected at startup.
0
      (imethod (void) awakeFromNib is
0
- (@mainWindow makeKeyAndOrderFront: nil))
0
+ (@mainWindow makeKeyAndOrderFront: nil))
0
      
0
      ;; Hooks up to the conversion button in the nib.
0
      (imethod (void) convertXMLtoYAML:(id) sender is
0
@@ -46,7 +46,8 @@
0
                 (self copyFile: the-file toTextArea: @xmlArea)))
0
      
0
      (- copyFile:(id) name toTextArea:(id) area is
0
- (set contents (((NSString alloc) initWithContentsOfFile: name
0
- encoding: NSUTF8StringEncoding
0
- error: nil) autorelease))
0
+ (set contents ((NSString alloc) initWithContentsOfFile: name
0
+ encoding: NSUTF8StringEncoding
0
+ error: nil))
0
+
0
         (area setString: contents)))
0
\ No newline at end of file
...
8
9
10
11
 
12
13
14
...
8
9
10
 
11
12
13
14
0
@@ -8,7 +8,7 @@
0
      (- (id) nil? is t))
0
 
0
 (class NSObject
0
- (- (id) nil? is f))
0
+ (- (id) nil? is nil))
0
 
0
 ;; Ensures that the named framework is loaded from the .app's framework dir.
0
 (macro load-framework

Comments

    No one has commented yet.