Ignite Tools
Public Member Functions | Properties
SparkDetailViewController Class Reference

Shows a view with deatails of an individual Spark. More...

#import <SparkDetailViewController.h>

Inheritance diagram for SparkDetailViewController:
<AvatarDownloadDelegate>

List of all members.

Public Member Functions

(id) - initWithNibName:bundle:spark:
 Init with a specific Spark to view.
(IBAction) - favoritesButtonPressed:
 Favorites button has been pressed.
(IBAction) - videoButtonPressed:
 Load the webview and watch the YouTube video.
(IBAction) - presenterButtonPressed:
 Show the PresenterDetailView.

Properties

Sparkspark
 The Spark we are currently viewing.
IBOutlet UILabel * nameLabel
 The name of the spark.
IBOutlet UILabel * presenterLabel
 The name of the presenter.
IBOutlet UIImageView * presenterAvatar
 The avatar of the presenter.
IBOutlet UILabel * eventNameLabel
 The name of the event for the spark.
IBOutlet UILabel * eventLocationLabel
 The location of the event.
IBOutlet UILabel * eventDateLabel
 The date of the event.
IBOutlet UIButton * favoritesButton
 The favorites button.
IBOutlet UIButton * videoButton
 The button to watch a video.
BOOL isFavorite
 Is this Spark a favorite?
AvatarDownloadavatarDownload
 The avatar download object.
IBOutlet UIActivityIndicatorView * loadingSpinner
 Loading spinner for avatar.

Detailed Description

Shows a view with deatails of an individual Spark.


Member Function Documentation

- (IBAction) favoritesButtonPressed: (id)  sender

Favorites button has been pressed.

Flip the favorites state and save the update to the database.

Parameters:
senderThe UIButton object.
- (IBAction) presenterButtonPressed: (id)  sender

Show the PresenterDetailView.

Parameters:
senderUIButton object
- (IBAction) videoButtonPressed: (id)  sender

Load the webview and watch the YouTube video.

Parameters:
senderUIButton object

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