Inherits from UIViewController
Conforms to UICollectionViewDataSource
UICollectionViewDelegate
Declared in SquaresViewController.h
SquaresViewController.m

Properties

awayTeam

@property (weak, nonatomic) IBOutlet UILabel *awayTeam

gameDate

@property (weak, nonatomic) IBOutlet UILabel *gameDate

gameTime

@property (weak, nonatomic) IBOutlet UILabel *gameTime

homeTeam

@property (weak, nonatomic) IBOutlet UILabel *homeTeam

passedAwayTeam

@property (nonatomic, strong) NSString *passedAwayTeam

passedEditMode

@property (nonatomic, assign) BOOL passedEditMode

passedGameDate

@property (nonatomic, strong) NSString *passedGameDate

passedGameTime

@property (nonatomic, strong) NSString *passedGameTime

passedHomeTeam

@property (nonatomic, strong) NSString *passedHomeTeam

passedScheduleId

@property (nonatomic, assign) int passedScheduleId

squaresView

@property (weak, nonatomic) IBOutlet SquaresCollectionView *squaresView

Instance Methods

collectionView:cellForItemAtIndexPath:

Initialize a Cell in the Collection View

- (UICollectionViewCell *)collectionView:(UICollectionView *)collectionView cellForItemAtIndexPath:(NSIndexPath *)indexPath

Parameters

collectionView

This Collection View

indexPath

Index to the Cell

Return Value

Return the Cell

Declared In

SquaresViewController.m

collectionView:numberOfItemsInSection:

Return number of Items in the Section of the Collection View

- (NSInteger)collectionView:(UICollectionView *)collectionView numberOfItemsInSection:(NSInteger)section

Parameters

collectionView

This Collection View

section

Section the Section

Return Value

Return the number of rows in the Collection

Declared In

SquaresViewController.m

didReceiveMemoryWarning

Standard iOS delegate when memory warning.

- (void)didReceiveMemoryWarning

Return Value

<#return value description#>

Declared In

SquaresViewController.m

getOfficePool:::

Helper method to call the Get An Office Pool

- (void)getOfficePool:(int)scheduleId :

Parameters

scheduleId

The game to get the Office Pool for

groupName

The group to get the Office Pool for

Declared In

SquaresViewController.m

numberOfSectionsInCollectionView:

Return number of Sections in the Collection View

- (NSInteger)numberOfSectionsInCollectionView:(UICollectionView *)collectionView

Parameters

collectionView

this Collection View

Return Value

Return number of Sections

Declared In

SquaresViewController.m

onClickHelpSystem:

Handler for the Help System button

- (IBAction)onClickHelpSystem:(id)sender

Parameters

sender

Sender of the event

Declared In

SquaresViewController.m

onClickSave:

Button handler for the Save button.

- (IBAction)onClickSave:(id)sender

Parameters

sender

The sender for the Event

Declared In

SquaresViewController.m

onClickShare:

Button handler for the Share button.

- (IBAction)onClickShare:(id)sender

Parameters

sender

The sender for the Event

Declared In

SquaresViewController.m

supportedInterfaceOrientations

Standard iOS delegate to get the allowed orientation of the application.

- (NSUInteger)supportedInterfaceOrientations

Return Value

<#return value description#>

Declared In

SquaresViewController.m

textFieldShouldReturn:

Standard iOS delegate for keyboard handling in text boxes.

- (BOOL)textFieldShouldReturn:(UITextField *)textField

Return Value

<#return value description#>

Declared In

SquaresViewController.m

viewDidLoad

Load and initialize the Controller for the Square View.

- (void)viewDidLoad

Declared In

SquaresViewController.m