Created
August 20, 2015 02:16
-
-
Save cdl/59825c29bb5eddf32395 to your computer and use it in GitHub Desktop.
This file contains hidden or 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
// | |
// Account.h | |
// Recurring | |
// | |
// Created by Colby Ludwig on 2015-08-19. | |
// Copyright (c) 2015 Colby Ludwig. All rights reserved. | |
// | |
#import <Realm/Realm.h> | |
@class Bill; | |
@interface Account : RLMObject | |
@property NSString *name; | |
@property RLMArray<Bill *><Bill> *bills; | |
@end | |
// This protocol enables typed collections. i.e.: | |
// RLMArray<Account> | |
RLM_ARRAY_TYPE(Account) |
This file contains hidden or 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
// | |
// Bill.h | |
// Recurring | |
// | |
// Created by Colby Ludwig on 2015-08-19. | |
// Copyright (c) 2015 Colby Ludwig. All rights reserved. | |
// | |
#import <Realm/Realm.h> | |
@class Account; | |
@interface Bill : RLMObject | |
@property NSString *name; | |
@property NSDecimalNumber *cost; | |
@property NSDate *startDate; | |
@property NSCalendarUnit repeatUnit; | |
@property NSInteger repeatInterval; | |
@property Account *fromAccount; | |
@property NSDate *notificationDate; | |
@end | |
// This protocol enables typed collections. i.e.: | |
// RLMArray<Bill> | |
RLM_ARRAY_TYPE(Bill) |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
The build fails on L15 of Account.h.