The iOS framework that grows only as fast as its documentation
NILauncherViewObject Class Reference

Overview

An implementation of the NILauncherViewObject protocol.

Inheritance diagram for NILauncherViewObject:
<NILauncherViewObject>

Tasks

(id) - initWithTitle:image:
 
(id) + objectWithTitle:image:
 
Accessing the Object Attributes
NSString * title property
 
UIImage * image property
 
(Class) - buttonViewClass
 

Method Documentation

initWithTitle:image:

Initializes a newly allocated launcher view object with a given title and image.

- (id)initWithTitle:(NSString *)title image:(UIImage *)image;
Discussion

This is the designated initializer.

objectWithTitle:image:

Allocates and returns an autoreleased instance of a launcher view object.

+ (id)objectWithTitle:(NSString *)title image:(UIImage *)image;

title

The title that will be displayed on the launcher view button.

@property (nonatomic, copy) NSString* title;

image

The image that will be displayed on the launcher view button.

@property (nonatomic, strong) UIImage* image;

buttonViewClass

The class of button view that should be used to display this object.

- (Class)buttonViewClass;
Discussion

This class must conform to the NILauncherButtonView protocol.