Track Class Reference
Inherits from | NSManagedObject |
Declared in | Track.h Track.m |
Tasks
Create Methods
-
+ trackForBook:lendDate:toWhom:comment:inManagedObjectContext:
Method that creates a Track object.
-
– lendDateAsString
Method that converts the attribute lendDate to string.
-
– returnDateAsString
Method that converts the attribute returnDate to string.
Class Methods
trackForBook:lendDate:toWhom:comment:inManagedObjectContext:
Method that creates a Track object.
+ (Track *)trackForBook:(Book *)book lendDate:(NSDate *)date toWhom:(NSString *)borrower comment:(NSString *)comment inManagedObjectContext:(NSManagedObjectContext *)context
Parameters
- book
The Book object of which you keep track of.
- date
The date the book is lent.
- borrower
Person who borrowed this book.
- comment
Comment.
- context
Managed object context of the database.
Return Value
Returns the Track object that is created.
Discussion
Method that creates a Track object.
Declared In
Track+Create.h