Passer Rating iOS  1.0
iOS demo project for Xcode 4 Unleashed
Public Member Functions | Static Public Member Functions | Properties
Game Class Reference

Representation of passer performance on a single occasion. More...

#include <Game.h>

List of all members.

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.
NSStringourTeam
 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.
NSStringtheirTeam
 Name of the opponent's team.
Passerpasser
 Reference to the passer Passer.games is the to-many inverse of this relationship.
NSNumber * passerRating
NSMutableDictionary * mutableDictionaryRepresentation

Detailed Description

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.


Member Function Documentation

NSArray * allAttributes ( ) [static, virtual]
NSUInteger countInContext: ( NSManagedObjectContext *  context) [static, virtual]
NSDictionary * defaultDictionary ( ) [static, virtual]

Here is the call graph for this function:

BOOL loadFromCSVFile:intoContext:error: ( NSString path,
[intoContext] NSManagedObjectContext *  moc,
[error] NSError **  error 
) [static, virtual]

Here is the call graph for this function:

NSArray * numericAttributes ( ) [static, virtual]

Here is the caller graph for this function:

void setValuesFromDictionary: ( NSDictionary *  aDict) [virtual]

Here is the call graph for this function:


Property Documentation

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.


The documentation for this class was generated from the following files:
 All Classes Files Functions Variables Properties Defines