Ignite Tools
Public Member Functions | Properties
UpdateViewController Class Reference

UIViewController in charge of providing an image to show while checking online for any updates. More...

#import <UpdateViewController.h>

List of all members.

Public Member Functions

(void) - saveToCoreData:andSpeakers:
 Given an array of speakers and events, overwrite the current Core Data file with the new values.
(void) - versionRequestDidFail:
 The request to get the server version of the data file failed.
(void) - versionRequestDidFinish:
 The request to get the server version of the data file finished.
(void) - dataRequestDidFail:
 The request to download the data file failed.
(void) - dataRequestDidFinish:
 The request to download the data file finished.
(Presenter *) - checkForExistingPresenter:
 Check the current context for a presenter of the given name and return the entity if it exists.
(NSArray *) - findFavorites
 Find all the favorites in data and return their title.

Properties

IBOutlet UIImageView * loadingImageView
 The image view of the loading image.
IBOutlet UIActivityIndicatorView * loadingSpinner
 Spinner to indicate loading.
IBOutlet UILabel * loadingLabel
 The label that will display loading text messages.
NSInteger messageDelay
 The number of seconds to display the loading messages before the view goes away.
NSManagedObjectContext * managedObjectContext
 The managedObjectContext.

Detailed Description

UIViewController in charge of providing an image to show while checking online for any updates.

Will send out a notification when an update has completed or failed so we can remove the image and show the tab bar view.


Member Function Documentation

- (Presenter *) checkForExistingPresenter: (NSString *)  name

Check the current context for a presenter of the given name and return the entity if it exists.

Parameters:
nameThe name of the presenter to search for.
Returns:
Will return a Presenter object if one exists or nil if one is not found.
- (void) dataRequestDidFail: (ASIHTTPRequest *)  request

The request to download the data file failed.

Parameters:
requestThe ASIHTTPRequest object.
- (void) dataRequestDidFinish: (ASIHTTPRequest *)  request

The request to download the data file finished.

Parameters:
requestThe ASIHTTPRequest object.
- (void) saveToCoreData: (NSArray *)  events
andSpeakers: (NSArray *)  speakers 

Given an array of speakers and events, overwrite the current Core Data file with the new values.

Parameters:
eventsNSArray of Event objects.
speakersNSArray of Presenter objects.
- (void) versionRequestDidFail: (ASIHTTPRequest *)  request

The request to get the server version of the data file failed.

Parameters:
requestThe ASIHTTPRequest object.
- (void) versionRequestDidFinish: (ASIHTTPRequest *)  request

The request to get the server version of the data file finished.

Parameters:
requestThe ASIHTTPRequest object.

Property Documentation

- (IBOutlet UIImageView *) loadingImageView [read, write, retain]

The image view of the loading image.

I THINK WE CAN REMOVE THIS.

- (IBOutlet UIActivityIndicatorView *) loadingSpinner [read, write, retain]

Spinner to indicate loading.

Will start spinning on view load.


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