Mercurial > projects > dstep
comparison dstep/appkit/NSCell.d @ 25:b9de51448c6b
Added an id constructor. Changed the string mixin to a template mixin. Added support for building as a dynamic library
author | Jacob Carlborg <doob@me.com> |
---|---|
date | Tue, 06 Apr 2010 11:37:27 +0200 |
parents | 19885b43130e |
children |
comparison
equal
deleted
inserted
replaced
24:ab33fc0c3fc1 | 25:b9de51448c6b |
---|---|
335 | 335 |
336 `; | 336 `; |
337 | 337 |
338 class NSCell : NSObject, INSCopying, INSCoding | 338 class NSCell : NSObject, INSCopying, INSCoding |
339 { | 339 { |
340 mixin (ObjcWrap); | 340 mixin ObjcWrap; |
341 | |
342 this (id object) | |
343 { | |
344 super(object); | |
345 } | |
341 | 346 |
342 this (NSCoder aDecoder) | 347 this (NSCoder aDecoder) |
343 { | 348 { |
344 super(typeof(this).alloc.initWithCoder(aDecoder).objcObject); | 349 super(typeof(this).alloc.initWithCoder(aDecoder).objcObject); |
345 } | 350 } |