diff --git a/redo/osxaltest/box.m b/redo/osxaltest/box.m new file mode 100644 index 00000000..521871fe --- /dev/null +++ b/redo/osxaltest/box.m @@ -0,0 +1,40 @@ +// 31 july 2015 +#import "osxaltest.h" + +@interface tBox : NSObject { + NSMutableArray *children; + NSView *sv; +} +@end + +@implementation tBox + +- (id)init +{ + self = [super init]; + if (self) { + self->children = [NSMutableArray new]; + self->sv = nil; + } + return self; +} + +- (void)addControl:(NSObject *)c stretchy:(BOOL)s +{ + // TODO +} + +- (void)tAddToView:(NSView *)v +{ + self->sv = v; + // TODO +} + +- (uintmax_t)tAddToAutoLayoutDictionary:(NSMutableDictionary *)views keyNumber:(uintmax_t)n +{ + // TODO +} + +// TODO build auto layout constraints + +@end