diff --git a/Brainfuck.icns b/Brainfuck.icns new file mode 100755 index 0000000..46ea1d1 Binary files /dev/null and b/Brainfuck.icns differ diff --git a/Brainfuck.xcodeproj/project.pbxproj b/Brainfuck.xcodeproj/project.pbxproj old mode 100644 new mode 100755 index c2eb4d0..39226f6 --- a/Brainfuck.xcodeproj/project.pbxproj +++ b/Brainfuck.xcodeproj/project.pbxproj @@ -14,6 +14,12 @@ 3B9F1F34174A865C00529CDD /* Document.m in Sources */ = {isa = PBXBuildFile; fileRef = 3B9F1F33174A865C00529CDD /* Document.m */; }; 3B9F1F37174A865C00529CDD /* Document.xib in Resources */ = {isa = PBXBuildFile; fileRef = 3B9F1F35174A865C00529CDD /* Document.xib */; }; 3B9F1F3A174A865D00529CDD /* MainMenu.xib in Resources */ = {isa = PBXBuildFile; fileRef = 3B9F1F38174A865C00529CDD /* MainMenu.xib */; }; + 3B9F1F42174A8BAB00529CDD /* AppDelegate.m in Sources */ = {isa = PBXBuildFile; fileRef = 3B9F1F41174A8BAB00529CDD /* AppDelegate.m */; }; + 3B9F1F45174A8BF000529CDD /* Interpreter.m in Sources */ = {isa = PBXBuildFile; fileRef = 3B9F1F44174A8BF000529CDD /* Interpreter.m */; }; + 3B9F1F7D174AAB2500529CDD /* Lexer.m in Sources */ = {isa = PBXBuildFile; fileRef = 3B9F1F7C174AAB2500529CDD /* Lexer.m */; }; + 3B9F1F8C174AC80A00529CDD /* Default.brainfuck in Resources */ = {isa = PBXBuildFile; fileRef = 3B9F1F8B174AC80A00529CDD /* Default.brainfuck */; }; + 3BB9D879174ADA4F004D176D /* Brainfuck.icns in Resources */ = {isa = PBXBuildFile; fileRef = 3BB9D878174ADA4F004D176D /* Brainfuck.icns */; }; + 3BB9D87B174AE68D004D176D /* BrainfuckDocument.icns in Resources */ = {isa = PBXBuildFile; fileRef = 3BB9D87A174AE68D004D176D /* BrainfuckDocument.icns */; }; /* End PBXBuildFile section */ /* Begin PBXFileReference section */ @@ -31,6 +37,16 @@ 3B9F1F33174A865C00529CDD /* Document.m */ = {isa = PBXFileReference; lastKnownFileType = sourcecode.c.objc; path = Document.m; sourceTree = ""; }; 3B9F1F36174A865C00529CDD /* en */ = {isa = PBXFileReference; lastKnownFileType = file.xib; name = en; path = en.lproj/Document.xib; sourceTree = ""; }; 3B9F1F39174A865D00529CDD /* en */ = {isa = PBXFileReference; lastKnownFileType = file.xib; name = en; path = en.lproj/MainMenu.xib; sourceTree = ""; }; + 3B9F1F40174A8BAB00529CDD /* AppDelegate.h */ = {isa = PBXFileReference; fileEncoding = 4; lastKnownFileType = sourcecode.c.h; path = AppDelegate.h; sourceTree = ""; }; + 3B9F1F41174A8BAB00529CDD /* AppDelegate.m */ = {isa = PBXFileReference; fileEncoding = 4; lastKnownFileType = sourcecode.c.objc; path = AppDelegate.m; sourceTree = ""; }; + 3B9F1F43174A8BF000529CDD /* Interpreter.h */ = {isa = PBXFileReference; fileEncoding = 4; lastKnownFileType = sourcecode.c.h; path = Interpreter.h; sourceTree = ""; }; + 3B9F1F44174A8BF000529CDD /* Interpreter.m */ = {isa = PBXFileReference; fileEncoding = 4; lastKnownFileType = sourcecode.c.objc; path = Interpreter.m; sourceTree = ""; }; + 3B9F1F7B174AAB2500529CDD /* Lexer.h */ = {isa = PBXFileReference; fileEncoding = 4; lastKnownFileType = sourcecode.c.h; path = Lexer.h; sourceTree = ""; }; + 3B9F1F7C174AAB2500529CDD /* Lexer.m */ = {isa = PBXFileReference; fileEncoding = 4; lastKnownFileType = sourcecode.c.objc; path = Lexer.m; sourceTree = ""; }; + 3B9F1F8A174AB86300529CDD /* Printer.h */ = {isa = PBXFileReference; lastKnownFileType = sourcecode.c.h; path = Printer.h; sourceTree = ""; }; + 3B9F1F8B174AC80A00529CDD /* Default.brainfuck */ = {isa = PBXFileReference; fileEncoding = 7; lastKnownFileType = text; path = Default.brainfuck; sourceTree = ""; }; + 3BB9D878174ADA4F004D176D /* Brainfuck.icns */ = {isa = PBXFileReference; lastKnownFileType = image.icns; path = Brainfuck.icns; sourceTree = ""; }; + 3BB9D87A174AE68D004D176D /* BrainfuckDocument.icns */ = {isa = PBXFileReference; lastKnownFileType = image.icns; path = BrainfuckDocument.icns; sourceTree = ""; }; /* End PBXFileReference section */ /* Begin PBXFrameworksBuildPhase section */ @@ -48,6 +64,8 @@ 3B9F1F14174A865C00529CDD = { isa = PBXGroup; children = ( + 3BB9D87A174AE68D004D176D /* BrainfuckDocument.icns */, + 3BB9D878174ADA4F004D176D /* Brainfuck.icns */, 3B9F1F26174A865C00529CDD /* Brainfuck */, 3B9F1F1F174A865C00529CDD /* Frameworks */, 3B9F1F1E174A865C00529CDD /* Products */, @@ -84,10 +102,18 @@ 3B9F1F26174A865C00529CDD /* Brainfuck */ = { isa = PBXGroup; children = ( + 3B9F1F40174A8BAB00529CDD /* AppDelegate.h */, + 3B9F1F41174A8BAB00529CDD /* AppDelegate.m */, + 3B9F1F7B174AAB2500529CDD /* Lexer.h */, + 3B9F1F7C174AAB2500529CDD /* Lexer.m */, + 3B9F1F43174A8BF000529CDD /* Interpreter.h */, + 3B9F1F44174A8BF000529CDD /* Interpreter.m */, + 3B9F1F8A174AB86300529CDD /* Printer.h */, 3B9F1F32174A865C00529CDD /* Document.h */, 3B9F1F33174A865C00529CDD /* Document.m */, 3B9F1F35174A865C00529CDD /* Document.xib */, 3B9F1F38174A865C00529CDD /* MainMenu.xib */, + 3B9F1F8B174AC80A00529CDD /* Default.brainfuck */, 3B9F1F27174A865C00529CDD /* Supporting Files */, ); path = Brainfuck; @@ -160,6 +186,9 @@ 3B9F1F31174A865C00529CDD /* Credits.rtf in Resources */, 3B9F1F37174A865C00529CDD /* Document.xib in Resources */, 3B9F1F3A174A865D00529CDD /* MainMenu.xib in Resources */, + 3B9F1F8C174AC80A00529CDD /* Default.brainfuck in Resources */, + 3BB9D879174ADA4F004D176D /* Brainfuck.icns in Resources */, + 3BB9D87B174AE68D004D176D /* BrainfuckDocument.icns in Resources */, ); runOnlyForDeploymentPostprocessing = 0; }; @@ -172,6 +201,9 @@ files = ( 3B9F1F2D174A865C00529CDD /* main.m in Sources */, 3B9F1F34174A865C00529CDD /* Document.m in Sources */, + 3B9F1F42174A8BAB00529CDD /* AppDelegate.m in Sources */, + 3B9F1F45174A8BF000529CDD /* Interpreter.m in Sources */, + 3B9F1F7D174AAB2500529CDD /* Lexer.m in Sources */, ); runOnlyForDeploymentPostprocessing = 0; }; @@ -315,6 +347,7 @@ 3B9F1F3F174A865D00529CDD /* Release */, ); defaultConfigurationIsVisible = 0; + defaultConfigurationName = Release; }; /* End XCConfigurationList section */ }; diff --git a/Brainfuck.xcodeproj/project.xcworkspace/contents.xcworkspacedata b/Brainfuck.xcodeproj/project.xcworkspace/contents.xcworkspacedata new file mode 100755 index 0000000..7369a58 --- /dev/null +++ b/Brainfuck.xcodeproj/project.xcworkspace/contents.xcworkspacedata @@ -0,0 +1,7 @@ + + + + + diff --git a/Brainfuck.xcodeproj/project.xcworkspace/xcuserdata/kim.xcuserdatad/UserInterfaceState.xcuserstate b/Brainfuck.xcodeproj/project.xcworkspace/xcuserdata/kim.xcuserdatad/UserInterfaceState.xcuserstate new file mode 100755 index 0000000..0b70d90 Binary files /dev/null and b/Brainfuck.xcodeproj/project.xcworkspace/xcuserdata/kim.xcuserdatad/UserInterfaceState.xcuserstate differ diff --git a/Brainfuck.xcodeproj/project.xcworkspace/xcuserdata/kim.xcuserdatad/WorkspaceSettings.xcsettings b/Brainfuck.xcodeproj/project.xcworkspace/xcuserdata/kim.xcuserdatad/WorkspaceSettings.xcsettings new file mode 100755 index 0000000..bfffcfe --- /dev/null +++ b/Brainfuck.xcodeproj/project.xcworkspace/xcuserdata/kim.xcuserdatad/WorkspaceSettings.xcsettings @@ -0,0 +1,10 @@ + + + + + HasAskedToTakeAutomaticSnapshotBeforeSignificantChanges + + SnapshotAutomaticallyBeforeSignificantChanges + + + diff --git a/Brainfuck.xcodeproj/xcuserdata/kim.xcuserdatad/xcdebugger/Breakpoints.xcbkptlist b/Brainfuck.xcodeproj/xcuserdata/kim.xcuserdatad/xcdebugger/Breakpoints.xcbkptlist new file mode 100755 index 0000000..05301bc --- /dev/null +++ b/Brainfuck.xcodeproj/xcuserdata/kim.xcuserdatad/xcdebugger/Breakpoints.xcbkptlist @@ -0,0 +1,5 @@ + + + diff --git a/Brainfuck.xcodeproj/xcuserdata/kim.xcuserdatad/xcschemes/Brainfuck.xcscheme b/Brainfuck.xcodeproj/xcuserdata/kim.xcuserdatad/xcschemes/Brainfuck.xcscheme new file mode 100755 index 0000000..5d734b6 --- /dev/null +++ b/Brainfuck.xcodeproj/xcuserdata/kim.xcuserdatad/xcschemes/Brainfuck.xcscheme @@ -0,0 +1,86 @@ + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + diff --git a/Brainfuck.xcodeproj/xcuserdata/kim.xcuserdatad/xcschemes/xcschememanagement.plist b/Brainfuck.xcodeproj/xcuserdata/kim.xcuserdatad/xcschemes/xcschememanagement.plist new file mode 100755 index 0000000..15f5314 --- /dev/null +++ b/Brainfuck.xcodeproj/xcuserdata/kim.xcuserdatad/xcschemes/xcschememanagement.plist @@ -0,0 +1,22 @@ + + + + + SchemeUserState + + Brainfuck.xcscheme + + orderHint + 0 + + + SuppressBuildableAutocreation + + 3B9F1F1C174A865C00529CDD + + primary + + + + + diff --git a/Brainfuck/AppDelegate.h b/Brainfuck/AppDelegate.h new file mode 100755 index 0000000..448a505 --- /dev/null +++ b/Brainfuck/AppDelegate.h @@ -0,0 +1,17 @@ +// +// AppDelegate.h +// Brainfuck +// +// Created by Kim Wittenburg on 20.05.13. +// Copyright (c) 2013 brainfuck. All rights reserved. +// + +#import + +@class CodeSnippet; + +@interface AppDelegate : NSObject + +- (IBAction)colorChanged:(id)sender; + +@end diff --git a/Brainfuck/AppDelegate.m b/Brainfuck/AppDelegate.m new file mode 100755 index 0000000..697c600 --- /dev/null +++ b/Brainfuck/AppDelegate.m @@ -0,0 +1,49 @@ +// +// AppDelegate.m +// Brainfuck +// +// Created by Kim Wittenburg on 20.05.13. +// Copyright (c) 2013 brainfuck. All rights reserved. +// + +#import "AppDelegate.h" + +#define Color(r,g,b) [NSArchiver archivedDataWithRootObject:[NSColor colorWithCalibratedRed:r green:g blue:b alpha:1.0]] +#define WhiteColor(white) [NSArchiver archivedDataWithRootObject:[NSColor colorWithCalibratedWhite:white alpha:1.0]] +#define DefaultColor(color) [NSArchiver archivedDataWithRootObject:[NSColor color]] + +@implementation AppDelegate + +#pragma mark - Application delegate + +- (void)applicationDidFinishLaunching:(NSNotification *)notification +{ + NSMutableDictionary *defaults = [NSMutableDictionary dictionaryWithCapacity:9]; + [defaults setObject:WhiteColor(0.333333) forKey:@"default"]; + [defaults setObject:Color(11/255.0, 86/255.0, 2/255.0) forKey:@"\\+"]; + [defaults setObject:Color(11/255.0, 86/255.0, 2/255.0) forKey:@"\\-"]; + [defaults setObject:Color(0.0, 0.0, 83/255.0) forKey:@"\\<"]; + [defaults setObject:Color(0.0, 0.0, 83/255.0) forKey:@"\\>"]; + [defaults setObject:Color(82/255.0, 0.0, 2/255.0) forKey:@"\\["]; + [defaults setObject:Color(82/255.0, 0.0, 2/255.0) forKey:@"\\]"]; + [defaults setObject:DefaultColor(blackColor) forKey:@"\\."]; + [defaults setObject:DefaultColor(blackColor) forKey:@"\\,"]; + [[NSUserDefaults standardUserDefaults] registerDefaults:defaults]; +} + +- (IBAction)colorChanged:(id)sender { + for (id obj in [[NSDocumentController sharedDocumentController] documents]) { + if ([obj respondsToSelector:@selector(updateColors)]) { + [obj performSelector:@selector(updateColors)]; + } + } +} + +#pragma mark - Window delegate + +- (void)windowDidResignMain:(NSNotification *)notification +{ + [self colorChanged:nil]; +} + +@end diff --git a/Brainfuck/Brainfuck-Info.plist b/Brainfuck/Brainfuck-Info.plist old mode 100644 new mode 100755 index 3fc533f..87bc00c --- a/Brainfuck/Brainfuck-Info.plist +++ b/Brainfuck/Brainfuck-Info.plist @@ -12,23 +12,33 @@ brainfuck CFBundleTypeIconFile - + BrainfuckDocument.icns CFBundleTypeName - DocumentType + Brainfuck Document CFBundleTypeOSTypes ???? CFBundleTypeRole Editor + LSItemContentTypes + + tk.brainfuck + + LSTypeIsPackage + NSDocumentClass Document + NSExportableTypes + + tk.brainfuck + CFBundleExecutable ${EXECUTABLE_NAME} CFBundleIconFile - + Brainfuck CFBundleIdentifier tk.brainfuck.${PRODUCT_NAME:rfc1034identifier} CFBundleInfoDictionaryVersion @@ -53,5 +63,33 @@ MainMenu NSPrincipalClass NSApplication + UTExportedTypeDeclarations + + + UTTypeConformsTo + + public.plain-text + + UTTypeDescription + Brainfuck Document + UTTypeIconFile + BrainfuckDocument + UTTypeIdentifier + tk.brainfuck + UTTypeTagSpecification + + com.apple.ostype + + ???? + + public.filename-extension + + brainfuck + + public.mime-type + + + + diff --git a/Brainfuck/Brainfuck-Prefix.pch b/Brainfuck/Brainfuck-Prefix.pch old mode 100644 new mode 100755 diff --git a/Brainfuck/Default.brainfuck b/Brainfuck/Default.brainfuck new file mode 100755 index 0000000..b279109 --- /dev/null +++ b/Brainfuck/Default.brainfuck @@ -0,0 +1,18 @@ +++++++++++ +[ + >+++++++>++++++++++>+++>+<<<<- +] +>++. +>+. ++++++++. +. ++++. +>++. +<<+++++++++++++++. +>. ++++. +------. +--------. +>+. +>. ++++. \ No newline at end of file diff --git a/Brainfuck/Document.h b/Brainfuck/Document.h old mode 100644 new mode 100755 index 4e6e767..f3cda72 --- a/Brainfuck/Document.h +++ b/Brainfuck/Document.h @@ -8,6 +8,17 @@ #import -@interface Document : NSDocument +#import "Printer.h" + +@interface Document : NSDocument + +@property (unsafe_unretained) IBOutlet NSTextView *editorView; +@property (weak) IBOutlet NSTextField *inputView; +@property (unsafe_unretained) IBOutlet NSTextView *outputView; + +@property (copy) NSString *text; + +- (IBAction)executeScript:(id)sender; +- (void)updateColors; @end diff --git a/Brainfuck/Document.m b/Brainfuck/Document.m old mode 100644 new mode 100755 index 94270c4..c47f2a6 --- a/Brainfuck/Document.m +++ b/Brainfuck/Document.m @@ -8,7 +8,20 @@ #import "Document.h" -@implementation Document +#import "AppDelegate.h" + +#import "Interpreter.h" + +@implementation Document { + NSString *changedCharacters; + NSInteger insertLocation; +} + +@synthesize editorView; +@synthesize inputView; +@synthesize outputView; + +@synthesize text; - (id)init { @@ -21,15 +34,18 @@ - (NSString *)windowNibName { - // Override returning the nib file name of the document - // If you need to use a subclass of NSWindowController or if your document supports multiple NSWindowControllers, you should remove this method and override -makeWindowControllers instead. return @"Document"; } - (void)windowControllerDidLoadNib:(NSWindowController *)aController { [super windowControllerDidLoadNib:aController]; - // Add any code here that needs to be executed once the windowController has loaded the document's window. + editorView.textStorage.delegate = self; + if (!self.text) { + NSString *defaultFilePath = [[NSBundle mainBundle].resourcePath stringByAppendingPathComponent:@"Default.brainfuck"]; + self.text = [NSString stringWithContentsOfFile:defaultFilePath encoding:NSASCIIStringEncoding error:nil]; + } + [self updateColors]; } + (BOOL)autosavesInPlace @@ -39,21 +55,104 @@ - (NSData *)dataOfType:(NSString *)typeName error:(NSError **)outError { - // Insert code here to write your document to data of the specified type. If outError != NULL, ensure that you create and set an appropriate error when returning nil. - // You can also choose to override -fileWrapperOfType:error:, -writeToURL:ofType:error:, or -writeToURL:ofType:forSaveOperation:originalContentsURL:error: instead. - NSException *exception = [NSException exceptionWithName:@"UnimplementedMethod" reason:[NSString stringWithFormat:@"%@ is unimplemented", NSStringFromSelector(_cmd)] userInfo:nil]; - @throw exception; - return nil; + return [self.text dataUsingEncoding:NSASCIIStringEncoding]; } - (BOOL)readFromData:(NSData *)data ofType:(NSString *)typeName error:(NSError **)outError { - // Insert code here to read your document from the given data of the specified type. If outError != NULL, ensure that you create and set an appropriate error when returning NO. - // You can also choose to override -readFromFileWrapper:ofType:error: or -readFromURL:ofType:error: instead. - // If you override either of these, you should also override -isEntireFileLoaded to return NO if the contents are lazily loaded. - NSException *exception = [NSException exceptionWithName:@"UnimplementedMethod" reason:[NSString stringWithFormat:@"%@ is unimplemented", NSStringFromSelector(_cmd)] userInfo:nil]; - @throw exception; + self.text = [[NSString alloc] initWithData:data encoding:NSASCIIStringEncoding]; return YES; } +- (NSPrintOperation *)printOperationWithSettings:(NSDictionary *)printSettings error:(NSError *__autoreleasing *)outError +{ + NSPrintOperation *op = [NSPrintOperation printOperationWithView:self.editorView]; + [self updateColors]; + return op; +} + +- (IBAction)executeScript:(id)sender +{ + self.outputView.string = @""; + Interpreter *interpreter = [Interpreter interpreter]; + interpreter.printer = self; + [interpreter execute:self.editorView.string withInput:self.inputView.stringValue error:nil]; +} + +- (void)updateColors +{ + changedCharacters = self.editorView.string; + insertLocation = 0; + [self addTextStorageAttributes:self.editorView.textStorage]; +} + +#pragma mark - Window delegate + +- (void)windowDidResignKey:(NSNotification *)notification +{ + [self updateColors]; +} + +#pragma mark - Text storage delegate + +- (void)textStorageDidProcessEditing:(NSNotification *)notification +{ + [self addTextStorageAttributes:notification.object]; +} + +- (void)addTextStorageAttributes:(NSTextStorage *)storage +{ + if (!changedCharacters) { + return; + } + NSData *foregroundData; + NSColor *foreground; + for (NSInteger i = 0; i < changedCharacters.length; ) { + NSInteger loc = insertLocation + i; + NSInteger len = 1; + unichar c = [changedCharacters characterAtIndex:i]; + while (changedCharacters.length > ++i && [changedCharacters characterAtIndex:i] == c) + len++; + foregroundData = [[NSUserDefaults standardUserDefaults] objectForKey:[NSString stringWithFormat:@"\\%c", c]]; + if (!foregroundData) { + foregroundData = [[NSUserDefaults standardUserDefaults] objectForKey:@"default"]; + } + foreground = [NSUnarchiver unarchiveObjectWithData:foregroundData]; + [storage addAttribute:NSForegroundColorAttributeName value:foreground range:NSMakeRange(loc, len)]; + } + changedCharacters = nil; +} + +#pragma mark - Text view delegate + +- (BOOL)textView:(NSTextView *)textView shouldChangeTextInRange:(NSRange)affectedCharRange replacementString:(NSString *)replacementString +{ + if (replacementString.length == 0) { + changedCharacters = nil; + } else { + changedCharacters = replacementString; + insertLocation = affectedCharRange.location; + } + return YES; +} + +#pragma mark - Printer + +- (void)print:(NSString *)string +{ + self.outputView.string = [self.outputView.string stringByAppendingString:string]; +} + +#pragma mark - Split view delegate + +- (CGFloat)splitView:(NSSplitView *)splitView constrainMinCoordinate:(CGFloat)proposedMinimumPosition ofSubviewAt:(NSInteger)dividerIndex +{ + return 100; +} + +- (CGFloat)splitView:(NSSplitView *)splitView constrainMaxCoordinate:(CGFloat)proposedMaximumPosition ofSubviewAt:(NSInteger)dividerIndex +{ + return proposedMaximumPosition-50; +} + @end diff --git a/Brainfuck/Interpreter.h b/Brainfuck/Interpreter.h new file mode 100755 index 0000000..39e14a8 --- /dev/null +++ b/Brainfuck/Interpreter.h @@ -0,0 +1,23 @@ +// +// Interpreter.h +// Brainfuck +// +// Created by Kim Wittenburg on 20.05.13. +// Copyright (c) 2013 brainfuck. All rights reserved. +// + +#import + +#import "Printer.h" + +@interface Interpreter : NSObject + ++ (Interpreter *)interpreter; + +- (id)init; + +@property (strong, nonatomic) id printer; + +- (void)execute:(NSString *)script withInput:(NSString *)input error:(NSError **)error; + +@end diff --git a/Brainfuck/Interpreter.m b/Brainfuck/Interpreter.m new file mode 100755 index 0000000..b9b5c64 --- /dev/null +++ b/Brainfuck/Interpreter.m @@ -0,0 +1,130 @@ +// +// Interpreter.m +// Brainfuck +// +// Created by Kim Wittenburg on 20.05.13. +// Copyright (c) 2013 brainfuck. All rights reserved. +// + +#import "Interpreter.h" + +#import "Lexer.h" + +@implementation Interpreter { + NSMutableArray *a; + NSInteger level; + NSString *input; + NSInteger inPos; +} + +@synthesize printer; + ++ (Interpreter *)interpreter +{ + return [[self alloc] init]; +} + +- (id)init +{ + self = [super init]; + if (self) { + } + return self; +} + +- (void)execute:(NSString *)script withInput:(NSString *)i error:(NSError *__autoreleasing *)error +{ + input = i; + inPos = 0; + Lexer *lexer = [Lexer lexer]; + NSArray *cmds = [lexer performLexingOnString:script error:error]; + level = 0; + a = [NSMutableArray new]; + [a addObject:[NSNumber numberWithInt:0]]; + [self executeCommands:cmds]; +} + +- (void)executeCommands:(NSArray *)cmds +{ + for (id cmd in cmds) { + if ([cmd isKindOfClass:[NSArray class]]) { + [self loop:cmd]; + } else { + [self executeCommand:cmd]; + } + } +} + +- (void)executeCommand:(NSString *)cmd +{ + int c = [cmd characterAtIndex:0]; + if (c == '+') { + [self increment]; + } else if (c == '-') { + [self decrement]; + } else if (c == '<') { + [self previousCell]; + } else if (c == '>') { + [self nextCell]; + } else if (c == '.') { + [self printCellValue]; + } else if (c == ',') { + [self readNextInput]; + } +} + +- (void)increment +{ + NSNumber *number = a[level]; + number = [NSNumber numberWithInt:number.intValue+1]; + a[level] = number; +} + +- (void)decrement +{ + NSNumber *number = a[level]; + number = [NSNumber numberWithInt:number.intValue-1]; + a[level] = number; +} + +- (void)nextCell +{ + if (++level == a.count) { + [a addObject:[NSNumber numberWithInt:0]]; + } +} + +- (void)previousCell +{ + if (--level == -1) { + [a insertObject:[NSNumber numberWithInt:0] atIndex:0]; + level++; + } +} + +- (void)printCellValue +{ + NSNumber *ascii = a[level]; + NSString *text = [NSString stringWithFormat:@"%c", ascii.intValue]; + [self.printer print:text]; +} + +- (void)readNextInput +{ + int ascii; + if (inPos == input.length) { + ascii = 0; + } else { + ascii = [input characterAtIndex:inPos++]; + } + a[level] = [NSNumber numberWithInt:ascii]; +} + +- (void)loop:(NSArray *)cmds +{ + while (((NSNumber *)a[level]).intValue != 0) { + [self executeCommands:cmds]; + } +} + +@end diff --git a/Brainfuck/Lexer.h b/Brainfuck/Lexer.h new file mode 100755 index 0000000..f30f02c --- /dev/null +++ b/Brainfuck/Lexer.h @@ -0,0 +1,19 @@ +// +// Lexer.h +// Brainfuck +// +// Created by Kim Wittenburg on 20.05.13. +// Copyright (c) 2013 brainfuck. All rights reserved. +// + +#import + +@interface Lexer : NSObject + ++ (Lexer *)lexer; + +- (id)init; + +- (NSArray *)performLexingOnString:(NSString *)string error:(NSError **)error; + +@end diff --git a/Brainfuck/Lexer.m b/Brainfuck/Lexer.m new file mode 100755 index 0000000..7602e9c --- /dev/null +++ b/Brainfuck/Lexer.m @@ -0,0 +1,70 @@ +// +// Lexer.m +// Brainfuck +// +// Created by Kim Wittenburg on 20.05.13. +// Copyright (c) 2013 brainfuck. All rights reserved. +// + +#import "Lexer.h" + +@implementation Lexer { + NSString *script; + NSInteger pos; + NSInteger loopNestingLevel; + NSMutableArray *tokens; +} + ++ (Lexer *)lexer +{ + return [[self alloc] init]; +} + +- (id)init +{ + self = [super init]; + if (self) { + } + return self; +} + +- (NSArray *)performLexingOnString:(NSString *)s error:(NSError *__autoreleasing *)error +{ + pos = 0; + loopNestingLevel = -1; + script = s; + tokens = [[NSMutableArray alloc] init]; + [self matchNextTokensInto:tokens error:error]; + if (error) { + return nil; + } + return tokens; +} + +- (void)matchNextTokensInto:(NSMutableArray *)target error:(NSError *__autoreleasing *)error; +{ + while (pos < script.length) { + int c = [script characterAtIndex:pos++]; + NSString *character = [NSString stringWithFormat:@"%c", c]; + if (c == '-' || c == '+' || c == '<' || c == '>' || c == '.' || c == ',') { + [target addObject:character]; + } else if (c == '[') { + loopNestingLevel++; + NSMutableArray *subTokens = [NSMutableArray new]; + [self matchNextTokensInto:subTokens error:error]; + [target addObject:subTokens]; + } else if (c == ']') { + if (loopNestingLevel-- == -1) { + NSError *err = [NSError errorWithDomain:@"Lexer" code:101 userInfo:@{NSLocalizedDescriptionKey: @"] without mathcing ["}]; + *error = err; + return; + } + return; + } + } + if (loopNestingLevel >= 0) { + *error = [NSError errorWithDomain:@"Lexer" code:102 userInfo:@{NSLocalizedDescriptionKey: @"unclosed loop"}]; + } +} + +@end diff --git a/Brainfuck/Printer.h b/Brainfuck/Printer.h new file mode 100755 index 0000000..71ee698 --- /dev/null +++ b/Brainfuck/Printer.h @@ -0,0 +1,16 @@ +// +// Printer.h +// Brainfuck +// +// Created by Kim Wittenburg on 20.05.13. +// Copyright (c) 2013 brainfuck. All rights reserved. +// + +#import + +@protocol Printer +@required + +- (void)print:(NSString *)string; + +@end diff --git a/Brainfuck/en.lproj/Credits.rtf b/Brainfuck/en.lproj/Credits.rtf old mode 100644 new mode 100755 index 46576ef..14b35f8 --- a/Brainfuck/en.lproj/Credits.rtf +++ b/Brainfuck/en.lproj/Credits.rtf @@ -1,29 +1,39 @@ -{\rtf0\ansi{\fonttbl\f0\fswiss Helvetica;} +{\rtf1\ansi\ansicpg1252\cocoartf1187\cocoasubrtf370 +{\fonttbl\f0\fswiss\fcharset0 Helvetica;} {\colortbl;\red255\green255\blue255;} -\paperw9840\paperh8400 -\pard\tx560\tx1120\tx1680\tx2240\tx2800\tx3360\tx3920\tx4480\tx5040\tx5600\tx6160\tx6720\ql\qnatural +\paperw11900\paperh16840\vieww9600\viewh8400\viewkind0 +\pard\tx560\tx1120\tx1680\tx2240\tx2800\tx3360\tx3920\tx4480\tx5040\tx5600\tx6160\tx6720 \f0\b\fs24 \cf0 Engineering: \b0 \ - Some people\ + Kim Wittenburg\ \ +\pard\tx566\tx1133\tx1700\tx2267\tx2834\tx3401\tx3968\tx4535\tx5102\tx5669\tx6236\tx6803\pardirnatural +{\field{\*\fldinst{HYPERLINK "http://de.wikipedia.org/wiki/Brainfuck"}}{\fldrslt +\b \cf0 Brainfuck}} +\b :\ +\pard\tx560\tx1120\tx1680\tx2240\tx2800\tx3360\tx3920\tx4480\tx5040\tx5600\tx6160\tx6720\pardirnatural +\cf0 +\b0 Urban M\'fcller (1993)\ +\pard\tx560\tx1120\tx1680\tx2240\tx2800\tx3360\tx3920\tx4480\tx5040\tx5600\tx6160\tx6720 +\cf0 \ \b Human Interface Design: \b0 \ - Some other people\ + Kim Wittenburg\ \ \b Testing: \b0 \ - Hopefully not nobody\ + Kim Wittenburg\ \ \b Documentation: \b0 \ - Whoever\ + What Documentation?\ \ \b With special thanks to: \b0 \ - Mom\ -} + Nobody. I hate everyone.\ +} \ No newline at end of file diff --git a/Brainfuck/en.lproj/Document.xib b/Brainfuck/en.lproj/Document.xib old mode 100644 new mode 100755 index bcc22d2..12e610b --- a/Brainfuck/en.lproj/Document.xib +++ b/Brainfuck/en.lproj/Document.xib @@ -1,22 +1,32 @@ - 1070 - 11C42 - 1938 - 1138.17 - 567.00 + 1080 + 12E55 + 3084 + 1187.39 + 626.00 com.apple.InterfaceBuilder.CocoaPlugin - 1938 + 3084 + NSButton + NSButtonCell + NSCustomObject + NSCustomView + NSScrollView + NSScroller + NSSplitView NSTextField NSTextFieldCell - NSWindowTemplate + NSTextView + NSToolbar + NSToolbarFlexibleSpaceItem + NSToolbarItem + NSToolbarSpaceItem NSView - IBNSLayoutConstraint - NSCustomObject + NSWindowTemplate com.apple.InterfaceBuilder.CocoaPlugin @@ -35,62 +45,995 @@ 15 2 - {{133, 235}, {507, 413}} + {{133, 235}, {646, 462}} 1886912512 Window NSWindow - View + + + 1C4D3B48-9CE2-4F8C-8214-3C28F73CE03B + + + NO + YES + YES + NO + 1 + 1 + + + NSToolbarFlexibleSpaceItem + + Flexible Space + + + + + + {1, 5} + {20000, 32} + YES + YES + -1 + YES + 0 + + YES + YES + + + 1048576 + 2147483647 + + NSImage + NSMenuCheckmark + + + NSImage + NSMenuMixedState + + + + + NSToolbarPrintItem + Print + Print + Print + + + NSImage + NSToolbarPrint + + + printDocument: + {0, 0} + {0, 0} + YES + YES + -1 + YES + 0 + + + NSToolbarSpaceItem + + Space + + + + + + {32, 5} + {32, 32} + YES + YES + -1 + YES + 0 + + YES + YES + + + 1048576 + 2147483647 + + + + + + + + + + + + + + + + {94, 86} 256 - + - 256 - {{119, 195}, {268, 22}} + 274 + + + + 256 + + + + 290 + {535, 22} + + + _NS:9 + YES + + -1804599231 + 272630784 + + + LucidaGrande + 13 + 1044 + + Input Text (optional) + _NS:9 + + YES + + 6 + System + textBackgroundColor + + 3 + MQA + + + + 6 + System + textColor + + 3 + MAA + + + + NO + + + + 289 + {{543, -2}, {63, 25}} + + + _NS:22 + YES + + -2080374784 + 134217728 + Execute + + _NS:22 + + -2038153216 + 163 + + + 400 + 75 + + NO + + + + 274 + + + + 2304 + + + + 2322 + {{0, 77}, {606, 300}} + + + _NS:13 + + + + + KysrKysrKysrKwpbCiA+KysrKysrKz4rKysrKysrKysrPisrKz4rPDw8PC0KXQo+KysuCj4rLgorKysr +KysrLgouCisrKy4KPisrLgo8PCsrKysrKysrKysrKysrKy4KPi4KKysrLgotLS0tLS0uCi0tLS0tLS0t +Lgo+Ky4KPi4KKysrLg + + + + 1 + MC45Njg2Mjc0NTEgMC45Njg2Mjc0NTEgMC45Njg2Mjc0NTEAA + + + Courier + 13 + 16 + + + 36 + 0.05000000074505806 + + 1 + + + + + + + + 166 + + + + 606 + 1 + + + 67112835 + 0 + + + + + 6 + System + selectedTextBackgroundColor + + 3 + MC42NjY2NjY2NjY3AA + + + + 6 + System + selectedTextColor + + + + + + + 1 + MCAwIDEAA + + + {8, -8} + 13 + + + + + + 2 + + 6 + {1003, 10000000} + {604, 300} + + + br + mr + bs + ksf + ee_TG + ms + kam_KE + mt + ha + es_HN + en_BM + ml_IN + ro_MD + kab_DZ + he + es_CO + my + bas + vai_Latn_LR + es_PA + az_Latn + mer + en_NZ + xog_UG + sg + fr_GP + sr_Cyrl_BA + hi + fil_PH + lt_LT + si + mgh_MZ + en_MT + mfe + luo_KE + it_CH + si_LK + sk + teo + uz_Cyrl_UZ + sl + rm_CH + az_Cyrl_AZ + fr_GQ + kde + sn + cgg_UG + mas_TZ + fr_RW + es_SV + so + swc_CD + en_MU + sq + hr + yav_CM + br_FR + sr + en_PH + ca + hu + mk_MK + fr_TD + nb + sv + kln_KE + sw + nd + el_GR + fo_FO + hy + ne + el_CY + es_CR + sr_Latn + pa_Arab_PK + ar_YE + seh + ja_JP + ur_PK + pa_Guru + nl_SX + gl_ES + zh_Hant_HK + ar_EG + nl + th_TH + es_PE + fr_KM + ln_CD + nn + dua + kk_Cyrl_KZ + kea + lv_LV + kln + tzm_Latn + yo + gsw_CH + ha_Latn_GH + is_IS + pt_BR + dua_CM + cs + en_PK + fa_IR + zh_Hans_SG + luo + ta + fr_TG + kde_TZ + mr_IN + ar_SA + ka_GE + mfe_MU + id + fr_LU + de_LU + ru_MD + cy + mgh + zh_Hans_HK + te + bg_BG + shi_Latn + ig + vai + ses + ii + es_BO + th + ko_KR + ti + it_IT + shi_Latn_MA + pt_MZ + ff_SN + brx + haw + ln_CG + zh_Hans + so_KE + bn_IN + en_UM + to + id_ID + agq_CM + uz_Cyrl + en_GU + es_EC + en_US_POSIX + is + sr_Latn_BA + luy + tr + en_NA + it + pt_AO + da + nl_CW + bo_IN + vun_TZ + ar_SD + uz_Latn_UZ + az_Latn_AZ + de + es_GQ + fr_FR + de_DE + ta_IN + rof_TZ + nmg_CM + ar_LY + en_BW + asa + zh + ewo_CM + rn_BI + fr_NE + nus_SD + es_MX + mua_CM + bem_ZM + ha_Latn + zh_Hans_CN + bn_BD + pt_GW + om + jmc + de_AT + kk_Cyrl + sw_TZ + ar_OM + et_EE + or + da_DK + ro_RO + zh_Hant + bm_ML + ja + lu_CD + twq + fr_CA + naq + zu + en_IE + ar_MA + es_GT + en_GY + uz_Arab_AF + en_AS + bs_BA + am_ET + ar_TN + swc + ewo + haw_US + ar_JO + fa_AF + uz_Latn + en_BZ + nyn_UG + ebu_KE + te_IN + cy_GB + uk + nyn + en_JM + dyo_SN + en_US + fil + ar_KW + af_ZA + en_CA + fr_DJ + ti_ER + ig_NG + en_AU + ur + fr_MC + pt_PT + pa + es_419 + fr_CD + en_SG + bo_CN + kn_IN + sr_Cyrl_RS + lg_UG + gu_IN + ee + nd_ZW + bem + uz + sw_KE + sq_AL + hr_HR + mas_KE + el + ti_ET + es_AR + pl + en + eo + shi + kok + fr_CF + fr_RE + mas + rof + ru_UA + yo_NG + dav_KE + ksb_TZ + gv_GB + pa_Arab + es + teo_UG + ps + es_PR + fr_MF + et + vai_Vaii_LR + pt + eu + ka + rwk_TZ + nb_NO + fr_CG + cgg + zh_Hant_TW + ses_ML + lag + sr_Cyrl_ME + brx_IN + en_ZW + ak_GH + vi_VN + sv_FI + to_TO + fr_MG + fr_GA + fr_CH + de_CH + es_US + ki + my_MM + twq_NE + vi + ar_QA + ga_IE + rwk + bez + ee_GH + fr_YT + kk + as_IN + ca_ES + kl + fr_SN + ne_IN + km + ms_BN + ar_LB + kn + ta_LK + ur_IN + fr_CI + ko + ha_Latn_NG + sg_CF + om_ET + zh_Hant_MO + uk_UA + fa + mt_MT + ki_KE + luy_KE + kw + pa_Guru_IN + en_IN + kab + ar_IQ + vai_Vaii + ff + en_TT + bez_TZ + es_NI + ar_001 + nl_AW + uz_Arab + ne_NP + fi + en_BB + khq + gsw + zh_Hans_MO + en_MH + hu_HU + en_GB + fr_BE + de_BE + sbp_TZ + saq + be_BY + sl_SI + sr_Latn_RS + fo + fr + xog + fr_BF + tzm + sk_SK + fr_ML + he_IL + ha_Latn_NE + ru_RU + fr_GF + fr_CM + ksf_CM + teo_KE + seh_MZ + kl_GL + bas_CM + fi_FI + kam + es_ES + af + asa_TZ + cs_CZ + tr_TR + es_PY + tzm_Latn_MA + lg + ebu + en_HK + nl_NL + en_BE + ms_MY + es_UY + ar_BH + kw_GB + ak + chr + dav + lag_TZ + am + so_DJ + shi_Tfng_MA + dje + dyo + ln + sr_Latn_ME + sn_ZW + or_IN + ar + as + fr_BI + jmc_TZ + chr_US + sbp + eu_ES + saq_KE + vun + lt + naq_NA + ga + af_NA + lu + nmg + kea_CV + es_DO + lv + kok_IN + de_LI + fr_BJ + az + guz_KE + rw_RW + mg_MG + km_KH + pt_ST + vai_Latn + gl + ar_AE + shi_Tfng + fr_MQ + rm + sv_SE + rn + az_Cyrl + ro + so_ET + en_ZA + ii_CN + fr_BL + hi_IN + agq + gu + mer_KE + nn_NO + gv + ru + yav + ar_DZ + ar_SY + en_MP + nl_BE + rw + be + dje_NE + en_VI + es_CL + mua + bg + mg + hy_AM + nus + zu_ZA + guz + ksb + mk + es_VE + ml + bm + khq_ML + bn + ps_AF + so_SO + sr_Cyrl + pl_PL + fr_GN + bo + om_KE + + + + {{1, 1}, {604, 300}} + {{1, 77}, {604, 300}} + + + _NS:11 + + + + {4, 5} + + 79691776 + + + + + + file://localhost/Applications/Xcode.app/Contents/SharedFrameworks/DVTKit.framework/Resources/DVTIbeamCursor.tiff + + + + + 3 + MCAwAA + + + + 4 + + + + 256 + {{589, 1}, {16, 300}} + + + _NS:83 + NO + + _doScroller: + 0.9965397923875432 + + + + -2147483392 + {{-100, -100}, {566, 16}} + + + _NS:33 + YES + NO + 1 + + _doScroller: + 1 + 0.94565218687057495 + + + {{0, 30}, {606, 302}} + + + _NS:9 + 133266 + + + + 0.25 + 4 + 1 + + + {606, 332} + + + _NS:11 + NSView + + + + 274 + + + + 2304 + + + + 2322 + {604, 79} + + + _NS:13 + + + + + + + + + + + + 166 + + + + 604 + 1 + + + 67375009 + 0 + + + + + + + + + + + + + + + 2 + + 6 + {622, 10000000} + + + + {{1, 1}, {604, 79}} + + + _NS:11 + + + + {4, 5} + + 79691776 + + + + + + file://localhost/Applications/Xcode.app/Contents/SharedFrameworks/DVTKit.framework/Resources/DVTIbeamCursor.tiff + + + + + + + 4 + + + + 256 + {{589, 1}, {16, 79}} + + _NS:83 + NO + + _doScroller: + 0.98518518518518516 + + + + -2147483392 + {{-100, -100}, {87, 18}} + + + _NS:33 + NO + 1 + + _doScroller: + 1 + 0.94565218687057495 + + + {{0, 341}, {606, 81}} + + + _NS:9 + 133138 + + + + 0.25 + 4 + 1 + + + {{20, 20}, {606, 422}} - - YES - - 67239424 - 138412032 - Your document contents here - - LucidaGrande - 18 - 16 - - - - 6 - System - controlColor - - 3 - MC42NjY2NjY2NjY3AA - - - - 6 - System - controlTextColor - - 3 - MAA - - - + + _NS:9 - {507, 413} + {646, 462} - + - {{0, 0}, {1920, 1178}} + {{0, 0}, {1680, 1028}} {94, 108} {10000000000000, 10000000000000} + 128 YES @@ -107,6 +1050,38 @@ 18 + + + editorView + + + + 100112 + + + + executeScript: + + + + 100121 + + + + inputView + + + + 100113 + + + + outputView + + + + 100114 + delegate @@ -115,12 +1090,44 @@ 17 + + + delegate + + + + 100036 + + + + value: text + + + + + + value: text + value + text + 2 + + + 100122 + + + + delegate + + + + 100126 + 0 - + @@ -141,6 +1148,7 @@ + Window @@ -149,55 +1157,10 @@ 6 - - - - 9 - 0 - - 9 - 1 - - 0.0 - - 1000 - 5 - 22 - 2 - - - - - 10 - 0 - - 10 - 1 - - 0.0 - - 1000 - 5 - 22 - 2 - - + - - 20 - - - - - - - - 100020 - - - -3 @@ -205,14 +1168,124 @@ Application - 100025 - + 100115 + + + + + + + + + + 100116 + + + + + 100119 + + + + + 100120 + + + + + 100123 + + + + + - 100026 - - + 100124 + + + + + + + + + + 100027 + + + + + + + + + + 100030 + + + + + 100029 + + + + + 100028 + + + + + 100050 + + + + + + + + 100051 + + + + + 100055 + + + + + + + + 100056 + + + + + 100037 + + + + + + + + + + 100038 + + + + + 100039 + + + + + 100040 + + @@ -220,30 +1293,45 @@ com.apple.InterfaceBuilder.CocoaPlugin com.apple.InterfaceBuilder.CocoaPlugin com.apple.InterfaceBuilder.CocoaPlugin - com.apple.InterfaceBuilder.CocoaPlugin - com.apple.InterfaceBuilder.CocoaPlugin - com.apple.InterfaceBuilder.CocoaPlugin - - com.apple.InterfaceBuilder.CocoaPlugin + com.apple.InterfaceBuilder.CocoaPlugin + com.apple.InterfaceBuilder.CocoaPlugin + com.apple.InterfaceBuilder.CocoaPlugin + com.apple.InterfaceBuilder.CocoaPlugin + com.apple.InterfaceBuilder.CocoaPlugin + com.apple.InterfaceBuilder.CocoaPlugin + com.apple.InterfaceBuilder.CocoaPlugin + com.apple.InterfaceBuilder.CocoaPlugin + com.apple.InterfaceBuilder.CocoaPlugin + com.apple.InterfaceBuilder.CocoaPlugin + com.apple.InterfaceBuilder.CocoaPlugin + com.apple.InterfaceBuilder.CocoaPlugin + com.apple.InterfaceBuilder.CocoaPlugin + com.apple.InterfaceBuilder.CocoaPlugin + com.apple.InterfaceBuilder.CocoaPlugin + com.apple.InterfaceBuilder.CocoaPlugin + com.apple.InterfaceBuilder.CocoaPlugin + com.apple.InterfaceBuilder.CocoaPlugin + + com.apple.InterfaceBuilder.CocoaPlugin {{133, 170}, {507, 413}} - - - - com.apple.InterfaceBuilder.CocoaPlugin - 100026 + 100170 0 IBCocoaFramework YES 3 - YES + + {11, 11} + {10, 3} + {32, 32} + diff --git a/Brainfuck/en.lproj/InfoPlist.strings b/Brainfuck/en.lproj/InfoPlist.strings old mode 100644 new mode 100755 diff --git a/Brainfuck/en.lproj/MainMenu.xib b/Brainfuck/en.lproj/MainMenu.xib old mode 100644 new mode 100755 index 03dfe2d..d7f2697 --- a/Brainfuck/en.lproj/MainMenu.xib +++ b/Brainfuck/en.lproj/MainMenu.xib @@ -2,18 +2,27 @@ 1080 - 11D50 - 2457 - 1138.32 - 568.00 + 12E55 + 3084 + 1187.39 + 626.00 com.apple.InterfaceBuilder.CocoaPlugin - 2457 + 3084 + IBNSLayoutConstraint + NSColorWell + NSCustomObject NSMenu NSMenuItem - NSCustomObject + NSTabView + NSTabViewItem + NSTextField + NSTextFieldCell + NSUserDefaultsController + NSView + NSWindowTemplate com.apple.InterfaceBuilder.CocoaPlugin @@ -199,6 +208,15 @@ + + + Load + l + 1048576 + 2147483647 + + + Open Recent @@ -253,6 +271,14 @@ + + + Save as Snippet + + 2147483647 + + + Revert to Saved @@ -362,15 +388,6 @@ - - - Paste and Match Style - V - 1572864 - 2147483647 - - - Delete @@ -1287,9 +1304,450 @@ _NSMainMenu + + AppDelegate + NSFontManager + + 7 + 2 + {{163, 199}, {301, 255}} + 1685586944 + Brainfuck Settings + NSWindow + + + + + 256 + + + + 268 + {{17, 218}, {49, 17}} + + + _NS:1535 + YES + + 68157504 + 272630784 + Colors: + + LucidaGrande + 13 + 1044 + + _NS:1535 + + + 6 + System + controlColor + + 3 + MC42NjY2NjY2NjY3AA + + + + 6 + System + controlTextColor + + 3 + MAA + + + + NO + + + + 12 + {{16, 16}, {269, 196}} + + _NS:9 + + + + + 256 + + + + 268 + + NSColor pasteboard type + + {{54, 138}, {44, 23}} + + + _NS:1116 + YES + NO + YES + + 1 + MC4wNTgxMzA0OTg5OCAwLjA1NTU0MTg5OTA2IDEAA + + + + + 268 + {{11, 144}, {15, 17}} + + + _NS:1535 + YES + + 68157504 + 272630784 + + + + _NS:1535 + + + + + NO + + + + 268 + {{11, 112}, {12, 17}} + + + _NS:1535 + YES + + 68157504 + 272630784 + - + + _NS:1535 + + + + + NO + + + + 268 + + NSColor pasteboard type + + {{54, 109}, {44, 23}} + + + _NS:1116 + YES + NO + YES + + 1 + MC4wNTgxMzA0OTg5OCAwLjA1NTU0MTg5OTA2IDEAA + + + + + 268 + {{11, 45}, {9, 17}} + + + _NS:1535 + YES + + 68157504 + 272630784 + , + + _NS:1535 + + + + + NO + + + + 268 + + NSColor pasteboard type + + {{54, 42}, {44, 23}} + + + _NS:1116 + YES + NO + YES + + 1 + MC4wNTgxMzA0OTg5OCAwLjA1NTU0MTg5OTA2IDEAA + + + + + 268 + {{11, 73}, {9, 17}} + + + _NS:1535 + YES + + 68157504 + 272630784 + . + + _NS:1535 + + + + + NO + + + + 268 + + NSColor pasteboard type + + {{54, 70}, {44, 23}} + + + _NS:1116 + YES + NO + YES + + 1 + MC4wNTgxMzA0OTg5OCAwLjA1NTU0MTg5OTA2IDEAA + + + + + 268 + {{145, 144}, {9, 17}} + + + _NS:1535 + YES + + 68157504 + 272630784 + [ + + _NS:1535 + + + + + NO + + + + 268 + + NSColor pasteboard type + + {{191, 138}, {44, 23}} + + + _NS:1116 + YES + NO + YES + + 1 + MC4wNTgxMzA0OTg5OCAwLjA1NTU0MTg5OTA2IDEAA + + + + + 268 + {{65, 14}, {66, 17}} + + + _NS:1535 + YES + + 68157504 + 272630784 + Comment + + _NS:1535 + + + + + NO + + + + 268 + + NSColor pasteboard type + + {{191, 109}, {44, 23}} + + + _NS:1116 + YES + NO + YES + + 1 + MC4wNTgxMzA0OTg5OCAwLjA1NTU0MTg5OTA2IDEAA + + + + + 268 + + NSColor pasteboard type + + {{136, 11}, {44, 23}} + + _NS:1116 + YES + NO + YES + + 1 + MC4wNTgxMzA0OTg5OCAwLjA1NTU0MTg5OTA2IDEAA + + + + + 268 + {{145, 112}, {9, 17}} + + + _NS:1535 + YES + + 68157504 + 272630784 + ] + + _NS:1535 + + + + + NO + + + + 268 + {{148, 45}, {15, 17}} + + + _NS:1535 + YES + + 68157504 + 272630784 + > + + _NS:1535 + + + + + NO + + + + 268 + + NSColor pasteboard type + + {{191, 42}, {44, 23}} + + + _NS:1116 + YES + NO + YES + + 1 + MC4wNTgxMzA0OTg5OCAwLjA1NTU0MTg5OTA2IDEAA + + + + + 268 + {{148, 73}, {15, 17}} + + + _NS:1535 + YES + + 68157504 + 272630784 + < + + _NS:1535 + + + + + NO + + + + 268 + + NSColor pasteboard type + + {{191, 70}, {44, 23}} + + + _NS:1116 + YES + NO + YES + + 1 + MC4wNTgxMzA0OTg5OCAwLjA1NTU0MTg5OTA2IDEAA + + + + {{10, 7}, {249, 176}} + + + + Item 0 + + + + + + + 4 + YES + YES + + + + + + {301, 255} + + + _NS:20 + + {{0, 0}, {1680, 1028}} + {10000000000000, 10000000000000} + YES + + + YES + @@ -1301,6 +1759,14 @@ 448 + + + delegate + + + + 537 + orderFrontStandardAboutPanel: @@ -1789,14 +2255,6 @@ 469 - - - pasteAsPlainText: - - - - 471 - showHelp: @@ -1917,6 +2375,14 @@ 533 + + + saveAsSnippet: + + + + 1092 + addFontTrait: @@ -1957,6 +2423,202 @@ 424 + + + makeKeyAndOrderFront: + + + + 552 + + + + delegate + + + + 754 + + + + value: values.\+ + + + + + + value: values.\+ + value + values.\+ + + NSValueTransformerName + NSUnarchiveFromData + + 2 + + + 986 + + + + value: values.\- + + + + + + value: values.\- + value + values.\- + + NSValueTransformerName + NSUnarchiveFromData + + 2 + + + 989 + + + + value: values.\, + + + + + + value: values.\, + value + values.\, + + NSValueTransformerName + NSUnarchiveFromData + + 2 + + + 990 + + + + value: values.\. + + + + + + value: values.\. + value + values.\. + + NSValueTransformerName + NSUnarchiveFromData + + 2 + + + 985 + + + + value: values.\[ + + + + + + value: values.\[ + value + values.\[ + + NSValueTransformerName + NSUnarchiveFromData + + 2 + + + 987 + + + + value: values.\] + + + + + + value: values.\] + value + values.\] + + NSValueTransformerName + NSUnarchiveFromData + + 2 + + + 988 + + + + value: values.default + + + + + + value: values.default + value + values.default + + NSValueTransformerName + NSUnarchiveFromData + + 2 + + + 753 + + + + value: values.\> + + + + + + value: values.\> + value + values.\> + + NSValueTransformerName + NSUnarchiveFromData + + 2 + + + 992 + + + + value: values.\< + + + + + + value: values.\< + value + values.\< + + NSValueTransformerName + NSUnarchiveFromData + + 2 + + + 991 + @@ -2044,6 +2706,8 @@ + + @@ -2131,7 +2795,6 @@ - @@ -2768,11 +3431,6 @@ - - 470 - - - 491 @@ -2938,12 +3596,1541 @@ + + 535 + + + + + 536 + + + + + 538 + + + + + + + + 539 + + + + + 4 + 0 + + 4 + 1 + + 20 + + 1000 + + 8 + 29 + 3 + + + + 6 + 0 + + 6 + 1 + + 20 + + 1000 + + 8 + 29 + 3 + + + + 3 + 0 + + 4 + 1 + + 8 + + 1000 + + 6 + 24 + 3 + + + + 5 + 0 + + 5 + 1 + + 20 + + 1000 + + 8 + 29 + 3 + + + + 5 + 0 + + 5 + 1 + + 20 + + 1000 + + 8 + 29 + 3 + + + + 3 + 0 + + 3 + 1 + + 20 + + 1000 + + 8 + 29 + 3 + + + + + + + + 545 + + + + + 560 + + + + + + + + 561 + + + + + 562 + + + + + 575 + + + + + 576 + + + + + + + + 595 + + + + + + + + 596 + + + + + 6 + 0 + + 6 + 1 + + 14 + + 1000 + + 8 + 29 + 3 + + + + 5 + 0 + + 5 + 1 + + 0.0 + + 1000 + + 6 + 24 + 2 + + + + 5 + 0 + + 5 + 1 + + 0.0 + + 1000 + + 6 + 24 + 2 + + + + 6 + 0 + + 6 + 1 + + 14 + + 1000 + + 8 + 29 + 3 + + + + 5 + 0 + + 6 + 1 + + 8 + + 1000 + + 6 + 24 + 3 + + + + 10 + 0 + + 10 + 1 + + 0.0 + + 1000 + + 6 + 24 + 2 + + + + 4 + 0 + + 4 + 1 + + 11 + + 1000 + + 8 + 29 + 3 + + + + 6 + 0 + + 6 + 1 + + 14 + + 1000 + + 8 + 29 + 3 + + + + 3 + 0 + + 3 + 1 + + 0.0 + + 1000 + + 6 + 24 + 2 + + + + 4 + 0 + + 4 + 1 + + 0.0 + + 1000 + + 6 + 24 + 2 + + + + 5 + 0 + + 5 + 1 + + 0.0 + + 1000 + + 6 + 24 + 2 + + + + 6 + 0 + + 6 + 1 + + 14 + + 1000 + + 8 + 29 + 3 + + + + 3 + 0 + + 3 + 1 + + 15 + + 1000 + + 8 + 29 + 3 + + + + 4 + 0 + + 4 + 1 + + 0.0 + + 1000 + + 6 + 24 + 2 + + + + 5 + 0 + + 5 + 1 + + 0.0 + + 1000 + + 6 + 24 + 2 + + + + 6 + 0 + + 6 + 1 + + 89 + + 1000 + + 3 + 9 + 3 + + + + 5 + 0 + + 5 + 1 + + 68 + + 1000 + + 3 + 9 + 3 + + + + 5 + 0 + + 5 + 1 + + 0.0 + + 1000 + + 6 + 24 + 2 + + + + 11 + 0 + + 11 + 1 + + 0.0 + + 1000 + + 6 + 24 + 2 + + + + 6 + 0 + + 6 + 1 + + 98 + + 1000 + + 3 + 9 + 3 + + + + 3 + 0 + + 3 + 1 + + 15 + + 1000 + + 8 + 29 + 3 + + + + 4 + 0 + + 4 + 1 + + 42 + + 1000 + + 3 + 9 + 3 + + + + 4 + 0 + + 4 + 1 + + 0.0 + + 1000 + + 6 + 24 + 2 + + + + 3 + 0 + + 3 + 1 + + 0.0 + + 1000 + + 6 + 24 + 2 + + + + 11 + 0 + + 11 + 1 + + 0.0 + + 1000 + + 6 + 24 + 2 + + + + 10 + 0 + + 10 + 1 + + 0.0 + + 1000 + + 6 + 24 + 2 + + + + 5 + 0 + + 5 + 1 + + 14 + + 1000 + + 8 + 29 + 3 + + + + 4 + 0 + + 4 + 1 + + 70 + + 1000 + + 3 + 9 + 3 + + + + 4 + 0 + + 4 + 1 + + 0.0 + + 1000 + + 6 + 24 + 2 + + + + 3 + 0 + + 3 + 1 + + 0.0 + + 1000 + + 6 + 24 + 2 + + + + 10 + 0 + + 10 + 1 + + 0.0 + + 1000 + + 6 + 24 + 2 + + + + 5 + 0 + + 5 + 1 + + 0.0 + + 1000 + + 6 + 24 + 2 + + + + 5 + 0 + + 5 + 1 + + 0.0 + + 1000 + + 6 + 24 + 2 + + + + 6 + 0 + + 6 + 1 + + 0.0 + + 1000 + + 6 + 24 + 2 + + + + 6 + 0 + + 6 + 1 + + 0.0 + + 1000 + + 6 + 24 + 2 + + + + 11 + 0 + + 11 + 1 + + 0.0 + + 1000 + + 6 + 24 + 2 + + + + 5 + 0 + + 5 + 1 + + 14 + + 1000 + + 8 + 29 + 3 + + + + 10 + 0 + + 10 + 1 + + 0.0 + + 1000 + + 6 + 24 + 2 + + + + 3 + 0 + + 3 + 1 + + 44 + + 1000 + + 3 + 9 + 3 + + + + 6 + 0 + + 6 + 1 + + 0.0 + + 1000 + + 6 + 24 + 2 + + + + 5 + 0 + + 5 + 1 + + 0.0 + + 1000 + + 6 + 24 + 2 + + + + 5 + 0 + + 5 + 1 + + 54 + + 1000 + + 3 + 9 + 3 + + + + 3 + 0 + + 3 + 1 + + 15 + + 1000 + + 8 + 29 + 3 + + + + 5 + 0 + + 5 + 1 + + 14 + + 1000 + + 8 + 29 + 3 + + + + 5 + 0 + + 5 + 1 + + 14 + + 1000 + + 8 + 29 + 3 + + + + 3 + 0 + + 3 + 1 + + 15 + + 1000 + + 8 + 29 + 3 + + + + + + + + + + + + + + + + + + + + + + + + 540 + + + + + 8 + 0 + + 0 + 1 + + 23 + + 1000 + + 3 + 9 + 1 + + + + 7 + 0 + + 0 + 1 + + 44 + + 1000 + + 3 + 9 + 1 + + + + + + 543 + + + + + 564 + + + + + + + + 565 + + + + + 619 + + + + + 620 + + + + + 621 + + + + + + + + 622 + + + + + 627 + + + + + 8 + 0 + + 0 + 1 + + 23 + + 1000 + + 3 + 9 + 1 + + + + + + 632 + + + + + 634 + + + + + 636 + + + + + 638 + + + + + 640 + + + + + + + + 641 + + + + + 8 + 0 + + 0 + 1 + + 23 + + 1000 + + 3 + 9 + 1 + + + + + + 642 + + + + + 645 + + + + + 651 + + + + + + + + 652 + + + + + 8 + 0 + + 0 + 1 + + 23 + + 1000 + + 3 + 9 + 1 + + + + + + 653 + + + + + 654 + + + + + 656 + + + + + 657 + + + + + 658 + + + + + 659 + + + + + 660 + + + + + 661 + + + + + 662 + + + + + + + + 663 + + + + + 7 + 0 + + 0 + 1 + + 44 + + 1000 + + 3 + 9 + 1 + + + + + + 665 + + + + + 675 + + + + + + + + 676 + + + + + + 678 + + + + + 683 + + + + + 697 + + + + + 700 + + + + + 707 + + + + + 722 + + + + + 723 + + + + + 726 + + + + + 728 + + + + + 729 + + + + + 730 + + + + + 733 + + + + + 734 + + + + + 735 + + + + + 736 + + + + + 7 + 0 + + 0 + 1 + + 44 + + 1000 + + 3 + 9 + 1 + + + + 8 + 0 + + 0 + 1 + + 23 + + 1000 + + 3 + 9 + 1 + + + + + + 739 + + + + + 741 + + + + + 746 + + + + + 747 + + + + + 748 + + + + + 750 + + + + + 755 + + + + + + + + 756 + + + + + 757 + + + + + 758 + + + + + 934 + + + + + + + + 935 + + + + + + 936 + + + + + + + + 937 + + + + + + 939 + + + + + 940 + + + + + 945 + + + + + 946 + + + + + 949 + + + + + 950 + + + + + 953 + + + + + 954 + + + + + 955 + + + + + 957 + + + + + 958 + + + + + 959 + + + + + 960 + + + + + 961 + + + + + 963 + + + + + 964 + + + + + 965 + + + + + 966 + + + + + 618 + + + + + 617 + + + + + 616 + + + + + 614 + + + + + 972 + + + + + 971 + + + + + 1091 + + + com.apple.InterfaceBuilder.CocoaPlugin com.apple.InterfaceBuilder.CocoaPlugin com.apple.InterfaceBuilder.CocoaPlugin + com.apple.InterfaceBuilder.CocoaPlugin com.apple.InterfaceBuilder.CocoaPlugin com.apple.InterfaceBuilder.CocoaPlugin com.apple.InterfaceBuilder.CocoaPlugin @@ -3048,7 +5235,6 @@ com.apple.InterfaceBuilder.CocoaPlugin com.apple.InterfaceBuilder.CocoaPlugin com.apple.InterfaceBuilder.CocoaPlugin - com.apple.InterfaceBuilder.CocoaPlugin com.apple.InterfaceBuilder.CocoaPlugin com.apple.InterfaceBuilder.CocoaPlugin com.apple.InterfaceBuilder.CocoaPlugin @@ -3076,13 +5262,181 @@ com.apple.InterfaceBuilder.CocoaPlugin com.apple.InterfaceBuilder.CocoaPlugin com.apple.InterfaceBuilder.CocoaPlugin + com.apple.InterfaceBuilder.CocoaPlugin + com.apple.InterfaceBuilder.CocoaPlugin + + + com.apple.InterfaceBuilder.CocoaPlugin + + + + + + + + + + com.apple.InterfaceBuilder.CocoaPlugin + + + + + + com.apple.InterfaceBuilder.CocoaPlugin + com.apple.InterfaceBuilder.CocoaPlugin + com.apple.InterfaceBuilder.CocoaPlugin com.apple.InterfaceBuilder.CocoaPlugin + + com.apple.InterfaceBuilder.CocoaPlugin + com.apple.InterfaceBuilder.CocoaPlugin + com.apple.InterfaceBuilder.CocoaPlugin + + com.apple.InterfaceBuilder.CocoaPlugin + com.apple.InterfaceBuilder.CocoaPlugin com.apple.InterfaceBuilder.CocoaPlugin + com.apple.InterfaceBuilder.CocoaPlugin + + com.apple.InterfaceBuilder.CocoaPlugin com.apple.InterfaceBuilder.CocoaPlugin + com.apple.InterfaceBuilder.CocoaPlugin + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + com.apple.InterfaceBuilder.CocoaPlugin + com.apple.InterfaceBuilder.CocoaPlugin + com.apple.InterfaceBuilder.CocoaPlugin + com.apple.InterfaceBuilder.CocoaPlugin + com.apple.InterfaceBuilder.CocoaPlugin + com.apple.InterfaceBuilder.CocoaPlugin + com.apple.InterfaceBuilder.CocoaPlugin + + com.apple.InterfaceBuilder.CocoaPlugin + com.apple.InterfaceBuilder.CocoaPlugin + + + + + com.apple.InterfaceBuilder.CocoaPlugin + com.apple.InterfaceBuilder.CocoaPlugin + com.apple.InterfaceBuilder.CocoaPlugin + com.apple.InterfaceBuilder.CocoaPlugin + com.apple.InterfaceBuilder.CocoaPlugin + + com.apple.InterfaceBuilder.CocoaPlugin + + + + + com.apple.InterfaceBuilder.CocoaPlugin + com.apple.InterfaceBuilder.CocoaPlugin + com.apple.InterfaceBuilder.CocoaPlugin + + com.apple.InterfaceBuilder.CocoaPlugin + + + + + com.apple.InterfaceBuilder.CocoaPlugin + com.apple.InterfaceBuilder.CocoaPlugin + com.apple.InterfaceBuilder.CocoaPlugin + com.apple.InterfaceBuilder.CocoaPlugin + com.apple.InterfaceBuilder.CocoaPlugin + com.apple.InterfaceBuilder.CocoaPlugin + com.apple.InterfaceBuilder.CocoaPlugin + com.apple.InterfaceBuilder.CocoaPlugin + com.apple.InterfaceBuilder.CocoaPlugin + + com.apple.InterfaceBuilder.CocoaPlugin + + + + + com.apple.InterfaceBuilder.CocoaPlugin + com.apple.InterfaceBuilder.CocoaPlugin + + com.apple.InterfaceBuilder.CocoaPlugin + + com.apple.InterfaceBuilder.CocoaPlugin + com.apple.InterfaceBuilder.CocoaPlugin + com.apple.InterfaceBuilder.CocoaPlugin + com.apple.InterfaceBuilder.CocoaPlugin + com.apple.InterfaceBuilder.CocoaPlugin + com.apple.InterfaceBuilder.CocoaPlugin com.apple.InterfaceBuilder.CocoaPlugin + com.apple.InterfaceBuilder.CocoaPlugin + com.apple.InterfaceBuilder.CocoaPlugin + com.apple.InterfaceBuilder.CocoaPlugin + com.apple.InterfaceBuilder.CocoaPlugin + com.apple.InterfaceBuilder.CocoaPlugin com.apple.InterfaceBuilder.CocoaPlugin + com.apple.InterfaceBuilder.CocoaPlugin + com.apple.InterfaceBuilder.CocoaPlugin + com.apple.InterfaceBuilder.CocoaPlugin + com.apple.InterfaceBuilder.CocoaPlugin + + + + + + com.apple.InterfaceBuilder.CocoaPlugin + com.apple.InterfaceBuilder.CocoaPlugin com.apple.InterfaceBuilder.CocoaPlugin + com.apple.InterfaceBuilder.CocoaPlugin + com.apple.InterfaceBuilder.CocoaPlugin + com.apple.InterfaceBuilder.CocoaPlugin + com.apple.InterfaceBuilder.CocoaPlugin com.apple.InterfaceBuilder.CocoaPlugin + com.apple.InterfaceBuilder.CocoaPlugin + + com.apple.InterfaceBuilder.CocoaPlugin + com.apple.InterfaceBuilder.CocoaPlugin + com.apple.InterfaceBuilder.CocoaPlugin + com.apple.InterfaceBuilder.CocoaPlugin com.apple.InterfaceBuilder.CocoaPlugin com.apple.InterfaceBuilder.CocoaPlugin com.apple.InterfaceBuilder.CocoaPlugin @@ -3090,293 +5444,43 @@ com.apple.InterfaceBuilder.CocoaPlugin com.apple.InterfaceBuilder.CocoaPlugin com.apple.InterfaceBuilder.CocoaPlugin + + com.apple.InterfaceBuilder.CocoaPlugin + + com.apple.InterfaceBuilder.CocoaPlugin + + com.apple.InterfaceBuilder.CocoaPlugin + + com.apple.InterfaceBuilder.CocoaPlugin + com.apple.InterfaceBuilder.CocoaPlugin + com.apple.InterfaceBuilder.CocoaPlugin + com.apple.InterfaceBuilder.CocoaPlugin + com.apple.InterfaceBuilder.CocoaPlugin + com.apple.InterfaceBuilder.CocoaPlugin + com.apple.InterfaceBuilder.CocoaPlugin + com.apple.InterfaceBuilder.CocoaPlugin + com.apple.InterfaceBuilder.CocoaPlugin + com.apple.InterfaceBuilder.CocoaPlugin + com.apple.InterfaceBuilder.CocoaPlugin + com.apple.InterfaceBuilder.CocoaPlugin + com.apple.InterfaceBuilder.CocoaPlugin + com.apple.InterfaceBuilder.CocoaPlugin + com.apple.InterfaceBuilder.CocoaPlugin + com.apple.InterfaceBuilder.CocoaPlugin + com.apple.InterfaceBuilder.CocoaPlugin + com.apple.InterfaceBuilder.CocoaPlugin + com.apple.InterfaceBuilder.CocoaPlugin + com.apple.InterfaceBuilder.CocoaPlugin + com.apple.InterfaceBuilder.CocoaPlugin - 533 + 1093 - - ABAppCardController - NSWindowController - - id - id - id - id - id - id - id - id - - - - addCardViewField: - id - - - copy: - id - - - cut: - id - - - doDelete: - id - - - find: - id - - - paste: - id - - - saveChanges: - id - - - toggleCardEditingMode: - id - - - - ABCardView - NSButton - NSManagedObjectContext - NSSearchField - NSTextField - NSWindow - - - - mCardView - ABCardView - - - mEditButton - NSButton - - - mManagedObjectContext - NSManagedObjectContext - - - mSearchField - NSSearchField - - - mStatusTextField - NSTextField - - - mWindow - NSWindow - - - - IBProjectSource - ./Classes/ABAppCardController.h - - - - ABCardView - NSView - - id - id - - - - commitAndSave: - id - - - statusImageClicked: - id - - - - NSObjectController - NSImageView - NSView - ABNameFrameView - NSView - NSImage - ABImageView - - - - mBindingsController - NSObjectController - - - mBuddyStatusImage - NSImageView - - - mHeaderView - NSView - - - mNameView - ABNameFrameView - - - mNextKeyView - NSView - - - mUserImage - NSImage - - - mUserImageView - ABImageView - - - - IBProjectSource - ./Classes/ABCardView.h - - - - ABImageView - NSImageView - - id - id - id - id - - - - copy: - id - - - cut: - id - - - delete: - id - - - paste: - id - - - - IBProjectSource - ./Classes/ABImageView.h - - - - DVTBorderedView - DVTLayoutView_ML - - contentView - NSView - - - contentView - - contentView - NSView - - - - IBProjectSource - ./Classes/DVTBorderedView.h - - - - DVTDelayedMenuButton - NSButton - - IBProjectSource - ./Classes/DVTDelayedMenuButton.h - - - - DVTGradientImageButton - NSButton - - IBProjectSource - ./Classes/DVTGradientImageButton.h - - - - DVTImageAndTextCell - NSTextFieldCell - - IBProjectSource - ./Classes/DVTImageAndTextCell.h - - - - DVTImageAndTextColumn - NSTableColumn - - IBProjectSource - ./Classes/DVTImageAndTextColumn.h - - - - DVTLayoutView_ML - NSView - - IBProjectSource - ./Classes/DVTLayoutView_ML.h - - - - DVTOutlineView - NSOutlineView - - IBProjectSource - ./Classes/DVTOutlineView.h - - - - DVTSplitView - NSSplitView - - IBProjectSource - ./Classes/DVTSplitView.h - - - - DVTStackView_ML - DVTLayoutView_ML - - IBProjectSource - ./Classes/DVTStackView_ML.h - - - - DVTTableView - NSTableView - - IBProjectSource - ./Classes/DVTTableView.h - - - - DVTViewController - NSViewController - - IBProjectSource - ./Classes/DVTViewController.h - - FirstResponder @@ -3395,1158 +5499,6 @@ - - HFController - NSObject - - selectAll: - id - - - selectAll: - - selectAll: - id - - - - IBProjectSource - ./Classes/HFController.h - - - - HFRepresenterTextView - NSView - - selectAll: - id - - - selectAll: - - selectAll: - id - - - - IBProjectSource - ./Classes/HFRepresenterTextView.h - - - - IBEditor - NSObject - - id - id - id - id - id - - - - changeFont: - id - - - performCopy: - id - - - performCut: - id - - - selectAll: - id - - - sizeSelectionToFit: - id - - - - IBProjectSource - ./Classes/IBEditor.h - - - - IDECapsuleListView - DVTStackView_ML - - dataSource - id - - - dataSource - - dataSource - id - - - - IBProjectSource - ./Classes/IDECapsuleListView.h - - - - IDEDMArrayController - NSArrayController - - IBProjectSource - ./Classes/IDEDMArrayController.h - - - - IDEDMEditor - IDEEditor - - DVTBorderedView - NSView - IDEDMEditorSourceListController - DVTSplitView - - - - bottomToolbarBorderView - DVTBorderedView - - - sourceListSplitViewPane - NSView - - - sourceListViewController - IDEDMEditorSourceListController - - - splitView - DVTSplitView - - - - IBProjectSource - ./Classes/IDEDMEditor.h - - - - IDEDMEditorController - IDEViewController - - IBProjectSource - ./Classes/IDEDMEditorController.h - - - - IDEDMEditorSourceListController - IDEDMEditorController - - DVTBorderedView - IDEDMEditor - DVTImageAndTextColumn - DVTOutlineView - NSTreeController - - - - borderedView - DVTBorderedView - - - parentEditor - IDEDMEditor - - - primaryColumn - DVTImageAndTextColumn - - - sourceListOutlineView - DVTOutlineView - - - sourceListTreeController - NSTreeController - - - - IBProjectSource - ./Classes/IDEDMEditorSourceListController.h - - - - IDEDMHighlightImageAndTextCell - DVTImageAndTextCell - - IBProjectSource - ./Classes/IDEDMHighlightImageAndTextCell.h - - - - IDEDataModelBrowserEditor - IDEDMEditorController - - IDEDataModelPropertiesTableController - IDECapsuleListView - NSArrayController - IDEDataModelPropertiesTableController - IDEDataModelEntityContentsEditor - IDEDataModelPropertiesTableController - - - - attributesTableViewController - IDEDataModelPropertiesTableController - - - capsuleView - IDECapsuleListView - - - entityArrayController - NSArrayController - - - fetchedPropertiesTableViewController - IDEDataModelPropertiesTableController - - - parentEditor - IDEDataModelEntityContentsEditor - - - relationshipsTableViewController - IDEDataModelPropertiesTableController - - - - IBProjectSource - ./Classes/IDEDataModelBrowserEditor.h - - - - IDEDataModelConfigurationEditor - IDEDMEditorController - - IDECapsuleListView - IDEDataModelEditor - IDEDataModelConfigurationTableController - - - - capsuleListView - IDECapsuleListView - - - parentEditor - IDEDataModelEditor - - - tableController - IDEDataModelConfigurationTableController - - - - IBProjectSource - ./Classes/IDEDataModelConfigurationEditor.h - - - - IDEDataModelConfigurationTableController - IDEDMEditorController - - NSArrayController - NSArrayController - IDEDataModelConfigurationEditor - XDTableView - - - - configurationsArrayController - NSArrayController - - - entitiesArrayController - NSArrayController - - - parentEditor - IDEDataModelConfigurationEditor - - - tableView - XDTableView - - - - IBProjectSource - ./Classes/IDEDataModelConfigurationTableController.h - - - - IDEDataModelDiagramEditor - IDEDMEditorController - - XDDiagramView - IDEDataModelEntityContentsEditor - - - - diagramView - XDDiagramView - - - parentEditor - IDEDataModelEntityContentsEditor - - - - IBProjectSource - ./Classes/IDEDataModelDiagramEditor.h - - - - IDEDataModelEditor - IDEDMEditor - - DVTDelayedMenuButton - DVTDelayedMenuButton - NSSegmentedControl - IDEDataModelConfigurationEditor - IDEDataModelEntityContentsEditor - IDEDataModelFetchRequestEditor - NSSegmentedControl - NSTabView - - - - addEntityButton - DVTDelayedMenuButton - - - addPropertyButton - DVTDelayedMenuButton - - - browserDiagramSegmentControl - NSSegmentedControl - - - configurationViewController - IDEDataModelConfigurationEditor - - - entityContentsViewController - IDEDataModelEntityContentsEditor - - - fetchRequestViewController - IDEDataModelFetchRequestEditor - - - hierarchySegmentControl - NSSegmentedControl - - - tabView - NSTabView - - - - IBProjectSource - ./Classes/IDEDataModelEditor.h - - - - IDEDataModelEntityContentsEditor - IDEDMEditorController - - IDEDataModelBrowserEditor - IDEDataModelDiagramEditor - IDEDataModelEditor - NSTabView - - - - browserViewController - IDEDataModelBrowserEditor - - - diagramViewController - IDEDataModelDiagramEditor - - - parentEditor - IDEDataModelEditor - - - tabView - NSTabView - - - - IBProjectSource - ./Classes/IDEDataModelEntityContentsEditor.h - - - - IDEDataModelFetchRequestEditor - IDEDMEditorController - - NSArrayController - IDEDataModelEditor - IDECapsuleListView - - - - entityController - NSArrayController - - - parentEditor - IDEDataModelEditor - - - tableView - IDECapsuleListView - - - - IBProjectSource - ./Classes/IDEDataModelFetchRequestEditor.h - - - - IDEDataModelPropertiesTableController - IDEDMEditorController - - IDEDMArrayController - NSTableColumn - NSArrayController - IDEDataModelBrowserEditor - IDEDMHighlightImageAndTextCell - XDTableView - - - - arrayController - IDEDMArrayController - - - entitiesColumn - NSTableColumn - - - entityArrayController - NSArrayController - - - parentEditor - IDEDataModelBrowserEditor - - - propertyNameAndImageCell - IDEDMHighlightImageAndTextCell - - - tableView - XDTableView - - - - IBProjectSource - ./Classes/IDEDataModelPropertiesTableController.h - - - - IDEDocDownloadsTableViewController - NSObject - - NSButtonCell - DVTTableView - IDEDocViewingPrefPaneController - - - - _downloadButtonCell - NSButtonCell - - - _tableView - DVTTableView - - - prefPaneController - IDEDocViewingPrefPaneController - - - - IBProjectSource - ./Classes/IDEDocDownloadsTableViewController.h - - - - IDEDocViewingPrefPaneController - IDEViewController - - id - id - id - id - id - id - id - id - id - id - id - - - - addSubscription: - id - - - checkForAndInstallUpdatesNow: - id - - - deleteDocSet: - id - - - downloadAction: - id - - - minimumFontSizeComboBoxAction: - id - - - minimumFontSizeEnabledAction: - id - - - showHelp: - id - - - showSubscriptionSheet: - id - - - subscriptionCancelAction: - id - - - toggleAutoCheckForAndInstallUpdates: - id - - - toggleDocSetInfo: - id - - - - DVTGradientImageButton - DVTGradientImageButton - DVTGradientImageButton - NSSplitView - NSView - NSView - DVTBorderedView - DVTBorderedView - NSButton - NSTextView - IDEDocDownloadsTableViewController - NSComboBox - NSTextField - NSButton - NSTextField - NSWindow - NSButton - - - - _addButton - DVTGradientImageButton - - - _deleteButton - DVTGradientImageButton - - - _showInfoAreaButton - DVTGradientImageButton - - - _splitView - NSSplitView - - - _splitViewDocSetInfoSubview - NSView - - - _splitViewDocSetsListSubview - NSView - - - borderedViewAroundSplitView - DVTBorderedView - - - borderedViewBelowTable - DVTBorderedView - - - checkAndInstallNowButton - NSButton - - - docSetInfoTextView - NSTextView - - - downloadsTableViewController - IDEDocDownloadsTableViewController - - - minimumFontSizeControl - NSComboBox - - - noUpdatesAvailableMessage - NSTextField - - - showInfoButton - NSButton - - - subscriptionTextField - NSTextField - - - subscriptionWindow - NSWindow - - - validateAddSubscriptionButton - NSButton - - - - IBProjectSource - ./Classes/IDEDocViewingPrefPaneController.h - - - - IDEEditor - IDEViewController - - IBProjectSource - ./Classes/IDEEditor.h - - - - IDEViewController - DVTViewController - - IBProjectSource - ./Classes/IDEViewController.h - - - - IKImageView - - id - id - id - id - - - - copy: - id - - - crop: - id - - - cut: - id - - - paste: - id - - - - IBProjectSource - ./Classes/IKImageView.h - - - - NSDocument - - id - id - id - id - id - id - - - - printDocument: - id - - - revertDocumentToSaved: - id - - - runPageLayout: - id - - - saveDocument: - id - - - saveDocumentAs: - id - - - saveDocumentTo: - id - - - - IBProjectSource - ./Classes/NSDocument.h - - - - NSDocumentController - - _openRecentDocument: - id - - - _openRecentDocument: - - _openRecentDocument: - id - - - - IBProjectSource - ./Classes/NSDocumentController.h - - - - NSResponder - - _insertFindPattern: - id - - - _insertFindPattern: - - _insertFindPattern: - id - - - - IBProjectSource - ./Classes/NSResponder.h - - - - QLPreviewBubble - NSObject - - id - id - - - - hide: - id - - - show: - id - - - - parentWindow - NSWindow - - - parentWindow - - parentWindow - NSWindow - - - - IBProjectSource - ./Classes/QLPreviewBubble.h - - - - QTMovieView - - id - id - id - id - id - - - - showAll: - id - - - showCustomButton: - id - - - toggleLoops: - id - - - zoomIn: - id - - - zoomOut: - id - - - - IBProjectSource - ./Classes/QTMovieView.h - - - - WebView - - id - id - id - id - - - - reloadFromOrigin: - id - - - resetPageZoom: - id - - - zoomPageIn: - id - - - zoomPageOut: - id - - - - IBProjectSource - ./Classes/WebView.h - - - - XDDiagramView - NSView - - id - id - id - id - id - id - id - id - id - id - id - id - id - id - id - id - id - id - id - id - id - id - id - id - id - id - id - id - id - id - id - id - id - id - id - id - id - id - id - id - id - id - id - id - id - id - id - id - - - - _graphLayouterMenuItemAction: - id - - - _zoomPopUpButtonAction: - id - - - alignBottomEdges: - id - - - alignCentersHorizontallyInContainer: - id - - - alignCentersVerticallyInContainer: - id - - - alignHorizontalCenters: - id - - - alignLeftEdges: - id - - - alignRightEdges: - id - - - alignTopEdges: - id - - - alignVerticalCenters: - id - - - bringToFront: - id - - - collapseAllCompartments: - id - - - copy: - id - - - cut: - id - - - delete: - id - - - deleteBackward: - id - - - deleteForward: - id - - - deselectAll: - id - - - diagramZoomIn: - id - - - diagramZoomOut: - id - - - expandAllCompartments: - id - - - flipHorizontally: - id - - - flipVertically: - id - - - layoutGraphicsConcentrically: - id - - - layoutGraphicsHierarchically: - id - - - lock: - id - - - makeSameHeight: - id - - - makeSameWidth: - id - - - moveDown: - id - - - moveDownAndModifySelection: - id - - - moveLeft: - id - - - moveLeftAndModifySelection: - id - - - moveRight: - id - - - moveRightAndModifySelection: - id - - - moveUp: - id - - - moveUpAndModifySelection: - id - - - paste: - id - - - rollDownAllCompartments: - id - - - rollUpAllCompartments: - id - - - selectAll: - id - - - sendToBack: - id - - - sizeToFit: - id - - - toggleGridShown: - id - - - toggleHiddenGraphicsShown: - id - - - togglePageBreaksShown: - id - - - toggleRuler: - id - - - toggleSnapsToGrid: - id - - - unlock: - id - - - - _diagramController - IDEDataModelDiagramEditor - - - _diagramController - - _diagramController - IDEDataModelDiagramEditor - - - - IBProjectSource - ./Classes/XDDiagramView.h - - - - XDTableView - NSTableView - - showAllTableColumns: - id - - - showAllTableColumns: - - showAllTableColumns: - id - - - - IBProjectSource - ./Classes/XDTableView.h - - 0 diff --git a/Brainfuck/main.m b/Brainfuck/main.m old mode 100644 new mode 100755 diff --git a/BrainfuckDocument.icns b/BrainfuckDocument.icns new file mode 100755 index 0000000..71bbf3b Binary files /dev/null and b/BrainfuckDocument.icns differ diff --git a/Ook/Ook.xcodeproj/xcuserdata/kim.xcuserdatad/xcschemes/Ook.xcscheme b/Ook/Ook.xcodeproj/xcuserdata/kim.xcuserdatad/xcschemes/Ook.xcscheme new file mode 100755 index 0000000..d3ececc --- /dev/null +++ b/Ook/Ook.xcodeproj/xcuserdata/kim.xcuserdatad/xcschemes/Ook.xcscheme @@ -0,0 +1,86 @@ + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + diff --git a/Ook/Ook.xcodeproj/xcuserdata/kim.xcuserdatad/xcschemes/xcschememanagement.plist b/Ook/Ook.xcodeproj/xcuserdata/kim.xcuserdatad/xcschemes/xcschememanagement.plist new file mode 100755 index 0000000..42725ee --- /dev/null +++ b/Ook/Ook.xcodeproj/xcuserdata/kim.xcuserdatad/xcschemes/xcschememanagement.plist @@ -0,0 +1,22 @@ + + + + + SchemeUserState + + Ook.xcscheme + + orderHint + 1 + + + SuppressBuildableAutocreation + + 3B9F1F4E174A8CF000529CDD + + primary + + + + + diff --git a/Ook/Ook/OoKDocument.h b/Ook/Ook/OoKDocument.h new file mode 100755 index 0000000..eb4ab22 --- /dev/null +++ b/Ook/Ook/OoKDocument.h @@ -0,0 +1,13 @@ +// +// OoKDocument.h +// Ook +// +// Created by Kim Wittenburg on 20.05.13. +// Copyright (c) 2013 ook. All rights reserved. +// + +#import + +@interface OoKDocument : NSDocument + +@end diff --git a/Ook/Ook/OoKDocument.m b/Ook/Ook/OoKDocument.m new file mode 100755 index 0000000..ebe6519 --- /dev/null +++ b/Ook/Ook/OoKDocument.m @@ -0,0 +1,59 @@ +// +// OoKDocument.m +// Ook +// +// Created by Kim Wittenburg on 20.05.13. +// Copyright (c) 2013 ook. All rights reserved. +// + +#import "OoKDocument.h" + +@implementation OoKDocument + +- (id)init +{ + self = [super init]; + if (self) { + // Add your subclass-specific initialization here. + } + return self; +} + +- (NSString *)windowNibName +{ + // Override returning the nib file name of the document + // If you need to use a subclass of NSWindowController or if your document supports multiple NSWindowControllers, you should remove this method and override -makeWindowControllers instead. + return @"OoKDocument"; +} + +- (void)windowControllerDidLoadNib:(NSWindowController *)aController +{ + [super windowControllerDidLoadNib:aController]; + // Add any code here that needs to be executed once the windowController has loaded the document's window. +} + ++ (BOOL)autosavesInPlace +{ + return YES; +} + +- (NSData *)dataOfType:(NSString *)typeName error:(NSError **)outError +{ + // Insert code here to write your document to data of the specified type. If outError != NULL, ensure that you create and set an appropriate error when returning nil. + // You can also choose to override -fileWrapperOfType:error:, -writeToURL:ofType:error:, or -writeToURL:ofType:forSaveOperation:originalContentsURL:error: instead. + NSException *exception = [NSException exceptionWithName:@"UnimplementedMethod" reason:[NSString stringWithFormat:@"%@ is unimplemented", NSStringFromSelector(_cmd)] userInfo:nil]; + @throw exception; + return nil; +} + +- (BOOL)readFromData:(NSData *)data ofType:(NSString *)typeName error:(NSError **)outError +{ + // Insert code here to read your document from the given data of the specified type. If outError != NULL, ensure that you create and set an appropriate error when returning NO. + // You can also choose to override -readFromFileWrapper:ofType:error: or -readFromURL:ofType:error: instead. + // If you override either of these, you should also override -isEntireFileLoaded to return NO if the contents are lazily loaded. + NSException *exception = [NSException exceptionWithName:@"UnimplementedMethod" reason:[NSString stringWithFormat:@"%@ is unimplemented", NSStringFromSelector(_cmd)] userInfo:nil]; + @throw exception; + return YES; +} + +@end diff --git a/Ook/Ook/Ook-Info.plist b/Ook/Ook/Ook-Info.plist new file mode 100755 index 0000000..b34036f --- /dev/null +++ b/Ook/Ook/Ook-Info.plist @@ -0,0 +1,57 @@ + + + + + CFBundleDevelopmentRegion + en + CFBundleDocumentTypes + + + CFBundleTypeExtensions + + ook + + CFBundleTypeIconFile + + CFBundleTypeName + DocumentType + CFBundleTypeOSTypes + + ???? + + CFBundleTypeRole + Editor + NSDocumentClass + OoKDocument + + + CFBundleExecutable + ${EXECUTABLE_NAME} + CFBundleIconFile + + CFBundleIdentifier + ook.ook.${PRODUCT_NAME:rfc1034identifier} + CFBundleInfoDictionaryVersion + 6.0 + CFBundleName + ${PRODUCT_NAME} + CFBundlePackageType + APPL + CFBundleShortVersionString + 1.0 + CFBundleSignature + ???? + CFBundleVersion + 1 + LSApplicationCategoryType + public.app-category.developer-tools + LSMinimumSystemVersion + ${MACOSX_DEPLOYMENT_TARGET} + NSHumanReadableCopyright + Copyright © 2013 ook. All rights reserved. + NSMainNibFile + MainMenu + NSPrincipalClass + NSApplication + + diff --git a/Ook/Ook/Ook-Prefix.pch b/Ook/Ook/Ook-Prefix.pch new file mode 100755 index 0000000..6a73dd4 --- /dev/null +++ b/Ook/Ook/Ook-Prefix.pch @@ -0,0 +1,7 @@ +// +// Prefix header for all source files of the 'Ook' target in the 'Ook' project +// + +#ifdef __OBJC__ + #import +#endif diff --git a/Ook/Ook/en.lproj/Credits.rtf b/Ook/Ook/en.lproj/Credits.rtf new file mode 100755 index 0000000..46576ef --- /dev/null +++ b/Ook/Ook/en.lproj/Credits.rtf @@ -0,0 +1,29 @@ +{\rtf0\ansi{\fonttbl\f0\fswiss Helvetica;} +{\colortbl;\red255\green255\blue255;} +\paperw9840\paperh8400 +\pard\tx560\tx1120\tx1680\tx2240\tx2800\tx3360\tx3920\tx4480\tx5040\tx5600\tx6160\tx6720\ql\qnatural + +\f0\b\fs24 \cf0 Engineering: +\b0 \ + Some people\ +\ + +\b Human Interface Design: +\b0 \ + Some other people\ +\ + +\b Testing: +\b0 \ + Hopefully not nobody\ +\ + +\b Documentation: +\b0 \ + Whoever\ +\ + +\b With special thanks to: +\b0 \ + Mom\ +} diff --git a/Ook/Ook/en.lproj/InfoPlist.strings b/Ook/Ook/en.lproj/InfoPlist.strings new file mode 100755 index 0000000..477b28f --- /dev/null +++ b/Ook/Ook/en.lproj/InfoPlist.strings @@ -0,0 +1,2 @@ +/* Localized versions of Info.plist keys */ + diff --git a/Ook/Ook/en.lproj/MainMenu.xib b/Ook/Ook/en.lproj/MainMenu.xib new file mode 100755 index 0000000..19d57af --- /dev/null +++ b/Ook/Ook/en.lproj/MainMenu.xib @@ -0,0 +1,4562 @@ + + + + 1080 + 11D50 + 2457 + 1138.32 + 568.00 + + com.apple.InterfaceBuilder.CocoaPlugin + 2457 + + + NSMenu + NSMenuItem + NSCustomObject + + + com.apple.InterfaceBuilder.CocoaPlugin + + + PluginDependencyRecalculationVersion + + + + + NSApplication + + + FirstResponder + + + NSApplication + + + AMainMenu + + + + Ook + + 1048576 + 2147483647 + + NSImage + NSMenuCheckmark + + + NSImage + NSMenuMixedState + + submenuAction: + + Ook + + + + About Ook + + 2147483647 + + + + + + YES + YES + + + 1048576 + 2147483647 + + + + + + Preferences… + , + 1048576 + 2147483647 + + + + + + YES + YES + + + 1048576 + 2147483647 + + + + + + Services + + 1048576 + 2147483647 + + + submenuAction: + + Services + + _NSServicesMenu + + + + + YES + YES + + + 1048576 + 2147483647 + + + + + + Hide Ook + h + 1048576 + 2147483647 + + + + + + Hide Others + h + 1572864 + 2147483647 + + + + + + Show All + + 1048576 + 2147483647 + + + + + + YES + YES + + + 1048576 + 2147483647 + + + + + + Quit Ook + q + 1048576 + 2147483647 + + + + + _NSAppleMenu + + + + + File + + 1048576 + 2147483647 + + + submenuAction: + + File + + + + New + n + 1048576 + 2147483647 + + + + + + Open… + o + 1048576 + 2147483647 + + + + + + Open Recent + + 1048576 + 2147483647 + + + submenuAction: + + Open Recent + + + + Clear Menu + + 1048576 + 2147483647 + + + + + _NSRecentDocumentsMenu + + + + + YES + YES + + + 1048576 + 2147483647 + + + + + + Close + w + 1048576 + 2147483647 + + + + + + Save… + s + 1048576 + 2147483647 + + + + + + Revert to Saved + + 2147483647 + + + + + + YES + YES + + + 1048576 + 2147483647 + + + + + + Page Setup... + P + 1179648 + 2147483647 + + + + + + + Print… + p + 1048576 + 2147483647 + + + + + + + + + Edit + + 1048576 + 2147483647 + + + submenuAction: + + Edit + + + + Undo + z + 1048576 + 2147483647 + + + + + + Redo + Z + 1179648 + 2147483647 + + + + + + YES + YES + + + 1048576 + 2147483647 + + + + + + Cut + x + 1048576 + 2147483647 + + + + + + Copy + c + 1048576 + 2147483647 + + + + + + Paste + v + 1048576 + 2147483647 + + + + + + Paste and Match Style + V + 1572864 + 2147483647 + + + + + + Delete + + 1048576 + 2147483647 + + + + + + Select All + a + 1048576 + 2147483647 + + + + + + YES + YES + + + 1048576 + 2147483647 + + + + + + Find + + 1048576 + 2147483647 + + + submenuAction: + + Find + + + + Find… + f + 1048576 + 2147483647 + + + 1 + + + + Find and Replace… + f + 1572864 + 2147483647 + + + 12 + + + + Find Next + g + 1048576 + 2147483647 + + + 2 + + + + Find Previous + G + 1179648 + 2147483647 + + + 3 + + + + Use Selection for Find + e + 1048576 + 2147483647 + + + 7 + + + + Jump to Selection + j + 1048576 + 2147483647 + + + + + + + + + Spelling and Grammar + + 1048576 + 2147483647 + + + submenuAction: + + Spelling and Grammar + + + + Show Spelling and Grammar + : + 1048576 + 2147483647 + + + + + + Check Document Now + ; + 1048576 + 2147483647 + + + + + + YES + YES + + + 2147483647 + + + + + + Check Spelling While Typing + + 1048576 + 2147483647 + + + + + + Check Grammar With Spelling + + 1048576 + 2147483647 + + + + + + Correct Spelling Automatically + + 2147483647 + + + + + + + + + Substitutions + + 1048576 + 2147483647 + + + submenuAction: + + Substitutions + + + + Show Substitutions + + 2147483647 + + + + + + YES + YES + + + 2147483647 + + + + + + Smart Copy/Paste + f + 1048576 + 2147483647 + + + 1 + + + + Smart Quotes + g + 1048576 + 2147483647 + + + 2 + + + + Smart Dashes + + 2147483647 + + + + + + Smart Links + G + 1179648 + 2147483647 + + + 3 + + + + Text Replacement + + 2147483647 + + + + + + + + + Transformations + + 2147483647 + + + submenuAction: + + Transformations + + + + Make Upper Case + + 2147483647 + + + + + + Make Lower Case + + 2147483647 + + + + + + Capitalize + + 2147483647 + + + + + + + + + Speech + + 1048576 + 2147483647 + + + submenuAction: + + Speech + + + + Start Speaking + + 1048576 + 2147483647 + + + + + + Stop Speaking + + 1048576 + 2147483647 + + + + + + + + + + + + Format + + 2147483647 + + + submenuAction: + + Format + + + + Font + + 2147483647 + + + submenuAction: + + Font + + + + Show Fonts + t + 1048576 + 2147483647 + + + + + + Bold + b + 1048576 + 2147483647 + + + 2 + + + + Italic + i + 1048576 + 2147483647 + + + 1 + + + + Underline + u + 1048576 + 2147483647 + + + + + + YES + YES + + + 2147483647 + + + + + + Bigger + + + 1048576 + 2147483647 + + + 3 + + + + Smaller + - + 1048576 + 2147483647 + + + 4 + + + + YES + YES + + + 2147483647 + + + + + + Kern + + 2147483647 + + + submenuAction: + + Kern + + + + Use Default + + 2147483647 + + + + + + Use None + + 2147483647 + + + + + + Tighten + + 2147483647 + + + + + + Loosen + + 2147483647 + + + + + + + + + Ligatures + + 2147483647 + + + submenuAction: + + Ligatures + + + + Use Default + + 2147483647 + + + + + + Use None + + 2147483647 + + + + + + Use All + + 2147483647 + + + + + + + + + Baseline + + 2147483647 + + + submenuAction: + + Baseline + + + + Use Default + + 2147483647 + + + + + + Superscript + + 2147483647 + + + + + + Subscript + + 2147483647 + + + + + + Raise + + 2147483647 + + + + + + Lower + + 2147483647 + + + + + + + + + YES + YES + + + 2147483647 + + + + + + Show Colors + C + 1048576 + 2147483647 + + + + + + YES + YES + + + 2147483647 + + + + + + Copy Style + c + 1572864 + 2147483647 + + + + + + Paste Style + v + 1572864 + 2147483647 + + + + + _NSFontMenu + + + + + Text + + 2147483647 + + + submenuAction: + + Text + + + + Align Left + { + 1048576 + 2147483647 + + + + + + Center + | + 1048576 + 2147483647 + + + + + + Justify + + 2147483647 + + + + + + Align Right + } + 1048576 + 2147483647 + + + + + + YES + YES + + + 2147483647 + + + + + + Writing Direction + + 2147483647 + + + submenuAction: + + Writing Direction + + + + YES + Paragraph + + 2147483647 + + + + + + CURlZmF1bHQ + + 2147483647 + + + + + + CUxlZnQgdG8gUmlnaHQ + + 2147483647 + + + + + + CVJpZ2h0IHRvIExlZnQ + + 2147483647 + + + + + + YES + YES + + + 2147483647 + + + + + + YES + Selection + + 2147483647 + + + + + + CURlZmF1bHQ + + 2147483647 + + + + + + CUxlZnQgdG8gUmlnaHQ + + 2147483647 + + + + + + CVJpZ2h0IHRvIExlZnQ + + 2147483647 + + + + + + + + + YES + YES + + + 2147483647 + + + + + + Show Ruler + + 2147483647 + + + + + + Copy Ruler + c + 1310720 + 2147483647 + + + + + + Paste Ruler + v + 1310720 + 2147483647 + + + + + + + + + + + + View + + 1048576 + 2147483647 + + + submenuAction: + + View + + + + Show Toolbar + t + 1572864 + 2147483647 + + + + + + Customize Toolbar… + + 1048576 + 2147483647 + + + + + + + + + Window + + 1048576 + 2147483647 + + + submenuAction: + + Window + + + + Minimize + m + 1048576 + 2147483647 + + + + + + Zoom + + 1048576 + 2147483647 + + + + + + YES + YES + + + 1048576 + 2147483647 + + + + + + Bring All to Front + + 1048576 + 2147483647 + + + + + _NSWindowsMenu + + + + + Help + + 2147483647 + + + submenuAction: + + Help + + + + Ook Help + ? + 1048576 + 2147483647 + + + + + _NSHelpMenu + + + + _NSMainMenu + + + NSFontManager + + + + + + + terminate: + + + + 448 + + + + orderFrontStandardAboutPanel: + + + + 142 + + + + performMiniaturize: + + + + 37 + + + + arrangeInFront: + + + + 39 + + + + runPageLayout: + + + + 87 + + + + clearRecentDocuments: + + + + 127 + + + + performClose: + + + + 193 + + + + toggleContinuousSpellChecking: + + + + 222 + + + + undo: + + + + 223 + + + + copy: + + + + 224 + + + + checkSpelling: + + + + 225 + + + + paste: + + + + 226 + + + + stopSpeaking: + + + + 227 + + + + cut: + + + + 228 + + + + showGuessPanel: + + + + 230 + + + + redo: + + + + 231 + + + + selectAll: + + + + 232 + + + + startSpeaking: + + + + 233 + + + + delete: + + + + 235 + + + + performZoom: + + + + 240 + + + + performFindPanelAction: + + + + 241 + + + + centerSelectionInVisibleArea: + + + + 245 + + + + toggleGrammarChecking: + + + + 347 + + + + toggleSmartInsertDelete: + + + + 355 + + + + toggleAutomaticQuoteSubstitution: + + + + 356 + + + + toggleAutomaticLinkDetection: + + + + 357 + + + + saveDocument: + + + + 362 + + + + revertDocumentToSaved: + + + + 364 + + + + runToolbarCustomizationPalette: + + + + 365 + + + + toggleToolbarShown: + + + + 366 + + + + hide: + + + + 367 + + + + hideOtherApplications: + + + + 368 + + + + unhideAllApplications: + + + + 370 + + + + newDocument: + + + + 371 + + + + openDocument: + + + + 372 + + + + printDocument: + + + + 373 + + + + raiseBaseline: + + + + 425 + + + + lowerBaseline: + + + + 426 + + + + copyFont: + + + + 427 + + + + subscript: + + + + 428 + + + + superscript: + + + + 429 + + + + tightenKerning: + + + + 430 + + + + underline: + + + + 431 + + + + orderFrontColorPanel: + + + + 432 + + + + useAllLigatures: + + + + 433 + + + + loosenKerning: + + + + 434 + + + + pasteFont: + + + + 435 + + + + unscript: + + + + 436 + + + + useStandardKerning: + + + + 437 + + + + useStandardLigatures: + + + + 438 + + + + turnOffLigatures: + + + + 439 + + + + turnOffKerning: + + + + 440 + + + + capitalizeWord: + + + + 454 + + + + lowercaseWord: + + + + 455 + + + + uppercaseWord: + + + + 456 + + + + toggleAutomaticDashSubstitution: + + + + 460 + + + + orderFrontSubstitutionsPanel: + + + + 461 + + + + toggleAutomaticTextReplacement: + + + + 463 + + + + toggleAutomaticSpellingCorrection: + + + + 466 + + + + performFindPanelAction: + + + + 467 + + + + performFindPanelAction: + + + + 468 + + + + performFindPanelAction: + + + + 469 + + + + pasteAsPlainText: + + + + 471 + + + + showHelp: + + + + 494 + + + + alignCenter: + + + + 517 + + + + pasteRuler: + + + + 518 + + + + toggleRuler: + + + + 519 + + + + alignRight: + + + + 520 + + + + copyRuler: + + + + 521 + + + + alignJustified: + + + + 522 + + + + alignLeft: + + + + 523 + + + + makeBaseWritingDirectionNatural: + + + + 524 + + + + makeBaseWritingDirectionLeftToRight: + + + + 525 + + + + makeBaseWritingDirectionRightToLeft: + + + + 526 + + + + makeTextWritingDirectionNatural: + + + + 527 + + + + makeTextWritingDirectionLeftToRight: + + + + 528 + + + + makeTextWritingDirectionRightToLeft: + + + + 529 + + + + performFindPanelAction: + + + + 533 + + + + addFontTrait: + + + + 420 + + + + addFontTrait: + + + + 421 + + + + modifyFont: + + + + 422 + + + + orderFrontFontPanel: + + + + 423 + + + + modifyFont: + + + + 424 + + + + + + 0 + + + + + + -2 + + + File's Owner + + + -1 + + + First Responder + + + -3 + + + Application + + + 29 + + + + + + + + + + + + + + 19 + + + + + + + + 56 + + + + + + + + 217 + + + + + + + + 83 + + + + + + + + 81 + + + + + + + + + + + + + + + + + 75 + + + + + 78 + + + + + 72 + + + + + 82 + + + + + 124 + + + + + + + + 77 + + + + + 73 + + + + + 79 + + + + + 112 + + + + + 74 + + + + + 125 + + + + + + + + 126 + + + + + 205 + + + + + + + + + + + + + + + + + + + + + + 202 + + + + + 198 + + + + + 207 + + + + + 214 + + + + + 199 + + + + + 203 + + + + + 197 + + + + + 206 + + + + + 215 + + + + + 218 + + + + + + + + 216 + + + + + + + + 200 + + + + + + + + + + + + + 219 + + + + + 201 + + + + + 204 + + + + + 220 + + + + + + + + + + + + + 213 + + + + + 210 + + + + + 221 + + + + + 208 + + + + + 209 + + + + + 57 + + + + + + + + + + + + + + + + + + 58 + + + + + 134 + + + + + 150 + + + + + 136 + + + + + 144 + + + + + 129 + + + + + 143 + + + + + 236 + + + + + 131 + + + + + + + + 149 + + + + + 145 + + + + + 130 + + + + + 24 + + + + + + + + + + + 92 + + + + + 5 + + + + + 239 + + + + + 23 + + + + + 295 + + + + + + + + 296 + + + + + + + + + 297 + + + + + 298 + + + + + 211 + + + + + + + + 212 + + + + + + + + + 195 + + + + + 196 + + + + + 346 + + + + + 348 + + + + + + + + 349 + + + + + + + + + + + + + + 350 + + + + + 351 + + + + + 354 + + + + + 374 + + + + + + + + 375 + + + + + + + + + 376 + + + + + + + + 387 + + + + + + + + + + + + + + + + + + + + + + + 388 + + + + + 389 + + + + + 390 + + + + + 391 + + + + + 392 + + + + + 393 + + + + + 394 + + + + + 395 + + + + + 396 + + + + + + + + 397 + + + + + + + + 398 + + + + + + + + 399 + + + + + 400 + + + + + 401 + + + + + 402 + + + + + 403 + + + + + 404 + + + + + + + + + + + + 405 + + + + + 406 + + + + + 407 + + + + + 408 + + + + + 409 + + + + + 410 + + + + + + + + + + 411 + + + + + 412 + + + + + 413 + + + + + 414 + + + + + + + + + + + 415 + + + + + 416 + + + + + 417 + + + + + 418 + + + + + 419 + + + + + 449 + + + + + + + + 450 + + + + + + + + + + 451 + + + + + 452 + + + + + 453 + + + + + 457 + + + + + 458 + + + + + 459 + + + + + 462 + + + + + 464 + + + + + 465 + + + + + 470 + + + + + 491 + + + + + + + + 492 + + + + + + + + 493 + + + + + 495 + + + + + + + + 496 + + + + + + + + + + + + + + + + + 497 + + + + + 498 + + + + + 499 + + + + + 500 + + + + + 501 + + + + + 502 + + + + + + + + 503 + + + + + 504 + + + + + 505 + + + + + 506 + + + + + 507 + + + + + + + + + + + + + + + + 508 + + + + + 509 + + + + + 510 + + + + + 511 + + + + + 512 + + + + + 513 + + + + + 514 + + + + + 515 + + + + + 516 + + + + + 532 + + + + + + + com.apple.InterfaceBuilder.CocoaPlugin + com.apple.InterfaceBuilder.CocoaPlugin + com.apple.InterfaceBuilder.CocoaPlugin + com.apple.InterfaceBuilder.CocoaPlugin + com.apple.InterfaceBuilder.CocoaPlugin + com.apple.InterfaceBuilder.CocoaPlugin + com.apple.InterfaceBuilder.CocoaPlugin + com.apple.InterfaceBuilder.CocoaPlugin + com.apple.InterfaceBuilder.CocoaPlugin + com.apple.InterfaceBuilder.CocoaPlugin + com.apple.InterfaceBuilder.CocoaPlugin + com.apple.InterfaceBuilder.CocoaPlugin + com.apple.InterfaceBuilder.CocoaPlugin + com.apple.InterfaceBuilder.CocoaPlugin + com.apple.InterfaceBuilder.CocoaPlugin + com.apple.InterfaceBuilder.CocoaPlugin + com.apple.InterfaceBuilder.CocoaPlugin + com.apple.InterfaceBuilder.CocoaPlugin + com.apple.InterfaceBuilder.CocoaPlugin + com.apple.InterfaceBuilder.CocoaPlugin + com.apple.InterfaceBuilder.CocoaPlugin + com.apple.InterfaceBuilder.CocoaPlugin + com.apple.InterfaceBuilder.CocoaPlugin + com.apple.InterfaceBuilder.CocoaPlugin + com.apple.InterfaceBuilder.CocoaPlugin + com.apple.InterfaceBuilder.CocoaPlugin + com.apple.InterfaceBuilder.CocoaPlugin + com.apple.InterfaceBuilder.CocoaPlugin + com.apple.InterfaceBuilder.CocoaPlugin + com.apple.InterfaceBuilder.CocoaPlugin + com.apple.InterfaceBuilder.CocoaPlugin + com.apple.InterfaceBuilder.CocoaPlugin + com.apple.InterfaceBuilder.CocoaPlugin + com.apple.InterfaceBuilder.CocoaPlugin + com.apple.InterfaceBuilder.CocoaPlugin + com.apple.InterfaceBuilder.CocoaPlugin + com.apple.InterfaceBuilder.CocoaPlugin + com.apple.InterfaceBuilder.CocoaPlugin + com.apple.InterfaceBuilder.CocoaPlugin + com.apple.InterfaceBuilder.CocoaPlugin + com.apple.InterfaceBuilder.CocoaPlugin + com.apple.InterfaceBuilder.CocoaPlugin + com.apple.InterfaceBuilder.CocoaPlugin + com.apple.InterfaceBuilder.CocoaPlugin + com.apple.InterfaceBuilder.CocoaPlugin + com.apple.InterfaceBuilder.CocoaPlugin + com.apple.InterfaceBuilder.CocoaPlugin + com.apple.InterfaceBuilder.CocoaPlugin + com.apple.InterfaceBuilder.CocoaPlugin + com.apple.InterfaceBuilder.CocoaPlugin + com.apple.InterfaceBuilder.CocoaPlugin + com.apple.InterfaceBuilder.CocoaPlugin + com.apple.InterfaceBuilder.CocoaPlugin + com.apple.InterfaceBuilder.CocoaPlugin + com.apple.InterfaceBuilder.CocoaPlugin + com.apple.InterfaceBuilder.CocoaPlugin + com.apple.InterfaceBuilder.CocoaPlugin + com.apple.InterfaceBuilder.CocoaPlugin + com.apple.InterfaceBuilder.CocoaPlugin + com.apple.InterfaceBuilder.CocoaPlugin + com.apple.InterfaceBuilder.CocoaPlugin + com.apple.InterfaceBuilder.CocoaPlugin + com.apple.InterfaceBuilder.CocoaPlugin + com.apple.InterfaceBuilder.CocoaPlugin + com.apple.InterfaceBuilder.CocoaPlugin + com.apple.InterfaceBuilder.CocoaPlugin + com.apple.InterfaceBuilder.CocoaPlugin + com.apple.InterfaceBuilder.CocoaPlugin + com.apple.InterfaceBuilder.CocoaPlugin + com.apple.InterfaceBuilder.CocoaPlugin + com.apple.InterfaceBuilder.CocoaPlugin + com.apple.InterfaceBuilder.CocoaPlugin + com.apple.InterfaceBuilder.CocoaPlugin + com.apple.InterfaceBuilder.CocoaPlugin + com.apple.InterfaceBuilder.CocoaPlugin + com.apple.InterfaceBuilder.CocoaPlugin + com.apple.InterfaceBuilder.CocoaPlugin + com.apple.InterfaceBuilder.CocoaPlugin + com.apple.InterfaceBuilder.CocoaPlugin + com.apple.InterfaceBuilder.CocoaPlugin + com.apple.InterfaceBuilder.CocoaPlugin + com.apple.InterfaceBuilder.CocoaPlugin + com.apple.InterfaceBuilder.CocoaPlugin + com.apple.InterfaceBuilder.CocoaPlugin + com.apple.InterfaceBuilder.CocoaPlugin + com.apple.InterfaceBuilder.CocoaPlugin + com.apple.InterfaceBuilder.CocoaPlugin + com.apple.InterfaceBuilder.CocoaPlugin + com.apple.InterfaceBuilder.CocoaPlugin + com.apple.InterfaceBuilder.CocoaPlugin + com.apple.InterfaceBuilder.CocoaPlugin + com.apple.InterfaceBuilder.CocoaPlugin + com.apple.InterfaceBuilder.CocoaPlugin + com.apple.InterfaceBuilder.CocoaPlugin + com.apple.InterfaceBuilder.CocoaPlugin + com.apple.InterfaceBuilder.CocoaPlugin + com.apple.InterfaceBuilder.CocoaPlugin + com.apple.InterfaceBuilder.CocoaPlugin + com.apple.InterfaceBuilder.CocoaPlugin + com.apple.InterfaceBuilder.CocoaPlugin + com.apple.InterfaceBuilder.CocoaPlugin + com.apple.InterfaceBuilder.CocoaPlugin + com.apple.InterfaceBuilder.CocoaPlugin + com.apple.InterfaceBuilder.CocoaPlugin + com.apple.InterfaceBuilder.CocoaPlugin + com.apple.InterfaceBuilder.CocoaPlugin + com.apple.InterfaceBuilder.CocoaPlugin + com.apple.InterfaceBuilder.CocoaPlugin + com.apple.InterfaceBuilder.CocoaPlugin + com.apple.InterfaceBuilder.CocoaPlugin + com.apple.InterfaceBuilder.CocoaPlugin + com.apple.InterfaceBuilder.CocoaPlugin + com.apple.InterfaceBuilder.CocoaPlugin + com.apple.InterfaceBuilder.CocoaPlugin + com.apple.InterfaceBuilder.CocoaPlugin + com.apple.InterfaceBuilder.CocoaPlugin + com.apple.InterfaceBuilder.CocoaPlugin + com.apple.InterfaceBuilder.CocoaPlugin + com.apple.InterfaceBuilder.CocoaPlugin + com.apple.InterfaceBuilder.CocoaPlugin + com.apple.InterfaceBuilder.CocoaPlugin + com.apple.InterfaceBuilder.CocoaPlugin + com.apple.InterfaceBuilder.CocoaPlugin + com.apple.InterfaceBuilder.CocoaPlugin + com.apple.InterfaceBuilder.CocoaPlugin + com.apple.InterfaceBuilder.CocoaPlugin + com.apple.InterfaceBuilder.CocoaPlugin + com.apple.InterfaceBuilder.CocoaPlugin + com.apple.InterfaceBuilder.CocoaPlugin + com.apple.InterfaceBuilder.CocoaPlugin + com.apple.InterfaceBuilder.CocoaPlugin + com.apple.InterfaceBuilder.CocoaPlugin + com.apple.InterfaceBuilder.CocoaPlugin + com.apple.InterfaceBuilder.CocoaPlugin + com.apple.InterfaceBuilder.CocoaPlugin + com.apple.InterfaceBuilder.CocoaPlugin + com.apple.InterfaceBuilder.CocoaPlugin + com.apple.InterfaceBuilder.CocoaPlugin + com.apple.InterfaceBuilder.CocoaPlugin + com.apple.InterfaceBuilder.CocoaPlugin + com.apple.InterfaceBuilder.CocoaPlugin + com.apple.InterfaceBuilder.CocoaPlugin + com.apple.InterfaceBuilder.CocoaPlugin + com.apple.InterfaceBuilder.CocoaPlugin + com.apple.InterfaceBuilder.CocoaPlugin + com.apple.InterfaceBuilder.CocoaPlugin + com.apple.InterfaceBuilder.CocoaPlugin + com.apple.InterfaceBuilder.CocoaPlugin + com.apple.InterfaceBuilder.CocoaPlugin + + + + + + 533 + + + + + ABAppCardController + NSWindowController + + id + id + id + id + id + id + id + id + + + + addCardViewField: + id + + + copy: + id + + + cut: + id + + + doDelete: + id + + + find: + id + + + paste: + id + + + saveChanges: + id + + + toggleCardEditingMode: + id + + + + ABCardView + NSButton + NSManagedObjectContext + NSSearchField + NSTextField + NSWindow + + + + mCardView + ABCardView + + + mEditButton + NSButton + + + mManagedObjectContext + NSManagedObjectContext + + + mSearchField + NSSearchField + + + mStatusTextField + NSTextField + + + mWindow + NSWindow + + + + IBProjectSource + ./Classes/ABAppCardController.h + + + + ABCardView + NSView + + id + id + + + + commitAndSave: + id + + + statusImageClicked: + id + + + + NSObjectController + NSImageView + NSView + ABNameFrameView + NSView + NSImage + ABImageView + + + + mBindingsController + NSObjectController + + + mBuddyStatusImage + NSImageView + + + mHeaderView + NSView + + + mNameView + ABNameFrameView + + + mNextKeyView + NSView + + + mUserImage + NSImage + + + mUserImageView + ABImageView + + + + IBProjectSource + ./Classes/ABCardView.h + + + + ABImageView + NSImageView + + id + id + id + id + + + + copy: + id + + + cut: + id + + + delete: + id + + + paste: + id + + + + IBProjectSource + ./Classes/ABImageView.h + + + + DVTBorderedView + DVTLayoutView_ML + + contentView + NSView + + + contentView + + contentView + NSView + + + + IBProjectSource + ./Classes/DVTBorderedView.h + + + + DVTDelayedMenuButton + NSButton + + IBProjectSource + ./Classes/DVTDelayedMenuButton.h + + + + DVTGradientImageButton + NSButton + + IBProjectSource + ./Classes/DVTGradientImageButton.h + + + + DVTImageAndTextCell + NSTextFieldCell + + IBProjectSource + ./Classes/DVTImageAndTextCell.h + + + + DVTImageAndTextColumn + NSTableColumn + + IBProjectSource + ./Classes/DVTImageAndTextColumn.h + + + + DVTLayoutView_ML + NSView + + IBProjectSource + ./Classes/DVTLayoutView_ML.h + + + + DVTOutlineView + NSOutlineView + + IBProjectSource + ./Classes/DVTOutlineView.h + + + + DVTSplitView + NSSplitView + + IBProjectSource + ./Classes/DVTSplitView.h + + + + DVTStackView_ML + DVTLayoutView_ML + + IBProjectSource + ./Classes/DVTStackView_ML.h + + + + DVTTableView + NSTableView + + IBProjectSource + ./Classes/DVTTableView.h + + + + DVTViewController + NSViewController + + IBProjectSource + ./Classes/DVTViewController.h + + + + FirstResponder + + duplicateDocument: + id + + + duplicateDocument: + + duplicateDocument: + id + + + + IBUserSource + + + + + HFController + NSObject + + selectAll: + id + + + selectAll: + + selectAll: + id + + + + IBProjectSource + ./Classes/HFController.h + + + + HFRepresenterTextView + NSView + + selectAll: + id + + + selectAll: + + selectAll: + id + + + + IBProjectSource + ./Classes/HFRepresenterTextView.h + + + + IBEditor + NSObject + + id + id + id + id + id + + + + changeFont: + id + + + performCopy: + id + + + performCut: + id + + + selectAll: + id + + + sizeSelectionToFit: + id + + + + IBProjectSource + ./Classes/IBEditor.h + + + + IDECapsuleListView + DVTStackView_ML + + dataSource + id + + + dataSource + + dataSource + id + + + + IBProjectSource + ./Classes/IDECapsuleListView.h + + + + IDEDMArrayController + NSArrayController + + IBProjectSource + ./Classes/IDEDMArrayController.h + + + + IDEDMEditor + IDEEditor + + DVTBorderedView + NSView + IDEDMEditorSourceListController + DVTSplitView + + + + bottomToolbarBorderView + DVTBorderedView + + + sourceListSplitViewPane + NSView + + + sourceListViewController + IDEDMEditorSourceListController + + + splitView + DVTSplitView + + + + IBProjectSource + ./Classes/IDEDMEditor.h + + + + IDEDMEditorController + IDEViewController + + IBProjectSource + ./Classes/IDEDMEditorController.h + + + + IDEDMEditorSourceListController + IDEDMEditorController + + DVTBorderedView + IDEDMEditor + DVTImageAndTextColumn + DVTOutlineView + NSTreeController + + + + borderedView + DVTBorderedView + + + parentEditor + IDEDMEditor + + + primaryColumn + DVTImageAndTextColumn + + + sourceListOutlineView + DVTOutlineView + + + sourceListTreeController + NSTreeController + + + + IBProjectSource + ./Classes/IDEDMEditorSourceListController.h + + + + IDEDMHighlightImageAndTextCell + DVTImageAndTextCell + + IBProjectSource + ./Classes/IDEDMHighlightImageAndTextCell.h + + + + IDEDataModelBrowserEditor + IDEDMEditorController + + IDEDataModelPropertiesTableController + IDECapsuleListView + NSArrayController + IDEDataModelPropertiesTableController + IDEDataModelEntityContentsEditor + IDEDataModelPropertiesTableController + + + + attributesTableViewController + IDEDataModelPropertiesTableController + + + capsuleView + IDECapsuleListView + + + entityArrayController + NSArrayController + + + fetchedPropertiesTableViewController + IDEDataModelPropertiesTableController + + + parentEditor + IDEDataModelEntityContentsEditor + + + relationshipsTableViewController + IDEDataModelPropertiesTableController + + + + IBProjectSource + ./Classes/IDEDataModelBrowserEditor.h + + + + IDEDataModelConfigurationEditor + IDEDMEditorController + + IDECapsuleListView + IDEDataModelEditor + IDEDataModelConfigurationTableController + + + + capsuleListView + IDECapsuleListView + + + parentEditor + IDEDataModelEditor + + + tableController + IDEDataModelConfigurationTableController + + + + IBProjectSource + ./Classes/IDEDataModelConfigurationEditor.h + + + + IDEDataModelConfigurationTableController + IDEDMEditorController + + NSArrayController + NSArrayController + IDEDataModelConfigurationEditor + XDTableView + + + + configurationsArrayController + NSArrayController + + + entitiesArrayController + NSArrayController + + + parentEditor + IDEDataModelConfigurationEditor + + + tableView + XDTableView + + + + IBProjectSource + ./Classes/IDEDataModelConfigurationTableController.h + + + + IDEDataModelDiagramEditor + IDEDMEditorController + + XDDiagramView + IDEDataModelEntityContentsEditor + + + + diagramView + XDDiagramView + + + parentEditor + IDEDataModelEntityContentsEditor + + + + IBProjectSource + ./Classes/IDEDataModelDiagramEditor.h + + + + IDEDataModelEditor + IDEDMEditor + + DVTDelayedMenuButton + DVTDelayedMenuButton + NSSegmentedControl + IDEDataModelConfigurationEditor + IDEDataModelEntityContentsEditor + IDEDataModelFetchRequestEditor + NSSegmentedControl + NSTabView + + + + addEntityButton + DVTDelayedMenuButton + + + addPropertyButton + DVTDelayedMenuButton + + + browserDiagramSegmentControl + NSSegmentedControl + + + configurationViewController + IDEDataModelConfigurationEditor + + + entityContentsViewController + IDEDataModelEntityContentsEditor + + + fetchRequestViewController + IDEDataModelFetchRequestEditor + + + hierarchySegmentControl + NSSegmentedControl + + + tabView + NSTabView + + + + IBProjectSource + ./Classes/IDEDataModelEditor.h + + + + IDEDataModelEntityContentsEditor + IDEDMEditorController + + IDEDataModelBrowserEditor + IDEDataModelDiagramEditor + IDEDataModelEditor + NSTabView + + + + browserViewController + IDEDataModelBrowserEditor + + + diagramViewController + IDEDataModelDiagramEditor + + + parentEditor + IDEDataModelEditor + + + tabView + NSTabView + + + + IBProjectSource + ./Classes/IDEDataModelEntityContentsEditor.h + + + + IDEDataModelFetchRequestEditor + IDEDMEditorController + + NSArrayController + IDEDataModelEditor + IDECapsuleListView + + + + entityController + NSArrayController + + + parentEditor + IDEDataModelEditor + + + tableView + IDECapsuleListView + + + + IBProjectSource + ./Classes/IDEDataModelFetchRequestEditor.h + + + + IDEDataModelPropertiesTableController + IDEDMEditorController + + IDEDMArrayController + NSTableColumn + NSArrayController + IDEDataModelBrowserEditor + IDEDMHighlightImageAndTextCell + XDTableView + + + + arrayController + IDEDMArrayController + + + entitiesColumn + NSTableColumn + + + entityArrayController + NSArrayController + + + parentEditor + IDEDataModelBrowserEditor + + + propertyNameAndImageCell + IDEDMHighlightImageAndTextCell + + + tableView + XDTableView + + + + IBProjectSource + ./Classes/IDEDataModelPropertiesTableController.h + + + + IDEDocDownloadsTableViewController + NSObject + + NSButtonCell + DVTTableView + IDEDocViewingPrefPaneController + + + + _downloadButtonCell + NSButtonCell + + + _tableView + DVTTableView + + + prefPaneController + IDEDocViewingPrefPaneController + + + + IBProjectSource + ./Classes/IDEDocDownloadsTableViewController.h + + + + IDEDocViewingPrefPaneController + IDEViewController + + id + id + id + id + id + id + id + id + id + id + id + + + + addSubscription: + id + + + checkForAndInstallUpdatesNow: + id + + + deleteDocSet: + id + + + downloadAction: + id + + + minimumFontSizeComboBoxAction: + id + + + minimumFontSizeEnabledAction: + id + + + showHelp: + id + + + showSubscriptionSheet: + id + + + subscriptionCancelAction: + id + + + toggleAutoCheckForAndInstallUpdates: + id + + + toggleDocSetInfo: + id + + + + DVTGradientImageButton + DVTGradientImageButton + DVTGradientImageButton + NSSplitView + NSView + NSView + DVTBorderedView + DVTBorderedView + NSButton + NSTextView + IDEDocDownloadsTableViewController + NSComboBox + NSTextField + NSButton + NSTextField + NSWindow + NSButton + + + + _addButton + DVTGradientImageButton + + + _deleteButton + DVTGradientImageButton + + + _showInfoAreaButton + DVTGradientImageButton + + + _splitView + NSSplitView + + + _splitViewDocSetInfoSubview + NSView + + + _splitViewDocSetsListSubview + NSView + + + borderedViewAroundSplitView + DVTBorderedView + + + borderedViewBelowTable + DVTBorderedView + + + checkAndInstallNowButton + NSButton + + + docSetInfoTextView + NSTextView + + + downloadsTableViewController + IDEDocDownloadsTableViewController + + + minimumFontSizeControl + NSComboBox + + + noUpdatesAvailableMessage + NSTextField + + + showInfoButton + NSButton + + + subscriptionTextField + NSTextField + + + subscriptionWindow + NSWindow + + + validateAddSubscriptionButton + NSButton + + + + IBProjectSource + ./Classes/IDEDocViewingPrefPaneController.h + + + + IDEEditor + IDEViewController + + IBProjectSource + ./Classes/IDEEditor.h + + + + IDEViewController + DVTViewController + + IBProjectSource + ./Classes/IDEViewController.h + + + + IKImageView + + id + id + id + id + + + + copy: + id + + + crop: + id + + + cut: + id + + + paste: + id + + + + IBProjectSource + ./Classes/IKImageView.h + + + + NSDocument + + id + id + id + id + id + id + + + + printDocument: + id + + + revertDocumentToSaved: + id + + + runPageLayout: + id + + + saveDocument: + id + + + saveDocumentAs: + id + + + saveDocumentTo: + id + + + + IBProjectSource + ./Classes/NSDocument.h + + + + NSDocumentController + + _openRecentDocument: + id + + + _openRecentDocument: + + _openRecentDocument: + id + + + + IBProjectSource + ./Classes/NSDocumentController.h + + + + NSResponder + + _insertFindPattern: + id + + + _insertFindPattern: + + _insertFindPattern: + id + + + + IBProjectSource + ./Classes/NSResponder.h + + + + QLPreviewBubble + NSObject + + id + id + + + + hide: + id + + + show: + id + + + + parentWindow + NSWindow + + + parentWindow + + parentWindow + NSWindow + + + + IBProjectSource + ./Classes/QLPreviewBubble.h + + + + QTMovieView + + id + id + id + id + id + + + + showAll: + id + + + showCustomButton: + id + + + toggleLoops: + id + + + zoomIn: + id + + + zoomOut: + id + + + + IBProjectSource + ./Classes/QTMovieView.h + + + + WebView + + id + id + id + id + + + + reloadFromOrigin: + id + + + resetPageZoom: + id + + + zoomPageIn: + id + + + zoomPageOut: + id + + + + IBProjectSource + ./Classes/WebView.h + + + + XDDiagramView + NSView + + id + id + id + id + id + id + id + id + id + id + id + id + id + id + id + id + id + id + id + id + id + id + id + id + id + id + id + id + id + id + id + id + id + id + id + id + id + id + id + id + id + id + id + id + id + id + id + id + + + + _graphLayouterMenuItemAction: + id + + + _zoomPopUpButtonAction: + id + + + alignBottomEdges: + id + + + alignCentersHorizontallyInContainer: + id + + + alignCentersVerticallyInContainer: + id + + + alignHorizontalCenters: + id + + + alignLeftEdges: + id + + + alignRightEdges: + id + + + alignTopEdges: + id + + + alignVerticalCenters: + id + + + bringToFront: + id + + + collapseAllCompartments: + id + + + copy: + id + + + cut: + id + + + delete: + id + + + deleteBackward: + id + + + deleteForward: + id + + + deselectAll: + id + + + diagramZoomIn: + id + + + diagramZoomOut: + id + + + expandAllCompartments: + id + + + flipHorizontally: + id + + + flipVertically: + id + + + layoutGraphicsConcentrically: + id + + + layoutGraphicsHierarchically: + id + + + lock: + id + + + makeSameHeight: + id + + + makeSameWidth: + id + + + moveDown: + id + + + moveDownAndModifySelection: + id + + + moveLeft: + id + + + moveLeftAndModifySelection: + id + + + moveRight: + id + + + moveRightAndModifySelection: + id + + + moveUp: + id + + + moveUpAndModifySelection: + id + + + paste: + id + + + rollDownAllCompartments: + id + + + rollUpAllCompartments: + id + + + selectAll: + id + + + sendToBack: + id + + + sizeToFit: + id + + + toggleGridShown: + id + + + toggleHiddenGraphicsShown: + id + + + togglePageBreaksShown: + id + + + toggleRuler: + id + + + toggleSnapsToGrid: + id + + + unlock: + id + + + + _diagramController + IDEDataModelDiagramEditor + + + _diagramController + + _diagramController + IDEDataModelDiagramEditor + + + + IBProjectSource + ./Classes/XDDiagramView.h + + + + XDTableView + NSTableView + + showAllTableColumns: + id + + + showAllTableColumns: + + showAllTableColumns: + id + + + + IBProjectSource + ./Classes/XDTableView.h + + + + + 0 + IBCocoaFramework + YES + 3 + + {11, 11} + {10, 3} + + YES + + diff --git a/Ook/Ook/en.lproj/OoKDocument.xib b/Ook/Ook/en.lproj/OoKDocument.xib new file mode 100755 index 0000000..dba516c --- /dev/null +++ b/Ook/Ook/en.lproj/OoKDocument.xib @@ -0,0 +1,249 @@ + + + + 1070 + 11C42 + 1938 + 1138.17 + 567.00 + + com.apple.InterfaceBuilder.CocoaPlugin + 1938 + + + NSTextField + NSTextFieldCell + NSWindowTemplate + NSView + IBNSLayoutConstraint + NSCustomObject + + + com.apple.InterfaceBuilder.CocoaPlugin + + + PluginDependencyRecalculationVersion + + + + + OoKDocument + + + FirstResponder + + + 15 + 2 + {{133, 235}, {507, 413}} + 1886912512 + Window + NSWindow + View + + {94, 86} + + + 256 + + + + 256 + {{119, 195}, {268, 22}} + + + YES + + 67239424 + 138412032 + Your document contents here + + LucidaGrande + 18 + 16 + + + + 6 + System + controlColor + + 3 + MC42NjY2NjY2NjY3AA + + + + 6 + System + controlTextColor + + 3 + MAA + + + + + + {507, 413} + + + + {{0, 0}, {1920, 1178}} + {94, 108} + {10000000000000, 10000000000000} + YES + + + NSApplication + + + + + + + window + + + + 18 + + + + delegate + + + + 17 + + + + + + 0 + + + + + + -2 + + + File's Owner + + + -1 + + + First Responder + + + 5 + + + + + + Window + + + 6 + + + + + + 9 + 0 + + 9 + 1 + + 0.0 + + 1000 + 5 + 22 + 2 + + + + + 10 + 0 + + 10 + 1 + + 0.0 + + 1000 + 5 + 22 + 2 + + + + + + + 20 + + + + + + + + 100020 + + + + + -3 + + + Application + + + 100025 + + + + + 100026 + + + + + + + com.apple.InterfaceBuilder.CocoaPlugin + com.apple.InterfaceBuilder.CocoaPlugin + com.apple.InterfaceBuilder.CocoaPlugin + com.apple.InterfaceBuilder.CocoaPlugin + com.apple.InterfaceBuilder.CocoaPlugin + com.apple.InterfaceBuilder.CocoaPlugin + + com.apple.InterfaceBuilder.CocoaPlugin + com.apple.InterfaceBuilder.CocoaPlugin + {{133, 170}, {507, 413}} + + + + + com.apple.InterfaceBuilder.CocoaPlugin + + + + + + 100026 + + + 0 + IBCocoaFramework + YES + 3 + YES + + diff --git a/Ook/Ook/main.m b/Ook/Ook/main.m new file mode 100755 index 0000000..f47b000 --- /dev/null +++ b/Ook/Ook/main.m @@ -0,0 +1,14 @@ +// +// main.m +// Ook +// +// Created by Kim Wittenburg on 20.05.13. +// Copyright (c) 2013 ook. All rights reserved. +// + +#import + +int main(int argc, char *argv[]) +{ + return NSApplicationMain(argc, (const char **)argv); +}