diff options
author | Johan Paulsson <gonz@badcode.net> | 2014-03-23 02:48:06 +0000 |
---|---|---|
committer | Johan Paulsson <gonz@badcode.net> | 2014-03-23 02:48:06 +0000 |
commit | 5532f8878b7219720de6145eabbe57efb894957c (patch) | |
tree | 25e3ce1d092bc3e57096f63989e98409870d3e9b /tikzit/src/osx/CustomNodeController.h | |
parent | 2d6b88d5d016237acbc8cb63f2cf2477ccfe9e69 (diff) |
Converting from GC to ARC
This should only be for the osx specific code as all common files are left out. Hopefully this shouldn't introduce any problems on the other systems.
Diffstat (limited to 'tikzit/src/osx/CustomNodeController.h')
-rw-r--r-- | tikzit/src/osx/CustomNodeController.h | 16 |
1 files changed, 8 insertions, 8 deletions
diff --git a/tikzit/src/osx/CustomNodeController.h b/tikzit/src/osx/CustomNodeController.h index 55f0e0b..56cb74c 100644 --- a/tikzit/src/osx/CustomNodeController.h +++ b/tikzit/src/osx/CustomNodeController.h @@ -16,18 +16,18 @@ #import "SupportDir.h" @interface CustomNodeController : NSViewController <NSTableViewDelegate>{ - NSDictionary* nodeStyles; + NSDictionary* __weak nodeStyles; NSMutableArray* customNodeStyles; - NSMutableArray* onodeStyles; + NSMutableArray* __weak onodeStyles; - GraphicsView *graphicsView; - TikzSourceController *tikzSourceController; + GraphicsView *__weak graphicsView; + TikzSourceController *__weak tikzSourceController; } -@property (readonly) NSDictionary *nodeStyles; -@property (readonly) NSMutableArray* onodeStyles; +@property (weak, readonly) NSDictionary *nodeStyles; +@property (weak, readonly) NSMutableArray* onodeStyles; -@property IBOutlet GraphicsView *graphicsView; -@property IBOutlet TikzSourceController *tikzSourceController; +@property (weak) IBOutlet GraphicsView *graphicsView; +@property (weak) IBOutlet TikzSourceController *tikzSourceController; @end |