Created
April 4, 2017 22:24
-
-
Save jlnbuiles/ce0648bb7ef3822f49d6f3d649d47e85 to your computer and use it in GitHub Desktop.
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
// | |
// ZLRealmWrapper.h | |
// zilly | |
// | |
// Created by Julian Builes on 4/3/17. | |
// Copyright © 2017 Zilly, Inc. All rights reserved. | |
// | |
#import <Realm/Realm.h> | |
#import "Alert.h" | |
@interface ZLSomeSubclass : Alert | |
@end | |
@implementation ZLSomeSubclass | |
@end | |
@interface ZLRealmWrapper : RLMObject | |
@property NSString *name; | |
@property Alert *genericClassVar; | |
@end | |
@implementation ZLRealmWrapper | |
+ (void)letest { | |
ZLRealmWrapper *wrapper = [[ZLRealmWrapper alloc] init]; | |
wrapper.genericClassVar = [[ZLSomeSubclass alloc] init]; | |
} | |
+ (void)load { | |
ZLog(@"we're here"); | |
[ZLRealmWrapper letest]; | |
ZLog(@"we're down here"); | |
} | |
@end |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment