Sha256: 45c88eee7c86cea2e8abe2562793534e306551e7d2452ccf622489b4f286449b
Contents?: true
Size: 896 Bytes
Versions: 5
Compression:
Stored size: 896 Bytes
Contents
// // Mixin.h // ObjectiveMixin // // Created by Vladimir Mitrovic on 24/02/2011. // Copyright 2011 Vladimir Mitrovic. All rights reserved. // #import <Foundation/Foundation.h> @interface Mixin : NSObject + (void) from:(Class)sourceClass into:(Class)destinationClass; + (void) from:(Class)sourceClass into:(Class)destinationClass followInheritance:(BOOL)followInheritance force:(BOOL)force; @end // A category on NSObject, for convenience. It uses the Mixin class internally. @interface NSObject (Mixin) + (void) mixinFrom:(Class)sourceClass; + (void) mixinFrom:(Class)sourceClass followInheritance:(BOOL)followInheritance force:(BOOL)force; - (void) mixinFrom:(Class)sourceClass; - (void) mixinFrom:(Class)sourceClass followInheritance:(BOOL)followInheritance force:(BOOL)force; + (id) allocWithSuperclass:(Class)superClass; + (Class) classWithSuperclass:(Class)superClass; @end
Version data entries
5 entries across 5 versions & 1 rubygems