-
Notifications
You must be signed in to change notification settings - Fork 0
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
- Loading branch information
1 parent
a946f55
commit 5b955d0
Showing
10 changed files
with
196 additions
and
182 deletions.
There are no files selected for viewing
Large diffs are not rendered by default.
Oops, something went wrong.
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
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
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
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
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,22 @@ | ||
// | ||
// Actor.h | ||
// Cinemania | ||
// | ||
// Created by Artem Kalinovsky on 9/25/14. | ||
// Copyright (c) 2014 com.softserve. All rights reserved. | ||
// | ||
|
||
#import <Foundation/Foundation.h> | ||
#import <CoreData/CoreData.h> | ||
|
||
@class Movie; | ||
|
||
@interface Actor : NSManagedObject | ||
|
||
@property (nonatomic, retain) NSNumber * actorID; | ||
@property (nonatomic, retain) NSString * firstName; | ||
@property (nonatomic, retain) NSString * lastName; | ||
@property (nonatomic, retain) NSString * name; | ||
@property (nonatomic, retain) Movie *movie; | ||
|
||
@end |
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
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,22 @@ | ||
// | ||
// Actor.m | ||
// Cinemania | ||
// | ||
// Created by Artem Kalinovsky on 9/25/14. | ||
// Copyright (c) 2014 com.softserve. All rights reserved. | ||
// | ||
|
||
#import "Actor.h" | ||
#import "Movie.h" | ||
|
||
|
||
@implementation Actor | ||
|
||
@dynamic actorID; | ||
@dynamic firstName; | ||
@dynamic lastName; | ||
@dynamic name; | ||
@dynamic movie; | ||
|
||
|
||
@end |
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
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
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
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