Passer Rating iOS
1.0
iOS demo project for Xcode 4 Unleashed
|
Representation of passer performance on a single occasion. More...
#include <Game.h>
Public Member Functions | |
void | setValuesFromDictionary: (NSDictionary *aDict) |
Static Public Member Functions | |
BOOL | loadFromCSVFile:intoContext:error: (NSString *path,[intoContext] NSManagedObjectContext *moc,[error] NSError **error) |
NSUInteger | countInContext: (NSManagedObjectContext *context) |
NSDictionary * | defaultDictionary () |
NSArray * | allAttributes () |
NSArray * | numericAttributes () |
Properties | |
NSDate * | whenPlayed |
The date on which the game was played. | |
NSNumber * | touchdowns |
The number of touchdowns the player earned through passing. | |
NSNumber * | theirScore |
The opponent's score. | |
NSString * | ourTeam |
The name of the passer's team. | |
NSNumber * | completions |
The number of passes the passer completed. | |
NSNumber * | attempts |
The number of passes the passer attempted. | |
NSNumber * | interceptions |
How many of the passer's passes were intercepted. | |
NSNumber * | ourScore |
The total score of the passer's team on this occasion. | |
NSNumber * | yards |
Yards gained from the passer's passes. | |
NSString * | theirTeam |
Name of the opponent's team. | |
Passer * | passer |
Reference to the passer Passer.games is the to-many inverse of this relationship. | |
NSNumber * | passerRating |
NSMutableDictionary * | mutableDictionaryRepresentation |
Representation of passer performance on a single occasion.
This is not to be confused with a "game" as a real-world event. It refers to one passer's performance on a particular date against a particular opponent. More than one passser will play at a particular event; there would be a separate Game object for each.
NSArray * allAttributes | ( | ) | [static, virtual] |
NSUInteger countInContext: | ( | NSManagedObjectContext * | context | ) | [static, virtual] |
NSDictionary * defaultDictionary | ( | ) | [static, virtual] |
BOOL loadFromCSVFile:intoContext:error: | ( | NSString * | path, |
[intoContext] NSManagedObjectContext * | moc, | ||
[error] NSError ** | error | ||
) | [static, virtual] |
NSArray * numericAttributes | ( | ) | [static, virtual] |
void setValuesFromDictionary: | ( | NSDictionary * | aDict | ) | [virtual] |
NSNumber* attempts [read, write, retain] |
The number of passes the passer attempted.
NSNumber* completions [read, write, retain] |
The number of passes the passer completed.
NSNumber* interceptions [read, write, retain] |
How many of the passer's passes were intercepted.
NSMutableDictionary * mutableDictionaryRepresentation [read, assign] |
NSNumber* ourScore [read, write, retain] |
The total score of the passer's team on this occasion.
NSString* ourTeam [read, write, retain] |
The name of the passer's team.
Passer* passer [read, write, retain] |
Reference to the passer Passer.games is the to-many inverse of this relationship.
NSNumber * passerRating [read, retain] |
NSNumber* theirScore [read, write, retain] |
The opponent's score.
NSString* theirTeam [read, write, retain] |
Name of the opponent's team.
NSNumber* touchdowns [read, write, retain] |
The number of touchdowns the player earned through passing.
NSDate* whenPlayed [read, write, retain] |
The date on which the game was played.
NSNumber* yards [read, write, retain] |
Yards gained from the passer's passes.